ChangeLog 915 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964
  1. 2007-04-24 Jonathan Pobst <[email protected]>
  2. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  3. for each ToolStripItem when the parent's RightToLeftChanged is called.
  4. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  6. Fixes #80163.
  7. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  8. property, so that the setter can be overriden too.
  9. * TextBox.cs: Change GetContextMenuInternal() to use
  10. ContextMenuInternal.
  11. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  12. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  13. #81406.
  14. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  15. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  16. #81406.
  17. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  18. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  19. avoid duplicate work. Mostily skeleton code, it's not working at
  20. all yet.
  21. 2007-04-20 Leszek Ciesielski <[email protected]>
  22. * NotifyIcon.cs : stub for MouseClick event
  23. * Application.cs: stub for SetUnhandledExceptionMode
  24. 2007-04-24 Alan McGovern <[email protected]>
  25. * BindingNavigator.cs : Initial (partial) implementation
  26. 2007-04-23 Jackson Harper <[email protected]>
  27. * TreeView.cs: Do not create the treeview's handle when setting
  28. the scroll position.
  29. - ExpandAll needs to compute the scrollbars so it knows which
  30. position to set the bar too.
  31. * TreeNode.cs:
  32. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  33. 2007-04-23 Jackson Harper <[email protected]>
  34. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  35. key. Fixes #81408.
  36. 2007-04-23 Jonathan Pobst <[email protected]>
  37. * ToolStripItem.cs: Make GetImageSize internal.
  38. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  39. need to draw an item. Fixes a reported issue where images on menus
  40. that were not 16x16 were drawing incorrectly.
  41. 2007-04-21 Miguel de Icaza <[email protected]>
  42. * Padding.cs: Use the converter, fixes the resgen2 issue with
  43. XMLNotePad.
  44. 2007-04-21 Jackson Harper <[email protected]>
  45. * TreeView.cs: Dont try to unhighlight the selected node if there
  46. isn't a selected node.
  47. 2007-04-21 Jackson Harper <[email protected]>
  48. * UpDownBase.cs:
  49. * TextBoxBase.cs:
  50. * ListView.cs:
  51. * ListBox.cs:
  52. * TreeView.cs: Use the InternalBorderStyle property to set the
  53. initial border style, this forces the client rectangle to be sized
  54. correctly.
  55. 2007-04-20 Jackson Harper <[email protected]>
  56. * TreeView.cs: Simplify scrolling to the last node after expanding
  57. all.
  58. - Fix some off by ones with setting the bottom.
  59. 2007-04-20 Jonathan Pobst <[email protected]>
  60. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  61. that. We were incorrectly doing it the other way around. Also,
  62. update ClientSize if we change the BorderStyle before the control
  63. is created.
  64. 2007-04-20 Gert Driesen <[email protected]>
  65. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  66. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  67. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  68. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  69. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  70. Caption to CaptionHeight.
  71. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  72. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  73. and FixedFrameBorderSize to return value from current XplatUI driver.
  74. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  75. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  76. and FixedFrameBorderSize using win32 API. Renamed Caption to
  77. CaptionHeight.
  78. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  79. * SystemInformation.cs: Fixed typo in BorderSize.
  80. 2007-04-20 Gert Driesen <[email protected]>
  81. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  82. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  83. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  84. returning false.
  85. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  86. value from XplatUI driver.
  87. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  88. SystemParametersInfo.
  89. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  90. override.
  91. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  92. returning false.
  93. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  94. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  95. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  96. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  97. 2007-04-20 Jonathan Pobst <[email protected]>
  98. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  99. MenuStrips that contain ToolStripSeparators.
  100. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  101. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  102. DefineStdCursorBitmap.
  103. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  104. has been created off a standard cursor. This is used to get a
  105. bitmap of the standard cursor when Draw or DrawStretched is called
  106. in order to draw the cursor.
  107. * X11Structs.cs: Added XcursorImage and XcursorImages.
  108. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  109. DefineStdCursorBitmap.
  110. * Cursors.cs: Update all relevant creations of Cursor to use the new
  111. internal constructor.
  112. 2007-04-19 Jackson Harper <[email protected]>
  113. * TextBox.cs: Move the has_been_focused into the base control, so
  114. some of the text adding methods can manipulate it (probably time
  115. for a better name for this flag too).
  116. - Call a new version of selectall that doesn't scroll
  117. * TextBoxBase.cs: When we append text, if the document is empty,
  118. don't scroll. If the document has text already, we scroll to the
  119. end of the appended text.
  120. - When the text is changed, we reset the has_been_focused, so the
  121. next time the control gets focused, all the text is selected.
  122. 2007-04-19 Jackson Harper <[email protected]>
  123. * TextControl.cs: Move the margins to the document, add a method
  124. so the margin sizes can be updated.
  125. * TextBoxBase.cs: When the border style is changed, update the
  126. border sizes.
  127. 2007-04-19 Jonathan Pobst <[email protected]>
  128. * Control.cs: Respect DefaultPadding.
  129. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  130. padding into account.
  131. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  132. 2007-04-19 Jackson Harper <[email protected]>
  133. * TextControl.cs: Oops, we need to use the ClientRect not the
  134. bounds here.
  135. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  136. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  137. account the double clicks when CheckBoxes are used and
  138. the pointer is inside the checkbox. Fixes part of #81191.
  139. 2007-04-18 Jackson Harper <[email protected]>
  140. * TextControl.cs: Pressing the end key shouldn't move the caret
  141. past the line ending.
  142. * TextBoxBase.cs: We can still delete if we are in the line
  143. ending and the combine will just kill the existing line ending.
  144. 2007-04-18 Jackson Harper <[email protected]>
  145. * TextControl.cs: We can't move lines, then invalidate their
  146. bounds, we need to get the old bounds and combine that with the
  147. new bounds.
  148. * TextBoxBase.cs: Before combining two lines for a delete, we need
  149. to invalidate the area of the old line, since that will be moved
  150. in the combine operation.
  151. 2007-04-18 Everaldo Canuto <[email protected]>
  152. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  153. with transparent background. Fixes #80482.
  154. 2007-04-18 Jonathan Pobst <[email protected]>
  155. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  156. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  157. [Fixes bug #81391]
  158. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  159. * CreateParams.cs: Add a couple of helper methods and do a less string
  160. concatenation in ToString.
  161. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  162. overload that takes a Control parameter, since this method may be
  163. called before a control is assigned to the hwnd (from
  164. CreateWindow), and update CreateWindow to use the new overload. In
  165. GetMenuOrigin subtract the title bar from the y position if the
  166. form has a window manager (since we're painting it and not X).
  167. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  168. CreateParams to calculate the origin (since border sizes may vary).
  169. In ScreenToMenu only subtract the title height if we actually have
  170. a title.
  171. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  172. mdi children never have menus of themselves.
  173. * InternalWindowManager.cs: Implement menu handling like form does.
  174. Added GetMenuOrigin to calculate the menu origin, can't use the
  175. CreateParams from the form like normally since it's lying.
  176. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  177. windows-like) and add Inflate and comparison operators to the
  178. Borders type. When calculating MenuOrigin and it's a form with a
  179. window manager, use the window manager to calculate it.
  180. 2007-04-17 Chris Toshok <[email protected]>
  181. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  182. OnBindingContextChanged thing here. It's only generated from
  183. ContainerControl.OnCreateControl. Fixes a newly written unit test
  184. - BindingTest.BindingContextChangedTest4.
  185. 2007-04-17 Jackson Harper <[email protected]>
  186. * ScrollBar.cs: When setting values, make sure the current
  187. position stays within the new values range.
  188. 2007-04-17 Chris Toshok <[email protected]>
  189. * Control.cs (CreateControl): talk about a bizarre corner case.
  190. Don't emit OnBindingContextChanged here if we're a parentless
  191. control (i.e. if we're a form.). Fixes
  192. BindingTest.BindingContextChangedTest2.
  193. 2007-04-17 Everaldo Canuto <[email protected]>
  194. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  195. from win32. Fixes #81255.
  196. 2007-04-17 Everaldo Canuto <[email protected]>
  197. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  198. already present in CalculateButtonTextAndImageLayout.
  199. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  200. * XplatUIX11.cs: When setting min/max size for a window we need to
  201. translate the coordinates to x coordinates. Create an overload of
  202. SetWindowMinMax that takes a CreateParams handling this, and change
  203. SetWMStyles to call this function (can't use Control.FromHandle in
  204. the SetWindowMinMax to get the control/CreateParams from the handle
  205. because the handle might not have been assigned to the control
  206. yet). Fixes #81371.
  207. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  208. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  209. if StateImageList is non-null and it has less than two items (match MS
  210. behaviour). Also, in HandleNavKeys handle the Space key, calling
  211. the new ToggleItemsCheckState method, which tries to change the
  212. checked state of the selected items. Fixes part of #81191.
  213. 2007-04-16 Jackson Harper <[email protected]>
  214. * RichTextBox.cs: namespace cleanup.
  215. 2007-04-16 Everaldo Canuto <[email protected]>
  216. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  217. 2007-04-16 Everaldo Canuto <[email protected]>
  218. [Fixes #79447]
  219. * Control.cs: Call invalidate in set_Region.
  220. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  221. it dont works here.
  222. 2007-04-16 Jackson Harper <[email protected]>
  223. * TextBoxBase.cs: When enter is pressed, we need to update all
  224. lines below the current.
  225. 2007-04-16 Jonathan Pobst <[email protected]>
  226. * MdiClient.cs: Implement implicit menu merging for MDI
  227. children. When a child form is active, if it has a menustrip
  228. and the parent form has a MainMenuStrip, automatically merge
  229. the menus.
  230. 2007-04-15 Andreia Gaita <[email protected]>
  231. * TabControl.cs: Refactored sizing methods to not repeat
  232. code all over the place. Tab bounds are now calculated
  233. as if alignment is top and single line, and only when
  234. setting the bounds are the positions adjusted according
  235. to alignment. Replaced hardcoded positions, spacings and
  236. paddings by getting the values the ThemeEngine.
  237. Fixes #79619.
  238. * Theme.cs: Change TabControl properties and methods so
  239. that all start with TabControl*. Added more properties
  240. to help remove hardcoded values on tabcontrol.
  241. Add CPDrawBorder3D declaration so the Theming classes
  242. can access it.
  243. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  244. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  245. on the Theming namespace, and call the appropriate methods here.
  246. Change CPDrawBorder3D to public.
  247. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  248. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  249. the control after firing the OnMouseUp event, instead of sending
  250. the message before the mentioned event. This is so we can match the
  251. MS behaviour. Fixes part of #80385.
  252. 2007-04-13 Jonathan Pobst <[email protected]>
  253. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  254. RightToLeft property.
  255. 2007-04-13 Jonathan Pobst <[email protected]>
  256. * ToolStrip.cs: Add properties and internal methods to support merging.
  257. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  258. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  259. not trigger reparenting or layouts.
  260. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  261. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  262. is hosting the overflow menu.
  263. 2007-04-13 Jackson Harper <[email protected]>
  264. * TextControl.cs: Set the line ending correctly for the first
  265. inserted line.
  266. 2007-04-13 Sebastien Pouliot <[email protected]>
  267. * Theme.cs: Update GetMethod to get the new definition for
  268. KnownColors.Update (and fix theme color updates).
  269. 2007-04-12 Everaldo Canuto <[email protected]>
  270. * MessageBox.cs: Fix some test and button position.
  271. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  272. * Form.cs: Consider the implicit controls in
  273. GetRealChildAtPoint. We need it since this method
  274. is called on Form when handling the some messages in
  275. WndProc, and need to consider those implicit ones too.
  276. Fixes #80385.
  277. 2007-04-12 Jonathan Pobst <[email protected]>
  278. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  279. if there are no ShortcutKeys set.
  280. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  281. set, use it when painting.
  282. 2007-04-12 Jackson Harper <[email protected]>
  283. * TextControl.cs: Fix some off-by-one issues in line duplication
  284. and insertion in the undo manager. Also, overwrite the first tag
  285. of a line on insert, if it is just a zero lengthed tag. This
  286. prevents us from getting an extra stranded tag at the beginning of
  287. the first line.
  288. 2007-04-11 Everaldo Canuto <[email protected]>
  289. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  290. to calculated proper size including when handle was not created yet.
  291. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  292. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  293. when the mouse is outside of it's parent's client rectangle. Fixes
  294. #79982 (take 3, part 2).
  295. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  296. * X11Structs.cs: Add a few ToString() overrides.
  297. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  298. the window location in a window-manager independent way. Reworked
  299. FrameExtents, it now actually works. Reworked AddConfigureNotify
  300. and ReparentNotify handling to use GetTopLevelWindowLocation
  301. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  302. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  303. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  304. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  305. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  306. and generally refactored to do as few calculations as possible
  307. inside the lock.
  308. 2007-04-09 Sebastien Pouliot <[email protected]>
  309. * Theme.cs: Change "reflective-contract" between MWF and SD to
  310. minimize # of calls, avoid Color serialization and avoid updating
  311. every "known colors" each time a single one is updated.
  312. 2007-04-09 Gert Driesen <[email protected]>
  313. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  314. when not readonly and the text is explicitly set. Code style updates.
  315. * DataGridTableStyle.cs: Removed extra line.
  316. * DataGrid.cs: Code style updates. Removed extra whitespace.
  317. * DataGridColumnStyle.cs: Code style updates. Removed extra
  318. whitespace.
  319. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  320. * XplatUIX11.cs: Added comment that "fixes" #80021.
  321. 2007-04-09 Jackson Harper <[email protected]>
  322. * TextControl.cs: We don't need this -1 on the line count anymore.
  323. 2007-04-09 Gert Driesen <[email protected]>
  324. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  325. entered value to underlying type, and convert it back to a string to
  326. apply formatting. Modified GetFormattedValue to use TypeConverter
  327. if available.
  328. 2007-04-08 Gert Driesen <[email protected]>
  329. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  330. Use SubItems property when we want to ensure there's at least one
  331. subitem. Modified SubItems property to ensure there's always at least
  332. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  333. the NRE's reported by MS.
  334. 2007-04-07 Gert Driesen <[email protected]>
  335. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  336. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  337. Spaces to tabs. Removed extra tabs.
  338. 2007-04-06 Jonathan Pobst <[email protected]>
  339. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  340. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  341. 2007-04-06 Jackson Harper <[email protected]>
  342. * TextBoxBase.cs: When a delete removes a line, recalculate all
  343. lines below that line (they need to get offsets setup correctly)
  344. and invalidate.
  345. 2007-04-05 Jackson Harper <[email protected]>
  346. * TextControl.cs: We need to invalidate across the width of the
  347. document when we are invalidating multiple lines.
  348. * TextBoxBase.cs: Don't delete into the line ending.
  349. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  350. * ListView.cs: Restore the check for the MouseHover event
  351. in ListView. It looks like the ListView fires more than one MouseHover
  352. event when HoverSelection is true _only_ in weird-corner scenarios, but
  353. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  354. event.
  355. 2007-04-05 Mike Kestner <[email protected]>
  356. * ListView.cs : raise MouseDown before updating selection.
  357. [Fixes #80373 tab 1&3]
  358. 2007-04-05 Jonathan Pobst <[email protected]>
  359. * ToolStripRenderer.cs: Add static method to mirror image.
  360. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  361. and RightToLeftAutoMirrorImage.
  362. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  363. 2007-04-05 Jonathan Pobst <[email protected]>
  364. * ToolStripSplitStackLayout.cs: Support Alignment property.
  365. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  366. 2007-04-05 Jackson Harper <[email protected]>
  367. * TextControl.cs: Move around the line endings when crossing line
  368. boundaries.
  369. - When combining lines, strip the ending text off the first line.
  370. 2007-04-05 Jackson Harper <[email protected]>
  371. * TextControl.cs:
  372. * TextBoxBase.cs: Try to never move the cursor into the line
  373. ending.
  374. 2007-04-04 Jonathan Pobst <[email protected]>
  375. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  376. the item is disabled. Also add a few missing methods.
  377. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  378. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  379. to fire just one MouseHover event when HoverSelection is true, since
  380. .Net does fire more than one MouseHover event in that scenario. Also,
  381. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  382. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  383. Finally, we need to reset the Hover logic in MouseMove, even when we
  384. don't have a selected item.
  385. 2007-04-04 Jonathan Pobst <[email protected]>
  386. * ToolStrip.cs: Add several missing methods, properties, and events.
  387. 2007-04-04 Chris Toshok <[email protected]>
  388. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  389. (0,0,0,0) in Commit, as MS does.
  390. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  391. make sure we set CurrentRow on a row header click *before* calling
  392. Select. This moves the current cell (and the textbox) to the new
  393. row. The call to Select then hides the textbox, giving us the
  394. correct behavior. Fixes #80362.
  395. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  396. (ListChangedHandler): reorder the position/current changed events,
  397. and call UpdateIsBinding in the ItemAdded case.
  398. * GridColumnStylesCollection.cs: add some columns events, one of
  399. which raises the CollectionChanged event.
  400. 2007-04-04 Jackson Harper <[email protected]>
  401. * TextControl.cs: When we delete multiple selection lines
  402. invalidate the selection area, don't need to do that for single
  403. lines because the final update view will handle it.
  404. 2007-04-04 Jonathan Pobst <[email protected]>
  405. * Control.cs: When we CreateControl, we need to also create all of the
  406. control's children. The child's OnLoad must also fire before the parent's
  407. OnLoad. Fixes the toolbox size in PDN.
  408. 2007-04-04 Jackson Harper <[email protected]>
  409. * TextBoxBase.cs: When the user presses enter, insert a line
  410. ending into the text. (Maybe this would be a good spot for
  411. Environment.NewLine).
  412. * TextControl.cs: Remove undo manager hack, line endings get
  413. inserted properly now.
  414. 2007-04-04 Everaldo Canuto <[email protected]>
  415. * MenuAPI.cs:
  416. - Remove unneeded parameters in UpdateCursor.
  417. - Fix UpdateCursor to check if menu is active.
  418. - Call UpdateCursor when menu deactivate my click.
  419. [Fixes remaining issues from #80410]
  420. 2007-04-04 Everaldo Canuto <[email protected]>
  421. * Control.cs: GetRealChildAtPoint method added, it make an
  422. recursive child control search for the point.
  423. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  424. menu.
  425. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  426. 2007-04-03 Everaldo Canuto <[email protected]>
  427. * Form.cs: Fix mouse position when send back mouse event after closes
  428. menu.
  429. 2007-04-03 Everaldo Canuto <[email protected]>
  430. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  431. 2007-04-03 Jonathan Pobst <[email protected]>
  432. * Control.cs: Fix an issue where if a user resized a control inside
  433. a sizing method like OnResize, we would overwrite their explicit
  434. value. Also, only call DefaultSize once in the constructor instead
  435. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  436. nothing actually changed.
  437. 2007-04-03 Jackson Harper <[email protected]>
  438. * TextControl.cs: Don't attempt to copy text for lines with no
  439. text in them (technically this shouldn't happen, but we aren't
  440. always inserting line endings when we should be).
  441. 2007-04-03 Jackson Harper <[email protected]>
  442. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  443. document, because this sets some of the document size properties
  444. that are needed.
  445. 2007-04-03 Jackson Harper <[email protected]>
  446. * TextBoxBase.cs: We need to calculate maximums even if this is
  447. not a multiline control, because the maxs are used for scrolling.
  448. - Display the caret after doing a page up/down, we need to
  449. manually display it because a proper CaretMoved event isn't
  450. triggered (this is because of the way the math is done to
  451. determine how far to scroll).
  452. 2007-04-03 Jonathan Pobst <[email protected]>
  453. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  454. (ToolBar was relying on SetBoundsCore to default the values sent
  455. base off of BoundsSpecified.)
  456. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  457. * DateTimePicker.cs: Change Text so that when a null value or empty
  458. string is assigned to the test we always raise ValueChanged and
  459. TextChanged (earlier implementation would only raise ValueChanged
  460. if the current date value was different from DateTime.Now).
  461. 2007-04-03 Andreia Gaita <[email protected]>
  462. * ButtonBase: Call update after invalidation, fixes #80194
  463. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  464. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  465. #79335.
  466. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  467. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  468. FormBorderStyle = None, don't give the window any decorations.
  469. Fixes #81276.
  470. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  471. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  472. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  473. to check for is a mix of several styles (such as WS_CAPTION for
  474. instance).
  475. * Control.cs: Don't paint an area bigger than the client area when
  476. painting the background colour. Add an internal GetCreateParams.
  477. Update calls to XplatUI.CalculateWindowRect due to API change.
  478. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  479. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  480. the size if it hasn't been handled by any windows. When creating
  481. and moving windows, X wants the location of the entire window, but
  482. the size of the client window, so add
  483. TranslateClientRectangleToXClientRectangle,
  484. TranslateWindowSizeToXWindowSIze and
  485. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  486. before every window creation and move. Update CalculateWIndowRect
  487. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  488. In AddConfigureNotify don't do anything if the hwnd is a zombie
  489. (fixes the BadWindow we were getting while running the tests),
  490. always calculate the offsets when it's a parentless window, not
  491. only when reparented, and translate the window size, since we're
  492. getting the client size of the whole window, excluding entire
  493. window.
  494. * Theme.cs: Added BorderSizableSize.
  495. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  496. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  497. chang
  498. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  499. change. Fake the window styles here instead of in XplatUIWin32 so
  500. that all back-ends get the same window styles (and it's Form that's
  501. deciding when to use wm, not the Win32 backend anyways)
  502. * Hwnd.cs: Completely reworked GetWindowRectangle and
  503. GetClientRectangle - they are now passed a CreateParams and they
  504. only use Style and ExStyle to determine the rectangles (they should
  505. now work just like Win32AdjustWindowRectEx - though quite a few
  506. special cases are probably missing). They should also be 100%
  507. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  508. == rect), and all numbers (borders, menu sizes) are taken from the
  509. current theme. Added a GetBorders helper function that will return
  510. the borders for any given CreateParams (including captions and
  511. menus), and GetBorderSize that returns the given border size only.
  512. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  513. Hwnd.GetClientRectangle.
  514. 2007-04-02 Chris Toshok <[email protected]>
  515. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  516. logic between the values we present to the user and the values
  517. which are stored in the column's property. Also, don't call
  518. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  519. 2007-04-02 Jackson Harper <[email protected]>
  520. * TextBoxBase.cs: Scroll faster!
  521. 2007-04-02 Jonathan Pobst <[email protected]>
  522. * StatusStrip.cs: Layout fixes for PDN.
  523. * ToolStrip.cs: Set item's available to true, and placement to main when
  524. added.
  525. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  526. changing in setter before doing any work, add InternalVisible.
  527. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  528. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  529. infinite loop.
  530. 2007-04-02 Jackson Harper <[email protected]>
  531. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  532. text on focus.
  533. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  534. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  535. Makes ToolStripComboBoxes show up again.
  536. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  537. * ListView.cs: Add a hover_pending field in ListView
  538. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  539. cycle (we are resetting the MouseHover logic in XplatUI
  540. to handle HoverSelection). Fixes #80429.
  541. 2007-04-02 Jackson Harper <[email protected]>
  542. * TextControl.cs: Make sure the attributes get set on the last
  543. tag.
  544. - Still have to do the end tag if we have stepped all the ways to
  545. the end.
  546. 2007-04-02 Sebastien Pouliot <[email protected]>
  547. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  548. on an internal libgdiplus call when the information is already
  549. available via the public API.
  550. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  551. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  552. control is removed from a control collecftion.
  553. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  554. Fixes FormPropertyTest (failed on rare occasions).
  555. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  556. of Win32SetParent (when changing from no parent to a parent it
  557. might add the new parent's location in screen coordinates to this
  558. window's location).
  559. * Form.cs: Rework ChangingParent once again, now the handle is
  560. recreated whenever a FormWindowManager is added or removed (that is
  561. whenever a normal form is parented or abandoned). Also change
  562. CreateParams so that all non-toplevel windows always get the
  563. specified sice (StartupPosition is never considered for
  564. non-TopLevel forms).
  565. * ContainerControl.cs: Add ChildControlRemoved, the container control
  566. needs to be notified when a control is removed from it's
  567. collection, in the case the removed control is the active control.
  568. 2007-04-02 Jackson Harper <[email protected]>
  569. * RichTextBox.cs: Use the new methods for setting the font and
  570. color, these methods set the specified attribute without
  571. overriding the other attributes.
  572. 2007-04-02 Jonathan Pobst <[email protected]>
  573. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  574. 2007-03-31 Gert Driesen <[email protected]>
  575. * TextBox.cs: Added internal ChangeBackColor method to special-case
  576. Color.Empty. Added check for invalid ScrollBars value.
  577. * TextBoxBase.cs: Added internal ChangeBackColor method.
  578. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  579. internal ChangeBackColor method to special-case Color.Empty. Added
  580. check for invalid ScrollBars value.
  581. 2007-03-30 Everaldo Canuto <[email protected]>
  582. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  583. 2007-03-30 Jonathan Pobst <[email protected]>
  584. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  585. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  586. [Based on submitted patch from Olivier Duff.]
  587. 2007-03-30 Jackson Harper <[email protected]>
  588. * TextBox.cs: Only select all on initial focus if the user has not
  589. specified a selection area.
  590. 2007-03-30 Jonathan Pobst <[email protected]>
  591. * UserControl.cs: Override CreateParams.
  592. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  593. [ Fixes #80995 ]
  594. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  595. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  596. check for is a mix of several styles (such as WS_CAPTION for instance).
  597. * Control.cs: Don't paint an area bigger than the client area when painting
  598. the background colour. Add an internal GetCreateParams. Update calls to
  599. XplatUI.CalculateWindowRect due to API change.
  600. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  601. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  602. hasn't been handled by any windows. When creating and moving windows, X
  603. wants the location of the entire window, but the size of the client
  604. window, so add TranslateClientRectangleToXClientRectangle,
  605. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  606. to cope with this, and call them before every window creation and move.
  607. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  608. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  609. hwnd is a zombie (fixes the BadWindow we were getting while running the
  610. tests), always calculate the offsets when it's a parentless window, not
  611. only when reparented, and translate the window size, since we're getting
  612. the client size of the whole window, excluding entire window.
  613. * Theme.cs: Added BorderSizableSize.
  614. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  615. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  616. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  617. Fake the window styles here instead of in XplatUIWin32 so that all
  618. back-ends get the same window styles (and it's Form that's deciding when
  619. to use wm, not the Win32 backend anyways)
  620. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  621. they are now passed a CreateParams and they only use Style and ExStyle
  622. to determine the rectangles (they should now work just like
  623. Win32AdjustWindowRectEx - though quite a few special cases are probably
  624. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  625. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  626. sizes) are taken from the current theme. Added a GetBorders helper
  627. function that will return the borders for any given CreateParams
  628. (including captions and menus), and GetBorderSize that returns the given
  629. border size only.
  630. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  631. Hwnd.GetClientRectangle.
  632. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  633. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  634. layout of the mdi children is handled by CreateParams. Fixes
  635. #79964,
  636. 2007-03-29 Everaldo Canuto <[email protected]>
  637. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  638. processed.
  639. * Form.cs: When active tracker mouse down is not processed, send event
  640. back to control inside mouse position. [Fixes #81227]
  641. 2007-03-29 Jonathan Pobst <[email protected]>
  642. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  643. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  644. stealing focus from the active form on Windows. (Control will be made
  645. visible in ShowWindow.)
  646. 2007-03-29 Mike Kestner <[email protected]>
  647. * ImageList.cs : add internal Changed event.
  648. * ListView.cs : hook up to StateImageList.Changed to perform
  649. invalidations when the the state icon list changes. [Fixes #81191]
  650. 2007-03-29 Jonathan Pobst <[email protected]>
  651. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  652. to prevent tooltips from stealing focus from the active form on Windows.
  653. 2007-03-29 Everaldo Canuto <[email protected]>
  654. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  655. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  656. 2007-03-29 Everaldo Canuto <[email protected]>
  657. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  658. balloons.
  659. 2007-03-29 Jackson Harper <[email protected]>
  660. * TextControl.cs: When deleting text from non multiline textboxes,
  661. we need to update the entire document, because line offsets will
  662. be shifting.
  663. 2007-03-29 Everaldo Canuto <[email protected]>
  664. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  665. added to theme, now we can create themes that uses diferent notify engines
  666. like notification-daemon from galago project or growl for Mac OS.
  667. 2007-03-28 Everaldo Canuto <[email protected]>
  668. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  669. 2007-03-28 Everaldo Canuto <[email protected]>
  670. * XplatUIX11.cs: Prevent system to open more than one balloon.
  671. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  672. some compiler warning messages.
  673. 2007-03-28 Everaldo Canuto <[email protected]>
  674. [Fixes #79149]
  675. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  676. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  677. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  678. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  679. systems.
  680. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  681. * ListViewItem.cs: Forgot to make Invalidate internal.
  682. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  683. * ListView.cs: Add a InvalidateSelection method to
  684. invalidate methods which are currently selected, and call
  685. it when setting FullRowSelect and HideSelection, instead of
  686. calling Redraw.
  687. 2007-03-28 Chris Toshok <[email protected]>
  688. * XplatUIX11.cs (UnmapWindow): reindent this block.
  689. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  690. the selection_start if we're moving the selection (that is, not
  691. extending it). Fixes bug #80461.
  692. 2007-03-28 Jonathan Pobst <[email protected]>
  693. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  694. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  695. create private ControlCollection.
  696. 2007-03-28 Jonathan Pobst <[email protected]>
  697. * Control.cs: We need to call OnVisibleChanged for our implicit
  698. children as well as our normal children. Fixes scrollbars in
  699. comboboxes not showing up.
  700. 2007-03-28 Jonathan Pobst <[email protected]>
  701. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  702. the check for IsHandleCreated first. The check in CreateHandle is not
  703. good enough because CreateHandle can be overriden, and the override
  704. should not be called if the handle is already created.
  705. 2007-03-28 Jonathan Pobst <[email protected]>
  706. * ToolStrip.cs: Remove MonoTODO for tooltips.
  707. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  708. * ToolStripContainer.cs: Add custom ControlCollection class.
  709. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  710. * ToolStripDropDown.cs: Add some missing properties/methods.
  711. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  712. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  713. * ToolStripManager.cs: Add IsShortcutDefined.
  714. * ToolStripOverflow.cs: Override LayoutEngine.
  715. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  716. * ToolStripSeparator.cs: Add ImageKey.
  717. 2007-03-28 Jackson Harper <[email protected]>
  718. * TextControl.cs: If a char delete removes a line ending, we need
  719. to update the ending style.
  720. - Make sure the line ending calcs get called.
  721. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  722. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  723. it was making the new code not work. Fixed a typo in the new code
  724. as well. Fixes #79826.
  725. 2007-03-27 Everaldo Canuto <[email protected]>
  726. * XplatUIWin32.cs:
  727. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  728. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  729. - SystrayBalloon method implemented.
  730. [Add support for notifyicon balloon on win32, #79149]
  731. 2007-03-27 Mike Kestner <[email protected]>
  732. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  733. the ms behavior when only one image is added to the list.
  734. [Fixes #81191]
  735. 2007-03-27 Jackson Harper <[email protected]>
  736. * TextControl.cs: Improvements to non multiline line ending
  737. drawing/measuing.
  738. 2007-03-27 Everaldo Canuto <[email protected]>
  739. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  740. 2007-03-27 Everaldo Canuto <[email protected]>
  741. * NotifyIcon.cs:
  742. - Balloon message handling added.
  743. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  744. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  745. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  746. to SystrayBalloon to me like other Systray method, also a
  747. handle parameter added.
  748. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  749. * ListView.cs: Show scrollbars even when items.Count == 0
  750. but the columns Width is bigger than the ListView.Width.
  751. Also, when columns.Count == 0 set layout_wd and layout_ht
  752. to the ClientRectangle values, so we don't show any scrollbar
  753. in that case.
  754. 2007-03-27 Everaldo Canuto <[email protected]>
  755. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  756. 2007-03-27 Jackson Harper <[email protected]>
  757. * RichTextBox.cs: The RTF library decodes the text properly for us
  758. now.
  759. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  760. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  761. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  762. ListView header (HeaderControl), instead of Control.BackColor.
  763. 2007-03-27 Jonathan Pobst <[email protected]>
  764. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  765. Fixes tab control issues where controls would not show up because they
  766. never received their OnVisibleChanged call.
  767. 2007-03-27 Everaldo Canuto <[email protected]>
  768. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  769. BalloonTipShown).
  770. 2007-03-27 Jonathan Pobst <[email protected]>
  771. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  772. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  773. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  774. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  775. the handle. Fix WindowState by using the internal variable until we are
  776. sure that we've been shown.
  777. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  778. max or min.
  779. [Fixes bug #81198]
  780. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  781. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  782. (at least borders). Fixes #79386 on Linux (with a small difference
  783. in behaviour: when trying to resize a caption-less window metacity
  784. shows the sysmenu. Resizing is still possible though).
  785. * XplatUIWin32.cs: When setting window styles send request an extra
  786. WM_NCCALCSIZE when it's a form without title (due to no text and no
  787. caption), since Win32 seems to calculate it wrong the first time we
  788. get the message, though the second time things work as they should.
  789. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  790. newly reparented window might show up unparented. Update
  791. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  792. there's no title text. Fixes #79386.
  793. 2007-03-27 Mike Kestner <[email protected]>
  794. * ListBox.cs : don't perform invalidations if the handle hasn't been
  795. created. [Fixes #80753]
  796. 2007-03-27 Mike Kestner <[email protected]>
  797. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  798. [Fixes #80428]
  799. 2007-03-26 Everaldo Canuto <[email protected]>
  800. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  801. needed to implement Balloon.
  802. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  803. * ListViewItem.cs: In the constructors that take
  804. an array of strings, don't use ListViewSubItemCollection.AddRange
  805. method to add items, since we need to have a different behaviour (in
  806. the constructors we add an item for each null string, opposed to
  807. the behaviour of AddRange, which adds nothing).
  808. 2007-03-26 Andreia Gaita <[email protected]>
  809. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  810. 2007-03-26 Jackson Harper <[email protected]>
  811. * TextControl.cs: Draw and measure line endings when in non
  812. multiline mode.
  813. - When searching the text, count the end of the last line as a
  814. word boundary.
  815. 2007-03-26 Jackson Harper <[email protected]>
  816. * RichTextBox.cs: The selection_start and selection_end don't
  817. really track the correct tags for the selection. So we'll manually
  818. compute the correct tag here.
  819. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  820. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  821. and Continuous styles. Fixes #79469.
  822. 2007-03-26 Jonathan Pobst <[email protected]>
  823. * ToolStrip.cs: Implement Tooltips.
  824. * ToolStripItem.cs: Create internal method for determining tooltip.
  825. 2007-03-26 Jonathan Pobst <[email protected]>
  826. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  827. 2007-03-26 Everaldo Canuto <[email protected]>
  828. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  829. it prevents a problem thak keeps icon visible after application
  830. closes on win32.
  831. 2007-03-26 Everaldo Canuto <[email protected]>
  832. * NotifyIcon.cs: Balloon properties and methods created.
  833. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  834. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  835. 2007-03-25 Jonathan Pobst <[email protected]>
  836. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  837. 2007-03-24 Jonathan Pobst <[email protected]>
  838. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  839. parameter indicates which aspects were explicit/user-set.
  840. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  841. 2007-03-24 Jonathan Pobst <[email protected]>
  842. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  843. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  844. SmallChange, and Value (2.0).
  845. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  846. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  847. * ListView.cs: Always set item_control.Width in LayoutDetails
  848. if View is Details. Setting it later in CalculateScrollBars
  849. in a not-so-corner scenario (the sum of columns width is
  850. not bigger than the ListView width when handle is created, and then
  851. that sum gets bigger by increasing the width of the columns)
  852. causes a very weird recursion path (which shouldn't be happening,
  853. since header_control sets it in CalculateScrollBars too). This bug
  854. appeared after Chris' fixes for handle created issues, so probably
  855. it's related to some handle-creation time.
  856. 2007-03-23 Chris Toshok <[email protected]>
  857. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  858. case where there's an add row, just so we don't end up in a case
  859. where it's not displayed (this happens when the row is partially
  860. obscured). Fixes bug #79574.
  861. 2007-03-23 Jackson Harper <[email protected]>
  862. * TextControl.cs:
  863. * TextBoxBase.cs:
  864. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  865. also added an enum that represents the line ending type.
  866. 2007-03-23 Andreia Gaita <[email protected]>
  867. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  868. messed with in every method call, but only from DownButton,
  869. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  870. 2007-03-23 Chris Toshok <[email protected]>
  871. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  872. format objects if the format spec is "". Fixes bug #80889.
  873. 2007-03-22 Miguel de Icaza <[email protected]>
  874. * ToolStripPanel.cs (Join): added stubs to build PDN3
  875. * Control.cs (AutoScrollOffset): Add.
  876. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  877. property, its only implemented for Win32, on X11 it defaults to
  878. some hardcoded value.
  879. * ToolStripItem.cs (AllowDrop): Add property
  880. 2007-03-22 Mike Kestner <[email protected]>
  881. * ListView.cs : in FullRowSelect Details mode, only enable box
  882. selection if the user clicks over the "item" column outside of the
  883. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  884. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  885. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  886. handle is not created yet.
  887. * Form.cs: Select: Don't call CreateHandle if the handle is already
  888. created, avoids a stack overflow on Windows when we are recreating
  889. controls.
  890. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  891. they are made visible, and override AfterTopMostControl to keep
  892. them on top when other controls are brought to front.
  893. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  894. or force_*scroll_visible is true (old implementation always shows
  895. scrollbars when needed, no matter what auto_scroll was set to).
  896. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  897. IsHandleCreated check.
  898. 2007-03-22 Andreia Gaita <[email protected]>
  899. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  900. row or col separator.
  901. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  902. 2007-03-22 Everaldo Canuto <[email protected]>
  903. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  904. 2007-03-22 Everaldo Canuto <[email protected]>
  905. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  906. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  907. every time. Fixes #80410.
  908. 2007-03-22 Chris Toshok <[email protected]>
  909. * BindingSource.cs (AddNew): partially implement.
  910. remove a couple of NotImplementedException's
  911. to get bug #81148 closed.
  912. 2007-03-22 Everaldo Canuto <[email protected]>
  913. [Fixes #80380]
  914. * Control.cs:
  915. - UpdateCursor method added to update the screen cursor.
  916. - GetAvailableCursor method added to return cursor for enabled tree,
  917. it searches for cursor on control and it's parent's for enabled control.
  918. - Call UpdateCursor method on setter of Cursor property.
  919. - On setter of Enabled call UpdateCursor when it is false, we need to
  920. change cursor to normal (or to this parent cursor) because cursor
  921. setting theres no effect to disabled controls.
  922. - Some minor source changes to follow the coding style guidelines.
  923. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  924. controls.
  925. 2007-03-22 Chris Toshok <[email protected]>
  926. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  927. generates.
  928. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  929. * XplatUIX11.cs: Implement default locations for forms.
  930. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  931. * Hwnd.cs: Add previous_child_startup_location (to track the current
  932. startup location for any child forms of the current form) and
  933. previous_main_startup_location (to track the startup location for
  934. the current toplevel form).
  935. 2007-03-21 Jonathan Pobst <[email protected]>
  936. * Control.cs: Don't trigger a layout if an implicit control is added
  937. that isn't visible. Also, don't notify the owner when an implicit control
  938. is added. (Owners shouldn't even know about their implicit controls.)
  939. 2007-03-21 Jonathan Pobst <[email protected]>
  940. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  941. to save some re-layouts.
  942. 2007-03-21 Everaldo Canuto <[email protected]>
  943. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  944. [Fixes #81203]
  945. 2007-03-21 Jonathan Pobst <[email protected]>
  946. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  947. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  948. 2007-03-21 Mike Kestner <[email protected]>
  949. * ListView.cs : disable selection update for non-left button clicks
  950. with mods and over selected items. [Fixes #80524]
  951. 2007-03-20 Jackson Harper <[email protected]>
  952. * TextControl.cs:
  953. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  954. \r\r\n, \n.
  955. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  956. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  957. very probably a more complicated calculation there. Update the
  958. textbox' ForeColor and BackColor when the ComboBox' colors are
  959. changed. Change the border change in LayoutComboBox to only affect
  960. the textbox, not all the calculations there. Seems to fix most of
  961. #79436.
  962. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  963. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  964. modifiers + navigation keys as input keys, enables advanced text
  965. selection in the combobox (like Shift+Left Arrow for instance).
  966. ComboTextBox now overrides Focused and returns whatever
  967. ComboBox.Focused returns, since it really should be focused
  968. whenever the ComboBox is. Fixes #80795. Also make the border around
  969. the text box one pixel bigger, as mentioned in #79436.
  970. 2007-03-20 Jackson Harper <[email protected]>
  971. * TreeView.cs: Don't offset the images, this was causing some
  972. artifacts when expanding/collapsing with images that were the
  973. exact height of the treenode.
  974. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  975. * TrackBar.cs: Query the theme for the correct value when the mouse
  976. moves and the thumb is pressed.
  977. * Theme.cs: Added TrackBarValueFromMousePosition
  978. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  979. implementation was updating the trackbar value when drawing, now
  980. the drawing methods only draw. Fixes #80900. Refactored the
  981. calculations out to TrackBarValueFromMousePosition and
  982. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  983. according to the mouse position whenever it wants to. Changed the
  984. light coloured pen when drawing the thumb from ControlLight to
  985. ControlLightLight, because the ControlLight is the same colour as
  986. the background so the 3D effect is lost.
  987. 2007-03-20 Everaldo Canuto <[email protected]>
  988. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  989. defined. Fixes #80784.
  990. 2007-03-20 Marek Habersack <[email protected]>
  991. * ContextMenuStrip.cs: align with the change introduced in
  992. revision 74664.
  993. 2007-03-20 Everaldo Canuto <[email protected]>
  994. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  995. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  996. in SetTopmost.
  997. 2007-03-19 Chris Toshok <[email protected]>
  998. * Control.cs (WmPaint): don't make use of the Handle property
  999. after an event is emitted, as the user could have closed the
  1000. form/destroyed the control. Store the Handle in a local variable
  1001. and make use of that. Fixes bug #80768.
  1002. 2007-03-20 Everaldo Canuto <[email protected]>
  1003. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  1004. behavior in X11 environments.
  1005. 2007-03-20 Everaldo Canuto <[email protected]>
  1006. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  1007. because on setter of topmost we dont call SetTopmost when handle is not
  1008. created.
  1009. 2007-03-20 Jackson Harper <[email protected]>
  1010. * TextControl.cs: Need to use SelectionLength () not
  1011. selection_length, since that var is reset to -1.
  1012. - Draw the caret when we don't have focus.
  1013. * TextBox.cs: The selectall actually doesn't occur until the first
  1014. focus.
  1015. * TextBoxBase.cs: Need to update the caret position after a
  1016. selectall.
  1017. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  1018. * ListView.cs: Enable scrolling when using Tile view.
  1019. 2007-03-20 Everaldo Canuto <[email protected]>
  1020. [Fixes #80902]
  1021. * XplatUIDriver.cs: Abstract SetOwner method created.
  1022. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  1023. must be implemented and was masked as todo.
  1024. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  1025. GWL_HWNDPARENT.
  1026. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  1027. cheking for null owner to remove transient. The SetTopmost will be change
  1028. on a decond step.
  1029. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  1030. SetTopmost. Now owned forms will work properly in win32 and X11.
  1031. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1032. * MdiWindowManager.cs: Update function name.
  1033. * Form.cs: After closing a form MdiParent is always null.
  1034. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  1035. better what it should do: necessary book-keeping when the form is
  1036. closed, it should not close the form itself.
  1037. 2007-03-19 Andreia Gaita <[email protected]>
  1038. * ListViewItem.cs: Fix back and fore color. The subitems only
  1039. use their own colors if they are set, otherwise use the listview's
  1040. colors. Don't set default colors on constructor for subitem.
  1041. Fixes #79315.
  1042. 2007-03-19 Mike Kestner <[email protected]>
  1043. * ListView.cs : make box selection for Details views with
  1044. FullRowSelect conform to MS behavior when clicking in the "item"
  1045. column and clicking outside the defined columns.
  1046. [Fixes case 5-6 of #80374]
  1047. 2007-03-19 Chris Toshok <[email protected]>
  1048. * ScrollableControl.cs: create the controls from within the ctor,
  1049. but don't actually add them until our handle is created. this
  1050. fixes a NRE possibility jpobst found (if you override OnLayout in
  1051. a subclass, it's called before your ctor). Also, add a
  1052. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  1053. 2007-03-19 Jackson Harper <[email protected]>
  1054. * TextBox.cs: Reduce the amount of invalidation we do.
  1055. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  1056. some of them are true by default on MS.
  1057. - Add some functions to reduce the amount of invalidates we do.
  1058. * TextControl.cs: Less invalidation.
  1059. 2007-03-19 Chris Toshok <[email protected]>
  1060. [ Fixes #81773, and *seems* to fix #81553 as well ]
  1061. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  1062. AccumulateDestroyedHandles. We need to do it *after* we send
  1063. WM_DESTROY, as the user's code can access Control.Handle in
  1064. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  1065. move the WM_DESTROY/zombie handling to before the call to
  1066. XDestroyWindow. For some reason without this ordering
  1067. FormTest.RecreateHandle hangs. This ordering is semantically
  1068. equivalent, however, as XDestroyWindow is async anyway.
  1069. 2007-03-19 Gert Driesen <[email protected]>
  1070. * RichTextBox.cs: Reset backcolor_set after setting default.
  1071. 2007-03-19 Chris Toshok <[email protected]>
  1072. * ScrollableControl.cs: the scroll position should not effect the
  1073. canvas size. commit patch from [email protected], which
  1074. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  1075. 2007-03-19 Chris Toshok <[email protected]>
  1076. * ScrollableControl.cs: clean this up a bit. create the
  1077. scrollbars in the ctor and just show/hide them as needed. Also,
  1078. make hscroll_visible/vscroll_visible internal to Recalculate, and
  1079. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  1080. everywhere else. This seems to fix the scrollbars appearing
  1081. beneath the content for me (i have *no* idea why that is,
  1082. however.)
  1083. 2007-03-19 Jonathan Pobst <[email protected]>
  1084. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  1085. some redundacy for stuff in Anchor and Dock that base will take care of.
  1086. [Fixes #80762]
  1087. 2007-03-19 Mike Kestner <[email protected]>
  1088. * ListView.cs : make box selection for Details views without
  1089. FullRowSelect dependent on the text bounds, not item bounds.
  1090. * ListViewItem.cs : add an internal property to obtain the TextBounds
  1091. in Details view. [Fixes case 1-4 of #80374]
  1092. 2007-03-19 Andreia Gaita <[email protected]>
  1093. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  1094. we're < 2.0. #78448 && #80316
  1095. 2007-03-19 Jonathan Pobst <[email protected]>
  1096. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  1097. have the same style available as the previously selected one. Also,
  1098. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  1099. 2007-03-19 Jackson Harper <[email protected]>
  1100. * TextControl.cs: Add an alignment property that all new lines
  1101. will be given.
  1102. - Make sure to use the align shift when calculating the line's X
  1103. position.
  1104. * TextBox.cs: Set the alignment on the document as well as on all
  1105. the document lines.
  1106. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1107. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  1108. throw if setting the parent of an mdichild that already has an
  1109. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  1110. AssemblyProductAttribute in the assembly, use the type's namespace (as
  1111. MS seems to do). CreateControl: don't create the handle if the control
  1112. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  1113. create handle if the control is not a form. Change FocusInternal to
  1114. virtual so that it can be overriden by Form.
  1115. * TextBox.cs: Update call to FocusInternal.
  1116. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  1117. form is not a toplevel form when it's a mdi child, so update is_toplevel
  1118. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  1119. hasn't been created. Show (IWin32Window): Don't allow this overload for
  1120. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  1121. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  1122. parent isn't visible yet, save the visibility and restore it when the
  1123. parent is made visible.
  1124. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  1125. methods, since the visibility of the scrollbars can be changed from
  1126. several places, not only from AutoScroll.
  1127. [Fixes #81179]
  1128. 2007-03-19 Jackson Harper <[email protected]>
  1129. * RichTextBox.cs: Enable shortcuts by default.
  1130. * TextBoxBase.cs: Add conditional shortcuts.
  1131. 2007-03-19 Everaldo Canuto <[email protected]>
  1132. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  1133. 2007-03-19 Chris Toshok <[email protected]>
  1134. [ Fixes bug #80604]
  1135. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  1136. swallow the message we're waiting on, instead of delivering it, as
  1137. this is only used for the WM_SHOWWINDOW raised from
  1138. MapWindow/UnmapWindow, and the message needs to be generated
  1139. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  1140. before doing the Map/Unmap. Also make sure that the Hwnd is still
  1141. alive after the message has been handled.
  1142. *before* the window is shown.
  1143. * Control.cs (CreateControl): guard a few more things inside the
  1144. if (!is_created) block, as we might end up being called again -
  1145. yay .net.
  1146. (WmShowWindow): call CreateControl if we're showing the control.
  1147. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1148. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  1149. controls without a handle if they have any parent with a handle. In
  1150. Dispose add a check whether the handle is created or not before
  1151. calling BeginInvoke, this removes the need of the extra disposing
  1152. parameter (which was bogus anyway since it didn't prevent the
  1153. invoke from happening, it only skipped the check for an existing
  1154. handle, meaning that the invoke would call on an inexistent
  1155. handle).
  1156. 2007-03-19 Everaldo Canuto <[email protected]>
  1157. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  1158. appears in taskbar.
  1159. 2007-03-18 Everaldo Canuto <[email protected]>
  1160. * MessageBox.cs:
  1161. - Fixed a problem that dont show help button for messages with 3 buttons.
  1162. - Refactory button size and position calculations, now dont use fixed
  1163. values, also fixed button sizes (#80043) and form's border space.
  1164. - AddButton method created, now all other AddButton methods call this one.
  1165. - Some other source code cosmetic changes.
  1166. 2007-03-18 Jackson Harper <[email protected]>
  1167. * RichTextBox.cs: Don't do this all fonts must match check if
  1168. there is only one char selected.
  1169. 2007-03-18 Jackson Harper <[email protected]>
  1170. * TreeView.cs: ScrollWindow works properly now, so we don't need
  1171. to screw around with the scroll area. This fixes some artifacts
  1172. when expanding and collapsing.
  1173. 2007-03-18 Jackson Harper <[email protected]>
  1174. * TextBoxBase.cs: Allow updating the selection position when the
  1175. cursor is outside the textarea, but we have a capture.
  1176. * TextControl.cs: A special case for when the cursor is outside
  1177. the bounds of the TB.
  1178. 2007-03-18 Jackson Harper <[email protected]>
  1179. * TextBoxBase.cs: Remove image pasting code for now. There is no
  1180. way to get an image on the clipboard right now anyways.
  1181. * TextControl.cs:
  1182. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  1183. 2007-03-18 Everaldo Canuto <[email protected]>
  1184. * MessageBox.cs:
  1185. - Set window properties in constructor intead of on CreateParams.
  1186. - Remove topmost from Window ExStyle.
  1187. - Set ShowInTaskbar to false.
  1188. - Set form border to FixedDialog.
  1189. - Some cosmetic changes and remove unneeded comments.
  1190. - It fixes itens 2,3 and 4 of bug #80043.
  1191. 2007-03-18 Gert Driesen <[email protected]>
  1192. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  1193. none was explicitly set. Fixes part of bug #79949.
  1194. 2007-03-16 George Giolfan <[email protected]>
  1195. * ToolStripComboBox.cs: Add AutoComplete*.
  1196. 2007-03-16 George Giolfan <[email protected]>
  1197. * ToolStripComboBox.cs: Add FlatStyle.
  1198. 2007-03-16 Jonathan Pobst <[email protected]>
  1199. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  1200. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  1201. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1202. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  1203. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  1204. DataGridColumnStyle.cs: Remove warnings.
  1205. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1206. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  1207. it.
  1208. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  1209. visibility of mdi child forms. FormSizeChangedHandler: update the
  1210. maximized size if size has changed while maximized.
  1211. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  1212. creating the handle.
  1213. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  1214. avoid creating the handle if not created.
  1215. * XplatUI.cs: Update debug output.
  1216. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  1217. 2007-03-16 Jonathan Pobst <[email protected]>
  1218. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  1219. ProcessCmdKey().
  1220. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  1221. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  1222. Implement keyboard shortcuts.
  1223. 2007-03-15 Everaldo Canuto <[email protected]>
  1224. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  1225. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  1226. ColorDialog and all derived classes.
  1227. 2007-03-15 Everaldo Canuto <[email protected]>
  1228. [ Fixes bug #79828 ]
  1229. * ToolBar.cs:
  1230. - Rename ToolBarButtonInfor to ToolBarItem.
  1231. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  1232. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  1233. collection to be able add same button more than one time on a toolbar.
  1234. - Refactory all properties and methods to use ToolBarItem.
  1235. * ToolBarButton.cs:
  1236. - Remove all propeties and methods that is now in ToolBarItem.
  1237. - Rectangle propery now gets the rectangle from first ToolBarItem to
  1238. mimic win32 behavior.
  1239. - Size calculation and layout methods also removed.
  1240. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  1241. ToolBarItem instead of ToolBarButton to right drawing buttons when
  1242. same button/separator was added more than one time to ToolBar.
  1243. * ThemeNice.cs: Same as above.
  1244. 2007-03-15 Andreia Gaita <[email protected]>
  1245. * XplatUIX11.cs: Fire extra MouseMove events right after
  1246. MouseDown and MouseUp, emulating win32's <censored> behaviour
  1247. for apps that rely on it.
  1248. 2007-03-15 Jackson Harper <[email protected]>
  1249. * TextControl.cs:
  1250. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  1251. it is drawn on the controls client window and there is no NC
  1252. area.
  1253. - Set the background color to gray on 2.0 when we are readonly.
  1254. 2007-03-15 Chris Toshok <[email protected]>
  1255. [ Fixes bug #81144 ]
  1256. * XplatUIX11.cs: implement VirtualScreen independently of
  1257. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  1258. property.
  1259. 2007-03-15 Chris Toshok <[email protected]>
  1260. * Hwnd.cs: add an internal field for the cached_window_state.
  1261. * XplatUIX11.cs: cache the window state, invalidating the cache
  1262. (and thus re-querying the X server) only when we see an update to
  1263. the _NET_WM_STATE property.
  1264. 2007-03-15 Chris Toshok <[email protected]>
  1265. * BindingSource.cs: get a lot of the unit tests working.
  1266. 2007-03-15 Jonathan Pobst <[email protected]>
  1267. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  1268. 0 instead of just bounds > 0. [Fixes bug #80912]
  1269. 2007-03-15 Jonathan Pobst <[email protected]>
  1270. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  1271. and methods.
  1272. 2007-03-15 Ivan N. Zlatev <[email protected]>
  1273. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  1274. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  1275. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  1276. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  1277. 2007-03-15 Chris Toshok <[email protected]>
  1278. [ Fixes #81101 ]
  1279. * Control.cs: add Ivan's fix for 81101, with a slight modification
  1280. - you can set control.Target to null.
  1281. 2007-03-14 Jonathan Pobst <[email protected]>
  1282. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  1283. HideDropDown, use Hide instead to prevent an NRE.
  1284. [Fixes bug #81147]
  1285. 2007-03-14 Jackson Harper <[email protected]>
  1286. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  1287. to calculate the document before the handle is created, in some
  1288. cases. (Actually just one case).
  1289. 2007-03-14 Jackson Harper <[email protected]>
  1290. * TextBoxBase.cs: Need to display the caret after letting the base
  1291. wndproc handle the focus methods, because the caret display
  1292. methods check the focus state.
  1293. - Try to display the caret after updating it's position with SelectWord.
  1294. - Don't need to do an immediate update on this recalc, since there
  1295. will be an invalidate anyways.
  1296. 2007-03-14 Jackson Harper <[email protected]>
  1297. * TreeView.cs: Some workarounds so that we can match event order a
  1298. little better.
  1299. 2007-03-14 Gert Driesen <[email protected]>
  1300. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  1301. #80803. Avoid NullReferenceException when Control does not have
  1302. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  1303. event a single time. Only draw error icon when control is created and
  1304. visible. Fixes failing unit tests.
  1305. 2007-03-14 Andreia Gaita <[email protected]>
  1306. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  1307. Selecting events. Fire Leave and Enter events when changing tabs.
  1308. 2007-03-14 George Giolfan <[email protected]>
  1309. * TreeView.cs: Add TreeViewNodeSorter.
  1310. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  1311. 2007-03-14 Chris Toshok <[email protected]>
  1312. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  1313. removed earlier and I had him add back it. It turns out metacity
  1314. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  1315. just doesn't redraw the window titlebar until you resize the
  1316. window. This also means we aren't recreating the entire window
  1317. hierarchy on X when you change this property. And it looks better
  1318. on windows, too.
  1319. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  1320. * ListViewItem.cs:
  1321. * ListView.cs: Collecting selection information
  1322. is now done in SelectedIndexCollection rather than in
  1323. SelectedListViewItemCollection. This is done so we can
  1324. have the selection information code in one single place
  1325. (virtual mode selection information entirely depends on
  1326. SelectedIndexCollection).
  1327. 2007-03-13 Miguel de Icaza <[email protected]>
  1328. * ErrorProvider.cs: Add stubs for ISupportInitialize
  1329. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  1330. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  1331. in the right order with the right values, from the Checked property,
  1332. just as MS does (instead of triggering them from ListView).
  1333. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  1334. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  1335. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  1336. the correct handler in OnItemCheck method (ItemCheckEventHandler
  1337. instead of EventHandler). This used to throw an InvalidCastException.
  1338. 2007-03-13 Jackson Harper <[email protected]>
  1339. * TextBoxBase.cs: Calculate the document before the handle is
  1340. created, so there isn't an extra invalidate called.
  1341. 2007-03-13 Jonathan Pobst <[email protected]>
  1342. * Form.cs: Don't set owner in ShowDialog until we are sure
  1343. that we aren't going to throw an exception. [Fixes bug #80773]
  1344. 2007-03-12 George Giolfan <[email protected]>
  1345. * TreeView.cs: Make it compile.
  1346. 2007-03-12 Jonathan Pobst <[email protected]>
  1347. * Control.cs: Another place we don't call SizeFromClientSize.
  1348. * Form.cs: Another place we don't call SizeFromClientSize.
  1349. [Fixes bug #81125]
  1350. 2007-03-12 Jackson Harper <[email protected]>
  1351. * TreeView.cs: Basically emulating some strangness here with
  1352. exanding nodes and setting node positions when windows aren't
  1353. created.
  1354. - Also attempting to walk the node tree less than previously, and
  1355. just use visible order calculations for determining offsets.
  1356. - oops made scrolling backwards.
  1357. * TreeNode.cs: We need to start nodes with a zero visible order,
  1358. because the order calcs are based on the first nodes order.
  1359. 2007-03-12 Jonathan Pobst <[email protected]>
  1360. * Form.cs: Don't exit the program if RecreateHandle is called on
  1361. the main form.
  1362. 2007-03-12 Chris Toshok <[email protected]>
  1363. * XEventQueue.cs: remove the use of PostQuitState.
  1364. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  1365. WM_QUIT message in GetMessage, return false (and if we're in the
  1366. nested WaitForHwndMessage, repost the WM_QUIT message).
  1367. 2007-03-12 Jonathan Pobst <[email protected]>
  1368. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  1369. or the MaximizeBox properties. [Part of bug #80640]
  1370. 2007-03-12 Everaldo Canuto <[email protected]>
  1371. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  1372. no links.
  1373. 2007-03-12 Jonathan Pobst <[email protected]>
  1374. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  1375. instead of visible.
  1376. 2007-03-12 Gert Driesen <[email protected]>
  1377. * FileDialog.cs: Use text of File name combobox to determine what
  1378. files the user selected. Added tokenizer to parse the file names.
  1379. Fixes bug #81123.
  1380. 2007-03-12 Jonathan Pobst <[email protected]>
  1381. * Control.cs: We can't call SizeFromClientSize in the constructor,
  1382. but we still need to do the same work, so make an internal version.
  1383. [Fixes bug #80621]
  1384. 2007-03-12 Jackson Harper <[email protected]>
  1385. * TreeView.cs:
  1386. * TreeNode.cs:
  1387. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  1388. IsExpanded.
  1389. 2007-03-12 Jackson Harper <[email protected]>
  1390. * TextBoxBase.cs: Now that the handles are being created a little
  1391. later, we need to make sure that the document is recalculated when
  1392. the handle is created.
  1393. 2007-03-11 Everaldo Canuto <[email protected]>
  1394. * Theme.cs: GetLinkFont abstract method added.
  1395. * LinkLabel.cs:
  1396. - Remove CalcTrimRectangle, no longer needed.
  1397. - Factor also remove, position issues must be fixed in libgdiplus.
  1398. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  1399. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  1400. care about font used to draw links.
  1401. - Set TabStop to true when control is "Selectable", control is selectable
  1402. when have one or more links. Fixes #80501 (test case is also added).
  1403. - Set the LinkArea values after links change, LinkArea values must be
  1404. based in first link position and size, a test case was created.
  1405. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  1406. the attribute must be true LinkArea.Length > 0. The same was applied to
  1407. TabStop.
  1408. * ThemeWin32Classic.cs:
  1409. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  1410. in draw method.
  1411. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  1412. color change.
  1413. - Draw focus rectangle for every parts focused, including parts that
  1414. is on another line, its because regions returns various rectangles
  1415. and not only one. Needed to mimic W32 look.
  1416. - Uses Graphics.Clip to delimite region painted, it mean that now
  1417. complete text is passed to DrawString, with this we solve layout
  1418. issues without create another text renderer.
  1419. - Uses Region.Intersect to fix some flickers problems, now only needed
  1420. parts will redrawed.
  1421. - This changes fixes #79614 and some other unreported issues, on Linux
  1422. some layout problems still remain, the problem is under
  1423. MeasureCharacterRanges but it is an libgdiplus bug.
  1424. 2007-03-10 Gert Driesen <[email protected]>
  1425. * TextBox.cs: Set for foreground color.
  1426. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  1427. this is already done in Control.
  1428. 2007-03-10 Jackson Harper <[email protected]>
  1429. * TextBox.cs: Set the background color, but reset the
  1430. backcolor_set flag which is just for the user setting the
  1431. background color.
  1432. 2007-03-09 Chris Toshok <[email protected]>
  1433. * Control.cs: really remove the call to XplatUI.SetVisible from
  1434. CreateHandle(), like I said I did when I merged the branch.
  1435. * BindingSource.cs: implement some more of this stuff.
  1436. 2007-03-09 Jackson Harper <[email protected]>
  1437. * TextBox.cs: Don't explicitly set our background colors.
  1438. * TextControl.cs:
  1439. * TextBoxBase.cs: Draw readonly text.
  1440. - Need to invalidate when backcolor or readonly are changed.
  1441. 2007-03-09 Jackson Harper <[email protected]>
  1442. * TextBoxBase.cs: Don't set the forecolor until the handle is
  1443. created.
  1444. - Do not raise OnPaint, and removed some old debug code.
  1445. 2007-03-09 George Giolfan <[email protected]>
  1446. * ScrollableControl.cs: Fix mouse wheel scrolling.
  1447. 2007-03-09 Jonathan Pobst <[email protected]>
  1448. * Control.cs: Wire up MouseDoubleClick event.
  1449. 2007-03-09 Jonathan Pobst <[email protected]>
  1450. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  1451. top or bottom.
  1452. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  1453. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  1454. item is added. This logic was moved to ToolStrip.OnItemAdded.
  1455. [Fixes bug #81090]
  1456. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1457. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  1458. 2007-03-08 Jackson Harper <[email protected]>
  1459. * TreeView.cs: Show the correct image for selected node (this used
  1460. to work, not sure how the code got deleted). Also implemented 2.0 feature
  1461. SelectedImageKey.
  1462. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1463. * ListView.cs:
  1464. * ListViewItem.cs: Cache index in items when retrieving them
  1465. in VirtualMode.
  1466. 2007-03-08 Jonathan Pobst <[email protected]>
  1467. * ToolStripItem.cs: Don't return the explicit_size if we are using
  1468. AutoSize. Fixes invalidation issue when user has explicitly set a
  1469. size and has AutoSize = true.
  1470. 2007-03-08 Jonathan Pobst <[email protected]>
  1471. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  1472. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1473. * DataGridView.cs: Remove event handler from DataView when a
  1474. DataTable is used as DataSource.
  1475. 2007-03-08 Jonathan Pobst <[email protected]>
  1476. * Control.cs: Create internal setter for client_size to allow it to be
  1477. set without triggering resizing code.
  1478. * Form.cs: Calculate client_size in constructor, only change client_size
  1479. in FormBorderStyle property if Handle has been created.
  1480. [Fixes #80574, #80791]
  1481. 2007-03-08 George Giolfan <[email protected]>
  1482. * SystemInformation.cs: Add TerminalServerSession.
  1483. 2007-03-07 Jonathan Pobst <[email protected]>
  1484. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  1485. TreeView code.
  1486. 2007-03-07 Jonathan Pobst <[email protected]>
  1487. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  1488. Handle before we were supposed to. Now checks ActivateOnShow property
  1489. in Control.
  1490. * Control.cs: Add internal ActivateOnShow property.
  1491. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  1492. for ActivateOnShow.
  1493. * Hwnd.cs Remove no longer needed no_activate field.
  1494. 2007-03-07 Jackson Harper <[email protected]>
  1495. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  1496. 2.0 properties
  1497. * DrawTreeNodeEventHandler.cs: Add
  1498. * DrawTreeNodeEventArgs.cs: Correct default value.
  1499. 2007-03-07 Chris Toshok <[email protected]>
  1500. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  1501. to be called before NativeWindow.WndProc. Put the HwndCreating
  1502. magic there to hook up our Hwnd's to handles.
  1503. 2007-03-07 Gert Driesen <[email protected]>
  1504. * DataGridView.cs: Comment out debug code.
  1505. 2007-03-07 Chris Toshok <[email protected]>
  1506. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  1507. to make the rest of the world happy]
  1508. * Control.cs (CreateHandle): there's no need to call
  1509. XplatUI.SetVisible here, it's effectively done by
  1510. XplatUI.CreateWindow on X now, and always was on windows.
  1511. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  1512. shortcircuit out of the loop if we have a message loop running on
  1513. this thread.
  1514. [Changelog from merge]
  1515. 2007-03-05 Chris Toshok <[email protected]>
  1516. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  1517. causes handle creation.
  1518. 2007-02-28 Chris Toshok <[email protected]>
  1519. * ApplicationContext.cs: Add a flag to make sure we only raise the
  1520. ThreadExit event once (ExitThreadCore can be indirectly called
  1521. from a few places.) I don't like the additional flag, but it
  1522. makes the event ordering/count correct.
  1523. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  1524. without locking the collection. An enumerator doesn't give us any
  1525. protection from modification anyway. Lock the thread hash and
  1526. replace the complicated enumerator loop with a foreach.
  1527. (Application.CloseForms): make internal so it can be called from
  1528. ApplicationContext. This should probably be moved to MWFThread.
  1529. (Application.ExitThread): don't call MWFThread.Current.Exit()
  1530. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  1531. when the runloop exits (in response to WM_QUIT.)
  1532. (Application.RunLoop): add a comment (and check) for
  1533. context.MainForm being null after setting context.MainForm.Visible
  1534. = true. This is because you're perfectly free to dispose of a
  1535. form in VisibilityChanged. Chalk this up to another case where we
  1536. need to synchronously generate WM_ACTIVATE from Control.Show.
  1537. Also, add handling for WM_QUIT here so we'll exit the loop.
  1538. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  1539. fact that we don't wait if we're only unmapping the whole_window
  1540. makes me a bit nervous, but it doesn't seem to cause any problems
  1541. yet.
  1542. also, add a comment about the stupid, broken and wrong resetting
  1543. of PostQuitState to false in GetMessage().
  1544. In PostQuitMessage, we need to add a WM_QUIT message to the
  1545. thread's queue. We use the FosterParent to get the right
  1546. handle/hwnd/queue.
  1547. Lastly, in SetVisible, we need to unmap both windows, since the
  1548. waiting only happens when we're unmapping the client window. So
  1549. now, the *only* time we unmap just the whole_window is in the hack
  1550. for resizing a control to 0,0.
  1551. 2007-02-21 Chris Toshok <[email protected]>
  1552. * Application.cs (CloseForms): rewrite this so that we don't
  1553. modify the list while we're traversing it.
  1554. 2007-02-20 Chris Toshok <[email protected]>
  1555. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  1556. of OnHandleCreated.
  1557. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  1558. handle is created. otherwise we'll create it here.
  1559. (VerticalScrollEvent): same here.
  1560. * Application.cs (CloseForms): call Form.Dispose, don't post
  1561. WM_CLOSE_INTERNAL.
  1562. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  1563. here. Application should Dispose() of the Form's.
  1564. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  1565. WM_DESTROY as well.
  1566. (MapWindow,UnmapWindow): only actually do the waiting for
  1567. SHOWWINDOW if the control we're dealing with is a Form.
  1568. (CreateWindow): if the control isn't a form, SendMessage
  1569. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  1570. * Control.cs (SetVisibleCore): always use is_visible here, not
  1571. value. If we use value, we can end up re-setting something
  1572. visible if, for instance, you do Control.Hide() in a delegate
  1573. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  1574. 2007-02-20 Chris Toshok <[email protected]>
  1575. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  1576. the message we need. PeekMessage returning false should not be a
  1577. condition under which we exit the loop.
  1578. 2007-02-15 Chris Toshok <[email protected]>
  1579. * Control.cs (Refresh): only refresh if we've got a handle and are
  1580. visible.
  1581. (CreateAccessibilityInstance): CreateControl() here.
  1582. (UpdateChildrenZOrder): complicate the code loop even more by
  1583. taking into account controls that haven't had their handle
  1584. created, and those that aren't visible. But on the flip side,
  1585. simplify the code by splitting it into two loops. one which
  1586. builds up the list of child controls we're interested in, and the
  1587. other that sets the z order of those children.
  1588. 2007-02-14 Chris Toshok <[email protected]>
  1589. * Control.cs: Control.AccessibilityObject causes the control to be
  1590. created, not just the handle.
  1591. 2007-02-14 Chris Toshok <[email protected]>
  1592. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  1593. problem on X where a window might have its handle created (and be
  1594. visible) while the window is unmapped. calling XConfigureWindow
  1595. on an unmapped window is bad, and generates X errors.
  1596. 2007-02-13 Chris Toshok <[email protected]>
  1597. * Control.cs (CreateHandle): don't loop over our children setting
  1598. their parent here. do it when in WndProc when we're shown.
  1599. (UpdateChildrenZOrder): make this internal so we can call it from
  1600. ScrollableControl.
  1601. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  1602. creating its handle. Also, remove the calls to PerformLayout from
  1603. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  1604. OnVisibleChanged only seems to be called directly here for the
  1605. toplevel control. It's propagated down the window hierarchy by
  1606. calls to child.OnParentVisibleChanged.
  1607. (OnVisibleChanged): don't do layout here - it's done (oddly
  1608. enough, according to a glance at stack traces on ms.net..) in
  1609. ScrollableControl.
  1610. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  1611. z order of our children before calling PerformLayout.
  1612. 2007-02-12 Chris Toshok <[email protected]>
  1613. [big change, fixes #80020]
  1614. * AccessibleObject.cs: we need to make owner internal again to fix
  1615. some of ControlAccessibleObject.
  1616. * Control.cs: lots of changes here. add support for WM_CREATE,
  1617. for which we generate OnHandleCreated. Remove the OnHandleCreated
  1618. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  1619. we create child controls. leave the MonoTODO's for the
  1620. accessibility calls, but fix the exceptions so the tests pass.
  1621. Add the InvalidOperationExceptions to Invoke methods, and remove a
  1622. couple of InvokeInternal methods we aren't using.
  1623. Also, add a couple of CreateHandle calls in places where we know
  1624. the handles are being created but our code doesn't reference
  1625. .Handle.
  1626. Make SetVisibleCore call OnVisibleChange if the handle isn't
  1627. created. If the handle is created, we rely on XplatUI.SetVisible
  1628. generating the event synchronously.
  1629. Lastly, make sure we don't use this.Handle inside CreateHandle,
  1630. because we can call back into client (and that code can dispose of
  1631. the control).
  1632. * XplatUIStructs.cs: misc/cleanup.
  1633. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  1634. although we don't populate the wParam properly.
  1635. (CreateWindow): generate WM_CREATE.
  1636. (MapWindow,UnmapWindow): make these calls synchronous, at great
  1637. performance expense (particularly in the unmap case), to match
  1638. win32 behavior.
  1639. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  1640. to call it.
  1641. (set_MdiParent): don't recreate the handle unless it's been
  1642. created already.
  1643. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  1644. it's created.
  1645. * NativeWindow.cs: this is probably the weirdest part of the
  1646. patch. We need a way to link up the window being created to the
  1647. WM_CREATE message. Since we can only be creating one window at a
  1648. time on a given thread, we keep track of a per-thread reference so
  1649. we can dispatch it properly. We also need to keep track of the
  1650. Hwnd currently being created so that the win32 backend doesn't
  1651. have problems.
  1652. * XplatUIWin32.cs: a similar change to the one we made in
  1653. NativeWindow.cs.
  1654. 2007-03-07 Jonathan Pobst <[email protected]>
  1655. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  1656. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  1657. to draw the menu shortcut string.
  1658. 2007-03-07 Jackson Harper <[email protected]>
  1659. * TreeNode.cs: Add the 2.0 collapse method.
  1660. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1661. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  1662. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1663. * DataGridView.cs: Change DataSource will clear column and row
  1664. lists. Call Invalidate() to reflect DataSource change.
  1665. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1666. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  1667. and a new row is added to it.
  1668. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1669. * DataGridView.cs: Add columns when DataSource is en empty list but
  1670. is a System.Data.DataView (from a System.Data.DataTable).
  1671. 2007-03-06 Andreia Gaita <[email protected]>
  1672. * Label.cs: Implement AutoEllipsis (2.0)
  1673. 2007-03-06 Jackson Harper <[email protected]>
  1674. * TreeView.cs: Implement 2.0 TopNode setter property.
  1675. - Use a local var instead of the skipped_nodes field for computing
  1676. how many nodes to skip. Otherwise we won't scroll because the
  1677. valuechanged handler checks if skipped_nodes is equal to the new
  1678. value.
  1679. - Implement 2.0 Sort method.
  1680. - Add useless 2.0 DoubleBuffer property
  1681. - Implement 2.0 LineColors property. Lets you change the color of
  1682. the lines in the tree. Terribly useful for creating non cohesive
  1683. desktops.
  1684. - Implement 2.0 image key feature.
  1685. 2007-03-06 Jackson Harper <[email protected]>
  1686. * TreeView.cs: We can't get the bounds of the nodes before raising
  1687. the AfterSelect event, because that event could change the node's
  1688. bounds (scrolling, font change, etc).
  1689. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  1690. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  1691. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  1692. update window styles. In CreateParams us VisibleInternal instead of
  1693. VIsible to get the actual visible flag set for this form.
  1694. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  1695. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  1696. handle the case when the form is already maximized, in which case
  1697. it should be restored. Fixes #81043.
  1698. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  1699. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  1700. 2007-03-05 Jackson Harper <[email protected]>
  1701. * TreeViewHitTestInfo.cs: implement.
  1702. 2007-03-05 Jackson Harper <[email protected]>
  1703. * InternalWindowManager.cs: class status fix.
  1704. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  1705. * InternalWindowManager.cs: All windows that have a parent
  1706. are confined to their parent when they're being moved.
  1707. Fixes #80822.
  1708. 2007-03-04 Gert Driesen <[email protected]>
  1709. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  1710. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  1711. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1712. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  1713. buttons invisible before deciding which ones should be visible
  1714. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  1715. an unused variable.
  1716. * InternalWindowManager.cs: Remove warning.
  1717. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  1718. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  1719. to throw an InvalidOperationException is virtual mode is being used.
  1720. 2007-03-02 Jonathan Pobst <[email protected]>
  1721. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  1722. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  1723. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  1724. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  1725. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  1726. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  1727. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1728. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  1729. driver.KeyboardDelay from XplatUI.KeyboardDelay
  1730. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  1731. (patch by Sergey Volk)
  1732. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1733. * ToolWindowManager.cs: Added, contains logic for
  1734. tool windows.
  1735. * CreateParams.cs: Add a few helper methods and an
  1736. internal variable to know which control the CreateParams belongs
  1737. to.
  1738. * Control.cs: Call Form.ChangingParent when the
  1739. parent is about to be changed.
  1740. * XplatUIX11.cs: DeriveStyles (): Set
  1741. caption_height for all windows that have captions and are children.
  1742. Update to use ToolWindowManager instead of InternalWindowManager
  1743. for ToolWindows.
  1744. * XplatUIWin32.cs: Set fake window styles for all
  1745. windows that have window managers.
  1746. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  1747. now duplicated for mdi windows when they are
  1748. maximized, first for the buttons the window itself has, then for
  1749. the buttons that appear in the menu bar. Makes things a little
  1750. easier). Updated UpdateWindowDecorations, SetWindowState and the
  1751. mouse eventhandlers accordingly.
  1752. * Form.cs: Add ChangingParent (), contains the
  1753. logic of what should happen when the parent changes. In MdiParent
  1754. don't set things that ChangingParent () is doing. When handling
  1755. WM_CLOSE, we can close the form if there are any other modal forms
  1756. and the current form is a descendent of the modal form.
  1757. * InternalWindowManager.cs: A lot of refactoring,
  1758. the title buttons are now extracted to a separate container class
  1759. that takes care of all button code (clicks, tooltips, etc). Moved
  1760. Iconic|Maximized|Normal Bounds properties to this class from
  1761. MdiWindowManager, so that the window state logic can succeed for
  1762. other than mdi wm's. Implemented general window state change logic.
  1763. Moved CreateButtons to ThemeWin32Classic, since the theme might
  1764. override which buttons are available when as well as the exact
  1765. location.
  1766. * FormWindowManager.cs: Added, contains logic for
  1767. normal forms.
  1768. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  1769. which buttons go where (and if they are at all visible).
  1770. Removed special handling of maximized windows, since they aren't special.
  1771. In DrawManagedWindowDecorations don't try to draw the text if it is
  1772. empty.
  1773. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  1774. use whatever the wm gives us.
  1775. 2007-03-02 Jonathan Pobst <[email protected]>
  1776. * ButtonBase.cs: Add 2.0 properties.
  1777. * Button.cs: Override Draw for 2.0.
  1778. * Control.cs: Add Entered and Selected properties.
  1779. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  1780. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  1781. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  1782. buttons.
  1783. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  1784. 2007-03-01 Jonathan Pobst <[email protected]>
  1785. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  1786. 2007-03-01 Jonathan Pobst <[email protected]>
  1787. * XplatUIWin32.cs: Register a new class with Windows each time we get
  1788. a new ClassStyle. [Fixes bugs #79432, #80817]
  1789. * Controls.cs: Set the correct ClassStyle in CreateParams.
  1790. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  1791. 2007-03-01 Gert Driesen <[email protected]>
  1792. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  1793. ColumnReordered event must not be signaled when modifying DisplayIndex
  1794. of a ColumnHeader. Added internal ReorderColumns method which takes
  1795. care of drawing, and updating the internal DisplayIndex of the
  1796. ColumnHeader. Added AddColumn method which is invoked from
  1797. ColumnHeaderCollection when adding or inserting columns, and which
  1798. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  1799. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  1800. Recalculated dispay indices after removing a ColumnHeader.
  1801. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  1802. match MS. Allows last display index to be returned after ListView
  1803. is disposed. Update actual location of ColumnHeader when DisplayIndex
  1804. is modified.
  1805. 2007-03-01 Everaldo Canuto <[email protected]>
  1806. * LinkLabel.cs: Improve CalcTrimRectangle.
  1807. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  1808. 2007-02-28 Everaldo Canuto <[email protected]>
  1809. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  1810. get rectangle as a result value.
  1811. 2007-02-28 Everaldo Canuto <[email protected]>
  1812. * LinkLabel.cs: Theres some diferences between rectangle return from
  1813. MeasureCharacterRanges and the area used for DrawString to fix this
  1814. CalcMeasurementFactor method was created, it calcules the diferences
  1815. to be use later to adjust rectangle in draw operations. Fixes #80473.
  1816. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  1817. to adjust draw rectangle.
  1818. 2007-02-27 Everaldo Canuto <[email protected]>
  1819. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  1820. text and some other changes to reduce and optimize source code.
  1821. 2007-02-27 Jonathan Pobst <[email protected]>
  1822. * RadioButton.cs: Implement 2.0 event.
  1823. * RelatedImageListAttribute.cs: Implement new class.
  1824. 2007-02-27 Everaldo Canuto <[email protected]>
  1825. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  1826. 2007-02-27 Jonathan Pobst <[email protected]>
  1827. * CheckBox.cs: Implement 2.0 functionality.
  1828. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  1829. * ListView.cs: Refactor Add and AddRange methods of
  1830. ListViewItemCollection, to not update the ListView
  1831. everytime an item is added in AddRange. Also move the update
  1832. code to a new CollectionChanged method, and call it
  1833. from other methods that need it as well (this should also fix some
  1834. bugs when Sorting is used).
  1835. 2007-02-27 Jackson Harper <[email protected]>
  1836. * TextControl.cs: Try to never let the caret stay in a non-text
  1837. tag.
  1838. * TextBoxBase.cs: Update the caret.
  1839. 2007-02-26 Jonathan Pobst <[email protected]>
  1840. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  1841. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  1842. delete POINT structure, duplicate of one in XplatUIStructs.
  1843. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  1844. 2007-02-26 Gert Driesen <[email protected]>
  1845. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  1846. edit box since otherwise the Label would immediately be set (even if
  1847. the user did not modify the label). In OnKeyDown set Handled to true
  1848. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  1849. columns that are to be removed. In ListViewItemCollection unlink items
  1850. that are to be removed.
  1851. 2007-02-24 Jonathan Pobst <[email protected]>
  1852. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  1853. it when we are done. [Fixes bug #80949]
  1854. 2007-02-23 Jonathan Pobst <[email protected]>
  1855. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  1856. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1857. * ListView.cs: I forgot to commit the changes for ListView
  1858. in my previous patch.
  1859. 2007-02-23 Jonathan Pobst <[email protected]>
  1860. * Clipboard.cs: Partially implement an overload of SetDataObject.
  1861. * Form.cs: Implement ShowWithoutActivation.
  1862. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  1863. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1864. This is a first set of changes to make the Virtual mode works,
  1865. by avoiding the retrieval of ListViewItem instances until
  1866. draw time.
  1867. * ListView.cs: Store item position in the ListView instead of the
  1868. ListViewItem, this way we don't request the Bounds property of
  1869. ListViewItem inside the ListView calculations, as well as cache the item
  1870. size in item_size field. Store indexes instead of ListViewItem
  1871. instances in the matrix used by icon view. Add a ItemMatrixLocation
  1872. struct to hold the row and col info of the matrix info.
  1873. * ListViewItem.cs: Don't store the location anymore, and only cache
  1874. the rectangles for GetBounds. Use the ListView.GetItemLocation
  1875. method to retrieve the actual location.
  1876. 2007-02-23 Jonathan Pobst <[email protected]>
  1877. * TextRenderer.cs: Add clipping support, thanks to George.
  1878. [Fixes bug #80949]
  1879. 2007-02-23 Gert Driesen <[email protected]>
  1880. * ListViewItem.cs: Cancel label edit when item is removed from
  1881. ListView.
  1882. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  1883. event before the edit textbox is displayed. Added CancelEdit method
  1884. which is used end to editing while ignoring the value set by the
  1885. user. In EndEdit, set focus to ListView to avoid losing focus to
  1886. other controls. In ListViewItemCollection.Clear, cancel editing of
  1887. any of the items. In Remove, cancel editing of item being removed.
  1888. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  1889. 2007-02-23 Gert Driesen <[email protected]>
  1890. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  1891. bug #80948.
  1892. 2007-02-23 Everaldo Canuto <[email protected]>
  1893. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  1894. compatible with non X11 systems. Fixes #80901.
  1895. 2007-02-23 Gert Driesen <[email protected]>
  1896. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  1897. whether the item should be unselected and reselect. We do no want this
  1898. when we're starting to edit the label. Do not fire the
  1899. SelectedIndexChanged event from ListView when its already been fired
  1900. by modifying ListViewItem.Selected. Fixes bug #80943.
  1901. 2007-02-23 Jonathan Pobst <[email protected]>
  1902. * TextRenderer.cs: Previos commit logic was backwards.
  1903. 2007-02-23 Jonathan Pobst <[email protected]>
  1904. * TextRenderer.cs: Don't add padding on MeasureText if we were
  1905. sent the NoPadding flag.
  1906. 2007-02-23 Everaldo Canuto <[email protected]>
  1907. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  1908. after DrawButton. To prevent image overlaps button borders SetClip and
  1909. ResetClip added before and after draw image. Fixes #79129.
  1910. 2007-02-23 Everaldo Canuto <[email protected]>
  1911. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  1912. window size, it fix problem when you run under win32 that theres
  1913. Size diferent than ClientSize. Also fix controls size and positions
  1914. to mimic Win32. Fixes #80837.
  1915. 2007-02-22 Everaldo Canuto <[email protected]>
  1916. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  1917. menu area to fix some problems for non X11 systems. Fixes #80613.
  1918. 2007-02-22 Jackson Harper <[email protected]>
  1919. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  1920. even if it doesn't have any children.
  1921. 2007-02-22 Jackson Harper <[email protected]>
  1922. * TreeView.cs: Calculate the top node 'on the fly', this
  1923. eliminates issues where you need to click on the tree before
  1924. scrolling it to get the top node computed correctly.
  1925. * TreeNodeCollection.cs: We don't need to mess with the top node
  1926. anymore.
  1927. 2007-02-22 Jackson Harper <[email protected]>
  1928. * DataGridViewRow.cs: Fix typo so height can actually be set.
  1929. Patch by Peter Grimm.
  1930. 2007-02-22 Gert Driesen <[email protected]>
  1931. * FileDialog.cs: Fixed support for renaming files and directories.
  1932. * ListView.cs: Do not lose focus when edit is canceled. Process
  1933. Escape as regular key (to prevent closing of dialogs).
  1934. 2007-02-22 Gert Driesen <[email protected]>
  1935. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  1936. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  1937. 2007-02-22 Gert Driesen <[email protected]>
  1938. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  1939. did not modify label.
  1940. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  1941. modified the text. Reset Label when user presses Escape in edit mode.
  1942. Move focus to ListView after having cancelled or finished editing the
  1943. label.
  1944. 2007-02-21 Gert Driesen <[email protected]>
  1945. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  1946. private. Clear textbox when Text is set to null and SelectedIndex is
  1947. already -1.
  1948. * FileDialog.cs: Removed unnecessary initializations. Removed
  1949. workarounds for ComboBox bugs that are now fixed. Modified
  1950. DefaultExt, InitialDirectory and Title property to change null to
  1951. zero-length string in getters. Avoid directly accessing fields.
  1952. 2007-02-20 Jackson Harper <[email protected]>
  1953. * TextControl.cs: Remove RecalAlignments call, that was some
  1954. debugging leftovers.
  1955. - Don't use the line indent when we shouldn't.
  1956. * RichTextBox.cs: Add support for paragraph left indents.
  1957. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  1958. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  1959. Seems like the class status pages doesn't catch params differences.
  1960. 2007-02-19 Gert Driesen <[email protected]>
  1961. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  1962. 2007-02-19 Gert Driesen <[email protected]>
  1963. * ComboBox.cs: Setting Text should have no effect if item text of
  1964. selected item exactly matches value. First lookup text using
  1965. case-sensitive comparison, and fallback to case-insensitive comparison.
  1966. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  1967. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  1968. paramname to match MS. Restart from first item if string is not found
  1969. after startIndex. Fixed paramname of ArgumentNullException that is
  1970. thrown for null value in ObjectCollection.Contains.
  1971. 2007-02-19 Everaldo Canuto <[email protected]>
  1972. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  1973. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1974. * ListControl.cs: In SelectedValue use value.Equals to compare for
  1975. equality instead of ==, otherwise it will fail for strings.
  1976. Fixes #80794.
  1977. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1978. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  1979. since the caret won't show up unless ShowSelection is true.
  1980. Fixes #80795.
  1981. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1982. * Application.cs: When disabling all forms but the main form, do not
  1983. disable any descendants of the main form (such as mdi children or
  1984. other parented forms). Fixes #80822 on Windows.
  1985. * Form.cs: If we have a parent, set the WS_CHILD style.
  1986. * Control.cs: Update the window styles if the control whose parent has
  1987. changed is a form (the WS_CHILD style has to be switched).
  1988. 2007-02-19 Everaldo Canuto <[email protected]>
  1989. * XplatUIStructs.cs: MsgUIState structure added.
  1990. 2007-02-18 Gert Driesen <[email protected]>
  1991. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  1992. profile, do not check filename(s) for illegal character if filename(s)
  1993. were set non-interactively but always check on 1.0 profile. Fixed NRE
  1994. in DefaultExt and only strip off first leading dot. Improve exception
  1995. message when invalid Filter is set. Do not ignore InitialDirectory if
  1996. it does no exist. Store specified Title, and if empty use default
  1997. title (depending on type of dialog). Added an internal DialogTitle
  1998. property for retrieving dialog title. Fixed logic of displayed dir to
  1999. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  2000. string as its buggy.
  2001. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  2002. FileName is a zero-length string (it can never be null). Override
  2003. DialogTitle property to set default title of dialog box.
  2004. * SaveFileDialog.cs: Override DialogTitle property to set default
  2005. title of dialog box.
  2006. 2007-02-18 Gert Driesen <[email protected]>
  2007. * FileDialog.cs: Modify default text of filename and filetype labels
  2008. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  2009. after we've updated the SelectedIndex. Fixes part of bug #80887.
  2010. * SaveFileDialog.cs: Set text of filetype label.
  2011. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  2012. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  2013. label field. Needed by latest Jackson's fixes for ListView.
  2014. 2007-02-16 Andreia Gaita <[email protected]>
  2015. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  2016. print preview images.
  2017. 2007-02-16 Jackson Harper <[email protected]>
  2018. * ListView.cs: Make AfterLabelEdit work correctly.
  2019. * FileDialog.cs: After changing the name of the folder, we have to
  2020. make sure that it is created, or that we pop up an error because
  2021. it already exists.
  2022. 2007-02-16 Jackson Harper <[email protected]>
  2023. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  2024. System.String are mapped to text.
  2025. - Handle dataobjects, getting all the possible formats out of them
  2026. - We dont need the drag event args before we give feedback. This
  2027. allows feedback cursors to be immediate before selections have
  2028. been converted.
  2029. 2007-02-16 Jackson Harper <[email protected]>
  2030. * TextBoxBase.cs: Modified the method for inserting images to
  2031. taking a line and position instead of tag and position.
  2032. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  2033. into the RTF file.
  2034. * TextControl.cs: Allow images to be inserted as the first tag of
  2035. a line.
  2036. - Fix some off by one issues when we assume the first tag is a
  2037. text tag, not an image tag.
  2038. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  2039. * ListView.cs: Set focus to ListView when ItemControl gets a
  2040. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  2041. Fixes part of #80467.
  2042. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  2043. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  2044. validate Text input (if null or empty string reset Value to default
  2045. value). Fixes #80830.
  2046. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  2047. * ListView.cs: Set owner as null for columns and items when
  2048. Dispose is invoked. Fixes #80607.
  2049. 2007-02-14 Jonathan Pobst <[email protected]>
  2050. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  2051. showing DropDowns, don't show a Grip when doing Flow layout.
  2052. [This fixes the toolbox in PDN 2.72.]
  2053. * ToolStripItem.cs: Add Anchor property and some internal properties to
  2054. reduces needed changes to FlowLayout.
  2055. * ToolStripOverflow.cs: Remove unused variable.
  2056. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  2057. use it in the layout calculations.
  2058. 2007-02-13 Everaldo Canuto <[email protected]>
  2059. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  2060. reported in #79640.
  2061. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  2062. size calculation.
  2063. 2007-02-13 Everaldo Canuto <[email protected]>
  2064. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  2065. MeasureString format, it can make button very large in some cases, it is
  2066. strange but is what win32 do.
  2067. 2007-02-13 Everaldo Canuto <[email protected]>
  2068. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  2069. size calculation.
  2070. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  2071. rendering, the value is based on MenuAccessKeysUnderlined.
  2072. 2007-02-13 Everaldo Canuto <[email protected]>
  2073. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  2074. for most themes.
  2075. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  2076. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  2077. and use MenuAccessKeysUnderlined instead.
  2078. 2007-02-13 Andreia Gaita <[email protected]>
  2079. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  2080. A selected control would not get a Focus call if:
  2081. - the default active control of the container is the same as
  2082. the one that was selected
  2083. - we are switching from one container to another
  2084. Under these conditions, the container being selected already has
  2085. an active_control, which is the same as the one being activated,
  2086. so set_ActiveControl would always return and not send the Focus
  2087. call. Fix to check if the currently active control of the container
  2088. is actually focused.
  2089. 2007-02-13 Jonathan Pobst <[email protected]>
  2090. * StatusStrip.cs: Implement the spring layout.
  2091. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  2092. always matches the host.
  2093. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  2094. and TextAfterImage.
  2095. 2007-02-13 Andreia Gaita <[email protected]>
  2096. * Control.cs: Code reorganization only.
  2097. - Reorganize the WndProc cases so that each case has it's own handling method,
  2098. to help with the no-line-numbering stack traces.
  2099. - Formatting changes (it's vstudio's fault, really :p)
  2100. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  2101. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  2102. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  2103. behaviour.
  2104. 2007-02-12 Jackson Harper <[email protected]>
  2105. * RichTextBox.cs:
  2106. * TextBox.cs: By default we have a non multiline document
  2107. - use the multiline property instead of the internal variable
  2108. * TextBoxBase.cs: Treat multiline and non multiline the same in
  2109. most places.
  2110. - Use the documents multiline flag instead of tracking it ourself
  2111. * TextControl.cs: Attempt at getting multiline to match MS
  2112. behavior. Lines now track an offset, which is either their X or Y
  2113. offset depending on whether or not we are in multiline mode.
  2114. - Update all the methods to understand that lines have an X value.
  2115. - Fix crash in Undo::Duplicate when empty lines are deleted.
  2116. 2007-02-12 Everaldo Canuto <[email protected]>
  2117. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  2118. code moved to properties PreferredHeight and PreferredWidth. It solve the
  2119. all problems when preferred sizes must be recalculated. Fixes #80801.
  2120. 2007-02-12 Everaldo Canuto <[email protected]>
  2121. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  2122. font height when compatible_text_rendering is false. Partially fix #80801.
  2123. 2007-02-09 Gert Driesen <[email protected]>
  2124. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  2125. 2007-02-09 Gert Driesen <[email protected]>
  2126. * Form.cs: Improved exception messages in ShowDialog.
  2127. 2007-02-09 Gert Driesen <[email protected]>
  2128. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  2129. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  2130. if not set. Fixes bug #80764. Avoid accessing current_settings field
  2131. directly.
  2132. 2007-02-08 Everaldo Canuto <[email protected]>
  2133. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  2134. false.
  2135. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  2136. public in 2.0 and for easy maintenance and dont break compatibility it is
  2137. internal in 1.1.
  2138. 2007-02-08 Jonathan Pobst <[email protected]>
  2139. * ToolStripItem.cs: Implement using images from ImageList.
  2140. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2141. * DateTimePicker.cs: Change default date-formatting culture from
  2142. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  2143. seems to be the way MS does it.
  2144. 2007-02-08 Andreia Gaita <[email protected]>
  2145. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  2146. (the 6 was cut off on the right side)
  2147. 2007-02-08 Jonathan Pobst <[email protected]>
  2148. * Form.cs: Tell MenuStrips to close when the form is clicked.
  2149. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  2150. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  2151. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  2152. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  2153. support for Overflow, where items that do not fit are automatically
  2154. reparented to a drop down menu.
  2155. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  2156. Also: fixes bug #80747.
  2157. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2158. * ComboBox.cs: Remove warning (unused code).
  2159. * ScrollableControl.cs: Remove warning for 1.1 profile.
  2160. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2161. * Form.cs: Remove a warning.
  2162. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2163. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  2164. 'g' specifier, not documented anywhere, but seems to always show up
  2165. as a single space (might have something to do with the DateTime 'g'
  2166. specifier, which is the era format, but since DateTimePicker can't
  2167. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  2168. won't crash if the format has an unmatched quote. Now shows
  2169. single-character formats correctly. Fixes #80744.
  2170. 2007-02-08 Jonathan Pobst <[email protected]>
  2171. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  2172. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  2173. 2007-02-07 Chris Toshok <[email protected]>
  2174. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  2175. background color. it overwrites the background image we've
  2176. already painted. Fixes #80599.
  2177. 2007-02-07 Chris Toshok <[email protected]>
  2178. * DataGrid.cs: return immediately from Edit() when there are no
  2179. columns. Fixes #80662.
  2180. 2007-02-07 Chris Toshok <[email protected]>
  2181. * MessageBox.cs: fix #80625. don't always show the Help button in
  2182. 2.0. use the displayHelpButton parameter to determine if we
  2183. should show it. Also, make the internal show_help field private.
  2184. 2007-02-07 Chris Toshok <[email protected]>
  2185. * Control.cs (SetVisibleCore): check in the proposed patch for
  2186. 80604, and set is_visible before calling CreateControl.
  2187. 2007-02-07 Jonathan Pobst <[email protected]>
  2188. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  2189. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  2190. on it.
  2191. 2007-02-06 Everaldo Canuto <[email protected]>
  2192. * MenuAPI.cs: hotkey_active internal field added, it is required because
  2193. we need to know when hotkeys must be draw, before this change a keystate
  2194. Navigating was used but we can have menu in navigating state without
  2195. hotkeys. Fixes #80694.
  2196. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  2197. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2198. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  2199. corresponding events and methods to be internal for 1.1 profile and
  2200. public for 2.0 profile (required by SizeGrip).
  2201. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  2202. implicit control list). Don't set the size nor the location of the
  2203. SizeGrip anymore as it's not needed.
  2204. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  2205. draw directly on the captured control (fixes #80656). Removed
  2206. ShowGrip (it wasn't used anywhere), redraw (always true), added
  2207. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  2208. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  2209. be called from SizeGrip.
  2210. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2211. * Timer.cs: Throw ArgumentException if Interval <= 0.
  2212. 2007-02-05 Jackson Harper <[email protected]>
  2213. * TreeView.cs: We need to check scrollbar visibility when window
  2214. visibility is updated, because non visible trees don't ever add
  2215. scrollbars.
  2216. * Cursor.cs: We want the override cursor to be reset to NULL when
  2217. we set current cursor to the default cursor.
  2218. 2007-02-05 Jackson Harper <[email protected]>
  2219. * TextControl.cs: Don't have crlfs when we are non multiline.
  2220. - Consolidate the line position.
  2221. 2007-02-05 Jackson Harper <[email protected]>
  2222. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  2223. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  2224. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  2225. handling LeaveNotify->NotifyUngrab in order to send
  2226. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  2227. after calling XUngrabPointer, so we call WindowUngrabbed directly
  2228. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  2229. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  2230. MouseCaptureChanged correctly. Also create handles if changing
  2231. Capture (matches MS behaviour).
  2232. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2233. * SizeGrip.cs: Make the last change 2.0 only.
  2234. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2235. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  2236. changes to initial size (fixes #80597).
  2237. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2238. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  2239. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2240. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  2241. background) and only allow dragging if enabled. This way the
  2242. sizegrip can be used to fill the open square that otherwise would
  2243. have been shown in the bottom right corner of ScrollableControl
  2244. when ScrollableControl is not suppose to support sizing.
  2245. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  2246. sizegrip is shown and enabled, and hook up with necessary events.
  2247. 2007-02-01 Chris Toshok <[email protected]>
  2248. * DataGridTextBoxColumn.cs: clean up the
  2249. GetFormattedString/GetColumnValueAtRow combination of functions.
  2250. Also fix UpdateUI, and the initial state of
  2251. IsInEditOrNavigateMode.
  2252. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  2253. aren't supposed to scroll the textbox here, we're supposed to
  2254. scroll the datagrid.
  2255. 2007-02-01 Chris Toshok <[email protected]>
  2256. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  2257. setting the position.
  2258. 2007-02-01 Chris Toshok <[email protected]>
  2259. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  2260. here, since the most recent focus fixes keep us from generating
  2261. the Leave event when our textbox gets focus.
  2262. (Edit): we should be passing null for the column style's
  2263. instantText parameter.
  2264. 2007-02-01 Jonathan Pobst <[email protected]>
  2265. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  2266. raised. Fixes menu text/icons not showing up in PDN.
  2267. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  2268. * Control.cs: Remove code in constructor that makes every
  2269. control with WS_CHILD set have initial location -1, -1.
  2270. 2007-01-31 Jackson Harper <[email protected]>
  2271. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  2272. XplatUIX11.
  2273. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  2274. 2007-01-31 Jackson Harper <[email protected]>
  2275. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  2276. - Remove some debug code.
  2277. 2007-01-31 Jackson Harper <[email protected]>
  2278. * XplatUIX11.cs: If you set the override cursor during a grab, it
  2279. should actually override the grab cursor. This comes into play
  2280. when you are setting custom cursors in a DND feedback method.
  2281. 2007-01-31 Jackson Harper <[email protected]>
  2282. * X11Dnd.cs: Add support for handling the QueryContinue and
  2283. GiveFeedback events.
  2284. - Cancel drag and drop actions when the escape key is clicked.
  2285. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  2286. can handle the ESCAPE key.
  2287. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  2288. done when dnd events are continued after the button is released.
  2289. - Add a new helper method so that dnd can translate key events.
  2290. 2007-01-31 Alexander Olk <[email protected]>
  2291. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  2292. make it more obvious what is happening.
  2293. 2007-01-30 Jackson Harper <[email protected]>
  2294. * XplatUIX11.cs: Don't break when handling button release in drag
  2295. and drop operations. We need that BUTTONUP message to get through
  2296. so capture is released.
  2297. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  2298. this is handled automatically when the mouse is down.
  2299. 2007-01-30 Jackson Harper <[email protected]>
  2300. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  2301. is closed, so we need to make sure that we aren't changing the
  2302. dialog result when the OK (Open or Save) button has been clicked
  2303. and we are closing the window ourselves. Note we don't need to
  2304. worry about the cache being written in this case, because it was
  2305. already done in the previous FilOk call.
  2306. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  2307. * DateTimePicker.cs: Remove a warning.
  2308. * ComboBox.cs: Remove a couple of warnings.
  2309. 2007-01-29 Chris Toshok <[email protected]>
  2310. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  2311. set one, if SetIcon is passed a null icon.
  2312. 2007-01-29 Andreia Gaita <[email protected]>
  2313. * TextBox.cs: Redraw when the password characters changes
  2314. * TextControl.cs: Check if textbox has a password char and draw
  2315. a line of password chars instead of the text in the line. LineTag gets
  2316. an extra Draw() method which allows document.Draw to override the text
  2317. that will be drawn. Removes 1024 char limitation on length of passworded
  2318. lines.
  2319. 2007-01-29 Jackson Harper <[email protected]>
  2320. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  2321. single chars is not.
  2322. 2007-01-28 Jonathan Pobst <[email protected]>
  2323. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  2324. one pixel. Fix a StackOverflowException caused by an overload wrongly
  2325. calling itself.
  2326. 2007-01-26 Everaldo Canuto <[email protected]>
  2327. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  2328. also remove ProcessArrowKey and put the code inside ProcessKeys.
  2329. 2007-01-26 Jonathan Pobst <[email protected]>
  2330. * PaddingConverter.cs: Added.
  2331. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  2332. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  2333. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  2334. of text (fixes #80601). For panels clip the text to draw to the
  2335. panel (fixes #80603).
  2336. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  2337. * ComboBox.cs: Fixed implementation of ResetText.
  2338. 2007-01-25 Jackson Harper <[email protected]>
  2339. * TextControl.cs: For the last char of a line we need to use the
  2340. line size, not that chars width, since it won't actually be
  2341. computed since the right side of a char is based on the start of
  2342. the left side of the next char, and the next char does not exist.
  2343. 2007-01-25 Chris Toshok <[email protected]>
  2344. * Splitter.cs: fix the new unit tests, and reindent some switch
  2345. statements.
  2346. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2347. * ComboBox.cs: Implemented 2.0 methods and events.
  2348. * TextBoxBase.cs: Added OnTextUpdate, so that
  2349. ComboBox.ComboTextBox can inform ComboBox of it.
  2350. 2007-01-25 Jackson Harper <[email protected]>
  2351. * TextControl.cs: Respect ShowSelection when deciding whether or
  2352. not to display the caret, this allows comboboxes to have carets
  2353. when the combotextbox does not have focus.
  2354. 2007-01-25 Jackson Harper <[email protected]>
  2355. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  2356. same as the Suspend/Resume for recalc, except this will do actual
  2357. Invalidates.
  2358. - New Undo manager, works much like the MS version.
  2359. - Implemented Redo
  2360. * TextBoxBase.cs: The Cut operation is undoable.
  2361. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2362. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  2363. on Windows (no difference on Linux).
  2364. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2365. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  2366. we don't want to activate any windows. Fixes #79433.
  2367. 2007-01-25 Jonathan Pobst <[email protected]>
  2368. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  2369. [Fixes bug #80609]
  2370. 2007-01-25 Alexander Olk <[email protected]>
  2371. * FileDialog.cs:
  2372. - Move to using System.ComponentModel.EventHandlerList
  2373. - Replace Refresh with Invalidate
  2374. - Clear the mime filecache on closing
  2375. - Some other memory reducing work. After beeing closed FD now uses
  2376. only about 300 KB for the fdo mime stuff plus the memory of the
  2377. cached icons.
  2378. * Mime.cs: Changed coding style and removed unnecessary commented
  2379. code. Some more memory memory reducing work.
  2380. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2381. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  2382. a few other missing 2.0 properties.
  2383. * Theme.cs: Added DrawFlatStyleComboBox.
  2384. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  2385. 2007-01-24 Chris Toshok <[email protected]>
  2386. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  2387. wake_waiting flag, not just when there's data to be read. if we
  2388. don't, then future wakeup's won't reach us and we'll be doomed to
  2389. wait for the entire 1 second timeout forever (unless there are X
  2390. events to be had).
  2391. 2007-01-24 Jonathan Pobst <[email protected]>
  2392. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  2393. until you pass Items.Count, not Items.Count - 1 like 1.1.
  2394. 2007-01-24 Gert Driesen <[email protected]>
  2395. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  2396. 2007-01-24 Jonathan Pobst <[email protected]>
  2397. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  2398. adding the panels in the wrong order.
  2399. 2007-01-24 Jackson Harper <[email protected]>
  2400. * TextBoxBase.cs: When we move the caret we also need to move the
  2401. selection, this fixes some random crashing after doing select
  2402. text, unselect, delete a char, paste.
  2403. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  2404. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  2405. 2007-01-23 Everaldo Canuto <[email protected]>
  2406. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  2407. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  2408. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  2409. 2007-01-23 Everaldo Canuto <[email protected]>
  2410. * ToolBar.cs:
  2411. - Implement support for vertical toolbars. Fixes #80539;
  2412. - Call LayoutToolBar when resize, it fix some other problems in layout.
  2413. - Rename requested_height to requested_size, as we can have width on it
  2414. when toolbar is vertical.
  2415. - Create a private property "Vertical" that uses Dock to verify when
  2416. toolbar is vertical or not.
  2417. - Set ControlStyles when change Dock property.
  2418. - Refactory in LayoutToolBar to have better variables names and to support
  2419. vertical toolbars.
  2420. - Fixes default value for ButtonSize when button count is equal zero, size
  2421. must be (39, 36) test case writed.
  2422. 2007-01-23 Chris Toshok <[email protected]>
  2423. * Control.cs: fix the checks so that they work correctly for mdi
  2424. parents/children.
  2425. 2007-01-23 Chris Toshok <[email protected]>
  2426. * Control.cs: ControlCollection seems to have super-secret
  2427. abstraction breaking knowledge of Mdi containers. allow MdiClient
  2428. to add toplevel controls.
  2429. 2007-01-23 Chris Toshok <[email protected]>
  2430. * Control.cs: throw an ArgumentException if a toplevel control is
  2431. added to our control collection from ControlCollection.Add, as
  2432. well as from ControlCollection.IList.Add. This fixes the
  2433. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  2434. Also, in ControlCollection.IList.Add, don't through an
  2435. ArgumentNullException, throw an ArgumentException, when value ==
  2436. null. This matches MS.
  2437. 2007-01-23 Chris Toshok <[email protected]>
  2438. * BindingSource.cs: initial, incomplete, implementation of
  2439. BindingSource.
  2440. 2007-01-23 Jackson Harper <[email protected]>
  2441. * TextControl.cs:
  2442. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  2443. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  2444. 2007-01-23 Everaldo Canuto <[email protected]>
  2445. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  2446. 2007-01-23 Andreia Gaita <[email protected]>
  2447. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  2448. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  2449. IndexOfKey() for 2.0
  2450. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  2451. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  2452. to prevent it from changing z-order.
  2453. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  2454. leave UI updates in MdiWindowManager.
  2455. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  2456. 1 sized (NC handling goes weird on Linux otherwise).
  2457. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  2458. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  2459. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  2460. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  2461. and SetWindowState(s) to allow for changing the size of an activated child
  2462. before activating it (reduces a lot of flicker).
  2463. 2007-01-22 Jonathan Pobst <[email protected]>
  2464. * Form.cs: Changing FormBorderStyle has different semantics based
  2465. on whether the Form is visible or not. If not visible, don't change
  2466. the Size. But InvalidateNC needs to be called to force the window
  2467. to pick up the changes and redraw itself. [Fixes bug #80574]
  2468. 2007-01-22 Jonathan Pobst <[email protected]>
  2469. [Moma work]
  2470. * ContainerControl.cs: ProcessCmdKey.
  2471. * ErrorProvider.cs: new constructor.
  2472. * Form.cs: fix AutoValidateEvent compiler warning.
  2473. * Label.cs: fix OnAutoSizeChanged compiler warning.
  2474. * MenuStrip.cs: fix CanOverflow compiler warning.
  2475. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  2476. * TextBox.cs: Dispose.
  2477. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  2478. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  2479. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  2480. * ToolStripItem.cs: Overflow, RightToLeft properties.
  2481. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  2482. * Form.cs: Move the layout of the main form to MdiWindowManager.
  2483. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  2484. do a layout of the main window to update MdiClient's client area to
  2485. the right area. Fixes #80533. Remove the calculation of nc size,
  2486. it was just wrong and the correct one is the same as for
  2487. InternalWindowManager.
  2488. 2007-01-20 Jonathan Pobst <[email protected]>
  2489. * Control.cs: Setting Anchor or Dock needs to reset the other
  2490. to its default. [Fixes bug #80556]
  2491. 2007-01-20 Chris Toshok <[email protected]>
  2492. * CheckedListBox.cs: class status changes.
  2493. * ScrollableControl.cs: same.
  2494. * RichTextBox.cs: same.
  2495. * ContainerControl.cs: same.
  2496. * ListView.cs: same.
  2497. * NotifyIcon.cs: same.
  2498. * MenuStrip.cs: same.
  2499. * RadioButton.cs: same.
  2500. * CheckBox.cs: same.
  2501. * PrintPreviewDialog.cs: same.
  2502. * Form.cs: same.
  2503. 2007-01-19 Jonathan Pobst <[email protected]>
  2504. * TreeNode.cs: Apply Alan's patch for Name property.
  2505. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  2506. * Form.cs: Implemented SizeGripStyle.
  2507. * SizeGrip.cs: Check for minimum and maximum size for the
  2508. control being resized and only resize if size has actually
  2509. changed.
  2510. 2007-01-19 Chris Toshok <[email protected]>
  2511. * DataGridColumnStyle.cs: stop setting _readonly in the
  2512. PropertyDescriptor setter. fixes a unit test failure.
  2513. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  2514. just consult our table style (if we have one). We don't need to
  2515. consult the datagrid readonly attribute because that's passed in
  2516. as the _ro arg to Edit. this simplifies things a little.
  2517. * DataGrid.cs: use CurrentColumn instead of
  2518. current_cell.ColumnNumber just to simplify some of the code.
  2519. switch the order of some things in the CurrentCell setter to keep
  2520. the previous cell from getting a textbox again -
  2521. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  2522. So we need to set the new cell before calling it.
  2523. call Edit in OnEnter, as does Microsoft.
  2524. also, make sure the current table style isn't the one we create
  2525. initially when checking to see if it's different than the one
  2526. we're setting it to in BindColumns (this fixes #80421).
  2527. * GridTableStylesCollection.cs: table styles can have "" for a
  2528. mapping name. part of the fix for #80421.
  2529. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  2530. Edit significantly.
  2531. 2007-01-18 Jonathan Pobst <[email protected]>
  2532. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  2533. and less GDI object leaky-er.
  2534. 2007-01-18 Andreia Gaita <[email protected]>
  2535. * LinkLabel.cs: Add opaque control style
  2536. 2007-01-18 Jackson Harper <[email protected]>
  2537. * TextControl.cs: Calculate width properly.
  2538. - Don't store the tag's X offset, this can be figured out very
  2539. easily.
  2540. - When getting the caret tag make sure to get the last empty tag.
  2541. 2007-01-18 Jonathan Pobst <[email protected]>
  2542. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  2543. [Fixes bug #79959]
  2544. * Control.cs: Color.Empty shouldn't count for previous transparent
  2545. redraw changes.
  2546. 2007-01-18 Jackson Harper <[email protected]>
  2547. * TextBox.cs:
  2548. * RichTextBox.cs:
  2549. * TextControl.cs: Starting to merge in some pieces of my older
  2550. undo work. Basically just some slight cleanup of the undo API.
  2551. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  2552. * TrackBar.cs: Fix signature of RightToLeftLayout.
  2553. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  2554. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  2555. * Application.cs: Implemented UseWaitCursor.
  2556. 2007-01-18 Jackson Harper <[email protected]>
  2557. * TextControl.cs: We can't skip tags if any part of the tag is
  2558. visible.
  2559. 2007-01-18 Jonathan Pobst <[email protected]>
  2560. * ContainerControl.cs: Override OnLayout.
  2561. 2007-01-18 Jonathan Pobst <[email protected]>
  2562. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  2563. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  2564. everything else.
  2565. 2007-01-18 Chris Toshok <[email protected]>
  2566. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  2567. (leftover from the container_selected days, I'd wager). fixes bug
  2568. #80546.
  2569. 2007-01-18 Jonathan Pobst <[email protected]>
  2570. * Control.cs: Apply patch from George to fix the new testcase on
  2571. bug #80451. We can't just check for Color.Transparent, we need
  2572. to check if the back color's alpha channel is < 255.
  2573. 2007-01-18 Jonathan Pobst <[email protected]>
  2574. * Form.cs: Move setting show_icon = true to before the constructor
  2575. so that the base constructor has that information when it calculates
  2576. the form's size. Was causing forms to be (6, 6) bigger than they
  2577. were supposed to be. Thanks for catching this Rolf!
  2578. 2007-01-18 Jackson Harper <[email protected]>
  2579. * TextControl.cs: When replacing a selection we need to invalidate
  2580. from the initial selection start, because selection start is moved
  2581. to the end of the replacement.
  2582. 2007-01-18 Andreia Gaita <[email protected]>
  2583. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  2584. 2007-01-18 Chris Toshok <[email protected]>
  2585. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  2586. I just added.
  2587. 2007-01-17 Everaldo Canuto <[email protected]>
  2588. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  2589. layout methods and properties from ToolBarButton must be available
  2590. into ToolBarButtonInfo.
  2591. 2007-01-17 Jonathan Pobst <[email protected]>
  2592. * Control.cs: If the control has a transparent background, we
  2593. need to refresh it when it moves and when it's parent's background
  2594. image changes. [Fixes bug #80451]
  2595. 2007-01-17 Jonathan Pobst <[email protected]>
  2596. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  2597. 2007-01-17 Jonathan Pobst <[email protected]>
  2598. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  2599. [Fixes bug #80447, and probably speeds up things as well]
  2600. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2601. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  2602. * XplatUIWin32.cs: We need to recalculate NC size after changing
  2603. window style to toolwindow (otherwise the client rectangle will be
  2604. 3 pixels to small for some reason).
  2605. * MdiWindowManager.cs: Revert NC size calculations to match how
  2606. they are calculated only based on window styles (to match
  2607. Win32AdjustWindowRectEx, since otherwise when setting size or
  2608. location, Control will call Win32AdjustWindowRectEx to update client
  2609. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  2610. calculate a different value of client size causing another paint
  2611. (and flickering))
  2612. * InternalWindowManager.cs: When moving or resizing a window only
  2613. update size or location if they actually changed.
  2614. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  2615. (seems to match Windows behaviour better). Cleaned up
  2616. ManagedWindowDecorations to draw what's needed and nothing else
  2617. (was drawing borders and lines where they shouldn't be)
  2618. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  2619. (style = 0xFFFF) and takes into account caption height when
  2620. calculating window rectangle.
  2621. 2007-01-16 Everaldo Canuto <[email protected]>
  2622. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  2623. can be added to toolbar multiple times, we need to maintain a list of
  2624. button information for each positions.
  2625. 2007-01-16 Everaldo Canuto <[email protected]>
  2626. * ToolBar.cs: Some small stetic changes.
  2627. 2007-01-16 Jackson Harper <[email protected]>
  2628. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  2629. that allow us to have nested recalc = false blocks.
  2630. - Add paste support for images in the RichTextBox
  2631. * RichTextBox.cs: flush the text after the color is changed, so
  2632. the change takes effect.
  2633. - Use SuspendRecalc
  2634. - Some extra debugging info
  2635. * TextControl.cs: Tags no longer track their length, it is just
  2636. computed from the next tags length, this makes things a little
  2637. simpler and reduces places that we have to track length changes.
  2638. - Refactored the linetag class a little so we could make it
  2639. a base class for different kinds of tags
  2640. - Created a image tag, a tag that can have a single image inserted
  2641. into it
  2642. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  2643. that we can call suspend multiple times.
  2644. - Add some debugging methods
  2645. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2646. * MdiClient.cs: Add ActivatePreviousChild for
  2647. mdi child window navigation.
  2648. * Form.cs: Use MdiClient.ActivateNextChild/
  2649. ActivatePreviousChild instead of Form.SelectNextControl
  2650. to select the next/previous child since
  2651. SelectNextControl doesn't do it in the same order
  2652. as mdi children should do it.
  2653. 2007-01-16 Chris Toshok <[email protected]>
  2654. * Control.cs: remove container_selected field.
  2655. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2656. * MdiClient.cs: Update main form's ActiveChild when
  2657. updating keyboard focus for the mdi child.
  2658. 2007-01-16 Jonathan Pobst <[email protected]>
  2659. * Control.cs: PreferredSize fix.
  2660. * Form.cs: Add several 2.0 events, properties, and methods.
  2661. 2007-01-16 Gert Driesen <[email protected]>
  2662. * Form.cs: Provide meaningful message when MdiParent is assigned a
  2663. Form that is not an MdiContainer.
  2664. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2665. * MdiClient.cs: Update main form's ActiveChild when
  2666. activating a mdi child.
  2667. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2668. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  2669. doesn't have a menu.
  2670. * Form.cs: Request NCRecalc after creating a mdi child window.
  2671. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  2672. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  2673. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  2674. sends keyboard focus to the active child, or to the MdiClient
  2675. if there are no child forms.
  2676. 2007-01-15 Chris Toshok <[email protected]>
  2677. * ListView.cs: drop the *Internal overrides, just do our work in
  2678. ItemControl's WndProc instead.
  2679. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  2680. of the various controls, and forward the events properly (in the
  2681. same manner as MS) from the textbox to the UpDown. Also the
  2682. ActiveControl of the UpDownBase gets set properly now. Finally,
  2683. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  2684. * NumericUpDown.cs: set Text in the ctor.
  2685. * DomainUpDown.cs: call UpdateEditText in the ctor.
  2686. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  2687. so even a Selectable = false textbox can be focused if you click
  2688. in it. Go figure.
  2689. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  2690. just add their handling in their respective WndProc's. Also add
  2691. an explicit FocusInternal method that doesn't consult CanFocus
  2692. before calling Select(this).
  2693. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  2694. do our work in WndProc instead.
  2695. * TabControl.cs: same.
  2696. * ComboBox.cs: same.
  2697. 2007-01-15 Everaldo Canuto <[email protected]>
  2698. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  2699. Fixes #80006.
  2700. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  2701. * ListViewItem.cs:
  2702. * ThemeWin32Classic.cs: Don't draw the item text outside
  2703. item bounds in Details view, as well as use trimming.
  2704. Fixes bug #80376.
  2705. 2007-01-15 Jonathan Pobst <[email protected]>
  2706. * Form.cs: Implement Form.ShowIcon.
  2707. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  2708. null, which when combined with the DlgModalFrame window style removes
  2709. the icon from the title bar.
  2710. 2007-01-15 Jonathan Pobst <[email protected]>
  2711. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  2712. 2007-01-15 Everaldo Canuto <[email protected]>
  2713. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  2714. menu when mdi child windows theres a menu, uses insert to get icon
  2715. at first position. Partially fix #80006.
  2716. 2007-01-15 Jonathan Pobst <[email protected]>
  2717. * Clipboard.cs: Implement 2.0 methods.
  2718. 2007-01-15 Everaldo Canuto <[email protected]>
  2719. * Menu.cs: Implement Insert method of MenuItemCollection class
  2720. to fix MenuMerge.
  2721. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  2722. * ListView.cs: Implement 2.0 FindItemWithText method.
  2723. 2007-01-11 Everaldo Canuto <[email protected]>
  2724. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  2725. to calculate menu bar size. Fixes #80290.
  2726. 2007-01-11 Everaldo Canuto <[email protected]>
  2727. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  2728. 2007-01-11 Chris Toshok <[email protected]>
  2729. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  2730. initial form.
  2731. 2007-01-11 Chris Toshok <[email protected]>
  2732. * LinkLabel.cs: make sure to call base.Select in our Select method
  2733. if it turns out we're going to be selected (i.e. if we have a link
  2734. that is going to receive focus). That way our container's
  2735. ActiveControl is updated properly.
  2736. 2007-01-11 Chris Toshok <[email protected]>
  2737. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  2738. they have 1 or more links. this fixes the crash gert reported.
  2739. 2007-01-11 Andreia Gaita <[email protected]>
  2740. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  2741. anymore.
  2742. * Control.cs (Controls.Add): Check if control to be added to the collection
  2743. is a top level control, and throw an ArgumentException if it is.
  2744. Remove ContainerSelectedFlag, not needed anymore.
  2745. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  2746. top most control doesn't activate the form. This fixes a problem in the
  2747. MessageBox, where the default button wouldn't get focus because the form
  2748. was activated before being Loaded - when the Owner is set, SetTopMost is
  2749. called, and it would activate it.
  2750. 2007-01-11 Jonathan Pobst <[email protected]>
  2751. * Button.cs: When clicked and setting the parent form's DialogResult,
  2752. use FindForm instead of Parent, since parent could be a container
  2753. control and not the Form. Fixes bug #80495.
  2754. 2007-01-10 Chris Toshok <[email protected]>
  2755. * Form.cs: move the call to SendControlFocus into the same
  2756. is_loaded check.
  2757. 2007-01-10 Chris Toshok <[email protected]>
  2758. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  2759. It breaks in the face of the new ActiveControl stuff, and should
  2760. be unnecessary.
  2761. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  2762. activecontrol's focus if it's not already set, after we set
  2763. ActiveControl, but before we call OnActivated. Re-fixes #79667
  2764. after the previous focus/active control fixes regressed it.
  2765. * Control.cs: reindent some code.
  2766. 2007-01-10 Chris Toshok <[email protected]>
  2767. * Splitter.cs: clearing some outstanding changes from my tree.
  2768. Replace all accesses (not writes) to the internal dock_style field
  2769. with the Dock property.
  2770. 2007-01-10 Chris Toshok <[email protected]>
  2771. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  2772. FireValidated virtual.
  2773. * Form.cs: override and don't chain up calls to FireEnter and
  2774. FireLeave.
  2775. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  2776. * ListView.cs: Add more text padding space when using
  2777. auto resize for columns (the previous value didn't work fine).
  2778. * ThemeWin32Classic.cs: Update text position inside columns,
  2779. to match the appeareance of .Net.
  2780. * ColumnHeader.cs: When using auto resize, only the Width should
  2781. depend on the sub items, not the Height. Also, set width after
  2782. auto resizing (the value of Width should never remain as -1 or -2).
  2783. 2007-01-10 Chris Toshok <[email protected]>
  2784. * Application.cs: fix compilation errors when debug is enabled.
  2785. 2007-01-10 Chris Toshok <[email protected]>
  2786. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  2787. add some nice ascii art pictures and explanation of the process).
  2788. (GetMostDeeplyNestedActiveControl): new utility function we need
  2789. because our ActiveControl can refer to a child container with its
  2790. own ActiveControl.
  2791. * Form.cs (OnActivated): remove the call to SelectActiveControl
  2792. from here, since you can override this method and not chain up,
  2793. and winforms still sets the active control.
  2794. (OnCreateControl): also remove the unnecessary SelectActiveControl
  2795. call from here.
  2796. (WndProc): it's actually called from the WM_ACTIVATE block, just
  2797. before calling OnActivated.
  2798. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  2799. inside the else. the ActiveControl setter will end up setting
  2800. focus on @control. This keeps us from setting it again (and
  2801. generating an extra LostFocus/GotFocus pair).
  2802. (Select (bool, bool)): reindent.
  2803. 2007-01-10 Jonathan Pobst <[email protected]>
  2804. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  2805. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  2806. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  2807. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  2808. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  2809. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  2810. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  2811. ToolStripTextBox.cs: Another wave of corcompare work.
  2812. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  2813. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  2814. the Width property.
  2815. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  2816. methods by callling Column.AutoResize method on columns.
  2817. 2007-01-09 Jonathan Pobst <[email protected]>
  2818. * Control.cs: Provide proper implementations of PreferredSize
  2819. and GetPreferredSize (2.0).
  2820. 2007-01-09 Jonathan Pobst <[email protected]>
  2821. * Form.cs: Remove one character (!) to make my previous OnClosing
  2822. stuff work for modal windows like MessageBox.
  2823. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  2824. * ListView.cs:
  2825. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  2826. ListView.Columns to get the last displayed column. Fixes #80452.
  2827. 2007-01-09 Everaldo Canuto <[email protected]>
  2828. * Label.cs, LinkLabel.cs: Source code identation fixes.
  2829. 2007-01-08 Everaldo Canuto <[email protected]>
  2830. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  2831. we dont need to invalidate only borders because when we invalidate four
  2832. border lines the invalidate's generates a complete redraw of button,
  2833. because it now invalidate a complete rect some other redraws operations
  2834. are fixed. Fixes #80196.
  2835. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  2836. Remove ToolBarInvalidateEntireButton as it is not used.
  2837. 2007-01-08 Jonathan Pobst <[email protected]>
  2838. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  2839. called for 2.0 profile.
  2840. * CloseReason.cs: Make class internal for 1.1.
  2841. 2007-01-08 Jonathan Pobst <[email protected]>
  2842. * ToolStripManager.cs: Implement FindToolStrip functionality.
  2843. * ToolStrip.cs: Register and unregister with ToolStripManager.
  2844. 2007-01-07 Jonathan Pobst <[email protected]>
  2845. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  2846. to ArrangedElementCollection. Implemented this with as few #if's as
  2847. possible (which is still too many).
  2848. 2007-01-07 Jonathan Pobst <[email protected]>
  2849. * Control.cs: Implement SizeFromClientSize() [2.0].
  2850. 2007-01-07 Everaldo Canuto <[email protected]>
  2851. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  2852. use Theme.BorderSize to calculate area instead of static value 1,
  2853. by the way use new BorderStaticSize instead Border3DSize when
  2854. border_static is true. Fixes #79537.
  2855. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  2856. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  2857. it is not needed.
  2858. 2007-01-06 Everaldo Canuto <[email protected]>
  2859. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  2860. 2007-01-06 Everaldo Canuto <[email protected]>
  2861. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  2862. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  2863. * Hwnd.cs:
  2864. - border_static field added, it will used to define when a control
  2865. theres 3D border but it must be static (thin).
  2866. - In GetWindowRectangle use Theme.BorderSize to calculate area
  2867. instead of static value 1, by the way use new BorderStaticSize instead
  2868. Border3DSize when border_static is true.
  2869. * XplatUIX11.cs, XplatUIOSX.cs:
  2870. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  2871. * Theme.cs: BorderStaticSize field added.
  2872. 2007-01-05 Everaldo Canuto <[email protected]>
  2873. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  2874. 2007-01-05 Everaldo Canuto <[email protected]>
  2875. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  2876. mimic same behavior than win32 that set border only in CreateParams,
  2877. it fix problems under CreateParams overrides. Fix #79442 and partial
  2878. fix #79537.
  2879. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  2880. of thi control you must call recreate handle.
  2881. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  2882. need to do anything as RecreateHangle will take care about borders.
  2883. 2007-01-05 Mike Kestner <[email protected]>
  2884. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  2885. cycles between the ItemControl and parent. Fixes #80388.
  2886. 2007-01-05 Gert Driesen <[email protected]>
  2887. * Control.cs: Lazy init layout engine. Do not directly use
  2888. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  2889. 2007-01-05 Chris Toshok <[email protected]>
  2890. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  2891. unless our list manager has changed (i.e. unless we have reason to
  2892. believe our columns have changed). Fixes #80422.
  2893. also, disable the call do BindColumns in
  2894. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  2895. 1.1 the event isn't raised in response to a column addition on a
  2896. table.)
  2897. 2007-01-05 Jonathan Pobst <[email protected]>
  2898. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  2899. that inheritors can not call it if they choose. Fixes bug #80456.
  2900. 2007-01-05 Andreia Gaita <[email protected]>
  2901. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  2902. doesn't blow up with a null exception on marshalling.
  2903. 2007-01-05 Jonathan Pobst <[email protected]>
  2904. * Control.cs: Implement several 2.0 protected properties and methods.
  2905. Ensure that all necessary events are being called when properties
  2906. are set.
  2907. 2007-01-05 Mike Kestner <[email protected]>
  2908. * ListView.cs: implement PgUp/PgDn for Details view. Also
  2909. fixes First/LastVisibleIndex to use the item_control.ClientRect
  2910. instead of the parent control. Fixes #80378.
  2911. 2006-01-05 Atsushi Enomoto <[email protected]>
  2912. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  2913. determine whether to use yard-pound or not (bug #78399).
  2914. 2006-01-04 Alexander Olk <[email protected]>
  2915. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  2916. problems. So it is time to bring back the old popupbutton colors.
  2917. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  2918. * ColumnHeader.cs:
  2919. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  2920. property by using the internal information of the
  2921. columns order in ListView.
  2922. 2007-01-04 Jonathan Pobst <[email protected]>
  2923. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  2924. Add 2.0 Tag properties.
  2925. * LinkArea.cs: Add 2.0 ToString method.
  2926. 2007-01-03 Chris Toshok <[email protected]>
  2927. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  2928. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  2929. when we're editing, which fixes #80047.
  2930. 2007-01-03 Chris Toshok <[email protected]>
  2931. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  2932. #80404.
  2933. 2007-01-03 Jonathan Pobst <[email protected]>
  2934. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  2935. property and implementation.
  2936. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  2937. for MdiWindowListItem property.
  2938. * ToolStripDropDown.cs: Don't consider hidden menu items while
  2939. laying out the menu.
  2940. 2007-01-03 Andreia Gaita <[email protected]>
  2941. * SendKeys.cs: window handle is not needed in win32, so just
  2942. get the active window for X after parsing keys and don't use
  2943. it when building the message; it is passed by parameter to the
  2944. Xplat method and used there to build the message instead. Also,
  2945. wait for events to be processed on SendWait, as opposed to Send,
  2946. which doesn't wait :) Playing with threads and Send() completely
  2947. hangs on ms.net, only SendWait() works.
  2948. XplatUIX11.cs
  2949. X11Display.cs: Check for valid window handle.
  2950. 2007-01-03 Jackson Harper <[email protected]>
  2951. * TextControl.cs: Need to prevent wrap calculations when replacing
  2952. text (this was there before i removed it accidently).
  2953. - Don't update the cursor during the positioning, just set it to
  2954. selection_start at the end of the operaion.
  2955. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2956. * Control.cs:
  2957. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  2958. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2959. * MonthCalendar.cs: Added Click and DoubleClick events again,
  2960. but this time they only hide Control's Click and DoubleClick.
  2961. 2007-01-03 Gert Driesen <[email protected]>
  2962. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  2963. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  2964. 2007-01-02 Jackson Harper <[email protected]>
  2965. * TextBoxBase.cs: We move the caret with the split now, so we
  2966. don't need to explicitly move the caret after splitting. This
  2967. fixes the caret bumping down an extra line on Enter.
  2968. 2007-01-02 Miguel de Icaza <[email protected]>
  2969. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  2970. 2.72).
  2971. * ScrollableControl.cs: Add Scroll event.
  2972. 2007-01-02 Mike Kestner <[email protected]>
  2973. * ListView.cs: one more try with help from [email protected]
  2974. to fix all hdr height padding codepaths. Fixes #80207.
  2975. 2007-01-02 Chris Toshok <[email protected]>
  2976. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  2977. setting it to the Control defaults anyway, and it being after the
  2978. Dock set was screwing up layout.
  2979. (set_Dock): don't short circuit out of setting base.Dock. Also,
  2980. no need to call UpdateStatusBar here, as it'll be re-layed out if
  2981. it needs to be.
  2982. 2007-01-02 Mike Kestner <[email protected]>
  2983. * ListView.cs: patch from [email protected] to add padding
  2984. to header height for width == -1. Fixes the rest of #80207.
  2985. 2007-01-02 Mike Kestner <[email protected]>
  2986. * ListView.cs: rework the mouse event forwarding everaldo added
  2987. to translate the coordinates to the parent control not
  2988. raise the parent events until after we've done our work. Hover
  2989. needs more work, in the case where HoverSelection is on, because
  2990. the item control receives more than one MouseHover per Enter
  2991. event, so we need to ensure only the "first" hover gets forwarded.
  2992. Opening a minor bug for that.
  2993. 2007-01-02 Gert Driesen <[email protected]>
  2994. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  2995. * ListControl.cs: Implemented AllowSelection property. Removed extra
  2996. tabs.
  2997. * ListBox.cs: Implemented AllowSelection property.
  2998. 2007-01-02 Everaldo Canuto <[email protected]>
  2999. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  3000. SelectedItem, it prevent for errors when you must disable item
  3001. before perform click. Fixes #80409.
  3002. 2007-01-02 Everaldo Canuto <[email protected]>
  3003. * MenuAPI.cs: Prevent second level and beyond submenus to close
  3004. until first level when move out side of popup.
  3005. 2007-01-02 Everaldo Canuto <[email protected]>
  3006. * MenuAPI.cs:
  3007. - Down submenu positin in three pixels.
  3008. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  3009. 2007-01-02 Everaldo Canuto <[email protected]>
  3010. * ThemeWin32Classic.cs:
  3011. - Fix popup menu size adding one pixel on the top.
  3012. - Down menu item border from two to one to mimic Win32.
  3013. - Some source identation fixes.
  3014. 2007-01-01 Everaldo Canuto <[email protected]>
  3015. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  3016. position of menu arrows, it fix wrong arrow size.
  3017. 2007-01-01 Everaldo Canuto <[email protected]>
  3018. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  3019. instead of line, it simplify draw operation and fix it using 3D
  3020. borders to mimic Win32.
  3021. 2007-01-01 Jonathan Pobst <[email protected]>
  3022. * StatusStrip.cs: Add implementation of the sizing grip.
  3023. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  3024. StatusStrip rendering.
  3025. 2006-12-31 Chris Toshok <[email protected]>
  3026. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  3027. override the layout style (anchor/dock) of the control. assign to
  3028. Dock instead. Fixes bug #80416.
  3029. * ToolStrip.cs: same.
  3030. 2006-12-31 Andreia Gaita <[email protected]>
  3031. * ContainerControl.cs: Use ContainerSelected flag to check if
  3032. a Container is directly selected, or if Select is called on a
  3033. non-container. If a container is directly selected, focus events
  3034. should not be raised.
  3035. Apply #80411 patch to throw exception on set_ActiveControl if
  3036. control is the same as the current one.
  3037. * Control.cs: Use ContainerSelected flag (see above).
  3038. Add invalidation check to raise event but not invalidate if
  3039. dimensions are 0.
  3040. Apply #80411 patch.
  3041. 2006-12-31 Everaldo Canuto <[email protected]>
  3042. * MenuAPI.cs: After click, dont close popup menu when menu is
  3043. ContextMenu. Fixes #80399.
  3044. 2006-12-30 Chris Toshok <[email protected]>
  3045. * ContainerControl.cs: make sure we throw the exception if the
  3046. container control doesn't contain the control we're setting
  3047. ActiveControl to.
  3048. 2006-12-30 Chris Toshok <[email protected]>
  3049. * Control.cs (SetTopLevel): fix the exception raised by
  3050. SetTopLevel for child controls.
  3051. (set_Anchor): call UpdateDistances when setting the anchor type.
  3052. This fixes bug #80336.
  3053. 2006-12-29 Gert Driesen <[email protected]>
  3054. * Theme.cs: For now, revert back to 8pt font.
  3055. 2006-12-29 Everaldo Canuto <[email protected]>
  3056. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  3057. Fixes #80395.
  3058. 2006-12-29 Chris Toshok <[email protected]>
  3059. * Control.cs: reorder the code in OnResize to give the same event
  3060. ordering as MS.
  3061. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  3062. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  3063. TileHorizontally and TileVertically.
  3064. 2006-12-29 Alexander Olk <[email protected]>
  3065. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  3066. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  3067. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  3068. Corrected copyright and email adress.
  3069. 2006-12-29 Gert Driesen <[email protected]>
  3070. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  3071. of Exception in FullPath property if no TreeView is associated with
  3072. the TreeNode.
  3073. 2006-12-29 Gert Driesen <[email protected]>
  3074. * Theme.cs: Marked default_font as private, and initialize it in ctor
  3075. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  3076. on 2.0 profile.
  3077. * ThemeGtk.cs: Removed default_font intialization.
  3078. * ThemeWin32Classic.cs: Removed default_font initialization.
  3079. 2006-12-28 Chris Toshok <[email protected]>
  3080. * Control.cs: fix a couple of place where we were creating handles
  3081. more aggressively than we should be. Fixes ControlRefresh unit
  3082. tests.
  3083. 2006-12-28 Chris Toshok <[email protected]>
  3084. * Control.cs: contrary to what the comment said, Control.Dock does
  3085. not supercede Control.Anchor - the last one you assign to decides
  3086. the layout behavior. so we need to keep track of which was the
  3087. last set. Also, fix some of the affected property arguments in
  3088. PerformLayout calls, and remove an redundant parent.PerformLayout
  3089. call in OnResized.
  3090. Add a VisibleInternal property, which returns is_visible. We
  3091. can/should get rid of all the usage of this field elsewhere.
  3092. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3093. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  3094. control style, not DoubleBuffer. Added UseDoubleBuffering property
  3095. that indicates whether doublebuffering is enabled and supported.
  3096. (comment from and code based on Gert Driesen's patch in #80324).
  3097. Fixes #80324.
  3098. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3099. * Control.cs: Fixed a NRE.
  3100. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3101. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  3102. for 2.0.
  3103. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3104. * Control.cs: Rewrote double buffering, now a seperate
  3105. class handles all the buffering, no Graphics is disposed of
  3106. until the painting is finished (earlier implementation
  3107. would crash if the control was resized in the OnPaint,
  3108. since it would cause the double buffer to be recreated
  3109. and the old one disposed), a separate Graphics is
  3110. created for every paint (MS behaviour and anyways the state
  3111. of the Graphics would have to be saved and restored otherwise)
  3112. * XplatUIDriver.cs:
  3113. * XplatUIX11.cs:
  3114. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  3115. so that we can get the graphics for the back buffer without
  3116. having to create a new one and remove the offscreen_dc parameter
  3117. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  3118. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3119. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  3120. Also make virtual all the key-related methods.
  3121. * ListViewItem.cs: Make virtual the key related methods for
  3122. ListViewSubItemCollection.
  3123. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3124. * ListView.cs:
  3125. * ListViewItem.cs:
  3126. * ThemeWin32Classic.cs:
  3127. * Theme.cs: Initial support for Tile view in ListView,
  3128. as well as the implementation of the required bits for it (Item
  3129. and Subitem).
  3130. 2006-12-27 Gert Driesen <[email protected]>
  3131. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  3132. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  3133. Provide useful exception messages.
  3134. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  3135. * TrackBar.cs: Remove a warning.
  3136. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  3137. when used by DateTimePicker, fixes #80287. This also requires that
  3138. MonthCalendar implements it's own drawing for the yearly updown control,
  3139. otherwise the Capture tracking would be too complicated. Removed the Click
  3140. and DoubleClick events (according to comments they were hiding the base class
  3141. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  3142. raise these events, not that they cannot be raised. It is possible to raise
  3143. them by calling OnClick and OnDoubleClick). Added two internal fields in
  3144. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  3145. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  3146. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  3147. event, no longer needed.
  3148. 2006-12-27 Gert Driesen <[email protected]>
  3149. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  3150. true if new value differs from current value.
  3151. 2006-12-27 Gert Driesen <[email protected]>
  3152. * Control.cs: ControlCollection.Count must be public. Fixed build of
  3153. unit tests.
  3154. 2006-12-27 Gert Driesen <[email protected]>
  3155. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  3156. 2006-12-27 Gert Driesen <[email protected]>
  3157. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  3158. 2006-12-26 Everaldo Canuto <[email protected]>
  3159. * Control.cs: Invalidates control including when Width and Height is
  3160. equal zero or is not visible, only Paint event must be care about
  3161. this. Fixes #79913.
  3162. 2006-12-26 Chris Toshok <[email protected]>
  3163. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  3164. more corcompare work.
  3165. * DataGridView.cs: fix compiler warning.
  3166. * ColumnHeader.cs: some corcompare work, and also take the
  3167. opportunity to make the internal fields private.
  3168. * ListView.cs: fix the fallout from the above field change.
  3169. 2006-12-26 Jonathan Pobst <[email protected]>
  3170. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  3171. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  3172. ToolStripTextBox.cs: Fixes to events and corcompare.
  3173. 2006-12-26 Everaldo Canuto <[email protected]>
  3174. * ListView.cs: Call owner.OnMousexx event to propagate events from
  3175. item to ListView. Fixes #80367.
  3176. 2006-12-26 Gert Driesen <[email protected]>
  3177. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  3178. if value is less than one. ItemHeight should not be set to a value
  3179. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  3180. Removed extra tabs.
  3181. 2006-12-26 Jonathan Pobst <[email protected]>
  3182. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  3183. * ToolStripStatusLabel.cs: Add Spring for Moma.
  3184. 2006-12-26 Gert Driesen <[email protected]>
  3185. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  3186. Fixed code formatting. Removed debug code.
  3187. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  3188. 2006-12-26 Gert Driesen <[email protected]>
  3189. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  3190. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  3191. ArgumentOutOfRangeException if ColumnCount is negative. In
  3192. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  3193. less than 4 or higher than 32768.
  3194. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  3195. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  3196. Fixed IsFormatProviderDefault to return true if FormatProvider has
  3197. not been explicitly set.
  3198. 2006-12-25 Chris Toshok <[email protected]>
  3199. * Application.cs: add a couple of 2.0 events.
  3200. 2006-12-25 Chris Toshok <[email protected]>
  3201. * Control.cs: fix compiler warning.
  3202. * AxHost.cs: corcompare fixes.
  3203. * ApplicationContext.cs: corcompare fixes.
  3204. 2006-12-25 Chris Toshok <[email protected]>
  3205. * Control.cs: only update dist_right/dist_bottom if the
  3206. width/height is > 0. this fixes anchored controls being resized
  3207. smaller until they disappear and then resized larger again.
  3208. 2006-12-25 Chris Toshok <[email protected]>
  3209. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  3210. since they're nothing more than X/Left and Y/Top, respectively.
  3211. Also, move back to a per-control Bitmap/Graphics for
  3212. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  3213. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  3214. Height.
  3215. 2006-12-25 Miguel de Icaza <[email protected]>
  3216. * MessageBox.cs: Implemented overload that takes a new "bool
  3217. displayHelpButton" by adding a new internal field "show_help".
  3218. When clicked this will raise the HelpRequested on the owner or the
  3219. main form.
  3220. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  3221. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  3222. * ListView.cs: Add support ColumnWidthChanged and
  3223. ColumnWidthChanging.
  3224. Add support for ColumnReordered event.
  3225. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  3226. reorder.
  3227. Very nice codebase!
  3228. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  3229. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  3230. 2006-12-24 Chris Toshok <[email protected]>
  3231. * GridTablesFactory.cs: 2.0 corcompare work.
  3232. * ToolStripContainer.cs: add "override" to
  3233. ContextMenuStripChanged, and remove the local event object.
  3234. * ToolStripDropDown.cs: same with a couple properties.
  3235. * ToolStripPanel.cs: same with AutoSizeChanged event.
  3236. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  3237. * Form.cs: add the remaining 2.0 events, and do some corcompare
  3238. attribute work.
  3239. * DateTimePicker.cs: add "new" to padding.
  3240. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  3241. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  3242. * DataGridView.cs: PaddingChanged is overridden.
  3243. 2006-12-24 Chris Toshok <[email protected]>
  3244. * Control.cs: corecompare work here too.
  3245. * DataGridViewElement.cs, DataGridView.cs,
  3246. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  3247. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  3248. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  3249. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  3250. work.
  3251. 2006-12-24 Miguel de Icaza <[email protected]>
  3252. * Control.cs: Switched the error message on the console for a
  3253. todo. A review of the code will have to cope with this anyways
  3254. (since its a large feature, it is in our radar) and it was
  3255. producing too much output when running PDN.
  3256. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  3257. changes. Applications depend on this (PDN 2.72)
  3258. 2006-12-23 Chris Toshok <[email protected]>
  3259. * TableLayoutSettings.cs: finish up the corcompare work for this
  3260. class.
  3261. 2006-12-23 Chris Toshok <[email protected]>
  3262. * Control.cs: make SetImplicitBounds internal, do some futzing
  3263. with LayoutEngine so that it's available in 1.1, and remove the
  3264. entire duplicated code mess from PerformLayout. Use
  3265. System.Windows.Forms.Layout.DefaultLayout instead.
  3266. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  3267. 2006-12-23 Jonathan Pobst <[email protected]>
  3268. * Form.cs: Add MainMenuStrip property.
  3269. 2006-12-23 Jonathan Pobst <[email protected]>
  3270. * Control.cs: Add ContextMenuStrip property and implementation.
  3271. Fix ContextMenu implementation to show menu centered on control when
  3272. activated using the keyboard instead of showing at screen (0,0).
  3273. * ToolStripDropDown.cs: Fix needed overload of Show ().
  3274. 2006-12-23 Everaldo Canuto <[email protected]>
  3275. * Menu.cs: Name property added for 2.0 profile.
  3276. 2006-12-23 Everaldo Canuto <[email protected]>
  3277. * Menu.cs: Update information about FindMenuItem, method to be
  3278. implemented soon.
  3279. 2006-12-23 Everaldo Canuto <[email protected]>
  3280. * MenuAPI.cs: When deselect items deselect also selected subitems.
  3281. 2006-12-23 Everaldo Canuto <[email protected]>
  3282. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  3283. FindSubItemByCoord to found itens that is not active, also an
  3284. cheking added to FindSubItemByCoord to search for items only
  3285. in visible popup windows. Fixes #80274.
  3286. 2006-12-22 Everaldo Canuto <[email protected]>
  3287. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  3288. internal property, it be care about change ExStyle.
  3289. 2006-12-22 Andreia Gaita <[email protected]>
  3290. * ContainerControl.cs: set activeControl for parent forms up the
  3291. tree when the new activecontrol is a container.
  3292. When validating the active control, if it is a container, also
  3293. raise up the validation for it's active control. Fixes #80280
  3294. * Control.cs: Add internal property flag and check to prevent
  3295. Focus events from getting raised when Select() is called for
  3296. a ContainerControl. There are still too many focus events being
  3297. raised at the moment though.
  3298. Cleaned up the code a bit.
  3299. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  3300. * Control.cs: Added all missing 2.0 events.and
  3301. fixed a couple of corcompare issues.
  3302. * TrackBar.cs: Implemented missing 2.0 bits.
  3303. * MonthCalendar.cs,
  3304. * DateTimePicker.cs,
  3305. * MdiClient.cs: Fixed some corcompare issues.
  3306. 2006-12-21 Jonathan Pobst <[email protected]>
  3307. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  3308. SplitterPanel.cs: corecompare work.
  3309. 2006-12-21 Jonathan Pobst <[email protected]>
  3310. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  3311. Clean up warnings for BackgroundImageChanged and PaddingChanged
  3312. events now that they are implemented in Control.cs.
  3313. 2006-12-21 Jonathan Pobst <[email protected]>
  3314. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  3315. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  3316. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  3317. of TableLayoutPanel and supporting cast.
  3318. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  3319. * XplatUIWin32.cs:
  3320. - GrabWindow now confines the mouse pointer to the confine window.
  3321. - Added Win32ClipCursor and Win32GetClipCursor.
  3322. * Control.cs:
  3323. - Added CaptureWithConfine to be able to capture and confine
  3324. mouse pointer.
  3325. * InternalWindowManager.cs:
  3326. - Call CaptureWithConfine instead of Capture if we're an
  3327. MdiChild (fixes #79982).
  3328. 2006-12-21 Chris Toshok <[email protected]>
  3329. * DataGrid.cs: guard against the initial state of selection, where
  3330. selection_start == -1. make sure we only select from index >= 0.
  3331. Fixes bug #80291.
  3332. 2006-12-21 Chris Toshok <[email protected]>
  3333. * Control.cs: we don't need to be so draconian with
  3334. UpdateDistances, and we thusly don't need to call it before
  3335. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  3336. 2006-12-21 Daniel Nauck <[email protected]>
  3337. * ComboBox.cs,
  3338. TextBox.cs: Implemented AutoComplete properties.
  3339. 2006-12-20 Chris Toshok <[email protected]>
  3340. * DataGridView*.cs: some corecompare work.
  3341. 2006-12-20 Jackson Harper <[email protected]>
  3342. * XplatUIX11.cs: We need to hide the caret when deleting it,
  3343. otherwise you get carets left lying around everywhere.
  3344. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  3345. prevents getting some weird half drawn caret tracers when
  3346. scrolling.
  3347. * TextControl.cs: Attempt to reduce the number of times we need to
  3348. recreate the caret.
  3349. 2006-12-20 Gert Driesen <[email protected]>
  3350. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  3351. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3352. * DateTimePicker.cs:
  3353. - Implemented missing 2.0 bits.
  3354. - Changed some default values to match MS.
  3355. 2006-12-20 Jackson Harper <[email protected]>
  3356. * TextBoxBase.cs: When changing the font across the document we
  3357. can't recalculate after changing each line, since that will cahnge
  3358. the line count.
  3359. - PreferredHeight is a little different than i thought.
  3360. - When backspacing, move the caret before we do the actual char
  3361. delete, because when that delete crosses a wrap boundary the
  3362. positional information will change.
  3363. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3364. * Control.cs: Added some missing 2.0 bits:
  3365. BackgroundImageLayout, BackgroundImageLayoutChanged,
  3366. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  3367. add IBindableComponent and IDropTarget implementation.
  3368. * MonthCalendar.cs:
  3369. - Added all missing 2.0 features:
  3370. BackgroundImageLayout, RightToLeftLayout,
  3371. OnHandleDestroyed, RightToLeftLayoutChanged,
  3372. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  3373. PaddingChanged.
  3374. - Rewrote all the BoldDate code, it was completely broken.
  3375. - Fixed all the tests (the tests can now be re-enabled, the
  3376. problems were not with the tests, but with the control, it was
  3377. mostly broken).
  3378. * DateTimePicker.cs: Changed the location where the
  3379. MonthCalendar is shown.
  3380. 2006-12-19 Chris Toshok <[email protected]>
  3381. * DataGridView.cs: add IDropTarget implementation.
  3382. * ToolStripPanel.cs: add IDropTarget implementation.
  3383. 2006-12-19 Jackson Harper <[email protected]>
  3384. * TextControl.cs: soft now means something different than what it
  3385. used to mean, we want to move the caret regardless of whether or
  3386. not this break was soft (would we really have wanted the caret
  3387. to not move with the break in the old context?)
  3388. * TreeView.cs: Make sure we factor in the vert scrollbar when
  3389. calculating the horizontal scrollbar's maximum.
  3390. 2006-12-19 Andreia Gaita <[email protected]>
  3391. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  3392. check for keywords in alternate casing, close bug #80049.
  3393. 2006-12-19 Chris Toshok <[email protected]>
  3394. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  3395. methods (which all do nothing).
  3396. * IDropTarget.cs: add the 4 missing methods.
  3397. 2006-12-19 Chris Toshok <[email protected]>
  3398. * TableLayoutRowStyleCollection.cs: corcompare work.
  3399. * TableLayoutSettings.cs: same.
  3400. * TableLayoutStyle.cs: same.
  3401. * TableLayoutColumnStyleCollection.cs: same.
  3402. 2006-12-19 Jonathan Pobst <[email protected]>
  3403. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  3404. TableLayoutPanel I've had in my local tree for way too long.
  3405. 2006-12-19 Miguel de Icaza <[email protected]>
  3406. * TableLayoutSettings.cs: Finish the public API (still needs all
  3407. the logic to update on changes).
  3408. * TableLayoutPanelCellPosition.cs: new file.
  3409. * TableLayoutRowStyleCollection.cs,
  3410. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  3411. TableLayoutSettings.cs: Track the final 2.0 table api.
  3412. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3413. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  3414. and Image List 2.0 members for ColummnHeader.
  3415. * ListView.cs: Add key-related 2.0 methods for
  3416. ColumnHeaderCollection.
  3417. 2006-12-19 Gert Driesen <[email protected]>
  3418. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  3419. ArgumentNullException if items argument is null. Ignore null item in
  3420. arrays. Removed extra tabs.
  3421. 2006-12-19 Gert Driesen <[email protected]>
  3422. * MonthCalendar.cs: Fixed InvalidCastException.
  3423. 2006-12-19 Jackson Harper <[email protected]>
  3424. * TextControl.cs: Don't increment the position here.
  3425. - When calculating char positions only add in the line break size
  3426. for hard line breaks.
  3427. 2006-12-19 Andreia Gaita <[email protected]>
  3428. * SendKeys.cs: Changed some things to match ms.net behaviour
  3429. when parsing shifted capital letters.
  3430. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  3431. Add window handle as parameter to SendInput. X11 needs the
  3432. window handle, and the handle being passed to it in the keys
  3433. queue is the active control handle (which windows needs), not
  3434. the window handle.
  3435. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  3436. to support SendKeys on X.
  3437. * X11Keyboard: Implement helper method to lookup a linux keycode
  3438. given the virtual keycode. Added table of keycode-2-virtualkey
  3439. values to support this.
  3440. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3441. * ListView.cs: Add support for SelectedIndexCollection
  3442. and SelectedItemCollection 2.0 methods. Implement support
  3443. for ImageKey too.
  3444. * ListViewItem.cs: Add support for ListViewSubItemCollection
  3445. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  3446. (it shouldn't call Clear).
  3447. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  3448. 2006-12-19 Jackson Harper <[email protected]>
  3449. * RichTextBox.cs:
  3450. * TextBoxBase.cs: New args for FormatText
  3451. * TextControl.cs: Rewrote the main drawing method, this version
  3452. feels a little easier to understand and debug to me. Hopefully it
  3453. does to others also
  3454. - Fix FormatText to OR in the new formating values. Added
  3455. FormatSpecified param, basically this works in the same way as
  3456. BoundsSpecified in Control.
  3457. - Set the caret properties when the caret is positioned.
  3458. - When wrapping text make sure that we calculate the width of the
  3459. last character
  3460. - when calculating alignments we might have wrapped down to the
  3461. next line, so don't search for an individual tag, search for the
  3462. end of the line
  3463. - We need to invalidate the selection area when we replace the
  3464. selection.
  3465. 2006-12-19 Daniel Nauck <[email protected]>
  3466. * Application.cs: add Restart () 2.0 support
  3467. 2006-12-18 Everaldo Canuto <[email protected]>
  3468. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  3469. property. Fixes #80268.
  3470. 2006-12-18 Everaldo Canuto <[email protected]>
  3471. * MenuAPI.cs: Dont trigger select event when closes top menu
  3472. item. Fixes #80270.
  3473. 2006-12-18 Everaldo Canuto <[email protected]>
  3474. * MenuAPI.cs: When you click on menuitem only trigger onselect
  3475. event for top menu itens. Fixes #80271.
  3476. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  3477. * MdiWindowManager.cs: Make IconicBounds depend on
  3478. the bottom of MdiClient, not the top (fixes #80267)
  3479. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  3480. * MdiClient.cs: Added missing 2.0 attribute
  3481. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  3482. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  3483. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  3484. 2006-12-18 Everaldo Canuto <[email protected]>
  3485. * MenuAPI.cs: Fix click when menuitem is not popup,
  3486. this regression was caused by last commit (#80272).
  3487. 2006-12-17 Everaldo Canuto <[email protected]>
  3488. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  3489. fire click event or close menu. Fixes #80272.
  3490. 2006-12-17 Daniel Nauck <[email protected]>
  3491. * ListViewHitTestInfo.cs: add
  3492. 2006-12-17 Daniel Nauck <[email protected]>
  3493. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  3494. * FlatButtonAppearance.cs: add
  3495. * DockingAttribute.cs: add
  3496. 2006-12-17 Chris Toshok <[email protected]>
  3497. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  3498. and rebind our columns when it does - this way, if you make
  3499. changes to the DataTable (or set the Table attribute on a DataView
  3500. after setting it as the DataGrid's DataSource, the changes are
  3501. made visible.) Fixes bug #80107.
  3502. 2006-12-17 Daniel Nauck <[email protected]>
  3503. * ListViewGroup.cs: add internal Location property for layouting.
  3504. * Theme.cs: add abstract ListViewGroupHeight function.
  3505. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  3506. 2006-12-16 Andreia Gaita <[email protected]>
  3507. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  3508. Added reset of selected index to 0 when adding first tab page.
  3509. Fixes #80264
  3510. * NumericUpDown.cs: Fix NET_2_0 check
  3511. 2006-12-16 Daniel Nauck <[email protected]>
  3512. * ListViewGroup.cs: fixed DefaultValueAttribute value
  3513. 2006-12-16 Daniel Nauck <[email protected]>
  3514. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  3515. 2006-12-15 Miguel de Icaza <[email protected]>
  3516. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  3517. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  3518. ScrollableControl.cs: Add a handful of methods that are
  3519. overwritten in 2.0
  3520. 2006-12-15 Chris Toshok <[email protected]>
  3521. * XplatUIWin32.cs: initial implementation of the Reversible
  3522. drawing functions. there are some problems. DrawReversibleFrame
  3523. doesn't seem to work at all for Dashed FrameStyle, and in the
  3524. Thick case there are drawing errors at the corners (we probably
  3525. need to bind Rectangle instead of doing moveto/lineto's.)
  3526. 2006-12-16 Andreia Gaita <[email protected]>
  3527. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  3528. to send blocks of key messages. Send accumulates keys to send with Flush,
  3529. while SendWait sends all keys immediately.
  3530. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3531. XplatUIX11.cs, XplatUIX11-new.cs:
  3532. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  3533. to Win32 SendInput.
  3534. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  3535. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  3536. testing for ms.net on this class is very tricky, as the tests run too fast
  3537. to allow the hook to release, essentially freezing the keyboard and the
  3538. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  3539. category :p
  3540. 2006-12-16 Daniel Nauck <[email protected]>
  3541. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  3542. added missing attributes.
  3543. 2006-12-15 Daniel Nauck <[email protected]>
  3544. * ListViewGroup.cs: Added missing attributes.
  3545. * ListViewGroupCollection.cs: Added missing attributes.
  3546. 2006-12-15 Daniel Nauck <[email protected]>
  3547. * ListViewItem.cs: fixed ListViewSubItem text property.
  3548. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3549. * Control.cs: Added missing 2.0 attributes
  3550. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3551. * MdiClient.cs: Added missing 2.0 attribute.
  3552. * MonthCalendar.cs: Added some missing 2.0 attributes
  3553. and properties.
  3554. 2006-12-15 Daniel Nauck <[email protected]>
  3555. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  3556. 2006-12-15 Jonathan Pobst <[email protected]>
  3557. * MainMenu.cs: Add the new 2.0 constructor to help out people
  3558. using the MainMenu in VS2005.
  3559. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3560. * MdiChildContext.cs: Removed it, no longer used.
  3561. * MdiClient.cs: Added missing 2.0 attributes.
  3562. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3563. * InternalWindowManager.cs: Fix a NullRef with previous
  3564. changes for toolwindows.
  3565. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3566. * Control.cs:
  3567. - Added AfterTopMostControl to allow for certain controls
  3568. to always stay on top when normal controls are brought to
  3569. front.
  3570. * XplatUIWin32.cs:
  3571. - (DrawInversibleRectangle): Get window rectangle from Win32
  3572. in stead of from control, since Win32 doesn't calculate
  3573. screen coords correctly from control's Location if it
  3574. have docked siblings.
  3575. * MdiWindowManager.cs:
  3576. - Correct the control menu popup location when clicked on
  3577. the maximized form icon. (fixes #80223.1)
  3578. - Don't show moving rectangle if mouse hasn't moved from
  3579. the original clicked point.
  3580. - Removed FormGotFocus handler (not used).
  3581. - Calculate the control buttons location from the main
  3582. window's size and not client size (fixes #79770).
  3583. - Form is now closed when the form icon is double-clicked
  3584. (fixes #79775).
  3585. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  3586. * InternalWindowManager.cs:
  3587. - Moved some MDI-only methods to MdiWindowManager.
  3588. - Removed unused properties and methods.
  3589. - Unified method naming for methods handling wm messages.
  3590. - Moved all message handling to seperate methods for
  3591. each message.
  3592. * ThemeWin32Classic.cs:
  3593. - DrawManagedWindowDecorations now draws the title bar
  3594. with a gradient brush.
  3595. - Add a CPDrawButtonInternal that allows us to specify
  3596. light, normal and dark colors for the buttons (control
  3597. buttons for MDI children were drawn with the same light
  3598. color as the background, therefore loosing the 3D effect).
  3599. * SizeGrip.cs:
  3600. - Add a CapturedControl property that is used to
  3601. determine the control to resize (defaults to parent).
  3602. Needed for MdiClient, since its SizeGrip's parent is
  3603. MdiClient, but the control to resize is the main form.
  3604. * MdiClient.cs:
  3605. - Set SizeGrip's CapturedControl to the main form in order
  3606. to resize the main form and not the MdiClient.
  3607. - Override AfterTopMostControl to leave the scrollbars
  3608. always on top.
  3609. 2006-12-15 Daniel Nauck <[email protected]>
  3610. * ListView.cs: fixed ListViewItemCollection AddRange and
  3611. implemented ListViewItemCollection AddRange 2.0 support.
  3612. 2006-12-15 Daniel Nauck <[email protected]>
  3613. * ListViewGroup.cs: Add.
  3614. * ListViewGroupCollection.cs: Add
  3615. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  3616. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  3617. stub for ImageKey 2.0 support.
  3618. 2006-12-14 Mike Kestner <[email protected]>
  3619. * ListView.cs: add text padding to the autocalculation for columns
  3620. of width -2. Fixes #80207.
  3621. 2006-12-14 Mike Kestner <[email protected]>
  3622. * ListView.cs: add some index guarding for partial row navigation
  3623. logic. Fixes #80250.
  3624. 2006-12-14 Mike Kestner <[email protected]>
  3625. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  3626. are added or inserted to the collection. Fixes #81099.
  3627. 2006-12-13 Everaldo Canuto <[email protected]>
  3628. * MenuAPI.cs: Closes menu when right click out side of popup
  3629. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  3630. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  3631. * ListViewItem.cs: Fix dumb error.
  3632. * ListView.cs: Add Find and ContainsKey methods in
  3633. ListViewItemCollection, and also return true for IsReadOnly
  3634. and IsFixedSize (changes for 2.0).
  3635. 2006-12-13 Gert Driesen <[email protected]>
  3636. * Control.cs: Allow Region to be set to null.
  3637. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  3638. * MdiWindowManager.cs: Remove unused (commented out) code.
  3639. * Form.cs: When the MdiChild is maximized, the form needs
  3640. WM_NCMOUSELEAVE, so request it.
  3641. * InternalWindowManager.cs:
  3642. - Added tooltips to control buttons.
  3643. - Removed duplicated control button handling code.
  3644. - Removed unused (commented out) code.
  3645. 2006-12-12 Everaldo Canuto <[email protected]>
  3646. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  3647. was used because we must set cursor without trigger ChangeCursor event
  3648. and without change Cursor control property. Fixes #79963.
  3649. 2006-12-12 Andreia Gaita <[email protected]>
  3650. * Control.cs: Check if Region setter value is null, and ignore
  3651. 2006-12-12 Jackson Harper <[email protected]>
  3652. * TextControl.cs: We were almost always drawing one more line then
  3653. needed, since the GetLineByPixel will return the last line found
  3654. at that pixel. In most cases though, we were invalidating up to
  3655. the junction between two lines.
  3656. - Improve debug code.
  3657. 2006-12-12 Chris Toshok <[email protected]>
  3658. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  3659. and FillReversibleRectangle.
  3660. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  3661. and FillReversibleRectangle.
  3662. * XplatUIWin32.cs: add stubs which do nothing for
  3663. DrawReversibleFrame, DrawReversibleLine, and
  3664. FillReversibleRectangle.
  3665. * XplatUIOSX.cs: add stubs which raise NIE for
  3666. DrawReversibleFrame, DrawReversibleLine, and
  3667. FillReversibleRectangle.
  3668. * XplatUIX11.cs: add working implementation for
  3669. DrawReversibleFrame, DrawReversibleLine, and
  3670. FillReversibleRectangle.
  3671. * ControlPaint.cs: implement DrawReversibleFrame,
  3672. DrawReversibleLine, and FillReversibleRectangle, by calling into
  3673. the appropriate XplatUI method.
  3674. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3675. * Form.cs: Make MdiClient have the focus even if it's
  3676. not selectable, since it should receive WM_KEY* and WM_MOUSE
  3677. messages. Fixes #79907.
  3678. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3679. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  3680. queried after the window is created.
  3681. * XplatUIX11.cs: Added SendParentNotify to implement
  3682. WM_PARENTNOTIFY logic. Fixes #79965.
  3683. * Control.cs: Added MakeParam.
  3684. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3685. * MdiClient.cs: Resume Layout before setting window
  3686. states (fixes #80201).
  3687. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3688. * MenuAPI.cs: Deselect a menu item after performing
  3689. the click (fixes #80197).
  3690. 2006-12-11 Jackson Harper <[email protected]>
  3691. * TextBoxBase.cs: We need to cap this value, since Maximum -
  3692. ViewPortHeight can be less than zero.
  3693. - Only do selection with the left mouse button.
  3694. * TextBox.cs: Don't tell the world that we have a context menu.
  3695. * Control.cs: New method so that we can control whether or not the
  3696. context menu is visible outside MWF.
  3697. 2006-12-11 Everaldo Canuto <[email protected]>
  3698. * ToolBarButton.cs: Fix text positon.
  3699. 2006-12-11 Miguel de Icaza <[email protected]>
  3700. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  3701. * Control.cs (DoubleBuffered): Add implementation.
  3702. * Application.cs (OpenForms): Add.
  3703. 2006-12-11 Jonathan Pobst <[email protected]>
  3704. * Form.cs: Use opacity instead of Opactiy to determine if we need
  3705. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  3706. 2006-12-11 Jonathan Pobst <[email protected]>
  3707. * Control.cs: Fix NRE if Control.Site was set to null.
  3708. 2006-12-11 Chris Toshok <[email protected]>
  3709. * Control.cs: ControlCollection.Remove should return if the arg is
  3710. null, and ControlCollection.SetChildIndex should raise a ANE.
  3711. 2006-12-11 Gert Driesen <[email protected]>
  3712. * Control.cs: Verify value set for Dock property. Code formatting
  3713. updates.
  3714. 2006-12-11 Jackson Harper <[email protected]>
  3715. * TextControl.cs: Draw the caret and the selection when a flag is
  3716. set on the owner.
  3717. * TextBoxBase.cs: We want to draw the caret and the selection for
  3718. TextBox but not for TextBoxBase.
  3719. - If the window is resized and scrolling is no longer needed (the
  3720. whole doc is visible) set the scroll position to zero.
  3721. - The default SelectWord (the one TextBox uses) should move the
  3722. caret to the end of the word.
  3723. - SelectAll moves the caret to the end of the selection.
  3724. * TextBox.cs: We don't selectall on focus, we just do it when the
  3725. control is created.
  3726. 2006-12-11 Mike Kestner <[email protected]>
  3727. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  3728. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  3729. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  3730. 2.0 support.
  3731. * ListViewItem.cs: Add Name 2.0 property.
  3732. 2006-12-11 Andreia Gaita <[email protected]>
  3733. * TabControl.cs: Set visibility on selected or default tab
  3734. when tabcontrol handle is created, so that it's contents
  3735. actually show up (duh). Fixes #80193
  3736. Don't redraw the control if there is no handle created, as
  3737. the selected index might be completely invalid. Added some tests
  3738. to check for this.
  3739. 2006-12-11 Everaldo Canuto <[email protected]>
  3740. * ToolBar.cs: Uses maximun width and height of all buttons as
  3741. button rectangle when ButtonSize specified, it looks strange but
  3742. is what happens in Win32. Fixes #80189.
  3743. 2006-12-11 Jackson Harper <[email protected]>
  3744. * TextControl.cs: Need to track undo levels ourself, since
  3745. compound actions will mess them up.
  3746. 2006-12-10 Andreia Gaita <[email protected]>
  3747. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  3748. SelectedIndex value is changed (even if it's not valid).
  3749. Reset SelectedIndex to 0 when the handle is created and if
  3750. the current index is invalid.
  3751. Fixes SelectdeIndex unit tests and #80128
  3752. 2006-12-08 Chris Toshok <[email protected]>
  3753. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  3754. calls EndEdit, it needs to be called before we set current_cell to
  3755. its new value. Otherwise, we end up committing the value in the
  3756. textbox to the new cell as well. Fixes bug #80160.
  3757. 2006-12-08 Chris Toshok <[email protected]>
  3758. * Form.cs (set_CancelButton): if the button's DialogResult is
  3759. None, set it to Cancel. Fixes bug 80180.
  3760. 2006-12-08 Jackson Harper <[email protected]>
  3761. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  3762. to watch ourselves when setting the canvas size and setting the
  3763. scrollbar values.
  3764. 2006-12-08 Chris Toshok <[email protected]>
  3765. * DataGrid.cs: comment out the two MakeTransparent calls for the
  3766. time being so people using trunk (and not 1.2.2) on windows can
  3767. actually use the datagrid. This deals with bug #80151.
  3768. 2006-12-08 Jonathan Pobst <[email protected]>
  3769. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  3770. Graphics.DrawImage (image, int, int, int, int) overload instead
  3771. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  3772. the dpi difference and was blurring images it drew.
  3773. [Fixes bug #79960]
  3774. 2006-12-08 Chris Toshok <[email protected]>
  3775. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  3776. rowcnt is 0 (such as with an empty datasource), and make sure we
  3777. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  3778. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  3779. 2006-12-08 Chris Toshok <[email protected]>
  3780. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  3781. grid.
  3782. 2006-12-08 Chris Toshok <[email protected]>
  3783. [ Fixes bug #80167 ]
  3784. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  3785. style is FlatStyle.System.
  3786. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  3787. ButtonBase.flat_style private, and switch uses of it to the public
  3788. property.
  3789. 2006-12-08 Chris Toshok <[email protected]>
  3790. [ Fixes bug #80121 ]
  3791. * ThemeWin32Classic.cs: center the caption text in the datagrid
  3792. when we draw it.
  3793. * DataGrid.cs: lessen the amount we add to the caption height from
  3794. 6 to 2. 6 was making it huge.
  3795. 2006-12-08 Andreia Gaita <[email protected]>
  3796. * UpDownBase: Handle MouseWheel call directly instead of capturing
  3797. the inner textbox's OnMouseWheel. Fixes #80166
  3798. 2006-12-08 Jackson Harper <[email protected]>
  3799. * TextControl.cs: We need to invalidate the textbox when we empty
  3800. it (how had this not been discovered before?)
  3801. 2006-12-08 Jackson Harper <[email protected]>
  3802. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  3803. to behave like MS, we now ignore the eventargs.Click and just
  3804. track state ourself, which we were already doing anyways.
  3805. - Constrain the double click handler to the double click size.
  3806. 2006-12-08 Chris Toshok <[email protected]>
  3807. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  3808. direction if that scrollbar isn't shown. fixes bug #80158.
  3809. 2006-12-08 Andreia Gaita <[email protected]>
  3810. * NumericUpDown.cs: Update value on getter. Fixes #79950
  3811. 2006-12-08 Chris Toshok <[email protected]>
  3812. * MenuItem.cs: add back in the event cloning code. I didn't know
  3813. how to do it in the face of the EventHandlerList work i'd done
  3814. last week. Fixes bug #80183.
  3815. 2006-12-08 Jonathan Pobst <[email protected]>
  3816. * Control.cs: Add an invalidate to the BackgroundImage setter.
  3817. [Fixes 80184]
  3818. 2006-12-07 Jonathan Pobst <[email protected]>
  3819. * ToolStrip*: Add some small properties reported by MoMA, fix event
  3820. firing and default properties based off of unit tests, and add some
  3821. attributes based off of the class status page.
  3822. 2006-12-07 Jackson Harper <[email protected]>
  3823. * TextBoxBase.cs: Take HideSelection into account when determining
  3824. whether or not to show the selection.
  3825. * RichTextBox.cs: After inserting the RTF into the document move
  3826. the cursor to the beginning of the document.
  3827. 2006-12-07 Jonathan Pobst <[email protected]>
  3828. * Control.cs: Remove static ArrayList "controls" which maintained
  3829. a reference to every control created.
  3830. * Application.cs: Create a static FormCollection to maintain a reference
  3831. to every form created. Use it in places that formerly enumerated through
  3832. the controls one looking for forms.
  3833. * Form.cs: Add and remove self from above FormCollection.
  3834. 2006-12-07 Alexander Olk <[email protected]>
  3835. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  3836. not libgdk (though it makes me wonder why I didn't have any
  3837. problems)
  3838. 2006-12-07 Chris Toshok <[email protected]>
  3839. [ you had to know this was coming after that last commit...]
  3840. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  3841. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  3842. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  3843. XCopyArea).
  3844. 2006-12-07 Chris Toshok <[email protected]>
  3845. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  3846. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  3847. all the behavior we need for double buffering.
  3848. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  3849. client side Bitmap, just like the old Control-based double buffer
  3850. code did. The methods are virtual, so each XplatUI driver
  3851. subclass can replace the implementation to use a faster, platform
  3852. specific approach.
  3853. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  3854. double buffer code, and clean things up a bit in the process.
  3855. 2006-12-06 Chris Toshok <[email protected]>
  3856. * Control.cs: reindent WndProc.
  3857. 2006-12-06 Chris Toshok <[email protected]>
  3858. [ I wanna be like BenM when I grow up ]
  3859. * Hwnd.cs: create a single static Graphics object on the static
  3860. Bitmap we create. use this for our text measurements.
  3861. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  3862. This was causing us to allocate a backbuffer for every control,
  3863. even when it wasn't flagged as double buffered. Instead use the
  3864. single graphics instance. This might have implications for
  3865. multithreaded applications. If we run into problems we can switch
  3866. to creating 1 Graphics per control, on the static Hwnd bitmap.
  3867. this change nets us a 7M savings in private dirty mappings when
  3868. running FormsTest.exe.
  3869. 2006-12-06 Chris Toshok <[email protected]>
  3870. * ListView.cs: the BackgroundImage override is just to set
  3871. attributes. chain up to base.BackgroundImage.
  3872. * RichTextBox.cs: same.
  3873. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  3874. changes, so instead a handler for BackgroundImageChanged.
  3875. * Control.cs: make background_image private.
  3876. 2006-12-06 Chris Toshok <[email protected]>
  3877. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  3878. sure we even need this assignment, but roll with it for now.
  3879. * Control.cs: make the cursor field private.
  3880. 2006-12-06 Chris Toshok <[email protected]>
  3881. * Form.cs: we don't need to explicitly set ImeMode to
  3882. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  3883. behavior in the face of ImeMode.Inherit.
  3884. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  3885. change the ctor's assignment to use ImeMode instead of ime_mode.
  3886. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  3887. ImeModeInherit. Only check for the parent's imemode (and return
  3888. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  3889. This fixes the button unit test, which sets both ImeMode and
  3890. DefaultImeMode to ImeMode.Disable.
  3891. also make the ime_mode field private.
  3892. 2006-12-06 Chris Toshok <[email protected]>
  3893. * Control.cs: make control_style private.
  3894. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  3895. setting the styles to true, then setting them to false instead of
  3896. reverting to their previous values.
  3897. also, call SetStyle on the scrollbars instead of using
  3898. control_style directly.
  3899. 2006-12-06 Jonathan Pobst <[email protected]>
  3900. * FormCollection.cs: Implement. [2.0]
  3901. 2006-12-06 Chris Toshok <[email protected]>
  3902. * Control.cs: make tab_stop private.
  3903. * Label.cs: set TabStop, not tab_stop. reformat some event
  3904. add/remove methods to make them more compact.
  3905. 2006-12-06 Chris Toshok <[email protected]>
  3906. * RadioButton.cs: fix TabStop handling.
  3907. 2006-12-06 Chris Toshok <[email protected]>
  3908. * TextBox.cs: remove the explicit assignments to has_focus.
  3909. Control does that.
  3910. * ButtonBase.cs: remove the assignment to has_focus. Control will
  3911. manage that.
  3912. 2006-12-06 Chris Toshok <[email protected]>
  3913. * ButtonBase.cs: remove all uses of is_enabled from this code.
  3914. it's always true when any of the code containing the checks is
  3915. executed.
  3916. 2006-12-06 Chris Toshok <[email protected]>
  3917. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  3918. with different semantics (some are present in both 1.1 and 2.0
  3919. profiles) so that we match MS's behavior in our unit tests.
  3920. 2006-12-06 Jackson Harper <[email protected]>
  3921. * TextControl.cs: Make this operation undoable.
  3922. * TextBoxBase.cs: Factor the border width into the preferred
  3923. height.
  3924. - implement Modified as per the spec.
  3925. 2006-12-06 Chris Toshok <[email protected]>
  3926. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  3927. 2006-12-06 Chris Toshok <[email protected]>
  3928. * Control.cs: make right_to_left and context_menu fields private.
  3929. 2006-12-06 Chris Toshok <[email protected]>
  3930. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  3931. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  3932. Control.child_controls private. switch all uses over to
  3933. Control.Controls.
  3934. 2006-12-06 Chris Toshok <[email protected]>
  3935. * System.Windows.Forms/GroupBox.cs,
  3936. System.Windows.Forms/AccessibleObject.cs,
  3937. System.Windows.Forms/ErrorProvider.cs,
  3938. System.Windows.Forms/Control.cs,
  3939. System.Windows.Forms/UpDownBase.cs,
  3940. System.Windows.Forms/ScrollBar.cs,
  3941. System.Windows.Forms/DateTimePicker.cs,
  3942. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  3943. System.Windows.Forms/ToolTip.cs,
  3944. System.Windows.Forms/RadioButton.cs,
  3945. System.Windows.Forms/LinkLabel.cs,
  3946. System.Windows.Forms/Splitter.cs,
  3947. System.Windows.Forms/TextBoxBase.cs,
  3948. System.Windows.Forms/ToolStripTextBox.cs,
  3949. System.Windows.Forms/ContainerControl.cs,
  3950. System.Windows.Forms/ThemeWin32Classic.cs,
  3951. System.Windows.Forms/SizeGrip.cs,
  3952. System.Windows.Forms/ToolStripDropDown.cs,
  3953. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  3954. private. switch all uses over to Control.Parent.
  3955. 2006-12-06 Chris Toshok <[email protected]>
  3956. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  3957. Control does this before calling emitting these events.
  3958. * TabControl.cs: same.
  3959. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  3960. Control.client_rect.
  3961. * ButtonBase.cs: use the ClientSize property instead of the
  3962. client_size field.
  3963. * ScrollableControl.cs: same.
  3964. * Control.cs: another pass at making properties private. also,
  3965. move the initialization of tab_stop to the ctor.
  3966. 2006-12-05 Andreia Gaita <[email protected]>
  3967. * TabControl.cs: Let the selected index be set freely if the
  3968. control handle is not yet created.
  3969. 2006-12-05 Jonathan Pobst <[email protected]>
  3970. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  3971. internal until I can rewrite DefaultLayout.
  3972. * ToolStrip.cs: Fix build error and some general cleaning.
  3973. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  3974. Fix build errors caused by making some of Control's fields private.
  3975. 2006-12-05 Jackson Harper <[email protected]>
  3976. * TextControl.cs: Redo Insert a little so that it use IndexOf
  3977. instead of Split, this prevents it from messing up on things like
  3978. \n\n\n. Also more effecient since the split array doesn't need to
  3979. be created.
  3980. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  3981. multiline text differently, this is the first of many fixes that
  3982. will make multiline/non-multiline the same thing as far as the
  3983. TextBoxBase is concerned.
  3984. - Don't split the text and insert lines, this can lose some line
  3985. endings (like is the last line a soft or hard break). Instead use
  3986. the new Insert.
  3987. - Fix an off by one when combining all the lines in the Text
  3988. getter.
  3989. - Remove separate multiline handling from the Text getter/setter.
  3990. 2006-12-05 Chris Toshok <[email protected]>
  3991. * ButtonBase.cs: a few changes:
  3992. - don't reinitialize internal Control fields in the ctor when they
  3993. have the same values as Control sets them.
  3994. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  3995. this before calling those methods.
  3996. - we don't need to call Refresh for anything. use Invalidate
  3997. instead.
  3998. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  3999. calls Refresh in its OnEnabledChanged.
  4000. - several of the events we were registered for in the ctor to
  4001. redraw ourselves already include calls to Invalidate in the
  4002. property setters that raise the events. remove the extra
  4003. invalidation.
  4004. - reformat a switch statement that was 83274658 columns wide.
  4005. 2006-12-05 Mike Kestner <[email protected]>
  4006. * ComboBox.cs: fix a unit test regression from a TextBox
  4007. SelectionLength return of -1 when there's no selection.
  4008. 2006-12-05 Chris Toshok <[email protected]>
  4009. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  4010. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  4011. cleaning up some of the internal Control fields being used by
  4012. subclasses.
  4013. 2006-12-05 Mike Kestner <[email protected]>
  4014. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  4015. listbox after AddImplicit calls since it defaults to hidden. Add a
  4016. hack to preserve requested heights across DropDownStyle changes.
  4017. 2006-12-05 Jonathan Pobst <[email protected]>
  4018. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  4019. 2006-12-05 Chris Toshok <[email protected]>
  4020. * DataGridView.cs: fix compiler warnings.
  4021. * PrintControllerWithStatusDialog.cs: same.
  4022. * ToolBar.cs: same.
  4023. * FolderBrowserDialog.cs: same.
  4024. * Splitter.cs: same.
  4025. * DataGridViewComboBoxCell.cs: same.
  4026. * XplatUIWin32.cs: same.
  4027. * PictureBox.cs: same.
  4028. * Win32DnD.cs: same.
  4029. * PageSetupDialog.cs: same.
  4030. * FileDialog.cs: same.
  4031. * PrintDialog.cs: same.
  4032. * DataGridTextBoxColumn.cs: same.
  4033. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  4034. 2006-12-05 Chris Toshok <[email protected]>
  4035. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  4036. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  4037. System.ComponentModel.EventHandlerList work.
  4038. 2006-12-05 Jonathan Chambers <[email protected]>
  4039. * DrawTreeNodeEventArgs.cs: Added.
  4040. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4041. * InternalWindowManager.cs: Remove an unused field.
  4042. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4043. * InternalWindowManager.cs:
  4044. - Save the point where the title bar is clicked.
  4045. * MdiWindowManager.cs:
  4046. - Only allow moving of the window as long as the
  4047. clicked point on the title bar does not get out of
  4048. MdiClient's rectangle. Fixes #79982.
  4049. * MdiClient.cs:
  4050. - Added Horizontal/VerticalScrollbarVisible.
  4051. - Simplified the scrollbar sizing algorithm.
  4052. - Cache the difference in scrolled value in
  4053. H/VBarValueChanged and move the calculation out
  4054. of the for loop.
  4055. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4056. * Control.cs: Make the Console.WriteLine in WndProc
  4057. write more info.
  4058. 2006-12-05 Chris Toshok <[email protected]>
  4059. * ToolStripManager.cs, ToolStripButton.cs,
  4060. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  4061. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  4062. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  4063. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  4064. ToolStripProgressBar.cs, ToolStripContainer.cs,
  4065. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  4066. to using System.ComponentModel.EventHandlerList.
  4067. 2006-12-04 Chris Toshok <[email protected]>
  4068. * LinkLabel.cs: fix up compiler warnings.
  4069. * TableLayoutSettings.cs: same.
  4070. * TreeView.cs: same.
  4071. * ToolBar.cs: same.
  4072. * TabControl.cs: same.
  4073. * RichTextBox.cs: same.
  4074. * ListViewItem.cs: same.
  4075. * PropertyGrid.cs: same.
  4076. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  4077. * ToolTip.cs same.
  4078. * TextRenderer.cs: fix up compiler warnings.
  4079. * Label.cs: same.
  4080. * Form.cs: corcompare fixes.
  4081. * PictureBox.cs: fix up compiler warnings.
  4082. * ImageListStreamer.cs: same.
  4083. * TrackBar.cs: corcompare fix.
  4084. * Control.cs: fix up compiler warnings.
  4085. * SplitterPanel.cs: same.
  4086. * NumericTextBox.cs: same.
  4087. * ImageList.cs: same.
  4088. * StatusStrip.cs: same.
  4089. * ProgressBar.cs: corcompare fix.
  4090. * ToolStripButton.cs: fix up compiler warnings.
  4091. * ToolStripStatusLabel.cs: same.
  4092. * ToolStripSplitButton.cs: same.
  4093. * ToolStripSeparator.cs: same.
  4094. * ToolStripProgressBar.cs: same.
  4095. * ToolStripDropDownMenu.cs: same
  4096. * ToolStripDropDown.cs: same.
  4097. * ToolStripDropDownButton.cs: same.
  4098. * ToolStrip.cs: same.
  4099. * ToolStripControlHost.cs: same.
  4100. * ToolStripContentPanel.cs: same.
  4101. * ToolStripDropDown.cs: same.
  4102. * ToolStripContainer.cs: same.
  4103. * ToolStripPanel.cs: same, and add "new" where we need it to work
  4104. with the new ArrangedElementCollection.
  4105. * ToolStripItemCollection.cs: add "new" where we need it to work
  4106. with the new ArrangedElementCollection.
  4107. 2006-12-04 Andreia Gaita <[email protected]>
  4108. * TabControl.cs: Fix default tab selection to after TabControl
  4109. gets focus and not before. Fixes #80128
  4110. 2006-12-04 Chris Toshok <[email protected]>
  4111. * DataGridTableStyle.cs: remove the gross calling of
  4112. datagrid.Refresh from here. It's a broken idea and it doesn't
  4113. work anyway.
  4114. * DataGrid.cs: instead, just register/unregister from the
  4115. DataGridTableStyle events in CurrentTableStyle. we play it
  4116. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  4117. even though some would most likely not require it. Fixes bug
  4118. #80115 (and one portion of #80117 as a side effect).
  4119. 2006-12-04 Chris Toshok <[email protected]>
  4120. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  4121. so the textbox (if any) goes away. Fixes bug #80117.
  4122. 2006-12-04 Chris Toshok <[email protected]>
  4123. * DataGridColumnStyle.cs: set the column's readonly property
  4124. initially based on the property descriptor's IsReadOnly. Fixes
  4125. bug #80044.
  4126. 2006-12-04 Chris Toshok <[email protected]>
  4127. * ComboBox.cs: wrap the dropdown style changing work in
  4128. SuspendLayout/ResumeLayout. Fixes bug #79968.
  4129. 2006-12-04 Jackson Harper <[email protected]>
  4130. * TextBoxBase.cs: Fix off by one, since these are one-based.
  4131. * TextBox.cs: Select all the text when we get focus. The TextBox
  4132. does this but the RTB does not.
  4133. 2006-12-04 Chris Toshok <[email protected]>
  4134. * DataGridTextBoxColumn.cs: remove some spew.
  4135. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  4136. but some part of me is saying "it shouldn't be here.." At any
  4137. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  4138. setting the value.
  4139. 2006-12-04 Chris Toshok <[email protected]>
  4140. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  4141. to reassign the propertydescriptor.
  4142. 2006-12-04 Jackson Harper <[email protected]>
  4143. * TextBoxBase.cs:
  4144. * TextControl.cs: Remove some unused variables. Maybe this will
  4145. patch things up between mike and I.
  4146. - don't split lines less then one char wide, if the viewport is
  4147. that small text won't be visible anyways.
  4148. 2006-12-04 Jackson Harper <[email protected]>
  4149. * TextBoxBase.cs: Default selection length is -1, need to do some
  4150. more testing on windows to see when this is used for the property.
  4151. - Redid the Lines [] property to that we properly remove soft line
  4152. breaks
  4153. - added support for preserving carriage returns
  4154. - CanUndo is not a variable like 'is undo enabled' it just returns
  4155. true if there is undo operations available.
  4156. - AppendText doesn't need to grab the last tag itself anymore,
  4157. this happens automatically when we move the cursor.
  4158. * TextControl.cs: Add CompoundActions to the undo class. This
  4159. allows combining the other operations into one big option. ie a
  4160. paste will combine { delete old, insert new, move cursor }
  4161. - Add InsertString undo operation
  4162. - New method for deleting multiline text
  4163. - Add carriage returns to lines. So we can preserve carriage
  4164. returns when text is 'roundtripped'
  4165. 2006-12-04 Chris Toshok <[email protected]>
  4166. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  4167. minimum 0. Fixes the scrollbar exception in bug #80136.
  4168. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4169. * MdiClient.cs:
  4170. * MdiWindowManager: Removed unused fields and methods.
  4171. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4172. * StatusBar.cs: Update all panels when a AutoSize=Contents
  4173. panel needs updating.
  4174. * StatusBarPanel.cs: Remove twidth and only use initialize.
  4175. Fixes #80031.
  4176. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4177. * Form.cs: When a form's MdiParent is set add it directly
  4178. on top of the z-order in stead of relying on MdiClient's
  4179. ActivateChild to do it. Fixes #80135.
  4180. * MdiClient.cs:
  4181. - Remove original_order, mdi_child_list is already doing
  4182. the same thing.
  4183. - Create mdi_child_list on construction in
  4184. stead of first use (avoids a few null checks).
  4185. * MenuItem.cs: Use an already existing list of mdi children
  4186. to get the correct order of children and remove the other
  4187. redundant list.
  4188. 2006-12-04 Chris Toshok <[email protected]>
  4189. * PropertyGridView.cs: cached_splitter_location is only used in
  4190. !DOUBLEBUFFER code.
  4191. * PropertyGrid.cs: implement the ComComponentNameChanged event
  4192. using Events, hoping that would fix the warning. Looks like a
  4193. compiler bug instead (#80144).
  4194. * PropertyManager.cs: remove unused method.
  4195. 2006-11-04 Everaldo Canuto <[email protected]>
  4196. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  4197. include parentesis to fix expression evaluation. Fixes #79634.
  4198. 2006-11-02 Everaldo Canuto <[email protected]>
  4199. * MenuAPI.cs:
  4200. - Changes to fix behavior in Menu control, some reported in #80097
  4201. and other detected during behavior refactory like a select event
  4202. problems.
  4203. - Remove unneded "if's" conditions.
  4204. - Created an internal to flag when popup is active in control, we need
  4205. it because in .NET you can have menu active but without popup active
  4206. when you active menu using popup without visible items.
  4207. - Mimic win32 behavior for Select and Popup events.
  4208. - Dont open popup menu when you dont have visible subitems.
  4209. - Do nothing when click on disabled menu item.
  4210. - Some small changes to follow the coding style guidelines.
  4211. - Unselect menu only when another control gives focus. Fixes #80097.
  4212. - Remove unused code.
  4213. * MenuItem.cs: internal VisibleItems method to check if menu
  4214. theres visible subitems, it will be usefull to fix some
  4215. behavior in Menu control.
  4216. 2006-11-01 Everaldo Canuto <[email protected]>
  4217. * Timer.cs: Tag property for 2.0 profile.
  4218. 2006-12-01 Chris Toshok <[email protected]>
  4219. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  4220. * Win32DnD.cs: comment out some unused fields.
  4221. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  4222. some unused properties/methods.
  4223. * XplatUIX11.cs: fix MousePosition so we override the base class's
  4224. property instead of conflicting with it.
  4225. * PictureBox.cs: comment out some unused fields
  4226. * OSXStructs.cs: make some struct fields public.
  4227. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  4228. MousePosition so we override the base class's property instead of
  4229. conflicting with it.
  4230. * X11Dnd.cs: comment out some unused fields
  4231. * X11DesktopColors.cs: fix some struct field visibility to quiet
  4232. the compiler.
  4233. * X11Dnd.cs: remove some debug code.
  4234. * ThemeClearlooks.cs: comment out unused field.
  4235. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  4236. * ThemeGtk.cs: comment out some unused pinvokes.
  4237. * Timer.cs: remove some unused fields.
  4238. * ThemeClearlooks.cs: comment out unused field.
  4239. * UpDownBase.cs: comment out unused field.
  4240. * DataObject.cs: comment out unused field.
  4241. * DataGridBoolColumn.cs: reomve unused field.
  4242. * DataGrid.cs: remove unused field.
  4243. * Cursor.cs: remove old ToBitmap code.
  4244. * ControlPaint.cs: remove unused method.
  4245. * ScrollBar.cs: remove unused fields.
  4246. * ComboBox.cs: remove unused field, and chain up to
  4247. AccessibleObject ctor.
  4248. * ListBox.cs: remove unused field.
  4249. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  4250. * GridEntry.cs: remove unused fields.
  4251. * Binding.cs: remove unused fields.
  4252. * AxHost.cs: remove unused method.
  4253. * ContainerControl.cs: remove unused field.
  4254. * ScrollableControl.cs: remove unused fields.
  4255. 2006-12-01 Chris Toshok <[email protected]>
  4256. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  4257. the Where/WhereString stuff. it's easy enough to CWL
  4258. Environment.StackTrace.
  4259. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  4260. unused private fields.
  4261. 2006-12-01 Jackson Harper <[email protected]>
  4262. * TextControl.cs: Do not update the view while inserting multiline
  4263. text. If we update the view we might wrap lines, before entering
  4264. the new lines, which causes the new line insertion calculations to
  4265. be totally fubared.
  4266. - Remove an old TODO
  4267. - Make debug output a little nicer
  4268. 2006-12-01 Chris Toshok <[email protected]>
  4269. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  4270. 2006-12-01 Chris Toshok <[email protected]>
  4271. [ fix the majority of the CS0108 warnings we've been suppressing ]
  4272. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  4273. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  4274. to "LayoutToolBar" to quiet mcs.
  4275. * TabControl.cs: mark our ControlCollection class as 'new'.
  4276. * TextBoxBase.cs: mark some events as 'new'.
  4277. * Splitter.cs: TabStop is 'new'.
  4278. * ControlBindingsCollection.cs: mark a few methods as new since
  4279. they change the visibility from protected to public.
  4280. * RadioButton.cs: DoubleClick -> base class, and remove unused
  4281. HaveDoubleClick.
  4282. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  4283. events as new.
  4284. * NumericUpDown.cs: TextChanged -> base class.
  4285. * CheckedListBox.cs: mark our ObjectCollection class as new to
  4286. quiet mcs.
  4287. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  4288. muck with the base class.
  4289. * StatusBar.cs: fix some mcs warnings about Update being the same
  4290. name as a base class method.
  4291. * RichTextBox.cs: mark some events as new, and make them do things
  4292. to the base class impl.
  4293. * UserControl.cs: mark TextChanged as new, and have it manipulate
  4294. base.TextChanged.
  4295. * UpDownBase.cs: mark some things new.
  4296. * CheckBox.cs: mark DoubleClick "new", and add some text about
  4297. what we need to look at.
  4298. * Panel.cs: make the events "new", and manipulate the base
  4299. version. these are just here for attributes.
  4300. * AccessibleObject.cs: make owner private.
  4301. * Control.cs: deal with AccessibleObject.owner being private.
  4302. cache our own copy if we need it.
  4303. * Button.cs: add "new" to the DoubleClickEvent.
  4304. * ListBox.cs: no need to track our own has_focus here. let
  4305. Control.has_focus do it for us. Also some other work to clear up
  4306. warnings about not overriding base class methods of the same name.
  4307. * ComboBox.cs: clear up some warnings about not override base
  4308. class methods of the same name.
  4309. 2006-12-01 Chris Toshok <[email protected]>
  4310. * Form.cs: flag a few things as "new" to quiet some of the mcs
  4311. warnings.
  4312. * AxHost.cs: same.
  4313. * PrintPreviewDialog.cs: same.
  4314. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  4315. now DGV isn't so horrible on the class status page. also, move
  4316. all events to using System.ComponentModel.EventHandlerList. my
  4317. wrists hurt.
  4318. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  4319. * MdiWindowManager.cs:
  4320. - Set form to active mdi child if shown,
  4321. and update the active mdi child to the next
  4322. remaining child in the z-order if the form is hidden.
  4323. * Form.cs:
  4324. - Track if the form has been visible and if its
  4325. visibility is beeing changed, so that the MdiClient
  4326. can properly decide the ActiveMdiChild. The MdiClient
  4327. cannot track this since the form can change visibility
  4328. before MdiClient is created.
  4329. * MdiClient.cs:
  4330. - Don't activate anything of the parent form is changing
  4331. its visibility.
  4332. - Rework ActiveMdiChild to only return visible mdi
  4333. children and take into account several other corner
  4334. cases.
  4335. 2006-12-01 Chris Toshok <[email protected]>
  4336. * IBindableComponent.cs: new 2.0 interface.
  4337. 2006-12-01 Gert Driesen <[email protected]>
  4338. * DataGrid.cs: Font for caption area is bold by default.
  4339. 2006-12-01 Everaldo Canuto <[email protected]>
  4340. * Menu.cs: Tag property for 2.0.
  4341. 2006-11-01 Everaldo Canuto <[email protected]>
  4342. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  4343. 2006-12-01 Chris Toshok <[email protected]>
  4344. * TreeView.cs: doh, the Begin* events should be
  4345. TreeViewCancelEventHandler.
  4346. 2006-12-01 Chris Toshok <[email protected]>
  4347. * Form.cs: Form.ControlCollection already stores off the
  4348. form_owner field. don't access the base class's internal "owner"
  4349. field.
  4350. * Control.cs: make all the fields in Control.ControlCollection
  4351. private. there's no need for any internal fields here.
  4352. 2006-12-01 Chris Toshok <[email protected]>
  4353. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  4354. OnHandleCreated. Fixes bug #80109.
  4355. 2006-12-01 Chris Toshok <[email protected]>
  4356. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  4357. SplitContainer.cs, Control.cs, StatusStrip.cs,
  4358. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  4359. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  4360. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  4361. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  4362. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  4363. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  4364. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  4365. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  4366. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  4367. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  4368. do most of the work to convert our code over to use
  4369. System.ComponentModel.Component.Events for
  4370. adding/removing/dispatching events.
  4371. 2006-11-30 Jonathan Pobst <[email protected]>
  4372. * DataGridView.cs: Fix an ArgumentNullException reported
  4373. twice today in IRC.
  4374. 2006-11-30 Mike Kestner <[email protected]>
  4375. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  4376. grabbed listbox. Fixes #80036 and #80101.
  4377. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4378. * Message.cs: Changed ToString() to match MS.
  4379. 2006-11-30 Jackson Harper <[email protected]>
  4380. * TextBoxBase.cs: You can still change the selected text on a read
  4381. only textbox.
  4382. * TextControl.cs: Lower magic number for wrap calculations. This
  4383. lets text get closer to the right (far) edge.
  4384. 2006-11-30 Jonathan Pobst <[email protected]>
  4385. * Control.cs: Tweak 2.0 layout properties.
  4386. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  4387. * TextRenderer.cs: Add a new overload.
  4388. * ToolStrip*: Huge amount of changes and new features.
  4389. 2006-11-30 Mike Kestner <[email protected]>
  4390. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  4391. scroll range correct. Fixes #79994.
  4392. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4393. * MdiWindowManager.cs: Update main form's text when
  4394. a form is closed. (fixes #80038)
  4395. 2006-11-30 Everaldo Canuto <[email protected]>
  4396. * ToolBar.cs:
  4397. - Fix an regression in ButtonSize.
  4398. - Get ImeMode default value change to "Disable".
  4399. - Get ShowTooltips default value change to true, default value is
  4400. "false" but after make a test in .NET we get "true" result as default.
  4401. 2006-11-29 Jonathan Pobst <[email protected]>
  4402. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  4403. 2006-11-29 Chris Toshok <[email protected]>
  4404. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  4405. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  4406. SetWindowTransparency hasn't been called.
  4407. 2006-11-29 Chris Toshok <[email protected]>
  4408. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  4409. if it's supported.
  4410. (set_AllowTransparency): reorder things a little so that the
  4411. WS_EX_LAYERED style is removed properly.
  4412. 2006-11-29 Chris Toshok <[email protected]>
  4413. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  4414. * Form.cs: only call the XplatUI transparency method (get/set) if
  4415. SupportsTransparency says it's supported. Otherwise fallback to
  4416. doing nothing (in the set case) or returning the instance field we
  4417. cache (in the get case).
  4418. * XplatUIStructs.cs: add TransparencySupport flag enum.
  4419. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  4420. change to SupportsTransparency.
  4421. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  4422. TransparencySupport.None from SupportsTransparency.
  4423. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  4424. TransparencySupport.Set from SupportsTransparency.
  4425. * XplatUIWin32.cs: implement GetWindowTransparency calling
  4426. GetLayeredWindowAttributes, and implement SupportsTransparency by
  4427. checking whether or not both
  4428. GetWindowTransparency/SetWindowTransparency are available
  4429. entrypoints. We need to do this since SetWindowTransparency is
  4430. available as of win2k, but GetWindowTransparency requires winxp.
  4431. yay win32 api.
  4432. * XplatUI.cs: Add GetWindowTransparency, and change
  4433. SupportsTransparency to allow for either/both Get/Set.
  4434. 2006-11-29 Chris Toshok <[email protected]>
  4435. * DataGrid.cs: keep from going into an infinite loop redrawing a
  4436. datagrid that has no datasource. Fixes bug #80033.
  4437. 2006-11-29 Chris Toshok <[email protected]>
  4438. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  4439. Invalidate) before the mainmenu has been assigned to a control.
  4440. 2006-11-29 Chris Toshok <[email protected]>
  4441. * DataGrid.cs: detect when we should be double the double click
  4442. row/column autosize stuff, although that codepath has yet to be
  4443. written. part of the work for bug #79891.
  4444. 2006-11-29 Chris Toshok <[email protected]>
  4445. * Binding.cs (SetControl): fix unit test.
  4446. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  4447. * PageSetupDialog.cs: Validate the margins and set them in
  4448. PageSettings.
  4449. * NumericTextBox.cs: New class to mimic the behavior of the
  4450. textboxes used in the printing dialogs.
  4451. 2006-11-29 Andreia Gaita <[email protected]>
  4452. * Form.cs: Revert previous change (remove call UpdateBounds
  4453. from form constructor), because it messes with the handle creation
  4454. order, and that one needs lots and lots of love.
  4455. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  4456. for valid printer and throw InvalidPrinterException if document
  4457. is set but printer not valid), adding a MonoTODO. Once
  4458. handle creation is done properly, we can put this back in.
  4459. 2006-11-28 Everaldo Canuto <[email protected]>
  4460. * MenuItem.cs: Create a invalidate method for menu item, to be
  4461. calling from set text, it make text changes to imadiate update
  4462. on screen. Fixes #80013.
  4463. 2006-11-28 Everaldo Canuto <[email protected]>
  4464. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  4465. fixes bug #80070 and some other problem on toolbar buttons
  4466. layout.
  4467. 2006-11-28 Everaldo Canuto <[email protected]>
  4468. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  4469. with dotted brush. Fixes #79564
  4470. 2006-11-28 Andreia Gaita <[email protected]>
  4471. * Form.cs: Removed call to UpdateBounds on Form
  4472. constructor, it was causing a call to CreateHandle
  4473. before it was supposed to.
  4474. * PrintControllerWithStatusDialog: Applied patch
  4475. by Chris Toshok to hide controller when there are
  4476. no printers available.
  4477. PrintDialog.cs: initialize printer settings to
  4478. null - correct DefaultValues test #5
  4479. * PrintPreviewControl.cs: Move PrintController
  4480. initialization to GeneratePreview
  4481. * PrintPreviewDialog.cs:
  4482. - Remove Preview generation from Document_set(). It is
  4483. called on OnPaint
  4484. - Throw InvalidPrinterException on CreateHandle if
  4485. a Document is set but there are no printers or
  4486. printer is not valid.
  4487. * ThemeWin32Classic: don't paint PrintPreviewControl
  4488. if there is nothing to paint
  4489. 2006-11-28 Miguel de Icaza <[email protected]>
  4490. * Form.cs: Add another popular method.
  4491. * TabPage.cs: ditto.
  4492. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4493. * MenuItem.cs: Fixed a warning.
  4494. * InternalWindowManager: Fixed a warning.
  4495. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4496. * MenuItem.cs:
  4497. - When cloning a menu also clone MdiList and clone the
  4498. window menu items properly (as the forms and menuitems
  4499. are kept in an internal hashtable, these need updating
  4500. as well)
  4501. - Rewrote the window menu code, menu items are added in the
  4502. order the forms were added to their parent, and they are
  4503. updated every time the window menu is shown (before the
  4504. list was only generated once, in the current order of the
  4505. forms, and would never be updated). A checkmark is shown
  4506. next to the item corresponding to the active mdi child.
  4507. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4508. * XplatUIStructs.cs:
  4509. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  4510. * XplatUIWin32.cs:
  4511. - Added TME_NONCLIENT to TMEFlags.
  4512. - Handles WM_NCMOUSEMOVE in GetMessage to
  4513. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  4514. * MdiWindowManager:
  4515. - Now merges mdi child menu to parent menu when maximized.
  4516. - Recalculate NC areas of both mdi child and mdi parent.
  4517. Fixes #79757 (4).
  4518. on window state and size changes.Fixes #79844 (3).
  4519. - Handle WM_NCCALCSIZE to properly calculate borders.
  4520. * Form.cs:
  4521. - Add/remove to the mdi containers list of mdi children
  4522. in the order they are added.
  4523. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  4524. to the maximized mdi child.
  4525. * InternalWindowManager.cs:
  4526. - Only execute a click on the control buttons on the mouse up,
  4527. not on the mouse down. Show the state of the button
  4528. (was only showing Normal state, never Pressed state). The
  4529. pressed button now follows the mouse (if you click the Close
  4530. button and move the mouse over the Maximize button, the
  4531. Maximize button will be shown as pressed). Since Win32 does
  4532. not generate WM_NCLBUTTONUP if you release the button outside
  4533. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  4534. it as a mouse up.
  4535. * ThemeWin32Classic.cs:
  4536. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  4537. * MdiClient.cs:
  4538. - Added a list of forms which contains the order the forms are
  4539. added to the mdi parent.
  4540. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  4541. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  4542. - If the active form changes set the scrollbars to the top
  4543. of the Z order, otherwise the form could hide them.
  4544. - Scrollbars are now sized according to ClientSize, not
  4545. to Size, and they take into account the other scrollbar
  4546. to determine maximum.
  4547. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4548. * XplatUI.cs:
  4549. * XplatUIDriver.cs:
  4550. * XplatUIX11.cs:
  4551. * XplatUIWin32.cs:
  4552. * XplatUIOSX.cs:
  4553. - Added RequestAdditionalWM_NCMessages for windows to
  4554. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  4555. Currently only implemented in XplatUIWin32.
  4556. 2006-11-27 Chris Toshok <[email protected]>
  4557. * Hwnd.cs: only add the hwnd to the windows hash in
  4558. set_WholeWindow and set_ClientWindow if whole_window/client_window
  4559. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  4560. 2006-11-27 Mike Kestner <[email protected]>
  4561. * ComboBox.cs: remove redundant OnDropDown call. It is called
  4562. from the ComboListBox.ShowWindow code. Fixes #79969.
  4563. 2006-11-27 Chris Toshok <[email protected]>
  4564. * Hwnd.cs: remove the setters for ExposePending and
  4565. NCExposePending - noone uses them.
  4566. 2006-11-27 Jackson Harper <[email protected]>
  4567. * TextControl.cs: new param for ReplaceSelection which determines
  4568. whether we select the new selection, or set the cursor to the end
  4569. of the new selection.
  4570. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  4571. pasting, select the new text.
  4572. * RichTextBox.cs: Use new param for ReplaceSelection.
  4573. 2006-11-27 Jackson Harper <[email protected]>
  4574. * TextBoxBase.cs: Set the selection to the caret after the caret
  4575. is moved, otherwise they get out of sync.
  4576. 2006-11-26 Everaldo Canuto <[email protected]>
  4577. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  4578. it fixes #80015
  4579. 2006-11-26 Everaldo Canuto <[email protected]>
  4580. * ThemeWin32Classic.cs:
  4581. - Fix toolbar drop down arrow position.
  4582. - Fix drop down appearance when ToolBar.Appearance is normal,
  4583. it fixes #80018.
  4584. 2006-11-26 Gert Driesen <[email protected]>
  4585. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  4586. * Control.cs: Same.
  4587. * UpDownBase.cs: Same.
  4588. * ButtonBase.cs: Same.
  4589. * ScrollBar.cs: Same.
  4590. * TrackBar.cs: Same.
  4591. * PictureBox.cs: Same.
  4592. * UserControl.cs: Same.
  4593. * Label.cs: Same.
  4594. * ListControl.cs: Same.
  4595. * TextBoxBase.cs: Same.
  4596. * ListView.cs: Same.
  4597. * RichTextBox.cs: Same.
  4598. * TreeView.cs: Same.
  4599. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  4600. * PrintDialog.cs:
  4601. - Text label for where
  4602. - Text label comment was not shown
  4603. 2006-11-23 Everaldo Canuto <[email protected]>
  4604. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  4605. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4606. * InternalWindowManager.cs:
  4607. - Handle WM_PARENTNOTIFY to activate the form
  4608. if any child control is clicked.
  4609. - The form is only sizable if not minimized.
  4610. * MdiWindowManager.cs:
  4611. - Save the IconicBounds if the form is moved.
  4612. - Rework SetWindowState, now the window bounds
  4613. are stored only if the old window state is Normal.
  4614. * MdiClient.cs:
  4615. - In SetWindowStates store the old window state if
  4616. the window is maximized and restore window state if
  4617. the window looses focus.
  4618. - Don't handle any scrollbar value changes if
  4619. initializing the scroll bars. Fixes #79771.
  4620. - Reworked ArrangeIconicWindows. Current algorithm
  4621. tests bounds agains all other minimized windows, if
  4622. any intersections create new bounds (going left to
  4623. right, bottom to top) and then test again. When
  4624. successful the bounds are saved and never computed
  4625. again. Fixes #79774.
  4626. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4627. * InternalWindowManager.cs: Added HandleTitleBarUp.
  4628. 2006-11-23 Gert Driesen <[email protected]>
  4629. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  4630. hexadecimal in ParseUserEdit.
  4631. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4632. * MdiWindowManager.cs:
  4633. - Handle a click on the form's icon to show the
  4634. system menu (when maximized). Fixes #79775.
  4635. - Change the existing click handler for the form's
  4636. icon when not maximized to show on MouseUp.
  4637. Fixes #79776.
  4638. * Form.cs: In OnResize only layout the mdi child's
  4639. parent if it actually has a parent. Might not if
  4640. the window is closing.
  4641. 2006-11-23 Gert Driesen <[email protected]>
  4642. * MdiClient.cs: Ignore active MDI client for text of parent, if
  4643. child has no text set.
  4644. 2006-11-23 Gert Driesen <[email protected]>
  4645. * ToolBar.cs: Fixed ToString to match MS.
  4646. 2006-11-22 Andreia Gaita <[email protected]>
  4647. * NumericUpDown:
  4648. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  4649. update inner values on set. Fixes #79966.
  4650. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  4651. - Fix hexadecimal parsing.
  4652. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  4653. parent. Fixes #79957
  4654. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  4655. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  4656. the actual size has to be queried, since if height /
  4657. width is negative Win32 changes it to 0.
  4658. Fixes #79999 on Windows.
  4659. * XplatUIX11.cs: Set height / width to 0 if negative
  4660. in SetWindowPos. Fixes #79999 on Linux.
  4661. 2006-11-22 Everaldo Canuto <[email protected]>
  4662. * ThemeWin32Classic.cs: Fix text redenring when button is
  4663. pressed.
  4664. 2006-11-22 Everaldo Canuto <[email protected]>
  4665. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  4666. and later navigate by mouse. Fixes #79528.
  4667. 2006-11-21 Everaldo Canuto <[email protected]>
  4668. * ToolBar.cs: Set default value for TabStop to false in
  4669. constructor, it fixes remaining behavior of bug #79863.
  4670. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  4671. * MdiWindowManager.cs:
  4672. * InternalWindowManager.cs:
  4673. - Moved a few methods specific to Mdi from
  4674. InternalWindowManager to MdiWindowManager.
  4675. Fixes #79996.
  4676. 2006-11-21 Chris Toshok <[email protected]>
  4677. * XplatUIOSX.cs: stub out InvalidateNC.
  4678. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  4679. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  4680. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  4681. * XplatUIDriver.cs: add InvalidateNC abstract method.
  4682. * XplatUI.cs: add InvalidateNC.
  4683. 2006-11-21 Everaldo Canuto <[email protected]>
  4684. * ToolBar.cs: Invalidate complete button area when pressed status
  4685. was changed.
  4686. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  4687. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  4688. by 1 when button is pressed.
  4689. 2006-11-20 Everaldo Canuto <[email protected]>
  4690. * ToolButton.cs: Invalidate middle of DropDown button when
  4691. ToolBar theres DropDownArrows.
  4692. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  4693. fix DropDown drawing operations.
  4694. 2006-11-20 Chris Toshok <[email protected]>
  4695. * NativeWindow.cs: fix the formatting of functions ('{' on the
  4696. following line), and enable the thread exception dialog.
  4697. * Application.cs: remove the duplicate exception catching from
  4698. here.
  4699. 2006-11-20 Everaldo Canuto <[email protected]>
  4700. * Toolbar.cs: Triggers button click event when click on icon
  4701. of dropdown ToolBarButton. Fixes #79912.
  4702. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  4703. * Theme.cs:
  4704. * ThemeWin32Classic.cs:
  4705. - Added a property WindowBorderFont to enable themeing
  4706. of mdi child windows' Text.
  4707. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  4708. * InternalWindowManager.cs:
  4709. * Form.cs:
  4710. * MdiClient.cs:
  4711. * MdiWindowManager.cs:
  4712. - If mdi child is maximized, set mdi parent's
  4713. text to "Parent - [Child]". Fixes #79770.
  4714. - If there is any maximized mdi child windows, only the active
  4715. window (and any new windows) is maximized, the rest are normal.
  4716. - On a WindowState change only save mdi child's window bounds
  4717. if the old window state was normal. Fixes #79774.
  4718. - The scroll bars are now calculated on hopefully all
  4719. necessary events. Fixed #79771 / #79844->6 / #79906.
  4720. - MdiClient.SizeScrollBars() now takes into account docked
  4721. controls in the parent when calculating available space.
  4722. - InternalWindowManager now always repaints the entire title
  4723. area. Fixes #79844->1/4/5.
  4724. - Added RequestNCRecalc on mdi child windowstate changes.
  4725. Fixes #79772.
  4726. 2006-11-20 Mike Kestner <[email protected]>
  4727. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  4728. in the MouseUp handler of the listbox and move the return handling
  4729. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  4730. 2006-11-20 Everaldo Canuto <[email protected]>
  4731. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  4732. 2006-11-17 Alexander Olk <[email protected]>
  4733. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  4734. working in 1.2.x anymore. So, updated.
  4735. 2006-11-19 Gert Driesen <[email protected]>
  4736. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  4737. NumberGroupSeparator of current culture instead of assuming en-US.
  4738. Fixed bug #79967.
  4739. 2006-11-17 Mike Kestner <[email protected]>
  4740. * Control.cs: Add the concept of implicit bounds setting so that
  4741. dock/undock round trips preserve explicitly set size/locations.
  4742. Fixes #79313.
  4743. 2006-11-17 Alexander Olk <[email protected]>
  4744. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  4745. can't handle those filters. (Fixes bug #79961)
  4746. 2006-11-17 Chris Toshok <[email protected]>
  4747. [ fixes the exit/crashes associated with #79835. it's clearly
  4748. suboptimal though, we need to figure out a better way to solve
  4749. this. ]
  4750. * PrintPreviewControl.cs: deal with the new invalid printer
  4751. exceptions.
  4752. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  4753. and return false (so CommonDialog.ShowDialog doesn't actually show
  4754. the form.)
  4755. * PrintDialog.cs: enable/disable the Ok button depending on
  4756. whether or not the printer is valid.
  4757. * CommonDialog.cs (ShowDialog): only actually show the form if
  4758. RunDialog returns true.
  4759. 2006-11-17 Jackson Harper <[email protected]>
  4760. * TextControl.cs: When soft splitting a line, mark it as a soft
  4761. split line. Also carry over the current line break to the next
  4762. line.
  4763. 2006-11-17 Chris Toshok <[email protected]>
  4764. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  4765. only want to shift the part of the invalid area that overlaps the
  4766. area we're scrolling. we also don't want to clear the invalid
  4767. area unless the invalid area was entirely contained within the
  4768. scrolling area.
  4769. 2006-11-16 Chris Toshok <[email protected]>
  4770. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  4771. also make sure to free the memory returned by XGetWindowProperty
  4772. in GetText().
  4773. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  4774. 2006-11-16 Chris Toshok <[email protected]>
  4775. * XplatUI.cs: add a new super secret way to get at the totally
  4776. unsupported X11 backend.
  4777. 2006-11-16 Gert Driesen <[email protected]>
  4778. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  4779. 2006-11-16 Jackson Harper <[email protected]>
  4780. * TreeView.cs: Allow more explicit setting of top node position
  4781. for scrollbars. Slower algo, but more accurate.
  4782. - CollapseAll should maintain the current top node.
  4783. * TextBoxBase.cs: When positioning the caret, use the line, pos
  4784. method, since the x, y method does not grab the correct tag, and
  4785. the caret height never gets set correctly. (Maybe I should just do
  4786. away with the caret having its own height, and always use the
  4787. carets current tag for height).
  4788. 2006-11-16 Jonathan Pobst <[email protected]
  4789. [Fixes 79778, 79923]
  4790. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  4791. Parent to the FosterParent instead.
  4792. 2006-11-16 Jackson Harper <[email protected]>
  4793. * TreeView.cs: Need to recalc the topnode when we expand or
  4794. collapse. The scrolling methods can't handle this on their own,
  4795. since they use differences between the last scroll position, and
  4796. those difference get completely messed up since we are expanding
  4797. nodes. This problem should probably be fixed in the scrolling
  4798. methods, so they can figure out exactly where they are, but this
  4799. will slow things down a little.
  4800. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  4801. strings, makes nunit-gui look a lot nicer.
  4802. 2006-11-16 Chris Toshok <[email protected]>
  4803. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  4804. the broken multithreaded event handling we have in here. File
  4805. this entry under "Why we should move to the new X11 backend".
  4806. Any thread can make it into UpdateMessageQueue, which gets events
  4807. from the X socket - some of which could belong to hwnds being
  4808. managed by a different thread. We can also have multiple threads
  4809. in UpdateMessageQueue at the same time, with each one reading from
  4810. the X socket. This leads to many problems, with the following
  4811. solutions:
  4812. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  4813. EnqueueLocked.
  4814. The MotionNotify compression we do can't work across threads
  4815. (without locking the entire queue, perhaps) since we call
  4816. hwnd.Queue.Peek, so we just punt and don't compress motion events
  4817. unless the owning thread is the one which got the X event.
  4818. ConfigureNotify is another fun one, since it modifies the hwnd's
  4819. bounds and then enqueues the event. We add a lock to Hwnd which
  4820. is held when setting configure_pending to true (and enqueuing the
  4821. event).
  4822. There is a race wrt the wake socket. we need to make sure that
  4823. only 1 thread is waiting on that socket, or else a thread could
  4824. sleep waiting for data that never comes. It's difficult (but not
  4825. impossible) to make happen, because it seems to require something
  4826. like the following:
  4827. 1. Thread 1 polls on wake_receive
  4828. 2. poll returns saying there's data to be read on
  4829. wake_receive.
  4830. 3. Thread 2 polls on wake_receive and immediately returns
  4831. saying there's data to be read.
  4832. 4. Thread 2 reads the wakeup byte from wake_receive
  4833. 5. Thread 1 attempts to read the wakeup byte from
  4834. wake_receive.
  4835. 6. Thread 2 exits (due to a form closing, perhaps).
  4836. 7. Thread 1 blocks forever.
  4837. Fun, eh?
  4838. Fixing the Expose handling isn't done yet, and the races inherent
  4839. in that piece of code are responsible for the drawing mistakes you
  4840. see when generating expose events in a MT app (like NPlot). This
  4841. one is the likely to be the hardest to bandaid, and it doesn't
  4842. appear to cause anything but drawing problems. The other issues
  4843. caused apps to exit or hang.
  4844. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  4845. called from a different thread than the one that should be calling
  4846. these functions.
  4847. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  4848. 2006-11-15 Chris Toshok <[email protected]>
  4849. * Application.cs: null out the context's MainForm when we exit
  4850. RunLoop. Fixes a newly checked in unit test as well as the last
  4851. ODE from bug #79933.
  4852. 2006-11-15 Chris Toshok <[email protected]>
  4853. * Form.cs (set_Owner): allow a null value so we can clear the
  4854. form's owner.
  4855. (Dispose): set all our owned_form's Owner properties to null, and
  4856. clear the owned_forms collection.
  4857. (WM_CLOSE): clean up this a little bit.. still not right though.
  4858. * ApplicationContext.cs: OnMainFormClosed should only call
  4859. ExitThreadCore if the main form isn't recreating. Fixes unit
  4860. test.
  4861. 2006-11-15 Jonathan Pobst <[email protected]>
  4862. [Fixes 78346]
  4863. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  4864. 2006-11-15 Jonathan Pobst <[email protected]>
  4865. [Fixes 79433]
  4866. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  4867. keep popup window types from stealing focus from the main form
  4868. on Windows.
  4869. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  4870. * MenuAPI.cs: Set above flag to true.
  4871. 2006-11-15 Chris Toshok <[email protected]>
  4872. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  4873. the button being released is not in wParam.
  4874. 2006-11-15 Jonathan Pobst <[email protected]>
  4875. * Form.cs: Add the released button to MouseEventArgs.Button
  4876. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  4877. on Win32.
  4878. 2006-11-15 Chris Toshok <[email protected]>
  4879. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  4880. GetText(). untested because it's unused in our implementation.
  4881. Control.Text always caches the text, even if
  4882. ControlStyles.CacheText is not set.
  4883. fixes bug #79939.
  4884. 2006-11-15 Chris Toshok <[email protected]>
  4885. [ fixes #79933 ]
  4886. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  4887. message. no hiding, no disposing.
  4888. in the WM_CLOSE handler, hide the form if it's modal.
  4889. 2006-11-15 Chris Toshok <[email protected]>
  4890. * XplatUIX11.cs: use AddExpose instead of sending a message.
  4891. fixes textbox border drawing.
  4892. 2006-11-15 Chris Toshok <[email protected]>
  4893. * PropertyGridView.cs: keep from crashing on mouse move/down when
  4894. the property grid is empty.
  4895. 2006-11-14 Jackson Harper <[email protected]>
  4896. * TextControl.cs: Make PageUp and PageDown more like the MS
  4897. versions.
  4898. * TextBoxBase.cs: When we set the text property position the
  4899. cursor at the beginning of the document.
  4900. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4901. * Form.cs: if a mdi child's WindowState has changed
  4902. before it's creation, it would display wrong control
  4903. buttons.
  4904. 2006-11-14 Alexander Olk <[email protected]>
  4905. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  4906. (Fixes bug #79927)
  4907. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4908. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  4909. the window gets to paint its borders even if the window is
  4910. getting smaller.
  4911. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  4912. otherwise the old control buttons would still be painted
  4913. if the window gets bigger.
  4914. * PaintEventArgs.cs: add an internal method so that the clip
  4915. rectangle can be changed.
  4916. 2006-11-13 Chris Toshok <[email protected]>
  4917. [ fixes bug #79745 ]
  4918. * NotifyIcon.cs: lots of cleanup.
  4919. * X11Structs.cs: add an enum for XEMBED messages.
  4920. * XplatUIX11.cs: reindent one of the giant switch statements, it
  4921. was taking up an additional tab stop, and this file is already way
  4922. too wide for my laptop's screen.
  4923. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  4924. we get it, resize the hwnd to the WMNormalHints max_width/height.
  4925. 2006-11-13 Jackson Harper <[email protected]>
  4926. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  4927. teh simple way.
  4928. 2006-11-13 Chris Toshok <[email protected]>
  4929. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  4930. #79898. force a reference to the Region to stick around so the
  4931. unmanaged object isn't collected (rendering our handle in the MSG
  4932. stale).
  4933. 2006-11-13 Chris Toshok <[email protected]>
  4934. * XplatUIX11.cs: fix #79917 for window managers which support
  4935. using XStoreName on the raw utf8, and we need to convert to
  4936. COMPOUND_TEXT if it's non-latin1.
  4937. 2006-11-13 Chris Toshok <[email protected]>
  4938. * Form.cs (set_DialogResult): we need to set closing to false if
  4939. we're setting our result to None. fixes bug #79908.
  4940. 2006-11-13 Jackson Harper <[email protected]>
  4941. * TextControl.cs: When formatting text, compute the adjusted tag
  4942. lengths correctly, using FindTag for the end tag instead of trying
  4943. to figure it out outselves.
  4944. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  4945. the item, ItemHeight doesn't work, because trees with large
  4946. imagelists use those for their height
  4947. * TreeView.cs: ActualItemHeight factors in the image height
  4948. - compute left edge of checkboxes correctly
  4949. - when expanding/collapsing move the bottom down one pixel, so we
  4950. aren't moving part of the node
  4951. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  4952. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  4953. stack in PaintEventStart so that it won't get disposed by the gc
  4954. before reaching PaintEventEnd.
  4955. 2006-11-13 Jackson Harper <[email protected]>
  4956. * TextBoxBase.cs: Don't select the word if we are on a line with
  4957. no text.
  4958. - We don't need to position the caret on mouse up, since the mouse
  4959. move handler should be doing this
  4960. - When double clicking a blank line, the caret is advanced to the
  4961. next line.
  4962. 2006-11-13 Gert Driesen <[email protected]>
  4963. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  4964. 2006-11-12 Gert Driesen <[email protected]>
  4965. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  4966. Fixes part of bug #79910.
  4967. 2006-11-11 Alexander Olk <[email protected]>
  4968. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  4969. (bug #79903). Some minor string updates to match ms.
  4970. 2006-11-10 Alexander Olk <[email protected]>
  4971. * FileDialog.cs: Don't add an extension if the filename
  4972. already ends with that extension.
  4973. 2006-11-10 Jackson Harper <[email protected]>
  4974. * TreeView.cs: Use the currently highlighted node for the
  4975. BeforeSelect event.
  4976. * TextBoxBase.cs: There is no need to expand selection on
  4977. MouseMove.
  4978. - CanUndo means 'is there any undo operations', not 'is undo
  4979. allowed on this textcontrol. Fixed ClearUndo unit test.
  4980. 2006-11-10 Andreia Gaita <[email protected]>
  4981. * Button.cs: only perform click when button is Selectable (so as
  4982. not to activate default buttons when they're disabled)
  4983. * Control.cs: Rewrite of the SelectNextControl and related
  4984. methods. HandleClick now selects next control if the current one
  4985. is being disabled.
  4986. * Form.cs: OnActivated selects next active control only if Load
  4987. has already occurred. If Load hasn't run, there's no point in
  4988. selecting here, Load might change the state of controls.
  4989. * FocusTest.cs: Tests marked as working again for these fixes
  4990. 2006-11-10 Chris Toshok <[email protected]>
  4991. * XplatUIX11.cs: a couple of fixes.
  4992. - use XInternAtoms with almost all the atoms we need to register,
  4993. instead of many, many calls to XInternAtom. should help a bit on
  4994. startup time, at the expense of making the code look a little
  4995. worse.
  4996. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  4997. isn't reparented (which seems to be a clue that we're running fon
  4998. compiz) and they have an Owner form. This fixes the tool windows
  4999. in paint.net when running under compiz.
  5000. - when setting the opacity of a window, support both the case
  5001. where the window has been reparented and also when it hasn't been.
  5002. Since compiz/beryl doesn't seem to reparent windows, and these are
  5003. the only window managers which support translucency, I'm not sure
  5004. why we need the hwnd.reparented case at all.. but leave it in.
  5005. now we get translucent windows in paint.net under compiz/beryl.
  5006. 2006-11-10 Alexander Olk <[email protected]>
  5007. * FileDialog.cs: Always return the value for FilterIndex that
  5008. was set. Internally convert it to values that make sense.
  5009. 2006-11-10 Everaldo Canuto <[email protected]>
  5010. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  5011. 2006-11-10 Everaldo Canuto <[email protected]>
  5012. * Toolbar.cs: Change default value of DropDownArrows to true, the
  5013. signature still using false to make it compatible with MS but the
  5014. initial value is true. Fixes #79855.
  5015. 2006-11-10 Alexander Olk <[email protected]>
  5016. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  5017. only available on Linux.
  5018. 2006-11-09 Everaldo Canuto <[email protected]>
  5019. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  5020. reduce number of calls to redraw method during toolbar creation.
  5021. 2006-11-09 Mike Kestner <[email protected]>
  5022. * ListView.cs : raise SelectedIndexChanged when an item is selected
  5023. programmatically via the Item.Selected property. Gert's nice
  5024. ListViewSelectedIndexChanged test fixture now runs clean.
  5025. 2006-11-09 Mike Kestner <[email protected]>
  5026. * ListView.cs : raise SelectedIndexChanged when a selected item is
  5027. removed from the item collection using Remove or RemoveAt.
  5028. 2006-11-09 Mike Kestner <[email protected]>
  5029. * ListView.cs : raise SelectedIndexChanged once per selected item
  5030. for compat with MS. Fixes #79849+.
  5031. 2006-11-09 Chris Toshok <[email protected]>
  5032. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  5033. we need to (if we have any tab pages). Fixes unit test.
  5034. 2006-11-09 Chris Toshok <[email protected]>
  5035. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  5036. width is 0, not 3. Fixes a unit test.
  5037. 2006-11-09 Mike Kestner <[email protected]>
  5038. * ListView.cs : use Implicit scrollbars so that focus isn't
  5039. stolen from the listview when they are clicked. Fixes #79850.
  5040. 2006-11-09 Chris Toshok <[email protected]>
  5041. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  5042. have a root item. Fixes #79879.
  5043. 2006-11-09 Alexander Olk <[email protected]>
  5044. * FileDialog.cs:
  5045. - Fix ToString ()
  5046. - An ArgumentException is now thrown if a wrong filter
  5047. is applied (matches ms). The previous filter doesn't change
  5048. anymore if an exception is thrown.
  5049. - Changing the FileName property also affects FileNames
  5050. * ColorDialog.cs: The length of the CustomColors array is always
  5051. 16. It doesn't matter if we use a smaller array or null to update
  5052. or change the custom colors property.
  5053. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  5054. for RootFolder if we get a undefined value.
  5055. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5056. * StatusBarPanel.cs:
  5057. - Width is set to MinWidth if Width is smaller than
  5058. MinWidth. Fixes #79842.
  5059. - MinWidth now always overrides Width (MSDN says MinWidth
  5060. is set to Width when AutoSize = None, but they do not
  5061. behave like that).
  5062. - Style has now the the correct default value.
  5063. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5064. * TrackBar.cs:
  5065. - The control is completely invalidated on
  5066. Got/LostFocus to draw the focus rectangle correctly.
  5067. - When AutoSize then height is always 45 (width for
  5068. vertical controls).
  5069. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  5070. on the mouse when moved and it doesn't move when grabbed
  5071. until the mouse moves as well. Also fixed some wrong
  5072. calculations when clicking on the thumb (control thought
  5073. click was outside of thumb and didn't grab it).
  5074. Fixes some of the issues in #79718.
  5075. 2006-11-08 Everaldo Canuto <[email protected]>
  5076. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  5077. 2006-11-08 Chris Toshok <[email protected]>
  5078. * PropertyGridView.cs: only call ToggleValue if the item is not
  5079. readonly.
  5080. 2006-11-08 Jackson Harper <[email protected]>
  5081. * TextBoxBase.cs: The RichTextBox and textbox have very different
  5082. word selection methods. Implement the textbox's simple word
  5083. selection here, and let the RichTextBox override and provide it's
  5084. own.
  5085. - Don't do extra selection on mouseup
  5086. * RichTextBox.cs: Use the documents word selection algorithm, I
  5087. think ideally, this function will be pulled into the
  5088. RichTextBox.cs code someday.
  5089. 2006-11-08 Chris Toshok <[email protected]>
  5090. * RootGridEntry.cs: new class to represent GridItemType.Root.
  5091. * CategoryGridEntry.cs: reformat, and add boilerplate.
  5092. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  5093. returns the UI parent anyway, and we need special handling to
  5094. implement the GetTarget method in the face of it. Also, implement
  5095. Select().
  5096. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  5097. a root grid item, and use that instead of PropertyGrid.grid_items.
  5098. Also, make use of TypeConverters (and add limitted support for
  5099. ICustomTypeDescriptors) when initially populating the grid.
  5100. Arrays now show up more or less properly.
  5101. 2006-11-08 Chris Toshok <[email protected]>
  5102. * Application.cs: set the modal dialog to non modal after we close
  5103. it. Fixes bug #79866.
  5104. 2006-11-08 Jackson Harper <[email protected]>
  5105. * TextControl.cs: When combining lines carry over the line end
  5106. style from the end line.
  5107. - Invalidate the selected area when setting it, if it is visible.
  5108. * TextBoxBase.cs: Only rich text box can do full line selects.
  5109. - Make sure to set the cursor position when there is a click,
  5110. otherwise two clicks in separate areas could cause a large chunk
  5111. to be selected.
  5112. 2006-11-07 Everaldo Canuto <[email protected]>
  5113. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  5114. Fixes #79863.
  5115. 2006-11-07 Everaldo Canuto <[email protected]>
  5116. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  5117. time. Remove tooltips when ToolButton click events. Fixes #79856.
  5118. 2006-11-07 Everaldo Canuto <[email protected]>
  5119. * MenuAPI.cs: Ignore right click for menu actions and fixes
  5120. menu border when clicked. Fixes #79846.
  5121. 2006-11-07 Everaldo Canuto <[email protected]>
  5122. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  5123. MouseState after create wParam for message, this fixes mouse button
  5124. equal none in mouse up events.
  5125. 2006-11-07 Andreia Gaita <[email protected]>
  5126. * Control.cs : Focus() now calls Select to set the Container's
  5127. Active Control and to give it focus. To avoid infinite recursion
  5128. (because ActiveControl also calls Focus at one point), a check
  5129. is made in Focus with the help of a new internal variable
  5130. is_focusing.
  5131. 2006-11-07 Mike Kestner <[email protected]>
  5132. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  5133. if there's a selection. Fixes #79849.
  5134. 2006-11-07 Gert Driesen <[email protected]>
  5135. * PropertyGrid.cs: Avoid fixed height of help description label.
  5136. Fixes part of bug #79829.
  5137. 2006-11-07 Chris Toshok <[email protected]>
  5138. * XplatUIX11.cs: fix #79790 again, by using the
  5139. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  5140. 2006-11-07 Everaldo Canuto <[email protected]>
  5141. * ToolBar.cs: Fix left click checking.
  5142. 2006-11-07 Chris Toshok <[email protected]>
  5143. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  5144. 2006-11-07 Chris Toshok <[email protected]>
  5145. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  5146. PropertyManager unit tests.
  5147. * PropertyManager.cs: make property_name internal.
  5148. 2006-11-07 Chris Toshok <[email protected]>
  5149. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  5150. pass a unit test. Also, don't set image_index to anything in
  5151. response to setting the ImageList property.
  5152. 2006-11-07 Everaldo Canuto <[email protected]>
  5153. * ToolBar.cs: Ignore click events when mouse button is not a
  5154. left button, only accepts other button for dropdown menus.
  5155. Fixes #79854.
  5156. 2006-11-07 Chris Toshok <[email protected]>
  5157. * DataGrid.cs: make the back and parent row buttons a little less
  5158. ugly.
  5159. 2006-11-07 Jackson Harper <[email protected]>
  5160. * TextBoxBase.cs: When converting to Text don't put line breaks in
  5161. for soft line breaks.
  5162. * TextControl.cs: There is an initial "fake" line in the document,
  5163. this is now a soft break line, so that an extra line feed doesn't
  5164. get added to the end of documents.
  5165. 2006-11-07 Chris Toshok <[email protected]>
  5166. [ fix bug #79778 ]
  5167. * CurrencyManager.cs: if the list is readonly, don't bother
  5168. checking if IBindingList.AllowNew is true.
  5169. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  5170. for non-DataRowView datasources.. or rather, make it not crash.
  5171. (DataGridPaintRelationRow): make sure we limit the row painting to
  5172. the area not covered by the row header, and make our cell width at
  5173. least large enough to cover the relation area. This allows grids
  5174. that have relations but no rows to render correctly.
  5175. (DataGridPaintRowContents): same type of changes here.
  5176. (SetDataSource): move back to always calling
  5177. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  5178. navigating back through relations.
  5179. (HitTest): handle the case where we have no cells but have
  5180. relations. Right now we generate a hit in cell 0 of whatever the
  5181. row is, not sure if this is strictly correct, but it works for our
  5182. purposes.
  5183. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  5184. bother doing anything.
  5185. 2006-11-07 Jonathan Pobst <[email protected]>
  5186. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  5187. early version of StatusStrip. Not responsible for eaten
  5188. application or firstborn children.
  5189. 2006-11-06 Chris Toshok <[email protected]>
  5190. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  5191. call GetTabRect with a -1 index. Fixes #79847.
  5192. 2006-11-06 Jackson Harper <[email protected]>
  5193. * TreeNodeCollection.cs: Update scrollbars after clearing.
  5194. 2006-11-06 Chris Toshok <[email protected]>
  5195. * NumericUpDown.cs: fix the ToString method for some unit test
  5196. love.
  5197. 2006-11-06 Chris Toshok <[email protected]>
  5198. * PropertyGrid.cs:
  5199. - set the initial SelectedGridItem if we can.
  5200. - Exclude non-mergable properties only if we're merging > 1
  5201. object. Merging 1 object isn't really merging, obviously.
  5202. - Handle PropertySort.NoSort just like Alphabetical, which is
  5203. wrong of course, but at least gets things on the screen.
  5204. * PropertyGridView.cs:
  5205. - Add method "FindFirstItem" which finds the first property grid
  5206. item, so we can select it by default.
  5207. - make use of GridEntry.CanResetValue.
  5208. - Don't call RedrawBelowItemOnExpansion here anymore, the
  5209. individual GridEntry's will do that.
  5210. - Remove the ITypeDescriptorContextImpl internal class.
  5211. * GridEntry.cs:
  5212. - this class needs to implement ITypeDescriptorContext, as it's
  5213. what MS's PropertyDescriptorGridEntry does, which means we can
  5214. remove the ITypeDescriptorContextImpl internal class from
  5215. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  5216. - keep a reference to our PropertyGridView, and move the call to
  5217. RedrawBelowItemOnExpansion here from PGV. This means
  5218. programmaticly setting Expanded actually does something visible.
  5219. - add a CanResetValue() function which takes into account our
  5220. possibly multiple "selected_objects" in the merged case. Shifting
  5221. PropertyGridView to use this method fixes another unreported
  5222. crasher found running the test for #79829.
  5223. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  5224. is updated to reflect this.
  5225. * CategoryGridEntry.cs: the ctor takes the PGV now.
  5226. 2006-11-06 Jackson Harper <[email protected]>
  5227. * TextControl.cs: These are 1 based.
  5228. * TextBoxBase.cs: When setting the selected text, don't change the
  5229. selected text tags, this is done by ReplaceText, just position the
  5230. cursor at the end of the new text.
  5231. 2006-11-06 Alexander Olk <[email protected]>
  5232. * ListView.cs: Allow label edit only when, when LabelEdit is
  5233. set to true.
  5234. 2006-11-06 Jackson Harper <[email protected]>
  5235. * TextControl.cs: If a suitable wrapping position isn't found,
  5236. just wrap right in the middle of a word.
  5237. 2006-11-06 Alexander Olk <[email protected]>
  5238. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  5239. bug #79820.
  5240. 2006-11-06 Jackson Harper <[email protected]>
  5241. * TreeView.cs: Can't use the VisibleCount property when setting
  5242. scrollbar heights, because this doesn't take into account whether
  5243. or not the horz scrollbar just came visible.
  5244. 2006-11-05 Everaldo Canuto <[email protected]>
  5245. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  5246. activated. Fixes #79369, #79832.
  5247. 2006-11-05 Alexander Olk <[email protected]>
  5248. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  5249. had to remove support for links that point to a directory. FileInfo
  5250. returns no usefull information (means, the directory they point to)
  5251. for such links. Replaced some empty string ("") with String.Empty.
  5252. 2006-11-04 Gert Driesen <[email protected]>
  5253. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  5254. NullReferenceException when attempting to remove node that is not in
  5255. collection. Throw NullReferenceException when null is passed to
  5256. Remove. Allow first element of the collection to be removed. Fixes
  5257. bug #79831. In GetEnumerator ().Current return null if positioned
  5258. before the first element of the collection. In GetEnumerator ().Reset,
  5259. position before first element of the collection.
  5260. 2006-11-04 Gert Driesen <[email protected]>
  5261. * PropertyGrid.cs: To match MS, remove default title and description
  5262. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  5263. buttons.
  5264. 2006-11-04 Chris Toshok <[email protected]>
  5265. * Theme.cs: add a Clamp method, just for kicks.
  5266. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  5267. 2006-11-04 Chris Toshok <[email protected]>
  5268. * Form.cs: if the form isn't visible, Close() does nothing.
  5269. 2006-11-03 Chris Toshok <[email protected]>
  5270. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  5271. Hide it.
  5272. (WndProc): don't Dispose after handling the WM_CLOSE message.
  5273. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  5274. them as such, instead of using casts from Control to Form. Also,
  5275. don't Dispose of the modal dialog when we fall out of the loop -
  5276. Close() it instead.
  5277. fixes bug #79813.
  5278. 2006-11-03 Chris Toshok <[email protected]>
  5279. * Control.cs (Dispose): only go through the dispose thing if we're
  5280. @disposing, and we haven't already been disposed. Fixes bug
  5281. #79814.
  5282. * Form.cs: no reason to call "base.Dispose()" here instead of
  5283. "Dispose()".
  5284. 2006-11-03 Mike Kestner <[email protected]>
  5285. * ComboBox.cs : use ToString instead of casts in AddItem for
  5286. sorting functionality. Fixes #79812.
  5287. 2006-11-03 Chris Toshok <[email protected]>
  5288. * Application.cs: pave the way for actually using the thread
  5289. exception dialog. it's ifdefed out at the moment.
  5290. 2006-11-03 Chris Toshok <[email protected]>
  5291. * ThreadExceptionDialog.cs: until we get a better layout, actually
  5292. hide the details textbox and label when we shouldn't see them.
  5293. 2006-11-03 Jackson Harper <[email protected]>
  5294. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  5295. multiline textboxes anymore. This method also determines the
  5296. width/height of a textboxes canvas area.
  5297. - Sorta a revert of the last patch. For multiline just position
  5298. the controls, then bail. This way the scrollbar width won't be
  5299. altered.
  5300. 2006-11-03 Everaldo Canuto <[email protected]>
  5301. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  5302. it dont need. Fixes #79537.
  5303. 2006-11-02 Jackson Harper <[email protected]>
  5304. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  5305. send the status after firing the DndOver event.
  5306. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  5307. * TrackBar.cs: Now orientation only switches height / width if
  5308. the control's handle is created (Win32 does it like this). Also
  5309. fixed a typo in ToString() for a test to pass, changed the
  5310. exception thrown in set_LargeChange and set_SmallChange to
  5311. match Win32 behaviour, and added TrackBar tests to the unit
  5312. tests.
  5313. 2006-11-02 Chris Toshok <[email protected]>
  5314. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  5315. not _NET_WM_STATE_NO_TASKBAR.
  5316. 2006-11-02 Jackson Harper <[email protected]>
  5317. * TextControl.cs: Increment count by one, since in the update view
  5318. count - 1 is used.
  5319. 2006-11-02 Jackson Harper <[email protected]>
  5320. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  5321. the mouse is in the client rectangle (duh).
  5322. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  5323. * TrackBar.cs: Fixed trackbar jumping around when clicking
  5324. on it - the trackbar was not detecting correctly at which
  5325. side of the thumb the click was done. (fixes #79718)
  5326. 2006-11-02 Everaldo Canuto <[email protected]>
  5327. * ListBox.cs: scroll visible area when change SelectedIndex to
  5328. a non visible area. Fixes #79481.
  5329. 2006-11-01 Jackson Harper <[email protected]>
  5330. * TextControl.cs: When replacing the selection move the selection
  5331. start/end/anchor to the end of the new text.
  5332. 2006-11-01 Jackson Harper <[email protected]>
  5333. * XplatUIWin32.cs: When setting the parent change the controls
  5334. visibility to it's visibility flag, not to it's old parents
  5335. visibility (.Visible walks the parent chain).
  5336. 2006-11-01 Chris Toshok <[email protected]>
  5337. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  5338. XSetTransientForHint fix breaks paint .net's tool windows. more
  5339. work needed for that one.
  5340. 2006-11-01 Chris Toshok <[email protected]>
  5341. * ScrollBar.cs: throw ArgumentException instead of Exception in
  5342. LargeChange/SmallChange setters. fixes unit tests.
  5343. 2006-10-31 Andreia Gaita <[email protected]>
  5344. * ContainerControl.cs: reverted rev.67183 (which was itself
  5345. a reversion of rev.66853... eh).
  5346. * Control.cs: Fixes Reflector hang by changing Focus() call
  5347. to what it was before rev.66643 (calling Select() here sets
  5348. ActiveControl, which in some situations calls back Focus and
  5349. eventually does a stack overflow). Temp fix.
  5350. Changes to GetNextControl() to not look for children to select when
  5351. parent cannot be selectable (so it looks for siblings instead)
  5352. 2006-10-31 Mike Kestner <[email protected]>
  5353. * CheckedListBox.cs : off by one error in returned index from
  5354. ObjectCollection.Add. Fixes #79758.
  5355. 2006-10-31 Chris Toshok <[email protected]>
  5356. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  5357. calls for the textbox/spinner, to keep from recursing to the point
  5358. where we crash. Fixes #79760.
  5359. 2006-10-31 Chris Toshok <[email protected]>
  5360. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  5361. null/"" value, just return. matches ms's behavior and fixes some
  5362. failing tests.
  5363. 2006-10-31 Chris Toshok <[email protected]>
  5364. * Control.cs (set_Capture): make a logic a little easier to
  5365. follow.
  5366. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  5367. if it's being destroyed. A necessary fix surely, but a bandaid
  5368. also, to fix the stuck capture problem in bug #78413.
  5369. 2006-10-31 Chris Toshok <[email protected]>
  5370. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  5371. convention of clearing hwnd.ClientRect when we set the
  5372. width/height (so it'll be recalculated by Hwnd).
  5373. 2006-10-31 Andreia Gaita <[email protected]>
  5374. * ContainerControl.cs: reversed Contains check from
  5375. ActiveControl due to hanging problems. This fix
  5376. partly regresses #79667 (button does not have
  5377. initial focus), so this might be a symptom for
  5378. a larger parenting problem (set_ActiveControl
  5379. is being called but the child control does
  5380. not have the parent set yet?)
  5381. 2006-10-31 Mike Kestner <[email protected]>
  5382. * MenuAPI.cs : fix keynav when menu is click activated.
  5383. 2006-10-31 Jonathan Pobst <[email protected]>
  5384. * ToolStrip*: Version 0.2.
  5385. * MenuStrip.cs: Version 0.1.
  5386. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  5387. 2006-10-30 Chris Toshok <[email protected]>
  5388. [ fixes the oversized notify icon issue in bug #79745 ]
  5389. * NotifyIcon.cs: scale the icon down to the size we're given by
  5390. the XplatUI layer (this would be faster if we did it once instead
  5391. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  5392. since it's never invoked.
  5393. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  5394. pixels high by default, so let's hardcode our systray icon to that
  5395. size. The SYSTEM_TRAY protocol should really have a way for
  5396. client apps to query for the correct icon size.. but oh well. A
  5397. couple of patches to deal with the screwy client_window ==
  5398. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  5399. instance, and also make sure we don't XSelectInput twice).
  5400. 2006-10-30 Chris Toshok <[email protected]>
  5401. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  5402. recreating forms. Control recreation is the bane of my existence.
  5403. Fix it in a way that keeps everyone happy.
  5404. 2006-10-30 Chris Toshok <[email protected]>
  5405. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  5406. just non-CHILD ones. otherwise sometimes scrollbars end up with
  5407. client_windows not being resized to the proper size (ReportBuilder
  5408. shows this extremely well).
  5409. 2006-10-30 Chris Toshok <[email protected]>
  5410. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  5411. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  5412. showing up in the gnome taskbar. Fixes bug #79790.
  5413. 2006-10-30 Chris Toshok <[email protected]>
  5414. * ApplicationContext.cs: guard against a NRE.
  5415. * Application.cs: null out the old MainForm for the context, so we
  5416. don't try to use it again once it's disposed. Fixes bug #79783.
  5417. 2006-10-30 Chris Toshok <[email protected]>
  5418. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  5419. BindingContext, set the data source directly, otherwise do the
  5420. lazy approach - the actual ListManager will be created when we get
  5421. a BindingContext. Fixes bug #79700.
  5422. 2006-10-30 Jonathan Pobst <[email protected]>
  5423. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  5424. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  5425. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  5426. 2006-10-30 Jonathan Pobst <[email protected]>
  5427. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  5428. of SetVisible that allows a window to be shown, but not activated.
  5429. This is needed on Windows for MenuStrip, and can probably be used
  5430. with MainMenu and ComboBox to fix the focus stealing issues on
  5431. Windows.
  5432. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  5433. 2006-10-30 Alexander Olk <[email protected]>
  5434. * PictureBox.cs: Fix the output of the ToString method.
  5435. 2006-10-29 Chris Toshok <[email protected]>
  5436. * Control.cs (get_TopLevelControl): fix bug #79781.
  5437. 2006-10-29 Chris Toshok <[email protected]>
  5438. * ListControl.cs (set_DataSource): throw Exception here, not
  5439. ArgumentException, to match MS behavior.
  5440. 2006-10-29 Chris Toshok <[email protected]>
  5441. * Form.cs: remove the try-catch's around calls to GetWindowState.
  5442. We can just check the return value.
  5443. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  5444. Instead return -1.
  5445. * XplatUI.cs: Add note about additional return value for
  5446. GetWindowState.
  5447. 2006-10-29 Chris Toshok <[email protected]>
  5448. * Control.cs (CreateHandle): when we create our handle, we also
  5449. create the handles of our child controls. Fixes one of the
  5450. Control unit tests (CH11).
  5451. 2006-10-28 Alexander Olk <[email protected]>
  5452. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  5453. 2006-10-28 Alexander Olk <[email protected]>
  5454. * ThemeClearlooks.cs: A little speedup.
  5455. 2006-10-27 Chris Toshok <[email protected]>
  5456. * Control.cs: implement Control.FromChildHandle in a way that
  5457. matches the docs (and fixes the failed test.)
  5458. 2006-10-27 Chris Toshok <[email protected]>
  5459. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  5460. comments).
  5461. * DataGrid.cs: implement ResetForeColor such that the tests
  5462. succeed.
  5463. 2006-10-27 Chris Toshok <[email protected]>
  5464. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  5465. being set to "". Fixes bug #79759.
  5466. 2006-10-27 Jackson Harper <[email protected]>
  5467. * TextControl.cs: We need to clear the entire selection area when
  5468. setting the start, otherwise multiline selections are still
  5469. visible.
  5470. 2006-10-26 Chris Toshok <[email protected]>
  5471. * PropertyGridView.cs:
  5472. - ifdef all the code specific to the double
  5473. buffer case, and provide some alternatives in the non-doublebuffer
  5474. code, which makes heavy use of XplatUI.ScrollWindow to move things
  5475. around without having to invalidate (and cause flicker). There
  5476. are still some drawing problems in the non-doublebuffered case, so
  5477. DOUBLEBUFFER is defined by default.
  5478. - Fix the way dropdowns are handled. now we explicitly watch for
  5479. the events which might cause the dropdown to close, and break out
  5480. of the nested event loop there. This gets rid of all Capture
  5481. code, at the expense of the Msg special casing. Seems to work,
  5482. though, and fixes bug #79743.
  5483. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  5484. * Control.cs: SetIsRecreating now recreates implicitly added
  5485. child controls as well. Finally fixes #79629. The flag passed to
  5486. SetIsRecreating has also been removed since it wasn't used.
  5487. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  5488. * PageSetupDialog.cs: Clean some code, fix some bits,
  5489. add some checks, and add a printer sub-dialog.
  5490. 2006-10-26 Chris Toshok <[email protected]>
  5491. * PropertyGrid.cs: make set_SelectedObject call
  5492. set_SelectedObjects, and move the duplicate logic to the
  5493. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  5494. * PropertyGridView.cs: hide the textbox when we get a
  5495. SelectedObjectsChanged event.
  5496. Fixes bug #79748.
  5497. 2006-10-26 Chris Toshok <[email protected]>
  5498. * PropertyGridView.cs: deal with the type converter not supporting
  5499. GetStandardValues() or GetStandardValues() returning null, which
  5500. is does in the default case. Fixes #79742.
  5501. 2006-10-25 Andreia Gaita <[email protected]>
  5502. * CheckedListBox.cs: nunit no longer crashes when selecting
  5503. Project/Edit menu option
  5504. 2006-10-25 Andreia Gaita <[email protected]>
  5505. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  5506. is no menu selected. fixes #79739
  5507. 2006-10-25 Chris Toshok <[email protected]>
  5508. * PropertyGridView.cs: factor out the splitter invalidation code
  5509. into the SplitterPercent setter, and for kicks implement the
  5510. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  5511. amount in either direction.
  5512. 2006-10-25 Chris Toshok <[email protected]>
  5513. * PropertyGridView.cs: do some cleanup of the brush used to draw
  5514. text - read only fields should be grayed out. not sure how to do
  5515. this with the textbox, though. but the textbox's should also be
  5516. readonly now at least. Also, hide/show the textbox when resizing
  5517. the control.
  5518. * CursorConverter.cs: use System.Reflection when getting the
  5519. properties of Cursors, as TypeDescriptor.GetProperties isn't
  5520. returning static properties.
  5521. 2006-10-25 Chris Toshok <[email protected]>
  5522. * PropertyGridView.cs: factor out the up/down handling, and reuse
  5523. it for page up/down. also add End/Home support.
  5524. 2006-10-25 Chris Toshok <[email protected]>
  5525. * PropertyGridView.cs:
  5526. - ensure the selected grid item is visible in the scrolled area,
  5527. fixes bug #79572.
  5528. - fix Keys.Down handling when you're on the last item in the
  5529. propertygrid.
  5530. 2006-10-25 Mike Kestner <[email protected]>
  5531. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  5532. clicks too. Fixes #79725.
  5533. 2006-10-24 Chris Toshok <[email protected]>
  5534. * PropertyGrid.cs: use property.Converter instead of
  5535. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  5536. TypeConverters declared on the property as well as on the
  5537. PropertyType. Fixes bug #79678.
  5538. 2006-10-24 Alexander Olk <[email protected]>
  5539. * MimeIcon.cs, Mime.cs:
  5540. Fallback to the default platform handler if no shared mime info
  5541. stuff exists (fixes #79693).
  5542. 2006-10-20 Andreia Gaita <[email protected]>
  5543. * ContainerControl.cs: Incorrect contains check in ActiveControl
  5544. from previous fix (duh).
  5545. 2006-10-20 Chris Toshok <[email protected]>
  5546. * PropertyGridView.cs: the dropdown should be MIN(number of items
  5547. in list, 15). Fixes #79551.
  5548. 2006-10-20 Andreia Gaita <[email protected]>
  5549. Fixes #79384, #79394, #79652, #79667
  5550. * Application.cs:
  5551. - Modal windows are now destroyed in the proper order for windows
  5552. * ContainerControl.cs:
  5553. - ActiveControl setter has more conditions on when to return:
  5554. - if we're reselecting the active control, but it actually
  5555. didn't have focus (window hidden or some such), it runs
  5556. - if the active control being selected doesn't actually
  5557. exist in the container, it returns
  5558. * Form.cs
  5559. - The ShowDialog now gets the current form as the owner when
  5560. invoking without parameters, and correctly activates the owner
  5561. when returning
  5562. * MessageBox.cs
  5563. - MessageBox now catches the Escape key to exit
  5564. 2006-10-20 Chris Toshok <[email protected]>
  5565. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  5566. most of bug #79676):
  5567. - you can navigate around the property grid with the arrow keys.
  5568. - the dropdown is sized properly when the pg has a vertical
  5569. scrollbar.
  5570. - fix the indentation for subentries, and properly select the
  5571. entire label rect.
  5572. - fix the gray bar's drawing (only draw it to the last element,
  5573. not for the height of the control. Also make sure we draw that
  5574. last horizontal grid line.
  5575. - use the same mechanism the datagrid uses wrt the editing textbox
  5576. when scrolling/resizing/etc. Namely, we hide it first, do the
  5577. operation, then show it again (if it's still visible).
  5578. - aggressively remove a lot of unnecessary refreshes (and also
  5579. calls to Invalidate(). call more limited variants, and only redraw
  5580. what we need.)
  5581. * PropertyGrid.cs:
  5582. - when we're populating the merged collection, fill in the UI
  5583. parent with either the passed in item, or the category item we
  5584. create.
  5585. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  5586. * GridItem.cs: drop some fully qualified names.
  5587. * GridEntry.cs: add a "UIParent", which is basically the parent
  5588. treenode.
  5589. * GridItemCollection.cs: add an IndexOf method.
  5590. 2006-10-20 Mike Kestner <[email protected]>
  5591. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  5592. a working win32 NC invalidation mechanism, we can't invalidate
  5593. menus. [Fixes #79705]
  5594. 2006-10-20 Mike Kestner <[email protected]>
  5595. * ListBox.cs : don't update the VScrollbar if the list is empty,
  5596. just hide it. [Fixes #79692]
  5597. 2006-10-20 Jackson Harper <[email protected]>
  5598. * RichTextBox.cs: Handle some special chars better, and don't skip
  5599. the entire group when we encounter a special char that we don't
  5600. handle correctly.
  5601. 2006-10-18 Chris Toshok <[email protected]>
  5602. * PropertyGridView.cs: address a number of issues from bug #79676,
  5603. mostly of the cosmetic variety.
  5604. - The highlight rectangle for indented items not extends all the
  5605. way to the left.
  5606. - Indented items aren't indented so much.
  5607. - the dropdown is properly sized width-wise if the pg has a
  5608. vertical scrollbar.
  5609. 2006-10-18 Chris Toshok <[email protected]>
  5610. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  5611. systray stuff is rather convoluted to begin with.
  5612. systray icons are a single window for some reason (that I haven't
  5613. figured out yet), and for them, client_window == whole_window.
  5614. Given the way the tests are structured elsewhere to determine
  5615. which paints are pending (client vs. nc), that situation will
  5616. always yield PAINT, not NCPAINT. So, if we have a pending
  5617. nc_expose and no pending expose, remove the hwnd from the paint
  5618. queue, and also set nc_expose_pending to false, to keep us from
  5619. blocking further expose's adding the hwnd to the paint queue.
  5620. phew. like i said, a rather convoluted change. Fixes the
  5621. notifyicon repaint issues in bug #79645.
  5622. 2006-10-18 Chris Toshok <[email protected]>
  5623. * Form.cs: when getting the backcolor of the form, don't get
  5624. base.BackColor, as this allows parents to influence the background
  5625. color. This breaks mdi forms. Instead, if the background_color
  5626. is empty, return the default.
  5627. 2006-10-18 Chris Toshok <[email protected]>
  5628. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  5629. to being private instead of internal static.
  5630. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  5631. crap, it wasn't working for more deeply nested controls anyway,
  5632. and we already have the is_recreating flag - use that instead.
  5633. Before calling DestroyHandle in RecreateHandle, recurse through
  5634. the control tree setting it to true. this returns the recreate
  5635. code to much of its original simplicity, while now guaranteeing we
  5636. actually recreate everything we're supposed to. This change gets
  5637. fyireporting actually showing mdi children.
  5638. 2006-10-17 Chris Toshok <[email protected]>
  5639. * Form.cs: remove some debug spew, and collapse some duplicate
  5640. code at the end of SetClientSizeCore.
  5641. * XplatUIX11.cs:
  5642. - add some more debug spew here too wrt Destroy handling.
  5643. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  5644. in Control's handling of WM_DESTROY.
  5645. - Remove the handling of zombie window DestroyNotifies from the
  5646. event loop - we don't need it. Now the only DestroyNotifies we
  5647. actually handle are ones generated by X.
  5648. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  5649. match gtk's (functioning) handling of this. This keep metacity
  5650. from leaving droppings in the form of wm borders with no window
  5651. contents all over the place.
  5652. * Control.cs:
  5653. - add a bunch of debug spew wrt control recreation.
  5654. - fix a bug where we weren't tracking Visible properly on
  5655. recreated hwnds.
  5656. - fixed the WM_PAINT double buffer handling to support re-entrant
  5657. calls (yes, i know it's gross, but it's happening to us).
  5658. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  5659. * ThemeWin32Classic.cs: changed drawing of selected days
  5660. to make them look better.
  5661. 2006-10-16 Chris Toshok <[email protected]>
  5662. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  5663. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  5664. * XplatUIX11.cs: move away from using hwnd.client_dc and
  5665. hwnd.non_client_dc and on to a stack of dc's (and in window's
  5666. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  5667. without puking or not disposing of Graphics objects.
  5668. * XplatUIOSX.cs: same.
  5669. * XplatUIWin32.cs: same.
  5670. 2006-10-03 Alexander Olk <[email protected]>
  5671. * FileDialog.cs: Don't call on_directory_changed inside
  5672. OnSelectedIndexChanged (it changes the SelectedIndex too).
  5673. Instead move it to OnSelectionChangeCommitted.
  5674. 2006-10-13 Chris Toshok <[email protected]>
  5675. * XplatUIX11.cs: more Destroy work. the current code does the
  5676. following things, in order:
  5677. 1. Enumerates all handles of all controls at or below the one
  5678. being destroyed, in pre-order. As it is doing this, it marks the
  5679. handles as zombie and clears all references to them.
  5680. 2. calls XDestroyWindow on the window passed in.
  5681. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  5682. list.
  5683. 2006-10-13 Chris Toshok <[email protected]>
  5684. * XplatUIX11.cs: set hwnd.zombie to true before calling
  5685. SendMessage (WM_DESTROY). this keeps us from marking the new
  5686. window a zombie, and also keeps us from calling sendmessage at
  5687. all.
  5688. 2006-10-13 Jackson Harper <[email protected]>
  5689. * TextControl.cs: Do not show the caret and selection at the same
  5690. time. Reduces ugliness by 35%.
  5691. 2006-10-13 Chris Toshok <[email protected]>
  5692. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  5693. zombie after we do the recursive call, so we actually do call
  5694. SendMessage on the children controls.
  5695. (GetMessage): if we find a pending paint event for a zombie hwnd,
  5696. remove the hwnd from the paint queue, or else it will always be
  5697. there (and we'll effectively loop infinitely)
  5698. 2006-10-13 Mike Kestner <[email protected]>
  5699. * MenuItem.cs : add Selected format under keynav too.
  5700. Fixes #79528.
  5701. 2006-10-13 Gert Driesen <[email protected]>
  5702. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  5703. implementation and that of MS.
  5704. 2006-10-13 Chris Toshok <[email protected]>
  5705. * Control.cs (OnInvalidated) only futz with the invalid_region if
  5706. the control is double buffered. this fixes the apparent hang in
  5707. the ListView unit tests. Someone needs to make the
  5708. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  5709. 2006-10-13 Chris Toshok <[email protected]>
  5710. * PropertyGridView.cs:
  5711. - do a little refactoring so that only one place calls
  5712. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  5713. else call that. Also make it Refresh, since there are redraw bugs
  5714. otherwise (we should take a look at that...)
  5715. - do a little more refactoring work to share the body of code
  5716. involved with the drop down. it was duplicated in the code
  5717. dealing with the listbox handling and in the code dealing with the
  5718. UITypeEditors.
  5719. - add a Capture to the dropdown form's control once it's
  5720. displayed, and add a MouseDown handler that checks to make sure
  5721. the position is inside the control. If it's not, close the
  5722. dropdown. This fixes #78190.
  5723. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  5724. if the value is different than the initial value.
  5725. 2006-10-13 Andreia Gaita <[email protected]>
  5726. * Control.cs: see #78650
  5727. - Fixed GetNextControl for several cases:
  5728. - Changed FindFlatForward to return
  5729. correct sibling control when more than one
  5730. control has same TabIndex as the currently
  5731. focused one.
  5732. - Changed FindFlatBackward to loop children
  5733. from last to first and apply same logic as in
  5734. FindFlatForward
  5735. - Changed FindControlForward to search for
  5736. children when control is not a container
  5737. but has children, or search for siblings if
  5738. control is a container...
  5739. - Changed FindControlBackward to continue
  5740. searching for child controls when hitting
  5741. Panel-like parents
  5742. - Fixed Focus method to update ActiveControl
  5743. (FocusTest.FocusSetsActive failure)
  5744. * TabControl.cs:
  5745. - Focus rectangle now refreshes when gaining
  5746. or losing focus
  5747. - Removed grab for Tab key on IsInputKey that
  5748. was keeping tab navigation from working (#78650)
  5749. 2006-10-13 Chris Toshok <[email protected]>
  5750. * PropertyGridView.cs:
  5751. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  5752. SelectedObjects.
  5753. - Deal with GridItem.Value == null a few places.
  5754. * PropertyGrid.cs:
  5755. - replace the PopulateGridItemCollection with a pair of methods
  5756. which compute the intersection of all the properties in the
  5757. SelectedObjects array. Fixes #79615.
  5758. - Throw ArgumentException from set_SelectedObjects if there's a
  5759. null in the array.
  5760. - Add GetTarget method which can be used to traverse up the
  5761. GridItem.Parent chain. It depends on the assumption that
  5762. selected_objects for different GridEntries are always in the same
  5763. order (a safe assumption). Use this method and loop over all the
  5764. selected objects in the entry when calling RemoveValueChanged and
  5765. AddValueChanged.
  5766. * GridEntry.cs: Make this handle multiple selected objects.
  5767. .Value returns null if not all the selected objects share the same
  5768. value.
  5769. 2006-10-12 Jonathan Pobst <[email protected]>
  5770. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  5771. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  5772. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  5773. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  5774. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  5775. add additional functionality.
  5776. 2006-10-12 Mike Kestner <[email protected]>
  5777. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  5778. * HelpProvider.cs : new ToolTipWindow ctor sig.
  5779. * ToolTip.cs : remove ToolTip param from Window sig since it is
  5780. not used.
  5781. * ToolBar.cs : add tooltip support. Fixes #79565.
  5782. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5783. * ComboBox.cs: move the events in set_SelectedIndex to
  5784. after the call to HighlightIndex in order to avoid
  5785. possible recursion and subsequent problems with the call
  5786. to HighlightIndex and include a range check in
  5787. set_HighlightIndex. Fixes #79588
  5788. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5789. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  5790. to ui thread's settings instead of sunday.
  5791. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  5792. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5793. * DateTimePicker.cs
  5794. * MonthCalendar.cs
  5795. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  5796. and implement missing functionality (selecting different parts
  5797. of the date and edit them individually with the keyboard).
  5798. 2006-10-11 Chris Toshok <[email protected]>
  5799. * Control.cs (OnInvalidated): fix NRE relating to last change.
  5800. 2006-10-11 Chris Toshok <[email protected]>
  5801. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  5802. atoms in _NET_WM_STATE here if the window is maximized. We need
  5803. to do this because we're *replacing* the existing _NET_WM_STATE
  5804. property, so those atoms will be lost otherwise, and any further
  5805. call to GetWindowState will return Normal for a window which is
  5806. actually maximized. Fixes #79338.
  5807. 2006-10-11 Jackson Harper <[email protected]>
  5808. * TextControl.cs: Special case for setting selection end to
  5809. selection start, we basically kill the anchor.
  5810. - some todo comments.
  5811. 2006-10-11 Chris Toshok <[email protected]>
  5812. * Control.cs: switch to using an "invalid_region" to track which
  5813. parts of the image buffer need updating. This is more code than
  5814. the simple fix from r66532. That version just attempted to always
  5815. fill the entire buffer on redraw, which turns out to be
  5816. inefficient when invalidating small rectangles. This version
  5817. simply adds the invalid rectangle to the invalid region. When we
  5818. get any WM_PAINT message we see if it can be filled using the
  5819. image buffer, and if it can't (if the paint event's clip rectangle
  5820. is visible in the invalid region) we first fill the image buffer.
  5821. So, the image buffer is still a cache, we just fill it lazily.
  5822. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  5823. need it any longer.
  5824. 2006-10-11 Chris Toshok <[email protected]>
  5825. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  5826. well as size after calling XMoveResizeWindow. This keeps us from
  5827. ignoring future SetWindowPos calls. Fixes the disappearing
  5828. DateTimePicker in the ToolBarDockExample from bug #72499.
  5829. 2006-10-11 Chris Toshok <[email protected]>
  5830. * TextBoxBase.cs: reorder things a bit when it comes to
  5831. resizing-causing-recalculation. we were recalculating the
  5832. document when our position was changed, which shouldn't happen.
  5833. We only care about size changes. Clear up some more redundant
  5834. recalculation calls while I'm at it. This makes the toolbar dock
  5835. example snappy when you're just dragging toolbars around (since it
  5836. causes a relayout whenever you move one.)
  5837. 2006-10-11 Chris Toshok <[email protected]>
  5838. * ToolBarButton.cs (get_Rectangle): this only returns
  5839. Rectangle.Empty if Visible == false, or Parent == null.
  5840. Parent.Visible doesn't matter.
  5841. 2006-10-10 Chris Toshok <[email protected]>
  5842. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  5843. by .net 1.1, so switch to an internal method instead.
  5844. 2006-10-10 Chris Toshok <[email protected]>
  5845. * Control.cs (WM_PAINT): when a control is double buffered we draw
  5846. initially to the ImageBuffer and then copy from there. But when a
  5847. parent control which has child controls is double buffered, the
  5848. initial drawing doesn't encompass the entire ClientRectangle of
  5849. the parent control, so we end up with uninitialized bits (this is
  5850. easily seen by dragging the top toolbar in
  5851. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  5852. manually set the ClipRectangle of the paint_event (only the one we
  5853. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  5854. of the nastiness in bug #72499.
  5855. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  5856. which we use in Control.cs's WM_PAINT handling.
  5857. 2006-10-10 Jackson Harper <[email protected]>
  5858. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  5859. 2006-10-10 Chris Toshok <[email protected]>
  5860. * Cursor.cs: Apply a slightly different patch to the one suggested
  5861. in #79609.
  5862. 2006-10-10 Jackson Harper <[email protected]>
  5863. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  5864. not the parent form.
  5865. * TextControl.cs: use difference in old line count vs new count to
  5866. calculate how many lines were added, this takes into account soft
  5867. line breaks properly.
  5868. 2006-10-10 Chris Toshok <[email protected]>
  5869. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  5870. rectangle located at 0,0 and the size of the text. Use
  5871. ClientRectangle instead. This fixes rendering of non-left aligned
  5872. link labels.
  5873. 2006-10-10 Jackson Harper <[email protected]>
  5874. * TextBoxBase.cs: When we set the selection start position the
  5875. caret.
  5876. * TextControl.cs: Need to update the caret when we decrement it to
  5877. zero.
  5878. - Make sure that the selection_visible flag gets reset to false if
  5879. the selection isn't visible. Before this you could get it set to
  5880. visible by changing the selection start, then changing the end to
  5881. equal the start.
  5882. 2006-10-09 Jackson Harper <[email protected]>
  5883. * TreeView.cs: Don't update scrollbars when we aren't visible.
  5884. * TreeNodeCollection.cs: Only need to update scrollbars if being
  5885. added to an expanded visible node or the root node.
  5886. 2006-10-09 Chris Toshok <[email protected]>
  5887. * XplatUIX11.cs (SendMessage): fix NRE.
  5888. 2006-10-09 Jackson Harper <[email protected]>
  5889. * TextBoxBase.cs: Implement horizontal autoscrolling.
  5890. * TextControl.cs: Add a movement types that allows moving forward
  5891. and backwards without wrapping.
  5892. 2006-10-09 Mike Kestner <[email protected]>
  5893. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  5894. with focus "expansion" of labels. Fixes #79532 and then some.
  5895. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  5896. when wrapping.
  5897. 2006-10-09 Jackson Harper <[email protected]>
  5898. * TextBoxBase.cs: Set the default max values to MaxValue since
  5899. we use the scrollbar for autoscrolling and the default value is
  5900. 100. If we don't do this the caret won't keep up with typing
  5901. after about 18 characters.
  5902. * TextControl.cs: Make sure the selection is offset by the
  5903. viewport x. This fixes selection when using auto scrolling.
  5904. 2006-10-07 Andreia Gaita <[email protected]>
  5905. * Form.cs: The active control should be selected after the
  5906. OnLoad so that any child control initialization that affects
  5907. the selection is done. Fixes #79406
  5908. 2006-10-06 Chris Toshok <[email protected]>
  5909. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  5910. to have no evil effects.
  5911. - Stop selecting StructureNotifyMask on non-toplevel windows.
  5912. The only way children should be resized is by using the SWF api,
  5913. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  5914. Toplevel windows can be interacted with via the window manager,
  5915. and so we keep the input mask there.
  5916. The other event StructureNotifyMask gives us (that we care
  5917. about) is DestroyNotify. The code is already structured such
  5918. that it assumes we won't be getting a DestroyNotify event for
  5919. the window we pass to XDestroyWindow (which is what
  5920. StructureNotifyMask is supposed to guarantee.) So, that code
  5921. shouldn't be affected by this either.
  5922. - Stop selecting VisibilityChangeMask altogether.
  5923. We weren't doing anything with the resulting events anyway.
  5924. This vastly reduces the number of X requests and events we see
  5925. when resizing/laying out a large ui.
  5926. 2006-10-06 Chris Toshok <[email protected]>
  5927. * ScrollableControl.cs (DisplayRectangle): we need to take into
  5928. account the DockPadding regardless of whether or not auto_scroll
  5929. == true. rework this slightly to this effect, and fix bug #79606,
  5930. and part of #72499 (you can now see the drag handles and drag
  5931. toolbars around).
  5932. 2006-10-06 Gert Driesen <[email protected]>
  5933. * ListViewItem.cs: Collections of selected and checked items are now
  5934. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  5935. we mark the collection "dirty".
  5936. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  5937. to only clear SelectedItems when a new item is selected and MultiSelect
  5938. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  5939. event of ListViewItemCollection, and mark its list dirty whenever
  5940. that event is fire. This allows us to return selected/checked items
  5941. in the same order as they are in the Items collection. This matches
  5942. the MS behavior.
  5943. 2006-10-06 Chris Toshok <[email protected]>
  5944. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  5945. right mouse clicks. Fixes bug #79593.
  5946. 2006-10-06 Chris Toshok <[email protected]>
  5947. * Splitter.cs: doh, fix splitters that don't want to cancel the
  5948. movement when you drag them. Also, impose the limits on the
  5949. values we send to the SplitterMovingEvent. Fixes #79598.
  5950. 2006-10-06 Jackson Harper <[email protected]>
  5951. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  5952. since we use this for auto scrolling also.
  5953. 2006-10-05 Chris Toshok <[email protected]>
  5954. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  5955. beginning to think that most datagrid column types don't need this
  5956. method. Fixes bug #79392.
  5957. 2006-10-05 Chris Toshok <[email protected]>
  5958. * DataGrid.cs: move back to a more lazy scheme for creating the
  5959. CurrencyManager, so we aren't updating it every time you set
  5960. either DataSource or DataMember. Also, don't call
  5961. RecreateDataGridRows if the currency manager hasn't changed.
  5962. 2006-10-05 Chris Toshok <[email protected]>
  5963. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  5964. emitted, SelectedIndex should already be updated. Fixes bug
  5965. #78929.
  5966. 2006-10-05 Jonathan Pobst <[email protected]>
  5967. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  5968. ToolStripTextBox.cs: Initial commit.
  5969. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  5970. 2006-10-05 Jackson Harper <[email protected]>
  5971. * TabControl.cs: We need to invalidate the tab control area when
  5972. new ones are added (duh).
  5973. 2006-10-03 Chris Toshok <[email protected]>
  5974. * Form.cs (ProcessDialogKey): if the focused control is in this
  5975. form and is a button, call its PerformClick method here. Fixes
  5976. #79534.
  5977. 2006-10-04 Jackson Harper <[email protected]>
  5978. * TabPage.cs: Ignore setting of Visible, and add an internal
  5979. method for setting the controls visibility. TabPage's Visible
  5980. property is a little strange on MS, this seems to make us
  5981. compatible, and fixes cases where people set all the tab pages to
  5982. visible.
  5983. * TabControl.cs: Use the new internal setting on tab pages
  5984. visibility.
  5985. 2006-10-03 Mike Kestner <[email protected]>
  5986. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  5987. 2006-10-03 Mike Kestner <[email protected]>
  5988. * ListView.cs : use is_visible instead of Visible to check if
  5989. scrollbars should be placed/sized. Also some max_wrap_width
  5990. love for LargeIcon view. [Fixes #79533]
  5991. 2006-10-03 Atsushi Enomoto <[email protected]>
  5992. * TextControl.cs :
  5993. Make set_TextAlign() do actually update the align. Fixed #78403.
  5994. 2006-10-03 Chris Toshok <[email protected]>
  5995. * DataGrid.cs: fix a crash when switching datasources if the
  5996. vertical scrollbar is at someplace other than Value = 0. Also,
  5997. reduce the number of recalculation passes we do in SetDataSource
  5998. from 2 to 1.
  5999. 2006-10-03 Jackson Harper <[email protected]>
  6000. * TextBoxBase.cs: Move the if value the same bail check up, we
  6001. don't want to empty the document if it is already empty, this
  6002. seems to severly mess up the caret. TODO: I should probably fix
  6003. the empty statement to update teh caret somehow.
  6004. 2006-10-03 Chris Toshok <[email protected]>
  6005. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  6006. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  6007. reflection, an internal row type, properties on said type, etc.)
  6008. will work with our datagrid. Fixes #79531.
  6009. 2006-10-03 Alexander Olk <[email protected]>
  6010. * FileDialog.cs: Don't crash if a path is not accessible
  6011. (System.UnauthorizedAccessException). Fixes #79569.
  6012. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  6013. a ':' too. Return unknown icon for those paths/files.
  6014. 2006-10-03 Sebastien Pouliot <[email protected]>
  6015. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  6016. GetContainerControl returns null.
  6017. 2006-10-02 Chris Toshok <[email protected]>
  6018. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  6019. call to XGetWindowAttributes instead of "handle". fixes an X
  6020. error using notifyicon after the NotifyIconWindow to Form base
  6021. class switch.
  6022. 2006-10-02 Chris Toshok <[email protected]>
  6023. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  6024. server grab and looping we need to do to get down to the most
  6025. deeply nested child window.
  6026. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  6027. QueryPointer again after the WarpPointer so we can generate a
  6028. proper (fake) MotionNotify event to be enqueued in the destination
  6029. window's queue.
  6030. (GetCursorPos): call QueryPointer.
  6031. Fixes #79556.
  6032. 2006-10-02 Jackson Harper <[email protected]>
  6033. * NotifyIcon.cs: Derive the notify icon from a form, so things
  6034. like FindForm work on it.
  6035. - Swallow the WM_CONTEXTMENU message, since that is generated on
  6036. mouse down, and context menu is a mouse up kinda guy. I believe
  6037. the correct fix here is probably to make the notify icon entirely
  6038. NC area, but this seems to work fine for anyone not manipulating
  6039. WndProc.
  6040. 2006-10-02 Jonathan Pobst <[email protected]>
  6041. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  6042. ToolStripItemCollection.cs, ToolStripLabel.cs,
  6043. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  6044. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  6045. Initial implementation.
  6046. * TextRenderer.cs: Provide padding to MeasureText.
  6047. 2006-10-02 Sebastien Pouliot <[email protected]>
  6048. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  6049. of ButtonBaseAccessibleObject. Fix bug #79552.
  6050. 2006-10-02 Jackson Harper <[email protected]>
  6051. * MdiWindowManager.cs: When maximizing use the containers client
  6052. rect, not it's bounds, so nc area is accounted correctly.
  6053. - Use the parent form's size for the menu position, since the
  6054. client isn't always the full form size.
  6055. 2006-10-01 Chris Toshok <[email protected]>
  6056. * ScrollableControl.cs: make sure neither right_edge or
  6057. bottom_edge are < 0, since they're used as LargeChange for the
  6058. horiz/vert scrollbars respectively. Fixes #79539.
  6059. 2006-10-01 Chris Toshok <[email protected]>
  6060. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  6061. the xplatuix11 code can cause us to destroy/recreate our handle.
  6062. * XplatUIX11.cs
  6063. (SystrayAdd):
  6064. - this code can be invoked many times for the same Hwnd. Make
  6065. sure we only destroy the client window once (the first time this
  6066. method is called). This fixes bug #79544.
  6067. - Remove the call to the improperly bound XSync. why we had two
  6068. bindings to this, I will never know, but this call resulted in
  6069. events being discarded from the queue(!).
  6070. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  6071. not our current state but the state we wish to be in. So, 0 if
  6072. we don't want to be mapped. Change it to 1.
  6073. (SystrayRemove): The XEMBED spec makes mention of the fact that
  6074. gtk doesn't support the reparent of client windows away from the
  6075. embedder. Looking at gtksocket-x11.c seems to agree with this.
  6076. The only avenue we have for removing systray icons is to destroy
  6077. them. We don't want the handle to go away for good, though, so
  6078. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  6079. #79545.
  6080. 2006-10-01 Chris Toshok <[email protected]>
  6081. * Form.cs (WndProc): inline the native_enabled variable usage into
  6082. the cases in which it's used. Fixes #79536.
  6083. 2006-09-29 Mike Kestner <[email protected]>
  6084. * ListView.cs : toggle the selection state for ctrl clicks in
  6085. multiselect mode. [Fixes #79417]
  6086. 2006-09-29 Mike Kestner <[email protected]>
  6087. * ListView.cs : kill CanMultiSelect and refactor the selection
  6088. code to support multiselection in the absence of mod keys. Steal
  6089. arrow/home/end keys by overriding InternalPreProcessMessage to
  6090. restore regressed keynav behavior.
  6091. [Fixes #79416]
  6092. 2006-09-29 Jackson Harper <[email protected]>
  6093. * MdiClient.cs: Repaint the titlebars when the active window is
  6094. changed.
  6095. 2006-09-29 Chris Toshok <[email protected]>
  6096. * Application.cs: when entering a runloop with a modal, make sure
  6097. the hwnd is enabled. Fixes #79480.
  6098. 2006-09-29 Chris Toshok <[email protected]>
  6099. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  6100. when ListManager.CanAddRows == false, bump us back one.
  6101. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  6102. listmanager.CanAddRows check. This makes ArrayLists uneditable
  6103. using a datagrid, which is not right.
  6104. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  6105. is an IEditable, but call property_descriptor.SetValue regardless.
  6106. fixes #79435.
  6107. 2006-09-29 Chris Toshok <[email protected]>
  6108. * DataGridBoolColumn.cs: we need to test equality in the face of
  6109. possible null values (as is the case with the default NullValue).
  6110. This patch keeps us from crashing in that case.
  6111. 2006-09-29 Jackson Harper <[email protected]>
  6112. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  6113. here, since it will get called for every node collection in the
  6114. tree. This is now done in the treeview once the sorting is
  6115. finished.
  6116. * TreeView.cs: Recalculate the visible order, and update the
  6117. scrollbars after sorting, set the top nope to the root so that the
  6118. recalc actually works.
  6119. 2006-09-29 Chris Toshok <[email protected]>
  6120. * LinkLabel.cs: more handling of the default link collection in
  6121. the face of LinkArea manipulation. The default link collection
  6122. contains 1 element (start=0,length=-1). If the user sets LinkArea
  6123. to anything and the links collection is the default, clear it.
  6124. Then only add the link if its nonempty. Fixes #79518.
  6125. 2006-09-29 Chris Toshok <[email protected]>
  6126. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  6127. piece correctly when we hit a '\n'. Fixes #79517.
  6128. 2006-09-29 Chris Toshok <[email protected]>
  6129. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  6130. change the binding of gdk_init_check to take two IntPtr's, and
  6131. pass IntPtr.Zero for both of them. Fixes #79520.
  6132. 2006-09-29 Mike Kestner <[email protected]>
  6133. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  6134. [Fixes #78779]
  6135. 2006-09-28 Jackson Harper <[email protected]>
  6136. * XplatUIX11.cs: When translating NC messages make sure we go from
  6137. whole window to screen, not client window to screen.
  6138. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  6139. method doesn't exist
  6140. - Skip over controls that aren't forms when arranging.
  6141. 2006-09-28 Jackson Harper <[email protected]>
  6142. * XplatUIWin32.cs: Clip the rect to the parent window.
  6143. * XplatUIStructs.cs: Add clipping modes struct.
  6144. * InternalWindowManager.cs: New private method that factors title
  6145. bar heights in when calculating the pos of an NC mouse message.
  6146. - Use SendMessage to force a paint when the form's size is changed
  6147. instead of painting the decorations immediately.
  6148. - Don't let the NC button click messages get to DefWndProc,
  6149. because they will attempt to handle windowing themself, and this
  6150. messes up z-order (it will put them in front of the scrollbars).
  6151. * XplatUIX11.cs: Make sure that we don't reset window managers if
  6152. we already have one (ie the window is an MDI window).
  6153. 2006-09-28 Chris Toshok <[email protected]>
  6154. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  6155. menu code really needs going over.
  6156. 2006-09-27 Chris Toshok <[email protected]>
  6157. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  6158. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  6159. window is maximizable. So, we need to make sure that even if we
  6160. clear the border/wm frame of those functions, they're still
  6161. available (basically, we remove the decoration without removing
  6162. the function). Half the fix for #79338.
  6163. 2006-09-27 Chris Toshok <[email protected]>
  6164. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  6165. Fixes bug #79515.
  6166. 2006-09-27 Chris Toshok <[email protected]>
  6167. * Splitter.cs: reorder things a bit so that we don't actually
  6168. draw/move the splitter until after calling OnSplitterMoving. This
  6169. lets users cancel/disallow the movement by explicitly setting
  6170. event.SplitX/SplitY. Fixes #79372.
  6171. 2006-09-27 Jackson Harper <[email protected]>
  6172. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  6173. because it is most likely on a window being destroyed, and that
  6174. will give us an X11 error.
  6175. 2006-09-27 Chris Toshok <[email protected]>
  6176. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  6177. the dropdown button now toggles between showing and hiding the
  6178. dropdown. Also, get rid of dropdown_form_showing and just use
  6179. dropdown_form.Visible. We still don't do a grab, but I'll leave
  6180. that part to someone who has handled Capture-fu before.
  6181. 2006-09-27 Chris Toshok <[email protected]>
  6182. * DataGrid.cs: return false if alt isn't pressed when '0' is
  6183. pressed. this keeps the '0' key from being swallowed, and fixes
  6184. bug #79350.
  6185. 2006-09-27 Chris Toshok <[email protected]>
  6186. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  6187. Calling Refresh (in response to a scrollbar event) screws up the
  6188. scrollbar painting. Fixes bug #78923.
  6189. 2006-09-27 Chris Toshok <[email protected]>
  6190. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  6191. then insert into hashtable" blocks threadsafe.
  6192. 2006-09-27 Chris Toshok <[email protected]>
  6193. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  6194. baseclass's, since otherwise the
  6195. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  6196. effect. This gets the close button back in messageboxes.
  6197. 2006-09-27 Chris Toshok <[email protected]>
  6198. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  6199. flag, not just != 0. this makes flags that are actually multiple
  6200. bits (like WS_CAPTION) work. fixes bug #79508.
  6201. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  6202. * PageSetupDialog.cs: add support for getting and settings the
  6203. paper size, source and orientation.
  6204. 2006-09-26 Chris Toshok <[email protected]>
  6205. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  6206. and caption == "", we need to remove the resize handles as well as
  6207. the title bar.
  6208. * Control.cs (set_Text): turns out that setting Text on a form
  6209. should change the WM styles on the window, since if ControlBox ==
  6210. false, the only way to get a window border is to have a non-""
  6211. Text property. check winforms/forms/text.cs for an example. so,
  6212. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  6213. update both window styles and title. This fixes a lot of dialogs
  6214. (including the preferences dialog in MonoCalendar.)
  6215. 2006-09-26 Chris Toshok <[email protected]>
  6216. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  6217. control isn't a Form), call Win32ShowWindow to hide the window,
  6218. but don't update the control Visible property. When we reparent
  6219. back to a parent control, call SetVisible in order for the
  6220. window's visibility to be reinstated.
  6221. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  6222. the FosterParent.
  6223. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  6224. call for good, since it breaks MonoCalendar (and other things I'm
  6225. sure.) Also, set all_controls to null *after* the owner calls,
  6226. which end up regenerating it.
  6227. (ChangeParent): allow new_parent to be == null, passing
  6228. IntPtr.Zero down to XplatUI.
  6229. this fixes #79294 the right way.
  6230. 2006-09-26 Mike Kestner <[email protected]>
  6231. * GridEntry.cs : internal SetParent method.
  6232. * PropertyGrid.cs : attach to property changed on the proper
  6233. target if we have a hierarchical grid with subobjects. Setup
  6234. GridItem.Parent for hierarchical items.
  6235. * PropertyGridView.cs : Set value on the correct target for
  6236. hierarchical grids. [Fixes #78903]
  6237. 2006-09-26 Chris Toshok <[email protected]>
  6238. * Control.cs (ChildNeedsRecreating): this should return true if
  6239. either we're being recreated and the child is in our list, or our
  6240. parent is waiting for our recreation.
  6241. 2006-09-26 Chris Toshok <[email protected]>
  6242. * Control.cs (ControlCollection.Remove): reinstate the
  6243. value.Hide() call as suggested in bug #79294.
  6244. 2006-09-26 Sebastien Pouliot <[email protected]>
  6245. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  6246. coordinates (versus a relative move).
  6247. 2006-09-26 Chris Toshok <[email protected]>
  6248. * Control.cs: rework child recreation a little bit. It turns out
  6249. that we race between the DestroyNotify the WM_DESTROY message. If
  6250. the parent gets its DestroyNotify before the child gets the
  6251. WM_DESTROY message, the child ends up not recreating (since the
  6252. parent finishes its recreation on DestroyNotify, and the child
  6253. checks ParentIsRecreating.)
  6254. So, instead we store off a list of all the child controls which
  6255. need to be recreated when the parent control starts to recreate
  6256. itself. Then, when child controls get their WM_DESTROY message we
  6257. check to see if they're in the parent's pending recreation list,
  6258. and if so, we recreate. This removes all dependency on ordering
  6259. from the code and fixes the initial MonoCalendar upgrade dialog.
  6260. 2006-09-26 Jackson Harper <[email protected]>
  6261. * TextControl.cs: Use the Line to get the length of the line,
  6262. since soft line breaks can change the end line.
  6263. 2006-09-26 Chris Toshok <[email protected]>
  6264. * Control.cs (ControlCollection.AddImplicit): don't add the
  6265. control again if it's already in one of our lists. This keeps us
  6266. from adding controls over and over again for comboboxes when their
  6267. handle gets recreated (as the combobox adds implicit controls in
  6268. OnHandleCreated). Fixes the X11 errors in bug #79480.
  6269. 2006-09-26 Jackson Harper <[email protected]>
  6270. * TextControl.cs: When deleting characters make sure that any
  6271. orphaned zero lengthed tags get deleted.
  6272. - Fix ToString for zero lengthed tags.
  6273. 2006-09-25 Jackson Harper <[email protected]>
  6274. * TextControl.cs: When getting a tag at the location there can be
  6275. multiple tags at the same spot, these are 0-lengthed tags that
  6276. appear when extra formatting has been stuck in a location. We
  6277. need to pull out the last of these 0 lengthed tags.
  6278. 2006-09-25 Jackson Harper <[email protected]>
  6279. * TextControl.cs: Fix print out in debug method.
  6280. * TextBoxBase.cs: When text is set bail if we are setting to the
  6281. previous value.
  6282. 2006-09-24 Alexander Olk <[email protected]>
  6283. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  6284. It is now possible to change the selected index in a FontXXXListBox
  6285. with the up and down arrow keys from the FontXXXTextBoxes.
  6286. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  6287. FontXXXListBoxes to match ms.
  6288. 2006-09-22 Sebastien Pouliot <[email protected]>
  6289. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  6290. anyone can dispose it, anytime. All other properties returns enums,
  6291. structs or basic types so they don't need such tricks.
  6292. 2006-09-22 Jackson Harper <[email protected]>
  6293. * XplatUI.cs:
  6294. * XplatUIWin32.cs:
  6295. * Clipboard.cs:
  6296. * DataFormats.cs:
  6297. * XplatUIOSX.cs:
  6298. * XplatUIDriver.cs: Update interface to add a primary selection
  6299. flag, so the driver can use the primary selection buffer if
  6300. needed.
  6301. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  6302. * RichTextBox.cs: We need to supply the data object to paste now
  6303. (so we can choose to supply CLIPBOARD or PRIMARY).
  6304. * TextBoxBase.cs: Supply data object to paste (see above).
  6305. - Middle click uses the primary selection data object.
  6306. 2006-09-21 Chris Toshok <[email protected]>
  6307. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  6308. of SetWMStyles. It's still a rat's nest and is largely
  6309. order-dependent which I dislike immensely. This also fixes the X
  6310. button disappearing from toplevel forms.
  6311. 2006-09-21 Mike Kestner <[email protected]>
  6312. * ListBox.cs: move Jordi's click/dblclick raising code to the
  6313. mouse up handler.
  6314. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  6315. * ListBox.cs: Fixes 79450
  6316. 2006-09-21 Mike Kestner <[email protected]>
  6317. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  6318. to deal with people updating the TreeNodeCollection after the tree
  6319. is disposed. "Fixes" 79330.
  6320. 2006-09-20 Jackson Harper <[email protected]>
  6321. * TextControl.cs: Push the cursor record onto the undo stack
  6322. before the delete action. This fixes 78651.
  6323. 2006-09-20 Jonathan Chambers <[email protected]>
  6324. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  6325. CreateParams. Fixes 79329.
  6326. 2006-09-19 Chris Toshok <[email protected]>
  6327. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  6328. things up a bit. First, get rid of the NetAtoms array (and the NA
  6329. enum), and just embed the atoms as static fields. Also, add a
  6330. couple of functions (StyleSet and ExStyleSet) to clean up all the
  6331. bitmask testing of styles.
  6332. * X11Structs.cs: remove the NA enum, not needed anymore.
  6333. 2006-09-19 Chris Toshok <[email protected]>
  6334. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  6335. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  6336. added cleanup to get MessageBox titles appearing again, which were
  6337. broken by my earlier fix for caption-less/ControlBox-less windows.
  6338. 2006-09-18 Jonathan Pobst <[email protected]>
  6339. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  6340. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  6341. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  6342. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  6343. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  6344. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  6345. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  6346. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  6347. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  6348. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  6349. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  6350. Inital import.
  6351. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  6352. ToolStripButton.cs: Stubs needed for above.
  6353. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  6354. 2006-09-15 Chris Toshok <[email protected]>
  6355. * XplatUIX11.cs:
  6356. - make the MessageQueues hashtable Synchronized.
  6357. - SendMessage: if the Hwnd is owned by a different thread, use the
  6358. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  6359. thread. Fixes bug #79201.
  6360. 2006-09-15 Chris Toshok <[email protected]>
  6361. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  6362. ControlBox == false, we disallow maximize/minimize/close. If the
  6363. form Caption is "" we also disallow move (and get rid of the Title
  6364. decoration). Unfortunately, regardless of how things are set,
  6365. we're stuck with the Title and WM menu.
  6366. 2006-09-15 Chris Toshok <[email protected]>
  6367. * Application.cs: add locking around the static message_filters
  6368. ArrayList, part of #79196.
  6369. 2006-09-15 Chris Toshok <[email protected]>
  6370. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  6371. Form.ControlBox == false, the window has no titlebar nor resize
  6372. handles. fixes bug #79368.
  6373. 2006-09-15 Chris Toshok <[email protected]>
  6374. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  6375. >= 0. Fixes bug #79370.
  6376. 2006-09-15 Jonathan Pobst <[email protected]>
  6377. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  6378. * Control.cs:
  6379. Add properties: LayoutEngine, Margin, DefaultMargin.
  6380. Add method: GetPreferredSize.
  6381. Move layout logic from PerformLayout to layout engines.
  6382. 2006-09-13 Chris Toshok <[email protected]>
  6383. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  6384. fix for #79326 broke #78718, so this change addresses that.
  6385. - in SendWMDestroyMessages remove the call to
  6386. CleanupCachedWindows, since we might be recreating the control and
  6387. need to maintain the references to right Hwnd handles. Also, set
  6388. the zombie flag to true for each of the children in the hierarchy
  6389. instead of calling hwnd.Dispose. This will cause GetMessage to
  6390. ignore all events for the window except for DestroyNotify.
  6391. - In GetMessage, ignore messages except for DestroyNotify for
  6392. zombie hwnds.
  6393. * Control.cs: revert the is_recreating fix from the last
  6394. ChangeLog. It's definitely "right", but it breaks switching from
  6395. an MDI form to a non-MDI form. Will need to revisit that.
  6396. * Hwnd.cs: add a zombie flag, which means "the
  6397. client_window/whole_window handles are invalid, but we're waiting
  6398. for the DestroyNotify event to come in for them". Set the flag to
  6399. false explicitly if setting WholeWindow/ClientWindow, and also
  6400. when Disposing.
  6401. 2006-09-13 Chris Toshok <[email protected]>
  6402. * XplatUIX11.cs: rework window destruction slightly.
  6403. - when destroying the windows associated with a control, we don't
  6404. need 2 separate XDestroyWindow calls. Just the one for the
  6405. whole_window (or for client_window if whole_window is somehow
  6406. IntPtr.Zero -- can this happen?) is enough.
  6407. - reworked SendWMDestroyMessages slightly, so we always dispose
  6408. the child control hwnd's after sending the messages.
  6409. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  6410. the two places it was used (one was even using hwnd.Handle and the
  6411. other hwnd.client_window. ugh), adding another call in
  6412. SendWMDestroyMessages. We need this new call because now the
  6413. DestroyNotify events in the queue will be ignored for the child
  6414. controls (as their hwnd's were disposed, and the window id's
  6415. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  6416. - this fixes bug #79326.
  6417. 2006-09-13 Chris Toshok <[email protected]>
  6418. * Control.cs: don't always set is_recreating to false at the end
  6419. of RecreateHandle, since sometimes we're not done (and won't be
  6420. until WndProc handles the WM_DESTROY message). Also, set
  6421. is_recreating to false in the WM_DESTROY handling code. Part of
  6422. the fix for bug #79326.
  6423. 2006-09-13 Miguel de Icaza <[email protected]>
  6424. * X11DesktopColors.cs: Start the droppage of debugging messages.
  6425. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  6426. 2006-09-13 Jonathan Pobst <[email protected]>
  6427. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  6428. 2006-09-12 Chris Toshok <[email protected]>
  6429. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  6430. to create it using SetDataSource. Fixes bug #79151.
  6431. 2006-09-11 Chris Toshok <[email protected]>
  6432. * XEventQueue.cs: add a DispatchIdle property.
  6433. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  6434. either the queue is null, or the queue has DispatchIdle set to
  6435. true.
  6436. (DoEvents): set queue.DispatchIdle to false around the
  6437. peek/translate/dispatch message loop in this method. This keeps
  6438. Application.Doevents from emitting idle events. Part of the fix
  6439. for #78823.
  6440. 2006-09-11 Chris Toshok <[email protected]>
  6441. * DataGrid.cs (set_DataSource): make this work for both the
  6442. winforms/datagrid test and ReportBuilder. It seems as though when
  6443. we've created a ListManager (or maybe it's if we have a
  6444. BindingContext?), when we set the DataSource it clears the
  6445. DataMember to "". otherwise we reuse the datamember. Fixes bug
  6446. #79333.
  6447. 2006-09-11 Chris Toshok <[email protected]>
  6448. * XplatUIX11.cs: deal with queue being null, which happens in all
  6449. the Clipboard functions. Fixes one of the two problems mentioned
  6450. in #78612.
  6451. 2006-09-11 Chris Toshok <[email protected]>
  6452. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  6453. button on various spots (including outside the menu) works closer
  6454. to MS, and doesn't crash. Fixes #79343.
  6455. 2006-09-11 Gert Driesen <[email protected]>
  6456. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  6457. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  6458. and the internal comparer is set. When a new ListViewItemSorter is set,
  6459. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  6460. was specified. No further processing is necessary if SortOrder is set
  6461. to it's current value. If Sorting is modified to None, and View is
  6462. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  6463. (either custom or our internal ItemComparer) to null, on 1.0 profile
  6464. only set item_sorter to null if its our internal IComparer. If Sorting
  6465. is modified to Ascending or Descending, then use our internal IComparer
  6466. if none is set, and if the current IComparer is our internal one then:
  6467. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  6468. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  6469. Enum.IsDefined to verify whether a valid View value is specified in
  6470. its setter. Automatically sort listview items when listview is
  6471. created. In Sort, do nothing if ListView is not yet created, or if
  6472. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  6473. to None or ListViewItemSorter was set to null). Added Sort overload
  6474. taking a bool to indicate whether the ListView should be redrawn when
  6475. items are sorted (we use this in ListViewItemCollection to avoid double
  6476. redraws). Modified our internal IComparer to take the sort order into
  6477. account. In Add and AddRange methods of ListViewItemCollection, also
  6478. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  6479. view), but use overload with noredraw option to avoid double redraw.
  6480. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  6481. true when View is Tile, and do the same when attempting to set View to
  6482. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  6483. for selected/checked indices, as it involves overhead when sorting is
  6484. done while these collections are not used all that often. Instead
  6485. we'll build the indices on demand. Modified IList implementation of
  6486. CheckedIndexCollection to use public methods if object is int.
  6487. Modified CheckedListViewItemCollection to hide checked items if
  6488. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  6489. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  6490. IList implementation in SelectedIndexCollection to use public methods
  6491. if object is int. Modified SelectedListViewItemCollection to hide
  6492. selected items if listview is not yet created.
  6493. * ListViewItem.cs: CheckedIndices list no longer needs to be
  6494. maintained separately (see ListView changes). Also clone font, fixes
  6495. test failure.
  6496. 2006-09-11 Mike Kestner <[email protected]>
  6497. * ComboBox.cs: if we are updating the contents of the currently
  6498. selected index, refresh the control or the textbox selection.
  6499. [Fixes #79066]
  6500. 2006-09-11 Mike Kestner <[email protected]>
  6501. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  6502. the 'specified' logic has been moved there. This seems like a bug
  6503. in Control.cs, since our current SetBoundsCore completely ignores
  6504. the specified parameter. Peter's commit seems to indicate that is
  6505. the way the MS control implementation works. [Fixes #79325]
  6506. 2006-09-10 Jonathan Chambers <[email protected]>
  6507. * XplatUI.cs: Set default_class_name to be composed
  6508. of current domain id. This allows MWF to be loaded in multiple
  6509. domains on Win32.
  6510. 2006-09-09 Miguel de Icaza <[email protected]>
  6511. * X11Keyboard.cs: If we are unable to obtain the input method, do
  6512. not call CreateXic to create the input context. Should fix
  6513. #78944/79276.
  6514. 2006-09-08 Alexander Olk <[email protected]>
  6515. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  6516. Simplified gnome support by adding more pinvokes to get the
  6517. icon for a file or mime type.
  6518. 2006-09-08 Jackson Harper <[email protected]>
  6519. * MenuAPI.cs: Deslect popup context menu items before closing the
  6520. window, so that you don't see the previously selected item
  6521. selected when you reopen the menu.
  6522. * TextControl.cs: Update the cursor position even if we don't have
  6523. focus. This fixes typing in things like the ComboBox. I'm not
  6524. totally sure we should always set the visibility if we don't have
  6525. focus, but couldn't find any corner cases where the cursor showed
  6526. up when it shouldn't.
  6527. 2006-09-08 Chris Toshok <[email protected]>
  6528. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  6529. our arrays are length 256. & 0xff before indexing. Fixes the
  6530. crash in bug #78077.
  6531. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  6532. * ThemeWin32Classic.cs:
  6533. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  6534. is true. Handle that check box too.
  6535. 2006-09-07 Chris Toshok <[email protected]>
  6536. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  6537. 79244.
  6538. 2006-09-07 Chris Toshok <[email protected]>
  6539. * Control.cs: in set_BackColor only do the work if
  6540. background_color != value.
  6541. * XplatUIX11.cs: move the clearing of invalid areas (both client
  6542. and nc) to the same block of code where we set (nc_)expose_pending
  6543. to false. That is, move it from PaintEventEnd to PaintEventStart,
  6544. so things that cause invalidates from within OnPaint will trigger
  6545. another call to OnPaint. Fixes bug #79262.
  6546. 2006-09-07 Alexander Olk <[email protected]>
  6547. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  6548. * FileDialog.cs: Fix typo
  6549. 2006-09-07 Jackson Harper <[email protected]>
  6550. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  6551. for tab pages if they have any.
  6552. 2006-09-06 Mike Kestner <[email protected]>
  6553. * Splitter.cs: use the "current" rect when finishing drag handle
  6554. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  6555. 2006-09-06 Mike Kestner <[email protected]>
  6556. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  6557. support offset splitters. [Fixes #79298]
  6558. 2006-09-06 Alexander Olk <[email protected]>
  6559. * Mime.cs: Fixed a bug that could override the global mime type
  6560. result.
  6561. 2006-09-05 Jackson Harper <[email protected]>
  6562. * TabControl.cs: Better calculation method for setting the slider
  6563. pos. Prevents crashes on really wide tabs.
  6564. - Draw Image on tab pages if an image list is used.
  6565. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  6566. * MonthCalendar.cs: When Font changes, the Size should be
  6567. updated to fit the new font's space requirements.
  6568. 2006-09-02 Alexander Olk <[email protected]>
  6569. * ListBox.cs: If the items are cleared with Items.Clear set
  6570. top_index to 0.
  6571. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  6572. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  6573. fire DateChanged event instead of DateSelected event when
  6574. the date was changed by keyboard interaction.
  6575. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  6576. * DateTimePicker.cs: Handle DateChanged for the associated
  6577. month_calendar control, and set month_calendar.Font from
  6578. OnFontChanged method, as well as resize the height of the
  6579. control when needed. Make PreferredHeight proportional.
  6580. 2006-09-01 Chris Toshok <[email protected]>
  6581. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  6582. properties.
  6583. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  6584. 2006-09-01 Peter Dennis Bartok <[email protected]>
  6585. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  6586. for decorations (Fixes #79219)
  6587. 2006-09-01 Mike Kestner <[email protected]>
  6588. * ComboBox.cs: first stab at sorting plus some selection handling
  6589. fixes to bring us more in line with MS behavior. Also switches back
  6590. to index based selection. Alternative patches for index-based
  6591. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  6592. and [email protected] on bug 78848. I assume they were similar to this
  6593. code I've had simmering in my tree forever.
  6594. [Fixes #78848]
  6595. 2006-09-01 Chris Toshok <[email protected]>
  6596. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  6597. when setting list position guard against ending up with a -1 index
  6598. (the other part of the fix for #78812). Should probably make sure
  6599. we don't need the analogous fix in the ItemDeleted case.
  6600. * DataGrid.cs:
  6601. - in SetDataSource, work around the fact that the way
  6602. OnBindingContextChanged is invoked will cause us to re-enter this
  6603. method. I'll remove the hack once I investigate
  6604. OnBindingContextChanged.
  6605. - fix the logic in set_DataSource and set_DataMember (basically
  6606. what to do if the other of the two is null.)
  6607. - in OnListManagerItemChanged, we need to take into account the
  6608. edit row when deciding whether or not to call RecreateDataGridRows
  6609. (part of the fix for #78812).
  6610. 2006-09-01 Jackson Harper <[email protected]>
  6611. * Splitter.cs: Don't do anything if there is no control to affect
  6612. (prevents us from crashing in weird tet cases).
  6613. * TreeView.cs: Bounding box for the mouse movement reverting
  6614. focus/selection back to previously selected node. This matches
  6615. MS, and makes the tree a lot more useable.
  6616. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  6617. use clipping so they are not drawn. This fixes when the control
  6618. is set to have a transparent background, or if it was over an
  6619. image.
  6620. 2006-09-01 Alexander Olk <[email protected]>
  6621. * MimeIcon.cs: Improved handling for reading default icons when
  6622. using gnome (2.16 made it necessary). Check and read svg icons
  6623. first, then 48x48 and then 32x32 icons.
  6624. 2006-08-31 Chris Toshok <[email protected]>
  6625. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  6626. visible.
  6627. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  6628. ProcessKeyPreview. Fixes part of #77806.
  6629. * DataGrid.cs: big patch.
  6630. - revert the queueing up of DataSource/DataMember if inside
  6631. BeginInit/EndInit calls. That's not the way the datagrid achieves
  6632. its delayed databinding. Instead, call SetDataSource in
  6633. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  6634. #78811.
  6635. - Also, it wasn't mentioned in #78811, but the test case exhibits
  6636. behavior that was lacking in our datagrid implementation - Columns
  6637. that have mapping names that don't exist in the datasource's
  6638. properties aren't shown. Yuck. To fix this I added the bound
  6639. field to the column style, and basically any calculation to figure
  6640. out anything about columns uses a loop to find the bound columns.
  6641. still need to investigate if I can cache an array of the bound
  6642. columns or if the indices must be the same.
  6643. - When setting CurrentCell, we no longer abort if the cell being
  6644. edited was in the add row. This fixes the other part of #77806.
  6645. - The new code also fixes #78807.
  6646. * ThemeWin32Classic.cs: perpetrate the same disgusting
  6647. column.bound field hack, and only render bound fields.
  6648. 2006-08-31 Chris Toshok <[email protected]>
  6649. * DataGridColumnStyle.cs: add bound field. this field is true if
  6650. the datasource has a property corresponding to the mapping name.
  6651. * DataGridTableStyle.cs: set the bound field on the column styles
  6652. depending on whether or not we have a column for that property.
  6653. 2006-08-31 Peter Dennis Bartok <[email protected]>
  6654. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  6655. splitter control (fixes #79228)
  6656. 2006-08-31 Chris Toshok <[email protected]>
  6657. * DataGridColumnStyle.cs: we need to delay the assignment of
  6658. property descriptor until the last possible moment due to the lazy
  6659. databinding stuff in the datagrid. Also, fix the exceptions
  6660. thrown by CheckValidDataSource to match MS.
  6661. 2006-08-31 Jackson Harper <[email protected]>
  6662. * Form.cs: When activated select the active control, if there is
  6663. no active control, we select the first control.
  6664. * XplatUIX11.cs: If there is no focus control when we get a
  6665. FocusIn event, find the toplevel form and activate it. This
  6666. occurs when you popup a window, it becomes the focus window, then
  6667. you close that window, giving focus back to the main window.
  6668. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  6669. * MonthCalendar.cs:
  6670. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  6671. as StringFormat with Center alignments in MonthCalendar,
  6672. instead of creating new ones when drawing the control.
  6673. Also, draw the month name in bold style.
  6674. 2006-08-30 Peter Dennis Bartok <[email protected]>
  6675. * Control.cs:
  6676. - PerformLayout(): It would seem MS performs the fill even if the
  6677. control is not visible (part of #79218 fix)
  6678. - ResetBackColor(): Use the setter to reset the color, to allow
  6679. overriders to catch the change.
  6680. * Form.cs:
  6681. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  6682. - CreateHandle(): dito (part of $79218 fix)
  6683. - Don't set an icon if we have a dialog
  6684. * ScrollableControl.cs:
  6685. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  6686. - ScrollIntoView(): No need to scroll if control is already visible
  6687. (resolves fixme and fixes #79218)
  6688. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  6689. * MonthCalendar.cs: Change proportions in SingleMonthSize
  6690. to match the aspect of the original control.
  6691. 2006-08-29 Alexander Olk <[email protected]>
  6692. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  6693. get updated when they get maximized.
  6694. 2006-08-29 Peter Dennis Bartok <[email protected]>
  6695. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  6696. 2006-08-29 Chris Toshok <[email protected]>
  6697. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  6698. 2006-08-29 Jackson Harper <[email protected]>
  6699. * TreeView.cs: Need to track selected node and highlighted node,
  6700. they aren't always the same thing, when the mouse is down on a
  6701. node it is hilighted, but not selected yet.
  6702. - Do the HideSelection stuff right
  6703. - Need to focus on rbutton mouse down. And redraw selection when
  6704. right click is mouse upped.
  6705. 2006-08-29 Mike Kestner <[email protected]>
  6706. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  6707. when SubItems.Count < Columns.Count. [Fixes #79167]
  6708. 2006-08-28 Peter Dennis Bartok <[email protected]>
  6709. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  6710. 2006-08-28 Peter Dennis Bartok <[email protected]>
  6711. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  6712. from X. Only send based on ConfigureNotify if we don't have the
  6713. correct location in hwnd (if the window manager moved us)
  6714. 2006-08-28 Mike Kestner <[email protected]>
  6715. * ListView.cs: remove a TODO.
  6716. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  6717. [Fixes ListView part of #79166]
  6718. 2006-08-28 Mike Kestner <[email protected]>
  6719. * ListView.cs: move wheel handler to parent since it is focused
  6720. instead of the item_control now. [Fixes #79177]
  6721. 2006-08-28 Mike Kestner <[email protected]>
  6722. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  6723. when the control is focused. [Fixes #79171]
  6724. 2006-08-28 Mike Kestner <[email protected]>
  6725. * ListView.cs: size the item and header controls for empty and
  6726. unscrollable views.
  6727. * ThemeWin32Classic.cs: draw disabled backgrounds.
  6728. [Fixes #79187]
  6729. 2006-08-28 Chris Toshok <[email protected]>
  6730. * Form.cs: remove unused "active_form" static field.
  6731. * Hwnd.cs: lock around accesses to static windows collection.
  6732. * Application.cs: lock threads in Exit ().
  6733. 2006-08-28 Chris Toshok <[email protected]>
  6734. * NativeWindow.cs: lock around accesses to window_collection.
  6735. 2006-08-28 Chris Toshok <[email protected]>
  6736. * Control.cs: err, fix this the right way, by locking on controls
  6737. when using it. not by making it synchronized.
  6738. 2006-08-28 Chris Toshok <[email protected]>
  6739. * Control.cs: make the static "controls" field synchronized, as it
  6740. gets updated from multiple threads.
  6741. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6742. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  6743. Prevent other threads from exiting when calling thread sets quit state.
  6744. * XEventQueue.cs: Added PostQuitState property
  6745. 2006-08-27 Chris Toshok <[email protected]>
  6746. * AsyncMethodData.cs: add a slot for the window handle.
  6747. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  6748. window (the destination control's window, not the foster window).
  6749. * Control.cs (BeginInvokeInternal): store the window's handle in
  6750. the AsyncMethodData.
  6751. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6752. * XplatUIX11.cs:
  6753. - PostQuitMessage: Removed resetting S.D display handle, we might have
  6754. another loop started after calling PostQuitMessage (Fixes #79119)
  6755. - Created destructor to reset S.D handle
  6756. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6757. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  6758. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6759. * TextControl.cs (Insert): Update the caret position even if we don't
  6760. have a handle yet, just don't call the driver in that case.
  6761. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  6762. to the end of the new selection text (Fixes #79184)
  6763. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6764. * Form.cs (Activate): Only activate if the handle is created)
  6765. * Control.c:
  6766. - Mark window as invisible when it's disposed
  6767. - Check if window handle is created when setting window visible,
  6768. instead of relying just on the is_created variable
  6769. - Check if object is disposed when creating the control (Fixes #79155)
  6770. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6771. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  6772. when allowing layout again. Otherwise we re-generate the anchoring
  6773. distance to the border again and actually alter what the user wanted
  6774. This is ugly, it'd be better if we used DisplayRectangle instead of
  6775. ClientRectangle for Control.UpdateDistances, but that causes us to
  6776. have other problems (initial anchoring positons would be wrong)
  6777. (Fixes #78835)
  6778. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6779. * Control.cs:
  6780. - The size and location setters shouldn't go directly to
  6781. SetBoundsCore, but to SetBounds, which triggers layout on the
  6782. parent, then calls SetBoundsCore. (Related to fix for #78835)
  6783. - SetBounds: Moved actual location update code into this function
  6784. from SetBoundsCore, to match MS. Added call to PerformLayout if
  6785. we have a parent (to trigger resizing of anchored parents if the
  6786. child size has changed (see testcase for #78835)
  6787. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  6788. new control code
  6789. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  6790. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6791. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  6792. System.Drawing when a toplevel window gets closed; there might
  6793. be other toplevel windows belonging to the same app (Fixes #78052)
  6794. 2006-08-26 Alexander Olk <[email protected]>
  6795. * FileDialog.cs: After reading FileDialog settings from mwf_config
  6796. use Desktop prefix only if a real folder doesn't exist anymore.
  6797. * FontDialog.cs: Added char sets.
  6798. It is now possible to select the font, size or style with the
  6799. textboxes.
  6800. 2006-08-25 Kornél Pál <[email protected]>
  6801. * PrintPreviewDialog.cs: Use assembly name constants.
  6802. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6803. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  6804. scrollbar from whacking it's buttons)
  6805. 2006-08-24 Chris Toshok <[email protected]>
  6806. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  6807. in this patch (aggregating setting Left/Top/Width/Height to
  6808. setting Bounds on the scrollbars), but the crux of the fix is in
  6809. Recalculate, where we scroll by the remaining scroll_position if
  6810. we're hiding a scrollbar. The 2*$5 reward in the comment is
  6811. serious.
  6812. 2006-08-24 Jackson Harper <[email protected]>
  6813. * MdiClient.cs:
  6814. * MdiWindowManager.cs: If the form is made a non-mdi window we
  6815. need to remove the form closed event so that closing forms works
  6816. correctly.
  6817. 2006-08-24 Jackson Harper <[email protected]>
  6818. * Control.cs: Make IsRecreating internal so that the driver can
  6819. check it
  6820. - Temporarily remove the Hide when controls are removed, its
  6821. making a whole bunch of things not work because visibility isn't
  6822. getting reset elsewhere correctly
  6823. * Form.cs: Need to do a full handle recreation when the mdi parent
  6824. is set.
  6825. * XplatUIX11.cs: If we are recreating handles don't dispose the
  6826. HWNDs. What was happening is the handles were being recreated in
  6827. SendWMDestroyMessages, but then flow continued on in that method
  6828. and destroyed the new handles.
  6829. 2006-08-23 Jackson Harper <[email protected]>
  6830. * Form.cs: MdiClient is always at the back of the bus
  6831. * Control.cs: When the order of items in the collection is changed
  6832. we need to reset the all_controls array
  6833. - do the same sorta setup thats done when adding a control when a
  6834. control is set on the collection.
  6835. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6836. * TextBoxBase.cs (get_Text): Return an empty array if our document
  6837. is empty (fixes #79052)
  6838. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6839. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  6840. on WM_SYSCHAR messages (fixes #79053)
  6841. 2006-08-23 Chris Toshok <[email protected]>
  6842. * DataGrid.cs: fix flickering when scrolling vertically.
  6843. 2006-08-23 Chris Toshok <[email protected]>
  6844. * DataGrid.cs (EndEdit): only invalidate the row header when we
  6845. need to.
  6846. 2006-08-23 Chris Toshok <[email protected]>
  6847. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  6848. methods. fixes the flicker when scrolling around.
  6849. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6850. * FileDialog.cs: Making sure the control is created before we get a
  6851. chance to use it with BeginInvoke (Fixes #79096)
  6852. 2006-08-23 Chris Toshok <[email protected]>
  6853. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  6854. width to use when painting the rows.
  6855. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6856. * TextBoxBase.cs:
  6857. - Throw ArgumentException if a negative value is passed to SelectionLength
  6858. - Update the selection end if start is moved. end needs to be always
  6859. after start. (Fixes #79095)
  6860. - Track selection length; MS keeps the selection length even if start
  6861. is changed; reset on all other operations affection selection
  6862. 2006-08-22 Jackson Harper <[email protected]>
  6863. * TreeView.cs: Make sure both scrollbars get displayed and sized
  6864. correctly when the other bar is visible.
  6865. - Use the original clip rectangle for checking if the area between
  6866. the two scrollbars is visible, not the viewport adjusted clipping
  6867. rectangle.
  6868. 2006-08-22 Jackson Harper <[email protected]>
  6869. * Binding.cs: We don't use IsBinding because it requires the
  6870. control to be created, which really shouldn't be necessary just to
  6871. set a property on the control.
  6872. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  6873. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  6874. ArgumentNullReferenceException when the argument is null.
  6875. 2006-08-21 Jackson Harper <[email protected]>
  6876. * Timer.cs: Track the thread that the timer is started in (NOT
  6877. CREATED), this way messages for it will only be triggered on its
  6878. queue.
  6879. * XEventQueue.cs: Track the timers here, this makes timers per
  6880. thread, like MS.
  6881. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  6882. 2006-08-19 Chris Toshok <[email protected]>
  6883. * XplatUIX11.cs: after further communication with pdb, we get the
  6884. best of both worlds. SetZOrder working for un-Mapped windows, and
  6885. no X errors for un-mapped windows.
  6886. 2006-08-19 Chris Toshok <[email protected]>
  6887. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  6888. as it was causing pdn toolbars to not have the correct stacking.
  6889. 2006-08-18 Mike Kestner <[email protected]>
  6890. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  6891. calculation. Not sure why control should ever be setting a negative
  6892. width though. Fixes #78931.
  6893. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  6894. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  6895. null items in ObjectCollection class.
  6896. * ListBox.cs.: Likewise.
  6897. 2006-08-18 Atsushi Enomoto <[email protected]>
  6898. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  6899. as the base method in ThemeWin32Classic should work fine.
  6900. Fixed bug #78607.
  6901. 2006-08-18 Jackson Harper <[email protected]>
  6902. * Binding.cs: When validating if the value entered doesn't convert
  6903. properly reset to the old value.
  6904. * RadioButton.cs: Don't fire click when we get focus.
  6905. 2006-08-18 Jackson Harper <[email protected]>
  6906. * FileDialog.cs: Paint the selection on the directory combobox the
  6907. same way as on MS.
  6908. 2006-08-17 Jackson Harper <[email protected]>
  6909. * ErrorProvider.cs: Don't allow the error control to be selected.
  6910. * Control.cs: Don't send the SetFocus messages, the control
  6911. activation will do this, and if we do it blindly here validation
  6912. does not work.
  6913. 2006-08-17 Jackson Harper <[email protected]>
  6914. * Control.cs:
  6915. * ContainerControl.cs: Make validation events fire in the correct
  6916. order. TODO: For some reason the first validation event is not
  6917. getting fired.
  6918. 2006-08-17 Mike Kestner <[email protected]>
  6919. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  6920. 2006-08-17 Mike Kestner <[email protected]>
  6921. * ComboBox.cs : implement scroll wheel support for popped-down
  6922. state. Fixes #78945.
  6923. 2006-08-17 Jackson Harper <[email protected]>
  6924. * TreeView.cs: Specify treeview actions (old patch that didn't get
  6925. committed for some reason).
  6926. - Don't let the mouse wheel scroll us too far. Just want to make
  6927. the bottom node visible, not scroll it all the ways to the top.
  6928. 2006-08-17 Jackson Harper <[email protected]>
  6929. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  6930. 2006-08-17 Mike Kestner <[email protected]>
  6931. * ComboBox.cs : don't do mouseover selection in simple mode.
  6932. 2006-08-16 Jackson Harper <[email protected]>
  6933. * Form.cs: Fire the closing events for all the mdi child windows
  6934. when a window is closed. If the cancel args are set to true, the
  6935. main window still gets the event fired, but it doesn't not close.
  6936. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  6937. handler, instead of when the button is clicked, so cancelling the
  6938. close works correctly.
  6939. * ComboBox.cs: Send the mouse down to the scrollbar.
  6940. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  6941. * ListBox.cs: When passing 'null' to SelectedItem,
  6942. set SelectedIndex to -1, to unselect items. This is the
  6943. observed behaviour in .Net.
  6944. 2006-08-16 Peter Dennis Bartok <[email protected]>
  6945. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  6946. MS flags saying there won't be any. (fixes #78800)
  6947. * Control.cs (HandleClick): Made virtual
  6948. 2006-08-16 Atsushi Enomoto <[email protected]>
  6949. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  6950. cultures. Fixed bug #78399.
  6951. 2006-08-16 Jackson Harper <[email protected]>
  6952. * Form.cs: Use the MdiClients MdiChildren property to access
  6953. MdiChildren instead of creating the array from the child controls.
  6954. * MdiClient.cs: Maintain a separate array of the mdi children, so
  6955. that insertion order is maintained when the Z-order is changed.
  6956. 2006-08-16 Mike Kestner <[email protected]>
  6957. * ListView.cs : add an ItemComparer and default to it for sorting.
  6958. Fixes #79076, but sorting needs a complete overhaul to be compat with
  6959. MS.
  6960. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6961. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  6962. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6963. * Hwnd.cs (Mapped): Properly traverse the tree
  6964. 2006-08-15 Chris Toshok <[email protected]>
  6965. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  6966. pass manager.Current.GetType() to ParseData. It has to be the
  6967. property type. So, hold off doing the ParseData until we're in
  6968. SetPropertyValue where we know the type. This fixes the crash in
  6969. #78821 but the textbox is still empty.
  6970. 2006-08-15 Chris Toshok <[email protected]>
  6971. * DataGrid.cs:
  6972. - when we're scrolling, only call Edit() again if the
  6973. current cell is still unobscured. Fixes bug #78927.
  6974. - when handling mousedown on a cell, ensure the cell is visible
  6975. before calling Edit.
  6976. - remove the properties from DataGridRow, and remove the
  6977. DataGridParentRow class altogether.
  6978. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6979. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  6980. fire OnTextChanged by ourselves. There's no point calling base,
  6981. we don't set the base value anywhere else. Fixes #78773.
  6982. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6983. * ListBox.cs: Call CollectionChanged when modifying
  6984. an item from Items indexer, to update the actual items
  6985. in the list box.
  6986. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6987. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  6988. to match .Net behaviour.
  6989. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6990. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  6991. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6992. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  6993. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6994. * MessageBox.cs: Prevent potential NRE exception.
  6995. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  6996. 2006-08-14 Peter Dennis Bartok <[email protected]>
  6997. * MessageBox.cs: Calculate the owner of a messagebox, also make
  6998. it topmost. Fixes #78753
  6999. 2006-08-14 Chris Toshok <[email protected]>
  7000. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  7001. programmatically move windows. first, set the PPosition hint as
  7002. well as the USPosition hint. Second include some code from pdb
  7003. that sets the window type to NORMAL when we set the transient for
  7004. hint. This is because, in the absence of a window type, metacity
  7005. thinks any window with TransientFor set is a dialog, and refuses
  7006. to let us move it programmatically. fascists.
  7007. 2006-08-14 Peter Dennis Bartok <[email protected]>
  7008. * XplatUIX11.cs: When setting normal hints, take into consideration
  7009. an different hints previously set so we don't delete them (fixes #78866)
  7010. 2006-08-12 Chris Toshok <[email protected]>
  7011. * ToolBarButton.cs: make Layout return a boolean, if something to
  7012. do with the button's layout changed.
  7013. * ToolBar.cs:
  7014. - add another parameter to Redraw, @force, which all existing
  7015. calls set to true.
  7016. - make the Layout function return a boolean which is true if the
  7017. layout has actually changed. Redraw now uses this (and @force)
  7018. to determine when to invalidate. At present the only place
  7019. where @force can be false is the call from OnResize, when
  7020. background_image == null. So, resizing a toolbar when the
  7021. layout doesn't change results in no drawing.
  7022. 2006-08-12 Chris Toshok <[email protected]>
  7023. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  7024. the VScrollBar and HScrollbar reversed. oops.
  7025. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  7026. scrollbars. we were assigning them twice (once in
  7027. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  7028. therefore causing two scrollbar resizes (and redraws?) to happen
  7029. per grid resize.
  7030. 2006-08-12 Chris Toshok <[email protected]>
  7031. * ToolBarButton.cs: redraw the entire button if the theme tells us
  7032. to.
  7033. * Theme.cs: add ToolBarInvalidateEntireButton.
  7034. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  7035. buttons, just the border.
  7036. * ThemeNice.cs: redraw the entire toolbar button since we need to
  7037. draw the highlight image.
  7038. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  7039. we need to redraw the entire button (not just the border).
  7040. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7041. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  7042. for vertical bars. Fixes the mismatches shown by #78513
  7043. 2006-08-11 Alexander Olk <[email protected]>
  7044. * FileDialog.cs: If a saved/remembered path doesn't exist
  7045. anymore, fall back to "Desktop".
  7046. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7047. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  7048. parent. It's apparently legal to not have one
  7049. * XplatUIX11.cs:
  7050. - SetZOrder: Don't try to set Z-Order on an unmapped window
  7051. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  7052. it unless the coordinates are negative
  7053. 2006-08-10 Mike Kestner <[email protected]>
  7054. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  7055. when setting to null per msdn docs. Fixes #78854.
  7056. 2006-08-10 Chris Toshok <[email protected]>
  7057. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  7058. flickering by setting a clip rectangle on the Graphics when we
  7059. need to redraw just a particular menuitem. Also, rename "OnClick"
  7060. to "OnMouseDown" to reflect what it actually is.
  7061. * Form.cs: track the OnMouseDown change.
  7062. 2006-08-10 Peter Dennis Bartok <[email protected]>
  7063. * CommonDialog.cs: Properly inherit the CreateParams from the form
  7064. and only change what we need. Fixes #78865
  7065. 2006-08-10 Chris Toshok <[email protected]>
  7066. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  7067. flickering in flat mode (and most of the flickering in general) by
  7068. only invalidating the button border (and not the entire rectangle)
  7069. when the state changes. A couple of cases still flicker:
  7070. ToggleButtons, and the dropdown arrow case when the user mouse
  7071. ups.
  7072. 2006-08-10 Alexander Olk <[email protected]>
  7073. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  7074. for german keyboards. Numlock state shouldn't affect the behaviour
  7075. of the Del key. Fixes bug #78291.
  7076. 2006-08-10 Chris Toshok <[email protected]>
  7077. * ListControl.cs: remove the items.Clear line from BindDataItems,
  7078. as this is the first thing done by both subclasses in their
  7079. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  7080. passed -1, refresh the list. This gets databinding working when
  7081. the datasource is set on the list before the datasource is
  7082. populated (as in wf-apps/ReportBuilder.)
  7083. * ComboBox.cs: remove the argument to BindDataItems. This call
  7084. should really go away, and be initiated by the ListControl code.
  7085. * ListBox.cs: same.
  7086. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7087. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  7088. if no data is in the document when the control is displayed
  7089. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7090. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  7091. yes (fixes #78806)
  7092. * TextControl.cs:
  7093. - PositionCaret: Allow positioning of caret but don't call methods
  7094. requiring a handle if the window isn't created yet
  7095. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  7096. - owner_HandleCreated: Don't position the caret, just update it's
  7097. location. User might have already set a different position
  7098. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7099. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  7100. windows. Screws up the returned coordinates for child windows.
  7101. Fixes #78825. I'm hoping this doesn't break something, since the
  7102. code was explicitly put in 8 months ago, but no bug was attached.
  7103. Menus still seem to work properly.
  7104. 2006-08-08 Chris Toshok <[email protected]>
  7105. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  7106. supposed to do - delay data binding until the EndInit call. Also,
  7107. make the table style collection's CollectionChangeAction.Refresh
  7108. work properly.
  7109. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  7110. (with action = Refresh) when a consituent table's MappingName is
  7111. changed.
  7112. 2006-08-08 Chris Toshok <[email protected]>
  7113. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  7114. Invalidate, since changing the text can change the size of the all
  7115. toolbar buttons.
  7116. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7117. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  7118. we don't have it yet
  7119. 2006-08-08 Chris Toshok <[email protected]>
  7120. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  7121. dialog, as this causes X errors later on, since we actually
  7122. destroy the window. Instead, .Hide() it.
  7123. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7124. * ComboBox.cs: Added focus reflection for popup window
  7125. * XplatUIX11.cs:
  7126. - Removed transient setting for non-app windows for now, not sure it
  7127. was needed
  7128. - Fixed logic checking if we have captions when deciding
  7129. override_redirect, WS_CAPTION is two bits and a 0 check was not
  7130. sufficient
  7131. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  7132. complicated
  7133. * Form.cs:
  7134. - AddOwnedForm: Don't just add the form to the list, call the property
  7135. to ensure the driver is informed about the ownership as well
  7136. - CreateHandle: Set the TopMost status in the driver if we have an owner
  7137. * XplatUI.cs: Fixed debug statement
  7138. 2006-08-08 Jonathan Pobst <[email protected]>
  7139. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7140. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  7141. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  7142. TrackBarRenderer.cs: Make constructor private.
  7143. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  7144. * ProfessionalColorTable.cs: Make properties virtual.
  7145. 2006-08-06 Duncan Mak <[email protected]>
  7146. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  7147. is not changing.
  7148. 2006-08-04 Jonathan Pobst <[email protected]>
  7149. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7150. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  7151. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  7152. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  7153. Initial import of new 2.0 classes.
  7154. 2006-08-04 Jonathan Pobst <[email protected]>
  7155. * Application.cs: Add 2.0 VisualStyles properties.
  7156. 2006-08-04 Jonathan Pobst <[email protected]>
  7157. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7158. XplatUIX11.cs: Create property to allow access to existing private
  7159. variable "themes_enabled"
  7160. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  7161. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  7162. file size, as otherwise our class libraries fail using windows. Fixes
  7163. bug #78759.
  7164. 2006-08-04 Jackson Harper <[email protected]>
  7165. * Form.cs:
  7166. * XplatUIX11.cs: Move the toolwindow window manager creation into
  7167. the X11 driver, this way on win32 we can let windows create/handle
  7168. the toolwindows.
  7169. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  7170. * PrintDialog.cs: Remove some redundant checks, add some others,
  7171. clean some code, and move the focus to the text boxes when the
  7172. values are incorrect.
  7173. 2006-08-04 Alexander Olk <[email protected]>
  7174. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  7175. 2006-08-03 Alexander Olk <[email protected]>
  7176. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  7177. handled correctly. Fixes bug #79001.
  7178. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  7179. * PrintDialog.cs: The "Copies" numeric up down must have
  7180. set the Minimum property to 1; only if the value is bigger
  7181. than 1, activate "Collate" check box. This is the behaviour of .Net.
  7182. Also modify the Document elements only if it is not null.
  7183. 2006-08-03 Jackson Harper <[email protected]>
  7184. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  7185. length. (We have a larger array then actual node count).
  7186. 2006-08-03 Jackson Harper <[email protected]>
  7187. * ComboBox.cs: Don't show selection by default.
  7188. - The SelectAll isn't needed here, since the focus code should do
  7189. that
  7190. - DDL style lists to manual selection drawing, so when they
  7191. get/lose focus they have to invalidate.
  7192. 2006-08-03 Peter Dennis Bartok <[email protected]>
  7193. * TextBoxBase.cs: Don't always show all selections by default.
  7194. 2006-08-03 Jonathan Pobst <[email protected]>
  7195. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  7196. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  7197. Fixed various typos.
  7198. 2006-08-03 Alexander Olk <[email protected]>
  7199. * Control.cs: Removing the controls in a ControlCollection with
  7200. Clear now hides the controls as expected. Fixes bug #78804.
  7201. 2006-08-03 Jackson Harper <[email protected]>
  7202. * Control.cs: Revert previous focus patch, it breaks reflector.
  7203. 2006-08-03 Jackson Harper <[email protected]>
  7204. * ComboBox.cs: Cleanup selection and focus with the combobox.
  7205. This also eliminates some duplicated keyboard code, since now
  7206. everything is handled by the main class.
  7207. - Make list selection work on mouse up instead of down, to match
  7208. MS.
  7209. 2006-08-02 Jackson Harper <[email protected]>
  7210. * Control.cs: Setting focus needs to go through the whole
  7211. selection mechanism.
  7212. 2006-08-02 Chris Toshok <[email protected]>
  7213. * PrintPreviewDialog.cs: change MinimumSize to use
  7214. base.MinimumSize so it works.
  7215. 2006-08-02 Peter Dennis Bartok <[email protected]>
  7216. * TextControl.cs:
  7217. - UpdateCaret: Added sanity check in case caret isn't defined yet
  7218. - Line.Delete: Now updating selection and caret markers if we're
  7219. transfering a node (Properly fixes #78323)
  7220. - SetSelectionEnd: Added sanity check
  7221. * TextBoxBase.cs: Removed broken attempt to fix #78323
  7222. 2006-08-01 Chris Toshok <[email protected]>
  7223. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  7224. Close() call is handled in Form, not here.
  7225. 2006-08-01 Chris Toshok <[email protected]>
  7226. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  7227. layout/rendering.
  7228. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  7229. for sizes < 100% zoom. The code now aggressively attempts to keep
  7230. from calling document.Print (), and tries not to use the scaling
  7231. g.DrawImage whenever possible (it still does if you scale to >
  7232. 100%, since usually that involves huge images).
  7233. * PrintPreviewControl.cs: hook up the close button.
  7234. 2006-08-01 Jonathan Pobst <[email protected]>
  7235. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  7236. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  7237. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  7238. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  7239. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  7240. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  7241. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  7242. Removed [Serializable] for 2.0 Event Handlers.
  7243. 2006-07-31 Jackson Harper <[email protected]>
  7244. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  7245. * TextControl.cs: Uncomment out the body of this method.
  7246. 2006-07-31 Alexander Olk <[email protected]>
  7247. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  7248. standard cursors.
  7249. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7250. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  7251. that embed TextBox and need selections visible even if textbox is not
  7252. focused to enforce that behaviour.
  7253. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  7254. selection drawing
  7255. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7256. * TextControl.cs:
  7257. - Added new SetSelectionStart/SetSelectionEnd overloads
  7258. - Fixed viewport width assignment to be accurate
  7259. - Adjusted alignment line shift calculations to allow cursor on right
  7260. aligned lines to be always visible at the right border (like MS)
  7261. * TextBoxBase.cs:
  7262. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  7263. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  7264. - CalculateScrollBars: Use ViewPort size instead of window size, to
  7265. properly consider space occupied by the border and scrollbars
  7266. (Fixes #78661)
  7267. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  7268. calculations; no longer leaves artifacts
  7269. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  7270. calculation bugs (Still missing right/center align calculations)
  7271. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7272. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  7273. use of both scroll rect and clip rect, as they do the same.
  7274. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7275. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  7276. in the event handler (fixes #78912)
  7277. 2006-07-31 Chris Toshok <[email protected]>
  7278. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  7279. grid.ListManager.Count, since grid.ListManager might be null.
  7280. This of course begs the question "why are we drawing rows for a
  7281. grid with no list manager (and therefor no rows)?" Fixes the
  7282. crash in bug #78929.
  7283. 2006-07-31 Chris Toshok <[email protected]>
  7284. * RelatedPropertyManager.cs: Don't always chain up to the parent
  7285. ctor. instead, call SetDataSource if the parent's position is !=
  7286. -1. Fixes the crash in #78822.
  7287. 2006-07-31 Chris Toshok <[email protected]>
  7288. * DataGrid.cs (get_ListManager): use field instead of property
  7289. accessors for datasource and datamember.
  7290. (RowsCount): make internal again.
  7291. (OnMouseDown): end edits before resizing columns/rows.
  7292. (OnMouseUp): restart edits after resizing columns/rows.
  7293. 2006-07-30 Peter Dennis Bartok <[email protected]>
  7294. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  7295. This fixes the situation where the last set cursor is displayed
  7296. whenever the mouse is over scrollbars.
  7297. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  7298. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  7299. Document properties, as well as initial values.
  7300. 2006-07-29 Peter Dennis Bartok <[email protected]>
  7301. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  7302. and ClientEdge results in a 3-pixel border, which is
  7303. wrong.
  7304. 2006-07-28 Jackson Harper <[email protected]>
  7305. * TreeNodeCollection.cs: Fix the clear method.
  7306. - Fix the Shrink also
  7307. 2006-07-27 Jackson Harper <[email protected]>
  7308. * TreeView.cs: Make sure the visible order is computed when we
  7309. attempt to size the scrollbars (for trees that mess with the
  7310. scrolling when they shouldn't.
  7311. - Make sure to give the scrollbars valid values.
  7312. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7313. * XplatUIX11.cs: Move motion compression code to where it
  7314. has less performance impact
  7315. 2006-07-26 Jackson Harper <[email protected]>
  7316. * UpDownBase.cs: When the control is selected make the child
  7317. controls non selectable, so that a click on them won't do a
  7318. focus/unfocus cycle.
  7319. - Don't give focus to the text box when the spinner is selected.
  7320. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  7321. 2006-07-26 Chris Toshok <[email protected]>
  7322. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  7323. satisfied with this solution. If the bitmaps are small, we should
  7324. just cache them in the PrintPreviewDialog and draw them here.
  7325. Also, the layout is broken for the 2-up and 3-up cases.
  7326. * Theme.cs: add PrintPReviewControlPaint.
  7327. * PrintPreviewDialog.cs: first pass implementation.
  7328. * PrintPreviewControl.cs: first pass implementation. No
  7329. scrollbars yet.
  7330. * PrintDialog.cs: only validate fields if that particular portion
  7331. of the UI is enabled. Also, set the document's controller to a
  7332. PrintControllerWithStatusDialog wrapping the document's print
  7333. controller.
  7334. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  7335. bring up a SaveFileDialog (i hope we don't want to match the
  7336. behavior of the crappy windows file entry) and set the
  7337. PrinterSettings.PrintFileName accordingly.
  7338. 2006-07-26 Jackson Harper <[email protected]>
  7339. * ContainerControl.cs: Add a field that disables auto selecting
  7340. the next control in a container when the container is activated.
  7341. * UpDownBase.cs: Don't select the text box when the up down is
  7342. selected.
  7343. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7344. * XEventQueue.cs: Added methods for peeking (used for compression
  7345. of successive events)
  7346. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  7347. mouse move events (fixes #78732)
  7348. 2006-07-25 Jackson Harper <[email protected]>
  7349. * UpDownBase.cs: Use an internal class for the textbox so that we
  7350. can control focus. the updown control should always have focus,
  7351. if either the text area or the buttons are clicked.
  7352. - Send the key messages to the textbox, since it never actually
  7353. has focus
  7354. - Activate and decativate the textbox caret.
  7355. 2006-07-24 Jackson Harper <[email protected]>
  7356. * Control.cs: Use the directed select when selecting a control,
  7357. this way the container controls override will get called and the
  7358. whole ActiveControl chain will get triggered. TODO: probably need
  7359. to make sure this gets done everywhere instead of the old
  7360. Select(Control).
  7361. * ContainerControl.cs: Implement the directed Select method to
  7362. find and activate the correct child control.
  7363. 2006-07-22 Mike Kestner <[email protected]>
  7364. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  7365. menu handling code so that clicks without a grab work too.
  7366. [Fixes #78914]
  7367. 2006-07-22 Alexander Olk <[email protected]>
  7368. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  7369. Added some small optimizations.
  7370. 2006-07-21 Matt Hargett <[email protected]>
  7371. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  7372. 2006-07-21 Peter Dennis Bartok <[email protected]>
  7373. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  7374. tests pass and match MS in some strange border cases.
  7375. 2006-07-21 Chris Toshok <[email protected]>
  7376. * ThemeWin32Classic.cs: handle drawing of the relation links and
  7377. parent row buttons.
  7378. * Theme.cs: change args to DataGridPaintParentRow.
  7379. * DataGrid.cs: Don't use controls for the relation links and
  7380. parent buttons, so we have to handle all their interactions in
  7381. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  7382. when we're navigating through child tables, so we can reinstate
  7383. selection, expanded state, current cell, etc.
  7384. 2006-07-20 Chris Toshok <[email protected]>
  7385. * ToolBar.cs: When we redraw a button, for whatever reason,
  7386. there's no reason to redraw the entire toolbar. Also, don't call
  7387. Control.Refresh from within Redraw, as it's much heavier than
  7388. Invalidate (which is really what we want).
  7389. 2006-07-20 Chris Toshok <[email protected]>
  7390. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  7391. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  7392. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  7393. traces from within a debug IBindingList datasource
  7394. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  7395. to work in a similar fashion.
  7396. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7397. * ListBox.cs: Don't call Sort () when setting
  7398. the Sorted property to false (avoid an unnecessary sort).
  7399. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7400. * ListControl.cs: DataSource should throw an ArgumentException
  7401. instead of a normal exception when the argument is not of the
  7402. correct type.
  7403. 2006-07-20 Mike Kestner <[email protected]>
  7404. * Control.cs: add InternalPreProcessMessage to allow us to steal
  7405. key events before MWF gets its paws on them. Adapted from a
  7406. suggestion by eno.
  7407. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  7408. up/down/left/right navigation. Override the new internal control
  7409. method to steal the events since they never make it to WndProc.
  7410. * ToolBarButton.cs: don't worry about pushed when setting hilight
  7411. since the drawing code prefers pushed to hilight. Invalidate on
  7412. Hilight changes. Fixes #78547 and #78525.
  7413. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7414. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  7415. the canvas size. Fixes #78868
  7416. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7417. * Splitter.cs: Track requested split position until first layout
  7418. is performed. Fixes #78871
  7419. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7420. * Application.cs: Removed code that forces 1.x for the version
  7421. number if the version started with 0. Not sure why that code was
  7422. there and I couldn't find any bugs that indicated we needed it.
  7423. Fixes #78869
  7424. 2006-07-20 Alexander Olk <[email protected]>
  7425. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  7426. ResetDefaults(), just write some output to the console until it's
  7427. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  7428. 2006-07-19 Jonathan Chambers <[email protected]>
  7429. * PropertyGridView.cs: set StartPosition of drop down forms
  7430. so they appear in correct initial spot. Fixes #78190.
  7431. 2006-07-19 Mike Kestner <[email protected]>
  7432. * ThemeWin32Classic.cs: use parent background color when drawing
  7433. flat toolbars. Restructure the conditionals to make sure non-flat
  7434. non-Divider toolbars are filled too. Fixes #78837.
  7435. 2006-07-19 Mike Kestner <[email protected]>
  7436. * ListBox.cs: Sort on collection changes even if the handle
  7437. isn't created yet. Fixes #78813.
  7438. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  7439. * ListControl.cs: DisplayMember should never be null,
  7440. and now we assign String.Empty when null is passed to it (this
  7441. is the .Net way).
  7442. 2006-07-17 Mike Kestner <[email protected]>
  7443. * ListViewItem.cs: restructure Font and subitem Font handling
  7444. to hold a specific font and refer back to owner on null.
  7445. Fixes #78761.
  7446. 2006-07-17 Mike Kestner <[email protected]>
  7447. * ToolBar.cs: bandaid for side-effect of previous patch which was
  7448. discarding explicit heights for non-AutoSize toolbars. Need to
  7449. extend my format tester to deal with AutoSize=false. Fixes #78864.
  7450. 2006-07-15 Jackson Harper <[email protected]>
  7451. * LabelEditTextBox.cs:
  7452. * TreeView.cs: Use a new LabelEdit class for node editing, this
  7453. class automatically 'closes' itself when it gets the enter key or
  7454. loses focus.
  7455. - Use the client rectangle when setting the trees scrollbars, so
  7456. border style is taken into account.
  7457. 2006-07-14 Jackson Harper <[email protected]>
  7458. * TreeNode.cs:
  7459. * TreeView.cs: Make the editing work similar to MSs, firing the
  7460. events correctly and ending edits correctly.
  7461. 2006-07-14 Mike Kestner <[email protected]>
  7462. * ToolBarButton.cs:
  7463. * ToolBar.cs: layout restructuring and redraw enhancements to support
  7464. formatting changes gracefully, like setting TextAlign, ImageList,
  7465. ButtonSize, and Appearance. Handles explicit button sizing quirks
  7466. of the MS controls. Things like flat toolbars ignoring button size
  7467. but becoming constant sized at the largest button's size. Normal
  7468. toolbars with an image set cannot be shrunk smaller than the image,
  7469. but text can be clipped/ignored.
  7470. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  7471. is zero. Seems like DrawString should be smart enough to not put
  7472. anything on screen though. Also trim labels and ellipsize at the char
  7473. boundary, not word.
  7474. Fixes #78711 and #78483.
  7475. 2006-07-14 Alexander Olk <[email protected]>
  7476. * FolderBrowserDialog.cs: Disable "New Folder" button and
  7477. "New Folder" contextmenu menuitem if a folder like "My Computer"
  7478. is selected.
  7479. 2006-07-14 Alexander Olk <[email protected]>
  7480. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  7481. * FolderBrowserDialog.cs:
  7482. - Use MWFConfig to store and read size and position settings
  7483. - Added code to create a new folder (button or context menu).
  7484. Use TreeView labeledit to change the name of the new folder.
  7485. 2006-07-14 Jackson Harper <[email protected]>
  7486. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  7487. when the tree is scrolled we end editing.
  7488. 2006-07-14 Alexander Olk <[email protected]>
  7489. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  7490. Down arrows
  7491. 2006-07-14 Jonathan Pobst <[email protected]>
  7492. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  7493. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  7494. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  7495. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  7496. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  7497. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  7498. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  7499. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  7500. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  7501. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  7502. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  7503. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  7504. ListViewItemSelectionChangedEventHandler.cs,
  7505. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  7506. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  7507. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  7508. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  7509. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  7510. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  7511. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  7512. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  7513. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  7514. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  7515. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  7516. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  7517. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  7518. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  7519. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  7520. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  7521. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  7522. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  7523. WebBrowserNavigatingEventHandler.cs,
  7524. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  7525. 2006-07-14 Jonathan Pobst <[email protected]>
  7526. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  7527. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  7528. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  7529. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  7530. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  7531. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  7532. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  7533. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  7534. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  7535. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  7536. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  7537. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  7538. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  7539. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  7540. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  7541. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  7542. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  7543. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  7544. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  7545. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  7546. ListViewItemStates.cs, MaskFormat.cs: Added
  7547. 2006-07-13 Jonathan Chambers <[email protected]>
  7548. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  7549. Patch from eno for bug 78558.
  7550. 2006-07-13 Jackson Harper <[email protected]>
  7551. * TreeView.cs: When an edit is finished make sure that the
  7552. selected node is visible.
  7553. - When setting the top/bottom use the scrollbars is_visible, so
  7554. everything will be set correctly even if the tree isn't visible
  7555. yet.
  7556. 2006-07-13 Jackson Harper <[email protected]>
  7557. * ComboBox.cs: Revert the item->index part of my previous patch.
  7558. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  7559. the edit box has lost focus (duh).
  7560. - Just make the edit box not visible when we get return, that will
  7561. take the focus, which will call EndEdit
  7562. * TreeNode.cs When we start editing, notify the treeview.
  7563. 2006-07-12 Jackson Harper <[email protected]>
  7564. * ComboBox.cs: Clear out old items before setting the item list.
  7565. This prevents databound controls from having their items added
  7566. twice.
  7567. - Switch the combobox to use indices whereever possible instead of
  7568. using Item's. This allows usto navigate through lists that have
  7569. more then one item with the same string value (ie a, b, b, a).
  7570. - Scroll the listboxes scrollbar when a non visible item is
  7571. highlighted
  7572. - Allow keypress to cycle through all the possible values. For
  7573. example if you have b1, b2, b3 and hold down the B key all the
  7574. values will be cycled through.
  7575. 2006-07-12 Jackson Harper <[email protected]>
  7576. * TextBoxBase.cs:
  7577. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  7578. this using the internal methods.
  7579. * Control.cs: Add OnGotFocusInternal. A new method that allows
  7580. controls to "override" OnGotFocus and change focus behavior if
  7581. needed.
  7582. - Same thing for LostFocus
  7583. * ComboBox.cs: Pass off focus to the text control properly.
  7584. 2006-07-12 Alexander Olk <[email protected]>
  7585. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  7586. * FolderBrowserDialog.cs: Almost a complete rewrite.
  7587. - Better support for Environment.Specialfolders
  7588. - Added support for MWFVFS
  7589. - Made setting SelectedPath work
  7590. 2006-07-12 Jackson Harper <[email protected]>
  7591. * Control.cs: Optimze getting all the controls.
  7592. 2006-07-11 Jackson Harper <[email protected]>
  7593. * ContainerControl.cs: Override SETFOCUS in the container control,
  7594. so that it is not selected on mouse click.
  7595. 2006-07-11 Peter Dennis Bartok <[email protected]>
  7596. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  7597. Hopefully we will have a better way once all of focus is complete.
  7598. 2006-07-11 Peter Dennis Bartok <[email protected]>
  7599. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  7600. a compile error with csc.
  7601. 2006-07-11 Jackson Harper <[email protected]>
  7602. * Control.cs: When hiding a control only select the next control
  7603. if the current control was focused.
  7604. - Don't handle enter/leave when setting/killing focus, this is
  7605. done by the container control.
  7606. - Remove is_selected, it's not needed anymore.
  7607. - Add utility methods for selecting a child control, and for
  7608. firing the Enter/Leave events.
  7609. * ContainerControl.cs: When a control is activated fire the
  7610. enter/leave events.
  7611. - Don't wrap when processing the tab key, so that focus can be
  7612. moved outside of the container.
  7613. - Use the correct active control
  7614. 2006-07-11 Jackson Harper <[email protected]>
  7615. * ComboBox.cs: Remove some debug code that was blinding me.
  7616. * UpDownBase.cs: These controls actually aren't implicit, they are
  7617. visible to the user.
  7618. 2006-07-10 Chris Toshok <[email protected]>
  7619. * DataGrid.cs: move back to the is_adding boolean field. god i
  7620. hate this is_editing/is_adding/is_changing stuff.
  7621. 2006-07-10 Chris Toshok <[email protected]>
  7622. * DataGridTableStyle.cs: just check if the property type is bool.
  7623. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  7624. Don't use CanRenderType.
  7625. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  7626. if our text == NullText. Remove CanRenderType.
  7627. * DataGridBoolColumn.cs: nuke CanRenderType.
  7628. * DataGrid.cs: reenable some code to end the current edit inside
  7629. of set_CurrentCell. This fixes the other 1.1.16 regression.
  7630. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  7631. Also, remove the visible_row_count arg from CalcRowHeaders, since
  7632. we don't need to worry about the actual height of the area.
  7633. 2006-07-10 Chris Toshok <[email protected]>
  7634. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  7635. mode, just return.
  7636. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  7637. the real sense of the IsInEditOrNavigateMode property (true =
  7638. navigate, false = edit). Also, update OnKeyPress to reflect this.
  7639. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  7640. column style exists, we still need to set its property descriptor
  7641. to match up with our list manager.
  7642. 2006-07-10 Chris Toshok <[email protected]>
  7643. * ThemeWin32Classic.cs: implement the new row/header painting
  7644. approach. The parent row painting will likely go away and
  7645. replaced with label controls, but the rest seems to work ok (and
  7646. efficiently).
  7647. * Theme.cs: change the way we draw datagrid rows. we don't draw
  7648. the row headers as a block now. Instead we draw them in the
  7649. normal draw-row loop. Add some calls for drawing parent rows and
  7650. relation rows.
  7651. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  7652. a default table style. Set the defaults from ThemeEngine.Current,
  7653. not SystemColors. Fix lots of misc issues with property setters.
  7654. * DataGrid.cs: move loads of style information out of this class
  7655. as it's being duplicated with DataGridTableStyle. keep track of a
  7656. special DataGridTableStyle for the properties we used to mirror
  7657. here. Switch all the style properties to access this table style
  7658. instead of instance fields of this class. Also add a internal
  7659. class to represent parent rows (more needs to be stored here, like
  7660. the selection state from the parent table, as well as the
  7661. expansion state.) Also, for datasources with relations, do the
  7662. right thing for collapse/expand, and add support for the
  7663. navigation/parent row buttons.
  7664. Lastly, fix the crash in the 1.1.16 build.
  7665. * GridTableStylesCollection.cs: make the explicit interface
  7666. implementations call the class's methods as opposed to duplicating
  7667. them.
  7668. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  7669. 0 so the text doesn't jump around when we move the cursor.
  7670. 2006-07-10 Jackson Harper <[email protected]>
  7671. * TextBoxBase.cs:
  7672. * ListBox.cs: Match MS's ToString (this makes debugging focus
  7673. stuff infinitely easier).
  7674. 2006-07-10 Jackson Harper <[email protected]>
  7675. * Control.cs (SelectNextControl): When checking the control's
  7676. parent use this instead of ctrl.parent so that null can be passed
  7677. to SelectNextControl. (I have unit tests for this).
  7678. - Remove unused var.
  7679. 2006-07-10 Chris Toshok <[email protected]>
  7680. * CurrencyManager.cs: correct one regression, the removal of the
  7681. finalType field. Also, add a MonoTODO on CanAddRows, implement
  7682. Refresh() correctly, and fix some event emission in
  7683. ListChangedHandler.
  7684. 2006-07-07 Alexander Olk <[email protected]>
  7685. * FileDialog.cs: Don't use brackets for new folders if they exist
  7686. under *nix. Instead use -(number of existing folders +1).
  7687. 2006-07-07 Alexander Olk <[email protected]>
  7688. * FileDialog.cs:
  7689. - Fixed really nasty bug #78771
  7690. - Don't block the whole GUI when reading directories with a lot of
  7691. entries. Use an other thread instead and call BeginInvoke to
  7692. update the ListView in MWFFileView
  7693. 2006-07-07 Chris Toshok <[email protected]>
  7694. * Control.cs (Dispose): release any Capture when disposing.
  7695. 2006-07-07 Chris Toshok <[email protected]>
  7696. * LinkLabel.cs (Select): if we chain up to the parent, set
  7697. focused_index to -1 so we'll search for the first available link
  7698. the next time the user tabs into us. Also, if the direction is
  7699. backward and focused_index == -1, start the search from the last
  7700. element.
  7701. 2006-07-07 Chris Toshok <[email protected]>
  7702. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  7703. is beyond the end of the text, don't do anything.
  7704. (CreateLinkPieces): set our ControlStyles.Selectable based on
  7705. whether or not we have any links.
  7706. (Link.Invalidate): use a loop instead of foreach.
  7707. (Link.set_Start): null out owner.sorted_links so it'll be
  7708. recreated by CreateLinkPieces.
  7709. 2006-07-06 Chris Toshok <[email protected]>
  7710. * LinkLabel.cs: revert the SetStyle change.
  7711. 2006-07-06 Chris Toshok <[email protected]>
  7712. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  7713. (OnEnableChanged): s/Refresh/Invalidate
  7714. (OnGotFocus): if we have a focused index already, refocus it (so
  7715. if we mouse out/in to the window it'll focus the right link).
  7716. (OnKeyDown): move the tab handling out of here.
  7717. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  7718. when we lose focus.
  7719. (OnMouseDown): don't Capture here - Control handles it. Also,
  7720. focus the active link.
  7721. (OnMouseUp): don't deal with Capture.
  7722. (OnPaintBackgroundInternal): remove.
  7723. (OnTextAlignChanged): CreateLinkPieces before calling the
  7724. superclass's method.
  7725. (OnTextChanged): call CreateLinkPieces before calling superclass's
  7726. method.
  7727. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  7728. move around.
  7729. (Select): implement this, moving the selection between different
  7730. links, and call parent.SelectNextControl if we don't have another
  7731. link to focus in the given direction.
  7732. (CreateLinkPieces): call Invalidate instead of Refresh.
  7733. 2006-07-06 Chris Toshok <[email protected]>
  7734. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  7735. new LinkLabel internals.
  7736. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  7737. over pieces looking for active/focused/etc links. also, deal with
  7738. runs of text (and links) with embedded \n's in them, and use
  7739. MeasureCharacterRanges instead of MeasureString to figure out the
  7740. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  7741. two-step.
  7742. 2006-07-04 Jackson Harper <[email protected]>
  7743. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  7744. XKB or key auto repeat, do it manually. Without key auto repeat,
  7745. when a key is held down we get key press, key release, key press,
  7746. key release, ... with auto repeat we get key press, key press, key
  7747. press ..., and then a release when the key is actually released.
  7748. 2006-07-03 Jackson Harper <[email protected]>
  7749. * TabControl.cs:
  7750. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  7751. rules, they are always control color regardless of the background
  7752. color.
  7753. 2006-07-02 Alexander Olk <[email protected]>
  7754. * FileDialog.cs: Added internal class MWFConfig.
  7755. Removed Registry support and replaced it with support for the new
  7756. MWFConfig class. See MWFConfig comments for more information.
  7757. 2006-06-30 Alexander Olk <[email protected]>
  7758. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  7759. rectangle. Added some patches from eno from bug #78490 and fixed
  7760. the arrow position for small up and down CPDrawScrollButtons.
  7761. 2006-06-30 Jackson Harper <[email protected]>
  7762. * InternalWindowManager.cs: Remove some debug code.
  7763. * Form.cs: When an MdiParent is set to null, the window is
  7764. "detatched" and becomes a normal window.
  7765. * MdiClient.cs: Don't bring the new child form to the front until
  7766. it is activated (setting it as active does this), this makes the
  7767. previously active forms titlebar get redrawn as inactive.
  7768. 2006-06-29 Peter Dennis Bartok <[email protected]>
  7769. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  7770. with later controls
  7771. 2006-06-29 Mike Kestner <[email protected]>
  7772. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  7773. arrow in keynav state. Fixes #78682.
  7774. 2006-06-28 Atsushi Enomoto <[email protected]>
  7775. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  7776. order (fixes #78393)
  7777. 2006-06-28 Jonathan Pobst <[email protected]>
  7778. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  7779. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  7780. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  7781. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  7782. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  7783. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  7784. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  7785. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  7786. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  7787. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  7788. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  7789. values)
  7790. 2006-06-28 Mike Kestner <[email protected]>
  7791. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  7792. 2006-06-28 Atsushi Enomoto <[email protected]>
  7793. * PropertyGrid.cs,
  7794. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  7795. item lines from other area (It also makes BackColor consistent and
  7796. compatible with .NET). Fixed bug #78564.
  7797. 2006-06-28 Jonathan Chambers <[email protected]>
  7798. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  7799. Patch from Eno for #78555.
  7800. 2006-06-27 Chris Toshok <[email protected]>
  7801. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  7802. * DataGridColumnStyle.cs: same.
  7803. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  7804. * DataGridDrawingLogic.cs: nuke.
  7805. 2006-06-27 Chris Toshok <[email protected]>
  7806. * DataGridTableStyle.cs: clean up the constructors, and build the
  7807. list of child relations for this table. I have no idea if this is
  7808. where we should be doing it (it probably isn't), but since we're
  7809. already iterating over the properties..
  7810. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  7811. struct and array for keeping track of row information, similar to
  7812. what's shown in a hack on
  7813. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  7814. * Theme.cs: be consistent about the naming of DataGrid methods,
  7815. prefering ColumnWidths and RowHeights over columnsWidths and
  7816. RowsHeights.
  7817. * ThemeWin32Classic.cs: same, and also add support for variable
  7818. sized rows (and the +/- expansion icons for related rows).
  7819. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7820. * TextBoxBase.cs: Applied Eno's patch from #78660
  7821. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7822. * Form.cs (ScaleCore): We don't want to scale our form if it's
  7823. state is minimized or maximized, but we still need to scale our
  7824. child windows. Also, added try/finally block to ensure layout
  7825. gets reset (Fixes #78697)
  7826. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7827. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  7828. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7829. * Form.cs: Fixed c+p error and added check to resize form if minimum
  7830. size is bigger than current size (Fixes #78709)
  7831. 2006-06-26 Peter Dennis Bartok <[email protected]>
  7832. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  7833. 2006-06-26 Mike Kestner <[email protected]>
  7834. * ComboBox.cs: only do Keypress handling in the combo when there
  7835. are items in the collection. Fixes #78710.
  7836. 2006-06-26 Chris Toshok <[email protected]>
  7837. * Binding.cs: make this work bi-directionally. also, clear up
  7838. other mixups between Push/Pull Data (e.g. we're supposed to pull
  7839. data when validating).
  7840. * BindingManagerBase.cs: trim some fully qualified collection
  7841. types.
  7842. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  7843. 2006-06-23 Chris Toshok <[email protected]>
  7844. * PropertyManager.cs: It appears (according to the unit tests)
  7845. that PropertyManager doesn't use
  7846. PropertyDescriptor.AddValueChanged to track propery value changes
  7847. in its datasource, but uses the same scheme as Binding, where it
  7848. looks for a <Property>Changed event and binds to it.
  7849. Also, according to the docs, IsSuspended always returns false for
  7850. a property manager with a non-null datasource.
  7851. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7852. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  7853. need to update the actual DialogResult. (Fixes #78613)
  7854. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7855. * Form.cs (ShowDialog): Release any captures before running the
  7856. new message pump (fixes #78680)
  7857. 2006-06-22 Mike Kestner <[email protected]>
  7858. * ListView.cs: Layout column widths properly in details mode even
  7859. if HeaderStyle.None is set. Fixes #78691.
  7860. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7861. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  7862. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7863. * Control.cs (ContainsFocus): Using new driver method to get focused
  7864. window, instead of trying to use internal tracking var, which can
  7865. recursion issues (Fixes #78685)
  7866. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7867. XplatUIWin32.cs: Added GetFocus method to return focused window
  7868. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  7869. * ColorDialog.cs: when the mouse button is pressed inside the color
  7870. matrix, don't let the cursor move out of it until the button is
  7871. released, which is the behavior on windows. Changed 'colours' by
  7872. 'colors' to use the same word consistently.
  7873. 2006-06-21 Chris Toshok <[email protected]>
  7874. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  7875. child relation and back, using a stack). Also, remove
  7876. GetDataSource and the code that calls it - it's not needed. Also,
  7877. track CurrencyManager.ListName's removal.
  7878. 2006-06-21 Chris Toshok <[email protected]>
  7879. * CurrencyManager.cs: push some of the original type checking from
  7880. BindingContext.CreateBindingManager to here, and remove some of
  7881. the finalType stuff. Need more tests to make sure I've got the
  7882. ListName part right, and we might need more in SetDataSource.
  7883. * PropertyManager.cs: add a ctor that takes just the datasource,
  7884. and no property name. Make SetDataSource work with a null
  7885. property_name, and make Current return the data_source if the
  7886. property descriptor is null. this makes 'string foo = "hi";
  7887. BindingContext[foo].Current' return "hi" as it should.
  7888. * RelatedCurrencyManager.cs: make this code more generic - there's
  7889. no reason the parent manager has to be CurrencyManager, and
  7890. there's no reason to pass the DataRelation. It suffices to use a
  7891. BindingManagerBase and PropetyDescriptor.
  7892. * RelatedPropertyManager.cs: make a similar change here.
  7893. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  7894. flower I knew it could be.
  7895. 2006-06-20 Chris Toshok <[email protected]>
  7896. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  7897. data in the source has changed and we need to update the control,
  7898. so s/PullData/PushData.
  7899. * CurrencyManager.cs: Refresh is meant to update the control from
  7900. data in the datasource. So, s/PullData/PushData.
  7901. * BindingContext.cs: add more ugliness (we weren't handling the
  7902. case where data_source = DataTable and data_member = column_name).
  7903. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  7904. from the perspective of the datasource. PullData pulls from the
  7905. control, PushData pushes to the control.
  7906. 2006-06-20 Chris Toshok <[email protected]>
  7907. * BindingContext.cs: rewrite the CreateBindingManager code to
  7908. handle navigation paths more or less properly. This could
  7909. definitely stand some more work, in particular to push the
  7910. recursion up to the toplevel. But that relies on fixes in other
  7911. places (System.Data comes to mind).
  7912. Also, move to a flat hashtable (and encode the twolevel nature of
  7913. the dictionary into the hash key). This lets us implement the
  7914. IEnumerable.GetEnumerator method.
  7915. * RelatedCurrencyManager.cs: new class. Update our view based on
  7916. our relation and our parent CurrencyManager's position.
  7917. * CurrencyManager.cs: split out some logic from the ctor into
  7918. SetView, so it can be called from the new RelatedCurrencyManager
  7919. subclass.
  7920. * RelatedPropertyManager.cs: new class. Update our datasource
  7921. based on the position of our parent CurrencyManager.
  7922. * PropertyManager.cs: split out some logic from the ctor into
  7923. SetDataSource, so it can be called from the new RelatedDataSource
  7924. subclass. Also, make the Current getter return the value
  7925. of the PropertyDescriptor, not the data_source.
  7926. * Binding.cs: no need to duplicate the string splitting code here.
  7927. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7928. * Control.cs:
  7929. - set_Enabled: OnEnabledChanged is not called if the inherited state
  7930. of the control is not altered, even though we might be changing the
  7931. internal state of the control (#78458)
  7932. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  7933. OnEnabledChanged, to allow easy altering of any child window state
  7934. - OnEnabledChanged: Added code to enable/disable driver window state
  7935. - OnParentEnabledChanged: Instead of firing the event, call
  7936. OnEnabledChanged, which will fire the event and also a) set driver
  7937. window state and pass the enabled state to any grandchildren (#78458)
  7938. 2006-06-19 Jackson Harper <[email protected]>
  7939. * InternalWindowManager.cs: We don't set the cursor explicitly
  7940. thats done via the response to NCHITTESTs.
  7941. - Don't need to adjust for titlebar heights anymore, the
  7942. coordinates are coming in the correct coordinates now (see peters
  7943. last patch).
  7944. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7945. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  7946. being translated relative to whole window, instead of client window.
  7947. That caused broken offsets on mouseclick (and caused gas for our
  7948. InternalWindowManager)
  7949. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7950. * TextControl.cs:
  7951. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  7952. - Undo(): Added replay of cursor move on DeleteChars action; added
  7953. calling Undo() again if a recorded cursor move is invalid (to
  7954. ensure that some action is performed on Undo)
  7955. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  7956. 2006-06-16 Jackson Harper <[email protected]>
  7957. * MdiClient.cs: Instead of just sizing maximized windows when
  7958. there is a resize we also have to adjust the Y of minimized
  7959. windows, so they stay pinned to the bottom of the mdi container.
  7960. - Eliminate separate tracking of the active control, we can just
  7961. get this from the controls collection.
  7962. - Paint the decorations for the newly activated titlebar so we get
  7963. a pretty blue bar.
  7964. * InternalWindowManager.cs:
  7965. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  7966. even if they are a tool window.
  7967. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7968. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  7969. undo buffer, these can happen when text was deleted and the cursor
  7970. was recorded first. Since we will also have a recorded cursor
  7971. after the delete this is not an issue. (Fixes #78651)
  7972. 2006-06-14 Peter Dennis Bartok <[email protected]>
  7973. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  7974. instead properly track control states internally (allows us to
  7975. remove is_selected from Control)
  7976. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  7977. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  7978. whose width is not a multiple of 8.
  7979. 2006-06-13 Jackson Harper <[email protected]>
  7980. * MdiClient.cs: Only maximize the next child if the current one
  7981. is maximized.
  7982. 2006-06-13 Chris Toshok <[email protected]>
  7983. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  7984. modified. Also, guard against grid or grid_drawing being null in
  7985. Invalidate.
  7986. * DataGrid.cs: Reformat tons of getters/setters. In the
  7987. DataMember setter, just call SetNewDataSource instead of
  7988. duplicating some of its functionality. In SetNewDataSource, don't
  7989. check ListManager for null, since the property getter creates the
  7990. object if needed.
  7991. * DataGridTableStyle.cs: don't set TableStyle or call
  7992. SetDataGridInternal on the column here, it's done in
  7993. GridColumnStylesCollection.Add.
  7994. * GridColumnStylesCollection.cs: fix all the explicit interface
  7995. implementations to just call our methods. Nuke AddInternal() and
  7996. move the body of it to Add(). Also, add a call to
  7997. column.SetDataGridInternal to Add().
  7998. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  7999. base()+duplicate code. Also, use the Format property instead of
  8000. format to generate an Invalidate ala MS. Lastly, create the
  8001. textbox here, unconditionally.
  8002. (set_Format): call Invalidate.
  8003. (get_TextBox): no need to call EnsureTextBox.
  8004. (Commit): remove the message box.
  8005. (Edit) remove the call to EnsureTextBox.
  8006. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  8007. (EnterNullValue): no need to check textbox for null.
  8008. (HideEditBox): no need to check textbox for null.
  8009. (SetDataGridInColumn): add the textbox to the grid's controls.
  8010. (EnsureTextBox): nuke.
  8011. 2006-06-13 Jackson Harper <[email protected]>
  8012. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  8013. and redraw the buttons when needed. Unhook when the window is
  8014. unmaximized.
  8015. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  8016. needs this so that it can redraw its buttons when the menu is
  8017. repainted.
  8018. * InternalWindowManager.cs:
  8019. * Form.cs: The method order has changed for DrawMaximizedButtons,
  8020. so that it can be a PaintEventHandler.
  8021. 2006-06-13 Jackson Harper <[email protected]>
  8022. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  8023. window is activated and maximized, even if it wasn't before.
  8024. - When a new window is activated repaint the decorations of the
  8025. old one, so that it no longer has the Active "look" (the blue
  8026. titlebar).
  8027. * InternalWindowManager.cs: Open up CreateButtons to base classes
  8028. so they can recreate the buttons on state changes.
  8029. - If a window is maximized give it all three buttons
  8030. * MdiWindowManager.cs: Create the titlebar buttons when the state
  8031. is changed, this is needed because a toolwindow will not have all
  8032. three buttons until it is maximized.
  8033. 2006-06-13 Atsushi Enomoto <[email protected]>
  8034. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  8035. Fixed bug #78609.
  8036. 2006-06-12 Jackson Harper <[email protected]>
  8037. * KeysConverter.cs: Make sure we handle the Ctrl special case
  8038. if its the only key.
  8039. 2006-06-12 Jackson Harper <[email protected]>
  8040. * Theme.cs: Add a method to get the size of a managed window
  8041. toolbar button.
  8042. * InternalWindowManager.cs: Remove the ButtonSize property, this
  8043. should be retrieved from the theme.
  8044. * MdiWindowManager.cs: Get the button size from the theme
  8045. * ThemeWin32Classic.cs: Make the method to get the managed window
  8046. titlebar button size public.
  8047. - Handle the different button sizes of maximized toolwindows
  8048. (should match any maximized window).
  8049. - Get the titlebar height from the theme, not the WM (which gets
  8050. it from the theme).
  8051. 2006-06-12 Jackson Harper <[email protected]>
  8052. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  8053. event down to the mdi window manager.
  8054. - Expose some extra stuff to base classes
  8055. - Make sure to end the Capture on an NC Mouse up, so that we can
  8056. get double clicks properly, and the sizing doens't stick.
  8057. - When doing PointToClient contain it in the workable desktop
  8058. area, this prevents windows from changing size when the cursor is
  8059. pulled outside of the working area while sizing.
  8060. * MdiWindowManager.cs: When we get a double click maximize the
  8061. window.
  8062. - Reset the cursor after handling mode changes.
  8063. 2006-06-12 Peter Dennis Bartok <[email protected]>
  8064. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  8065. current desktop, instead of just assuming a 0, 0 origin. This
  8066. is needed for our internal window manager, to know the top
  8067. margin of the desktop
  8068. 2006-06-12 Chris Toshok <[email protected]>
  8069. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  8070. we need this to get rid of the selected background in the bool
  8071. column.
  8072. (CancelEditing): move the ConcedeFocus call to above the Abort
  8073. call. Also, set is_changing to false and invalidate the row
  8074. header if we were changing before.
  8075. (ProcessKeyPreviewInternal): remove, since noone outside this
  8076. class calls it anymore. Roll the code into ProcessKeyPreview.
  8077. (EndEdit): remove the internal version.
  8078. (InvalidateCurrentRowHeader): make private.
  8079. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  8080. Keys.Escape handling (and with it the last call to
  8081. DataGrid.EndEdit from outside the class.)
  8082. 2006-06-12 Chris Toshok <[email protected]>
  8083. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  8084. (OnKeyPress): set isedit to true.
  8085. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  8086. already handled by the grid.
  8087. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  8088. right. ugh.
  8089. (set_DataSource): SetDataSource always returns true, so stop
  8090. putting it in an if statement.
  8091. (EndEdit): get rid of some {}'s
  8092. (ProcessGridKey): return true in case Keys.Escape.
  8093. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  8094. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  8095. PositionChanged, stopped connecting to CurrentChanged.
  8096. (GetDataSource): simplify this a bunch.
  8097. (SetDataSource): change return type from bool to void.
  8098. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  8099. to this, and make sure we don't set ListManager.Position inside
  8100. set_CurrentCell.
  8101. (OnListManagerItemChanged): if we're passed an actual index,
  8102. redraw that row.
  8103. * CurrencyManager.cs (set_Position): don't call PullData here.
  8104. 2006-06-09 Jackson Harper <[email protected]>
  8105. * TreeNode.cs: Recalculate the visible order before doing the
  8106. Expand/Collapse Below calls, because those calls generate an
  8107. expose.
  8108. - Reduce calls to the TreeView property, which is mildly expensive
  8109. by using a local var.
  8110. * Form.cs: Layout the MDI child windows when creating the parent
  8111. form.
  8112. - Don't use the internal constructor anymore
  8113. * MdiClient.cs: use the parent form width/height (if available)
  8114. when laying out the child windows, we do this because the
  8115. mdiclient isn't docked yet when the initial layout is done.
  8116. - Don't need an internal constructor anymore.
  8117. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8118. * FileDialog.cs: handle access errors when trying to create a folder
  8119. or changing to a directory. No need to initialize out parameters.
  8120. 2006-06-08 Alexander Olk <[email protected]>
  8121. * FileDialog.cs: Append a number when creating a new folder if the
  8122. folder already exists (use parenthesis instead of square brackets)
  8123. 2006-06-08 Alexander Olk <[email protected]>
  8124. * FileDialog.cs:
  8125. - Disabled registry support for windows and added better registry
  8126. error checking for other systems (need to investigate why it
  8127. works perfectly on my system)
  8128. - If a folder already exist show an error MessageBox instead of
  8129. trying to create an indexed name.
  8130. - Fixed a non intentional typo.
  8131. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8132. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  8133. 2006-06-08 Alexander Olk <[email protected]>
  8134. * FileDialog.cs: When creating a new folder don't crash if the
  8135. folder already exists.
  8136. 2006-06-08 Alexander Olk <[email protected]>
  8137. * FileDialog.cs: Allmost a complete rewrite.
  8138. - added a "virtual" file system that handles the differences
  8139. between unix and windows file systems (especially the directory
  8140. structure). Moved most of the directory and file handling code
  8141. into the vfs.
  8142. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  8143. UnixFileSystem and FSEntry.
  8144. - Recently used folder/directory, size, location and used file names
  8145. (file name ComboBox) are now stored in the registry and get read
  8146. before the dialog shows up (fixes part 6 of bug #78446).
  8147. - Creation of new folders/directories is now possible (context menu
  8148. or ToolBar). Added TextEntryDialog for this that fills in the gap
  8149. until ListView.LabelEdit works.
  8150. - Fixed cursor handling (bug #78527) and focus handling for
  8151. PopupButtonPanel
  8152. - Various "Search in" ComboBox enhancements. The content of the
  8153. dropdown listbox now almost matches ms.
  8154. - Changed the behaviour when the user switches to SpecialFolder
  8155. Recent to show the ListView in View.Details.
  8156. - Beside using the ToolBar to change the View property of the
  8157. file ListView it is now possible to use the context menu too.
  8158. 2006-06-08 Alexander Olk <[email protected]>
  8159. * ComboBox.cs: Don't create a new ObjectCollection when an item
  8160. gets inserted. Just insert the item in the existing object_items
  8161. ArrayList.
  8162. 2006-06-08 Jackson Harper <[email protected]>
  8163. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  8164. that the treeview and root node checks are done also, this fixes a
  8165. regression i caused in the unit tests.
  8166. 2006-06-07 Wade Berrier <[email protected]>
  8167. * RichTextBox.cs: More ISO8859-1 -> unicode
  8168. 2006-06-07 Mike Kestner <[email protected]>
  8169. * ComboBox.cs : use items to hold highlight/selection so that
  8170. collection insertions don't require synchronization.
  8171. 2006-06-07 Jackson Harper <[email protected]>
  8172. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  8173. routine. We now always keep the sized edge at the cursor instead
  8174. of computing movement and adjusting rects. There is one buglet
  8175. with this method though when the cursor is moved over area that
  8176. the window can not expand too (such as the toolbars on the desktop).
  8177. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8178. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  8179. here. Fixes crash on startup in AlbumSurfer.
  8180. 2006-06-07 Peter Dennis Bartok <[email protected]>
  8181. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  8182. values
  8183. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8184. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  8185. statement to avoid calling XNextEvent which will block if another thread
  8186. took the event that we were expecting. Fixes bug #78605.
  8187. 2006-06-07 Mike Kestner <[email protected]>
  8188. * ListView.cs : isolated checkbox clicking from the selection logic.
  8189. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  8190. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  8191. * Form.cs: Check that the value passed to Form.DialogResult
  8192. is a valid enum value.
  8193. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8194. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  8195. Computer'. Clicking it in the network view goes to 'My Computer'.
  8196. Added CIFS filesystem type. Display the mount point of filesystems.
  8197. Avoid duplicate mount points (happens for me with CIFS);
  8198. 2006-06-06 Jackson Harper <[email protected]>
  8199. * InternalWindowManager.cs: Draw the maximized windows buttons
  8200. when resizing.
  8201. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8202. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  8203. all other dialogs. Fixes bug #78585.
  8204. 2006-06-06 Mike Kestner <[email protected]>
  8205. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  8206. Only invalidate checkbox on checkstate changes to avoid flicker.
  8207. * ListBox.cs : avoid unselect/select when clicking selected item.
  8208. avoid reselection flicker for already multiselected items.
  8209. Fixes #78382.
  8210. 2006-06-06 Jackson Harper <[email protected]>
  8211. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  8212. the parent form so that the menu is removed if needed.
  8213. 2006-06-06 Mike Kestner <[email protected]>
  8214. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  8215. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  8216. 2006-06-06 Mike Kestner <[email protected]>
  8217. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  8218. 2006-06-06 Jackson Harper <[email protected]>
  8219. * Control.cs: Use the property (instead of the field) to get the
  8220. default cursor so it is instantiated correctly.
  8221. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  8222. resizes so we need to manually repaint the window decorations here.
  8223. - Set the titlebar button locations as soon as they are created,
  8224. otherwise they are not set correctly on win32.
  8225. 2006-06-06 Chris Toshok <[email protected]>
  8226. * CurrencyManager.cs (set_Position): call PullData before
  8227. OnCurrentChanged.
  8228. (AddNew): after calling IBindingList.AddNew, update our
  8229. listposition, and call OnCurrentChanged/OnPositionChanged (without
  8230. calling PullData).
  8231. (OnCurrentChanged): remove the call to PullData from here.
  8232. (OnItemChanged): remove the call to PushData from here.
  8233. (OnPositionChanged): change the test from == null to != null to
  8234. match the other methods.
  8235. (ListChangedHandler): the grossest part of the patch. Implement
  8236. this such that it passes the unit tests in CurrencyManagerTest and
  8237. the output more or less matches that of MS's implementation.
  8238. 2006-06-06 Mike Kestner <[email protected]>
  8239. * ListView.cs : only update check state on single click.
  8240. * ThemeWin32Classic.cs : fix focus drawing for details view without
  8241. fullrowselect. Fixes #78454.
  8242. * XplatUIX11.cs : fix for double click emission.
  8243. 2006-06-05 Jonathan Chambers <[email protected]>
  8244. * PropertyGridView.cs : Applied Atsushi's patch to fix
  8245. font dialog bug (#78197).
  8246. 2006-06-05 Jackson Harper <[email protected]>
  8247. * TreeNode.cs: Compute the next node for expanding/collapsing
  8248. correctly. We now factor in nodes without a NextNode
  8249. correctly. (Fixes somes cases in nunit-gui).
  8250. * InternalWindowManager.cs: Set the bounds when updating the
  8251. virtual position of a tool window.
  8252. 2006-06-05 Chris Toshok <[email protected]>
  8253. * DataGrid.cs: rename cached_currencymgr to list_manager.
  8254. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  8255. some.
  8256. (CurrentRow, CurrentColumn): single accessors so we can make the
  8257. cursor movement code a lot easier to understand.
  8258. (CurrentRowIndex): implement this in terms of CurrentRow.
  8259. (BeginEdit): clean this up a bit.
  8260. (CancelEditing): sort out the is_editing/is_changing/is_adding
  8261. stuff a little.
  8262. (EndEdit): minor changes.
  8263. (OnKeyDown): add a comment about a (most likely) unnecessary
  8264. check.
  8265. (OnMouseDown): cancel editing when we click on a row header. And
  8266. use the CurrentRow setter, not CurrentCell.
  8267. (ProcessDialogKey): directly call ProcessGridKey.
  8268. (UpdateSelectionAfterCursorMove): factor out this common block of
  8269. code (it's used everywhere that we move the cursor by updating row
  8270. or column).
  8271. (ProcessGridKey): pretty substantial overhaul. Use the
  8272. CurrentRow/CurrentColumn properties to make the code a lot more
  8273. readable. Only use the CurrentCell property when we have to
  8274. modify both row and column at once. Tab behavior is still broken,
  8275. and Delete is untested.
  8276. (Select): if we have no selected rows, set selection_start to
  8277. @row.
  8278. (EditCurrentCell): rename EditCell this. It was only ever invoked
  8279. with CurrentCell as the arg, so drop the arg and rename it.
  8280. * DataGridColumnStyle.cs: clean up the constructors a little, and
  8281. drop CommonConstructor().
  8282. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  8283. actually get notified when the user hits it.
  8284. (ProcessKeyMessage): *substantially* simplify this method.
  8285. There's no reason (that I can see) for the textbox to be making
  8286. calls into the datagrid at all. Remove all of them but the ones
  8287. for Enter handling. those will take some more work.
  8288. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  8289. calling HideEditBox.
  8290. (HideEditBox): if we have an active textbox, render it invisible
  8291. without causing a re-layout of the datagrid.
  8292. 2006-06-05 Mike Kestner <[email protected]>
  8293. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  8294. collection changes by resetting it to Items[0]. Fixes #78587.
  8295. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  8296. * MessageBox.cs: if the height of the text is larger than the icon_size,
  8297. use that. Fixes bug #78575.
  8298. 2006-06-05 Jackson Harper <[email protected]>
  8299. * TreeView.cs: Fix line drawing when scrolling. To do this each
  8300. node is basically responsible for drawing its entire horizontal
  8301. area. When drawing a node it draws its parent node lines if
  8302. needed.
  8303. - Adjust the clip area to the viewport rectangle
  8304. - Fix Left/Right key handling to match MS. (It expand/collapses
  8305. and moves to parents/first child but does not move selection to
  8306. sibling nodes).
  8307. - Fix SetTop to work with new bound calculation code
  8308. - When scrollbars are no longer needed we need to reset scrolling
  8309. vars and recalculate the visible order so the redraw is correct
  8310. * TreeNode.cs: We can't expand/collapse nodes with no children.
  8311. 2006-06-03 John Luke <[email protected]>
  8312. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  8313. so the colors work without dev packages
  8314. 2006-06-02 Peter Dennis Bartok <[email protected]>
  8315. * Control.cs
  8316. - Select: Implemented to just use activate. Seems to match MS
  8317. behaviour closest. Documented to only do actual control walking
  8318. based on it's parameters if in a container control so I moved
  8319. the code there.
  8320. - Removed selection check logic from our internal Select() method
  8321. * ContainerControl.cs:
  8322. - Select: Moved selection logic from Control here, since MS documents
  8323. that containers obey the bool arguments. No longer calling base
  8324. 2006-06-02 Jackson Harper <[email protected]>
  8325. * TreeView.cs: If the selected node isn't changed when we get
  8326. focus update the previously selected node so that we see the
  8327. selection box.
  8328. 2006-06-02 Mike Kestner <[email protected]>
  8329. * ComboBox.cs: restructure grab and general mouse event handling.
  8330. Make the composite control raise mouse events like it was a single
  8331. control for leaves/enters/motion/up/down events. fix dropdown list
  8332. coordinate mangling and refactor it into the scrollbar subclass to
  8333. reduce code duplication. Fixes #78282 #78361 and #78457.
  8334. 2006-06-02 Mike Kestner <[email protected]>
  8335. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  8336. automatically in the Control.WndProc.
  8337. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8338. * FileDialog.cs: fix crash when running SharpChess, which sets the
  8339. FilterIndex to 2 with only one Filter.
  8340. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8341. * ToolBar.cs: add SizeSpecified property.
  8342. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  8343. try to figure out our real size, otherwise fallback to what the
  8344. container says.
  8345. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8346. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  8347. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  8348. up the event
  8349. 2006-06-01 Mike Kestner <[email protected]>
  8350. * ListView.cs: revamp the focus management in ListView. It still
  8351. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  8352. better than not handling focus at all. Will revisit when pdb feels
  8353. the general focus handling is solid. Fixes #78526.
  8354. 2006-06-01 Jackson Harper <[email protected]>
  8355. * TreeView.cs: Set the default border style in the constructor.
  8356. - Move painting to use OnPaintInternal instead of capturing
  8357. WM_PAINT, this is the correct way of doing things
  8358. - UpdateBelow shouldn't invalidate the scrollbar area
  8359. - Cap the top on update below in case the node was above the top
  8360. of the viewport rectangle.
  8361. - ExpandBelow and Collapse below need to obey Begin/End Update.
  8362. * TreeNode.cs: Make is_expanded internal so the treenode
  8363. collection can change it without firing the whole event chain.
  8364. * TreeNodeCollection.cs: When clearing all the child nodes make
  8365. sure to recalc the visible order.
  8366. - Improve algo for remove the top node
  8367. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8368. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  8369. SendMessage directly calling window procedures, which in turn might
  8370. call SetFocus()
  8371. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8372. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  8373. has focus (works around X11 sending a FocusIn after our SetFocus)
  8374. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  8375. 2006-06-01 Alexander Olk <[email protected]>
  8376. * Mime.cs: Fix for the NET_2_0 build.
  8377. NameValueCollection needs StringComparer now.
  8378. 2006-05-31 Chris Toshok <[email protected]>
  8379. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  8380. return (via an out parameter) the starting X of the column.
  8381. (UpdateVisibleColumn): track change to FromPixelToColumn.
  8382. (HitTest): add a ColumnResize case here.
  8383. (DrawResizeLine): new function, probably poorly named.
  8384. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  8385. only need to keep one reference.
  8386. (set_ListManager): same.
  8387. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  8388. Also, add support for HitTestType.ColumnResize.
  8389. (OnMouseMove): add column resize behavior here, and change the
  8390. cursor to the correct one as we move around the datagrid.
  8391. (OnMouseUp): terminate the column resize if we're resizing.
  8392. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  8393. for the current cell.
  8394. (ConnectListManagerEvents): use cached_currencymgr.
  8395. (DisconnectListManagerEvents): fill this in, using
  8396. cached_currencymgr.
  8397. (SetCurrentCell): remove cached_currencymgr_events handling.
  8398. (SetDataMember): only call DisconnectListManagerEvents if
  8399. cached_currencymgr is != null.
  8400. (SetDataSource): same.
  8401. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  8402. cached_currencymgr.
  8403. 2006-05-31 Jackson Harper <[email protected]>
  8404. * BindingManagerBase.cs: Remove somedebug code that creeped into
  8405. SVN.
  8406. * TreeNode.cs: We get the indent level dynamically right now, so
  8407. don't track it as a member.
  8408. * TreeNodeCollection.cs: Make sure all nodes added to the list
  8409. have parents, treeviews/topnodes setup properly.
  8410. - Don't attempt to track indent level.
  8411. 2006-05-30 Jackson Harper <[email protected]>
  8412. * BindingContext.cs: Create the currency manager tables here.
  8413. This allows us to more easily create null tables (when bad data
  8414. members are used), and more easily create related currency
  8415. managers.
  8416. * CurrencyManager.cs: All the table creation stuff is done by the
  8417. binding context now.
  8418. - Current should throw an exception if listposition is -1.
  8419. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  8420. been bound yet.
  8421. 2006-05-30 Mike Kestner <[email protected]>
  8422. * ListView.cs: allow reexpansion of zero-width column headers.
  8423. Fixes #78528.
  8424. 2006-05-28 Chris Toshok <[email protected]>
  8425. * CurrencyManager.cs (get_Current): after the late binding
  8426. listposition = -1 fix, we need to guard against it here and return
  8427. null, otherwise we raise an exception (which is swallowed
  8428. elsewhere, and breaks datagrid databinding.)
  8429. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8430. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  8431. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  8432. 2006-05-26 Jackson Harper <[email protected]>
  8433. * ControlPaint.cs:
  8434. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  8435. values, it's faster and it's all we care about (we don't care if
  8436. the names aren't equal).
  8437. * KeyboardLayouts.cs: Eliminate some dead code.
  8438. - Lazy init things
  8439. * X11Keyboard.cs: Lazy init keyboard detection.
  8440. - Cleanup access modifiers a little.
  8441. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8442. * XplatUIX11.cs: Once again, attempting to get layout just right.
  8443. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8444. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  8445. the sizes of each link section, that will result in sizes that
  8446. match DrawString's layout (Fixes #78391)
  8447. 2006-05-27 Alexander Olk <[email protected]>
  8448. * FileDialog.cs: If AddExtension property is true autocomplete the
  8449. extensions in SaveFileDialog correctly. Fixes bug #78453.
  8450. Set MyNetwork and MyComputer to "C:\" for windows. This should
  8451. fix part 8 of bug #78446 for now.
  8452. 2006-05-26 Chris Toshok <[email protected]>
  8453. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  8454. invalidate the current row header if we need to, but presumably
  8455. we'll invalidate the row corrsponding to the bounds or
  8456. editingControl.
  8457. (GridHScrolled): switch back to this method, as it's part of the
  8458. public api. *sigh*.
  8459. (GridVScrolled): same.
  8460. (OnMouseWheel): hack up something that more or less works. Call
  8461. GridHScrolled/GridVScrolled directly, instead of duplicating much
  8462. of their code here.
  8463. (EnsureCellVisibility): reinstate a bunch of this code, since we
  8464. can't just set the scrollbar Value and expect to do all the work
  8465. in the ValueChanged handler. Also, Call Update() after scrolling
  8466. in one direction so the other XplatX11.ScrollWindow call has the
  8467. proper stuff in the proper places.
  8468. (EditCell): set is_editing to true before calling .Edit.
  8469. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  8470. don't bother comparing first.
  8471. (OnKeyPress): call grid.ColumnStartedEditing before calling
  8472. base.OnKeyPress. this will set is_changing and invalidate the row
  8473. header if necessary.
  8474. (ProcessKeyMessage): for WM_CHAR messages, call
  8475. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  8476. and WM_KEYDOWN.
  8477. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  8478. it's done in the DataGrid.
  8479. (NextState): call grid.ColumnStartedEditing, which takes care of
  8480. invalidating the row header (and setting is_changing).
  8481. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  8482. here. it's done in the DataGrid.
  8483. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8484. * Control.cs: allow changing the cursor when the mouse position is
  8485. out of bounds but Capture is set.
  8486. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  8487. linklabel but released somewhere else.
  8488. 2006-05-25 Jackson Harper <[email protected]>
  8489. * TreeView.cs: When we get focus if there is no selected node make
  8490. it the top node
  8491. - Remove some uneeded setup code from Draw.
  8492. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  8493. a new node is inserted make the new node the top.
  8494. * XplatUIX11.cs:
  8495. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  8496. be used (should be faster).
  8497. 2006-05-25 Chris Toshok <[email protected]>
  8498. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  8499. problem with the last commit.
  8500. 2006-05-25 Chris Toshok <[email protected]>
  8501. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  8502. need the invalidate call here, while scrolling right-to-left via
  8503. the left arrow key (i.e. moving the editing cell while scrolling).
  8504. * DataGrid.cs (.ctor): remove the initialization of
  8505. ctrl_pressed/shift_pressed. We no longer track them using key
  8506. up/down handlers, but by using Control.ModifierKeys. Also, switch
  8507. to using ValueChanged handlers on the scrollbars instead of
  8508. Scrolled event handlers. This simplifies a bunch of the scrolling
  8509. code.
  8510. (GridHValueChanged): rename from GridHScrolled, and change it to
  8511. work with the new event args.
  8512. (GridVValueChanged): same.
  8513. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  8514. (OnMouseWheel): actually scroll the datagrid. Don't change the
  8515. selected cell.
  8516. (ProcessGridKey): correct all the keyboard navigation stuff I
  8517. could find. Ctrl up/down/left/right/home/end work now.
  8518. (EnsureCellVisibility): correct method name spelling. Also,
  8519. simplify this a touch by not explicitly calling the
  8520. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  8521. scrollbar value.
  8522. (OnKeyUpDG): no need for this method now.
  8523. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8524. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  8525. Fixes bug #78392.
  8526. 2006-05-25 Chris Toshok <[email protected]>
  8527. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  8528. r61019.
  8529. 2006-05-25 Peter Dennis Bartok <[email protected]>
  8530. * Application.cs: Moved setting of is_modal and closing to before
  8531. we create the control, to allow the event handlers called as a
  8532. result of creation affect closing. Also removed Gonzalo's previous
  8533. change to setting DialogResult, the behaviour has been moved to
  8534. Form.ShowDialog()
  8535. * Form.cs:
  8536. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  8537. handle it instead
  8538. - ShowDialog(): If no dialog result is set, we need to return Cancel
  8539. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  8540. the close is cancelled
  8541. 2006-05-25 Jackson Harper <[email protected]>
  8542. * StatusBar.cs: We only need to update the sizes of the other
  8543. panels when we have auto size contents. Also we are only updating
  8544. the contents of the panel, not the borders, so compensate for the
  8545. border width (TODO: get this width from the theme somehow).
  8546. * TreeView.cs: Scrollable is true by default
  8547. - Use invalidate instead of refresh where needed
  8548. - Factor the scrollable value into scrollbar updating
  8549. - Update the scrollbars if the Scrollable property is altered
  8550. - Update the selected node if its ImageIndex is changed
  8551. - Handle null nodes in UpdateNode (mainly so we don't have to
  8552. check if selected is null when updating it
  8553. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  8554. are factored into the visible count
  8555. - Use VisibleCount for clarity in the code
  8556. - When the font is changed we need to recurse through all the
  8557. nodes and invalidate their sizes
  8558. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8559. * Application.cs: set the DialogResult to fixed when the main form is
  8560. hidden or destroyed while being modal.
  8561. 2006-05-25 Miguel de Icaza <[email protected]>
  8562. * Theme.cs: Use Tangoified messagebox icons.
  8563. (GetSizedResourceImage): Also cope with width = 0 and do not
  8564. trigger a warning in that case (0 means "give me your icon from
  8565. the resouce, no special size needed).
  8566. 2006-05-25 Peter Dennis Bartok <[email protected]>
  8567. * Application.cs: Leave runloop if the the main modal form is
  8568. hidden (fixes #78484)
  8569. 2006-05-25 Atsushi Enomoto <[email protected]>
  8570. * BindingContext.cs : reject null datasource in Contains() and
  8571. Item[].
  8572. * CurrencyManager.cs : check data_member validity when data_source
  8573. is dataset. When it is late binding, the initial position is -1.
  8574. 2006-05-24 Jackson Harper <[email protected]>
  8575. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  8576. inserted nodes that aren't visible. This changes the
  8577. max_visible_order which confuses scrollbar settings.
  8578. - Use the enumerator to get the prev node instead of duplicating
  8579. code.
  8580. * TreeView.cs: Use new method for setting scrollbar values
  8581. - Don't set the bounds every time the scrollbar is updated
  8582. - When updating below the root node use an invalidate instead of a
  8583. refresh to prevent the child controls (scrollbars) from being
  8584. refreshed. (UpdateBelow still needs to be reworked anyways).
  8585. - Reenable SetBottom now that visible orders are set correctly,
  8586. added some debug code incase we ever get bad values there again.
  8587. - Set the scrollbar max to 2 less then the max value, this
  8588. compensates for the max value being one above the node count, and
  8589. for scrollbars adding one extra "notch".
  8590. - When drawing image nodes if there is an imagelist we draw the
  8591. first image in the list if the supplied image index is out of the
  8592. image list's bounds.
  8593. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8594. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  8595. we receive a size change from the WM (Fixes #78503)
  8596. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8597. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  8598. rectangle (Fixes #78501)
  8599. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8600. * ButtonBase.cs:
  8601. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  8602. as a bitfield.
  8603. - Fixed MouseMove to no longer switch pressed state unless the left
  8604. mouse button is pressed. Atsushi provided the original patch (#78485)
  8605. 2006-05-24 Jackson Harper <[email protected]>
  8606. * ScrollBar.cs: New internal methods that allow us to change a
  8607. couple values on the scrollbar (the most common case is maximum
  8608. and large change) without getting multiple invalidates.
  8609. 2006-05-24 Chris Toshok <[email protected]>
  8610. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  8611. (Edit): save off the original state in oldState, and set
  8612. grid.is_editing to true.
  8613. (OnKeyDown): abort editing if escape is pressed. also, call
  8614. NextState if space is pressed.
  8615. (OnMouseDown): call NextState.
  8616. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  8617. here. Also, only invalidate the row header once (on the initial
  8618. is_changing switch) to save on redraws.
  8619. 2006-05-24 Chris Toshok <[email protected]>
  8620. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  8621. if the value in the cell is different than it was before. This
  8622. keeps us from triggering a layout when we move around a datarid
  8623. with a highlighted cell.
  8624. (Edit): suspend layout when creating/positining the text box, and
  8625. resume passing false so we don't ever actually re-layout.
  8626. (ReleaseHostedControl): same.
  8627. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  8628. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  8629. control-key sequences should go to the datagrid - remove that
  8630. lock. Also, modify the conditions under which we move between
  8631. cells when moving the cursor within a cell, and remove the "this"
  8632. and "base" from field accesses. We weren't even consistent, given
  8633. they all were in the base class.
  8634. 2006-05-24 Atsushi Enomoto <[email protected]>
  8635. * Binding.cs : (.ctor)
  8636. An obvious NRE fix for BindingTest.CtorNullTest().
  8637. 2006-05-23 Chris Toshok <[email protected]>
  8638. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  8639. them between lines. This fixes some quirks editing cells in the
  8640. datagrid.
  8641. 2006-05-23 Jackson Harper <[email protected]>
  8642. * TreeView.cs: Use begin/end update when doing expand/collapse all
  8643. so that we don't get flicker on the scrollbar.
  8644. 2006-05-23 Jackson Harper <[email protected]>
  8645. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  8646. treenode calculations to be independant of the painting code. To
  8647. do this nodes track a visible order which is calculated by the
  8648. treeview.
  8649. - Call new methods for expanding/collapsing nodes. These methods
  8650. use scrollwindow so we don't have to update everything below the
  8651. node.
  8652. * TreeView.cs: Refactored drawing and scrolling code. We don't
  8653. need to update nodes when drawing anymore or calculate scrollbar
  8654. stuff.
  8655. - Added new methods for expanding/collapsing nodes. These methods
  8656. use ScrollWindow so as to not have to redraw all the nodes below.
  8657. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  8658. we add/remove nodes or sort.
  8659. - Handle removing the selected and the top node properly.
  8660. 2006-05-23 Chris Toshok <[email protected]>
  8661. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  8662. maybe this should actually happen in the datagrid code?
  8663. (EndEdit): no need to invalidate anything, given that
  8664. ReleaseHostedControl causes the datagrid to relayout, which
  8665. invalidates everything anyway.
  8666. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  8667. in SetCurrentCell).
  8668. (set_SelectionBackColor): call InvalidateSelection instead of
  8669. Refresh.
  8670. (set_SelectionForeColor): same.
  8671. (BeginEdit): Flesh this out a bit.
  8672. (CancelEditing): only do any of this if we're editing/adding.
  8673. (EndEdit): same.
  8674. (OnMouseDown): there's no need to cancel editing here, it's done
  8675. in SetCurrentCell.
  8676. (SetCurrentCell): only invalidate the current row header if it's a
  8677. different row than the new one.
  8678. (ShiftSelection): fix this to work like MS does.
  8679. (ResetSelection): factor out the invalidation of selected_rows to
  8680. InvalidateSelection.
  8681. (SetDataSource): cancel any editing that's going on.
  8682. * DataGridColumnStyle.cs
  8683. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  8684. call the non-interface version.
  8685. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  8686. header rectangle with the clip rectangle so we don't redraw the
  8687. entire header for just a small area. Gets rid of the last flicker
  8688. when horizontally scrolling.
  8689. (DataGridPaintRow): same.
  8690. 2006-05-23 Mike Kestner <[email protected]>
  8691. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  8692. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  8693. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  8694. Critical bug report.
  8695. 2006-05-23 Peter Dennis Bartok <[email protected]>
  8696. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  8697. and this fixes #78493
  8698. 2006-05-23 Miguel de Icaza <[email protected]>
  8699. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  8700. size is not found.
  8701. * FileDialog.cs: Do not change the background for the side bar as
  8702. it wont work nicely with the theme, and also reduces the artifacts
  8703. in rendering the icons (which I want to fix too).
  8704. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  8705. resources, not resgen resources.
  8706. (PlatformDefaultHandler): Pull images using the new API.
  8707. 2006-05-23 Peter Dennis Bartok <[email protected]>
  8708. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  8709. a reference to the hwnd and will not remove it unless there are
  8710. no pending exposures (fixes #78341)
  8711. * XplatUI.cs: Improved debug
  8712. 2006-05-23 Atsushi Enomoto <[email protected]>
  8713. * MenuAPI.cs : don't handle OnClick event when it was not the left
  8714. button. Fixed bug #78487.
  8715. 2006-05-23 Mike Kestner <[email protected]>
  8716. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  8717. prefer submenus to the top menu for item lookup, to avoid popping down
  8718. top-row items.
  8719. 2006-05-23 Alexander Olk <[email protected]>
  8720. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  8721. Graphics.FillRectangle as the visual results are really bad (even
  8722. on win). We now draw perfect arrows (and perfect shadows when the
  8723. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  8724. Pen.DashPattern to draw the dots of each line.
  8725. 2006-05-22 Alexander Olk <[email protected]>
  8726. * FileDialog.cs: Update the filename combobox when navigating through
  8727. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  8728. 2006-05-22 Mike Kestner <[email protected]>
  8729. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  8730. Fixes #78463.
  8731. 2006-05-22 Mike Kestner <[email protected]>
  8732. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  8733. requests. Fix a misspelled parameter and a copy paste exception error
  8734. in Select.
  8735. 2006-05-22 Peter Dennis Bartok <[email protected]>
  8736. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  8737. to get the same width/height (5/13) on X11 as the default font has on
  8738. win32. This means that our DefaultFont emSize is smaller than the
  8739. the MS SWF equivalent (even thought the width/height stays the same)
  8740. 2006-05-20 Jackson Harper <[email protected]>
  8741. * MdiClient.cs:
  8742. * MdiWindowManager.cs:
  8743. * InternalWindowManager.cs: Make sure to use the border width from
  8744. the theme.
  8745. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  8746. * PrintDialog.cs: Implements printer details
  8747. 2006-05-19 Alexander Olk <[email protected]>
  8748. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  8749. Fixes part 1 and 2 of bug #78446
  8750. 2006-05-19 Peter Dennis Bartok <[email protected]>
  8751. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  8752. instead of sticking to the first ever calculated value
  8753. 2006-05-19 Mike Kestner <[email protected]>
  8754. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  8755. PointToClient, since Capture is set. Fixes #78344.
  8756. 2006-05-19 Mike Kestner <[email protected]>
  8757. * ListView.cs: match MS behavior in Details view where items are not
  8758. drawn if Columns.Count == 0.
  8759. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  8760. Use a separate pen to draw the check, since changing the width affects
  8761. the box as well. Fixes #78454.
  8762. 2006-05-18 Miguel de Icaza <[email protected]>
  8763. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  8764. exception should throw the name of the invalid argument.
  8765. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  8766. there are no files listed.
  8767. 2006-05-18 Jackson Harper <[email protected]>
  8768. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  8769. up.
  8770. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8771. * Control.cs: Brought back our old UpdateZOrder method as a private
  8772. function and switched our calls from UpdateZOrder to the new one.
  8773. This fixes the Paint.Net canvas disappearing bug.
  8774. 2006-05-18 Jackson Harper <[email protected]>
  8775. * Theme.cs:
  8776. * ThemeWin32Classic.cs:
  8777. * InternalWindowManager.cs: Move the drawing into the theme,
  8778. expose everything the theme should need from the window manager.
  8779. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8780. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  8781. from the call to NativeWindow to avoid walking up the parent chain
  8782. further than needed (speeds up setting cursors and avoids setting
  8783. the wrong cursor if a parent has another cursor defined)
  8784. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  8785. the icon as hotspot, not what's contained as hotspot in the icon
  8786. file. This fixes the perceived drawing offset seen with Paint.Net
  8787. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8788. * XplatUIX11.cs:
  8789. - Store the calculated rectangle in Hwnd object and use it when
  8790. setting the client size
  8791. - Force Toolwindows to always be type Dock, to ensure they're on top
  8792. 2006-05-18 Mike Kestner <[email protected]>
  8793. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  8794. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  8795. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  8796. Substantial refactoring to remove confusing nested classes. Coding
  8797. standard and Get+Set->property refactorings. Shift to index based
  8798. highlighting in ComboListBox instead of constantly using IndexOf and
  8799. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  8800. in FileDialog growth. Draw borders manually since Simple mode needs
  8801. to look like two independent controls. Make listbox border
  8802. conditional to DropDownStyle. Improved OwnerDraw support.
  8803. 2006-05-18 Sebastien Pouliot <[email protected]>
  8804. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  8805. Don't set the disposed graphics to null, so we can throw the "right"
  8806. exception if the graphics is reused later (added a flag to avoid
  8807. double disposing). Some behaviours are different under 2.0 and are
  8808. filled under bug #78448.
  8809. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8810. * Control.cs: When double-buffering is enabled, we need to reset
  8811. our graphics context between paint calls. Otherwise, any
  8812. transformations and other alterations on the context will
  8813. become cumulative (#77734)
  8814. 2006-05-18 Mike Kestner <[email protected]>
  8815. * ListView.cs: do focused item selection like MS on clicks.
  8816. Rework focus handling for ItemControl so LostFocus invalidates as
  8817. well.
  8818. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  8819. the ListView ItemControl has focus.
  8820. 2006-05-17 Peter Dennis Bartok <[email protected]>
  8821. * XplatUIX11.cs: If client_window ends up being width or height zero
  8822. due to border settings, move it off window inside whole_window (#78433)
  8823. 2006-05-17 Alexander Olk <[email protected]>
  8824. * Mime.cs: Shrink the mime file cache correctly.
  8825. 2006-05-17 Alexander Olk <[email protected]>
  8826. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  8827. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8828. * XplatUIX11.cs (AddExpose): More sanity checks
  8829. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8830. * XplatUIX11.cs:
  8831. - AddExpose: Don't add expose ranges outside the size of our
  8832. window
  8833. - Cast opacity values to Int32 to avoid crashes with certain
  8834. values
  8835. - Added disabled code paths that protect against illegal cross-
  8836. thread painting (Developers.exe)
  8837. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8838. * ProgressBar.cs: Invalidate the control when it's resized
  8839. since block size is based on control size. (#78388)
  8840. 2006-05-16 Miguel de Icaza <[email protected]>
  8841. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  8842. of setting the incoming argument to the "reset" value, we set the
  8843. this.datamember to string.empty (before we were invalidating the
  8844. incoming data).
  8845. Fixes 78420
  8846. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8847. * Form.cs: Only apply transparency settings after the form
  8848. is created. (Fixes #77800)
  8849. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8850. * ApplicationContext.cs: Grab the HandleDestroyed event so
  8851. we know when to fire OnMainFormClosed
  8852. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8853. * Application.cs: Introduced sub-class to allow tracking of
  8854. threads and centralized triggering of the event mess for
  8855. ThreadExit, AppExit, etc.. (#76156)
  8856. 2006-05-16 Alexander Olk <[email protected]>
  8857. * MimeIcon.cs:
  8858. - Do not return a null icon index value for a mime subclass.
  8859. Instead try the main mime type class too.
  8860. - Seems that some newer distributions don't have a link to some
  8861. gnome default icons anymore. So check the default gnome dir too.
  8862. 2006-05-16 Jackson Harper <[email protected]>
  8863. * MdiClient.cs: Don't paint the parent background image if we have
  8864. our own background image.
  8865. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8866. * Control.cs:
  8867. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  8868. controls, all filled controls are supposed to overlap (#78080)
  8869. - UpdateZOrder is supposed to update the control's z-order in the
  8870. parent's z-order chain. Fixed to behave like that
  8871. - BringToFront: Removed obsolete code
  8872. - SendToBack: Simplyfied
  8873. - SetChildIndex: Trigger layout calculations when Z-order changes
  8874. since layout is done by z-order
  8875. 2006-05-16 Chris Toshok <[email protected]>
  8876. [ fixes bug #78410 ]
  8877. * DataGrid.cs (set_AlternatingBackColor): use
  8878. grid_drawing.InvalidateCells instead of Refresh().
  8879. (set_BackColor): call grid_drawing.InvalidateCells.
  8880. (set_BackgroundColor): use Invalidate instead of Refresh.
  8881. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  8882. invalidate the cell area.
  8883. 2006-05-15 Chris Toshok <[email protected]>
  8884. [ fixes bug #78011 ]
  8885. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  8886. on to DataGridPaintRow.
  8887. (DataGridPaintRow): take a clip argument, and only draw the cells
  8888. which intersect it. same with the not_usedarea.
  8889. * Theme.cs (DataGridPaintRow) add @clip parameter.
  8890. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  8891. XplatUI.ScrollWindow.
  8892. (ScrollToRow): same.
  8893. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  8894. with last column which was causing a gray swath to appear with the
  8895. XplatUI.ScrollWindow code.
  8896. 2006-05-15 Chris Toshok <[email protected]>
  8897. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  8898. use XplatUI.ScrollWindow.
  8899. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  8900. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8901. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  8902. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8903. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  8904. file since there are no equivalent X11 cursors
  8905. 2006-05-15 Atsushi Enomoto <[email protected]>
  8906. * MonthCalendar.cs : DateTimePicker should reflect selected date
  8907. on mouse*up*, not mouse*down*. Fixed originally reported part of
  8908. bug #76474.
  8909. 2006-05-15 Atsushi Enomoto <[email protected]>
  8910. * TabControl.cs : When argument index is equal or more than tab
  8911. count, just ignore. Fixed bug #78395.
  8912. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8913. * Control.cs: Dispose all child controls when control is diposed (#78394)
  8914. 2006-05-14 Alexander Olk <[email protected]>
  8915. * ColorDialog.cs: Finally it is possible to select the color with
  8916. the text boxes
  8917. 2006-05-14 Alexander Olk <[email protected]>
  8918. * PrintDialog.cs: Fix typo
  8919. 2006-05-14 Alexander Olk <[email protected]>
  8920. * PrintDialog.cs: PrintDialog is not resizable
  8921. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  8922. color. Made some ToolBar drawing methods protected virtual.
  8923. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  8924. * PrintDialog.cs: Implementation of the PrintDialog
  8925. 2006-05-12 Chris Toshok <[email protected]>
  8926. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  8927. thumb, instead use MoveThumb. This has the side effect of making
  8928. most of the other thumb moving machinery use MoveThumb as well.
  8929. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  8930. need to actually invalidate the rectangle where the new thumb will
  8931. go.
  8932. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  8933. We force an Update() after, so it's not as fast as it could be,
  8934. but at least there's zero flicker and no droppings.
  8935. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  8936. (UpdateThumbPos): add another argument (dirty), which says whether
  8937. or not to calculate/add dirty regions which we later invalidate.
  8938. For cases where we know we're going to use MoveThumb, we pass
  8939. false for this. Otherwise, pass true.
  8940. 2006-05-12 Jackson Harper <[email protected]>
  8941. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  8942. the status bar.
  8943. 2006-05-12 Peter Dennis Bartok <[email protected]>
  8944. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  8945. and GetClipRegion methods and UserClipWontExposeParent property.
  8946. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  8947. overriding UserClipWontExposeParent property, setting to false, since
  8948. Win32 handles the required expose messages to draw our clipped parent
  8949. areas internally
  8950. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  8951. PaintEventStart to set the user clip region if set.
  8952. * Control.cs:
  8953. - Now internally tracking the Region for the control since we need to
  8954. store it if the handle is not yet created and only set it when it
  8955. becomes created. Before setting the region forced handle creation
  8956. - Added code to draw the parents underneath a user-clipped region
  8957. * Hwnd.cs: Added UserClip property
  8958. 2006-05-12 Chris Toshok <[email protected]>
  8959. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  8960. (set_Maximum): same.
  8961. (set_Minimum): same.
  8962. (set_SmallChange): same.
  8963. (OnMouseUpSB): remove the call to refresh when releasing the
  8964. thumb. We shouldn't need it.
  8965. 2006-05-12 Miguel de Icaza <[email protected]>
  8966. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  8967. AutoSize set to None, we do not need to relayout everything, we
  8968. just need to invalidate the current region.
  8969. (Draw): Do not draw the entire ClientArea, just redraw the
  8970. clip area being passed.
  8971. * MdiClient.cs: Make MdiClient constructor with the Form argument
  8972. internal.
  8973. 2006-05-12 Jackson Harper <[email protected]>
  8974. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  8975. parents background image, but strangely not their own.
  8976. - (DrawStatusBarPanel): Take into account horizontal alignment
  8977. when drawing the strings and icons.
  8978. 2006-05-12 Mike Kestner <[email protected]>
  8979. * ListBox.cs: avoid invalidations for focus when the collection is
  8980. empty.
  8981. 2006-05-12 Chris Toshok <[email protected]>
  8982. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  8983. invalidate the entire thumb area. Call InvalidateDirty which
  8984. limits the redraw to the thumb itself and surrounding pixels.
  8985. * XplatUIX11.cs (ScrollWindow): optimize copying.
  8986. 2006-05-12 Chris Toshok <[email protected]>
  8987. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  8988. Figure out the positioning/layout in a single pass instead of
  8989. multiple recursive invocations. Speeds up the initial display of
  8990. the data grid. Also, make many things private that were
  8991. originally public but unused outside this class.
  8992. 2006-05-11 Jackson Harper <[email protected]>
  8993. * MdiClient.cs: Improved layout code.
  8994. 2006-05-11 Jonathan Chambers <[email protected]>
  8995. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  8996. not SelectedObject.
  8997. 2006-05-11 Chris Toshok <[email protected]>
  8998. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  8999. union of that will always be {0,0,width,height}.
  9000. 2006-05-11 Jackson Harper <[email protected]>
  9001. * Form.cs: Match MS's DefaultSize for forms (they must have
  9002. changed the size in sp2).
  9003. 2006-05-11 Atsushi Enomoto <[email protected]>
  9004. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  9005. 2006-05-11 Atsushi Enomoto <[email protected]>
  9006. * TextControl.cs : Fixed bug #78109. This incorrect position
  9007. comparison caused crash on automatic line split.
  9008. * TextBoxBase.cs : reduce duplicate code.
  9009. 2006-05-10 Jackson Harper <[email protected]>
  9010. * MdiClient.cs: Active form is only sent to the back when using
  9011. the Next form functionality, when a form is clicked the current
  9012. active shouldn't be sent to the back.
  9013. - Layout the mdi windows when the container is first made visible.
  9014. * Form.cs: Give the MdiClient a ref to the containing form when we
  9015. create it.
  9016. 2006-05-10 Atsushi Enomoto <[email protected]>
  9017. * LinkLabel.cs : link_font could be uninitialized, so populate one
  9018. before actual use. Fixed bug #78340.
  9019. 2006-05-10 Atsushi Enomoto <[email protected]>
  9020. * XplatUIX11.cs : clipboard format native value is IntPtr.
  9021. Fixed bug #78283.
  9022. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9023. * Control.cs:
  9024. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  9025. which is passed up the parent chain by DefWndProc
  9026. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  9027. to DefWndProc (#77956)
  9028. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  9029. 2006-05-10 Jackson Harper <[email protected]>
  9030. * MdiClient.cs: We need to remove the controls from the mdi
  9031. collection, when we close the window.
  9032. * MdiWindowManager.cs: Special handling of closing mdi windows.
  9033. * InternalWindowManager.cs: Make the close method virtual so the
  9034. mdi window manager can handle it specially.
  9035. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  9036. * DataGrid.cs:
  9037. - Recalculate grid when the data source has changed
  9038. - Matches styles provided by user from all data sources types
  9039. * DataGridTableStyle.cs: For columns that provided by the user set the
  9040. with the preferred value is there was unassigned.
  9041. * CurrencyManager.cs: throw OnItemChanged event
  9042. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9043. * PictureBox.cs: Don't animate until handle is created. Start animation
  9044. when handle is created.
  9045. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9046. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  9047. current codebase.
  9048. * XEventQueue.cs: We don't need to provide the extra info
  9049. 2006-05-10 Jackson Harper <[email protected]>
  9050. * MdiClient.cs: If the mdi clients parent form has a background
  9051. image set, we draw that background image for the mdi area's
  9052. background.
  9053. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9054. * TextBoxBase.cs: Set IBeam cursor (#78347)
  9055. 2006-05-10 Mike Kestner <[email protected]>
  9056. * ToolBar.cs: fix some text padding issues with ButtonSize
  9057. calculation. Update the default size to match MS documentation.
  9058. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  9059. button size. Fixes #78296.
  9060. 2006-05-10 Mike Kestner <[email protected]>
  9061. * ListBox.cs: use is_visible for scrollbar positioning in case the
  9062. control isn't on screen yet. Fix off by one with Right vs Width
  9063. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  9064. 2006-05-10 Jackson Harper <[email protected]>
  9065. * X11Dnd.cs: Drop to a control with another control on top of it.
  9066. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  9067. be modified in click handlers. TODO: Look for similar problems in
  9068. other controls.
  9069. 2006-05-09 Jackson Harper <[email protected]>
  9070. * Form.cs: Window managers need the old window state when setting
  9071. window state now.
  9072. * InternalWindowManager.cs: Allow the base mdi window manager to
  9073. handle more of the MDI only stuff (like maximize buttons).
  9074. * MdiWindowManager.cs: Fix some snafus in changing the window
  9075. state. Add all the menu functionality, for both popup and
  9076. maximized menus.
  9077. * MdiClient.cs: When a new form is selected the currently
  9078. activated form is sent to the back, this matches MS.
  9079. - Implement a new method to activate the next mdi child window.
  9080. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9081. * Control.cs:
  9082. - Added new InternalCapture method to allow controls to prevent
  9083. the capture behaviour on the click handlers
  9084. - Switched to use InternalCapture
  9085. * ComboBox.cs:
  9086. - Using InternalCapture to prevent mouse captures from being released
  9087. on mouse button release (Fixes #78100)
  9088. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  9089. returns Form borders if a caption is present. (Fixes #78310)
  9090. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9091. * TreeNode.cs: Changed serialization .ctor to not require every field
  9092. to be present. (#78265)
  9093. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  9094. 2006-05-05 Alexander Olk <[email protected]>
  9095. * MimeIcon.cs: for is faster than foreach for strings.
  9096. 2006-05-05 Mike Kestner <[email protected]>
  9097. * CheckedListBox.cs: update check handling code to not use selected.
  9098. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  9099. behavior for visual feedback, motion response, shift/ctrl handling,
  9100. and properly deal with all 4 selection modes. Updates to bounds
  9101. handling logic. Add scroll wheel support. [Fixes #77842]
  9102. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9103. * ListView.cs:
  9104. - Moved adding of Implicit controls into .ctor. That way, subsequent
  9105. creation of the controls will not cause them to think they are
  9106. toplevel windows (fixes #78200 header problem)
  9107. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  9108. - Switched visibility setting of header control to use internal field
  9109. to avoid triggering handle creation
  9110. - Now checking if handle is created before causing a refresh when items
  9111. are added (This makes us now match handle creation time with MS)
  9112. * Splitter.cs: Removed loading of private splitter cursor, switched to
  9113. Cursors version now that that is loading the right ones
  9114. * Cursors.cs: Load proper splitter cursors from resources
  9115. * Cursor.cs: Added second method of loading resource cursors for the
  9116. VS.Net users amongst us
  9117. 2006-05-05 Mike Kestner <[email protected]>
  9118. * ListView.cs: give header_control a minimum size based on the
  9119. ListView size.
  9120. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9121. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  9122. window seems to do that with metacity, so set that type. (#78120)
  9123. 2006-05-05 Mike Kestner <[email protected]>
  9124. * ListViewItem.cs: fix Details mode checkbox layout bug.
  9125. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  9126. at the end of the header, if it exists. [Fixes for #78200]
  9127. 2006-05-04 Jackson Harper <[email protected]>
  9128. * MdiClient.cs: Add a helper property to get the container form.
  9129. * MdiWindowManager.cs: We have to make sure to use the menu origin
  9130. when drawing the icons and buttons, this fixes maximized window
  9131. icons/buttons on win32.
  9132. * InternalWindowManager.cs: Reset the restore captions when a
  9133. window goes from Maximized to Minimized and vice versa. Move the
  9134. DrawMaximizedButtons into the MdiWindowManager source, tool
  9135. windows can't be maximized. NOTE: This could use a little
  9136. refactoring if time ever permits.
  9137. 2006-05-03 Jonathan Chambers <[email protected]>
  9138. * TextBox.cs: Add MWFCategoryAttributes
  9139. * TextBoxBase.cs: Add MWFCategoryAttributes
  9140. * Form.cs: Add MWFCategoryAttributes
  9141. 2006-05-03 Jonathan Chambers <[email protected]>
  9142. * Control.cs: Add MWFCategoryAttributes
  9143. * ScrollableControl.cs: Add MWFCategoryAttributes
  9144. 2006-05-03 Alexander Olk <[email protected]>
  9145. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  9146. Divider is true. Fix a little glitch in PropertyToolBar
  9147. drawing code
  9148. 2006-05-02 Peter Dennis Bartok <[email protected]>
  9149. * Control.cs:
  9150. - Dispose: Call base.Dispose, this causes the disposed event
  9151. to be fired (and probably other, more important stuff)
  9152. - SetVisibleCore: Set is_visible to true after creating the
  9153. window so that the window still gets created invisible (if
  9154. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  9155. to generate a WM_ACTIVE message
  9156. * Form.cs: Call Dispose when we want to destroy the window, instead of
  9157. just destroying the handle (Dispose will do that for us)
  9158. * XplatUIX11.cs:
  9159. - RootWindow also needs a queue, so we can properly process the
  9160. property change events from RootWindow (like Activate)
  9161. - Generatic synthetic WM_ACTIVE message when the active window is
  9162. being destroyed
  9163. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9164. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  9165. bounds are changed
  9166. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9167. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  9168. for determining width and height (image might not be assigned if
  9169. we're drawing an imagelist)
  9170. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9171. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  9172. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  9173. height from system
  9174. * Theme.cs: No longer returns hardcoded menu height, instead calls
  9175. new driver method
  9176. * Form.cs (OnLoad): Scaling happens before triggering Load events
  9177. on MS (# 78257)
  9178. 2006-05-01 Mike Kestner <[email protected]>
  9179. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  9180. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9181. * TextBoxBase.cs: Removed Fixme
  9182. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  9183. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9184. * XplatUIX11.cs:
  9185. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  9186. the rectangle relative to the parent, considering borders. We
  9187. don't really want that.
  9188. - ScrollWindow: Fixed warning to be more understandable
  9189. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  9190. scrollbars and scroll only the visible area
  9191. * RichTextBox.cs: Removed debug output
  9192. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9193. * NumericUpDown.cs (Text): Just use base
  9194. * UpDownBase.cs: Ensure txtView is created before using it
  9195. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9196. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  9197. casting to IntPtr to avoid 64bit overflow errors
  9198. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9199. * Control.cs:
  9200. - AllowDrop: Don't force handle creation.
  9201. - CreateHandle: Added call to tell driver if we're allowed to drop
  9202. 2006-04-27 Alexander Olk <[email protected]>
  9203. * FileDialog.cs: Remember the last directory not only for the
  9204. current instance but also for new FileDialog instances.
  9205. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9206. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  9207. broke sending async messages
  9208. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9209. * XplatUIX11.cs:
  9210. - ScrollWindow: Fixed method. We finally generate expose events again
  9211. for scrolled areas. This was causing 'garbage' when scrolling
  9212. textbox and other controls that used ScrollWindow
  9213. - Switched from using the regular queue for paint events to the MS
  9214. model of 'generating' paint events when the queue is empty.
  9215. We use the new XQueueEvent.Paint subclass to store which windows
  9216. need painting.
  9217. - AddExpose now takes the x/y/width/height of the exposed area
  9218. and inserts the window into the paint queue if not already there
  9219. - InvalidateWholeWindow: Switched to use new AddExpose method
  9220. - UpdateMessageQueue: Added which queue to monitor for paint events
  9221. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  9222. the unlikely case nothing above handles it. We reset the expose
  9223. pending states to get them off the queue.
  9224. - GetMessage: Now pulls a paint event if no other events are in the
  9225. queue
  9226. - Invalidate: Switched to new AddExpose method
  9227. - PeekMessage: Updated to understand pending paint events
  9228. - UpdateWindow: Fixed logic bug. We were only updating if the window
  9229. didn't need updating. Also switched to sending WM_PAINT directly,
  9230. like MS does.
  9231. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  9232. and random access Remove(). The random access is needed to handle
  9233. UpdateWindow() where a WM_PAINT is sent directly without accessing
  9234. the queue.
  9235. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  9236. allow for better feedback when scrolling. Scrollbars are small and
  9237. the immediate update should make it 'feel' more responsive without
  9238. slowing things down. ScrollBar still needs it's invaliate logic
  9239. updated to not always invalidate the whole bar on certain changes.
  9240. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  9241. * Control.cs:
  9242. (BackColor): if the control does not support a transparent background,
  9243. return the default backcolor when the parent backcolor is transparent.
  9244. 2006-04-28 Peter Dennis Bartok <[email protected]>
  9245. * Application.cs: Updated to new StartLoop/GetMessage API
  9246. * RichTextBox.cs: Provide some output on RTF parsing errors
  9247. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  9248. new queue_id argument to GetMessage and PeekMessage to allow faster
  9249. handling of per-thread queues in drivers.
  9250. * Hwnd.cs: Added Queue tracking and property
  9251. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  9252. * XEventQueue.cs: Added thread trackingA
  9253. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  9254. * XplatUIX11.cs:
  9255. - Implemented new per-thread queue
  9256. - GetMessage: Fixed return/break behaviour on several cases. We were
  9257. returning stale messages in some cases, instead of just processing
  9258. the next message
  9259. 2006-04-27 Jonathan Chambers <[email protected]>
  9260. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  9261. 2006-04-27 Peter Dennis Bartok <[email protected]>
  9262. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  9263. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  9264. 2006-04-27 Jonathan Chambers <[email protected]>
  9265. * PropertyGridView.cs: Fix drop down width.
  9266. 2006-04-27 Alexander Olk <[email protected]>
  9267. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  9268. a mess in DrawToolBar, so I removed one of them.
  9269. 2006-04-27 Alexander Olk <[email protected]>
  9270. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  9271. needed (clip). Otherwise we get artifacts.
  9272. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9273. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  9274. dimension is fixed
  9275. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  9276. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  9277. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  9278. if it matches the scale base font (avoids unneeded scaling)
  9279. 2006-04-26 Alexander Olk <[email protected]>
  9280. * X11DesktopColors.cs: One gtk_init_check should be enough
  9281. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9282. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  9283. match MS behaviour
  9284. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9285. * TextBoxBase.cs:
  9286. - Generate OnTextChanged for Backspace even if we're only deleting
  9287. the current selection
  9288. - When setting the Text property, only select all text if the
  9289. control does not have focus when it is being set. Otherwise
  9290. just place the cursor at the beginning of the control
  9291. 2006-04-26 Alexander Olk <[email protected]>
  9292. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  9293. Added a little helper to draw PropertyGrid ToolBar with a different
  9294. border and a different BackColor.
  9295. * PropertyGrid.cs: Some background parts didn't get painted with the
  9296. correct background color. Added a class that helps us to draw the
  9297. correct border for PropertyGridView and a class that helps us to
  9298. draw ToolBars with a different backcolor
  9299. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  9300. 2006-04-25 Jonathan Chambers <[email protected]>
  9301. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  9302. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  9303. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9304. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  9305. into the palette entries. Also, since we're working on a copy
  9306. we needed to copy the palette back onto the bitmap.
  9307. * Cursor.cs: Same fix as XplatUIWin32.cs.
  9308. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9309. * ImageListStreamer.cs: Need to read the var (or we're off)
  9310. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9311. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  9312. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  9313. TextBoxBase.cs: Unused var fixes
  9314. * AxHost.cs: Small 2.0 fix
  9315. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  9316. as it seems that is what at least Metacity expects. This will make
  9317. icons show up on 64bit platforms. We still have some 64bit size
  9318. issues, though, since the startup app window size still won't match.
  9319. 2006-04-25 Mike Kestner <[email protected]>
  9320. * *.cs: cleanup newly reported exception var unused warnings.
  9321. 2006-04-25 Alexander Olk <[email protected]>
  9322. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  9323. ms
  9324. 2006-04-25 Alexander Olk <[email protected]>
  9325. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  9326. image. The image position is always the same, no matter if the
  9327. button is pressed or not.
  9328. 2006-04-25 Alexander Olk <[email protected]>
  9329. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  9330. selection and set the correct filename for SaveFileDialog.
  9331. Patch by Emery Conrad.
  9332. 2006-04-24 Mike Kestner <[email protected]>
  9333. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  9334. check for item.X outside the ClientRect instead of item.Y. Fixes
  9335. #78151.
  9336. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9337. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  9338. trust that value blindly and do some sanity check. Fixes bug #77814.
  9339. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9340. * ImageListStreamer.cs: save the mask as a 1bpp image.
  9341. 2006-04-21 Mike Kestner <[email protected]>
  9342. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  9343. pass Checked and Indeterminate to the Theme Engine. Improve
  9344. encapsulation with ListBox.
  9345. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  9346. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  9347. nested types. Move all CheckState functionality to CheckedListBox.
  9348. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  9349. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  9350. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  9351. single base list. Fix scrollbar sizing and placement to mirror MS.
  9352. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  9353. used.
  9354. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  9355. for CheckedListBox by using new DrawItemState info. Center the
  9356. checkboxes on the items. Use new StringFormat property.
  9357. 2006-04-18 Jackson Harper <[email protected]>
  9358. * Form.cs: MdiChildren don't do default locations the same way as
  9359. regular forms. This prevents a crash when trying to position the
  9360. mdi windows.
  9361. 2006-04-17 Jonathan Chambers <[email protected]>
  9362. * PropertyGridTextBox.cs: Formatting, copyright
  9363. * PropertiesTab.cs: Formatting
  9364. * PropertyGrid.cs: Formatting
  9365. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  9366. click toggling of values
  9367. 2006-04-17 Peter Dennis Bartok <[email protected]>
  9368. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  9369. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  9370. every time a control is created
  9371. * Application.cs: Removed obsolete EnableRTLMirroring method
  9372. 2006-04-18 Gert Driesen <[email protected]>
  9373. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  9374. SelectedIndex to -1. Fixes bug #78121.
  9375. 2006-04-17 Jackson Harper <[email protected]>
  9376. * Binding.cs: Handle null values for Current and BindingContext.
  9377. This occurs when binding is a little delayed.
  9378. * CurrencyManager.cs: return null for Current when there are no
  9379. items in the list.
  9380. - Hookup to the listchanged event on the DataView and update
  9381. bindings when the list is changed. This fixes late binding of
  9382. controls.
  9383. 2006-04-17 Jackson Harper <[email protected]>
  9384. * X11Dnd.cs:
  9385. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  9386. Ringenbach.
  9387. 2006-04-15 Alexander Olk <[email protected]>
  9388. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  9389. place
  9390. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  9391. with the correct ButtonState
  9392. 2006-04-14 Peter Dennis Bartok <[email protected]>
  9393. * XplatUIX11.cs: Improved distinguishing between window types to
  9394. tell the WM a type closer to what the app wants (Fixes #78107)
  9395. 2006-04-14 Alexander Olk <[email protected]>
  9396. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  9397. GrabHandle
  9398. 2006-04-14 Alexander Olk <[email protected]>
  9399. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  9400. drawing code to reflect the size grip changes
  9401. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  9402. * ImageListStreamer.cs: fix handling of the mask that follows the main
  9403. bitmap when deserializing and serialize it properly. The generated mask
  9404. should better be a 1bpp image, but I'll do that later.
  9405. 2006-04-13 Alexander Olk <[email protected]>
  9406. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  9407. path doesn't fit into some of our Current.Places
  9408. 2006-04-13 Jackson Harper <[email protected]>
  9409. * ComboBox.cs: Use borders instead of drawing our own decorations,
  9410. try to obey correct rules for heights.
  9411. * Theme.cs:
  9412. * ThemeNice.cs:
  9413. * ThemeClearLooks.cs:
  9414. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  9415. this is now handled by borders.
  9416. - Remove unused DrawListBoxDecorationSize method.
  9417. 2006-04-13 Mike Kestner <[email protected]>
  9418. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  9419. reported by Alex.
  9420. 2006-04-13 Alexander Olk <[email protected]>
  9421. * ThemeWin32Classic.cs:
  9422. - Fixed CPDrawStringDisabled
  9423. - Corrected drawing of disabled menu items
  9424. - Fixed drawing of disabled radio buttons (bug #78095)
  9425. - Draw check in a disabled CheckBox with color ControlDark
  9426. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9427. * Form.cs: Use the provided width when calculating the menu size;
  9428. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  9429. and ClientSize.Width won't be updated yet
  9430. * Application.cs: Use Visible instead of Show() to make form visible,
  9431. this way we create the handle later and menusize is considered
  9432. 2006-04-12 Mike Kestner <[email protected]>
  9433. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  9434. reporting.
  9435. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9436. * TextBox.cs: Implemented context menu
  9437. 2006-04-12 Mike Kestner <[email protected]>
  9438. * ListView.cs: implement box selection. fixes #77838.
  9439. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  9440. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9441. * XplatUIX11.cs: Added setting of window type when transient window
  9442. is created (metacity would move it otherwise)
  9443. * X11Structs.cs: Added WINDOW_TYPE atoms
  9444. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  9445. background (the control is Opaque but still wants transparent
  9446. backgrounds)
  9447. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9448. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  9449. that set Opaque but don't mean it (like all ButtonBase-derived
  9450. controls) to still draw their background
  9451. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  9452. the background
  9453. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9454. * Control.cs (PaintControlBackground): Set the graphics object
  9455. on our PaintEvent to null to prevent it from being disposed
  9456. when the PaintEvent gets disposed
  9457. 2006-04-12 Alexander Olk <[email protected]>
  9458. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  9459. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  9460. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9461. * Control.cs:
  9462. - Added transparency check to BackColor property. Transparent
  9463. backgrounds are only allowed if the control styles permit it
  9464. - Added recursive painting of parent control background and
  9465. foreground if a control with a transparent backcolor is drawn
  9466. (Thanks to Tim Ringenback for providing his 'hack' as a base
  9467. for this patch) Fixes #77985 and #78026.
  9468. - Added Opaque style check before calling OnPaintBackground, no
  9469. need to draw the background if the control is opaque
  9470. - Removed ControlAccessibleObject owner variable (inherited from
  9471. base, no need to define again)
  9472. - Added some documentation links explaining the drawing events
  9473. and styles
  9474. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9475. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  9476. that the affected control is the located at the left border of our
  9477. parent (Fixes #77936)
  9478. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9479. * TextBoxBase.cs: When rendering disabled or readonly controls,
  9480. draw the background with 'Control' instead of 'Window' color as
  9481. long as the user hasn't specifically set a color
  9482. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9483. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  9484. since that won't be updated if the user types text (only if it's
  9485. programatically set)
  9486. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9487. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  9488. layout changes do to app-triggered resizes will have the proper
  9489. display rectangle for layout
  9490. 2006-04-11 Alexander Olk <[email protected]>
  9491. * ThemeWin32Classic.cs:
  9492. - Make use of the SystemBrushes and SystemPens wherever possible
  9493. - Corrected some highlight colors
  9494. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  9495. drawing
  9496. * Theme.cs: Added Empty field to CPColor struct
  9497. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9498. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  9499. is displayed when calculating the display rectangle. Thanks to Mike
  9500. for teaching me the err of my ways.
  9501. 2006-04-10 Peter Dennis Bartok <[email protected]>
  9502. * ScrollableControl.cs:
  9503. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  9504. (instead of 0,0) and we now return the real width/height instead of
  9505. just the clientrectangle, adjusted for padding. The rectangle is
  9506. now cached and created by the new CalculateDisplayRectangle method.
  9507. - Created new CalculateDisplayRectange method, which basically does
  9508. what get_DisplayRectangle() did originally, but now using the
  9509. right edge instead of DisplayRectangle to determine the size of
  9510. our scrollbars
  9511. - get_Canvas(): Fixed it to properly calculate canvas for
  9512. right/bottom controls which seem to be placed to the right/bottom
  9513. of any controls that have a fixed location
  9514. - Removed TODO that's taken care of
  9515. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  9516. and SetDisplayRectLocation according to new MSDN2 docs
  9517. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  9518. event when that is called, this is added for compatibility
  9519. - ScrollControlIntoView(): Implemented.
  9520. - Switched scrollbars to be implicit, they shouldn't be selectable
  9521. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  9522. call it when the active control is set/changed
  9523. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  9524. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  9525. implicit_control variable (used for native Win32 message generation)
  9526. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  9527. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  9528. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  9529. * XplatUIStructs.cs: Added ScrollBarCommands enum
  9530. 2006-04-10 Jackson Harper <[email protected]>
  9531. * ButtonBase.cs:
  9532. * CheckedListBox.cs:
  9533. * ComboBox.cs:
  9534. * DataGrid.cs:
  9535. * DataGridView.cs:
  9536. * Form.cs:
  9537. * GroupBox.cs:
  9538. * ListBox.cs:
  9539. * PrintPreviewControl.cs:
  9540. * ProgressBar.cs:
  9541. * PropertyGrid.cs:
  9542. * Splitter.cs:
  9543. * StatusBar.cs:
  9544. * TrackBar.cs:
  9545. * UpDownBase.cs: Fixup base event overrides.
  9546. 2006-04-06 Mike Kestner <[email protected]>
  9547. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  9548. all user-initiated value changes to min <= value <= max-thumbsz+1.
  9549. (set_Value): check for vert/horiz when calculating new thumb position.
  9550. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  9551. like MS does.
  9552. (OnMouseMoveSB): refactor the thumb dragging code and refine
  9553. invalidation logic to reduce flicker.
  9554. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  9555. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  9556. (UpdateThumbPosition): small code readability cleanup
  9557. 2006-04-10 Alexander Olk <[email protected]>
  9558. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  9559. different
  9560. 2006-04-08 Alexander Olk <[email protected]>
  9561. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  9562. 2006-04-08 Alexander Olk <[email protected]>
  9563. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  9564. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  9565. This dramatically reduces the number of Pen.Dispose calls.
  9566. Where possible call ResPool methods only once instead of calling it
  9567. over and over again (for example for the same color).
  9568. 2006-04-06 Mike Kestner <[email protected]>
  9569. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  9570. Also remove an unused private field on the collection. Fixes #77972.
  9571. 2006-04-06 Alexander Olk <[email protected]>
  9572. * ThemeNice.cs: Added ToolBar drawing code
  9573. 2006-04-06 Mike Kestner <[email protected]>
  9574. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  9575. I'm assuming that means we need to look up the toplevel for the
  9576. provided control. Fixes the crash trace in #77911 but exposes another
  9577. crash in some strange reflection usage in NDocGui.
  9578. 2006-04-06 Alexander Olk <[email protected]>
  9579. * ThemeNice.cs: Gave it a little silver touch and added Images
  9580. method
  9581. * FontDialog.cs: FontDialog is not resizable
  9582. * FileDialg.cs: Added SizeGripStyle.Show
  9583. 2006-04-05 Jackson Harper <[email protected]>
  9584. * KeyboardLayouts.cs: Remove warning.
  9585. 2006-04-05 Jackson Harper <[email protected]>
  9586. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  9587. all of our controls instead of Paint +=.
  9588. * ListBox.cs:
  9589. * ListView.cs:
  9590. * MenuAPI.cs:
  9591. * MessageBox.cs:
  9592. * NotifyIcon.cs:
  9593. * ProgressBar.cs:
  9594. * ScrollBar.cs:
  9595. * Splitter.cs:
  9596. * StatusBar.cs:
  9597. * TabControl.cs:
  9598. * TextBoxBase.cs:
  9599. * ToolBar.cs:
  9600. * TrackBar.cs:
  9601. * UpDownBase.cs:
  9602. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  9603. use OnPaintInternal. Remove Width/Height and Visible checks in
  9604. paint handler, this is done at a higher level now.
  9605. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  9606. * PaintEventArgs.cs: Add a handled flag so controls that don't
  9607. want anymore painting after OnPaintInternal can make sure OnPaint
  9608. isn't called.
  9609. 2006-04-05 Mike Kestner <[email protected]>
  9610. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  9611. state of the form, so that we don't process events when Modal dialogs
  9612. are up. Fixes #77922.
  9613. 2006-04-05 Alexander Olk <[email protected]>
  9614. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  9615. checking is done.
  9616. 2006-04-05 Mike Kestner <[email protected]>
  9617. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  9618. 2006-04-05 Mike Kestner <[email protected]>
  9619. * ListView.cs (HeaderMouseMove): null guarding for the over column
  9620. when setting up the drag_to_index. Fixes #78015.
  9621. 2006-04-04 Peter Dennis Bartok <[email protected]>
  9622. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  9623. in the taskbar. Transient windows seem to accomplish that.
  9624. 2006-04-04 Peter Dennis Bartok <[email protected]>
  9625. * Form.cs:
  9626. - Re-enabled CreateParams.X/Y code for FormStartPosition
  9627. - Added code for manual placement when creating the Control
  9628. - Incomplete patch to treat MDI forms differently when
  9629. setting the ClientSizeCore. (Still need to figure out handling
  9630. x/y coords there)
  9631. * XplatUIX11.cs:
  9632. - When we're explicitly setting the X/Y position of a non-Child
  9633. window, let the WM know. Metacity really wants this.
  9634. 2006-04-04 Alexander Olk <[email protected]>
  9635. * ThemeNice.cs: Added CPDrawButton
  9636. 2006-04-04 Alexander Olk <[email protected]>
  9637. * ThemeNice.cs: Changed the color for focused buttons and activated
  9638. the arrows for small scroll buttons.
  9639. 2006-04-04 Alexander Olk <[email protected]>
  9640. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  9641. anymore. Changed some method modifiers to protected (virtual)
  9642. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  9643. changes
  9644. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  9645. Updated drawing of menus, buttons and progressbars; added
  9646. CPDrawBorder3D
  9647. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  9648. * ImageListStreamer.cs: implemented serialization/deserialization
  9649. of the images.
  9650. 2006-04-03 Alexander Olk <[email protected]>
  9651. * ThemeWin32Classic.cs:
  9652. - Removed all the DrawFrameControl stuff; CPDrawButton,
  9653. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  9654. inside the methods
  9655. - Updated and corrected the drawing code of CPDrawButton,
  9656. CPDrawCheckBox and CPDrawRadioButton to better match ms
  9657. - Updated theme checkbox and radiobutton code to use the CP*
  9658. methods
  9659. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9660. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  9661. bug is fixed
  9662. 2006-03-31 Jackson Harper <[email protected]>
  9663. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  9664. sometimes.
  9665. * UpDownBase.cs: Don't CreateGraphics manually, use a
  9666. Refresh. Ideally we would invalidate the correct areas here.
  9667. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9668. * XplatUIX11.cs:
  9669. - We now track the mapping state of windows. If a window (or
  9670. one of it's parents) is not mapped we no longer permit
  9671. WM_PAINT messages to be generated since we'd otherwise get
  9672. lots of BadMatch X errors. Jackson did all the work figuring
  9673. out the problem.
  9674. - Destroying the caret if the window it's contained in is
  9675. destroyed. Can't use regular DestroyCaret method since it
  9676. might fall into a drawing function (trying to remove the
  9677. caret) and with that generate new BadMatch errors. Again,
  9678. Jackson tracked this down.
  9679. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  9680. make sure we send the messages to all windows. (The old code
  9681. would send the WM_DESTROY to the window, and then all child
  9682. windows would be 'gone' because the WM_DESTROY handle lookup
  9683. would no longer find the destroyed window)
  9684. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  9685. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  9686. 2006-03-31 Jackson Harper <[email protected]>
  9687. * ScrollableControl.cs: Dont recalc if we are not visible.
  9688. 2006-03-31 Mike Kestner <[email protected]>
  9689. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  9690. the visibility branch.
  9691. 2006-03-31 Jackson Harper <[email protected]>
  9692. * ScrollBar.cs: Cap values when incrementing/decrementing.
  9693. 2006-03-31 Mike Kestner <[email protected]>
  9694. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  9695. * ToolTip.cs: guard against timer expirations with no active control.
  9696. Not sure why it happened.
  9697. 2006-03-31 Mike Kestner <[email protected]>
  9698. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  9699. text.
  9700. * ToolTip.cs: Position the tooltip based on where the cursor is at
  9701. popup time, not at MouseEnter time. Add a Down state so that we don't
  9702. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  9703. positioning offset. Lookup DisplaySize at positioning time, since it
  9704. can theoretically change during invocation.
  9705. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  9706. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  9707. 2006-03-31 Alexander Olk <[email protected]>
  9708. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  9709. Fixes behaviour when the Text property of the box is String.Empty
  9710. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9711. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  9712. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  9713. a window)
  9714. 2006-03-31 Alexander Olk <[email protected]>
  9715. * FileDialog.cs: Visual enhancement for the popup buttons in
  9716. PopupButtonPanel
  9717. 2006-03-31 Alexander Olk <[email protected]>
  9718. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  9719. code
  9720. 2006-03-30 Alexander Olk <[email protected]>
  9721. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  9722. highlighted menu items to match ms
  9723. 2006-03-30 Peter Dennis Bartok <[email protected]>
  9724. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  9725. 2006-03-30 Mike Kestner <[email protected]>
  9726. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  9727. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  9728. go active to account for HotLight to Selected transition.
  9729. * MenuItem.cs: add internal Selected prop. Fill out the Status
  9730. property by calculating it from item info. Add HotLight,
  9731. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  9732. 2006-03-30 Mike Kestner <[email protected]>
  9733. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  9734. 2006-03-29 Jackson Harper <[email protected]>
  9735. * Form.cs: Implement TODO.
  9736. 2006-03-29 Peter Dennis Bartok <[email protected]>
  9737. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  9738. missing proper dialog setup in the constructor
  9739. 2006-03-29 Peter Dennis Bartok <[email protected]>
  9740. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  9741. * Control.cs:
  9742. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  9743. - Fixed ResetBindings and removed TODO
  9744. - Added check for cross-thread calls to get_Handle()
  9745. - Added Marshaller attribute for set_Font to satisfy class status
  9746. * FontDialog.cs: Removed TODOs that seemed implemented
  9747. * UpDownBase.cs: Removed unneeded TODO and Fixme
  9748. * MessageBox.cs: Implemented support for Default button and removed TODO
  9749. * FileDialog.cs: Removed obsolete TODO
  9750. * DomainUpDown.cs: Removed obsolete TODO
  9751. * ButtonBase.cs: Removed obsolete TODO
  9752. * XplatUIWin32.cs: Removed obsolete TODO
  9753. * Form.cs:
  9754. - Removed obsolete TODO
  9755. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  9756. internal status updates
  9757. - Making sure the active control is selected when the control is created
  9758. * CurrencyManager.cs: Removed obsolete TODO
  9759. 2006-03-29 Mike Kestner <[email protected]>
  9760. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  9761. of PrintPreviewDialog and RichTextBox.
  9762. 2006-03-29 Alexander Olk <[email protected]>
  9763. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  9764. DarkDark, Light and LightLight colors for a specific color
  9765. * ThemeWin32Classic.cs:
  9766. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  9767. Appearance = Button
  9768. - Make use of the new ResPool helper CPColor
  9769. - Draw ProgressBar and StatusBar with correct 3D borders
  9770. 2006-03-29 Alexander Olk <[email protected]>
  9771. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  9772. 2006-03-28 Mike Kestner <[email protected]>
  9773. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  9774. calculating col/row counts.
  9775. 2006-03-28 Mike Kestner <[email protected]>
  9776. * ColumnHeader.cs:
  9777. * ListView.cs:
  9778. * ListViewItem.cs:
  9779. * Menu.cs:
  9780. switch to explicit interface method implementation for some methods
  9781. corcompare identifies as inconsistent with MS.
  9782. 2006-03-28 Mike Kestner <[email protected]>
  9783. * MainMenu.cs:
  9784. * Menu.cs:
  9785. add a few missing methods from the class status output.
  9786. 2006-03-28 Alexander Olk <[email protected]>
  9787. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  9788. correct.
  9789. 2006-03-28 Mike Kestner <[email protected]>
  9790. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  9791. 2006-03-27 Mike Kestner <[email protected]>
  9792. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  9793. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  9794. 2006-03-27 Alexander Olk <[email protected]>
  9795. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  9796. 2006-03-25 Alexander Olk <[email protected]>
  9797. * ThemeWin32Classic.cs:
  9798. - GroupBox: Inserted a little gap between the text and the lines
  9799. on the right side
  9800. - Made the code in CPDrawBorder3D more readable
  9801. - Corrected the drawing location of the up and down arrows in
  9802. CPDrawScrollButton
  9803. 2006-03-25 Alexander Olk <[email protected]>
  9804. * ControlPaint.cs: Corrected line widths in DrawBorder for
  9805. ButtonBorderStyle Inset and Outset
  9806. 2006-03-25 Alexander Olk <[email protected]>
  9807. * ThemeWin32Classic.cs:
  9808. - Rewrote the totally broken CPDrawBorder3D method. That was
  9809. one of the main problems for the terrific ThemeWin32Classic
  9810. look
  9811. - Updated and corrected Button drawing
  9812. - Correct the dimensions of the SizeGrip to match ms ones
  9813. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  9814. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  9815. Border3DStyle.Sunken to match ms.
  9816. 2006-03-25 Alexander Olk <[email protected]>
  9817. * ThemeWin32Classic.cs: First small part of the "de-uglify
  9818. ThemeWin32Classic" effort, SizeGrip
  9819. 2006-03-24 Jackson Harper <[email protected]>
  9820. * XplatUIX11.cs: Give a max idle time of one second, this matches
  9821. MS and forces an Idle event every second when there are no other
  9822. events in the queue.
  9823. 2006-03-24 Mike Kestner <[email protected]>
  9824. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  9825. * ListView.Item.cs: fix layout issues with null image lists and images
  9826. smaller than checkbox size.
  9827. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  9828. mode like MS does. It's weird, but consistent. ;-)
  9829. Fixes #77890.
  9830. 2006-03-24 Mike Kestner <[email protected]>
  9831. * ListView.cs: Scroll wheel support for the item control. Fixes
  9832. #77839.
  9833. 2006-03-23 Jackson Harper <[email protected]>
  9834. * ScrollableControl.cs: Special case negative sized areas, not
  9835. zero.
  9836. * MonthCalendar.cs: Save the rect of the clicked date so we can
  9837. use it for invalidation.
  9838. - Try to cut down on the number of invalidates
  9839. - Invalidate the rect the mouse is over and was over when moving
  9840. the mouse, so we get the focus box following the cursor.
  9841. 2006-03-23 Mike Kestner <[email protected]>
  9842. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  9843. focus rectangle drawing. Fixes #77835.
  9844. 2006-03-23 Mike Kestner <[email protected]>
  9845. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  9846. the if and else if and reverting back to the original == check on the
  9847. None conditional.
  9848. 2006-03-23 Alexander Olk <[email protected]>
  9849. * FontDialog.cs: Update the example panel if the selected index of
  9850. the fontListBox changes.
  9851. 2006-03-23 Alexander Olk <[email protected]>
  9852. * FileDialog.cs: Make FileDialog remember which directory it was in
  9853. last in the same execution.
  9854. 2006-03-22 Mike Kestner <[email protected]>
  9855. * FileDialog.cs: make the DropDownMenu on the toolbar display
  9856. RadioChecks since they are mutually exclusive and that's what MS does.
  9857. 2006-03-22 Mike Kestner <[email protected]>
  9858. * Theme.cs: add Color param to CPDrawMenuGlyph.
  9859. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  9860. checks and radio marks and arrows are visible on highlighted items.
  9861. * ControlPaint.cs: update to use new Theme signature.
  9862. 2006-03-22 Mike Kestner <[email protected]>
  9863. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  9864. is active. Fixes #77870.
  9865. 2006-03-22 Alexander Olk <[email protected]>
  9866. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  9867. to be focused/selected after startup
  9868. 2006-03-22 Alexander Olk <[email protected]>
  9869. * ColorDialog.cs:
  9870. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  9871. CustomColors and ShowHelp properties
  9872. - Some internal rewrites to get better results when using the
  9873. ColorMatrix
  9874. 2006-03-22 Mike Kestner <[email protected]>
  9875. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  9876. HoverSelection. Fixes #77836.
  9877. 2006-03-22 Mike Kestner <[email protected]>
  9878. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  9879. ToggleButtons. (De)Sensitize the Back button around a stack count of
  9880. 1, not 0. Update ButtonSize based on a pixel count of the win32
  9881. control. Adjust the toolbar size/location for new button size.
  9882. 2006-03-22 Jackson Harper <[email protected]>
  9883. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  9884. true.
  9885. * ScrollBar.cs: When doing increments and decrements we need to
  9886. set the Value property so that ValueChanged gets raised. A
  9887. possible optimization here would be to make an internal SetValue
  9888. that doesn't invalidate immediately.
  9889. * ToolTip.cs: Tooltips get added to their container (when
  9890. supplied) so they get disposed when the container is disposed.
  9891. - Don't create tooltips for String.Empty. This prevents all these
  9892. little 2-3 pixel windows from showing up when running nunit-gui
  9893. and driving me mad.
  9894. * Form.cs: Don't set topmost when setting the owner if the handles
  9895. haven't been created yet. The topmost set will happen when the
  9896. handles are created.
  9897. 2006-03-22 Peter Dennis Bartok <[email protected]>
  9898. * XplatUIX11.cs:
  9899. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  9900. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  9901. visible (to allow them to recalculate their sizes)
  9902. 2006-03-21 Mike Kestner <[email protected]>
  9903. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  9904. methods. Removed a ton of redundant code. Still not really happy with
  9905. the border rendering, but I think that's mainly because of the
  9906. ControlDarkDark being black instead of a dark grey. Depending on how
  9907. close we want to be, we might want to revisit those color choices.
  9908. Among the new features added during the refactor were DropDownArrow
  9909. pressed rendering, Disabled image rendering. Proper flat appearance
  9910. boundary rendering. Removed the Divider and Wrapping dividers since I
  9911. can't figure out any combination of themes and conditions to make the
  9912. MS control draw a horizontal line on a toolbar despite what the
  9913. Divider property docs indicate.
  9914. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  9915. conditions and incorrect layout. Updated to coding standard.
  9916. * ToolBarButton.cs: refactored layout and positioning code from
  9917. ToolBar to here. Invalidate wherever possible instead of forcing
  9918. redraws of the whole toolbar.
  9919. (Known remaining issues: explicit ButtonSize smaller than provided
  9920. images.)
  9921. 2006-03-21 Mike Kestner <[email protected]>
  9922. * ContextMenu.cs (Show): use the position parameter instead of just
  9923. showing at the MousePosition.
  9924. 2006-03-21 Jackson Harper <[email protected]>
  9925. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  9926. control handle this.
  9927. * TreeNodeCollection.cs: If we are clearing the root node we need
  9928. to reset top_node so calcs can still happen.
  9929. * ThemeWin32Classic.cs: This is a Flags so we need to check
  9930. properly.
  9931. 2006-03-21 Jackson Harper <[email protected]>
  9932. * DataGrid.cs: Create columns when the binding context has been
  9933. changed.
  9934. * X11Structs.cs: Keysyms are uints.
  9935. - Add size to fix build.
  9936. 2006-03-21 Peter Dennis Bartok <[email protected]>
  9937. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9938. XplatUIOSX.cs:
  9939. - Added ResetMouseHover method to allow controls to retrigger
  9940. hovering if they need it more than once
  9941. - Implemented MouseHoverTime and MouseHoverSize properties
  9942. * Timer.cs: Start() must reset the interval
  9943. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  9944. properties
  9945. 2006-03-21 Jackson Harper <[email protected]>
  9946. * X11Keyboard.cs: improved layout detection. Move the nonchar
  9947. tables into this file.
  9948. * KeyboardLayouts.cs: Move the tables into resource files.
  9949. 2006-03-21 Mike Kestner <[email protected]>
  9950. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  9951. 2006-03-21 Alexander Olk <[email protected]>
  9952. * Mime.cs: Various speed optimizations. Looking up mime types
  9953. is now 2 times faster than before
  9954. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9955. * CreateParams.cs: Added internal menu field
  9956. * Control.cs:
  9957. - Switched call order for UpdateBounds; now we always call
  9958. the one that also takes ClientSize, and we're calculating the
  9959. client size via driver method in the others. The previous
  9960. method of tracking client size by difference wasn't working
  9961. for forms where even the starting client size wouldn't match
  9962. the overall form size (due to borders) (Part of fix for #77729)
  9963. - CreateParams(): Do not use parent.Handle unless the handle is
  9964. already created. Causes havoc with Nexxia and throws off our
  9965. creation of controls
  9966. * XplatUIX11.cs:
  9967. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  9968. - Switched handling of ConfigureNotify over to new PerformNCCalc
  9969. method (consolidates code)
  9970. - Changed RequestNCRecalc to use new PerformNCCalc method
  9971. - Added calls to RequestNCRecalc when menus and borders are changed
  9972. to allow app to set NC size. (Part of fix for #77729) This matches
  9973. when MS send a WM_NCRECALC on Win32 windows.
  9974. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  9975. (Part of fix for #77729). This matches what MS does, they also
  9976. send that message when the form is made visible.
  9977. - XException.GetMessage: Improved usability of X errors by including
  9978. a translation of the window into Hwnd and Control class
  9979. - Improved debug info for window creation, reparenting and destruction
  9980. - Created helper method WindowIsMapped() [Currently not used]
  9981. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  9982. * Form.cs:
  9983. - CreateParams: Now setting our menu on the new internal menu field
  9984. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  9985. avoid calculating the same property twice
  9986. * Hwnd.cs:
  9987. - Improved usability of ToString() for debugging purposes
  9988. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  9989. determine the height of the menu, instead of just the font. This
  9990. required to also create a graphics context and to keep a bmp
  9991. around (for performance reasons)
  9992. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9993. * MenuAPI.cs: Added OnMouseUp method
  9994. * Form.cs:
  9995. - Now remembering the requested client size, avoids size errors
  9996. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  9997. instead of base if the menu is active. This is required due to
  9998. control now capturing and releasing on down/up and it would
  9999. prematurely release our menu capture
  10000. 2006-03-17 Jackson Harper <[email protected]>
  10001. * KeyboardLayouts.cs: Add the czech layouts.
  10002. 2006-03-16 Jackson Harper <[email protected]>
  10003. * Control.cs: Use the viewport space when sizing not the controls
  10004. client size, so things like ScrollableControl that effect the
  10005. viewport size (when scrollbars are added) are computed correctly.
  10006. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  10007. of ManagerEntrys.
  10008. - Handle creating BindingManagers for null data sources.
  10009. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  10010. source, otherwise when rows are added they are added to the 'fake'
  10011. datasource and we will crash when trying to set the position in
  10012. those rows.
  10013. - Use Implicit scrollbars on the datagrid so they arent
  10014. selectable.
  10015. 2006-03-16 Jackson Harper <[email protected]>
  10016. * Binding.cs:
  10017. * InternalWindowManager.cs:
  10018. * MdiWindowManager.cs:
  10019. * X11Keyboard.cs: I really want Mike to love me again (fix
  10020. compiler warnings).
  10021. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10022. * DataGrid.cs:
  10023. - OnMouseDown: Switch to editing mode when clicking on the cell
  10024. even if we're clicking on the cell that's currently
  10025. selected
  10026. - ProcessGridKey: Left/Right now wrap like MS.Net does
  10027. - ProcessGridKey: Tab now knows to add a new row when tab is
  10028. pressed in the cell of the last column of the
  10029. last row
  10030. - ProcessGridKey: Enter now adds another row if pressed in the last
  10031. row and selectes the new row, same column cell
  10032. - ProcessGridKey: Home/End navigate columns, not rows, like
  10033. originally implemented
  10034. - Broke ProcessKeyPreview code out into an extra Internal method
  10035. so it can be called from the edit code
  10036. * DataGridTextBox.cs (ProcessKeyMessage):
  10037. - Switched to accept Tab keypresses
  10038. - Added F2 handling to allow jumping to the end of the edited cell
  10039. - Added logic to allow moving caret left/right inside edited cell
  10040. and making the edited cell jump when the caret hits cell borders
  10041. - Tab and Enter are now passed to the datagrid after being handled
  10042. * TextBoxBase.cs:
  10043. - Removed capture code now that Control handles it
  10044. - set_SelectionStart now ensures caret is visible
  10045. 2006-03-16 Jackson Harper <[email protected]>
  10046. * TrackBar.cs: Debackwards the increment/decrement for handling
  10047. mouse clicks on the bar with vertical trackbars.
  10048. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  10049. bottom to match MS.
  10050. 2006-03-16 Mike Kestner <[email protected]>
  10051. * ListView.cs: make shift/ctrl keyboard and mouse selection
  10052. consistent with the MS control. Fix a bug in
  10053. SelectedListViewItemCollection.Clear that was pissing me off for the
  10054. better part of a day because the collection was being altered
  10055. underneath us as we walked the list.
  10056. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10057. * Control.cs: Not sure how we could miss this so long, but it seems
  10058. that MS.Net has Capture set all the way from before calling
  10059. OnMouseDown through sending the mouse events until after
  10060. OnMouseUp. This will fix DataGrid's selection being set to end
  10061. at the location of the MouseUp.
  10062. 2006-03-15 Jackson Harper <[email protected]>
  10063. * BindingContext.cs: Check the binding after its added so that it
  10064. can initialize the binding managers and hookup to events.
  10065. * Binding.cs: Data members seem to sometimes include rows/cols in
  10066. the format Row.Column we now take this into account.
  10067. - Hookup to the position changed event so we can update the
  10068. control when the position has changed in the data set.
  10069. * CurrencyManager.cs: Take into account the row/col naming
  10070. convention when creating dataset tables.
  10071. * BindingContext.cs: Using a newer better way of storing
  10072. datasource/datamember pairs. Hopefully this better matches MS for
  10073. looking up binding managers.
  10074. 2006-03-15 Jackson Harper <[email protected]>
  10075. * BindingContext.cs: The currency manager needs the data member
  10076. name, if the member is a data set we use the name to find the
  10077. correct table.
  10078. * CurrencyManager.cs: When creating the list prefer an IList over
  10079. an IListSource.
  10080. - Attempt to create a DataTable from a DataSet (TODO: might need
  10081. some better error checking here, although MS doesn't seem to have much)
  10082. - If we have a DataTable create a view and use it as our list.
  10083. 2006-03-15 Mike Kestner <[email protected]>
  10084. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  10085. keyboard navigation. Support Up/Down/Left/Right selection correctly
  10086. for all 4 View modes.
  10087. * ListViewItem.cs: add internal row/col fields for icon layouts.
  10088. 2006-03-15 Jackson Harper <[email protected]>
  10089. * TabControl.cs: Redraw the tabs when we resize so their newly
  10090. calculated sizes are drawn on screen.
  10091. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  10092. composite characters.
  10093. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  10094. - filter events so that composite characters can be created
  10095. patches by peter
  10096. * X11Structs.cs: Add XIMProperties enum.
  10097. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10098. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  10099. unless it's created
  10100. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10101. * Control.cs (PerformLayout): We don't need to consider visiblity
  10102. for anchoring, only for docking. This fixes 'whacky' alignment
  10103. in listbox and other controls that use implicit scrollbars after
  10104. the previous PerformLayout patch
  10105. * ListBox.cs: Switched to use implicit scrollbars
  10106. 2006-03-14 Mike Kestner <[email protected]>
  10107. * ToolBar.cs:
  10108. * VScrollBar.cs:
  10109. - chain up the "new event" overrides to base and use
  10110. OnEvent to raise them. Part of fix for bug #76509.
  10111. 2006-03-14 Alexander Olk <[email protected]>
  10112. * FileDialog.cs: Do not select an item in the parent directory
  10113. on backspace
  10114. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10115. * Control.cs (PerformLayout): It would seem that we considered
  10116. invisible windows for our layout. Not quite the right thing
  10117. to do. Now we don't any longer, thereby fixing bug #76889.
  10118. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10119. * Control.cs (CanFocus): I goofed. A control can have focus
  10120. even though it's not selectable. Made it match MS docs.
  10121. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10122. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  10123. center by default (fixes #76895)
  10124. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  10125. all uses of Border3DSides.All with the explicit ORd together
  10126. Left|Right|Top|Bottom because I assume that nobody was aware
  10127. that All also implies a center fill. Most places I checked had
  10128. a fill right above.
  10129. * ProgressBarStyle.cs: Added
  10130. 2006-03-13 Mike Kestner <[email protected]>
  10131. * ListView.cs: fix breakage in drag shadow header positioning
  10132. from Peter's csc compilation fix.
  10133. 2006-03-13 Mike Kestner <[email protected]>
  10134. * ListView.cs: fix NRE produced by backspacing twice in a focused
  10135. FileDialog.
  10136. 2006-03-13 Mike Kestner <[email protected]>
  10137. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  10138. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10139. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  10140. be changed
  10141. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  10142. the allowed size before making programmatic size changes
  10143. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10144. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  10145. set, metacity is broken and will still use the emty sizes in
  10146. the struct. (Fix for #77089)
  10147. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10148. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  10149. WindowExStyles and marked both enums as Flags
  10150. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  10151. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  10152. to match WindowStyles split
  10153. * XplatUIX11.cs:
  10154. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  10155. - Updated to match WindowStyles split
  10156. * XplatUIWin32.cs:
  10157. - Fixed FosterParent creation, was using ExStyle on the Style field
  10158. (This should help with Popup focus issues)
  10159. - Updated to match WindowStyles split
  10160. 2006-03-13 Jackson Harper <[email protected]>
  10161. * MdiWindowManager.cs: Use the system menu height. Fixes some
  10162. strange sizing issues.
  10163. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10164. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  10165. * TextBoxBase.cs:
  10166. - Scroll to caret after inserting text (#77672)
  10167. - Make scroll range one pixel higher, fixes off-by-one error (and
  10168. makes underlines visible on the last line)
  10169. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10170. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  10171. the keyboard state from being stuck with keys in 'pressed' state when
  10172. focus is switched away via keyboard
  10173. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  10174. reset the keyboard if no X11 KeyUp events are expected to come
  10175. * X11Structs.cs: Switched type of Visible to bool to match driver
  10176. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10177. * TextControl.cs:
  10178. - Switched caret to be just 1 pixel wide, matches MS and looks less
  10179. clunky
  10180. - Moved caret display 1 pixel down from the top of the control
  10181. to improve view
  10182. - InsertCharAtCharet: Update the selection start if moving the caret
  10183. (fixes bug #77696; based on patch suggested by [email protected])
  10184. - No longer always creating the caret when the caret methods are
  10185. called. Only the actual ShowCaret/HideCaret will do that now
  10186. - Only setting caret visible if the owner control has focus
  10187. - UpdateView: Added invalidation-shortcut logic for center and right
  10188. aligned text. Previously we'd update all according to the left
  10189. logic which caused drawing errors. Also fixed height of invalidated
  10190. areas, now properly invalidating the whole area (was off-by-one)
  10191. - owner_HandleCreated: Always generate the document when the
  10192. handle is created; this ensures that
  10193. * TextBoxBase.cs:
  10194. - Fixed situation where caret would disappear under the right
  10195. window border, also improved scrolling behaviour on left-
  10196. aligned textboxes
  10197. - Fixed right-aligned textboxes to have a border to the
  10198. right instead of the caret being under the right border
  10199. * XplatUIX11.cs:
  10200. - Switched from 'nested' to simple visible/not visible tracking
  10201. for caret (part of fix for #77671)
  10202. - No longer passing through translated FocusIn/FocusOut messages
  10203. since we were notifying too often and the wrong windows. Instead
  10204. we just notify our focussed window of receiving or loosing focus
  10205. * XplatUIWin32.cs: Switched from 'nested' show/hide
  10206. counting for caret to simple visible yes/no behaviour (part of
  10207. fix for #77671)
  10208. 2006-03-11 Alexander Olk <[email protected]>
  10209. * Mime.cs: Remove debug code...
  10210. 2006-03-11 Alexander Olk <[email protected]>
  10211. * MimeGenerated.cs: Removed
  10212. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  10213. and subclasses) from /usr/(local/)share/mime and
  10214. $HOME/.local/share/mime.
  10215. 2006-03-10 Jackson Harper <[email protected]>
  10216. * MdiWindowManager.cs: Recalc the NC area when a window is
  10217. maximized/restored so that the menu area is drawn on forms that
  10218. don't have a menu.
  10219. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10220. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10221. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  10222. us to force a WM_NCCALCRESIZE message being sent. This is needed
  10223. for MDI maximizing.
  10224. 2006-03-10 Jackson Harper <[email protected]>
  10225. * Form.cs: We need to use the ActiveMenu when calculating menu
  10226. height.
  10227. - Fix nullref when the window manager hasn't been created yet.
  10228. * Control.cs: Fix nullref when we try to bring a control to the
  10229. front that has no parent.
  10230. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  10231. height.
  10232. - Add a dummy item to the maximized menu so it always has the
  10233. correct height. Otherwise when there are no menus we don't get our
  10234. icon and buttons.
  10235. 2006-03-10 Jackson Harper <[email protected]>
  10236. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  10237. stuff.
  10238. * Form.cs: Make the window_state internal so the window managers
  10239. can track it.
  10240. - When an MDI child is maximized let its window manager create the
  10241. main menu (so it can add its icon).
  10242. - Notify the window managers of state changes
  10243. - Let the window manager paint its buttons and handle button
  10244. clicks on the menu when it is maximized.
  10245. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  10246. window manager, since tool windows don't use it, only mdi windows.
  10247. - Tell the main form that we don't want it to handle NCPAINT
  10248. itself to avoid extra painting.
  10249. - Handle clicks on a maximized windows menu.
  10250. - Handle window state changes
  10251. - Handle minimize/maximize clicks correctly by setting the window state.
  10252. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  10253. when clicking on the forms icon).
  10254. - New method to create a forms maximized menu. This is its normal
  10255. menu + an icon.
  10256. - Handle window state changes.
  10257. - Handle sizing of maximized windows. Maximized windows are just
  10258. drawn bigger then the parent visible area. All controls are still
  10259. there, they are just outside the visible area (this matches windows).
  10260. * MdiClient.cs: No scrollbars when a child window is maximized.
  10261. - Let the children windows figure out how big they should be when
  10262. sizing maximized windows.
  10263. - Implement a version of ArrangeIconicWindows somewhat similar to
  10264. Windows version. There are some little differences, but I don't
  10265. think any app will rely on the layout of minimized mdi windows.
  10266. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10267. * Padding.cs: Several fixes to allow compiling with csc 2.0
  10268. 2006-03-09 Jackson Harper <[email protected]>
  10269. * Menu.cs:
  10270. * MenuItem.cs: Cheap hack so we can add items to the list without
  10271. the events being raised. This allows adding mdi items during
  10272. drawing. TODO: Should probably find a better time to add the items.
  10273. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10274. * ThemeWin32Classic.cs:
  10275. - CheckBox_DrawText: Added logic to not wrap if not enough space
  10276. is available (Fix for bug #77727)
  10277. - RadioButton_DrawText: Added logic not to wrap if not enough
  10278. space is available (Fix for bug #77727). Also removed some
  10279. duplicate code, DrawString always drawing the regular text
  10280. before hitting the if statement.
  10281. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10282. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  10283. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10284. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  10285. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  10286. methods. Moved the new 2.0 properties into alphabetical order with
  10287. other properties and added MonoTODO tags
  10288. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10289. * AutoScaleMode.cs: Added. Fix build.
  10290. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10291. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10292. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  10293. and was requiring premature handle creation for calls from above
  10294. * Form.cs, Control.cs: Removed handle arguments from calls to
  10295. CalculateClientRect()
  10296. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10297. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  10298. drag_column.column_rect is MarshalByRef and can't be used that way
  10299. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10300. * AxHost.cs: Added deserialization constructor for
  10301. AxHost+State (fixes 77743)
  10302. 2006-03-09 Mike Kestner <[email protected]>
  10303. * ListView.cs:
  10304. - Added column drag reordering for details view.
  10305. - fixed behavior when mouse is dragged off column and
  10306. AllowColumnReorder is false.
  10307. * ColumnHeader.cs: clone the format too in Clone.
  10308. * Theme.cs: add DrawListViewHeaderDragDetails method.
  10309. * ThemeWin32Classic.cs:
  10310. - impl new method for drawing drag column shadows and targets.
  10311. - support column offset for details mode in DrawListViewItem.
  10312. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10313. * TextControl.cs: Reset the char_count when the document is cleared
  10314. (Fixes bug reported on mono-winforms mailing list)
  10315. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10316. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  10317. of calling base we simply process the key ourselves, since both
  10318. DefWindowProc and the handled method would set m.Result.
  10319. (Fixes #77732)
  10320. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10321. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  10322. method also moves the window; instead implemented a copy of
  10323. Control.ScaleCore (Part of fix for #77456)
  10324. * TextBoxBase.cs:
  10325. - Created new CreateGraphicsInternal method to allow providing
  10326. a graphics context when no handle is created without triggering
  10327. handle creation. (Part of fix for #77456)
  10328. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  10329. * TextControl.cs:
  10330. - Switched Constructor to require TextBoxBase instead of Control (to
  10331. allow uncast access to CreateGraphicsInternal)
  10332. - Safeguarded use of owner.Handle property. No longer accessing it
  10333. unless the handle is already created.
  10334. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  10335. - Now triggering a recalc when owning control becomes visible
  10336. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  10337. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  10338. premature handle creation (Part of fix for #77456)
  10339. * Control.cs:
  10340. - We now only destroy our double-buffering buffers when the
  10341. control is resized or disposed, but not when visibility
  10342. changes. (The code even re-created them twice every time)
  10343. - Now requiring a redraw of the buffer on visibility changes
  10344. (fixes bug 77654 part 2)
  10345. - Not passing OnParentVisibleChanged up unless the control
  10346. is visible
  10347. - CanFocus: Fixed to match MS documentation
  10348. - Focus: Fixed to return actual focus state and to check if
  10349. setting focus is legal before setting it
  10350. 2006-03-08 Peter Dennis Bartok <[email protected]>
  10351. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  10352. when to draw focus rectangle by looking at parent focus and
  10353. selected state instead. This fixes TabPages on Linux sometimes
  10354. having none or multiple focus rectangles.
  10355. * XplatUIX11.cs (SetFocus):
  10356. - Don't set the focus if the same window already has focus
  10357. - Use SendMessage instead of PostMessage (like it's Win32
  10358. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  10359. to match MS behaviour
  10360. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  10361. are not selectable.
  10362. 2006-03-07 Jackson Harper <[email protected]>
  10363. * PictureBox.cs: Revert line I accidently committed last week.
  10364. 2006-03-07 Peter Dennis Bartok <[email protected]>
  10365. * Control.cs:
  10366. - Added new IsRecreating and ParentIsRecreating properties to
  10367. allow testing if RecreateHandle has been called on ourselves
  10368. or one of our parents
  10369. - WndProc(WM_DESTROY): If our control handle is being recreated
  10370. we immediately need to create the handle when receiving the
  10371. destroy, that way our child windows find a valid parent handle
  10372. when they themselves are being recreated upon WM_DESTROY receipt
  10373. (fix for bug #77654 part 1)
  10374. * XplatUIX11.cs:
  10375. - DestroyWindow: WM_DESTROY must be sent to our own window before
  10376. notifying any child windows. MS documents that child windows
  10377. are still valid when WM_DESTROY is received. (Control now relies on
  10378. this behaviour)
  10379. - Added some fine-grain debug options
  10380. 2006-03-06 Jackson Harper <[email protected]>
  10381. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  10382. box and base calculations off this.
  10383. * MdiChildContext.cs:
  10384. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  10385. anymore.
  10386. 2006-03-06 Peter Dennis Bartok <[email protected]>
  10387. * Splitter.cs: In situations where the affected control is added
  10388. to the parent's control list after the splitter, we would not
  10389. populate affected. Now we try populating it on mousedown, if
  10390. it's not already set, and force it to be re-set whenever our
  10391. parent changes.
  10392. 2006-03-03 Matt Hargett <[email protected]>
  10393. * Control.cs: implement Control.Padding
  10394. * Padding.cs: -Padding.All returns -1 when constructing with the
  10395. implicit default ctor
  10396. -Padding.ToString() matches MS.NET
  10397. * ContainerControl.cs: implement
  10398. ContainerControl.AutoScaleDimensions
  10399. * ListControl.cs: implement ListControl.FormattingEnabled
  10400. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  10401. * ButtonBase.cs:
  10402. * TabPage.cs: Implement UseVisualStyleBackColor.
  10403. * PictureBox.cs: Implement PictureBox.InitialImage.
  10404. 2006-03-03 Mike Kestner <[email protected]>
  10405. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  10406. event declarations to proxy to base event.
  10407. * ListViewItem.cs: update to use ItemControl.
  10408. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  10409. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  10410. column header label rendering for 0 width columns.
  10411. 2006-03-03 Peter Dennis Bartok <[email protected]>
  10412. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  10413. that causes the control to be created. Fixes #77476.
  10414. 2006-03-02 Jackson Harper <[email protected]>
  10415. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  10416. expose_pending.
  10417. 2006-03-02 Peter Dennis Bartok <[email protected]>
  10418. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  10419. passed in for the EventArgs (fixes #77690)
  10420. 2006-03-01 Jackson Harper <[email protected]>
  10421. * ScrollBar.cs: Refresh afterbeing resized.
  10422. 2006-02-28 Mike Kestner <[email protected]>
  10423. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  10424. Clean up a tracker compile warning.
  10425. * MenuItem.cs: add internal PerformPopup method.
  10426. [Fixes #77457]
  10427. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10428. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  10429. implicit expose) when the text is set to null
  10430. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10431. * RichTextBox.cs (FlushText): When newline is true, we always
  10432. need to split the line, even if no text is on it and we may
  10433. never eat newlines. (Fixes #77669)
  10434. 2006-02-28 Mike Kestner <[email protected]>
  10435. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  10436. and set Selected instead.
  10437. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  10438. collections.
  10439. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10440. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  10441. 2006-02-28 Alexander Olk <[email protected]>
  10442. * FontDialog.cs:
  10443. - Got rid of the panel. All controls are now directly added to
  10444. the dialog form
  10445. - It is now possible to set a font with the Font property
  10446. - MinSize and MaxSize property do now what they should
  10447. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  10448. - Searching and selecting a font with the font textbox works now,
  10449. the same applies to the style and size textbox
  10450. - Draw the correct 3D border in the example panel
  10451. - Fixed a little mem leak (unused fonts didn't get disposed)
  10452. - Many other internal updates/rewrites...
  10453. - Fix typo
  10454. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10455. * TextControl.cs:
  10456. - InsertRTFFromStream: Added 'number of characters inserted' argument
  10457. - set_SelectedRTF: Now using the number of characters to calculate
  10458. the new location for the selection and cursor (x/y cannot be used
  10459. due to potentially already wrapped text)
  10460. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10461. * TextControl.cs: Added property and implemented means to allow
  10462. disabling recalculation of a document (can be used to speed up
  10463. multiple inserts and is needed to make RTF inserts predictable, see
  10464. bug #77659)
  10465. * RichTextBox.cs: Using the new NoRecalc property of Document to
  10466. keep x/y insert locations predictable. Also makes it faster inserting
  10467. large chunks of RTF
  10468. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10469. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  10470. it's easier for a child control to handle the other messages without
  10471. having to duplicate the special functionality
  10472. * TextBoxBase.cs
  10473. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  10474. code to handle processing the key ourselves, in order to get
  10475. access to the result of KeyEventArgs.Handled. We now only call
  10476. ProcessKey if they key hasn't been handled already. Fixes #77526.
  10477. - set_Text: If null or empty string is given, just clear the
  10478. document. Fixes part of #77526
  10479. 2006-02-27 Jackson Harper <[email protected]>
  10480. * SizeGrip.cs: Paint the background color before painting the grip
  10481. so things look right.
  10482. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  10483. 2006-02-27 Mike Kestner <[email protected]>
  10484. * ListView.cs:
  10485. - Restructure layout and invalidation model to remove a ton of
  10486. flicker from the control and speed up performance in general.
  10487. - Add manual column resize, flickers like crazy, but I already have
  10488. some ideas on how I'll fix that. (#76822)
  10489. - Merge the three Icon-based views into a single layout method.
  10490. - Move item selection interaction logic from the item since
  10491. interaction with the collections is more appropriate to the view.
  10492. - Deselection on non-item clicks.
  10493. * ListViewItem.cs:
  10494. - Encapsulate most of the layout. Add some internal props to trigger
  10495. layout. Move to a model where Items invalidate themselves instead
  10496. of just invalidating the whole control every time something changes.
  10497. - Invalidate on Text/Caption changes.
  10498. - switch to an offset based layout model to avoid having to absolute
  10499. position every element on item moves.
  10500. - correct checkbox layout to conform to MS layout.
  10501. * ThemeWin32Classic.cs:
  10502. - refactor some column header drawing code.
  10503. - fix string justification for column headers (#76821)
  10504. - make SmallIcon labels top justified for compat with MS impl.
  10505. * ThemeClearlooks.cs:
  10506. - adjust to new ListViewItem internal checkbox bounds api.
  10507. 2006-02-27 Jackson Harper <[email protected]>
  10508. * Control.cs: Change where implicit controls fall in the zorder.
  10509. They are now on top of all children.
  10510. - Synced AddImplicit code with Add
  10511. - Removed unused enumerator.
  10512. * SizeGrip.cs: Remove the TODO as its been TODONE.
  10513. 2006-02-26 Peter Dennis Bartok <[email protected]>
  10514. * TextControl.cs(Insert): Combine the last lines unless the insertion
  10515. string ends with \n\n, otherwise we leave one line too many (Fixes
  10516. something I noticed with the testapp for #77526; the bug itself was
  10517. already fixed in the previous checkin)
  10518. 2006-02-26 Peter Dennis Bartok <[email protected]>
  10519. * RichTextBox.cs:
  10520. - SelectionColor and SelectionFont methods no longer set absolute
  10521. styles. Instead, the keep font or color respectively (This
  10522. resolves a long-standing FIXME in the code)
  10523. - When flushing RTF text, the insert code now considers text trailing
  10524. behind the insertion point (Fixes the bug where when replacing
  10525. the selected text via SelectedRTF the remainder of the line behind
  10526. the selection would stay on the first insertion line)
  10527. * TextBoxBase.cs:
  10528. - AppendText now updates the selection points after inserting text
  10529. - AppendText now ensures that the last tag (sometimes 0-length) of
  10530. the document is used for the style information (Fixes part of
  10531. bug #77220)
  10532. * TextControl.cs:
  10533. - Created new FontDefiniton class to allow describing partial style
  10534. changes
  10535. - StreamLine() now takes a lines argument, to allow it to decide
  10536. whether an encountered zero-length tag is the last in the document
  10537. (which must be kept to not loose the font/color contained in it,
  10538. for later appends)
  10539. - Created Combine() and Split() methods for Marker structs, to
  10540. support marker updates due to reformatted documents (soft line
  10541. wraps)
  10542. - Implemented Document.CaretTag setter
  10543. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  10544. of the last line (Not the cause, but also exposed by bug #77220)
  10545. - Added LineTag argument to InsertString method, to allow callers
  10546. to force a certain tag to be used (required to force use of the
  10547. trailing zero-length tag of a document)
  10548. - Now updating markers in Combine(), to avoid stale tag markers
  10549. - Added some method descriptions to aid maintenance
  10550. - Implemented new FormatText concept, allowing additive/subtractive
  10551. formatting by only specifying the components that are to be
  10552. changed. This was needed for resolving the RTB.SelectedColor/
  10553. RTB.SelectedFont fixmes
  10554. - Added Break() support method to allow breaking up linetags (used
  10555. for partial formatting)
  10556. - Added GenerateTextFormat() method. It is used for partial
  10557. formatting and allows to generate a full font/color from given
  10558. attributes and an existing tag.
  10559. 2006-02-26 Jackson Harper <[email protected]>
  10560. * XplatUIX11.cs: Use the correct caption height.
  10561. - Translate hittest coordinates to screen coords to match MS.
  10562. * XplatUIWin32.cs: When we create MDI windows we need to reset
  10563. some of the style flags, so we get a nice blank window, and can
  10564. draw all the decorations ourselves.
  10565. - Set a clipping rectangle on the non client paint event, the
  10566. window manager drawing code needs one.
  10567. * Form.cs: The window manager needs to know when the window state
  10568. has been updated.
  10569. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  10570. don't need to factor in border and title sizes in these
  10571. methods. TODO: Remove the args and fix the call points.
  10572. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  10573. properly.
  10574. - Let the driver set the cursors.
  10575. - Improve active window handling
  10576. - Correct sizes for title bars and buttons.
  10577. - Match MS drawing better
  10578. * MdiWindowManager.cs: We don't need to handle border style
  10579. updates specially anymore.
  10580. - Check for scrollbars when windows are done moving
  10581. - Handle Active properly.
  10582. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  10583. correctly. I am spewing the exception though, so we don't hide the
  10584. bugs.
  10585. 2006-02-26 Pedro Martinez Julia <[email protected]>
  10586. * DataGridViewRowPostPaintEventArgs.cs,
  10587. DataGridViewCellPaintingEventArgs.cs,
  10588. DataGridViewRowCollection.cs,
  10589. DataGridViewRowPrePaintEventArgs.cs,
  10590. DataGridViewCell.cs: Clear a few warnings and implement a few
  10591. exceptions that should be thrown.
  10592. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10593. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  10594. 'inheriting' our parent's (non-default) cursor. (Part of
  10595. the fix for #77479)
  10596. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10597. * XplatUIX11.cs: Fixed cast to make csc happy
  10598. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10599. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  10600. it's for the client area (part of fix for #77479 and needed
  10601. for MDI window cursor handling)
  10602. * XplatUIX11.cs
  10603. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  10604. the appropriate default cursors and also passing the message
  10605. up the parent chain
  10606. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  10607. for non-client areas
  10608. 2006-02-15 Jackson Harper <[email protected]>
  10609. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  10610. is a real MDI window
  10611. 2006-02-14 Alexander Olk <[email protected]>
  10612. * X11DesktopColors.cs: Instead of checking the desktop session
  10613. string for "KDE" check if it starts with "KDE"
  10614. 2006-02-10 Jackson Harper <[email protected]>
  10615. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  10616. systems).
  10617. 2006-02-10 Alexander Olk <[email protected]>
  10618. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  10619. errors
  10620. * ColorDialog.cs:
  10621. - Got rid of the panel. All controls are now directly added to
  10622. the dialog form
  10623. - Changed to mono coding style
  10624. 2006-02-10 Jackson Harper <[email protected]>
  10625. * InternalWindowManager.cs: We don't need the set visibility to
  10626. false hack anymore now that peter has written beautiful shutdown
  10627. code.
  10628. 2006-02-10 Peter Dennis Bartok <[email protected]>
  10629. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  10630. where already explicitly destroyed
  10631. 2006-02-10 Jackson Harper <[email protected]>
  10632. * MdiClient.cs: Handle the case where windows are too high or to
  10633. the left and we need scrollbars.
  10634. 2006-02-10 Alexander Olk <[email protected]>
  10635. * MimeIcon.cs: Added some icons
  10636. * FileDialog.cs:
  10637. - Fixed bug #77477
  10638. - Got rid of the panel. All controls are now directly added to
  10639. the dialog form
  10640. - Changed to mono coding style
  10641. - On Linux "My Computer" and "My Network" will now show some
  10642. more usefull information. A new class, MasterMount, gathers
  10643. this information from /proc/mount. Updated MWFFileView to make
  10644. use of this information
  10645. - Fixed a bug that caused FileDialog to crash when
  10646. ".recently_used" file had a zero size
  10647. - FilterIndex does now what it should
  10648. - Some Refactoring
  10649. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  10650. FileDialog changes
  10651. 2006-02-09 Jackson Harper <[email protected]>
  10652. * ComboBox.cs: Don't touch if null.
  10653. 2006-02-09 Peter Dennis Bartok <[email protected]>
  10654. * Cursor.cs: 64bit safeness fix
  10655. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  10656. 2006-02-09 Jackson Harper <[email protected]>
  10657. * Form.cs: If a form is made into an MDI form update the styles so
  10658. all the props can get set correctly.
  10659. - Kill the mdi_container when we dont need it anymore.
  10660. * InternalWindowManager.cs: Add missing NOT
  10661. 2006-02-08 Jackson Harper <[email protected]>
  10662. * InternalWindowManager.cs: Respek clipping when drawing MDi
  10663. decorations.
  10664. 2006-02-08 Jackson Harper <[email protected]>
  10665. * Hwnd.cs: Add bits to track non client expose events.
  10666. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  10667. gives us a proper invalid rect and will allow for some nice
  10668. optimizations with NC client drawing
  10669. - MDI windows are children windows, so move their style handling
  10670. into the child window block.
  10671. * InternalWindowManager.cs: Remove a state reset that was
  10672. getting invoked at the wrong time. Fixes managed windows getting
  10673. into a 'stuck' captured state.
  10674. 2006-02-07 Peter Dennis Bartok <[email protected]>
  10675. * TextControl.cs (Document.ctor): Now initializing
  10676. selection_anchor. Fixes #77493
  10677. 2006-02-07 Jackson Harper <[email protected]>
  10678. * TrackBar.cs: The increment/decrements were backwards.
  10679. 2006-02-07 Mike Kestner <[email protected]>
  10680. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  10681. to the instance itself.
  10682. 2006-02-07 Peter Dennis Bartok <[email protected]>
  10683. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  10684. on ulongs and pointers, the size differs between 32bit and 64bit
  10685. systems.
  10686. 2006-02-07 Mike Kestner <[email protected]>
  10687. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  10688. for 64 bit platforms to work around a metacity bug.
  10689. 2006-02-07 Jackson Harper <[email protected]>
  10690. * TrackBar.cs: Process the input keys we need, and hookup to
  10691. KeyDown instead of using WndProc, so we get key messages.
  10692. 2006-02-06 Peter Dennis Bartok <[email protected]>
  10693. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  10694. machine we're on.
  10695. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  10696. we need to translate the XdndVersion atoms array before sending it
  10697. 2006-02-06 Peter Dennis Bartok <[email protected]>
  10698. * XplatUIX11.cs:
  10699. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  10700. number of bits for the property, not the number of bytes. The
  10701. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  10702. but would not crash since it specified 8 bits instead of 4 bits)
  10703. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  10704. defined as XID -> long in the C headers)
  10705. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  10706. references since those are now IntPtr to begin with
  10707. - Switched all Atom.XXX 'int' casts to IntPtr casts
  10708. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  10709. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  10710. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  10711. * X11Structs.cs:
  10712. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  10713. - Changed atom in HoverStruct to be IntPtr
  10714. * X11DnD.cs:
  10715. - Removed local DllImports, switched code to use those from XplatUIX11
  10716. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  10717. 2006-02-06 Mike Kestner <[email protected]>
  10718. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  10719. method signatures in the import region. There may still be some
  10720. lingering struct marshaling issues, as I didn't drill down into those.
  10721. Yet.
  10722. 2006-02-06 Jackson Harper <[email protected]>
  10723. * ComboBox.cs: Dont manually set the top_item, this is computed
  10724. when the scrollbar position is set.
  10725. 2006-02-06 Mike Kestner <[email protected]>
  10726. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  10727. startup crashes on amd64. There's other fixes needed. All pinvoke
  10728. usage of Atom needs to be mapped to IntPtr for example. And there are
  10729. likely other int/long issues to be addressed.
  10730. 2006-02-04 Alexander Olk <[email protected]>
  10731. * FileDialog.cs: One more...
  10732. 2006-02-03 Alexander Olk <[email protected]>
  10733. * FileDialog.cs: Next try
  10734. 2006-02-03 Alexander Olk <[email protected]>
  10735. * FileDialog.cs: First part of fix for #77464
  10736. 2006-02-03 Alexander Olk <[email protected]>
  10737. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  10738. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  10739. AcceptButton border drawing.
  10740. 2006-02-03 Peter Dennis Bartok <[email protected]>
  10741. * Form.cs: Moved positioning of form after auto scaling is applied,
  10742. otherwise it would possibly use wrong form size.
  10743. 2006-02-03 Peter Dennis Bartok <[email protected]>
  10744. * Control.cs (RecreateHandle): No need to re-create any child
  10745. controls, the child windows will get destroyed automatically by
  10746. the windowing system or driver, and re-created when the handle
  10747. is being accessed the first time. Fixes #77456
  10748. * Form.cs: No longer setting the form to closing if the handle is
  10749. being recreated. This seems like the right thing to do, don't
  10750. have a bug or testcase for this, though.
  10751. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10752. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  10753. controls to avoid unwanted side effects
  10754. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10755. * Control.cs:
  10756. - ScaleCore needs to scale the bounds, not the ClientSize of the
  10757. control. Fixes #77416.
  10758. - DefaultSize is 0,0 for control
  10759. * TextBoxBase.cs:
  10760. - DefaultSize is 100, 20
  10761. - SetBoundsCore: Now enforcing the height, no matter if the provided
  10762. height is more or less than the preferred one, as long as AutoSize
  10763. is on
  10764. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  10765. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10766. * Control.cs:
  10767. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  10768. call unless both performLayout is true *and* we have a pending
  10769. layout change
  10770. - ResumeLayout: MS does not completely nest Suspend and Resume,
  10771. they bottom out at 0, fixed our code to match that.
  10772. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  10773. SetBoundsCore, we were updating even when we shouldn't. This fixes
  10774. swf-anchors mis-anchoring when resizing the app fast and lots.
  10775. - UpdateDistances: Now only setting the left and top distance if
  10776. we have a parent and are not suspended, this is based on
  10777. a suggestion by Don Edvaldson in bug #77355.
  10778. - OnVisibleChanged: Fixed logic when to create the control. We may
  10779. not create the control if we have no parent or if it's not visible;
  10780. switched to using Visible property instead of is_visible field
  10781. since the property also considers parent states. This fixes a bug
  10782. when starting Paint.Net
  10783. 2006-02-02 Jackson Harper <[email protected]>
  10784. * Form.cs: If the forms handle hasn't been created yet don't call
  10785. into xplatui to make it top most, just set the topmost flag on the
  10786. form in CreateParams
  10787. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  10788. 2006-02-01 Jackson Harper <[email protected]>
  10789. * ScrollableControl.cs: Refactored the Recalculate method a
  10790. little, this wasn't handling all the variants of bottom and right
  10791. bars needed to be added and added/removed based on their
  10792. counterparts being added/removed (which changes the drawable
  10793. size). Also we special case client widths and heights of 0 and
  10794. don't add the scrollbar for those.
  10795. 2006-02-01 Peter Dennis Bartok <[email protected]>
  10796. * XplatUIX11.cs:
  10797. - Added method to get AbsoluteGeometry(); currently unused, but might
  10798. be used in the future, if we try again to figure out toplevel
  10799. coordinates with some more crappy window managers
  10800. - Added FrameExtents() method to retrieve the WM set decoration size
  10801. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  10802. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  10803. * Hwnd.cs:
  10804. - Added whacky_wm tracking var for metacity
  10805. - Added logic to have default menu height if the actual menu height
  10806. has not yet been calculated (part of fix for #77426)
  10807. * Form.cs: Keep track whether client size has been set and re-set
  10808. it if a menu is added/removed afterwards (Fixes #77426)
  10809. 2006-01-31 Jackson Harper <[email protected]>
  10810. * Control.cs: When a new Site is set on the component attempt to
  10811. pull the AmbientProperties from it.
  10812. 2006-01-31 Peter Dennis Bartok <[email protected]>
  10813. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  10814. in the background of the owning form. Fixes #77332
  10815. 2006-01-31 Alexander Olk <[email protected]>
  10816. * MimeIcon.cs: Fix for #77409
  10817. 2006-01-31 Alexander Olk <[email protected]>
  10818. * XplatUIX11GTK.cs: Initial import
  10819. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  10820. * FixedSizeTextBox: fixes class signature
  10821. 2006-01-30 Jackson Harper <[email protected]>
  10822. * FixedSizeTextBox.cs: New internal class that represents a
  10823. textBox that will not be scaled.
  10824. * TreeView.cs:
  10825. * ComboBox.cs:
  10826. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  10827. standard TextBox.
  10828. 2006-01-30 Peter Dennis Bartok <[email protected]>
  10829. * XplatUIX11.cs: Retrieve default screen number instead of
  10830. assuming 0. Attempted fix for #77318
  10831. 2006-01-30 Peter Dennis Bartok <[email protected]>
  10832. * XplatUIWin32.cs:
  10833. - GetWindowPos: When a window is parented by FosterParent, use
  10834. the desktop instead of FosterParent as the base to get coordinates
  10835. - CreateWindow: Don't make FosterParent the parent window for Popups
  10836. if we don't want a taskbar entry, Popups automatically don't get one
  10837. * Hwnd.cs: Need to call remove to actually remove the key from the
  10838. hash table
  10839. 2006-01-30 Mike Kestner <[email protected]>
  10840. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  10841. 2006-01-30 Jackson Harper <[email protected]>
  10842. * TreeView.cs:
  10843. * TreeNode.cs: Raise events no matter how the treenode is
  10844. checked. Patch by Don Edvalson.
  10845. 2006-01-30 Jackson Harper <[email protected]>
  10846. * TreeNode.cs: Signature fix.
  10847. 2006-01-29 Alexander Olk <[email protected]>
  10848. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  10849. 2006-01-20 Mike Kestner <[email protected]>
  10850. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  10851. event forwarding when menus are active.
  10852. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  10853. Most of the patch is pdb's with a little rework.
  10854. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10855. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  10856. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  10857. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  10858. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  10859. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  10860. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  10861. the PaintWindowDecorations method
  10862. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  10863. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  10864. * MenuAPI.cs: Made tracker window invisible
  10865. * XplatUIWin32.cs:
  10866. - Removed GetMenuDC and ReleaseMenuDC methods
  10867. - Implemented the client=false path for PaintEventStart and
  10868. PaintEventEnd
  10869. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10870. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  10871. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  10872. styles
  10873. * Form.cs:
  10874. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  10875. the style
  10876. - CreateParams: Reworked the styles to match MS look'n'feel,
  10877. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  10878. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  10879. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10880. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  10881. window is not mapped, since otherwise every form that's being
  10882. created is considered minimized, which is wrong.
  10883. * Form.cs: Catching the exception and returning our internal value
  10884. instead
  10885. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10886. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  10887. SetWindowMinMax() to have means to tell the driver about the minimum,
  10888. maximum and maximized state window sizes. (Part of the fix for #76485)
  10889. * Form.cs:
  10890. - Implemented tracking of minimum and maximum window size, now calling
  10891. new SetWindowMinMax() driver method to tell the driver (Part of the
  10892. fix for #76485)
  10893. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  10894. (Completes fix for #76485)
  10895. - Calling new SetWindowMinMax driver method when the handle for a
  10896. form is created, to make sure the driver knows about it even if
  10897. the values have been set before the window was created
  10898. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  10899. to avoid messing up our anchoring calculations (partial fix
  10900. for #77355)
  10901. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  10902. * XplatUIX11.cs:
  10903. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  10904. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  10905. (and presumably other freedesktop.org compliant WMs). Left the
  10906. assumption unmapped=minimized, needed for SetVisible to work.
  10907. - Now setting the window state when creating windows
  10908. - Fixed SetVisible to consider/set the window state when mapping
  10909. a Form. We cannot set the state before it's mapped, and we cannot
  10910. use Form.WindowState once it's mapped (since it would ask the
  10911. driver and get 'normal'. Therefore, we grab the state before
  10912. mapping, map, and then set state.
  10913. - Implmemented SetWindowMinMax method; Metacity does not seem to
  10914. honor the ZoomHints, though.
  10915. * XplatUIWin32.cs:
  10916. - Removed MINMAXINFO (moved to XplatUIStructs)
  10917. - Added SetWindowMinMax stub (on Win32 the only way to set that
  10918. information is in response to the WM_GETMINMAXINFO message, which
  10919. is handled in Form.cs)
  10920. - Added logic to SetVisible to set the proper window state when a
  10921. form is made visible (fixes #75720)
  10922. 2006-01-26 Jackson Harper <[email protected]>
  10923. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  10924. same way we handle them with Invoke.
  10925. 2006-01-25 Peter Dennis Bartok <[email protected]>
  10926. * Form.cs:
  10927. - Added tracking of window state so CreateParams can return
  10928. the appropriate style
  10929. - Moved setting of WS_CAPTION style in CreateParams to allow
  10930. styles without caption
  10931. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  10932. control if the TextBox property is accessed. Fixes #77345
  10933. * Control.cs:
  10934. - get_Created: now uses is_disposed and is_created to determine
  10935. return value (suggested by Jackson)
  10936. - CreateHandle: No longer exits if the handle is being recreated
  10937. - RecreateHandle: If the handle is not yet created call the
  10938. appropriate method to create either control or handle. If the
  10939. control is already created CreateHandle will simply exit instead
  10940. of just creating the handle
  10941. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  10942. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  10943. is called.
  10944. * XplatUIX11.cs:
  10945. - When DestroyWindow is called, instead of waiting for the
  10946. DestroyNotification from X11, we directly post it to the WndProc
  10947. and immediately dispose the hwnd object.
  10948. Same applies to DestroyChildWindows, and this obsoletes the
  10949. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  10950. child windows before our own, to avoid X11 errors.
  10951. - Removed the direct sending of WM_PAINT on UpdateWindow
  10952. * XplatUIWin32.cs:
  10953. - Reworked DoEvents and GetMessage to allow access to internal queue
  10954. even when trying non-blocking access to the queue. Fixes #77335.
  10955. Based on a patch suggestion by Don Edvalson. The new private
  10956. GetMessage can now also be used as a backend for a PeekMessage
  10957. frontend version.
  10958. * XplatUI.cs: Improved debug output for CreateWindow
  10959. 2006-01-25 Jackson Harper <[email protected]>
  10960. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  10961. 2006-01-24 Jackson Harper <[email protected]>
  10962. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  10963. when we have a MaxDropItems lower then the selected index.
  10964. 2006-01-24 Jackson Harper <[email protected]>
  10965. * Control.cs: Don't allow selection of non visible controls, allow
  10966. selection of controls without parents.
  10967. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10968. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  10969. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  10970. 2006-01-23 Jackson Harper <[email protected]>
  10971. * UpDownBase.cs: Make the textbox handle all the selection and
  10972. tabbing. This fixes tabing to updown controls.
  10973. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10974. * TextBoxBase.cs: fixes exception thown the object was null
  10975. 2006-01-23 Jackson Harper <[email protected]>
  10976. * ButtonBase.cs: Just use the base CreateParams. They set
  10977. visibility and enabled correctly.
  10978. * ComboBox.cs:
  10979. * TrackBar.cs:
  10980. * MonthCalendar.cs: Lets let the base set as much of the
  10981. createparams as possible so we don't have duplicate code all over
  10982. the place.
  10983. 2006-01-22 Alexander Olk <[email protected]>
  10984. * ThemeGtk.cs: Added TrackBar and some experimental code to
  10985. get double buffering back
  10986. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  10987. * DataGrid.cs: Allows row number set internally higher than the last
  10988. when creating a new row. Restores the editing functionality.
  10989. 2006-01-20 Mike Kestner <[email protected]>
  10990. * MimeIcon.cs: delay Image creation until the icons are accessed
  10991. instead of creating 190 scaled images on GnomeHandler startup.
  10992. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10993. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  10994. first call base before processing the event. Fixes #77279
  10995. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10996. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  10997. that the stride for the GDI bitmap would match the stride of
  10998. a DIB or a Cursor.
  10999. 2006-01-19 Alexander Olk <[email protected]>
  11000. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  11001. 2006-01-19 Jackson Harper <[email protected]>
  11002. * ComboBox.cs: Hookup the text controls keydown event so we get
  11003. those when the text control has the focus.
  11004. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11005. * Label.cs: Now using the base events instead of defining new ones;
  11006. this allows us to just call the base properties without having to
  11007. duplicate all base property logic
  11008. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11009. * Label.cs: A label by default is not a tabstop (Fixes one of our
  11010. failing nunit tests)
  11011. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11012. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  11013. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  11014. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11015. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  11016. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  11017. This fixes #77218
  11018. * XplatUIWin32.cs:
  11019. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  11020. constructor creates images that can't be saved. Part of the fix
  11021. for #76103
  11022. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  11023. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  11024. bug fix for handling window state in forms properly)
  11025. 2006-01-18 Alexander Olk <[email protected]>
  11026. * ThemeGtk.cs: Simplify ScrollBar drawing
  11027. 2006-01-18 Jackson Harper <[email protected]>
  11028. * Splitter.cs: Set the default dock style for the splitter control
  11029. in the constructor.
  11030. 2006-01-18 Alexander Olk <[email protected]>
  11031. * ThemeGtk.cs: Corrected StateType and ShadowType for
  11032. gtk_paint_box
  11033. 2006-01-18 Alexander Olk <[email protected]>
  11034. * Control.cs: Make use of Theme.DoubleBufferingSupported
  11035. * ThemeGtk.cs:
  11036. - Added drawing for flat style buttons
  11037. - Added ScrollBar drawing
  11038. 2006-01-18 Alexander Olk <[email protected]>
  11039. * ThemeClearlooks.cs: Removed some unneeded code.
  11040. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  11041. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11042. * LinkLabel.cs: We need to update the hover drawing when
  11043. leaving the control as well.
  11044. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  11045. * DataGrid.cs: Clicking on non empty areas in the columns
  11046. area was giving an exception
  11047. 2006-01-17 Jackson Harper <[email protected]>
  11048. * ThemeWin32Classic.cs:
  11049. * ListView.cs: Do not draw/clip the headers when the header style
  11050. is None.
  11051. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11052. * DataGrid.cs: Fixes 77260
  11053. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11054. * DataGrid.cs: Clicking on a column on a empty grid was giving
  11055. an exception
  11056. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11057. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  11058. or any keypress will crash the grid.
  11059. 2006-01-17 Mike Kestner <[email protected]>
  11060. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  11061. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  11062. invisible/previously-visible items.
  11063. [Fixes #76909]
  11064. 2006-01-17 Alexander Olk <[email protected]>
  11065. * ThemeClearlooks.cs:
  11066. - Added CL_Draw_Button method; now other theme controls that are
  11067. not derived from button or do not have a button can draw buttons
  11068. too
  11069. - Updated ComboBox drawing
  11070. - Beautified RadioButton drawing
  11071. - Corrected drawing of bottom and left tabs
  11072. - Beautified DateTimePicker and MonthCalendar
  11073. - Added CPDrawButton and CPDrawRadioButton
  11074. 2006-01-16 Jackson Harper <[email protected]>
  11075. * ComboBox.cs: Set the initial value of the scrollbar to the
  11076. current index. Reduce the numbers of refreshs and IndexOfs called.
  11077. 2006-01-14 Alexander Olk <[email protected]>
  11078. * FileDialog.cs: When the file listview is focused hitting the
  11079. backspace key moves the fileview to the parent directory
  11080. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11081. * Form.cs:
  11082. - Added RecreateHandle call when changing taskbar visibility to
  11083. trigger reparenting in Win32 driver (Fixes #75719)
  11084. - If a window has minimize or maximize buttons, it cannot have
  11085. a help button
  11086. * XplatUIWin32.cs:
  11087. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  11088. the toplevel form with FosterParent (A toolwindow not on the
  11089. taskbar) (Fixes #75719)
  11090. - Made FosterParent a toolwindow
  11091. 2006-01-13 Alexander Olk <[email protected]>
  11092. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  11093. 2006-01-13 Alexander Olk <[email protected]>
  11094. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  11095. is currently over that control, make sure that tooltip_window.Text
  11096. gets updated
  11097. 2006-01-13 Mike Kestner <[email protected]>
  11098. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  11099. 2006-01-13 Jackson Harper <[email protected]>
  11100. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  11101. value passed. Also redraw the selected node when we recieve
  11102. focus, so tabbing between trees works correctly.
  11103. 2006-01-13 Alexander Olk <[email protected]>
  11104. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  11105. ~/.gconf/%gconf-tree.xml, so use
  11106. .gconf/desktop/gnome/interface/%gconf.xml
  11107. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11108. * TextControl.cs: Draw text in gray if control is disabled
  11109. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11110. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  11111. make sure it's always visible. Fixes #76680.
  11112. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11113. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  11114. 2006-01-13 Jonathan Chambers <[email protected]>
  11115. * PageSetupDialog.cs: Added.
  11116. * PrintDialog.cs: Attributes.
  11117. * PrintPreviewControl.cs: Updates.
  11118. * PrintPreviewDialog.cs: Updates.
  11119. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11120. * Control.cs: Undid my selection check fix, since it's not needed
  11121. * TextBoxBase.cs:
  11122. - Now considering the presence of hscroll/vscroll when sizing
  11123. vscroll/hscroll respectively. Fixed bug #77077
  11124. - Added Left/Up/Down/Right to IsInputKey list to prevent
  11125. ContainerControl from stealing them. This fixes what I broke
  11126. with my last checkin.
  11127. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11128. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  11129. I finally understand how the property can be set without a setter :-)
  11130. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11131. * Application.cs:
  11132. - Switched RunLoop to use static Message.Create to create a
  11133. Message object
  11134. - Added PreProcessMessage call in runloop for keyboard events; this
  11135. is part of the fix for #77219, I overlooked this originally in the
  11136. MSDN doc for PreProcessMessage
  11137. * Control.cs:
  11138. - Removed call to PreProcessMessage from handling of keyboard
  11139. messages; it's supposed to be done in the message pump
  11140. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  11141. per MSDN documentation.
  11142. - IsInputChar: All chars are input chars by default; removed the
  11143. parent calling chain, MS does not document that
  11144. - PreProcessMessage: If IsInputChar is true, we want to return false
  11145. to allow dispatching of the message
  11146. - When selecting the next control, now also check that we're not
  11147. selecting ourselves again and therefore return a false positive.
  11148. * TextBoxBase.cs:
  11149. - Tried to match return values for IsInputKey and ProcessDialogKey
  11150. to what MS returns; moved processing of our special keys outside
  11151. ProcessDialogKey since MS does not seem to return true on those.
  11152. - Moved code that previously was in ProcessDialogKey into new private
  11153. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  11154. - Reworked handling of WM_CHAR to not have to duplicate code from
  11155. Control.cs anymore, instead we simply call down to base.
  11156. 2006-01-12 Jackson Harper <[email protected]>
  11157. * ComboBox.cs: We always need to refresh the text area when
  11158. EndUpdate is called. Fixes the combobox in the file dialog.
  11159. * Control.cs: Don't create the creator_thread until the controls
  11160. handle is created. Also in InvokeRequired we check if the
  11161. creator_thread is null. This gives the effect of InvokeRequired
  11162. returning true if the controls handle is not created yet, and
  11163. matches MS.
  11164. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11165. * XplatUI.cs:
  11166. - Added StartLoop() driver method. This is used to allow drivers to
  11167. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  11168. loop for a particular thread
  11169. - Added EndLoop() driver method. This is called once the message
  11170. pump for the thread is shut down
  11171. - Added SupportsTransparency method to allow the driver to indicate
  11172. opacity support for windows
  11173. * Form.cs:
  11174. - Removed TODO attribute, completed AllowTransparency property
  11175. - Added documented logic to Opacity
  11176. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  11177. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  11178. versions of CompatibleTextRendering
  11179. * X11Structs.cs: Added opacity atom to our atom enumeration
  11180. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  11181. of a form might be set before it's reparented by the WM, and we need
  11182. the opacity value without calling up to Form)
  11183. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  11184. SupportsTransparency() driver methods
  11185. * Application.cs: Now calling StartLoop and EndLoop driver methods
  11186. * XplatUIX11.cs:
  11187. - Added opacity atom registration
  11188. - Added StartLoop()/EndLoop() methods. They're empty right now but
  11189. will need to get implemented when we switch to a per-thread queue
  11190. - Implemented SupportsTransparency() method
  11191. - Implemented SetWindowTransparency() method
  11192. - Added support for setting the opacity value when a window is
  11193. reparented (since the opacity needs to be set on the WM frame)
  11194. * XplatUIOSX.cs, XplatUIWin32.cs:
  11195. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  11196. 2006-01-12 Alexander Olk <[email protected]>
  11197. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  11198. 2006-01-12 Alexander Olk <[email protected]>
  11199. * FileDialog.cs: Added ToolTip for MWFFileView
  11200. * MimeIcon.cs: Rewrote GnomeHandler.
  11201. - Get currently used gnome icon theme from
  11202. ($HOME)/.gconf/%gconf-tree.xml
  11203. - Make use of inherited icon themes
  11204. - Support SVG icon themes like Tango via librsvg
  11205. 2006-01-12 Miguel de Icaza <[email protected]>
  11206. Revert's Jackson's revert which broke 2.0 builds. Fix both
  11207. builds.
  11208. * Application.cs: Move the use_compatible_text_rendering outside
  11209. the NET_2_0 define. If we ever need to use the
  11210. use_compatible_text_rendering on the individual controls they will
  11211. access the variable from the common shared code paths.
  11212. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11213. * XplatUI.cs:
  11214. - Added more granular debug options
  11215. - Added method to print both window text and id
  11216. - Switched debug output to use new Window() debug method
  11217. - Added IsEnabled() driver method
  11218. - Added EnableWindow() driver method
  11219. * Form.cs:
  11220. - Removed end_modal; no longer needed, new loop handles termination
  11221. via 'closing' variable
  11222. - If form is modal, setting DialogResult will now initiate loop
  11223. termination via 'closing' variable
  11224. - Added support for is_enabled/WS_DISABLED to CreateParams
  11225. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  11226. does all the work
  11227. - Removed code that's now in RunLoop from ShowDialog()
  11228. - Added various documented sanity checks to ShowDialog()
  11229. - Added handling of WM_DESTROY message; we set 'closing' on getting
  11230. the message to indicate the message pump to terminate
  11231. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  11232. send by the Application.ExitThread method. (We send the message
  11233. to destroy the window after all other events have been
  11234. processed through the queue, instead of destroying the handle
  11235. directly)
  11236. - Moved code from Close() method to WM_CLOSE handler; added logic
  11237. to only send close-related events if the form is not displayed
  11238. modal
  11239. * Splitter.cs (..ctor): Fixed typo in resource name
  11240. * Control.cs:
  11241. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  11242. brush now
  11243. - set_Cursor: Now only setting calling into XplatUI if the handle for
  11244. the control is already created; this avoids implict handle creation
  11245. or crashes if it's not created
  11246. - set_Enabled: Now setting the enabled state via the new driver method
  11247. instead of just tracking it
  11248. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  11249. - CreateControl: Reordered event firing and method calls to more
  11250. closely fire events in the order MS does. Now setting the
  11251. enabled state in the driver when creating the control.
  11252. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  11253. match MS order
  11254. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  11255. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  11256. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  11257. * Hwnd.cs:
  11258. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  11259. - Added EnabledHwnd property to easily allow a driver to find the
  11260. handle of the first enabled window in the parent chain (this is
  11261. used by drivers to pass up input events of disabled windows)
  11262. * XplatUIDriver.cs: Added IsEnabled() method
  11263. * Application.cs:
  11264. - Removed crude and obsolete exiting tracking variable
  11265. - Removed internal ModalRun(); replaced by RunLoop()
  11266. - Implemented private CloseForms() method to allow closing all
  11267. windows owned by a particular (or all) threads
  11268. - Exit() now properly closes all windows without forcing the message
  11269. pump to quit
  11270. - Removed obsolete InternalExit() method
  11271. - Changed Run() methods to use new RunLoop() message pump
  11272. - Implemented new RunLoop() method for both modal and non-modal forms
  11273. * CommonDialog.cs:
  11274. - get_CreateParams: Added setting of WS_DISABLED
  11275. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  11276. invoked via Form.ShowDialog()
  11277. * NativeWindow.cs: We don't remove the window from the collection when
  11278. the handle is destroyed; there might still be messages for it in the
  11279. queue (mainly the resulting WM_DESTROY); instead it will be removed
  11280. when Control calls InvalidateHandle in the WM_DESTROY handler
  11281. * XplatUIX11.cs:
  11282. - CreateWindow: Added logic to handle the WS_DISABLED window style
  11283. - EnableWindow: Implemented based on Hwnd.Enabled
  11284. - GetMessage: Reset PostQuitState so the method can be called again
  11285. - Implemented support for disabled windows (passing messages to the
  11286. first enabled parent) in handling all input messages
  11287. - Added optimizations for handling Expose events
  11288. - Implemeted new driver method IsEnabled()
  11289. - Now always resetting paint pending tracking vars when we start paint
  11290. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  11291. * XplatUIOSX.cs: Added IsEnabled method stub
  11292. * XplatUIWin32.cs: Implemented new IsEnabled() method
  11293. 2006-01-11 Jackson Harper <[email protected]>
  11294. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11295. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  11296. variables a little.
  11297. * ColorDialog.cs: Clear out the old form before adding the new
  11298. panel.
  11299. 2006-01-11 Jackson Harper <[email protected]>
  11300. * X11Dnd.cs: Make sure to add all the text formats when adding
  11301. strings to the data object.
  11302. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  11303. do some redrawing too. Also change the UpdateNode to an
  11304. UpdateBelow so the newly added node gets painted.
  11305. 2006-01-11 Miguel de Icaza <[email protected]>
  11306. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11307. LinkLabel.cs, PropertyGrid.cs: Implement the
  11308. UseCompatibleTextRendering property for 2.x
  11309. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  11310. 2006-01-11 Jackson Harper <[email protected]>
  11311. * TreeView.cs: Use the property for setting the selected node so
  11312. the correct events get raised.
  11313. * TreeNode.cs: Update the tree when the fore/back colours of a
  11314. node are set.
  11315. 2006-01-10 Jackson Harper <[email protected]>
  11316. * TreeView.cs: Allow setting SelectedNode to null.
  11317. 2006-01-9 Jonathan Chambers <[email protected]>
  11318. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  11319. 2006-01-9 Jonathan Chambers <[email protected]>
  11320. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  11321. 2006-01-9 Jonathan Chambers <[email protected]>
  11322. * PrintDialog.cs: Added attributes and set default property values.
  11323. 2006-01-9 Jonathan Chambers <[email protected]>
  11324. * PrintControllerWithStatusDialog.cs:
  11325. Added PrintControllerWithStatusDialog.
  11326. 2006-01-9 Jonathan Chambers <[email protected]>
  11327. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  11328. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  11329. 2006-01-9 Jonathan Chambers <[email protected]>
  11330. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  11331. 2006-01-09 Jonathan Chambers <[email protected]>
  11332. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  11333. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  11334. 2006-01-08 Alexander Olk <[email protected]>
  11335. * MimeIcon.cs: Added internal class SVGUtil.
  11336. 2006-01-08 Alexander Olk <[email protected]>
  11337. * FileDialog.cs: Don't crash if there are two files with the
  11338. same name but different locations.
  11339. 2006-01-08 John BouAntoun <[email protected]>
  11340. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  11341. dates across multiple month grids. Used to not highlight entire
  11342. month, but does now.
  11343. 2006-01-06 Jackson Harper <[email protected]>
  11344. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  11345. message loop. Change timer intervals to numbers that seem more
  11346. natural.
  11347. 2006-01-06 John BouAntoun <[email protected]>
  11348. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  11349. object for location info since screen object is now implemented.
  11350. 2006-01-05 Jackson Harper <[email protected]>
  11351. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  11352. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  11353. AsyncMethodResult, this is because we ALWAYS want the
  11354. ManualResetEvent to get set.
  11355. * Control.cs: When disposing use an async invoke to call shutdown
  11356. code, so that thigns don't block on the finalizer thread. Also
  11357. check if we even have a message loop before trying to send
  11358. messages, if we don't then don't bother sending messages.
  11359. - No more weak references for async methods
  11360. * XplatUIDriver.cs: No more weak references for async methods.
  11361. 2006-01-04 Alexander Olk <[email protected]>
  11362. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  11363. returns two FontFamily with the same name
  11364. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11365. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  11366. drawing disabled text. Instead using the ColorGrayText color
  11367. 2006-01-04 Jackson Harper <[email protected]>
  11368. * TreeNode.cs: redraw the node when its image index is changed.
  11369. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11370. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  11371. time I checked there are no others like it.
  11372. 2006-01-04 Jackson Harper <[email protected]>
  11373. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  11374. this gives the behavoir I was looking for.
  11375. * Control.cs: Special case Invoking EventHandlers, this matches MS
  11376. and fixes part of bug #76326.
  11377. 2006-01-04 Alexander Olk <[email protected]>
  11378. * ThemeClearlooks.cs, FileDialog.cs:
  11379. - Reflect the latest Theme class changes
  11380. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  11381. with DateTime
  11382. 2006-01-04 Alexander Olk <[email protected]>
  11383. * Theme.cs: Cache UI resource images and resize them if needed
  11384. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11385. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  11386. is called. This fixes the crash in Nexxia when setting the font
  11387. attributes in the chat. [However, RTF needs a look-over to make sure
  11388. that all SelectionXXX methods handle the special case that selection
  11389. is empty and therefore the change must be applied to all text starting
  11390. at the cursor/selection start]
  11391. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11392. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11393. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  11394. * X11Keyboard.cs: Switched to new way of calling PostMessage
  11395. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11396. * Theme.cs: Added theme interface for images to allow the theme to
  11397. control what images are used for things like FileDialog, MessageBox
  11398. icons, etc.
  11399. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  11400. 2006-01-03 Alexander Olk <[email protected]>
  11401. * FileDialog.cs:
  11402. - Removed some dead code
  11403. - Opening a recently used file does work now
  11404. - Small UI enhancements
  11405. - Refactoring
  11406. 2006-01-02 Alexander Olk <[email protected]>
  11407. * FileDialog.cs: Forgot too add __MonoCS__
  11408. 2006-01-02 Alexander Olk <[email protected]>
  11409. * FileDialog.cs: We are able to read recently used files now let's
  11410. go on and write them.
  11411. 2006-01-01 Alexander Olk <[email protected]>
  11412. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  11413. button
  11414. * MimeIcon.cs: Do a check for the top level media type also
  11415. 2005-12-31 Alexander Olk <[email protected]>
  11416. * ThemeClearlooks.cs:
  11417. - Added CPDrawStringDisabled
  11418. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  11419. some chars if the text doesn't fit into text_rect
  11420. - DrawListViewItem: If View = View.LargeIcon center the image;
  11421. rewrote the drawing of ListViewItem.Text if View =
  11422. View.LargeIcon
  11423. 2005-12-31 Alexander Olk <[email protected]>
  11424. * MimeIcon.cs: Use default KDE icon theme if there is no
  11425. "48x48" directory for the current icon theme, fixes #77114
  11426. * Mime.cs: Disable not working and actually not used code.
  11427. * ThemeWin32Classic.cs:
  11428. - Replace "new SolidBrush" in GetControlBackBrush and
  11429. GetControlForeBrush with ResPool.GetSolidBrush
  11430. - Changed DrawListViewItem from private to protected virtual
  11431. * FileDialog.cs:
  11432. - Added form.MaximizeBox = true
  11433. - Don't throw an exception if there is a broken symbolic link
  11434. 2005-12-23 Jackson Harper <[email protected]>
  11435. * TabControl.cs: Give the panels focus, keyboard navigation is
  11436. fixed so this works correctly now.
  11437. - We need these key events also.
  11438. * ToolBar.cs: Remove some of the poor mans double buffering.
  11439. 2005-12-24 Alexander Olk <[email protected]>
  11440. * ComboBox.cs: The internal TextBox now returns the focus.
  11441. 2005-12-23 Jackson Harper <[email protected]>
  11442. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  11443. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11444. * Control.cs: Removed debug code
  11445. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  11446. implicit children
  11447. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11448. * Control.cs: When creating the control, update the Z-order after
  11449. all it's children are created, too. (Fixes nexxia not showing
  11450. picturebox bug)
  11451. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11452. * Control.cs: Do not update the anchoring distances if layout is
  11453. suspended, instead do it once layout is resumed
  11454. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11455. * Control.cs:
  11456. - After many hours of debugging, for both Jackson and
  11457. myself, it turns out that it helps to set the parent of a control
  11458. if you want to actually see it onscreen. In the spirit of that
  11459. discovery, we're now setting the parent of the control and
  11460. it's children when the control's handle is created. This fix
  11461. will make Lutz Roeder's Reflector run happily.
  11462. - now just creating the handle instead of the whole control when
  11463. getting a graphics context for the control.
  11464. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11465. * ScrollableControl.cs: When calculating the canvas, don't consider
  11466. the scrollbar widths. Instead, predict if horizontal scrollbar
  11467. will affect canvas when deciding on vertical display and vice versa.
  11468. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11469. * RichTextBox.cs: Set default RTF font for documents that don't
  11470. have a font table (Fixes #77076)
  11471. 2005-12-22 Jackson Harper <[email protected]>
  11472. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  11473. clipboard. This prevents a NullRef in that case.
  11474. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  11475. clipboard. PRIMARY is for the currently selected text only. (We
  11476. should implement PRIMARY at some point.
  11477. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11478. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  11479. a Unicode function with a structure that was defined in Ansi way.
  11480. This fixes #76942.
  11481. 2005-12-21 Jackson Harper <[email protected]>
  11482. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  11483. on. Because thats how it rolls. (and this avoids it using ambient
  11484. colours).
  11485. * ThemeWin32Classic.cs: Use the proper back color for filling.
  11486. * Menu.cs: Use the system menu bar color for drawing menu
  11487. bars. Using the window back color will bring ambient colours into
  11488. the picture.
  11489. 2005-12-21 Alexander Olk <[email protected]>
  11490. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  11491. Bitmaps were created and not disposed.
  11492. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11493. * Control.cs (CreateControl): Don't do anything if the control is
  11494. already created, otherwise we'd fire the OnCreated event more than
  11495. once
  11496. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11497. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  11498. will always match. Instead return -1. Fixes #76464.
  11499. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11500. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  11501. neither the beginning nor the end of the line (Fixes bug #76479)
  11502. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11503. * Control.cs:
  11504. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  11505. where handle is invalid
  11506. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  11507. instead of slower linear search
  11508. * NativeWindow.cs: Don't remove the window from the hashtable until
  11509. after the driver has destroyed it (since the driver might use
  11510. Control.FromHandle to lookup the control object
  11511. * Hwnd.cs: Added DestroyPending property to track if a window is
  11512. already destroyed as far as the driver is concerned and only hasn't
  11513. yet notified the control
  11514. * XplatUIX11.cs:
  11515. - Activate(): Check if the window is still valid before using the
  11516. handle
  11517. - Implemented DestroyChildWindow() method to mark child windows as
  11518. destroyed when a window is destroyed. This prevents situations
  11519. where we might call an X method based on queued events for a
  11520. window that already has been destroyed but we haven't yet pulled
  11521. the destroy method from the queue.
  11522. - Added a call to the new DestroyChildWindow() method to the drivers
  11523. DestroyWindow code. Also now marking the destroyed window itself
  11524. as pending
  11525. 2005-12-20 Jackson Harper <[email protected]>
  11526. * StatusBar.cs:
  11527. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  11528. anymore. Just do them when needed, also track the rects of panels
  11529. so that we can optimize refreshing more in the future.
  11530. 2005-12-20 Alexander Olk <[email protected]>
  11531. * ColorDialog.cs: Fixed focus drawing in small color controls
  11532. 2005-12-19 Jackson Harper <[email protected]>
  11533. * InternalWindowManager.cs:
  11534. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  11535. moving windows works properly.
  11536. 2005-12-19 Peter Dennis Bartok <[email protected]>
  11537. * Control.cs:
  11538. - Removed call to InitLayout() from SetBoundsCore(); doc says
  11539. it's only called when a control is added to a container
  11540. - Split InitLayout logic, moved to separate UpdateDistances() method
  11541. since we need to perform those calculations more often than just
  11542. when adding the control to a container. (Needed to fix #77022)
  11543. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  11544. - Reduced the OnBindingContextChanged events count, don't send them
  11545. unless the control is created, we still aren't totally matching
  11546. MS, but I can't quite figure out some of their rules
  11547. 2005-12-18 Alexander Olk <[email protected]>
  11548. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  11549. stripes
  11550. 2005-12-18 Alexander Olk <[email protected]>
  11551. * ThemeClearlooks.cs:
  11552. - Updated ProgressBar drawing
  11553. - Corrected drawing of ScrollBars and scroll buttons
  11554. - Some temporary fixes for minor pixel artefacts
  11555. 2005-12-18 Peter Dennis Bartok <[email protected]>
  11556. * Control.cs:
  11557. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  11558. cause events to be sent in the same order as MS does.
  11559. - Added ChangeParent() method to trigger various OnXXXChanged events
  11560. that need to be fired when a parent changes (This is a reworking
  11561. of the patch from r54254, with the X11 errors fixed)
  11562. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  11563. since on MS we get OnLayoutChanged events when calling Clear()
  11564. - Changed Enabled property to consider parent state as well, if a
  11565. parent is not enabled, the control will not be either
  11566. - Changed Parent property to simply call Controls.Add() since that
  11567. now does all the work required, this way we avoid code duplication
  11568. - Threw in a few OnBindingsContextChanged calls to try and match
  11569. when MS sends them. We seem to send a few too many, though.
  11570. - Added call to CreateControl when adding the control to a parent.
  11571. We were never calling CreateControl. Still needs some work, in
  11572. some places we treat HandleCreated and ControlCreated as equal,
  11573. which is wrong
  11574. - Removed obsolete commented out code from UpdateZOrder()
  11575. 2005-12-18 Alexander Olk <[email protected]>
  11576. * ThemeClearlooks.cs: Updated TrackBar drawing.
  11577. 2005-12-17 Alexander Olk <[email protected]>
  11578. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  11579. 2005-12-17 Alexander Olk <[email protected]>
  11580. * FileDialog.cs: Add the Help button and the open readonly
  11581. checkbox only if needed
  11582. 2005-12-16 Jackson Harper <[email protected]>
  11583. * Control.cs: Make sure we have an active menu before trying to
  11584. process commands on it. Prevents menu-less forms from crashing
  11585. when Alt is pressed.
  11586. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  11587. Dieter Bremes.
  11588. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  11589. 2.0 build.
  11590. 2005-12-16 Jackson Harper <[email protected]>
  11591. * InternalWindowManager.cs: Don't translate tool windows screen
  11592. coordinates. This fixes windows 'bouncing' around when being moved.
  11593. 2005-12-15 Peter Dennis Bartok <[email protected]>
  11594. * TextBoxBase.cs:
  11595. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  11596. not quite MS compatible, MS uses that number only for single line
  11597. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  11598. the limit at 2GB)
  11599. - Now enforcing the MaxLength limit when entering characters
  11600. - Added argument to internal Paste() method to track if it's called
  11601. from programatically or via keyboard, since keyboard driven pastes
  11602. need to enforce max-length
  11603. - Added logic to Paste to only paste as many chars as MaxLength
  11604. allows
  11605. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  11606. * TextControl.cs:
  11607. - Added Length property to return number of characters in document
  11608. - Added private CharCount property which only tracks actual chars
  11609. in the document (no linefeeds) and fires event when CharCount
  11610. changes
  11611. - Added tracking of character count to all methods that alter it
  11612. - Added LengthChanged event to allow applications to subscribe
  11613. to any changes to the document
  11614. 2005-12-15 Peter Dennis Bartok <[email protected]>
  11615. * TextBox.cs:
  11616. - Removed local password_char field (moved to TextBoxBase)
  11617. - Now setting the document's password var when password is
  11618. set
  11619. * TextBoxBase.cs:
  11620. - Added password_char field (needed here so MultiLine can
  11621. access it)
  11622. - Added logic to MultiLine property setter to set the document's
  11623. variable when password display is allowed
  11624. - Removed debug code and made some debug code conditional
  11625. * TextControl.cs:
  11626. - Added RecalculatePasswordLine() method to handle special password
  11627. char only lines
  11628. - Added PasswordChar property, also added related tracking vars
  11629. - Draw() method now uses local text var for grabbing text to draw,
  11630. this var is set to line.text unless we're doing password display,
  11631. then it is set to the pre-generated all-password-chars line
  11632. - Added calling RecalculatePasswordLine() method for password lines
  11633. 2005-12-14 Peter Dennis Bartok <[email protected]>
  11634. * Hwnd.cs:
  11635. - Added Reparented property to allow tracking of Window Manager
  11636. reparenting actions (which affect X/Y calculations of toplevel
  11637. windows)
  11638. - Made ToString() print window handles in hex
  11639. * XplatUIX11.cs:
  11640. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  11641. determine if X/Y needs offsetting
  11642. - AddConfigureNotify(): Fixed offset calculations
  11643. - Now adds ReparentNotify messages into the queue
  11644. - Now processes ReparentNotify messages and causes a
  11645. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  11646. is reparented (as most likely it's X/Y coordinates are changed
  11647. due to that)
  11648. 2005-12-14 Jackson Harper <[email protected]>
  11649. * XplatUIX11.cs: Tool windows still need to respek focus.
  11650. 2005-12-14 Peter Dennis Bartok <[email protected]>
  11651. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  11652. have a working release
  11653. 2005-12-13 Jackson Harper <[email protected]>
  11654. * Form.cs: Update styles after setting the border style regardless
  11655. of whether or not the window is using a window manager.
  11656. 2005-12-13 Jackson Harper <[email protected]>
  11657. * Form.cs: We now hook into an internal window manager instead of just an
  11658. MDI subsystem, this is so we can have properly behaving tool windows.
  11659. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  11660. * InternalWindowManager.cs: New internal class that acts as a
  11661. window manager for tool windows and as a base for mdi windows.
  11662. * MdiWindowManager.cs: New class that acts as a window manager for
  11663. mdi windows.
  11664. 2005-12-12 Jackson Harper <[email protected]>
  11665. * Control.cs: Updates so we match behavoir for for implicit
  11666. controls. Fixes explosions in MDI.
  11667. 2005-12-12 Jackson Harper <[email protected]>
  11668. * Control.cs: Implement Invalidate (Region).
  11669. 2005-12-12 Peter Dennis Bartok <[email protected]>
  11670. * Control.cs:
  11671. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  11672. the same events as MS does. MS fires events for each property
  11673. except, for unknown reasons, Cursor, when the control is reparented.
  11674. I can't seem to totally match add/remove since MS also fires some
  11675. VisibleChanged events, which makes no sense. Consolidated the
  11676. parenting code into a separate method so it can be called from
  11677. both Add and Remove. set_Parent no longer needs any special logic
  11678. as it calls the parent's add method which implicitly fires
  11679. all events
  11680. - Removed some obsolete code and debug output
  11681. - Enabled state is inherited from parents, if this is enabled
  11682. 2005-12-08 Peter Dennis Bartok <[email protected]>
  11683. * Form.cs: Removed commented out code
  11684. 2005-12-08 Peter Dennis Bartok <[email protected]>
  11685. * Control.cs:
  11686. - Added internal version of Invoke, with additional argument
  11687. indicating if we're calling it from a Dispose() handler. That
  11688. way we can avoid BeginInvoke throwing an exception if we're
  11689. calling for an already destroyed window.
  11690. - Added a dispose argument to BeginInvokeInternal, and made the
  11691. check if a valid window handle chain exists conditional on
  11692. it not being a dispose call
  11693. - Removed code in DestroyHandle to destroy our children. Since we
  11694. now handle the WM_DESTROY message we will catch all our children
  11695. being destroyed.
  11696. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  11697. * Form.cs:
  11698. - Added a field to track the application context of the form.
  11699. - No need to set closing variable as response to WM_CLOSE, instead
  11700. we destroy the window. We also call PostQuitMessage if the form
  11701. has an application context (which makes it the main app form,
  11702. which, when closed terminates the app)
  11703. * XplatUI.cs:
  11704. - Dropped Exit() method, it's naming was confusing
  11705. - Added PostQuitMessage() which causes GetMessage to return false
  11706. once the message queue is empty
  11707. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  11708. PostQuitMessage()
  11709. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  11710. no longer a valid XplatUI method, but left it in since it's used
  11711. internally. Added empty PostQuitMessage() method.
  11712. * MenuAPI.cs: Replaced call to Exit() with call to
  11713. PostQuitMessage, even though this is probably no longer needed.
  11714. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  11715. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  11716. * Application.cs:
  11717. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  11718. - Removed old debug code that would call XplatUI for exception
  11719. display, enabled standard exception handling (Still not enabled
  11720. though, until NativeWindow's ExternalExceptionHandler define
  11721. is removed
  11722. * NativeWindow.cs:
  11723. - Added internal method to allow control to update NativeWindow
  11724. after a window has been destroyed
  11725. - Added handling of already destroyed windows when calling i
  11726. DestroyWindow
  11727. - Added removal of handle from list on ReleaseHandle
  11728. * XplatUIX11.cs:
  11729. - Dropped GetMessageResult var and related code
  11730. - Added PostQuitState to field to track if PostQuitMessage has been
  11731. called
  11732. - Dropped Exit() method
  11733. - Added PostQuitMessage() method
  11734. - GetMessage now will return false if PostQuitState is set and no
  11735. more messages are in the queue.
  11736. - Expose handler will no longer generate WM_PAINT messages if we are
  11737. in PostQuitState since it's very likely any windows have already
  11738. been destroyed, and since Hwnd won't get updated until we have
  11739. processed the DestroyNotify we'd be causing X errors.
  11740. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11741. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  11742. Thanks to Mike for pointing out the err of my ways.
  11743. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11744. * Control.cs(PreProcessMessage): Moved menu handling back, but
  11745. after all other key handling, to match MS (who handles Menu in
  11746. DefWndProc)
  11747. * Menu.cs (WndProc): Removed my brainfart
  11748. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11749. * Control.cs(PreProcessMessage): Removed special menu handling
  11750. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  11751. 2005-12-07 Mike Kestner <[email protected]>
  11752. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  11753. state according in tracker.
  11754. * Menu.cs : promote tracker field to base class and provide a tracker
  11755. lookup capability. Add/Remove shortcuts dynamically if the top menu
  11756. has a tracker. Unparent items that are removed from the collection.
  11757. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  11758. * Theme*.cs: add always_show_hotkeys field to support configurability
  11759. of mnemonic display. win32 doesn't show mnemonics until Alt is
  11760. pressed.
  11761. 2005-12-07 Jackson Harper <[email protected]>
  11762. * MdiChildContext.cs: Use Control.ResetCursor.
  11763. * Control.cs: ResetCursor needs to set the property so that the
  11764. correct XplatUI call gets made.
  11765. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11766. * Control.cs: More fixes to make our key events match MS. We
  11767. were not setting the modifier state on KeyData, and we were
  11768. not generating any events when Alt was pressed with a key
  11769. since handling of WM_SYSxxx was missing for the OnKey methods.
  11770. 2005-12-07 Jackson Harper <[email protected]>
  11771. * MdiChildContext.cs: reenable the sizing code.
  11772. - When the mouse leaves a window reset its cursor.
  11773. 2005-12-07 Alexander Olk <[email protected]>
  11774. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  11775. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11776. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  11777. widths of Fixed3D borders
  11778. 2005-12-07 Jackson Harper <[email protected]>
  11779. * MdiClient.cs: Fix warnings. Earn Mike's love.
  11780. 2005-12-07 Alexander Olk <[email protected]>
  11781. * ThemeClearlooks.cs:
  11782. - Adjusted mouse over button color
  11783. - Added first parts of CheckBox drawing
  11784. - Added correct color for selected text background
  11785. - Fixed ComboBox drawing
  11786. - Added CPDrawBorder3D and CPDrawBorder
  11787. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11788. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  11789. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11790. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11791. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  11792. alert users via sound. We could add an enum arg with different
  11793. types of alerts in the future
  11794. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11795. * Control.cs: Fix behaviour problems pointed out by Mike
  11796. 2005-12-05 Mike Kestner <[email protected]>
  11797. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  11798. prop setters. Calls parent.Refresh for now, but could be maybe be
  11799. optimized with an internal method on StatusBar at some point.
  11800. [Fixes #76513]
  11801. 2005-12-05 Peter Dennis Bartok <[email protected]>
  11802. * RichTextBox.cs: Implemented get_SelectionColor
  11803. 2005-12-05 Alexander Olk <[email protected]>
  11804. * ThemeClearlooks.cs:
  11805. - Removed dead code
  11806. - Draw black button border only if button is Form.AcceptButton
  11807. - Draw correct button color for pressed RadioButton if the mouse
  11808. has entered the button
  11809. - Updated ProgressBar drawing!
  11810. - Updated CPDrawSizeGrip drawing
  11811. - Updated StatusBarPanel drawing
  11812. 2005-12-05 Mike Kestner <[email protected]>
  11813. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  11814. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  11815. 2005-12-04 Alexander Olk <[email protected]>
  11816. * ThemeClearlooks.cs: Initial check-in, activate with
  11817. export MONO_THEME=clearlooks
  11818. * ThemeEngine.cs: Added ThemeClearlooks
  11819. 2005-12-03 Mike Kestner <[email protected]>
  11820. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  11821. [Fixes #76897]
  11822. 2005-12-02 Jackson Harper <[email protected]>
  11823. * Form.cs: If the child form has no menu the default main menu is
  11824. used as the active menu.
  11825. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11826. * ListBox.cs: Check if any items exist before trying to resolve
  11827. coordinates into items
  11828. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11829. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  11830. as the second color for the background hatch
  11831. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11832. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  11833. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  11834. sure that what we pass to FormatText is always 1-based. Fixes #76885
  11835. 2005-11-29 Miguel de Icaza <[email protected]>
  11836. * NumericUpDown.cs (EndInit): When we are done initializing,
  11837. reflect any updates on the UI.
  11838. 2005-12-02 Jackson Harper <[email protected]>
  11839. * ImplicitHScrollBar.cs:
  11840. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  11841. their container controls.
  11842. * TreeView.cs: Use the new implicit scrollbars.
  11843. 2005-12-02 Jackson Harper <[email protected]>
  11844. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  11845. can play with it.
  11846. * TreeNodeCollection.cs: If we remove the topnode we need to
  11847. update topnode to the next node in line.
  11848. - When clearing nodes go through the same process as removing
  11849. them, so they get depareneted and checked if they are top node.
  11850. 2005-12-01 Jackson Harper <[email protected]>
  11851. * TreeView.cs: When imagelists are used the image area is
  11852. selectable as well as the text.
  11853. - If there are no selected nodes select the first one.
  11854. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  11855. so don't do it more then we need to.
  11856. 2005-12-01 Jackson Harper <[email protected]>
  11857. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  11858. that arrows can be scaled.
  11859. 2005-12-01 Jackson Harper <[email protected]>
  11860. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  11861. fail. Patch by Dieter Bremes
  11862. 2005-11-30 Jackson Harper <[email protected]>
  11863. * Form.cs: Property is 2.0 only
  11864. * PrintDialog.cs: Signature fix.
  11865. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11866. * TextControl.cs:
  11867. - No longer artificially moves text 2 pixels down (now that we have
  11868. borders this is no longer needed)
  11869. - Added calcs for left, hanging and right indent
  11870. 2005-11-23 Mike Kestner <[email protected]>
  11871. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  11872. 2005-11-30 Jackson Harper <[email protected]>
  11873. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  11874. get cloned as part of CloneMenu ().
  11875. * Menu.cs: Make sure the parent of the items get set correctly
  11876. when they are added. And the owners are notified of the changes.
  11877. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  11878. we can change the menu being displayed/handled by the form without
  11879. changing the menu assosciated with the form.
  11880. - Don't let Mdi children draw/handle menus.
  11881. 2005-11-30 Jackson Harper <[email protected]>
  11882. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  11883. a MenuChanged event. Just to make the API a little more
  11884. consistent.
  11885. * MainMenu.cs:
  11886. * MenuItem.cs: Use the new OnMenuChanged
  11887. * MdiChildContext.cs: Handle menu merging.
  11888. * Form.cs: Implement MergedMenu.
  11889. 2005-11-30 Jackson Harper <[email protected]>
  11890. * Menu.cs: We were misusing Add. Add goes behind the specified
  11891. index according to the docs, and does not replace the specified
  11892. index. So I added an Insert method.
  11893. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11894. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  11895. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  11896. is for Jackson
  11897. * RichTextBox.cs: Added calls to base for DnD events
  11898. 2005-11-28 Peter Dennis Bartok <[email protected]>
  11899. * TextControl.cs:
  11900. - Fixed drag-selection related crash; style fixes
  11901. - Implemented undo class
  11902. o Implemented method to capture document state for specified
  11903. range in document tree
  11904. o Implemented method to restore captured document state
  11905. o Implemented cursor tracking
  11906. o Implemented basic undo stack
  11907. - Added undo cursor tracking to methods altering cursor location
  11908. - Added undo tracking to selection deletion (still missing
  11909. other text-altering hookups)
  11910. * RichTextBox.cs:
  11911. - Added SelectionLength property
  11912. - Implemented CanPaste()
  11913. - Implemented Paste()
  11914. - Added missing protected methods
  11915. - Fixed RTF->Document conversion; now uses font index 0 and color
  11916. index 0 as the default font for the parsed text
  11917. - Fixed RTF<->Document font size translation
  11918. - Fixed RTF generation, now properly handles cross-tag boundaries
  11919. for single line selection
  11920. - No longer always appends blank line to generated RTF
  11921. - Removed TODOs
  11922. - Added missing attributes
  11923. - Hooked up undo-related methods
  11924. * TextBoxBase.cs:
  11925. - Implemented Copy()
  11926. - Implemented Paste()
  11927. - Implemented Cut()
  11928. - Fixed caret mis-behaviour on backspace across line-boundaries
  11929. 2005-11-29 Jackson Harper <[email protected]>
  11930. * MdiClient.cs: Add a method for activating mdi children. Very
  11931. basic right now. I imagine someday it might need more girth.
  11932. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  11933. children windows names are added to the menu item.
  11934. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  11935. mdilist. This happens regardless of whether or not there are any
  11936. mdi windows to see in the list, and according to my tests happens
  11937. before the items are even added. Also happens if there isn't even
  11938. an mdi client to get windows from.
  11939. 2005-11-29 Alexander Olk <[email protected]>
  11940. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  11941. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  11942. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  11943. * DataGridTableStyle.cs:
  11944. - Create always the styles for the missing columns even if they are
  11945. provided by the user (not default table style)
  11946. * DataGrid.cs:
  11947. - Fixes bug 76770
  11948. - Fixes SetDataBinding (always re-attach source)
  11949. - Fixes SetNewDataSource (only clear styles if they are not for
  11950. this source)
  11951. - Expands OnTableStylesCollectionChanged to handle style refresh
  11952. and remove properly
  11953. 2005-11-29 Jackson Harper <[email protected]>
  11954. * FileDialog.cs: Implement missing bits, remove some dead
  11955. code.
  11956. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  11957. creation of the panel so that the options set on the dialog are
  11958. seen when the panel is created.
  11959. * TreeView.cs: raise a click when items are clicked.
  11960. 2005-11-29 Jackson Harper <[email protected]>
  11961. * MdiClient.cs: Pass some signature methods through to base.
  11962. 2005-11-28 Jackson Harper <[email protected]>
  11963. * ListView.cs: Raise the click event when items are clicked.
  11964. 2005-11-28 Jackson Harper <[email protected]>
  11965. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  11966. a nullref.
  11967. 2005-11-27 Alexander Olk <[email protected]>
  11968. * ThemeNice.cs: - Removed 1 pixel bitmaps
  11969. - Use SmoothingMode.AntiAlias where it makes sense
  11970. (ScrollButton arrow for example)
  11971. - Enhanced Button focus drawing
  11972. - Fixed ComboBox drawing (no artefacts anymore, focus
  11973. rectangle is back again, reduced size of ComboButton, etc.)
  11974. - Fixed RadioButton focus drawing for Appearence.Button
  11975. - Slight ScrollButton redesign
  11976. - Some LinearGradientBrush size fixes
  11977. - GroupBoxes have now rounded edges
  11978. - Fixed StatusBar drawing
  11979. 2005-11-25 Alexander Olk <[email protected]>
  11980. * ThemeNice.cs: - Remove dead code
  11981. - use correct background colors for menus, etc.
  11982. - Fake pixel drawing with 1 pixel bitmaps
  11983. 2005-11-24 Jackson Harper <[email protected]>
  11984. * MdiClient.cs: Size the scrollbars when resizing the window.
  11985. - Resize the maximized windows when the client is resized
  11986. * Form.cs: Make the child context available
  11987. 2005-11-23 Jackson Harper <[email protected]>
  11988. * MdiChildContext.cs: Don't size windows if they are maximized.
  11989. 2005-11-23 Mike Kestner <[email protected]>
  11990. * ContextMenu.cs: use MenuTracker.
  11991. * Control.cs: remove menu handle usage.
  11992. * Form.cs: remove menu handle usage.
  11993. * Hwnd.cs: remove menu handle usage.
  11994. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  11995. motion and clicks to the new Tracker handlers.
  11996. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  11997. and handle usage.
  11998. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  11999. Killed the MENU and MENUITEM data types and associated collections
  12000. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  12001. MenuTracker class that exposes the leftovers from the old MenuAPI
  12002. static methods. Restructured Capture handling so that only one grab is
  12003. done for the entire menu hierarchy instead of handing off grabs to
  12004. submenus. Tracker now has an invisible control to Capture when active.
  12005. * MenuItem.cs: add sizing accessors, kill Create
  12006. and handle usage.
  12007. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  12008. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  12009. MENU(ITEM). remove menu handle usage, use Menu directly.
  12010. * XplatUIDriver.cs: remove menu handle usage.
  12011. * XplatUIOSX.cs: remove menu handle usage.
  12012. * XplatUIWin32.cs: remove menu handle usage.
  12013. * XplatUIX11.cs: remove menu handle usage.
  12014. 2005-11-22 Jackson Harper <[email protected]>
  12015. * Hwnd.cs: Don't compute the menu size for
  12016. DefaultClientRectangle.
  12017. - Reenable menu sizes being computed for GetClienRectangle.
  12018. * Form.cs: Remove comment of trechery
  12019. 2005-11-22 Jackson Harper <[email protected]>
  12020. * Hwnd.cs: The adjustments for the menu bar are made when it is
  12021. attached to the form.
  12022. 2005-11-19 Jackson Harper <[email protected]>
  12023. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  12024. (just like on windows).
  12025. 2005-11-19 Jackson Harper <[email protected]>
  12026. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  12027. use real buttons anymore because they are in non client area. The
  12028. one TODO here is that I need to somehow invalidate a section of
  12029. the non client area.
  12030. 2005-11-18 Jackson Harper <[email protected]>
  12031. * Control.cs: Put the enum check back in now that MDI doesnt have
  12032. to use this to set border styles.
  12033. * Form.cs: Only set mdi child windows borders if the handle has
  12034. been created.
  12035. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  12036. this directly on to the driver.
  12037. - Get the move start position before adjusting for the titlebar
  12038. height, this fixes the windows "skipping" when they are first
  12039. moved.
  12040. 2005-11-18 Jackson Harper <[email protected]>
  12041. * XplatUIX11.cs: Just compute the mdi borders separately as they
  12042. don't totally match up with normal form borders.
  12043. 2005-11-18 Jackson Harper <[email protected]>
  12044. * Control.cs: Set WS_ styles for borders, so that the driver does
  12045. not have to retrieve the control instance to figure out what kind
  12046. of borders it should have.
  12047. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  12048. driver can know its an mdi child easily.
  12049. * XplatUIX11.cs: Get the border styles and whether the window is
  12050. MDI from the Styles and ExStyles params instead of having to get a
  12051. control. This prevents a chicken and egg problem.
  12052. 2005-11-18 Jackson Harper <[email protected]>
  12053. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  12054. 2005-11-18 Jackson Harper <[email protected]>
  12055. * MdiClient.cs: Calculate when to add and remove scrollbars
  12056. correctly.
  12057. * MdiChildContext.cs: Adjust the y position to take the titlebar
  12058. into account.
  12059. - No height for FormBorderStyle.None
  12060. 2005-11-18 Jackson Harper <[email protected]>
  12061. * Control.cs: Allow non enum values to be used for
  12062. InternalBorderStyle. MDI does this to set a special border style.
  12063. - New utility methods for converting points to/from client coords
  12064. - Add the newly created control to the Controls collection before
  12065. updating its style. This way UpdateStyle can walk the control
  12066. heirarchy to find the control if needed.
  12067. so I don't need to create a new Point object all the time.
  12068. * Form.cs: Let MDI windows handle their border styles.
  12069. - Set styles on MDI windows so the correct title style is derived.
  12070. * MdiChildContext.cs: Move all the painting and window handling
  12071. into the non client area.
  12072. - Use correct sizing and put correct buttons on frames based on
  12073. the FormBorderStyle.
  12074. - Notify the mdi client about scrolling
  12075. - Need to handle the buttons ourselves now, because they are all
  12076. in non client areas and we can't add controls there.
  12077. * MdiClient.cs: Halfway to scrolling, this implementation is
  12078. somewhat broken though, we need to check to make sure other
  12079. windows aren't causing scrolling before removing the bars. Also
  12080. the bars need to be drawn on top, maybe I can switch implicit
  12081. controls to be on top.
  12082. * Hwnd.cs: caption_height and tool_caption_height are now
  12083. properties of an hwnd, this way they can be set by the driver
  12084. based on the type of window they are. In X11 the window manager
  12085. handles the decorations so caption_height is zero unless its an
  12086. MDI window.
  12087. - Add 3 pixel borders for MDI windows (0xFFFF).
  12088. - Get rid of some code duplication, have DefaultClientRectanle
  12089. just call GetClientRectangle.
  12090. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  12091. Hwnd now.
  12092. - Set border styles differently for mdi windows.
  12093. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  12094. Hwnd now.
  12095. 2005-11-15 Mike Kestner <[email protected]>
  12096. * Menu.cs: when adding an item to the collection, if item is already
  12097. parented, remove it from the parent.
  12098. 2005-11-13 Alexander Olk <[email protected]>
  12099. * X11DesktopColors.cs: Added KDE support
  12100. 2005-11-11 Peter Dennis Bartok <[email protected]>
  12101. * XplatUIWin32.cs:
  12102. - Clipboard methods now can translate Rtf format
  12103. - No longer removes clipboard contents whenever a new format is added
  12104. to allow placing multiple formats on the clipboard
  12105. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  12106. will place all formats contained in it onto the clipboard. Also
  12107. now cleans the clipboard before placing a new object onto it
  12108. * RichTextBox.cs:
  12109. - Implemented set_Rtf
  12110. - Implemented set_SelectedRtf
  12111. - Created InsertRTFFromStream() method to allow single code base
  12112. for all properties and methods that insert RTF into document
  12113. - Removed debug output
  12114. * TextControl.cs:
  12115. - Fixed Delete(int) to fix up line numbers
  12116. - Fixed ReplaceSelection to combine start and end line
  12117. - Fixed serious DeleteChars bug that would leave the document tree
  12118. broken
  12119. - Improved DumpTree with several logic checks to detect broken
  12120. document trees
  12121. - Removed debug lines
  12122. - Fixed Caret.WordForward/WordBack moving code, now always also
  12123. updates caret.tag (fixes crash when word-selecting across tag
  12124. boundaries via keyboard)
  12125. - Added Insert() method for inserting multiline text into documents
  12126. - Fixed DeleteChars() calculation errors that would cause a broken
  12127. tag chain with multiple tag lines
  12128. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  12129. - Split() no longer moves caret if split is at caret location
  12130. - ReplaceSelection() now updates the cursor and re-displays it
  12131. - ReplaceSelection() now uses new Insert() method to avoid code
  12132. duplication
  12133. - FormatText() can now handle formatting partial lines
  12134. * TextBoxBase.cs:
  12135. - Append now uses new TextControl.Insert() method (this avoids
  12136. duplicate code)
  12137. - Implemented Ctrl-X (Cut) (
  12138. - Implemented Ctrl-C (Copy)
  12139. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  12140. regeneration when pasting text; roundtripping Copy&Paste within
  12141. edit control still fails due to some calculation bugs in GenerateRTF)
  12142. - The Delete key will now remove the current selection if it is visible
  12143. * TextBox.cs: Removed debug lines
  12144. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  12145. driver to be initialized and can't therefore be done via a static ctor)
  12146. 2005-11-10 Peter Dennis Bartok <[email protected]>
  12147. * TextControl.cs: Added backend code for finding char arrays and strings
  12148. * TextBoxBase.cs:
  12149. - Added mouse wheel scroll support
  12150. - Added support for VScroll and HScroll events
  12151. * RichTextBox.cs:
  12152. - Implemented all seven Find() variants
  12153. - Implemented GetCharFromPosition()
  12154. - Implemented GetCharIndexFromPosition()
  12155. - Implemented GetLineFromIndex()
  12156. - Implemented GetPositionFromCharIndex();
  12157. - Implemented SaveFile for PlainText and UnicodeText
  12158. - Fixed set_Font, now setting a new font applies that font to
  12159. the whole document
  12160. - Implemented generic Document to RTF converter
  12161. - Implemented SaveFile for RichText format (still missing unicode
  12162. conversion for non-ansi chars)
  12163. - Implemented get_Rtf
  12164. - Implemented get_SelectedRtf
  12165. 2005-11-09 Peter Dennis Bartok <[email protected]>
  12166. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  12167. to allow any captures to be released before triggering OnClick. This
  12168. way a click handler may capture the mouse without interference.
  12169. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  12170. This way we send them even though X may not allow a grab (if the window
  12171. isn't visible, for example)
  12172. 2005-11-08 Pedro Martinez Julia <[email protected]>
  12173. * DataGridViewRowEventArgs.cs: DataGridView implementation
  12174. * DataGridViewElement.cs: DataGridView implementation
  12175. * DataGridViewComboBoxCell.cs: DataGridView implementation
  12176. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  12177. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  12178. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  12179. * ImageLayout.cs: DataGridView implementation
  12180. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  12181. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  12182. * DataGridViewSelectionMode.cs: DataGridView implementation
  12183. * IDataGridViewEditingControl.cs: DataGridView implementation
  12184. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  12185. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  12186. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  12187. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  12188. * DataGridViewColumnSortMode.cs: DataGridView implementation
  12189. * DataGridView.cs: DataGridView implementation
  12190. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  12191. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  12192. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  12193. * Padding.cs: DataGridView implementation
  12194. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  12195. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  12196. * DataGridViewRowEventHandler.cs: DataGridView implementation
  12197. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  12198. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  12199. * DataGridViewButtonCell.cs: DataGridView implementation
  12200. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  12201. * DataGridViewEditMode.cs: DataGridView implementation
  12202. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  12203. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  12204. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  12205. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  12206. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  12207. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  12208. * DataGridViewCellEventHandler.cs: DataGridView implementation
  12209. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  12210. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  12211. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  12212. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  12213. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  12214. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  12215. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12216. * QuestionEventArgs.cs: DataGridView implementation
  12217. * IDataGridViewEditingCell.cs: DataGridView implementation
  12218. * DataGridViewTriState.cs: DataGridView implementation
  12219. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  12220. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  12221. * DataGridViewColumnCollection.cs: DataGridView implementation
  12222. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  12223. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  12224. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  12225. * DataGridViewColumn.cs: DataGridView implementation
  12226. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  12227. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12228. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  12229. * DataGridViewRow.cs: DataGridView implementation
  12230. * DataGridViewImageCellLayout.cs: DataGridView implementation
  12231. * DataGridViewImageCell.cs: DataGridView implementation
  12232. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  12233. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  12234. * DataGridViewHeaderCell.cs: DataGridView implementation
  12235. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  12236. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  12237. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  12238. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  12239. * QuestionEventHandler.cs: DataGridView implementation
  12240. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  12241. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  12242. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12243. * DataGridViewCell.cs: DataGridView implementation
  12244. * DataGridViewCellEventArgs.cs: DataGridView implementation
  12245. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  12246. * DataGridViewCellStyle.cs: DataGridView implementation
  12247. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  12248. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  12249. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  12250. * TextFormatFlags.cs: DataGridView implementation
  12251. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  12252. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  12253. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  12254. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  12255. * DataGridViewButtonColumn.cs: DataGridView implementation
  12256. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  12257. * HandledMouseEventArgs.cs: DataGridView implementation
  12258. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  12259. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  12260. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  12261. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  12262. * DataGridViewRowCollection.cs: DataGridView implementation
  12263. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  12264. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  12265. * DataGridViewHitTestType.cs: DataGridView implementation
  12266. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  12267. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  12268. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  12269. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  12270. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  12271. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  12272. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  12273. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  12274. * DataGridViewContentAlignment.cs: DataGridView implementation
  12275. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  12276. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  12277. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  12278. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  12279. * DataGridViewPaintParts.cs: DataGridView implementation
  12280. * DataGridViewCellCollection.cs: DataGridView implementation
  12281. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  12282. * DataGridViewImageColumn.cs: DataGridView implementation
  12283. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  12284. * DataGridViewElementStates.cs: DataGridView implementation
  12285. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  12286. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  12287. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  12288. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  12289. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  12290. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  12291. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  12292. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  12293. * DataGridViewTextBoxCell.cs: DataGridView implementation
  12294. * DataGridViewBand.cs: DataGridView implementation
  12295. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  12296. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  12297. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  12298. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  12299. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  12300. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  12301. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  12302. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  12303. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12304. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  12305. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  12306. 2005-11-08 Peter Dennis Bartok <[email protected]>
  12307. * ThemeWin32Classic.cs:
  12308. - Draw the outside focus rectangle around buttons
  12309. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  12310. doesn't use end caps for every dash of a line anymore. This
  12311. workaround ignores the forecolor.
  12312. 2005-11-08 Kornél Pál <[email protected]>
  12313. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  12314. endian safe.
  12315. 2005-11-07 Jackson Harper <[email protected]>
  12316. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  12317. 2005-11-07 Jackson Harper <[email protected]>
  12318. * ScrollableControl.cs: Calculate the maximum and change vars
  12319. (more) correctly so that scrollbars appear as a sensible size.
  12320. 2005-11-04 Jackson Harper <[email protected]>
  12321. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  12322. collection.
  12323. * TreeView.cs: When the tree is sorted null out the top_node so
  12324. that it is recalculated.
  12325. - Use dotted lines instead of dashed lines to match MS better.
  12326. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  12327. * ListView.cs:
  12328. - Implements key search for items. Useful when browsing files with FileDialog
  12329. - When changing view mode or when clear the items reset scrollbar positions
  12330. 2005-11-04 Jackson Harper <[email protected]>
  12331. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  12332. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  12333. as to what the method may do as there is no real way of creating a
  12334. derived CurrencyManager and calling the method.
  12335. 2005-11-03 Jackson Harper <[email protected]>
  12336. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  12337. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  12338. method which seems to just be used internally to refresh the tabs.
  12339. 2005-11-03 Jackson Harper <[email protected]>
  12340. * TabControl.cs: Implement the remove method. Fix some broken
  12341. comments.
  12342. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12343. * DateTimePicker.cs:
  12344. - Added missing DateTimePickerAccessibleObject class
  12345. - Added missing events
  12346. - Added OnFontChanged method
  12347. * Form.cs: Added missing attributes
  12348. * TreeView.cs: Added missing attributes
  12349. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12350. * GridItemCollection.cs: Fix signatures
  12351. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12352. * XplatUI.cs: Updated build rev/date
  12353. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  12354. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  12355. * Application.cs: Trigger context-specific ExitThread events
  12356. 2005-11-03 Jackson Harper <[email protected]>
  12357. * Menu.cs:
  12358. * MainMenu.cs:
  12359. * GridTableStylesCollection.cs:
  12360. * Timer.cs:
  12361. * TabPage.cs:
  12362. * HelpProvider.cs:
  12363. * StatusBar.cs:
  12364. * MonthCalendar.cs: Signature fixes
  12365. 2005-11-03 Jackson Harper <[email protected]>
  12366. * TreeNodeCollection.cs: Remove should not be virtual.
  12367. * TreeView.cs: Implement the last of the missing methods.
  12368. 2005-11-03 Jackson Harper <[email protected]>
  12369. * TreeNodeConverter.cs: Implement to get off my class-status back.
  12370. 2005-11-03 Jackson Harper <[email protected]>
  12371. * TreeView.cs: Hookup the bits for drag and drop.
  12372. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  12373. that nodes can be moved from tree to tree easily this just causes
  12374. all sorts of problems.
  12375. * TreeNodeCollection: Don't need to give treenodes an index and
  12376. treeview anymore when they are added, these are computed on the
  12377. fly. Also make sure to remove a node before its added.
  12378. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12379. * TextControl.cs:
  12380. - Added CaretSelection enum
  12381. - Added comparison methods to Marker struct, makes selection code
  12382. more readable
  12383. - Added SelectionStart and SelectionEnd as 'moveable' location for
  12384. the CaretDirection enum and handler
  12385. - Added selection_prev variable to track optimized invalidation for
  12386. word and line selection
  12387. - Added SelectionVisible property (returns true if there is a valid
  12388. selection)
  12389. - Switched CaretHasFocus to only display the caret if there is no
  12390. visible selection
  12391. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  12392. using the direct character index; should be much faster
  12393. - Added various conditional debug statements
  12394. - Fixed invalidation calculation for selection ranges
  12395. - Added ExpandSelection() method to support word and line selection
  12396. - Switched SetSelectionToCaret to use new Marker compare overloads
  12397. - Added central IsWordSeparator() method to determine word
  12398. separators/whitespace and FindWordSeparator() to streamline common
  12399. usage of IsWordSeparator()
  12400. * TextBoxBase.cs:
  12401. - Removed unneeded grabbed variable, it was just mirroring
  12402. Control.Capture
  12403. - No longer firing OnTextChanged event when Text setter is called,
  12404. since the base will fire the event for us
  12405. - Added handling of Ctrl-Up/Down selection
  12406. - Added handling of Shift-Cursorkey selection
  12407. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  12408. words
  12409. - Added handling of Shift and Ctrl-Shift-Home/End selection
  12410. - Removed some debug output
  12411. - Added handling for single/double/tripple-click to place caret/
  12412. select word/select line respectively (Fixes bug #76031)
  12413. - Added support for drag expansion of word/line selection
  12414. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  12415. current selection
  12416. 2005-11-02 Jackson Harper <[email protected]>
  12417. * X11Dnd.cs: If the drag is going to and from a MWF window just
  12418. copy the data instead of sending it out through the X Selection
  12419. mechanism.
  12420. 2005-11-02 Jackson Harper <[email protected]>
  12421. * X11Dnd.cs:
  12422. * XplatUIX11.cs: When in a drag we don't want motion notify
  12423. messages to get passed on to the other controls. This prevents
  12424. mouse move messages from showing up in the drag source.
  12425. 2005-11-02 Jackson Harper <[email protected]>
  12426. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  12427. the correct button is release to end a drag.
  12428. * XplatUIX11.cs: Make the button state internal so the drag system
  12429. can access it. Dragging needs to know about all button releases,
  12430. not just left button.
  12431. 2005-11-02 Miguel de Icaza <[email protected]>
  12432. * Form.cs (Icon): If the icon is null, reset the icon to the
  12433. default value.
  12434. * Cursor.cs: When writing the AND-mask bitmap do not include the
  12435. number of colors, but hardcode those to two (black and white),
  12436. fixes the loading of color cursors (Paint Dot Net).
  12437. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  12438. turn off autoscaling.
  12439. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  12440. 2005-11-02 Jackson Harper <[email protected]>
  12441. * X11Dnd.cs: Make sure to send a status message if the pointer
  12442. enters a control that can not accept a drop, otherwise the cursor
  12443. isn't updated correctly. Also tried to compress the lines of code
  12444. a bit.
  12445. 2005-11-02 Jackson Harper <[email protected]>
  12446. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  12447. set actions correctly. This isn't perfect as XDND and win32 have
  12448. some differences on how you allow actions. I'll clear this up by
  12449. adding a path for drag from MWF to MWF windows.
  12450. * XplatUIX11.cs: Hook into the dnd system.
  12451. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  12452. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  12453. previously shown but they are no longer need it. Very obvious when
  12454. browsing files with FileDialog.
  12455. 2005-11-01 Peter Dennis Bartok <[email protected]>
  12456. * Control.cs: We always need to call OnPaintBackground. We pretty much
  12457. ignore AllPaintingInWmPaint and always do the painting there, whether
  12458. it's set or not, since we always ignore the WM_ERASEBKGND message
  12459. (which we don't generate on X11). This fixes #76616.
  12460. * Panel.cs: Removed unneeded background painting. This happens properly
  12461. in Control.cs already
  12462. 2005-10-31 Mike Kestner <[email protected]>
  12463. * Menu.cs: Add items to collection before setting their index.
  12464. * MenuItem.cs : add range checking with ArgumentException like MS.
  12465. [Fixes #76510]
  12466. 2005-10-31 Jackson Harper <[email protected]>
  12467. * ListBox.cs: Invalidate if the area is visible at all not just
  12468. contained in the visible rect. Fixes unselection of semi visible
  12469. items.
  12470. 2005-10-31 Jackson Harper <[email protected]>
  12471. * Control.cs: Consistently name the dnd methods. Make them
  12472. internal so we can override them to match some MS behavoir
  12473. internally.
  12474. * Win32DnD.cs: Use the new consistent names.
  12475. 2005-10-31 Jackson Harper <[email protected]>
  12476. * TreeView.cs: Don't draw the selected node when we lose focus.
  12477. 2005-10-31 Jackson Harper <[email protected]>
  12478. * X11Dnd.cs: We still need to reset the state even though a full
  12479. reset isn't being done, otherwise status's still get sent all over
  12480. the place.
  12481. 2005-10-31 Jackson Harper <[email protected]>
  12482. * Control.cs: Make the dnd_aware flag internal so the dnd
  12483. subsystem can check it. Catch exceptions thrown in dnd handlers to
  12484. match MS behavoir.
  12485. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  12486. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  12487. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  12488. flags to reduce the number of dnd enters/status's sent.
  12489. 2005-10-31 Jackson Harper <[email protected]>
  12490. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  12491. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  12492. * PictureBox.cs: Fixes 76512
  12493. 2005-10-28 Jackson Harper <[email protected]>
  12494. * X11Dnd.cs: Early implementation to support winforms being a drag
  12495. source for data on X11. Also restructured the converters so they
  12496. can go both ways now.
  12497. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  12498. 2005-10-27 Peter Dennis Bartok <[email protected]>
  12499. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  12500. clipboard requests
  12501. 2005-10-27 Jackson Harper <[email protected]>
  12502. * TreeNode.cs: Implement serialization so my DnD examples will work.
  12503. 2005-10-24 Kornél Pál <[email protected]>
  12504. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  12505. TreeView.cs: Don't dispose objects that are not owned.
  12506. 2005-10-24 Peter Dennis Bartok <[email protected]>
  12507. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  12508. should retrieve the current cursor and report that, but XplatUI
  12509. doesn't (yet) have an interface for that (and I'm not sure I even
  12510. can, on X11)
  12511. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  12512. until any message loop processing is done (and the WM_SETCURSOR
  12513. replaces the cursor to the proper one)
  12514. * XplatUIX11.cs:
  12515. - Fixed override behaviour, we can't set the cursor globally on X11,
  12516. just for our windows.
  12517. - Invalidating the System.Drawing X11 display handle when we are
  12518. shutting down
  12519. * Control.cs: Fix to make csc happy
  12520. 2005-10-23 Peter Dennis Bartok <[email protected]>
  12521. * TextBoxBase.cs:
  12522. - get_Text: Add last line (without trailing newline) to returned
  12523. value (Fixes 76212)
  12524. - get_TextLength: Count last line in returned length
  12525. - ToString: Call Text property instead of duplicating code
  12526. 2005-10-23 Kornél Pál <[email protected]>
  12527. * ImageList.cs: Dispose ImageAttributes objects.
  12528. 2005-10-22 Kornél Pál <[email protected]>
  12529. * ImageList.cs: Use attribute constructors with less arguments where
  12530. possible.
  12531. 2005-10-22 Kornél Pál <[email protected]>
  12532. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  12533. Use typeof instead of strings when assembly is referenced. Added
  12534. some more comments.
  12535. 2005-10-21 Jackson Harper <[email protected]>
  12536. * ListView.cs: Raise a double click event. Also tried to somewhat
  12537. fix when the selectedindexchanged event is raised. Its still
  12538. broken though.
  12539. 2005-10-21 Jackson Harper <[email protected]>
  12540. * TreeView.cs: New method to invalidate the plus minus area of a
  12541. node without invalidating the whole node (maybe this can be used
  12542. in some more places).
  12543. * TreeNodeCollection.cs: When adding to an empty node we need to
  12544. invalidate its plus minus area so the little block shows up.
  12545. 2005-10-21 Jackson Harper <[email protected]>
  12546. * TreeView.cs: Make sure that when we invalidate a node the bounds
  12547. are big enough to cover the selected box and the focus
  12548. rectangle. Use a different colour for the lines connecting nodes
  12549. so they show up with all themes.
  12550. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12551. * NativeWindow.cs: Don't call anything that could call into the driver,
  12552. we might be on a different thread.
  12553. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12554. * Control.cs(Dispose): Since Dispose might run on a different thread,
  12555. make sure that we call methods that could call into the driver via
  12556. invoke, to avoid thread issues
  12557. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12558. * XplatUI.cs: Removed finalizer
  12559. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  12560. not allowing to be called on the finalizer thread.
  12561. 2005-10-21 Kornél Pál <[email protected]>
  12562. * ImageList.cs:
  12563. - Reverted r51889 and r51891.
  12564. - Added ImageListItem class that stores unmodified image items and image
  12565. properties required to create list images until handle is created.
  12566. - Added AddItem and moved image creation logic to AddItemInternal.
  12567. - Added CreateHandle method that creates images based on unmodified items.
  12568. - Added DestroyHandle that changes state to store unmodified items.
  12569. - Add and AddStrip methods no more create handle.
  12570. - ReduceColorDepth has no return value.
  12571. - Dispose destroys handle.
  12572. - Modified other methods to reflect the above changes.
  12573. - Implemented key support.
  12574. - Added profile 2.0 members and attributes.
  12575. - Added private Reset and ShouldSerialize methods that provide the same
  12576. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  12577. them as they are private.
  12578. - Added some more comments about implementation details.
  12579. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12580. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  12581. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12582. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  12583. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12584. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  12585. * DataGridColumnStyle.cs: Remove debug message
  12586. 2005-10-20 Jackson Harper <[email protected]>
  12587. * TreeView.cs: We can always get input keys regardless of whether
  12588. or not editing is enabled. They are used for navigation.
  12589. 2005-10-20 Jackson Harper <[email protected]>
  12590. * TreeNode.cs: Use the viewport rect for determining if a node
  12591. needs to be moved for visibility. Don't use Begin/End edit. This
  12592. calls a full refresh when its done.
  12593. * TreeView.cs: New SetBottom works correctly. Make the viewport
  12594. rect property internal so the treenodes can see it. When clicking
  12595. on a node we need to ensure that its visible because it might just
  12596. be partly visible when clicked.
  12597. 2005-10-20 Jackson Harper <[email protected]>
  12598. * TreeNodeCollection.cs: Remove debug code.
  12599. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  12600. * Datagrid.cs: Implements column sorting in Datagrid
  12601. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  12602. 2005-10-20 Jackson Harper <[email protected]>
  12603. * TreeNodeCollection.cs: Remove items properly. Update the correct
  12604. area after removing them.
  12605. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  12606. * Datagrid.cs: Should not call base.OnPaintBackground
  12607. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12608. * XplatUIX11.cs (GetMessage):
  12609. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  12610. window instead of client window
  12611. - Now properly calculates NC_xBUTTONUP message coordinates
  12612. - ScreenToMenu now properly calculates it's coordinates of whole
  12613. window, since menus are in the whole window, not in the client
  12614. window
  12615. - Added WholeToScreen coordinate translation method
  12616. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12617. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  12618. want to return a message, loop back to the beginning of the function
  12619. and grab the next real message to process instead.
  12620. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12621. * Splitter.cs: Properly set limits if no filler control is used
  12622. 2005-10-19 Jackson Harper <[email protected]>
  12623. * ColorDialog.cs: Don't show the help button if it is not enabled
  12624. instead of disabling it (this is what MS does). Don't create the
  12625. panel until the dialog is run, otherwise the vars (such as
  12626. ShowHelp) are not set yet.
  12627. 2005-10-19 Jackson Harper <[email protected]>
  12628. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  12629. are reduced when adding nodes.
  12630. * TreeNode.cs:
  12631. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  12632. tree.
  12633. 2005-10-19 Jackson Harper <[email protected]>
  12634. * FolderBrowserDialog.cs: End editing our treeview so the window
  12635. actually gets refreshed.
  12636. 2005-10-18 Peter Dennis Bartok <[email protected]>
  12637. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  12638. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  12639. inside of WM_PAINT
  12640. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12641. * MenuAPI.cs: Returns after Hidding window
  12642. * XplatUIX11.cs: Added TODO found while debugging menu issues
  12643. 2005-10-18 Peter Dennis Bartok <[email protected]>
  12644. * XplatUIX11.cs: Do not re-map the whole window when it's size
  12645. becomes non-zero unless it's supposed to be actually visible
  12646. 2005-10-18 Jackson Harper <[email protected]>
  12647. * TreeView.cs: We don't need to keep a count anymore.
  12648. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  12649. use the Grow method.
  12650. 2005-10-18 Jackson Harper <[email protected]>
  12651. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  12652. implement it manually here.
  12653. 2005-10-18 Jackson Harper <[email protected]>
  12654. * ImageList.cs: Dont kill the list when the colour depth is
  12655. changed, just change the colour depth of all the images.
  12656. - Same goes for setting the image size. Just resize them all
  12657. instead of killing the list softly.
  12658. 2005-10-18 Jackson Harper <[email protected]>
  12659. * Control.cs: Don't invalidate empty rectangles.
  12660. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12661. * ListViewItem.cs:
  12662. - Adds checked item to the Checked/Item lists (where empty before)
  12663. - Do not add items to the Selected lists if they are already present
  12664. * ListView.cs:
  12665. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  12666. - When deleting items make sure that we delete them for the Selected
  12667. and Checked list also.
  12668. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12669. * Label.cs: Dispose objects no longer used
  12670. * ThemeWin32Classic.cs: Dispose objects no longer used
  12671. 2005-10-18 Jackson Harper <[email protected]>
  12672. * TabControl.cs: Don't refresh the whole control when the tabs are
  12673. scrolled, we just need to refresh the tab area.
  12674. 2005-10-17 Jackson Harper <[email protected]>
  12675. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  12676. after handle when we need it.
  12677. 2005-10-17 Peter Dennis Bartok <[email protected]>
  12678. * Control.cs: When the parent size changes, recalculate anchor
  12679. positions. Partial fix for #76462
  12680. 2005-10-17 Peter Dennis Bartok <[email protected]>
  12681. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  12682. drawn. Fixes #76462
  12683. 2005-10-17 Jackson Harper <[email protected]>
  12684. * MonthCalendar.cs: Don't create the numeric up down until our
  12685. handle is created. Otherwise our handle is created in the
  12686. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  12687. yet.
  12688. 2005-10-17 Jackson Harper <[email protected]>
  12689. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  12690. correctly.
  12691. 2005-10-17 Rafael Teixeira <[email protected]>
  12692. * TreeNode.cs : small logical fix (was using local var instead of field)
  12693. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  12694. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  12695. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  12696. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  12697. 2005-10-16 Peter Dennis Bartok <[email protected]>
  12698. * Control.cs:
  12699. - Re-implemented anchoring code. My first version was really broken.
  12700. This fixes bug #76033. Unlike the previous implementation we will
  12701. no longer have round errors since all numbers are calculated from
  12702. scratch every time. Removed various anchor-related obsolete vars.
  12703. - InitLayout no longer causes layout event firing and layout to be
  12704. performed
  12705. 2005-10-16 Jackson Harper <[email protected]>
  12706. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  12707. which was broken).
  12708. 2005-10-16 Jackson Harper <[email protected]>
  12709. * TabControl.cs: Remove debug code.
  12710. 2005-10-16 Jackson Harper <[email protected]>
  12711. * XEventQueue.cs: Increase the default queue size (very simple
  12712. apps needed to grow the queue).
  12713. * Hwnd.cs: No finalizer so we don't need to suppress
  12714. finalization. Compute the invalid area manually so a new rectangle
  12715. does not newto be created.
  12716. * ScrollableControl.cs: Don't set any params (otherwise visibility
  12717. isn't set correctly).
  12718. * MdiChildContext.cs: New constructor takes the mdi parent so it
  12719. doesn't have to be computed and avoids a crash on windows. Draw
  12720. the window icon properly, and allow the text to be seen.
  12721. * Form.cs: Use new MdiChildContext constructor. Make sure the
  12722. child context isn't null in wndproc.
  12723. * TabControl.cs: Don't set focus, this is muddling keyboard
  12724. behavoir. Expand the tab rows when a window size increase will
  12725. allow extra tabs to be seen. Don't allow tabs smaller than the
  12726. width of a window to be scrolled out of view.
  12727. * TreeNode.cs:
  12728. * TreeView.cs: Use measure string to calculate a nodes width, the
  12729. width is cached and only updated when the text or the font is
  12730. changed. Don't check for expand/collapse clicks on the first level
  12731. nodes if root lines are disabled.
  12732. 2005-10-16 Ritvik Mayank <[email protected]>
  12733. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  12734. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  12735. * DataGridBoolColumn.cs: fixes warning
  12736. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  12737. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  12738. to match more to match more precisely the MS Net behavior
  12739. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12740. * Hwnd.cs: Added field to track if window is mapped
  12741. * XplatUIX11.cs:
  12742. - Unmap windows if they become 0-size, re-map when
  12743. they are >0 again; fixes #76035
  12744. - Re-set our error handler after initializing X11Desktop
  12745. to override any error handlers Gtk or whatever was called
  12746. may have set.
  12747. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12748. * CheckedListBox.cs: Removed unused vars
  12749. * ListView.cs: Fixed signatures
  12750. * RichTextBox.cs: Removed unused vars
  12751. * TextBoxBase.cs: Removed unused vars
  12752. * XplatUIWin32.cs: Removed unused vars
  12753. * XplatUIX11.cs: Removed unused vars
  12754. * XplatUI.cs: Updated version and date to latest published
  12755. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12756. * Cursor.cs: Added private .ctor to work around a bug in
  12757. resourceset (Thanks to Geoff Norton for the help on this)
  12758. * SplitterEventArgs.cs: Made fields accessible so we don't
  12759. waste boatloads of objects and can reuse the same one
  12760. in Splitter
  12761. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  12762. any captions and borders when generating screen coordinates
  12763. * Splitter.cs: Reimplemented control, now fully complete, uses
  12764. rubberband drawing, supports and obeys all properties, has
  12765. proper cursors
  12766. 2005-10-13 Miguel de Icaza <[email protected]>
  12767. * Form.cs (Form): Setup default values for autoscale and
  12768. autoscale_base_size; Make these instance variables, not static
  12769. variables.
  12770. (OnLoad): on the first load, adjust the size of the form.
  12771. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12772. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  12773. width argument to DrawReversibleRectangle()
  12774. * XplatUIWin32.cs, XplatUIX11.cs:
  12775. - Implemented width for DrawReversibleRectangle()
  12776. - Added logic to DrawReversibleRectangle that recognizes a zero
  12777. width or height and only draws a line in that situation
  12778. 2005-10-12 Peter Dennis Bartok <[email protected]>
  12779. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  12780. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  12781. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  12782. method (it uses our FosterParent window to get a graphics context)
  12783. 2005-10-12 Peter Dennis Bartok <[email protected]>
  12784. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  12785. and SetWindowBackground methods
  12786. * Control.cs:
  12787. - Setting proper ControlStyles
  12788. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  12789. EraseWindowBackground, instead we draw the window background
  12790. ourselves in PaintControlBackground. This behaviour is
  12791. required to match MS, where, when OnPaintBackground is not
  12792. called, the background is not drawn.
  12793. - Removed unneeded Refresh() in set_Text
  12794. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  12795. * XplatUIX11.cs:
  12796. - Created DeriveStyles method to translate from CreateParams to
  12797. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  12798. matches FormBorderStyle enum values)
  12799. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  12800. style calculations into single DeriveStyles method
  12801. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  12802. from redrawing the whole window on any resize or expose.
  12803. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  12804. all styles were applied to our whole/client window appropriately
  12805. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12806. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  12807. no longer clear/redraw the background through X
  12808. - Removed handling of erase_pending bit, we have no use for it (or
  12809. so it seems)
  12810. * XplatUIOSX.cs:
  12811. - Removed generation and handling of WM_ERASEBKGND message
  12812. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12813. - Removed handling of hwnd.ErasePending flag
  12814. * XplatUIWin32.cs:
  12815. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12816. - We no longer call EraseWindowBackground on PaintEventStart, we
  12817. ignore the fErase flag, erasing is handled in Control in the
  12818. background handler
  12819. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  12820. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  12821. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  12822. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  12823. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  12824. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  12825. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  12826. 2005-10-12 Jonathan Chambers <[email protected]>
  12827. * PropertyGrids.cs: Get sub properties
  12828. * PropertyGridView.cs: Fix drawing code
  12829. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12830. * ListBox.cs: Fixes 76383
  12831. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12832. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  12833. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  12834. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  12835. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12836. * ComboBox.cs: Fixes border drawing
  12837. 2005-10-10 Miguel de Icaza <[email protected]>
  12838. * MimeIcon.cs: Ignore errors if the file can not be read.
  12839. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12840. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  12841. - Fixed border calculations
  12842. - Fixed horizontal scrolling in single column listboxes
  12843. - Fixed drawing issues
  12844. 2005-10-10 Peter Dennis Bartok <[email protected]>
  12845. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  12846. FormBorderStyle enum
  12847. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  12848. code to determine FormBorderStyles from CreateParams
  12849. * Form.cs:
  12850. - Fixed bug where we'd set the wrong window styles if we were
  12851. not creating an MDI window
  12852. - Added call to XplatUI.SetBorderStyle when form borders are set
  12853. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  12854. * Hwnd.cs:
  12855. - Removed obsolete edge style
  12856. - Switched from BorderStyle to FormBorderStyle
  12857. 2005-10-10 Jackson Harper <[email protected]>
  12858. * Form.cs: Use the property to get the window handle instead of
  12859. accessing it directly. Prevents a null reference exception.
  12860. 2005-10-10 Jackson Harper <[email protected]>
  12861. * TreeView.cs: Don't adjust the rect given to DrawString now that
  12862. our libgdiplus draws correctly.
  12863. 2005-10-08 Jackson Harper <[email protected]>
  12864. * TreeView.cs: Don't try to find the clicked on node if there are
  12865. no nodes in the tree.
  12866. 2005-10-08 Alexander Olk <[email protected]>
  12867. * RichTextBox.cs:
  12868. restore
  12869. 2005-10-08 Alexander Olk <[email protected]>
  12870. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  12871. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  12872. ErrorProvider.cs:
  12873. Use ResPool for brushes and dispose System.Drawing objects that
  12874. are not used anymore.
  12875. 2005-10-07 Jackson Harper <[email protected]>
  12876. * MdiChildContext.cs: Use the new borders instead of drawing them
  12877. ourselves.
  12878. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12879. * Calling UpdateBounds after changing the window's BorderStyle
  12880. since the style can change the ClientSize
  12881. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12882. * Control.cs: Made PaintControlBackground virtual
  12883. * Panel.cs: Overriding PaintControlBackground instead of using paint
  12884. event; paint event method was interfering with 'real' users of the
  12885. event.
  12886. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12887. * ThemeWin32Classic.cs: remove border drawing since it is handled
  12888. by the base control class now and was causing double border drawing.
  12889. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12890. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  12891. but it does seem to match MS behaviour. This fixes bug #75324
  12892. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12893. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  12894. somewhat hackish looking
  12895. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12896. * TextBoxBase.cs:
  12897. - We now accept Enter even if AcceptEnter is false, if the containing
  12898. form does not have an AcceptButton configured (fixes bug #76355)
  12899. - Calculations are now fixed to no longer use Width/Height, but
  12900. ClientSize.Width/Height, since we now support borders (this was
  12901. a result of fixing borders and therefore bug #76166)
  12902. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  12903. true (fixes bug #76354)
  12904. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12905. * Control.cs:
  12906. - Defaulting BorderStyle and setting it in XplatUI when our window
  12907. is created
  12908. - Added enum check to InternalBorderStyle setter
  12909. * XplatUIX11.cs:
  12910. - Added drawing of window borders
  12911. - Now properly calculates WM decorations offset for toplevel
  12912. windows (fixes bug #74763)
  12913. * XplatUIWin32.cs:
  12914. - Implemented BorderStyles for windows (we're letting win32 draw
  12915. the border for us)
  12916. - Fixed the signature for SetWindowLong
  12917. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  12918. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  12919. setting borders
  12920. * UpDownBase.cs: Remove drawing of borders, this is handled by
  12921. the driver, outside the client area
  12922. * ListView.cs: Removed bogus border calculations. The control should
  12923. be oblivious to borders, since those are not part of the client
  12924. area.
  12925. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  12926. * ThemeWin32Classic.cs: Removed border calculations from ListView
  12927. drawing code
  12928. 2005-10-06 Jackson Harper <[email protected]>
  12929. * MdiChildContext.cs: Clear out the old virtual position remove
  12930. all the unneeded calls to CreateGraphics.
  12931. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12932. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  12933. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12934. * Form.cs:
  12935. - Added loading and setting of our new default icon
  12936. - Only set icon if window is already created
  12937. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12938. * Label.cs:
  12939. - Do not explicitly set the foreground and background colors, to
  12940. allow inheriting from parents (fixes #76302)
  12941. - Use Control's InternalBorderStyle property to deal with borders
  12942. 2005-10-06 Jackson Harper <[email protected]>
  12943. * MdiChildContext.cs: Use the new xplatui function to draw a
  12944. reversible rect.
  12945. 2005-10-06 Jackson Harper <[email protected]>
  12946. * Form.cs: Add the parent before creating the child context cause
  12947. we need the parent when setting up the child.
  12948. 2005-10-06 Jackson Harper <[email protected]>
  12949. * FolderBrowserDialog.cs: redo the tree population code so a
  12950. second thread isn't used. Should be a lot faster and more stable
  12951. now.
  12952. 2005-10-05 Jackson Harper <[email protected]>
  12953. * TreeView.cs: There are no expand/collapse boxes if the node has
  12954. no children.
  12955. 2005-10-05 Jackson Harper <[email protected]>
  12956. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  12957. 2005-10-05 Alexander Olk <[email protected]>
  12958. * FileDialog.cs: Fix InitialDirectory
  12959. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12960. * ComboBox.cs:
  12961. - Fixes changing between styles
  12962. - Fixes simple mode
  12963. - Fixes last item crashing when navigating with keyboard
  12964. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12965. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  12966. 2005-10-05 Jackson Harper <[email protected]>
  12967. * TreeView.cs: If updating the root node do a full refresh.
  12968. * TreeNode.cs: The root node should be expanded by default. Also
  12969. added a utility prop to tell if we are the root node.
  12970. * TreeNodeCollection.cs: Only refresh if the node we are being
  12971. added to is expanded. Also added a comment on a potential
  12972. optimization.
  12973. 2005-10-04 Peter Dennis Bartok <[email protected]>
  12974. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  12975. in dispose method. Fixes #76330
  12976. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  12977. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  12978. - Implements vertical and horizontal scrolling using XplatUI
  12979. - Fixes keyboard navagation
  12980. - Fixes EnsureVisible
  12981. - Drawing fixes
  12982. - Handles and draws focus properly
  12983. 2005-10-04 Kornél Pál <[email protected]>
  12984. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  12985. Create handle. NET_2_0: Destroy handle when value is null.
  12986. 2005-10-03 Jackson Harper <[email protected]>
  12987. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  12988. revert and a new patch to prevent the thumb from refreshing so
  12989. much.
  12990. 2005-10-02 Jackson Harper <[email protected]>
  12991. * ScrollBar.cs: Don't update position if it hasn't actually
  12992. changed. This occurs when you hold down the increment/decrement
  12993. buttons and the thumb gets to the max/min.
  12994. 2005-10-01 Jackson Harper <[email protected]>
  12995. * Form.cs:
  12996. * MdiChildContext.cs:
  12997. * MdiClient.cs: Implement ActiveMdiChild in Form.
  12998. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  12999. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  13000. 2005-10-01 Peter Dennis Bartok <[email protected]>
  13001. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  13002. be found
  13003. 2005-09-30 Jackson Harper <[email protected]>
  13004. * ListBox.cs: Don't do a full refresh unless some data has
  13005. actually changed.
  13006. 2005-09-30 Jackson Harper <[email protected]>
  13007. * TreeView.cs: Make sure that the checkboxes size is factored in
  13008. even when not visible.
  13009. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13010. * FileDialog.cs: Fix Jordi's build break
  13011. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13012. * FileDialog.cs:
  13013. - Use standard the Windows colours for the combobox as espected
  13014. - Dispose objects that use resouces when no longer need them
  13015. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13016. * X11DesktopColors.cs: Initial incomplete implementation
  13017. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  13018. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13019. * Theme.cs:
  13020. - Switched Theme color names to match the names defined in
  13021. System.Drawing.KnownColors. Life's hard enough, no need to make
  13022. it harder.
  13023. - Added setters to all theme color properties so themes can set
  13024. their color schemes. The setters also propagate the color changes
  13025. to System.Drawing.KnownColors via reflection
  13026. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  13027. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  13028. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  13029. use the new, more logical theme color names
  13030. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  13031. post-NT colors
  13032. * ThemeWin32Classic.cs:
  13033. - Removed code to set the old classic Windows colors. Instead it
  13034. now relies on the colors returned by System.Drawing.KnownColors
  13035. which will be either modern static colors (Unix) or colors
  13036. read from the user's configuration (Win32)
  13037. - Updated to use the new, more logical theme color names
  13038. - Switched DataGrid drawing code to use only Theme colors instead of
  13039. a mix of System.Drawing.KnownColors and Theme colors
  13040. - DrawFrameControl(): Removed code that fills the button area, the
  13041. fill would overwrite any previous fill done by a control. This
  13042. fixes bug #75338
  13043. - Added DrawReversibleRectangle() stub
  13044. * ScrollableControl.cs: Set visible state to false when scrollbars
  13045. are removed (pdn fix)
  13046. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  13047. DrawReversibleRectangle() method to allow drawing primitive
  13048. 'rubber bands'
  13049. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  13050. 2005-09-30 Kornél Pál <[email protected]>
  13051. * ImageList.cs: Add(Icon): Create handle.
  13052. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13053. * ListView.cs:
  13054. * ThemeWin32Classic.cs:
  13055. - Fixes detail mode
  13056. - Sets clippings
  13057. - Issues with drawing
  13058. 2005-09-30 Kornél Pál <[email protected]>
  13059. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  13060. source has to be the ImageList.
  13061. 2005-09-30 Kornél Pál <[email protected]>
  13062. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  13063. 2005-09-30 Kornél Pál <[email protected]>
  13064. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  13065. 2005-09-30 Kornél Pál <[email protected]>
  13066. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  13067. 2005-09-29 Jonathan Chambers <[email protected]>
  13068. * GridItem.cs: Fixed TODOs
  13069. * GridItemCollection.cs: Added ICollection interface
  13070. 2005-09-30 Kornél Pál <[email protected]>
  13071. * ImageList.cs: Resize icons when needed.
  13072. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  13073. * ListViewItem.cs
  13074. - Fixes GetBounds and returns on screen rects
  13075. * ListView.cs:
  13076. - Fixes vertical and horzintal scrolling of items
  13077. * ThemeWin32Classic.cs:
  13078. - Fixes drawing
  13079. 2005-09-29 Raja R Harinath <[email protected]>
  13080. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  13081. 2005-09-29 Kornél Pál <[email protected]>
  13082. * ImageList.cs: Added comments about handle creation. Moved Handle,
  13083. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  13084. Handle is created in Add methods.
  13085. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13086. * DataGridDrawingLogic.cs:
  13087. - Takes rows into account on Colum calculations
  13088. - Returns the column when clickig
  13089. * DataGrid.cs:
  13090. - Fixes default HitTestInfo values
  13091. - Fixes HitTestInfo.ToString
  13092. - Fixes ResetBackColor
  13093. 2005-09-28 Jackson Harper <[email protected]>
  13094. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  13095. sizing or cursor changes). Also added some temp code to draw the
  13096. titlebars text (Makes dev a little easier).
  13097. 2005-09-28 Kornél Pál <[email protected]>
  13098. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  13099. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13100. * ListBox.cs: Fixes bug 76253
  13101. 2005-09-28 Kornél Pál <[email protected]>
  13102. * ImageList.cs: Added comments about the current implementation. Added
  13103. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  13104. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  13105. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  13106. with Bitmap.LockBits for better performance. Revised the whole file to
  13107. match MS.NET behaviour and provide better performance. Non-public
  13108. interface members are calling public members even when they throw
  13109. NotSupportedException for better maintainability. Moved ColorDepth,
  13110. ImageSize, ImageStream and TransparentColor implementations to
  13111. ImageCollection for better performance as these properties are not used
  13112. by ImageList.
  13113. * ImageListStreamer.cs: Added a new internal constructor that takes an
  13114. ImageList.ImageCollection and serializes Images based on
  13115. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  13116. match ImageList property name.
  13117. 2005-09-28 Kazuki Oikawa <[email protected]>
  13118. * ListBox.cs: Fixes IndexFromPoint for last item
  13119. 2005-09-27 Jackson Harper <[email protected]>
  13120. * Form.cs: Set the position of new mdi children correctly.
  13121. 2005-09-27 Jackson Harper <[email protected]>
  13122. * MdiClient.cs: New mdi children need to be added to the back of
  13123. the controls collection so the zorder is set correctly. Also add a
  13124. count of all the child windows that have been created.
  13125. 2005-09-27 Jackson Harper <[email protected]>
  13126. * Form.cs (CreateParams): Setup MDI forms correctly.
  13127. 2005-09-27 Jackson Harper <[email protected]>
  13128. * MdiChildContext.cs:
  13129. * MonthCalendar.cs:
  13130. * UpDownBase.cs:
  13131. * ListBox.cs:
  13132. * ListView.cs:
  13133. * TextBoxBase.cs:
  13134. * TreeView.cs:
  13135. * ScrollableControl.cs:
  13136. * ComboBox.cs: Add implicit controls using the new implict control
  13137. functionality in ControlCollection. Also try to block multiple
  13138. control add in a suspend/resume layout to save some cycles.
  13139. 2005-09-27 Jackson Harper <[email protected]>
  13140. * Control.cs: Add functionality to the controls collection to add
  13141. 'implicit controls' these are controls that are created by the
  13142. containing control but should not be exposed to the user. Such as
  13143. scrollbars in the treeview.
  13144. * Form.cs: The list var of the ControlsCollection is no longer
  13145. available because of the potential of implicit controls getting
  13146. ignored by someone accessing the list directly.
  13147. 2005-09-26 Peter Dennis Bartok <[email protected]>
  13148. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  13149. loose it's parent. (Fixed bug introduced in r49103 when we added
  13150. setting the child parent to null on Remove)
  13151. 2005-09-26 Gert Driesen <[email protected]>
  13152. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  13153. * Splitter.cs: Added missing attributes for BorderStyle property.
  13154. * TextBoxBase.cs: Marked Calculate* methods internal.
  13155. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  13156. MS.NET.
  13157. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  13158. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  13159. 2005-09-25 Jackson Harper <[email protected]>
  13160. * TreeView.cs: Update the node bounds correctly regardless of
  13161. whether the node is visible.
  13162. 2005-09-25 Jackson Harper <[email protected]>
  13163. * ImageList.cs: Don't dispose the image after it is added to the
  13164. image list. Only reformat images that need to be resized.
  13165. 2005-09-25 Jackson Harper <[email protected]>
  13166. * ImageList.cs: Don't set the format when changing the image.
  13167. 2005-09-25 Jackson Harper <[email protected]>
  13168. * TreeView.cs: We can't just assume the node has a font. Use the
  13169. treeviews font if no node font is available.
  13170. 2005-09-25 Jackson Harper <[email protected]>
  13171. * TreeView.cs: Allow the scrollbars to be reset with negative
  13172. values.
  13173. - Don't add scrollbars to negative sized windows.
  13174. 2005-09-23 Jackson Harper <[email protected]>
  13175. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  13176. old Mono.Posix. Also remove some stray code that shouldn't have
  13177. been committed.
  13178. 2005-09-23 Jackson Harper <[email protected]>
  13179. * TreeView.cs: Attempt at proper sizing of the horizontal
  13180. scrollbar. Also don't resize the scrollbars unless they are
  13181. visible.
  13182. 2005-09-23 Jackson Harper <[email protected]>
  13183. * TreeView.cs: We don't need to expand the invalid area when the
  13184. selection changes, as this is all drawn in the node's bounding
  13185. box. The area needs to be expanded (previous typo was contracting
  13186. it) when the focus rect moves.
  13187. 2005-09-23 Jackson Harper <[email protected]>
  13188. * TreeView.cs: Display the selection box under the correct
  13189. circumstances. We were rendering white text with no selection box
  13190. before.
  13191. 2005-09-23 Peter Dennis Bartok <[email protected]>
  13192. * TextControl.cs(Split): Now updates selection start/end if it points
  13193. into a line that's being split. Fixes a FIXME and bug #75258
  13194. 2005-09-23 Jackson Harper <[email protected]>
  13195. * Binding.cs:
  13196. * ListControl.cs: Don't use the path when retrieving binding
  13197. managers from the binding context. My bat sense tells me that the
  13198. path is only used on insertion.
  13199. 2005-09-22 Jackson Harper <[email protected]>
  13200. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  13201. 2005-09-22 Jackson Harper <[email protected]>
  13202. * Splitter.cs: There are special cursors used for splitting.
  13203. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  13204. 2005-09-22 Jackson Harper <[email protected]>
  13205. * Splitter.cs: Change the cursor appropriately when the splitter
  13206. is moused over, so the user actually knows there is a splitter
  13207. there.
  13208. 2005-09-22 Hisham Mardam Bey <[email protected]>
  13209. * Label.cs : Fix ToString method to give same output as MS.NET
  13210. 2005-09-22 Jackson Harper <[email protected]>
  13211. * TreeView.cs: Create the scrollbars when the handle is created
  13212. and add them right away, just make them invisble. Also account for
  13213. the window being shrunk vertically to the point that the vert
  13214. scrollbar needs to be added.
  13215. - Remove some 0.5 adjustments to get around anti aliasing issues.
  13216. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  13217. * MainMenu.cs: Fixes default value
  13218. * MenuItem.cs: Fixes default value
  13219. 2005-09-22 Kazuki Oikawa <[email protected]>
  13220. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  13221. 2005-09-21 Jackson Harper <[email protected]>
  13222. * Control.cs: Don't try to set the border style on the window if
  13223. it hasn't been created. When the window is created the border
  13224. style will be used.
  13225. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13226. * Control.cs (Update): Don't call XplatUI if we don't have a
  13227. window handle yet
  13228. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13229. * ContainerControl.cs: Instead of throwing an exception, print
  13230. a one-time warning about Validate not being implemented
  13231. * XplatUIWin32.cs: Removed debug output
  13232. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13233. * Control.cs: Only set XplatUI background if we expect the windowing
  13234. system to handle the background. This stops controls that draw their
  13235. own background from flickering
  13236. * XplatUIX11.cs: Support custom visuals and colormaps for window
  13237. creation. This allows, amongst other things, using MWF X11 windows
  13238. with OpenGL.
  13239. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13240. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  13241. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  13242. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  13243. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  13244. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  13245. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  13246. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  13247. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  13248. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  13249. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  13250. GridColumnStylesCollection.cs,
  13251. IDataGridColumnStyleEditingNotificationService.cs,
  13252. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  13253. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  13254. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  13255. TreeNodeCollection.cs, AmbientProperties.cs,
  13256. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13257. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  13258. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  13259. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  13260. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  13261. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  13262. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  13263. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  13264. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  13265. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  13266. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  13267. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  13268. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  13269. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  13270. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  13271. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  13272. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  13273. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  13274. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  13275. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  13276. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  13277. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  13278. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  13279. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  13280. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  13281. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  13282. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  13283. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  13284. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  13285. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  13286. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  13287. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  13288. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  13289. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  13290. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  13291. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  13292. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  13293. 2005-09-21 Jackson Harper <[email protected]>
  13294. * TreeNode.cs: Call Before/After Expand not Collapse when
  13295. expanding.
  13296. 2005-09-20 Jackson Harper <[email protected]>
  13297. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  13298. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13299. * ListViewItem.cs:
  13300. - Fixes bug 76120
  13301. - Fixes proper storing of subitems
  13302. - Fixes not updated items
  13303. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13304. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  13305. things if our window handle isn't created yet. Also disabled
  13306. debug for TextBoxBase
  13307. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13308. * MenuAPI.cs: Remove filtering of events to allow menu usage
  13309. 2005-09-20 Miguel de Icaza <[email protected]>
  13310. * Cursor.cs: Allow null to be passed to Cursor.Current.
  13311. 2005-09-20 Alexander Olk <[email protected]>
  13312. * ThemeWin32Classic.cs:
  13313. - Change some private methods/fields to protected virtual so that
  13314. they can be accessed and overriden in derived classes
  13315. - First refactoring of some methods. Derived themes now don't
  13316. need to duplicate the complete code from ThemeWin32Classic
  13317. * ThemeNice.cs:
  13318. - Added nice StatusBar
  13319. - Derive from ThemeWin32Classic and not Theme
  13320. - Removed duplicate ThemeWin32Classic code
  13321. 2005-09-20 Miguel de Icaza <[email protected]>
  13322. * Control.cs (ControlCollection.Add): If the value null is passed
  13323. the control is ignored.
  13324. Optimize this loop.
  13325. 2005-09-19 Peter Dennis Bartok <[email protected]>
  13326. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  13327. PostQuitMessage state.
  13328. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  13329. 2005-09-19 Peter Dennis Bartok <[email protected]>
  13330. * Application.cs: Our constructor will never get called, move
  13331. initialization to fields; fixes bug #75933
  13332. 2005-09-19 Hisham Mardam Bey <[email protected]>
  13333. * FileDialog.cs :
  13334. - Allow files to be selected properly using file name
  13335. combo box.
  13336. - Add ability to change diretory (absolute / relative)
  13337. using file name combo box.
  13338. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13339. * ListBox.cs:
  13340. - Fixes Multicolumn listboxes item wrong calculations
  13341. - Allows to click when only one item is in the listbox
  13342. - Fixes crash when no items using keyboard navigation
  13343. 2005-09-16 Alexander Olk <[email protected]>
  13344. * ComboBox.cs: Reverted almost everything from the latest patch which
  13345. broke ComboBox
  13346. 2005-09-16 Kazuki Oikawa <[email protected]>
  13347. * ToolTip.cs:
  13348. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  13349. * ComboBox.cs:
  13350. - When DropDownStyle is Simple, it does not show scrollbar
  13351. to the last item of the list.
  13352. - When DropDownStyle is Simple, it crashed when the list was
  13353. scrolled down with the down cursor key.
  13354. - Fixed a bug that when DropDownStyle is DropDownList, the
  13355. selected item was not shown.
  13356. - The position of the selected item was not preserved when
  13357. the next dropdown happened.
  13358. * ThemeWin32Classic.cs:
  13359. - Items were wrapped at the right end.
  13360. * CheckedListBox.cs:
  13361. - Fixed Add method
  13362. * ListBox.cs:
  13363. - Items should be fully shown.
  13364. - When resizing and vertical scrollbar disappeared, the item
  13365. of index 0 should be on the top of the list.
  13366. - GetItemRectangle should consider the size of ver. scrollbar
  13367. * StatusBar.cs:
  13368. - SizingGrip area should not be allocated when it is not
  13369. displayed.
  13370. - Now it reflects MinWidth of the containing panel and
  13371. fixed a crash that happens when its width becomes so small.
  13372. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13373. * CheckedListBox.cs: Fixes bug 76028
  13374. * ListBox.cs: Fixes bug 76028
  13375. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13376. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  13377. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  13378. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  13379. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  13380. 2005-09-09 Jonathan Chambers <[email protected]>
  13381. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  13382. 2005-09-09 Jonathan Chambers <[email protected]>
  13383. * IRootGridEntry.cs: Added
  13384. * PropertyGridCommands.cs: Added
  13385. * PropertiesTab.cs: Added missing methods and property
  13386. * PropertyGridView.cs: Made class internal
  13387. * PropertyGridTextBox.cs: Made class internal
  13388. 2005-09-09 Alexander Olk <[email protected]>
  13389. * MimeIcon.cs: Try to check some other environment variables
  13390. if "DESKTOP_SESSION" returns "default"
  13391. 2005-09-09 Alexander Olk <[email protected]>
  13392. * ThemeNice.cs: Corrected background colors (e.g. menus)
  13393. * ColorDialog.cs: Use correct background colors for controls
  13394. 2005-09-09 Alexander Olk <[email protected]>
  13395. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  13396. 2005-09-08 Peter Dennis Bartok <[email protected]>
  13397. * RichTextBox.cs: Added initial implementation
  13398. * lang.cs: Removed. Was accidentally checked in long time ago
  13399. * TODO: Removed. Contents were obsolete
  13400. 2005-09-06 Jonathan Chambers <[email protected]>
  13401. * PropertiesTab.cs : Added
  13402. 2005-09-06 Jonathan Chambers <[email protected]>
  13403. * PropertyGrid.cs : Update
  13404. * PropertyGridView.cs : Update
  13405. * System.Windows.Forms.resx : Added images and strings
  13406. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13407. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  13408. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13409. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  13410. a busy loop right after the Ungrab the X11 display is otherwise
  13411. blocked
  13412. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  13413. * ThemeWin32Classic.cs: Optimise the use of clipping
  13414. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  13415. * DataGrid.cs: fixes recursion bug
  13416. 2005-09-03 Alexander Olk <[email protected]>
  13417. * ThemeNice.cs:
  13418. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  13419. - Cleanup
  13420. 2005-09-02 Alexander Olk <[email protected]>
  13421. * ThemeNice.cs: Draw nice ProgressBars
  13422. 2005-09-01 Miguel de Icaza <[email protected]>
  13423. * VScrollBar.cs: Another buglet found by Aaron's tool.
  13424. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  13425. bug finder.
  13426. 2005-08-30 Alexander Olk <[email protected]>
  13427. * ThemeNice.cs:
  13428. - Added nicer menu drawing
  13429. - Updated DrawTab
  13430. - some refactoring
  13431. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13432. * CreateParams.cs (ToString): Made output match MS
  13433. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  13434. handle is already created (to avoid forcing window creation)
  13435. * XplatUIX11.cs: Set window text to caption after creating window,
  13436. in case Text was set before window was created
  13437. * Form.cs: Use this.Text instead of a static string as caption
  13438. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13439. * NotifyIcon.cs: Don't set the window to visible; this screws
  13440. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  13441. OnPaint without a bitmap)
  13442. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  13443. happen very often anyway; we could add the check to the WM_PAINT
  13444. event generation code
  13445. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13446. * NotifyIcon.cs: Fill the icon area with a background color, to
  13447. avoid 'residue' when transparent icons are drawn
  13448. * XplatUIX11.cs:
  13449. - Handle whole_window == client_window when destroying windows
  13450. - SystrayAdd(): Set client_window to whole_window value to
  13451. get mouse and other events passed to NotifyIcon
  13452. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13453. * Form.cs: Set proper default for Opacity property
  13454. * NotifyIcon.cs:
  13455. - ShowSystray(): Don't bother creating telling the OS
  13456. about the systray item if no icon is provided
  13457. - Now handles WM_NCPAINT message to deal with whole/client window
  13458. split
  13459. - Create window as visible to not get caught by Expose optimization
  13460. * Hwnd.cs: Removed debug message
  13461. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  13462. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  13463. PaintEventStart/End to use new client argument
  13464. * TextBoxBase.cs:
  13465. - Commented out debug messages
  13466. - Switched PaintEventStart/End to use new client argument
  13467. * XplatUI.cs: Added client window bool to PaintEventStart()/
  13468. PaintEventEnd() calls, to support drawing in non-client areas
  13469. * XplatUIDriver.cs:
  13470. - Added client window bool to PaintEventStart()/PaintEventEnd()
  13471. calls, to support drawing in non-client areas
  13472. - Added conditional compile to allow using MWF BeginInvoke
  13473. on MS runtime
  13474. * XplatUIX11.cs:
  13475. - Added some conditional debug output
  13476. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  13477. whole/client window split
  13478. - Implemented handling of client argument to PaintEventStart()/End()
  13479. * Control.cs:
  13480. - Throw exception if BeginInvoke() is called and the window handle
  13481. or one of the window's parent handles is not created
  13482. - Added conditional compile to allow using MWF BeginInvoke on
  13483. MS runtime
  13484. - get_Parent(): Only sets parent if handle is created. This avoids
  13485. forcing window handle creation when parent is set.
  13486. - Now fires Layout and Parent changed events in proper order
  13487. - Switched to use Handle instead of window.Handle for Z-Order setting,
  13488. the get_Parent() patch above causes us to possibly get null for 'window'
  13489. - Implemented handling of client argument to PaintEventStart()/End()
  13490. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  13491. default handling)
  13492. - Now sends a Refresh() to all child windows when Refresh() is called
  13493. 2005-08-29 Peter Dennis Bartok <[email protected]>
  13494. * Form.cs: Added (non-functional) Opacity property
  13495. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  13496. 2005-08-29 Alexander Olk <[email protected]>
  13497. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  13498. use export MONO_THEME=nice to activate it.
  13499. Currently supported controls:
  13500. - Button
  13501. - ComboBox
  13502. - ScrollBar
  13503. - TabControl (TabAlignment.Top only, other will follow)
  13504. * ThemeEngine.cs: Add theme nice
  13505. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  13506. if enabled
  13507. 2005-08-25 Jonathan Chambers <[email protected]>
  13508. * Splitter.cs: Resize docked control and its neighbor.
  13509. 2005-08-24 Rafael Teixeira <[email protected]>
  13510. -- Making Windows with Menus layout correctly --
  13511. * Form.cs : The first leg of the fix
  13512. Menu setter - adjust Client Size as needed to make space for the menu
  13513. SetClientSizeCore - doesn't call base version to be able to pass the
  13514. menu handle to XplatUI.CalculateWindowRect
  13515. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  13516. * XplatUIX11.cs: The critical second leg of the fix
  13517. GetWindowPos needs to use a recalculated client_rect
  13518. so that resizing the window doesn't break layout of child controls.
  13519. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  13520. Lots of \t\n killed
  13521. 2005-08-23 Peter Dennis Bartok <[email protected]>
  13522. * Label.cs: Now properly recalculates width and height on Font and Text
  13523. changes if AutoSize is set
  13524. 2005-08-19 Rafael Teixeira <[email protected]>
  13525. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  13526. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  13527. * ImageList.cs: Makes ToString method compatible with MS
  13528. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  13529. * MenuAPI.cs: fixes bug 75716
  13530. 2005-08-11 Umadevi S <[email protected]>
  13531. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  13532. 2005-08-11 Umadevi S <[email protected]>
  13533. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  13534. 2005-08-10 Umadevi S <[email protected]>
  13535. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  13536. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  13537. * Menu.cs: fixes bug 75700
  13538. * MenuAPI.cs: fixes navigation issues
  13539. 2005-08-09 Umadevi S <[email protected]>
  13540. * CheckedListBox.cs - simple fix for GetItemChecked.
  13541. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  13542. * ComboBox.cs: Serveral fixes
  13543. * ListBox.cs: Serveral fixes
  13544. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  13545. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  13546. * ListBox.cs: Fixes FindString methods
  13547. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  13548. * DataGrid.cs: fixes bugs exposed by new tests
  13549. 2005-08-04 Peter Dennis Bartok <[email protected]>
  13550. * Mime.cs: Compile Mono assembly references only if compiling
  13551. with Mono (Allows to build with VS.Net again)
  13552. 2005-07-28 Marek Safar <[email protected]>
  13553. * Control.cs (PaintControlBackground): Draw background image
  13554. corrrectly.
  13555. (CheckForIllegalCrossThreadCalls): Stubbed.
  13556. * Form.cs (OnCreateControl): Center when should be centered.
  13557. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  13558. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  13559. * Binding.cs: Binding to properties should be case unsensitive
  13560. 2005-07-18 [email protected]
  13561. * DataGrid.cs: fixes setmember order
  13562. 2005-07-07 Alexander Olk <[email protected]>
  13563. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  13564. * FileDialog.cs: FileDialog is now resizable and uses the new
  13565. MimeIconEngine
  13566. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  13567. * DataGridTextBoxColumn.cs: default value
  13568. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  13569. * GridTableStylesCollection.cs: fixes checking MappingName
  13570. * DataGridDrawingLogic.cs: fixes drawing logic issues
  13571. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  13572. * DataGrid.cs: fixes
  13573. 2005-07-06 Alexander Olk <[email protected]>
  13574. * MimeGenerated.cs: Use case sensitive comparer for
  13575. NameValueCollections
  13576. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  13577. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  13578. * ThemeWin32Classic.cs: bug fixes, code refactoring
  13579. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  13580. * DataGrid.cs: bug fixes, code refactoring
  13581. * DataGridTextBox.cs: bug fixes, code refactoring
  13582. * DataGridColumnStyle.cs: bug fixes, code refactoring
  13583. * Theme.cs: bug fixes, code refactoring
  13584. 2005-07-01 Peter Bartok <[email protected]>
  13585. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  13586. and other text box usage
  13587. 2005-07-01 Jackson Harper <[email protected]>
  13588. * TabControl.cs: Make sure the bottom of the tab covers the pages
  13589. border.
  13590. 2005-06-30 Peter Bartok <[email protected]>
  13591. * Form.cs (ShowDialog): Assign owner of the dialog
  13592. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  13593. might have been moved to a tag with different height
  13594. 2005-06-30 Jackson Harper <[email protected]>
  13595. * Form.cs: Don't create an infinite loop when setting focus
  13596. * MenuItem.cs: Don't dirty the parents if we don't have any
  13597. 2005-06-29 Ben Maurer <[email protected]>
  13598. * LibSupport.cs: Rename
  13599. 2005-06-29 Peter Bartok <[email protected]>
  13600. * TextBoxBase.cs: Re-align caret after deleting a character
  13601. * TextControl.cs:
  13602. - DeleteChars(): Ensure that tag covers the provided position
  13603. - StreamLine(): Drop reference for dropped tag
  13604. 2005-06-29 Peter Bartok <[email protected]>
  13605. * TextControl.cs:
  13606. - Selections now work properly, anchoring at the initial location
  13607. and properly extending in either direction (SetSelectionToCaret(),
  13608. SetSelectionStart() and SetSelectionEnd())
  13609. - No longer redraws the whole control on selection change, now
  13610. calculates delta between previous and new selection and only
  13611. invalidates/redraws that area
  13612. - Fixed FindPos() math off-by-one errors
  13613. - Changed DeleteChars() to verify the provided tag covers the
  13614. provided position, selections may have a tag that doesn't cover
  13615. the position if the selection is at a tag border
  13616. - Fixed off-by-one errors in DeleteChars()
  13617. - Added missing streamlining check in DeleteChars() to remove
  13618. zero-length tags
  13619. - Implemented Invalidate() method, now properly calculates exposures
  13620. between two given lines/positions
  13621. - Implemented SetSelection()
  13622. - Obsoleted and removed FixupSelection()
  13623. - Improved RecalculateDocument() logic, removing code duplication
  13624. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  13625. * LibSupport.cs: changes to match different input/output arguments.
  13626. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  13627. * LibSupport.cs: added libsupport.so init routine.
  13628. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  13629. * ControlBindingsCollection.cs
  13630. - Throws an exception on null datasource when adding
  13631. - Checks for duplicated bindings when adding
  13632. 2005-06-28 Jackson Harper <[email protected]>
  13633. * TreeView.cs (OnKeyDown): Support left and right properly
  13634. (navigates as well as expanding and collapsing.
  13635. - Add support for Multiply, this expands all the selected nodes
  13636. children.
  13637. - Fix some tabbing.
  13638. 2005-06-28 Jackson Harper <[email protected]>
  13639. * TreeView.cs: Implement keyboard navigation, currently supports,
  13640. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  13641. support for toggling checkboxes with the space bar.
  13642. 2005-06-28 Jackson Harper <[email protected]>
  13643. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  13644. tree.
  13645. 2005-06-28 Jackson Harper <[email protected]>
  13646. * TreeView.cs: Add missing event.
  13647. 2005-06-27 Peter Bartok <[email protected]>
  13648. * TextControl.cs:
  13649. - Made line ending size configurable (now allows for counting
  13650. lineendings as \n or \r\n)
  13651. - Added margin to viewport to keep caret visible on right side
  13652. - Fixed translation routines for line/pos to documentpos to consider
  13653. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  13654. - Fixed some line-endings to be unix style
  13655. - Fixed Document.FormatText to perform it's calculations 1-based
  13656. - Added descriptions for a few methods that might otherwise get
  13657. used wrong
  13658. - Added NOTE section with some basic conventions to remember at
  13659. the top of the file
  13660. - Major fixup for RichTextBox selection drawing:
  13661. * Fixed crashes when multiple tags on a single line were selected
  13662. * fixed selection box drawing not overlaying text
  13663. * fixed bogus offset calculation for tags not starting at index 1
  13664. * Switched behaviour from using multiple Substrings of a
  13665. StringBuilder.ToString() to using multiple
  13666. StringBuilder.ToString(start, length) statements, hoping this is
  13667. faster (kept original version commented out in the code, in case
  13668. original version was faster)
  13669. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  13670. alignment != Left
  13671. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  13672. call it as well
  13673. 2005-06-27 Jackson Harper <[email protected]>
  13674. * TabControl.cs: Move to the left and right with the arrow
  13675. keys. These keys don't cycle beyond first and last like
  13676. tab. Refresh all the tabs when scrolling them to the left or
  13677. right.
  13678. 2005-06-27 Jackson Harper <[email protected]>
  13679. * TabControl.cs:
  13680. - ToString: Added method
  13681. - CreateParams: Remove TODO and comment
  13682. - OnKeyDown: Cycle through bounds properly.
  13683. - SelectedIndex: Scroll to the right or left if we need to
  13684. display the newly selected tab.
  13685. 2005-06-23 Jackson Harper <[email protected]>
  13686. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  13687. set.
  13688. 2005-06-23 Jackson Harper <[email protected]>
  13689. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  13690. CTRL-SHIFT-TAB, and HOME, END are there any others?
  13691. 2005-06-23 Jackson Harper <[email protected]>
  13692. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  13693. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  13694. * DataGridTextBoxColumn.cs: fixes and enhancements
  13695. * ThemeWin32Classic.cs: fixes and enhancements
  13696. * DataGridBoolColumn.cs: fixes and enhancements
  13697. * DataGridDrawingLogic.cs: fixes and enhancements
  13698. * CurrencyManager.cs: fixes and enhancements
  13699. * DataGrid.cs: fixes and enhancements
  13700. * DataGridColumnStyle.cs: fixes and enhancements
  13701. 2005-06-22 Jackson Harper <[email protected]>
  13702. * TabControl.cs: Add some missing methods that just call into the
  13703. base. Make the TabPageCollection's IList interface behave in the
  13704. same manner as the MS implementation.
  13705. 2005-06-22 Peter Bartok <[email protected]>
  13706. * TextControl.cs: Added sanity check
  13707. * TextBoxBase.cs:
  13708. - Fixed wrapping behaviour, don't set wrap on single line controls
  13709. (this fixes the breakage of colordialog introduced in an earlier
  13710. checkin)
  13711. - Added rudimentary support for autoscrolling right-aligned controls
  13712. (still needs fixing, also, center alignment scroll is missing)
  13713. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  13714. * ScrollBar.cs: Fixes thumbpos on Maximum values
  13715. 2005-06-21 Jonathan Chambers <[email protected]>
  13716. * PropertyGridView.cs: Pass context information to UITypeEditors
  13717. 2005-06-21 Peter Bartok <[email protected]>
  13718. * TextBoxBase.cs:
  13719. - Now calling PositionCaret with absolute space coordinates
  13720. - Enabled vertical scrolling
  13721. - Better tracking of scrollbar changes, tied into WidthChange
  13722. event
  13723. - Improved cursor tracking
  13724. - Removed debug output
  13725. * TextControl.cs:
  13726. - PositionCaret coordinates are now works in absolute space, not
  13727. the canvas
  13728. - Improved tracking of document size
  13729. - Added events for width and height changes
  13730. 2005-06-21 Peter Bartok <[email protected]>
  13731. * Form.cs: Set focus to active control when form is activated
  13732. * TextControl.cs:
  13733. - Added word-wrap functionality to RecalculateLine()
  13734. - Added some short function descriptions for VS.Net to aid in
  13735. writing dependent controls
  13736. - Added Caret property, returning the current coords of the caret
  13737. - Added ViewPortWidth and ViewPortHeight properties
  13738. - Added Wrap property
  13739. - Added CaretMoved event
  13740. - Removed some old debug code
  13741. - Split() can now create soft splits
  13742. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  13743. - Added method to format existing text
  13744. - Fixed size/alignment calculations to use viewport
  13745. - RecalculateDocument now can handle changing line-numbers while
  13746. calculating lines
  13747. * TextBox.cs:
  13748. - Added some wrap logic, we don't wrap if alignment is not left
  13749. - Added casts for scrollbar var, base class switched types to
  13750. also support RichTextBoxA
  13751. - Implemented handling of scrollbar visibility flags
  13752. * TextBoxBase.cs:
  13753. - Switched scrollbars type to RichTextBoxScrollBars to support
  13754. RichTextBox
  13755. - Added tracking of canvas width/height
  13756. - Switched scrollbars to be not selectable (to keep focus on text)
  13757. - Added central CalculateDocument() method to handle all redraw
  13758. requirements
  13759. - Added ReadOnly support
  13760. - Added WordWrap support
  13761. - Fixed handling of Enter key (we now treat it as a DialogKey)
  13762. - Fixed caret positioning when h or v scroll is not zero
  13763. - Fixed placing/generation of vertical scrollbar
  13764. - Added CalculateScrollBars() method to allow updating scrollbar
  13765. limits and visibility
  13766. - Fixed handling of horizontal scroll
  13767. - Added handling of vertical scroll
  13768. - Implemented auto-'jump' when caret moves to close to a left or
  13769. right border and there is text to be scrolled into view (currently
  13770. there's the potential for a stack overflow, until a bug in
  13771. scrollbar is fixed)
  13772. 2005-06-21 Geoff Norton <[email protected]>
  13773. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  13774. 2005-06-19 Alexander Olk <[email protected]>
  13775. * Mime.cs:
  13776. - added inodes.
  13777. - return application/x-zerosize for files with size zero
  13778. (if no extension pattern matches).
  13779. - check matches collection for strings too.
  13780. - return only the first mime type if the name value
  13781. collection has more than one mime type.
  13782. 2005-06-18 Jonathan Chambers <[email protected]>
  13783. * PropertyGrid.cs: Cleaned up some TODOs
  13784. * PropertyGridView.cs: Added support for UITypeEditors
  13785. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  13786. * DataGrid.cs: clears cached value
  13787. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  13788. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  13789. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  13790. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  13791. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  13792. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  13793. * ThemeWin32Classic.cs: fixes colour
  13794. 2005-06-15 Peter Bartok <[email protected]>
  13795. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  13796. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  13797. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  13798. * Control.cs: Added some MWFCategory and MWFDescription attributes
  13799. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  13800. 2005-06-15 Alexander Olk <[email protected]>
  13801. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  13802. usage
  13803. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  13804. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  13805. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  13806. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  13807. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  13808. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  13809. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  13810. 2005-06-13 Jackson Harper <[email protected]>
  13811. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  13812. isn't printed when the user enables dropping. (X11 does accept
  13813. drops).
  13814. 2005-06-13 Jackson Harper <[email protected]>
  13815. * TreeView.cs: Remove some TODOS.
  13816. 2005-06-13 Jackson Harper <[email protected]>
  13817. * Form.cs: Hook into the mdi framework.
  13818. * MdiClient.cs: Use the base control collections add method so
  13819. parents get setup correctly. Set the default back colour and dock
  13820. style.
  13821. * MdiChildContext.cs: New class, this bad actor handles an
  13822. instance of an MDI window. Right now there is only basic
  13823. support. You can drag, close, and resize windows. Minimize and
  13824. Maximize are partially implemented.
  13825. 2005-06-13 Jackson Harper <[email protected]>
  13826. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  13827. freaky when both vals are negative. NOTE: There are probably other
  13828. places in XplatUIX11 that this needs to be done.
  13829. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  13830. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  13831. * DataGridColumnStyle.cs: fixes signature
  13832. 2005-06-12 Jackson Harper <[email protected]>
  13833. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  13834. windows.
  13835. 2005-06-11 Jackson Harper <[email protected]>
  13836. * StatusBarPanel.cs: Signature cleanups. Implement
  13837. BeginInit/EndInit.
  13838. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  13839. * DataGridTextBoxColumn.cs: Honors aligment
  13840. * GridColumnStylesCollection.cs: Contains is case unsensitive
  13841. * GridTableStylesCollection.cs: several fixes
  13842. * DataGridTableStyle.cs: default column creation
  13843. * DataGridDrawingLogic.cs: fixes
  13844. * CurrencyManager.cs: ListName property
  13845. * DataGrid.cs: multiple styles support
  13846. * DataGridColumnStyle.cs: fixes
  13847. 2005-06-10 Peter Bartok <[email protected]>
  13848. * Control.cs(Select): Moved SetFocus call to avoid potential
  13849. loops if controls change the active control when getting focus
  13850. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  13851. the up/down buttons
  13852. 2005-06-10 Matthias Felgner <[email protected]>
  13853. * ImageListConverter.cs: Implemented
  13854. 2005-06-10 John BouAntoun <[email protected]>
  13855. * MonthCalendar.cs: Wired in NumericUpDown control for year
  13856. 2005-06-10 John BouAntoun <[email protected]>
  13857. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  13858. DoubleClick events, since they are not meant to be fired.
  13859. 2005-06-09 Peter Bartok <[email protected]>
  13860. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  13861. Jonathan's standalone controls into MWF, implemented missing
  13862. events, attributes and methods; added xxxAccessible classes
  13863. * AccessibleObject.cs: Made fields internal so other classes
  13864. can change them if needed
  13865. 2005-06-09 Jonathan Gilbert <[email protected]>
  13866. * UpDownBase.cs: Complete implementation
  13867. * NumericUpDown.cs: Complete implementation
  13868. * DomainUpDown.cs: Complete implementation
  13869. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  13870. * DataGridTextBoxColumn.cs: drawing fixes
  13871. * DataGridCell.cs: fixes ToString method to match MSNet
  13872. * DataGridTableStyle.cs: fixes
  13873. * DataGridBoolColumn.cs: fixes, drawing
  13874. * DataGridDrawingLogic.cs: fixes, new methods
  13875. * DataGridTextBox.cs: Keyboard and fixes
  13876. * DataGrid.cs:
  13877. - Keyboard navigation
  13878. - Scrolling fixes
  13879. - Row selection (single, multiple, deletion, etc)
  13880. - Lots of fixes
  13881. 2005-06-07 Jackson Harper <[email protected]>
  13882. * ThemeWin32Classic.cs: Clear the background area when drawing
  13883. buttons.
  13884. 2005-06-06 Peter Bartok <[email protected]>
  13885. * ImageListStreamer.cs: Fixed signature for GetData
  13886. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  13887. * ComboBox.cs:
  13888. - Added missing ChildAccessibleObject class
  13889. - Added missing OnXXXFocus overrides, switched to using those
  13890. instead of the event handler
  13891. * Control.cs:
  13892. - Added Parent property for ControlAccessibleObject
  13893. - Fixed signatures
  13894. - Fixed attributes
  13895. - Added ResetBindings()
  13896. * ListBindingConverter.cs: Implemented some methods
  13897. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  13898. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  13899. * ContainerControl.cs: Fixed signature, now subscribing to the
  13900. ControlRemoved event instead of overriding the handler, LAMESPEC
  13901. * CurrencyManager.cs: Added missing attribute
  13902. * MonthCalendar.cs: Added missing properties
  13903. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13904. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  13905. 2005-06-06 Gaurav Vaish and Ankit Jain
  13906. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13907. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13908. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13909. * Control.cs: fixes CreateParams Width / Height.
  13910. 2005-06-05 Peter Bartok <[email protected]>
  13911. * Win32DnD.cs: Removed compilation warnings
  13912. 2005-06-05 Peter Bartok <[email protected]>
  13913. * Control.cs (CreateParams): Since we don't know if one of the
  13914. properties we use is overridden, lets make sure if we fail accessing
  13915. we continue with a backup plan
  13916. 2005-06-05 Peter Bartok <[email protected]>
  13917. * Win32DnD.cs:
  13918. - Removed debug output
  13919. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  13920. struct
  13921. - Plugged resource leak
  13922. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  13923. MS size
  13924. 2005-06-05 Peter Bartok <[email protected]>
  13925. * XplatUIWin32.cs: Removed DnD code
  13926. * Win32DnD.cs: Implemented drop source and drop target functionality
  13927. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  13928. * UpDownBase.cs: remove duplicate addition of event, enable some code
  13929. that was commented out.
  13930. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  13931. Validate input when a key is pressed. It works fine now for every
  13932. combination of Hexadecimal. Only missing some drawing love when sharing
  13933. space with other controls.
  13934. 2005-06-04 Peter Bartok <[email protected]>
  13935. * Control.cs:
  13936. - We need to pass a window for DragDrop, so enable callback events
  13937. - Added DnD callback events when being a DragSource
  13938. * XplatUI.cs (StartDrag): Added window handle argument
  13939. * XplatUIDriver.cs (StartDrag): Added window handle argument
  13940. * QueryContinueDragEventArgs: Made fields internally accessible so
  13941. drivers can set them
  13942. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  13943. can set them
  13944. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  13945. * DataGridTextBoxColumn.cs: column text editing
  13946. * DataGridTableStyle.cs: Respect columns styles created by the user
  13947. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  13948. * DataGridBoolColumn.cs: bool column editing
  13949. * DataGrid.cs: fixes to scrolling, properties, etc
  13950. * DataGridTextBox.cs: handle keyboard
  13951. * DataGridColumnStyle.cs: fixes
  13952. 2005-06-02 Jackson Harper <[email protected]>
  13953. * ImageListStreamer.cs: Somewhat broken implementation of
  13954. GetObjectData. The RLE needs some work to match MS properly.
  13955. 2005-06-02 Jackson Harper <[email protected]>
  13956. * X11Dnd.cs: Attempting to keep at least one file in MWF
  13957. monostyled.
  13958. 2005-06-02 Peter Bartok <[email protected]>
  13959. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  13960. that way
  13961. 2005-06-02 Peter Bartok <[email protected]>
  13962. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  13963. * XplatUI.cs: Added DoDragDrop() method
  13964. * XplatUIDriver.cs: Added DoDragDrop() method
  13965. 2005-06-02 Jackson Harper <[email protected]>
  13966. * Splitter.cs: Implement BorderStyle.
  13967. 2005-06-02 Jackson Harper <[email protected]>
  13968. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  13969. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  13970. X11 using XDND.
  13971. 2005-06-02 Peter Bartok <[email protected]>
  13972. * DataObject.cs:
  13973. - Added Data setter
  13974. - Fixed broken insertion code for SetData, now also
  13975. overwrites any existing entry of the same format name
  13976. * Hwnd.cs: Added list of pointers that automatically gets
  13977. freed when the window is disposed
  13978. * XplatUI.cs: Call driver initialization method when loading
  13979. a driver
  13980. * Control.cs:
  13981. - OnDragLeave takes EventArgs, not DragEventArgs
  13982. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  13983. supported
  13984. - Forces style update when drop state changes
  13985. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  13986. not perfect since we cannot (yet) call the IDataObject.GetData()
  13987. method, we keep getting 0x80004005 error, dunno why)
  13988. 2005-06-02 Peter Bartok <[email protected]>
  13989. * DragEventArgs.cs: Make fields internal so we can cache the
  13990. object and re-set the fields from XplatUI
  13991. 2005-06-02 Jackson Harper <[email protected]>
  13992. * Control.cs: Add some internal methods so the DnD subsystem can
  13993. raise DnD events. Also call into the driver when AllowDrop is set.
  13994. * XplatUI.cs:
  13995. * XplatUIDriver.cs: New method for setting whether or not a window
  13996. is allowed to accept drag and drop messages.
  13997. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  13998. * ScrollBar.cs: Make sure that values sent in Scroll events
  13999. are always between Maximum and Minimum.
  14000. 2005-06-01 Marek Safar <[email protected]>
  14001. * Menu.cs: Call MenuChanged when menuitem visibility has been
  14002. changed.
  14003. * MenuItem.cs: Rebuild menu when item is (not) visible.
  14004. * MainMenu.cs: MainMenu has special MenuChanged.
  14005. * Theme.cs: Caption and FrameBorderSize are not fixed.
  14006. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  14007. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  14008. * XplatUIX11.cs,
  14009. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  14010. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  14011. 2005-05-30 Jackson Harper <[email protected]>
  14012. * DataFormat.cs: We can't statically initialize this stuff because
  14013. it calls into the xplatui and could create a loop. So we lazy init
  14014. it.
  14015. 2005-05-28 Jackson Harper <[email protected]>
  14016. * Control.cs: Proper implementation of Product(Name/Version).
  14017. 2005-05-27 Jackson Harper <[email protected]>
  14018. * DataObject.cs: Dont crash if no data is found.
  14019. 2005-05-26 Rafael Teixeira <[email protected]>
  14020. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  14021. as per status page, guessing it should be set to true
  14022. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  14023. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  14024. * DataGridTableStyle.cs: set proper formatting text, def header text
  14025. * ThemeWin32Classic.cs: new themable paramaters
  14026. * DataGridBoolColumn.cs: paint check box, get data, fixes
  14027. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  14028. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  14029. * DataGridColumnStyle.cs: fixes
  14030. * Theme.cs: new themable paramaters
  14031. 2005-05-26 Peter Bartok <[email protected]>
  14032. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  14033. 2005-05-24 Jonathan S. Chambers <[email protected]>
  14034. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  14035. 2005-05-24 Peter Bartok <[email protected]>
  14036. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  14037. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  14038. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  14039. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  14040. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  14041. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  14042. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  14043. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  14044. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  14045. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  14046. missing attributes, etc
  14047. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  14048. 2005-05-24 Peter Bartok <[email protected]>
  14049. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  14050. when user tries to get help
  14051. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  14052. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  14053. to suppress warnings
  14054. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  14055. avoid unreachable code warning
  14056. 2005-05-20 Peter Bartok <[email protected]>
  14057. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  14058. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14059. * DataGridTextBoxColumn.cs: Basic painting methods
  14060. * DataGridTableStyle.cs: Set table style in the column
  14061. * ThemeWin32Classic.cs: Use Theme for colors
  14062. * DataGridDrawingLogic.cs: Implement more drawing
  14063. * DataGrid.cs: drawing, theming, enhacements, fixes
  14064. * DataGridColumnStyle.cs: fixes, drawing
  14065. * Theme.cs: theming for Datagrid
  14066. 2005-05-20 Peter Bartok <[email protected]>
  14067. * Cursor.cs: Implemented GetObjectData() method
  14068. 2005-05-20 Peter Bartok <[email protected]>
  14069. * Cursors.cs: Added setting of cursor name
  14070. * Cursor.cs:
  14071. - Implemented constructors
  14072. - Implemented Draw and DrawStretched
  14073. - Implemented Current property
  14074. - Implemented == and != operators
  14075. - Implemented Dispose()
  14076. - Implemented ToString
  14077. - Added missing attributes
  14078. * XplatUIX11.cs:
  14079. - Added missing reset for OverrideCursor when DoEvents is called
  14080. - Fixed creation of cursor, logic was wrong
  14081. * XplatUIWin32.cs:
  14082. - Added missing reset for OverrideCursor when DoEvents is called
  14083. - Fixed creation of cursor, bit arrays were swapped
  14084. * Clipboard.cs: Removed obsolete MonoTODO attribute
  14085. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14086. * ComboBox.cs: fixes OnSelectedItemChanged
  14087. * ControlBindingsCollection.cs: fixes item range check
  14088. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14089. * UpDownBase.cs:
  14090. - Calc preferred height properly
  14091. - Implement missing properties
  14092. * NumericUpDown.cs: Implement missing events
  14093. 2005-05-19 Jackson Harper <[email protected]>
  14094. * TabControl.cs: New method that resizes the tab pages before
  14095. redrawing them. This as needed as the control is double buffered
  14096. and sizing will not be recalculated unless ResizeTabPages is
  14097. called.
  14098. * TabPage.cs: Set base.Text instead of Text in the constructor so
  14099. that UpdateOwner does not get called. Use the new Redraw method of
  14100. TabControl instead of Refresh so the sizing is recalculated.
  14101. * ThemeWin32Classic.cs: Draw the text for button tabs.
  14102. 2005-05-19 Jackson Harper <[email protected]>
  14103. * Control.cs: Paint control background images. Fix typo where
  14104. PaintControlBackground was not getting called correctly.
  14105. 2005-05-19 Peter Bartok <[email protected]>
  14106. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  14107. I can investigate, apparently I broke FileDialog
  14108. 2005-05-19 Marek Safar <[email protected]>
  14109. * AxHost.cs: Some simple properties.
  14110. * Control.cs: window must be accessible after ctor.
  14111. * Form.cs: Added TransparencyKey property.
  14112. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  14113. * XplatUIWin32.cs: SetBorderStyle implemented.
  14114. 2005-05-18 Peter Bartok <[email protected]>
  14115. * DataObject.cs: Entries are not global but particular to the
  14116. DataObject, now it behaves that way
  14117. * XplatUIWin32.cs: Implemented Clipboard methods
  14118. * Clipboard.cs: Implemented
  14119. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  14120. * XplatUIOSX.cs: Updated to final clipboard prototypes
  14121. * XplatUIX11.cs: Implemented Clipboard methods
  14122. * XplatUIDriver.cs: Updated to final clipboard prototypes
  14123. * XplatUIStructs.cs:
  14124. - Added BITMAPINFOHEADER struct
  14125. - Added ClipboardFormats enum
  14126. * X11Structs.cs:
  14127. - Added ClipboardStruct
  14128. - Added Atom enum items for clipboard types
  14129. - Fixed atom types for Selection event structures
  14130. * DataFormats.cs:
  14131. - Added internal properties and methods for drivers to enumerate
  14132. all known formats
  14133. - Switched initialization method to allow drivers to assign their
  14134. own IDs even for the MS predefined clipboard IDs
  14135. * XplatUI.cs: Updated to final clipboard interface
  14136. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14137. * PropertyGridView.cs: Fixed compiler warnings.
  14138. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14139. * PropertyGrid.cs: Added some event calls
  14140. * PropertyGridView.cs: Change drawing code to use double buffering
  14141. * PropertyGridTextBox.cs: Changed Text property name
  14142. * GridItem.cs: Added Bounds property.
  14143. * GridEntry.cs: Added Bounds property.
  14144. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  14145. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  14146. since GetType() may not return the correct type if the object is
  14147. a remoting proxy.
  14148. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  14149. * TreeNodeCollection.cs: fixes get/set item ranges
  14150. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14151. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  14152. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14153. * ComboBox.cs: Fix item range comparation
  14154. * ListView.cs: Fix item range comparation
  14155. 2005-05-03 Alexander Olk <[email protected]>
  14156. * FontDialog.cs:
  14157. - Clear example panel when OnPaint is called
  14158. - Better solution for displaying the example panel text
  14159. - Select default indexes in the ListBoxes
  14160. 2005-05-11 Geoff Norton <[email protected]>
  14161. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  14162. 2005-05-11 Peter Bartok <[email protected]>
  14163. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  14164. * SelectionRangeConverter.cs: Implemented
  14165. * PropertyGrid.cs: Fixed attribute value
  14166. * Control.cs:
  14167. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  14168. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  14169. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  14170. that's common to all drivers. First methods to go there are
  14171. Sebastien Pouliot's CAS Stack Propagation helper methods
  14172. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  14173. Sebastien Pouliot for CAS Stack Propagation
  14174. 2005-05-11 Geoff Norton <[email protected]>
  14175. * OSXStructs.cs:
  14176. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  14177. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  14178. * DataGridTextBoxColumn.cs: fixed some members
  14179. * GridColumnStylesCollection.cs: indexed column is case insensitive
  14180. * DataGridTableStyle.cs: fixes
  14181. * ThemeWin32Classic.cs: add new theme parameter
  14182. * Theme.cs: add new theme parameter
  14183. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  14184. * DataGrid.cs: fixes, new internal properties, etc.
  14185. * DataGridColumnStyle.cs: allows to set grid value
  14186. *
  14187. 2005-05-10 Peter Bartok <[email protected]>
  14188. * AccessibleObject.cs:
  14189. - Removed MonoTODO attribute on help, method is correct
  14190. - Fixed Bounds property
  14191. * AxHost.cs: Moved MonoTODO
  14192. * ButtonBase.cs: Now setting AccessibleObject properties
  14193. * RadioButton.cs: Setting proper AccessibleObject role
  14194. * CheckBox.cs: Setting proper AccessibleObject role
  14195. * ControlBindingsCollection.cs: Added properties, methods and attributes
  14196. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  14197. userdefined DataFormats.Format items as well
  14198. * ListControl.cs: Removed data_member from the public eye
  14199. * OpenFileDialog.cs:
  14200. - Made class sealed
  14201. - Added missing attributes
  14202. * SaveFileDialog.cs: Added missing attributes
  14203. * ImageListStreamer.cs: Fixed code that caused warnings
  14204. * LinkLabel.cs: Removed unreachable code
  14205. * TreeView.cs: Fixed code that caused warnings
  14206. * PropertyGridView.cs: Fixed code that caused warnings
  14207. * GridColumnStylesCollection.cs: Added missing attributes
  14208. * GridTableStylesCollection: Added missing attribute
  14209. * PropertyManager: Added .ctor
  14210. * SecurityIDType: Added
  14211. * DataObject.cs: Implemented class
  14212. * LinkArea.cs: Added missing attribute
  14213. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  14214. * RadioButton.cs: call base method to allow to fire OnClick event
  14215. * UpDownBase.cs: OnMouseUp call base method
  14216. * CheckedListBox.cs: call base method before returning
  14217. * TrackBar.cs: call base method before returning
  14218. 2005-05-10 Peter Bartok <[email protected]>
  14219. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  14220. for messages
  14221. 2005-05-10 Peter Bartok <[email protected]>
  14222. * DataFormats.cs: Implemented
  14223. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  14224. XplatUIX11.cs: Added Clipboard APIs
  14225. * XplatUIWin32.cs: Implemented Clipboard APIs
  14226. * FolderBrowserDialog.cs: Added missing event, attributes
  14227. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  14228. * CheckBox.cs: call base method to allow to fire OnClick event
  14229. 2005-05-09 Sebastien Pouliot <[email protected]>
  14230. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  14231. 2005-05-06 Peter Bartok <[email protected]>
  14232. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  14233. * Screen.cs: Implemented
  14234. * HelpNavigator.cs: Added
  14235. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  14236. property
  14237. * HelpProvider.cs: Implemented all we can do until we have a CHM
  14238. help library (which means that "What's This" does work now)
  14239. 2005-05-06 Jackson Harper <[email protected]>
  14240. * XplatUIX11.cs: Fix waking up the main loop.
  14241. 2005-05-05 Peter Bartok <[email protected]>
  14242. * XplatUI.cs: Updated revision
  14243. * Form.cs: Removed enless loop
  14244. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  14245. * Label.cs (OnPaint): Added call to base.OnPaint()
  14246. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  14247. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  14248. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  14249. * AxHost.cs: Added
  14250. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  14251. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  14252. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  14253. reuse of ToolTipWindow by other controls
  14254. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  14255. * XplatUIX11.cs: Now clipping drawing area (experimental)
  14256. * PictureBox.cs: Moved base.OnPaint() call to end of method
  14257. * Theme.cs: Fixed ToolTip abstracts to match new format
  14258. * ErrorProvider.cs: Implemented
  14259. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  14260. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  14261. * LinkLabel.cs:
  14262. - Adds cursors
  14263. - Handles focus
  14264. - Implements LinkBehavior
  14265. - Fixes many issues
  14266. 2005-05-03 Jackson Harper <[email protected]>
  14267. * ListView.cs: Calculate the scrollbar positioning on resize and
  14268. paint, so they get put in the correct place.
  14269. 2005-05-03 Alexander Olk <[email protected]>
  14270. * ColorDialogs.cs: The small color panels are now handled by
  14271. SmallColorControl. This fixes drawing of the focus rectangle
  14272. and adds a 3D border.
  14273. 2005-05-03 Peter Bartok <[email protected]>
  14274. * Control.cs: Modified version of Jonathan Chamber's fix for
  14275. double-buffering
  14276. 2005-05-03 Jackson Harper <[email protected]>
  14277. * ListView.cs: Remove redraw variable. Control now handles whether
  14278. or not a redraw needs to be done, and will only raise the paint
  14279. event if redrawing is needed.
  14280. 2005-05-03 Jackson Harper <[email protected]>
  14281. * Splitter.cs: No decorations for the splitter form. Cache the
  14282. hatch brush.
  14283. 2005-05-03 Jackson Harper <[email protected]>
  14284. * TreeView.cs: Use dashed lines to connect nodes. Use the
  14285. ControlPaint method for drawing the focus rect instead of doing
  14286. that in treeview.
  14287. 2005-05-02 Peter Bartok <[email protected]>
  14288. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  14289. 2005-04-29 Jackson Harper <[email protected]>
  14290. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  14291. entire image buffer. Just clear the clipping rectangle.
  14292. 2005-04-29 Jackson Harper <[email protected]>
  14293. * ThemeWin32Classic.cs: Don't draw list view items that are
  14294. outside the clipping rectangle.
  14295. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  14296. * ListBox.cs: added horizontal item scroll
  14297. 2005-04-29 Jackson Harper <[email protected]>
  14298. * ThemeWin32Classic.cs: Remove some old debug code that was
  14299. causing flicker with the new double buffering code.
  14300. 2005-04-29 John BouAntoun <[email protected]>
  14301. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  14302. behave like combobox and comboboxlist (still not sure if this is
  14303. correct though).
  14304. 2005-04-28 Jackson Harper <[email protected]>
  14305. * ThemeWin32Classic.cs: Don't fill the middle of progress
  14306. bars. This fills areas outside of the clip bounds that don't need
  14307. to be filled.
  14308. 2005-04-28 Jackson Harper <[email protected]>
  14309. * Control.cs: Don't expose functionality to touch the image buffers.
  14310. * ProgressBar.cs:
  14311. * ListView.cs: We do not need to (and no longer can) manipulate
  14312. the image buffers directly. All of this is handled by Control.
  14313. 2005-04-28 Peter Bartok <[email protected]>
  14314. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  14315. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  14316. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  14317. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  14318. * Combobox:
  14319. - Adjust control's height for non-simple comboboxes (bug fix)
  14320. - Remove dead code
  14321. * MenuAPI.cs: remove unused var
  14322. * ScrollBar.cs: remove unsed var
  14323. * ListBox.cs: unselect items when clearing
  14324. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  14325. * ListControl.cs: honors OnPositionChanged and default Selected Item
  14326. * ListBox.cs: unselect items when clearing
  14327. 2005-04-27 Jackson Harper <[email protected]>
  14328. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  14329. if a "correct" keyboard is not found. This will make us not crash,
  14330. but might give some users bad keyboard layouts...seems to be the
  14331. same thing rewind does.
  14332. 2005-04-27 Jackson Harper <[email protected]>
  14333. * BindingManagerBase.cs: Attach the current/position changed
  14334. handlers to their respective events.
  14335. 2005-04-27 Jackson Harper <[email protected]>
  14336. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  14337. not just a blit.
  14338. * ThemeWin32Classic.cs: Don't fill the background for picture
  14339. boxes. This could overright user drawing.
  14340. * ComboBox.cs: Just fill the clipping rect not the entire client
  14341. rect when drawing the background. This prevents pieces of the
  14342. image buffer from getting overwritten and is theoretically faster.
  14343. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  14344. * ComboBox.cs: Databinding support fixes, fire missing events
  14345. * ListControl.cs: implement missing methods and properties, fixes
  14346. * ThemeWin32Classic.cs: Databiding support on Drawing
  14347. * CheckedListBox.cs: Databinding support fixes, fire missing events
  14348. * ListBox.cs: Databinding support fixes, fire missing events
  14349. 2005-04-25 Peter Bartok <[email protected]>
  14350. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  14351. 2005-04-25 Jackson Harper <[email protected]>
  14352. * TreeView.cs: Use the horizontal scrollbars height not width when
  14353. determining how much of the client area is available.
  14354. 2005-04-25 Jackson Harper <[email protected]>
  14355. * Control.cs: Double buffering is handled differently now. As per
  14356. the spec, the extra buffer is created in the WM_PAINT message and
  14357. passed down to the control's drawing code.
  14358. * GroupBox.cs:
  14359. * Label.cs:
  14360. * CheckBox.cs:
  14361. * ProgressBar.cs:
  14362. * RadioButton.cs:
  14363. * ColorDialog.cs:
  14364. * ComboBox.cs:
  14365. * PropertyGridView.cs:
  14366. * UpDownBase.cs:
  14367. * MessageBox.cs:
  14368. * MenuAPI.cs:
  14369. * ListView.cs:
  14370. * ButtonBase.cs:
  14371. * SizeGrip.cs:
  14372. * ScrollBar.cs:
  14373. * ListBox.cs:
  14374. * TrackBar.cs:
  14375. * ToolBar.cs:
  14376. * PictureBox.cs:
  14377. * DateTimePicker.cs:
  14378. * StatusBar.cs:
  14379. * TreeView.cs: Update to new double buffering system.
  14380. * MonthCalendar.cs: Uncomment block, as Capture is now
  14381. working. Update to new double buffering
  14382. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  14383. * PaintEventArgs.cs: New internal method allows us to set the
  14384. graphics object. This is used for double buffering.
  14385. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  14386. rectangle. The internal paint_area var has been removed from
  14387. StatusBar. The clipping rect should be used instead.
  14388. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  14389. * TabPage.cs: The RefreshTabs method was removed, so just call the
  14390. tab controls Refresh method now.
  14391. * TabControl.cs: Update to new double buffering. Make sure the
  14392. handle is created before sizing the tab pages, otherwise we will
  14393. get stuck in a loop.
  14394. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  14395. * LinkLabel.cs: Fix typo, bug #74719; patch
  14396. from Borja Sanchez Zamorano
  14397. 2005-04-22 Jackson Harper <[email protected]>
  14398. * TreeNode.cs: Implement Handle stuff.
  14399. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  14400. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  14401. * DataGridTextBoxColumn.cs: call base constructors, fixes
  14402. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  14403. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  14404. * DataGridTableStyle.cs: implements create default column styles
  14405. * DataGridBoolColumn.cs: which types can handle
  14406. * DataGrid.cs: missing methods, fixes, new functionality
  14407. * DataGridColumnStyle.cs: fixes
  14408. 2005-04-20 Alexander Olk <[email protected]>
  14409. * FolderBrowserDialog.cs:
  14410. - Use a thread to fill the TreeView
  14411. - Adjusted some sizes
  14412. 2005-04-19 Peter Bartok <[email protected]>
  14413. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  14414. property. Fixes #74360.
  14415. 2005-04-19 Jackson Harper <[email protected]>
  14416. * XEventQueue.cs: Lock when getting the lockqueue size.
  14417. * PictureBox.cs: Call base OnPaint
  14418. 2005-04-19 Peter Bartok <[email protected]>
  14419. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  14420. messages were no longer being processed (this broke BeginInvoke)
  14421. 2005-04-18 Jackson Harper <[email protected]>
  14422. * TreeView.cs: buglet that caused node images to get drawn
  14423. regardless of whether or not they were in the clipping rectangle.
  14424. 2005-04-18 Jackson Harper <[email protected]>
  14425. * CurrencyManager.cs: There are four rules for GetItemProperties:
  14426. - If the type is an array use the element type of the array
  14427. - If the type is a typed list, use the type
  14428. - If the list contains an Item property that is not an object, use
  14429. that property
  14430. - use the first element of the list if there are any elements in
  14431. the list.
  14432. 2005-04-17 Jackson Harper <[email protected]>
  14433. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  14434. click. This handles offsets for scrolling properly and reduces
  14435. memory. Also fixed GetNode to not offset now that TopNode works
  14436. properly.
  14437. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  14438. 2005-04-17 Jackson Harper <[email protected]>
  14439. * CursorConverter.cs: Initial implementation.
  14440. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14441. * ListControl.cs: work towards complex data binding support on ListControl
  14442. * CurrencyManager.cs: work towards complex data binding support on ListControl
  14443. * ListBox.cs: work towards complex data binding support on ListControl
  14444. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14445. * GridTableStylesCollection.cs: fixes name and constructor
  14446. * DataGridTableStyle.cs: fixes
  14447. * DataGridBoolColumn.cs: fixes names and constructors
  14448. * DataGrid.cs: define methods and properties. Some init implementations
  14449. * DataGridCell.cs: define methods and properties. Some init implementations
  14450. * GridTablesFactory.cs: Define methods and properties
  14451. 2005-04-15 Geoff Norton <[email protected]>
  14452. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  14453. graphics port changes. We still want the coordinates in global screen
  14454. coordinates.
  14455. 2005-04-14 Jackson Harper <[email protected]>
  14456. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  14457. check plus minus or checkbox clicks unless those features are enabled.
  14458. 2005-04-14 Jackson Harper <[email protected]>
  14459. * TreeView.cs: Add methods for setting the top and bottom visible
  14460. nodes. TreeNode::EnsureVisible uses these methods.
  14461. * TreeNode.cs: Implement EnsureVisible
  14462. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  14463. * Form.cs: Pospone menu assignation if the window has not been created yet
  14464. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  14465. size and position
  14466. 2005-04-12 Jackson Harper <[email protected]>
  14467. * TreeView.cs: Set the TopNode properly when scrolling
  14468. occurs. This has the added benifit of reducing the amount of
  14469. walking that needs to be done when drawing. Also removed an old
  14470. misleading TODO.
  14471. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  14472. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  14473. * Timer.cs: fixes interval setting when the timer is already enabled
  14474. 2005-04-10 Alexander Olk <[email protected]>
  14475. * FolderBrowserDialog.cs: First approach
  14476. 2005-04-09 Peter Bartok <[email protected]>
  14477. * FolderBrowserDialog: Added
  14478. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  14479. * LinkLabel.cs: move drawing code into the theme
  14480. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  14481. * Theme.cs: define DrawLinkLabel method
  14482. 2005-04-05 Jackson Harper <[email protected]>
  14483. * BindingContext.cs: Use weak references so these bad actors don't
  14484. stay alive longer then they need to.
  14485. 2005-04-05 Jackson Harper <[email protected]>
  14486. * ListControl.cs: Basic implementation of complex databinding.
  14487. * ComboBox.cs:
  14488. * ListBox.cs: Add calls to ListControl databinding methods.
  14489. 2005-04-05 Alexander Olk <[email protected]>
  14490. * FileDialog.cs:
  14491. - Don't change PopupButtonState to Normal when the
  14492. PopupButton gets pressed several times.
  14493. - Renamed ButtonPanel to PopupButtonPanel
  14494. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  14495. * ColorDialog.cs: Use cached objects instead of creating them
  14496. * LinkLabel.cs: Use cached objects instead of creating them
  14497. * Splitter.cs: Use cached objects instead of creating them
  14498. * FontDialog.cs: Use cached objects instead of creating them
  14499. * PropertyGridView.cs: Use cached objects instead of creating them
  14500. * MessageBox.cs: Use cached objects instead of creating them
  14501. * FileDialog.cs: Use cached objects instead of creating them
  14502. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  14503. * TreeView.cs: Use cached objects instead of creating them
  14504. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  14505. * Control.cs: use Equals to compare the font since no == op
  14506. * ScrollBar.cs: use Equals to compare the font since no == op
  14507. 2005-04-04 Alexander Olk <[email protected]>
  14508. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  14509. 2005-04-01 Jackson Harper <[email protected]>
  14510. * Binding.cs: Implement IsBinding.
  14511. * BindingManagerBase.cs:
  14512. * PropertyManager.cs:
  14513. * CurrencyManager.cs: Add IsSuspended property.
  14514. 2005-04-01 Jackson Harper <[email protected]>
  14515. * Binding.cs: Had some IsAssignableFrom calls backwards.
  14516. 2005-04-01 Jackson Harper <[email protected]>
  14517. * Binding.cs: Handle null data members when pulling data.
  14518. * PropertyManager.cs: Handle the data member being a property that
  14519. does not exist.
  14520. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  14521. * DataGridTextBoxColumn.cs: fixes signature
  14522. * DataGrid.cs: calls right constructor
  14523. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  14524. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  14525. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  14526. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  14527. * DataGridTableStyle.cs: implements DataGridTableStyle
  14528. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  14529. * DataGridTextBox.cs: implements DataGridTextBox
  14530. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  14531. 2005-03-31 Alexander Olk <[email protected]>
  14532. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  14533. 2005-03-29 Peter Bartok <[email protected]>
  14534. * Application.cs:
  14535. - Properly implemented CompanyName property
  14536. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  14537. returns a path that includes CompanyName, ProductName and
  14538. Version (fixes bug #70330)
  14539. 2005-03-29 Stefan Buehler <[email protected]>
  14540. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  14541. fixes bug #72588.
  14542. 2005-03-28 Alexander Olk <[email protected]>
  14543. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  14544. - Added ReadOnly CheckBox
  14545. - Further refactoring: moved some code from Open-/SaveFileDialog
  14546. to FileDialog
  14547. 2005-03-28 Alexander Olk <[email protected]>
  14548. * OpenFileDialog.cs: Fixed CheckFileExists
  14549. * FileDialog.cs:
  14550. Moved FileView and DirComboBox outside FileDialog class.
  14551. They can now be used outside FileDialog
  14552. 2005-03-27 Alexander Olk <[email protected]>
  14553. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  14554. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  14555. 2005-03-27 Alexander Olk <[email protected]>
  14556. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  14557. - Added missing CreatePrompt property in SaveDialog
  14558. - Overall SaveDialog handling should be better now
  14559. - Added non standard ShowHiddenFiles property
  14560. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  14561. - Added InitialDirectory and RestoreDirectory support
  14562. 2005-03-26 Alexander Olk <[email protected]>
  14563. * FileDialog.cs: Made dirComboBox usable
  14564. 2005-03-24 Alexander Olk <[email protected]>
  14565. * FileDialog.cs: Added Filter support (case sensitiv)
  14566. 2005-03-24 Jackson Harper <[email protected]>
  14567. * TabControl.cs: Need a couple more pixels for the lines.
  14568. 2005-03-23 Jackson Harper <[email protected]>
  14569. * TabControl.cs: Give the tab page focus when it is selected.
  14570. 2005-03-23 Jackson Harper <[email protected]>
  14571. * TabControl.cs: Account for the drawing of tabs borders when
  14572. invalidating. If the slider was clicked dont do click detection on
  14573. the tabs.
  14574. 2005-03-23 Jackson Harper <[email protected]>
  14575. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  14576. 2005-03-22 Jonathan Chambers <[email protected]>
  14577. * CategoryGridEntry.cs: Added
  14578. * GridItem.cs: Added helper properties
  14579. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  14580. * GridEntry.cs: Updated code for collection
  14581. * PropertyGrid.cs: Cleaned up some formatting
  14582. * PropertyGridView.cs: Added drop down functionality for enums.
  14583. * GridItemCollection.cs: Added enumerator logic
  14584. * PropertyGridEntry.cs: Added
  14585. 2005-03-19 Alexander Olk <[email protected]>
  14586. * FileDialog.cs:
  14587. - Removed unnecessary commented code
  14588. - Fixed handling for entering the filename manually in the combobox
  14589. 2005-03-19 Alexander Olk <[email protected]>
  14590. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  14591. 2005-03-18 Peter Bartok <[email protected]>
  14592. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  14593. them being touching the border
  14594. 2005-03-18 Peter Bartok <[email protected]>
  14595. * TextControl.cs: Quick hack to center text better
  14596. 2005-03-18 Peter Bartok <[email protected]>
  14597. * ControlPaint.cs:
  14598. - Don't throw NotImplemented exceptions, just print a notice once
  14599. instead (requested by Miguel). This makes running existing SWF
  14600. apps a bit easier
  14601. * Control.cs:
  14602. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  14603. - Added context menu trigger on right click
  14604. * Panel.cs: Trigger invalidate on resize
  14605. * StatusBar.cs:
  14606. - Removed old double-buffer drawing
  14607. - Added ResizeRedraw style to force proper update of statusbar
  14608. * ListView.cs:
  14609. - Removed debug output
  14610. * ThemeWin32Classic.cs:
  14611. - Fixed drawing of status bar, now draws Text property if there
  14612. are no defined panels
  14613. 2005-03-18 Jackson Harper <[email protected]>
  14614. * ImageList.cs: When the image stream is set pull all the images
  14615. from it.
  14616. * ImageListStreamer.cs: Implement reading image list streams.
  14617. 2005-03-18 Peter Bartok <[email protected]>
  14618. * ThemeWin32Classic.cs (DrawPictureBox):
  14619. - Fixed calculations for centered drawing
  14620. - Fixed drawing for normal mode, not scaling the image on normal
  14621. 2005-03-18 Peter Bartok <[email protected]>
  14622. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  14623. textbox
  14624. * FileDialog.cs:
  14625. - Made Open/Save button the accept button for FileDialog
  14626. - Tied the cancel button to the IButtonControl cancel button
  14627. - Save/Open now properly builds the pathname
  14628. - Now handles user-entered text
  14629. - Preventing crash on right-click if no item is selected
  14630. - Fixed Text property, now uses contents of textbox
  14631. - Fixed SelectedText property, now just returns the text part that
  14632. is selected in the text box
  14633. 2005-03-18 Jackson Harper <[email protected]>
  14634. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  14635. rect, make sure to de-adjust the interior rect after drawing the
  14636. tab text.
  14637. 2005-03-18 Peter Bartok <[email protected]>
  14638. * MenuAPI.cs: Remove menu *before* executing selected action to
  14639. prevent the menu from 'hanging around'
  14640. 2005-03-17 Geoff Norton <[email protected]>
  14641. * XplatUIOSX.cs: Implemented WorkingArea property
  14642. 2005-03-17 Peter Bartok <[email protected]>
  14643. * XplatUIX11.cs: Fixed menu coord calculations
  14644. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  14645. for calculating offsets
  14646. 2005-03-17 Peter Bartok <[email protected]>
  14647. * Hwnd.cs: Do not consider menu presence for default client
  14648. rectangle location/size
  14649. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  14650. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  14651. translation functions
  14652. * FileDialog.cs: Fixed (what I presume is a) typo
  14653. 2005-03-17 Jonathan Gilbert <[email protected]>
  14654. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  14655. X access (avoids X-Async errors)
  14656. 2005-03-16 Jackson Harper <[email protected]>
  14657. * TabControl.cs: Raise the SelectedIndexChanged event.
  14658. 2005-03-16 Alexander Olk <[email protected]>
  14659. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  14660. - Removed vertical ToolBar and replaced it with a custom panel
  14661. (desktop and home button already work)
  14662. - Added Help button (some controls get resized or relocated then)
  14663. - Draw correct text depending on Open or Save.
  14664. - Fixed some typos...
  14665. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  14666. * ScrollBar.cs:
  14667. - Only change Maximum and Minimum when need it (bug fix)
  14668. 2005-03-15 Peter Bartok <[email protected]>
  14669. * Form.cs: Use Handle for icon, to trigger creation if
  14670. the window does not yet exist
  14671. * Control.cs:
  14672. - CanSelect: Slight performance improvement
  14673. - Focus(): Preventing possible recursion
  14674. - Invalidate(): Removed ControlStyle based clear flag setting
  14675. - WM_PAINT: fixed logic for calling OnPaintBackground
  14676. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  14677. EraseWindowBackground if the control doesn't paint background
  14678. * XplatUIWin32.cs:
  14679. - Moved EraseWindowBackground() method to internal methods
  14680. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  14681. is sent via SendMessage on BeginPaint call on Win32
  14682. * XplatUIX11.cs:
  14683. - Added EraseWindowBackground() method
  14684. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  14685. PaintEventStart, which more closely matches Win32 behaviour
  14686. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  14687. - Fixed SetFocus() to properly deal with client and whole windows
  14688. * Hwnd.cs: Added ErasePending property
  14689. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  14690. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  14691. 2005-03-12 Geoff Norton <[email protected]>
  14692. * XplatUIOSX.cs:
  14693. - Fix hard loop when timers exist.
  14694. - Fix bugs with middle and right click for 3 button mice.
  14695. 2005-03-11 Peter Bartok <[email protected]>
  14696. * XplatUIX11.cs:
  14697. - get_WorkingArea: Need to call X directly, GetWindowPos only
  14698. returns cached data now
  14699. - Added sanity check to GetWindowPos hwnd usage
  14700. 2005-03-11 Jackson Harper <[email protected]>
  14701. * BindingManagerBase.cs: This method isn't used anymore as
  14702. PullData now updates the data in the control.
  14703. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  14704. * Form.cs: fixes menu drawing on X11
  14705. * MenuAPI.cs: fixes menu drawing on X11
  14706. 2005-03-11 Peter Bartok <[email protected]>
  14707. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  14708. from Jonathan Gilbert; should fix bug #73606
  14709. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  14710. in Screen coordinates. Thanks, Jordi.
  14711. * Form.cs: Added missing attribute
  14712. 2005-03-11 Peter Bartok <[email protected]>
  14713. * Form.cs:
  14714. - Rudimentary Mdi support
  14715. - Removed outdated FormParent code
  14716. - Implemented lots of missing properties and methods, still missing
  14717. transparency support
  14718. - Added missing attributes
  14719. - Implemented support for MaximumBounds
  14720. - Added firing of various events
  14721. * XplatUI.cs: Added SetIcon() method
  14722. * XplatUIDriver.cs: Added SetIcon() abstract
  14723. * XplatUIOSX.cs: Stubbed out SetIcon() method
  14724. * XplatUIX11.cs:
  14725. - Implemented SetIcon() support
  14726. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  14727. - Switched to unix line endings
  14728. * XplatUIWin32.cs:
  14729. - Made POINT internal so for can access it as part of MINMAX
  14730. - Implemented SetIcon() support
  14731. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  14732. native Mdi support again, might have to go managed)
  14733. * Control.cs: Now fires the StyleChanged event
  14734. * MdiClient.cs: Added; still mostly empty
  14735. 2005-03-10 Peter Bartok <[email protected]>
  14736. * SaveFileDialog.cs: Added emtpy file
  14737. 2005-03-08 Peter Bartok <[email protected]>
  14738. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  14739. in turn triggers OnCreateContro) when creating a handle for the
  14740. first time.
  14741. * TextControl.cs: Fixed endless loop in certain cases when
  14742. replacing the current selection
  14743. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  14744. * ScrollBar.cs:
  14745. - Honors NewValue changes in Scroll events allowing apps to change it
  14746. - Adds First and Last Scroll events
  14747. - Fixes Thumb events
  14748. 2005-03-07 Peter Bartok <[email protected]>
  14749. * Hwnd.cs: Added DefaultClientRectangle property
  14750. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  14751. more detailed debug information
  14752. * XplatUIX11.cs:
  14753. - Fixed size-change feedback loop, where we would pull an old size
  14754. off the queue and mistakenly change our window's size to an
  14755. earlier value
  14756. - Now compressing ConfigureNotify events, to reduce looping and
  14757. redraw issues
  14758. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  14759. is called
  14760. 2005-03-07 Jackson Harper <[email protected]>
  14761. * Binding.cs: Push data pushes from data -> property. Check if the
  14762. property is readonly when attempting to set it.
  14763. 2005-03-07 Jackson Harper <[email protected]>
  14764. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  14765. instead of IsSubclassOf. Pulling data now sets the value on the
  14766. control.
  14767. * PropertyManager.cs:
  14768. * CurrencyManager.cs: Just need to pull data when updating now,
  14769. because PullData will set the value on the control.
  14770. 2005-03-04 Jackson Harper <[email protected]>
  14771. * Binding.cs: Implement data type parsing and converting on pulled
  14772. data. TODO: Are there more ways the data can be converted?
  14773. 2005-03-04 Jackson Harper <[email protected]>
  14774. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  14775. controls Validating method so we can repull the data when the
  14776. control loses focus.
  14777. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  14778. * ColumnHeader.cs:
  14779. - Fixes null string format
  14780. * ListView.cs:
  14781. - Adds enum type checks
  14782. - Fixes redrawing and recalc need after changing some properties
  14783. - Fixes on focus_item set after the event
  14784. - Fixes adding columns after the control has been created
  14785. * ThemeWin32Classic.cs:
  14786. - Fixes CheckBox focus rectangle
  14787. - Fixes ColumnHeader drawing
  14788. 2005-03-03 Jackson Harper <[email protected]>
  14789. * Binding.cs: Bind to <Property>Changed events so we can detect
  14790. when properties are changed and update the data.
  14791. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  14792. * ImageList.cs:
  14793. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  14794. - Fixes ImageList constructor with ImageList container
  14795. - Fixes image scaling (wrong parameters at DrawImage)
  14796. 2005-02-02 Jackson Harper <[email protected]>
  14797. * Binding.cs: Make property searches case-insensitive. Eliminate
  14798. some duplicated code.
  14799. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  14800. * ComboBox.cs:
  14801. - Handle focus event
  14802. - Fix scrollbar events
  14803. - Discard highlighted item if remove it
  14804. - Fixes SelectedItem with strings
  14805. 2005-03-01 Peter Bartok <[email protected]>
  14806. * Control.cs:
  14807. - Fixed Visible property, now follows (once again) parent chain
  14808. to return false if any control in the chain is visible=false
  14809. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  14810. - Fixed several places where is_visible instead of Visible was used
  14811. - Implemented FIXME related to focus selection when setting focused
  14812. control to be invisible
  14813. * XplatUIWin32.cs: Now using proper method to find out if window is
  14814. visible. Thanks to Jordi for pointing it out
  14815. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  14816. * ComboBox.cs: show/hide scrollbar instead of creating it
  14817. 2005-02-27 Jackson Harper <[email protected]>
  14818. * CurrencyManager.cs: Add PositionChanged stuff.
  14819. 2005-02-27 Peter Bartok <[email protected]>
  14820. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  14821. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  14822. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  14823. * XplatUIX11.cs:
  14824. - Implemented GetMenuDC()
  14825. - Implemented GetMenuOrigin()
  14826. - Implemented ReleaseMenuDC()
  14827. - Implemented generation of WM_NCPAINT message
  14828. - Implemented generation and handling of WM_NCCALCSIZE message
  14829. * Form.cs: Added debug helper message for Jordi's menu work
  14830. * Hwnd.cs:
  14831. - Modified ClientRect property; added setter, fixed getter to handle
  14832. setting of ClientRect
  14833. - Added MenuOrigin property
  14834. 2005-02-26 Peter Bartok <[email protected]>
  14835. * XplatUIX11.cs:
  14836. - Destroys the caret if a window that's being destroyed contains it
  14837. - Ignores expose events coming from the X11 queue for windows that
  14838. already are destroyed
  14839. - Now uses the proper variable for handling DestroyNotify, before we
  14840. marked the wrong window as destroyed
  14841. - Improved/added some debug output
  14842. 2005-02-26 Peter Bartok <[email protected]>
  14843. * X11Keyboard.cs: Fixes to work on 64bit systems
  14844. 2005-02-26 Peter Bartok <[email protected]>
  14845. * Control.cs:
  14846. - Now calling OnHandleDestroyed from DestroyHandle()
  14847. instead of Dispose()
  14848. - Removed bogus call to controls.Remove() from DestroyHandle()
  14849. 2005-02-26 Peter Bartok <[email protected]>
  14850. * Control.cs: Properly destroy child windows when our handle is
  14851. destroyed
  14852. 2005-02-25 Peter Bartok <[email protected]>
  14853. * XplatUI.cs:
  14854. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  14855. - Alphabetized Static Methods and Subclasses
  14856. * XplatUIX11.cs:
  14857. - Added XException class to allow custom handling of X11 exceptions
  14858. - Created custom X11 error handler, tied into XException class
  14859. - Added support for MONO_XEXCEPTIONS env var to allow the user
  14860. to either throw an exception on X errors or continue running
  14861. after displaying the error
  14862. - Added handling of DestroyNotify message
  14863. - Added handler for CreateNotify message (still disabled)
  14864. - Improved (tried to at least) Where method to provide file and lineno
  14865. * X11Structs.cs:
  14866. - Added XErrorHandler delegate
  14867. - Added XRequest enumeration (to suppor translation of errors)
  14868. 2005-02-25 Jackson Harper <[email protected]>
  14869. * PropertyManager.cs: Implement editing features
  14870. * CurrencyManager.cs:
  14871. * Binding.cs: First attempt at UpdateIsBinding
  14872. * BindingManagerBase.cs: Call UpdateIsBinding before
  14873. pushing/pulling data.
  14874. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  14875. * MenuAPI.cs: Respect disabled items
  14876. * ThemeWin32Classic.cs
  14877. - Caches ImageAttributes creation for DrawImageDisabled
  14878. - Fixes vertical menu line drawing
  14879. - Draws disabled arrows in disable menu items
  14880. 2005-02-24 Peter Bartok <[email protected]>
  14881. * Hwnd.cs:
  14882. - Added UserData property to allow associating arbitrary objects
  14883. with the handle
  14884. - Fixed leak; now removing Hwnd references from static windows array
  14885. * XplatUIWin32.cs:
  14886. - Fixed Graphics leak in PaintEventEnd
  14887. - Removed usage of HandleData, switched over to Hwnd class
  14888. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  14889. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14890. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  14891. * ScrollBar.cs: Fixes bug
  14892. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  14893. keyboard navigation enhancements
  14894. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14895. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  14896. * GroupBox.cs: Add control styles
  14897. * Label.cs: Add control styles
  14898. * UpDownBase.cs: Add control styles
  14899. * ListBox.cs: Add control styles
  14900. * XplatUIWin32.cs: Fixes wrong parameter order
  14901. 2005-02-23 Chris Bacon <[email protected]>
  14902. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  14903. 2005-02-23 Jackson Harper <[email protected]>
  14904. * PropertyManager.cs: Implement property binding. This doesn't
  14905. seem to work yet though as (I think) there are some bugs in
  14906. System.ComponentModel.PropertyDescriptor.
  14907. * BindingContext.cs: Use new PropertyManager constructor.
  14908. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  14909. * ProgressBar.cs: use clip region in ProgressBar
  14910. * ThemeWin32Classic.cs: use clip region in ProgressBar
  14911. 2004-02-22 Jackson Harper <[email protected]>
  14912. * BindingsCollection.cs: Remove some debug code.
  14913. 2005-02-22 Jackson Harper <[email protected]>
  14914. * BindingContext.cs:
  14915. * ControlBindingsCollection.cs:
  14916. * CurrencyManager.cs:
  14917. * Binding.cs:
  14918. * BindingManagerBase.cs: Initial implementation
  14919. * BindingsCollection.cs: Add an internal contains method that the
  14920. BindingManagerBase uses to ensure bindings aren't added twice to
  14921. the collection.
  14922. * PropertyManager.cs: Stubbed out.
  14923. * Control.cs:
  14924. * ContainerControl.cs: Hook up databinding
  14925. 2005-02-22 Geoff Norton <[email protected]>
  14926. * XplatUIOSX.cs:
  14927. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  14928. Fixed Invalidate/Update chain.
  14929. Fixed tons of other minor bugs (this is almost a complete rewrite).
  14930. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  14931. * ComboBox.cs: do subcontrol creation when the control is created
  14932. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14933. * Label.cs: fixes image drawing (image and imagelist)
  14934. * ThemeWin32Classic.cs: cache brushes
  14935. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14936. * Form.cs: Move menu drawing code to Theme class
  14937. * ComboBox.cs: Move ComboBox drawing code to Theme class
  14938. * MenuItem.cs: Move menu drawing code to Theme class
  14939. * MenuAPI.cs: Move menu drawing code to Theme class
  14940. * ThemeWin32Classic.cs: New methods
  14941. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  14942. * ListBox.cs: Move Listbox drawing code to Theme class
  14943. * Theme.cs: New methods
  14944. 2005-02-20 Peter Bartok <[email protected]>
  14945. * Control.cs:
  14946. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  14947. only process mnemonics on those)
  14948. - Fixed event sequence for key handling; first calling
  14949. ProcessKeyEventArgs now
  14950. * TextBoxBase.cs:
  14951. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  14952. for processing non-character keys
  14953. - Fixed WM_CHAR to generate proper event sequence before processing
  14954. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  14955. generation
  14956. 2005-02-19 Peter Bartok <[email protected]>
  14957. * UserControl.cs: Added TextChanged event; added attributes
  14958. * SizeGrip.cs: Implemented resizing and optional display of grip
  14959. * Form.cs: Fixed attribute
  14960. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  14961. Changed meaning of ScrollWindow bool argument; instead of the
  14962. clear attribute (which will be true usually anyway), it gives the
  14963. option of moving child controls as well.
  14964. * XplatUIX11.cs:
  14965. - Changed to match new ScrollWindow argument
  14966. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  14967. now handles the implicit parent window a WM puts around us
  14968. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  14969. to work)
  14970. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  14971. * TreeView.cs: Adjusted to new ScrollWindow arguments
  14972. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14973. * Form.cs: Menu integration with non-client area
  14974. * MenuItem.cs: Menu integration with non-client area
  14975. * MenuAPI.cs: Menu integration with non-client area
  14976. 2005-02-18 Peter Bartok <[email protected]>
  14977. * MethodInvoker.cs: Added
  14978. * MdiLayout.cs: Added
  14979. * SendKeys.cs: Started implementation
  14980. * ErrorIconAlignment.cs: Added
  14981. 2005-02-18 Peter Bartok <[email protected]>
  14982. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  14983. * Form.cs: Added handling for Menu-related Non-client messages
  14984. 2005-02-17 Peter Bartok <[email protected]>
  14985. * UpDownBase.cs: Fixed typo, compilation errors
  14986. * DomainUpDown.cs: Fixed attribute value
  14987. 2005-02-16 Miguel de Icaza <[email protected]>
  14988. * UpDownBase.cs: Attach entry events.
  14989. Propagate events.
  14990. Add ForeColor property, Focused, InterceptArrowKeys (interception
  14991. does not work yet).
  14992. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  14993. * Form.cs:
  14994. - Redraw non client are on Setmenu
  14995. - Calc proper menu starting point
  14996. 2005-02-17 Peter Bartok <[email protected]>
  14997. * Application.cs: Fixed message_filter check
  14998. 2005-02-17 Peter Bartok <[email protected]>
  14999. * Application.cs: Now calls registered message filters
  15000. * DockStyle.cs: Fixed attribute
  15001. * Form.cs: Fixed attribute
  15002. * Menu.cs: Fixed attribute
  15003. * ToolTip.cs: Fixed attribute
  15004. * TreeNode.cs: Added missing attributes and arranged in regions
  15005. * PropertyGrid.cs: Fixed signatures
  15006. * TreeNodeCollection.cs: Added attributes
  15007. * Splitter.cs: Added missing attributes; arranged into regions
  15008. * TabPage.cs: Added missing attributes; arranged into regions
  15009. * TextBoxBase.cs: Added missing attributes
  15010. * TextBox.cs: Added missing attributes
  15011. * ArrangeDirection.cs: Added missing attributes
  15012. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  15013. * ToolBarButton.cs: Fixed attributes
  15014. * AnchorStyles.cs: Fixed attribute
  15015. * TrackBar.cs: Fixed attributes
  15016. * TabControl.cs: Added missing attributes and arranged into regions
  15017. * ToolBar.cs: Fixed attribute
  15018. * StatusBar.cs: Fixed signature, organized into regions and added
  15019. attributes
  15020. * StatusBarPanel.cs: Fixed attributes
  15021. * ContentsResizedEventArgs.cs: Implemented
  15022. * ContentsResizedEventHandler.cs: Implemented
  15023. * DateBoldEventArgs.cs: Implemented
  15024. * DateBoldEventHandler.cs: Implemented
  15025. * UpDownEventArgs.cs: Implemented
  15026. * UpDownEventHandler.cs: Implemented
  15027. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  15028. * Form.cs: first Menu NC refactoring
  15029. * MenuAPI.cs: first Menu NC refactoring
  15030. 2005-02-16 Peter Bartok <[email protected]>
  15031. * ImeMode.cs: Added missing attributes
  15032. * Menu.cs: Fixed attribute
  15033. * GroupBox.cs: Fixed attribute
  15034. * Label.cs: Fixed attribute
  15035. * ColorDialog.cs (RunDialog): Removed TODO attribute
  15036. * ComboBox.cs: Fixed attributes
  15037. * ListControl.cs: Added missing attributes
  15038. * PropertyGrid.cs: Fixed attributes
  15039. * Control.cs: Fixed attributes
  15040. * ListViewItem.cs: Added TypeConverter attribute
  15041. * NotifyIcon.cs: Fixed attributes
  15042. * ListView.cs: Fixed attributes
  15043. * ButtonBase.cs: Fixed attribute
  15044. * ImageList.cs: Added missing attributes
  15045. * ContainerControl.cs: Fixed signature
  15046. * CheckedListBox.cs: Fixed attribute; added missing attributes
  15047. * Panel.cs: Fixed attributes
  15048. * PropertyTabChangedEventArgs.cs: Added missing attribute
  15049. * PropertyValueChangedEventArgs.cs: Added missing attribute
  15050. * Binding.cs: Fixed attribute
  15051. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  15052. * ListBox.cs: Fixed attribute; added missing attributes;
  15053. * ScrollableControl.cs: Added missing attributes
  15054. * PictureBox.cs: Added missing attributes; implemented missing property
  15055. * DateTimePicker.cs: Added missing attributes
  15056. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  15057. * MonthCalendar.cs: Fixed attributes
  15058. * StatusBarPanel.cs: Added missing attributes
  15059. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  15060. 2005-02-16 Peter Bartok <[email protected]>
  15061. * TextBoxBase.cs: The previous method to enforce height yet remember
  15062. the requested high was less than ideal, this is an attempt to do
  15063. it better.
  15064. * Control.cs: Added comment about possible problem
  15065. * Copyright: Updated format
  15066. * GridItemType.cs: Fixed swapped values
  15067. 2005-02-15 Jackson Harper <[email protected]>
  15068. * BaseCollection.cs: Use property so we never access an
  15069. uninitialized list. Also initialize the list in the property.
  15070. 2005-02-15 Peter Bartok <[email protected]>
  15071. * GroupBox.cs (ProcessMnemonic): Implemented
  15072. * Label.cs (ProcessMnemonic): Implemented
  15073. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  15074. hotkeys
  15075. 2005-02-15 Peter Bartok <[email protected]>
  15076. * RadioButton.cs (ProcessMnemonic): Implemented
  15077. * CheckBox.cs (ProcessMnemonic): Implemented
  15078. * Control.cs:
  15079. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  15080. handling
  15081. - Added internal method to allow calling ProcessMnemonic from other
  15082. controls
  15083. * ContainerControl.cs:
  15084. - Started support for handling validation chain handling
  15085. - Implemented ProcessMnemonic support
  15086. - Added Select() call to Active, to make sure the active control
  15087. receives focus
  15088. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  15089. FormParent rewrite)
  15090. * ThemeWin32Classic.cs:
  15091. - DrawCheckBox(): Fixed stringformat to show hotkeys
  15092. - DrawRadioButton(): Fixed stringformat to show hotkeys
  15093. * CommonDialog.cs: Removed WndProc override, not needed
  15094. 2005-02-14 Peter Bartok <[email protected]>
  15095. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  15096. missed those in the rewrite
  15097. 2005-02-14 Miguel de Icaza <[email protected]>
  15098. * NumericUpDown.cs (Increment, ToString): Add.
  15099. (DecimalPlaces): implement.
  15100. Add attributes.
  15101. * UpDownBase.cs: Add the designer attributes.
  15102. 2005-02-13 Peter Bartok <[email protected]>
  15103. * Panel.cs: Removed border_style, now in Control
  15104. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  15105. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  15106. 2005-02-13 Peter Bartok <[email protected]>
  15107. * MouseButtons.cs: Added missing attributes
  15108. * XplatUIStructs.cs: Added enumeration for title styles
  15109. * LeftRightAlignment.cs: Added missing attributes
  15110. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  15111. it compatible with Graphics.FromHwnd()
  15112. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  15113. * Keys.cs: Added missing attributes
  15114. * SelectionRange.cs: Added missing attributes
  15115. * SelectionRangeConverter.cs: Added
  15116. * XplatUI.cs:
  15117. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  15118. ReleaseMenuDC methods
  15119. - Renamed ReleaseWindow to UngrabWindow
  15120. - Added proper startup notice to allow version identification
  15121. * Form.cs:
  15122. - Added missing attributes
  15123. - Removed FormParent concept
  15124. * Label.cs: Removed border_style field, now in Control
  15125. * RadioButton.cs: Now properly selects RadioButton when focus is
  15126. received
  15127. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  15128. * Control.cs:
  15129. - Added missing attributes
  15130. - Added borderstyle handling
  15131. - Removed FormParent concept support
  15132. - Fixed calls to XplatUI to match changed APIs
  15133. - Fixed bug that would case us to use disposed Graphics objects
  15134. - Removed unneeded internal methods
  15135. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  15136. - SelectNextControl(): Fixed to properly check common parents
  15137. * TextBoxBase.cs: Removed border_style field (now in Control)
  15138. * MessageBox.cs:
  15139. - Patch by Robert Thompson ([email protected]): Added icon support,
  15140. fixed calculations for form size
  15141. - Added support for localized strings and icons
  15142. - Improved form size calculations, added border
  15143. * ListView.cs: Removed border_style field (now in Control)
  15144. * X11Structs.cs: Moved several structs from X11 driver here
  15145. * X11Keyboard.cs: Changed debug message
  15146. * Application.cs: Removed FormParent concept support
  15147. * CommonDialog.cs:
  15148. - Resetting end_modal flag
  15149. - Removed FormParent concept support
  15150. * NativeWindow.cs: Removed FormParent concept support
  15151. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  15152. Client area and Non-Client whole window to allow support for WM_NC
  15153. messages
  15154. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  15155. prevent using it until it supports Hwnd as per Geoff Norton's request
  15156. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  15157. * PictureBox.cs: Removed border_style field, now in Control
  15158. * XplatUIWin32.cs: Added new driver methods
  15159. 2005-02-12 Peter Bartok <[email protected]>
  15160. * OpacityConverter.cs: Implemented
  15161. * Hwnd.cs: Internal class to support drivers that need to emulate
  15162. client area/non-client area window behaviour
  15163. 2005-02-11 Peter Bartok <[email protected]>
  15164. * KeysConverter.cs: Implemented
  15165. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  15166. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  15167. * LinkLabel: Added missing attributes
  15168. * MainMenu.cs: fixes ToString
  15169. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  15170. * ListBox.cs: fixes event position
  15171. * TrackBar.cs: adds missing attributes and events
  15172. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  15173. * MenuItem.cs: Use SystemInformation and bug fixes
  15174. * MenuAPI.cs: Use SystemInformation and bug fixes
  15175. 2005-02-09 Jackson Harper <[email protected]>
  15176. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  15177. their keystate otherwise things like VK_MENU get stuck "on".
  15178. 2005-02-09 Kazuki Oikawa <[email protected]>
  15179. * ListBox.cs: Fixes AddRange bug
  15180. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  15181. * ProgressBar.cs
  15182. - Add missing attributes
  15183. - Add missing method
  15184. * CheckedListBox.cs: Added missing attributes
  15185. - Add missing attributes
  15186. - Remove extra method
  15187. * ComboBox.cs: Added missing attributes
  15188. * VScrollBar.cs: Added missing attributes
  15189. * ScrollBar.cs: Added missing attributes
  15190. * ListBox.cs: Fixes signature, add missing consts
  15191. * LinkArea.cs: Added missing attributes
  15192. 2005-02-08 Peter Bartok <[email protected]>
  15193. * Menu.cs: Added missing attributes
  15194. * MainMenu.cs: Added missing attributes
  15195. * GroupBox.cs: Added missing attributes
  15196. * Label.cs: Added missing attributes
  15197. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  15198. * ColorDialog.cs:
  15199. - Added Instance and Options properties
  15200. - Added missing attributes
  15201. * Cursor.cs: Made Serializable
  15202. * NotifyIcon: Added missing attributes
  15203. * MenuItem.cs: Added missing attributes
  15204. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  15205. * Panel.cs: Added Missing attributes
  15206. * MonthCalendar.cs: Fixed CreateParams
  15207. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15208. * LinkLabel.cs:
  15209. - Fixes signature
  15210. - Fixes issues with links
  15211. - Adds the class attributes
  15212. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15213. * ComboBox.cs:
  15214. - Fixes button when no items available in dropdown
  15215. - Fixes repainting problems
  15216. - Adds the class attributes
  15217. 2005-02-07 Geoff Norton <[email protected]>
  15218. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  15219. the current theme. Cache these on startup.
  15220. 2005-02-07 Jackson Harper <[email protected]>
  15221. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  15222. the scrollbar buttons when they are depressed.
  15223. 2005-02-07 Geoff Norton <[email protected]>
  15224. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  15225. Get the display size from the main displayid. We currently dont
  15226. support multiple display configurations.
  15227. 2005-02-07 Geoff Norton <[email protected]>
  15228. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  15229. 2005-02-07 Miguel de Icaza <[email protected]>
  15230. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  15231. 2005-02-05 Jonathan Chambers <[email protected]>
  15232. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  15233. 2005-02-04 Jackson Harper <[email protected]>
  15234. * ThemeWin32Classic.cs: Respect the clipping rect when
  15235. drawing. Only fill the intersection of clips and rects so there
  15236. isn't a lot of large fills.
  15237. * ScrollBar.cs: Pass the correct clipping rect to the theme
  15238. engine. Remove some debug code.
  15239. 2005-02-05 John BouAntoun <[email protected]>
  15240. * DateTimePicker.cs:
  15241. - Fixed crash on DateTime.Parse, use Constructor instead
  15242. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15243. * MenuItem.cs:
  15244. * MenuAPI.cs:
  15245. - Owner draw support (MeasureItem and DrawItem)
  15246. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15247. * Menu.cs:
  15248. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  15249. - Fixes MenuItems.Add range
  15250. * MenuItem.cs:
  15251. - MergeMenu and Clone and CloneMenu functions
  15252. 2005-02-03 Jackson Harper <[email protected]>
  15253. * ScrollBar.cs: Make abstract
  15254. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  15255. is abstract.
  15256. 2005-02-03 Jackson Harper <[email protected]>
  15257. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  15258. all the unneeded refreshes and uses invalidates with properly
  15259. computed rects.
  15260. 2005-02-03 Peter Bartok <[email protected]>
  15261. * ComponentModel.cs: Added
  15262. * IDataGridEditingService.cs: Added
  15263. * Timer.cs: Added missing attributes
  15264. * ToolTip.cs: Added missing attributes
  15265. 2005-02-03 Jonathan Chambers <[email protected]>
  15266. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  15267. 2005-02-03 Peter Bartok <[email protected]>
  15268. * ListBox.cs: Added missing attributes
  15269. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  15270. * ListBox.cs:
  15271. - Fixes font height after font change
  15272. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  15273. 2005-02-02 Peter Bartok <[email protected]>
  15274. * HandleData.cs: Introduced static methods to allow class
  15275. to be more self-contained and track it's own HandleData objects
  15276. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  15277. HandleData to use new static methods
  15278. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  15279. * Combobox.cs:
  15280. - Fixes default size and PreferredHeight
  15281. - Missing events
  15282. - ObjectCollection.Insert implementation
  15283. * ListControl.cs
  15284. - Fixes signature
  15285. * ListBox.cs:
  15286. - Several fixes
  15287. - ObjectCollection.Insert implementation
  15288. - No selection after clean
  15289. - Small fixes
  15290. 2005-01-31 John BouAntoun <[email protected]>
  15291. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  15292. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  15293. * Combobox.cs:
  15294. - Caches ItemHeight calculation for OwnerDrawVariable
  15295. - Handles dropdown properly
  15296. - Fixes several minor bugs
  15297. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15298. * ListBox.cs:
  15299. - Fixes 71946 and 71950
  15300. - Fixes changing Multicolumn on the fly
  15301. - Fixes keyboard navigation on Multicolumn listboxes
  15302. 2005-01-31 Geoff Norton <[email protected]>
  15303. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  15304. crash reporter log.
  15305. 2005-01-31 Geoff Norton <[email protected]>
  15306. * XplatUIOSX.cs: Allow applications to actually exit.
  15307. 2005-01-31 Geoff Norton <[email protected]>
  15308. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  15309. their parent at creation time rather than lazily later. Fixes a major
  15310. regression we were experiencing.
  15311. 2005-01-31 John BouAntoun <[email protected]>
  15312. * ThemeWin32Classic.cs: more date time picker painting fixes
  15313. * DateTimePicker.cs: more monthcalendar drop down fixes
  15314. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  15315. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15316. * ScrollBar.cs:
  15317. - When moving the thumb going outside the control should stop the moving
  15318. - Adds the firing of missing events
  15319. - Fixes no button show if Size is not specified
  15320. - End / Home keys for keyboard navigation
  15321. 2005-01-30 Peter Bartok <[email protected]>
  15322. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  15323. sanity check to prevent theoretical loop
  15324. * XplatUIWin32.cs (SetVisible): Removed debug output
  15325. * XplatUIX11.cs (SystrayChange): Added sanity check
  15326. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  15327. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  15328. behaviour, valid until the X11 client window rewrite is done
  15329. * TextBox.cs (ctor): Setting proper default foreground and background
  15330. colors
  15331. 2005-01-30 John BouAntoun <[email protected]>
  15332. * Theme: Added DrawDateTimePicker to interface
  15333. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  15334. * DateTimePicker.cs: Created (still needs keys and painting code)
  15335. * DateTimePickerFormat.cs: added
  15336. * MonthCalendar.cs: fixed CreateParams for popup window mode
  15337. 2005-01-29 Peter Bartok <[email protected]>
  15338. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  15339. this should also the calculations for ligher/darker
  15340. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  15341. 2005-01-29 Peter Bartok <[email protected]>
  15342. * ArrangeDirection.cs: Added
  15343. * ArrangeStartingPositon.cs: Added
  15344. * SystemInformation.cs: Implemented
  15345. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15346. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  15347. used by SystemInformation class
  15348. * X11Strucs.cs: Added XSizeHints structure
  15349. * MenuAPI.cs:
  15350. - Fixed CreateParams to make sure the menu window is always visible
  15351. - TrackPopupMenu: Added check to make sure we don't draw the
  15352. menu offscreen
  15353. 2005-01-29 Peter Bartok <[email protected]>
  15354. * HandleData.cs: Added method for altering invalid area
  15355. * TextBoxBase.cs: Implemented TextLength
  15356. 2005-01-28 Peter Bartok <[email protected]>
  15357. * XplatUIX11.cs: Improvement over last patch, not sending
  15358. the WM_PAINT directly anymore, instead we scroll any pending
  15359. exposed areas and let the system pick out the WM_PAINT later
  15360. 2005-01-28 Peter Bartok <[email protected]>
  15361. * SWF.csproj: Deleted, no longer used. Instead,
  15362. Managed.Windows.Forms/SWF.csproj should be used
  15363. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  15364. directly, to avoid a potential race condition with the next
  15365. scroll
  15366. 2005-01-28 Peter Bartok <[email protected]>
  15367. * XplatUI.cs: Made class internal
  15368. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  15369. * CheckedListBox.cs:
  15370. - Draw focus
  15371. - Fixed Drawing
  15372. - Missing methods and events
  15373. 2005-01-27 Peter Bartok <[email protected]>
  15374. * Application.cs (Run): Don't use form if we don't have one
  15375. 2005-01-27 Peter Bartok <[email protected]>
  15376. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  15377. 2005-01-27 Peter Bartok <[email protected]>
  15378. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  15379. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  15380. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  15381. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  15382. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  15383. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  15384. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15385. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15386. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15387. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15388. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15389. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15390. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15391. * Combobox.cs:
  15392. - Draw focus on Simple Combobox
  15393. - Fixes drawing issues
  15394. - fixes 71834
  15395. 2005-01-27 Peter Bartok <[email protected]>
  15396. * Form.cs:
  15397. - Place window in default location, instead of hardcoded 0/0
  15398. - Send initial LocationChanged event
  15399. * Control.cs:
  15400. - UpdateBounds after creation to find out where the WM placed us
  15401. - Make sure that if the ParentForm changes location the Form
  15402. is notified
  15403. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  15404. to the root, but to whatever the WM placed around us.
  15405. Translate to root coordinates before returning toplevel
  15406. coordinates
  15407. * XplatUIWin32.cs: Removed debug output
  15408. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  15409. flag to GetWindowPos, to allow translation of coordinates on X11
  15410. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15411. * ListBox.cs: connect LostFocus Event
  15412. 2005-01-27 Peter Bartok <[email protected]>
  15413. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15414. XplatUIX11.cs: Extended the Systray API
  15415. * Form.cs: Removed debug output
  15416. * Application.cs: Fixed focus assignment, always need to call
  15417. XplatUI.Activate() since Form.Activate() has rules that may
  15418. prevent activation
  15419. * NotifyIcon.cs: Should be complete now
  15420. * ToolTip.cs: Worked around possible timer bug
  15421. 2005-01-27 Jackson Harper <[email protected]>
  15422. * TabControl.cs:
  15423. - Only invalidate the effected tabs when the
  15424. selected index changes. This reduces drawing and gets rid of some
  15425. flicker.
  15426. - Only refresh if the tabs need to be shifted, otherwise only
  15427. invalidate the slider button.
  15428. - On windows the tabs are not filled to right if the slider is
  15429. visible.
  15430. 2005-01-27 Jackson Harper <[email protected]>
  15431. * TabControl.cs: Only refresh on mouseup if we are showing the
  15432. slider. Also only invalidate the button whose state has changed.
  15433. 2005-01-26 Peter Bartok <[email protected]>
  15434. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  15435. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  15436. and SystrayRemove() methods
  15437. * XplatUIOSX.cs: Stubbed Systray methods
  15438. * XplatUIX11.cs:
  15439. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  15440. methods
  15441. - Fixed broken XChangeProperty calls (marshalling messed up things)
  15442. * X11Structs.cs: Added enums and structs required for Size hinting
  15443. * NotifyIcon.cs: Added & implemented
  15444. 2005-01-26 Jackson Harper <[email protected]>
  15445. * TabControl.cs: Space vertically layed out tabs properly.
  15446. 2005-01-26 Peter Bartok <[email protected]>
  15447. * Form.cs (CreateClientParams): Always set the location to 0,0
  15448. since we're a child window.
  15449. * Control.cs (SetVisibleCore): Always explicitly setting the location
  15450. of a toplevel window, apparently X11 doesn't like to move windows
  15451. while they're not mapped.
  15452. 2005-01-26 Jackson Harper <[email protected]>
  15453. * TabControl.cs: Implement FillToRight size mode with vertically
  15454. rendered tabs.
  15455. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15456. * ControlPaint.cs, ThemeWin32Classic.cs
  15457. - Fixes DrawFocusRectangle
  15458. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15459. * MenuAPI.cs:
  15460. - MenuBar tracking only starts when item is first clicked
  15461. - Fixes menu hidding for multiple subitems
  15462. - Unselect item in MenuBar when item Executed
  15463. - Fixes bug 71495
  15464. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  15465. * ListControl.cs:
  15466. - IsInputKey for ListBox
  15467. * ListBox.cs:
  15468. - Focus item
  15469. - Shift and Control item selection
  15470. - Implement SelectionMode.MultiExtended
  15471. - Fixes RightToLeft
  15472. * ComboBox.cs:
  15473. - IsInputKey implemented
  15474. - Do not generate OnTextChangedEdit on internal txt changes
  15475. 2005-01-23 Peter Bartok <[email protected]>
  15476. * AccessibleObject.cs: Partially implemented Select()
  15477. * MonthCalendar.cs: Added missing attributes and events
  15478. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  15479. form can properly override CreateParams.
  15480. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15481. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  15482. Control performs Invalidate & Update
  15483. * NativeWindow (CreateHandle): Added special handling for Form
  15484. and Form.FormParent classes to allow overriding of From.CreateParams
  15485. * Control.cs:
  15486. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  15487. name 'owner'
  15488. - ControlNativeWindow: Added Owner property
  15489. - Removed usage of Refresh() on property changes, changed into
  15490. Invalidate(), we need to wait until the queue is processed for
  15491. updates, direct calls might cause problems if not all vars for
  15492. Paint are initialized
  15493. - Added call to UpdateStyles() when creating the window, to set any
  15494. styles that CreateWindow might have ignored.
  15495. - Added support for Form CreateParent overrides to UpdateStyles()
  15496. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  15497. CreateParams are now properly overridable
  15498. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  15499. CreateParams are now properly overridable
  15500. 2005-01-23 Miguel de Icaza <[email protected]>
  15501. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  15502. OnTextBoxChanged.
  15503. Capture LostFocus and OnTextBoxChanged. The later introduces a
  15504. recursive invocation that I have not figured out yet.
  15505. Reset the timer when not using (it was accumulating).
  15506. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  15507. user has made changes that require validation.
  15508. Reset changing to avoid loops.
  15509. 2005-01-22 Miguel de Icaza <[email protected]>
  15510. * NumericUpDown.cs: Display value at startup.
  15511. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  15512. ValidateEditText.
  15513. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  15514. filled in. Added some basic parsing of text.
  15515. Still missing the OnXXX method overrides, and figuring out the
  15516. events that must be emitted.
  15517. * UpDownBase.cs: Handle UserEdit on the Text property.
  15518. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  15519. * ComboBox.cs:
  15520. - Fixes IntegralHeight
  15521. - ToString method
  15522. 2005-01-21 Jackson Harper <[email protected]>
  15523. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  15524. is set so that the page visibility is updated and the tabs are
  15525. sized correctly.
  15526. 2005-01-21 Jackson Harper <[email protected]>
  15527. * TabControl.cs: Use cliping rectangle for blitting. Give the
  15528. theme the clipping rect so we can do clipping while
  15529. drawing. Remove some debug code.
  15530. 2005-01-21 Jackson Harper <[email protected]>
  15531. * TabPage.cs: Add a new method so tab pages can force the tab
  15532. control to recalculate the tab page sizes.
  15533. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  15534. sizes.
  15535. 2005-01-20 Jackson Harper <[email protected]>
  15536. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  15537. 2005-01-20 Jackson Harper <[email protected]>
  15538. * TreeView.cs: Set the bounds for nodes properly. They were
  15539. getting screwed up when checkboxes were not enabled, but images
  15540. were.
  15541. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  15542. * ListBox.cs:
  15543. - Owner draw support
  15544. - Fixes
  15545. 2005-01-20 Jackson Harper <[email protected]>
  15546. * XplatUIStructs.cs: More misc keys
  15547. * X11Keyboard.cs: Ignore some control keys.
  15548. 2005-01-20 Jackson Harper <[email protected]>
  15549. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  15550. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  15551. 2005-01-19 Peter Bartok <[email protected]>
  15552. * Control.cs: Un-selecting the control when it is loosing focus
  15553. 2005-01-19 Jackson Harper <[email protected]>
  15554. * TreeView.cs: Hook up to the text controls leave event so we can
  15555. end editing when the users clicks outside the text box.
  15556. 2005-01-19 Jackson Harper <[email protected]>
  15557. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  15558. get set in the conversion array.
  15559. 2005-01-19 Peter Bartok <[email protected]>
  15560. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  15561. focus is properly set
  15562. * Button.cs:
  15563. - Added missing attributes
  15564. - removed styles, those are already set in the base class
  15565. * ButtonBase.cs:
  15566. - Added missing attributes
  15567. - Added clip window styles
  15568. * CheckBox.cs: Added missing attributes
  15569. * CommonDialog.cs:
  15570. - FormParentWindow.CreateParams: Added required clip styles
  15571. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  15572. also filters modifier keys
  15573. * MessageBox.cs:
  15574. - Added assignment of Accept and Cancel button to enable Enter
  15575. and Esc keys in MessageBox dialogs
  15576. - FormParentWindow.CreateParams: Added required clip styles
  15577. * RadioButton.cs: Added missing attributes
  15578. * TextControl.cs: No longer draws selection if control does not
  15579. have focus
  15580. * TextBoxBase.cs:
  15581. - Now draws simple rectangle around test area to make it obvious
  15582. there's a control. This is a hack until we properly support borders
  15583. - A few simple fixes to support selections better, now erases selected
  15584. text when typing, and resets selection when using movement keys
  15585. 2005-01-19 Miguel de Icaza <[email protected]>
  15586. * UpDownBase.cs: Added some new properties.
  15587. * DomainUpDown.cs: Implement a lot to get my test working.
  15588. 2005-01-19 Geoff Norton <[email protected]>
  15589. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  15590. 2005-01-19 Geoff Norton <[email protected]>
  15591. * OSXStructs (WindowAttributes): Fixed csc complaints
  15592. 2005-01-19 Geoff Norton <[email protected]>
  15593. * XplayUIOSX.cs:
  15594. OSXStructs.cs: Initial refactor to move enums and consts into
  15595. OSXStructs and use them in the driver for greater readability.
  15596. 2005-01-19 Geoff Norton <[email protected]>
  15597. * XplatUIOSX.cs: Initial support for Standard Cursors.
  15598. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  15599. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  15600. * ComboBox.cs: ability to change style when the ctrl is already
  15601. created, missing methods and events, bug fixes, signature fixes
  15602. 2005-01-19 Peter Bartok <[email protected]>
  15603. * Cursors.cs (ctor): Added ctor to fix signature
  15604. 2005-01-18 Peter Bartok <[email protected]>
  15605. * Button.cs: Implemented DoubleClick event
  15606. * ButtonBase.cs:
  15607. - Fixed keyboard handling to behave like MS, where the press of
  15608. Spacebar is equivalent to a mousedown, and the key release is
  15609. equivalent to mouseup. Now a spacebar push will give the same
  15610. visual feedback like a mouse click.
  15611. - Added missing attributes
  15612. - Added ImeModeChanged event
  15613. - Added support for generating DoubleClick event for derived classes
  15614. * CheckBox.cs:
  15615. - Implemented DoubleClick event
  15616. - Added missing attributes
  15617. * CommonDialog.cs: Added missing attribute
  15618. * ContextMenu.cs: Added missing attributes
  15619. * RadioButton.cs:
  15620. - AutoChecked buttons do not allow to be unselected when clicked
  15621. (otherwise we might end up with no selected buttons in a group)
  15622. - Added missing attributes
  15623. - Implemented DoubleClickEvent
  15624. * ThreadExceptionDialog.cs: Enabled TextBox code
  15625. 2005-01-18 Peter Bartok <[email protected]>
  15626. * Form.cs: Removed debug output
  15627. * Button.cs: Added support for DoubleClick method
  15628. 2005-01-18 Peter Bartok <[email protected]>
  15629. * Form.cs:
  15630. - Added method to parent window that allows triggering size
  15631. calculations when a menu is added/removed
  15632. - set_Menu: Cleaned up mess from early days of Form and Control,
  15633. now properly triggers a recalc when a menu is added/removed
  15634. - Added case to select form itself as focused form if no child
  15635. controls exist
  15636. - Added PerformLayout call when showing dialog, to ensure properly
  15637. placed controls
  15638. * Control.cs:
  15639. - Select(): Made internal so Form can access it
  15640. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  15641. status
  15642. * Application.cs (Run): Removed hack and calls PerformLayout instead
  15643. to trigger calculation when Form becomes visible
  15644. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  15645. * ComboBox.cs: fixes for ownerdraw
  15646. 2005-01-18 Peter Bartok <[email protected]>
  15647. * TextControl.cs:
  15648. - Sentinel is no longer static, each Document gets it's own, this
  15649. avoids locking or alternatively overwrite problems when more
  15650. than one text control is used simultaneously.
  15651. - Switched to use Hilight and HilightText brushes for text selection
  15652. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  15653. 2005-01-18 Peter Bartok <[email protected]>
  15654. * Control.cs:
  15655. - Hooked up the following events:
  15656. o ControlAdded
  15657. o ControlRemoved
  15658. o HandleDestroyed
  15659. o ImeModeChanged
  15660. o ParentChanged
  15661. o TabStopChanged
  15662. o Invalidated
  15663. o SystemColorsChanged
  15664. o ParentFontChanged
  15665. o Move
  15666. - Removed debug output
  15667. - Added a call to the current theme's ResetDefaults when a color change
  15668. is detected
  15669. * Form.cs: Now setting the proper ImeMode
  15670. * Theme.cs: Defined a method to force recreation of cached resources
  15671. and rereading of system defaults (ResetDefaults())
  15672. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  15673. 2005-01-17 Peter Bartok <[email protected]>
  15674. * Control.cs: Added missing attributes
  15675. 2005-01-17 Jackson Harper <[email protected]>
  15676. * TreeNode.cs: Implement editing. Add missing properties selected
  15677. and visible.
  15678. * TreeView.cs: Implement node editing. Also some fixes to use
  15679. Invalidate (invalid area) instead of Refresh when selecting.
  15680. 2005-01-17 Peter Bartok <[email protected]>
  15681. * Control.cs:
  15682. - Implemented InvokeGotFocus() method
  15683. - Implemented InvokeLostFocus() method
  15684. - Implemented InvokePaint() method
  15685. - Implemented InvokePaintBackground() method
  15686. - Implemented InvokeClick() method
  15687. - Implemented FindForm() method
  15688. - Implemented RectangleToClient() method
  15689. - Implemented ClientToRectangle() method
  15690. - Implemented ResetBackColor() method
  15691. - Implemented ResetCursor() method
  15692. - Implemented ResetFont() method
  15693. - Implemented ResteForeColor() method
  15694. - Implemented ResetImeMode() method
  15695. - Implemented ResetLeftToRight() method
  15696. - Implemented ResetText() method
  15697. - Implemented Scale() methods
  15698. - Implemented ScaleCore() method
  15699. - Implemented Update() method
  15700. - Removed unused variables
  15701. - Stubbed AccessibilityNotifyClients and
  15702. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  15703. with those yet)
  15704. - Now setting proper default for RightToLeft property
  15705. - Fixed bug in SetClientSizeCore that would cause windows to get
  15706. really big
  15707. - Now sending Click/DoubleClick events
  15708. - Now selecting controls when left mouse button is clicked on
  15709. selectable control
  15710. * AccessibleEvents.cs: Added
  15711. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  15712. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  15713. * XplatUIWin32.cs: Implemented UpdateWindow() method
  15714. * XplatUIX11.cs: Implemented UpdateWindow() method
  15715. * Form.cs: Removed stray semicolon causing CS0162 warning
  15716. * ThemeWin32Classic.cs: Fixed unused variable warnings
  15717. * ScrollableControl.cs: Now calls base method for ScaleCore
  15718. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  15719. style to avoid interference with internal click handler (which is
  15720. different than standard Control click handling)
  15721. * RadioButton.cs:
  15722. - Now unchecks all sibling radio buttons when control is
  15723. selected (Fixes #68756)
  15724. - Removed internal tabstop variable, using the one inherited from
  15725. Control
  15726. 2005-01-17 Jackson Harper <[email protected]>
  15727. * NavigateEventArgs.cs: Fix base type.
  15728. * LinkLabel.cs: Sig fix
  15729. 2005-01-17 Jackson Harper <[email protected]>
  15730. * TreeView.cs: Only invalidate the effected nodes bounds when
  15731. selecting nodes.
  15732. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15733. * XplatUIWin32.cs: fixes Win32 marshaling
  15734. * XplatUIX11.cs: fixes method signature
  15735. 2005-01-17 Peter Bartok <[email protected]>
  15736. * XplatUIX11.cs: Clean up resources when we no longer need them
  15737. 2005-01-17 Peter Bartok <[email protected]>
  15738. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  15739. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  15740. and DestroyCursor() methods.
  15741. * Cursor.cs: Partially implemented, now supports standard cursors;
  15742. still contains some debug code
  15743. * Cursors.cs: Implemented class
  15744. * Control.cs:
  15745. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  15746. appropriate cursor
  15747. - Implemented Cursor property
  15748. - Replaced break; with return; more straightforwar and possibly
  15749. faster
  15750. - Now properly setting the result for WM_HELP
  15751. * X11Structs.cs: Added CursorFontShape enum
  15752. * XplatUIStructs.cs:
  15753. - Added StdCursor enum (to support DefineStdCursor() method)
  15754. - Added HitTest enum (to support sending WM_SETCURSOR message)
  15755. * XplatUIX11.cs:
  15756. - Now sends the WM_SETCURSOR message
  15757. - Implemented new cursor methods
  15758. * XplatUIOSX.cs: Stubbed new cursor methods
  15759. * XplatUIWin32.cs:
  15760. - Implemented new cursor methods
  15761. - Added GetSystemMetrics function and associated enumeration
  15762. 2005-01-15 Peter Bartok <[email protected]>
  15763. * Control.cs:
  15764. - WndProc(): Now handles EnableNotifyMessage
  15765. - SelectNextControl(): Fixed bug where if no child or sibling
  15766. controls exist we looped endlessly
  15767. 2005-01-14 Jackson Harper <[email protected]>
  15768. * TreeView.cs: Recalculate the tab pages when a new one is added
  15769. so that the proper bounding rects are created.
  15770. 2005-01-14 Jackson Harper <[email protected]>
  15771. * TreeView.cs: Draw a gray box instead of a grip in the lower
  15772. right hand corner when there are both horizontal and vertical
  15773. scroll bars.
  15774. 2005-01-14 Jackson Harper <[email protected]>
  15775. * Control.cs: When erasing backgrounds use FromHwnd instead of
  15776. FromHdc when there is a NULL wparam. This occurs on the X driver.
  15777. * XplatUIX11.cs: Set the wparam to NULL.
  15778. 2005-01-13 Jackson Harper <[email protected]>
  15779. * PictureBox.cs: Implement missing methods (except ToString, need
  15780. to test that on windows) and events. When visibility is changed we
  15781. need to redraw the image because the buffers are killed. When size
  15782. is changed refresh if the sizemode needs it.
  15783. 2005-01-13 Peter Bartok <[email protected]>
  15784. * Control.cs (SelectNextControl): Was using wrong method to select
  15785. a control
  15786. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15787. * ComboBox.cs: fixes dropstyle
  15788. 2005-01-13 Peter Bartok <[email protected]>
  15789. * Form.cs:
  15790. - Implemented Select() override
  15791. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  15792. - Now sets keyboard focus on startup
  15793. * Control.cs (SelectNextControl): Now properly handles directed=true
  15794. * TextBoxBase.cs:
  15795. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  15796. - Added (really bad) focus rectangle (mostly for testing)
  15797. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  15798. to enforce redraw on focus changes
  15799. * ContainerControl.cs:
  15800. - Fixed detection of Shift-Tab key presses
  15801. - Fixed traversal with arrow keys
  15802. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  15803. gonna keep this or if it's complete yet
  15804. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15805. * ComboBox.cs: missing properties, fixes
  15806. 2005-01-13 Peter Bartok <[email protected]>
  15807. * Panel.cs (ctor): Setting Selectable window style to off
  15808. * Splitter.cs (ctor): Setting Selectable window style to off
  15809. * GroupBox.cs (ctor): Setting Selectable window style to off
  15810. * Label.cs (ctor): Setting Selectable window style to off
  15811. 2005-01-12 Miguel de Icaza <[email protected]>
  15812. * UpDownBase.cs (InitTimer): If the timer has been already
  15813. created, enable it.
  15814. Use a TextBox instead of a Label.
  15815. 2005-01-12 Jackson Harper <[email protected]>
  15816. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  15817. draw the connecting node lines (when ShowLines is true).
  15818. * TreeNode.cs: The nodes index can now be updated. This is used
  15819. when a node collection is sorted.
  15820. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  15821. insert or an existing unsorted node collection can be sorted.
  15822. 2005-01-12 Peter Bartok <[email protected]>
  15823. * ContainerControl.cs: Implemented ProcessDialogKeys()
  15824. 2005-01-12 Peter Bartok <[email protected]>
  15825. * Control.cs:
  15826. - Implemented SelectNextControl() method
  15827. - Several focus related bug fixes
  15828. - Fixed Docking calculations to match MS documentation and
  15829. behaviour
  15830. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  15831. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  15832. bug fixes
  15833. 2005-01-12 Peter Bartok <[email protected]>
  15834. * Control.cs:
  15835. - Fixed broken Contains() method
  15836. - Implemented GetNextControl() method. Finally. This is the pre-
  15837. requisite for focus handling.
  15838. 2005-01-12 Peter Bartok <[email protected]>
  15839. * OSXStrucs.cs: Added
  15840. 2005-01-12 Peter Bartok <[email protected]>
  15841. * XplatUIWin32.cs:
  15842. - Removed PeekMessageFlags
  15843. - Implemented SetWindowStyle() method
  15844. * XplatUIStructs.cs: Added PeekMessageFlags
  15845. * X11Structs: Added missing border_width field to XWindowChanges struct
  15846. * XplatUIX11.cs:
  15847. - PeekMessage: Now throws exception if flags which are not yet
  15848. supported are passed
  15849. - Implemented SetWindowStyle() method
  15850. - Fixed SetZOrder to handle AfterHwnd properly
  15851. * XplatUI.cs: Added SetWindowStyle() method
  15852. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  15853. * Control.cs:
  15854. - Implemented UpdateStyles() method
  15855. - Implemented UpdateZOrder() method
  15856. * XplatUIOSX.cs: Added SetWindowStyle() stub
  15857. 2005-01-12 Geoff Norton <[email protected]>
  15858. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  15859. button mouse).
  15860. 2005-01-11 Jackson Harper <[email protected]>
  15861. * TreeView.cs: Still need to draw lines to siblings even if out of
  15862. the current node is out of the clip.
  15863. 2005-01-11 Jackson Harper <[email protected]>
  15864. * TreeView.cs: When setting the hbar/vbar/grip position use
  15865. SetBounds so that perform layout is only called once. Also suspend
  15866. and resume layout so layout is only done once for all controls.
  15867. - Removed some debug fluff
  15868. * SizeGrip.cs: Call base implmentation in overriding methods.
  15869. - When visibility is changed the drawing buffers are killed so we
  15870. need to redraw.
  15871. 2005-01-11 Jackson Harper <[email protected]>
  15872. * TreeView.cs: Calculate the open node count while drawing. This
  15873. saves us an entire tree traversal for every paint operation. Use
  15874. a member var for the open node count so less vars are passed around.
  15875. 2005-01-11 John BouAntoun <[email protected]>
  15876. * MonthCalendar.cs:
  15877. - fixed selection to use mousemove, not mouse polling on timer
  15878. * ThemeWin32Classic.cs
  15879. - removed redundant unused variable "no_more_content"
  15880. 2005-01-11 Peter Bartok <[email protected]>
  15881. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  15882. are pending, so it now calls PeekMessage instead of GetMessage;
  15883. implemented a incomplete version of PeekMessage
  15884. 2005-01-11 Peter Bartok <[email protected]>
  15885. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  15886. I18n issues
  15887. * TextBoxBase.cs: Added sending of TextChanged event
  15888. 2005-01-10 Jackson Harper <[email protected]>
  15889. * TreeView.cs: Try not to draw outside the clipping rectangle on
  15890. each node element.
  15891. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  15892. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  15893. 2005-01-10 Jackson Harper <[email protected]>
  15894. * TreeView.cs:
  15895. - Implement fast scrolling. Now only the newly
  15896. exposed nodes are drawn and the old image is moved using the
  15897. XplatUI::ScrollWindow method.
  15898. - Factor in height of nodes when calculating whether or not the
  15899. node is in the clipping rect.
  15900. 2005-01-10 Jackson Harper <[email protected]>
  15901. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  15902. 2005-01-10 Peter Bartok <[email protected]>
  15903. * Application.cs: Added temporary hack to resolve all our resize
  15904. required issues on startup. This will get fixed properly at
  15905. some point in the future
  15906. 2005-01-10 Jackson Harper <[email protected]>
  15907. * SizeGrip.cs: New internal class that is used as a sizing
  15908. grip control...hence the name.
  15909. 2005-01-10 Peter Bartok <[email protected]>
  15910. * Control.cs: Implemented proper TabIndex handling, now assigning
  15911. a tabindex when a control is added to a container
  15912. * GroupBox.cs (ctor): Now sets the Container style bit, required
  15913. for Control.GetNextControl()
  15914. 2005-01-09 Jackson Harper <[email protected]>
  15915. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  15916. 2005-01-09 Peter Bartok <[email protected]>
  15917. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15918. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  15919. an overload for ScrollWindow to allow only scrolling a rectangle
  15920. 2005-01-09 Peter Bartok <[email protected]>
  15921. * Form.cs:
  15922. - Implemented SetDesktopBounds method
  15923. - Implemented SetDesktopLocation method
  15924. 2005-01-08 Jackson Harper <[email protected]>
  15925. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  15926. the node count has changed, this removes to VScroll::Refresh calls
  15927. when drawing.
  15928. 2005-01-08 Geoff Norton <[email protected]>
  15929. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  15930. 2005-01-07 Jackson Harper <[email protected]>
  15931. * TreeNode.cs: Just update the single node when it is
  15932. checked. Don't refresh after toggling, the Expand/Collapse already
  15933. handles this.
  15934. * TreeView.cs: Respect clipping a little more when drawing. Try
  15935. not to redraw things that don't need to be redrawn. Just hide the
  15936. scrollbars when they are no longer needed instead of removing
  15937. them, so they don't have to be created again and again.
  15938. 2005-01-07 Geoff Norton <[email protected]>
  15939. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  15940. coordinates to window space to place the caret properly, FIXED.
  15941. Implement GetWindowState & SetWindowState
  15942. 2005-01-06 Peter Bartok <[email protected]>
  15943. * Form.cs:
  15944. - Implemented ClientSize property
  15945. - Implemented DesktopBounds property
  15946. - Implemented DesktopLocation property
  15947. - Implemented IsRestrictedWindow property
  15948. - Implemented Size property
  15949. - Implemented TopLevel property
  15950. - Implemented FormWindowState property
  15951. * Control.cs:
  15952. - Implemented GetTopLevel() method
  15953. - Implemented SetTopLevel() method
  15954. * X11Structs.cs (Atom):
  15955. - Added AnyPropertyType definition
  15956. - Added MapState definiton and updated XWindowAttribute struct
  15957. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  15958. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  15959. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  15960. * XplatUIWin32.cs:
  15961. - Implemented GetWindowState() and SetWindowState() methods
  15962. - Fixed Win32GetWindowLong return type
  15963. * XplatUIX11.cs:
  15964. - Introduced central function for sending NET_WM messages
  15965. - Implemented GetWindowState() and SetWindowState() methods
  15966. * TextBoxBase.cs (set_Lines):
  15967. - Now uses Foreground color for text added via Text property (Duh!)
  15968. - Added code to remember programmatically requested size (fixes
  15969. behaviour when Multiline is set after Size)
  15970. - Added AutoSize logic
  15971. 2005-01-06 Jackson Harper <[email protected]>
  15972. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  15973. 2005-01-06 Jackson Harper <[email protected]>
  15974. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  15975. set to less then 0.
  15976. 2005-01-06 Jackson Harper <[email protected]>
  15977. * ScrollableControl.cs: Lazy init the scrollbars.
  15978. 2005-01-06 Jackson Harper <[email protected]>
  15979. * Theme.cs: Speed up getting pens and solid brushes, by using
  15980. their ARGB as a hash instead of tostring and not calling Contains.
  15981. 2005-01-06 Peter Bartok <[email protected]>
  15982. * Form.cs:
  15983. - Implemented OnActivated and OnDeactivate event trigger
  15984. - Implemented Activate() method
  15985. - Fixed ShowDialog() to activate the form that was active before
  15986. the dialog was shown
  15987. * XplatUIX11.cs:
  15988. - Added global active_window var that tracks the currently active
  15989. X11 window
  15990. - Now always grabs Property changes from the root window to always
  15991. catch changes on the active window property
  15992. - Added code to PropertyNotify handler to send Active/Inactive
  15993. messages when state changes. This puts X11 and Win32 en par on
  15994. WM_ACTIVATE notifications (except for double notifications when
  15995. the user clicks away from our modal window to another one of our
  15996. windows)
  15997. 2005-01-05 Jackson Harper <[email protected]>
  15998. * ImageList.cs: Implment ctor
  15999. 2005-01-05 Geoff Norton <[email protected]>
  16000. * XplatUIOSX.cs: Implement Activate/SetTopmost
  16001. 2005-01-05 Geoff Norton <[email protected]>
  16002. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  16003. 2005-01-05 Geoff Norton <[email protected]>
  16004. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  16005. 2005-01-05 Peter Bartok <[email protected]>
  16006. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  16007. XplatUIOSX.cs: Added GetActive method to return the currently
  16008. active window for the application (or null, if none is active)
  16009. * Form.cs:
  16010. - Implemented ActiveForm
  16011. - Commented out owner assignment for modal dialogs (causes problems
  16012. on Win32, since the owner will be disabled)
  16013. - Reworked some Active/Focus handling (still incomplete)
  16014. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  16015. (causes problems on Win32, since the owner will be disabled)
  16016. * IWin32Window: Added ComVisible attribute
  16017. 2005-01-05 Peter Bartok <[email protected]>
  16018. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  16019. required XplatUI functions.
  16020. 2005-01-05 Peter Bartok <[email protected]>
  16021. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  16022. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  16023. to implement focus and activation handling; still incomplete and
  16024. with debug output
  16025. 2005-01-04 Peter Bartok <[email protected]>
  16026. * TextBoxBase.cs: Changed access level for Document property to
  16027. match switch to internal for TextControl
  16028. 2005-01-04 Peter Bartok <[email protected]>
  16029. * AccessibleObject: Added ComVisible attribute
  16030. 2005-01-04 Jackson Harper <[email protected]>
  16031. * X11Keyboard.cs: Remove unneeded var.
  16032. 2005-01-04 Jackson Harper <[email protected]>
  16033. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  16034. but PAINT.
  16035. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  16036. ClientMessage. This makes apps exit cleanly (more often).
  16037. 2005-01-04 Jackson Harper <[email protected]>
  16038. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  16039. handling focus, return correct colors and fonts,
  16040. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  16041. handle selection, horizontal scrolling, and mouse interaction.
  16042. 2005-01-04 Peter Bartok <[email protected]>
  16043. * ICommandExecutor.cs: Added
  16044. * IDataGridColumnStyleEditingNotificationService.cs: Added
  16045. * IFeatureSupport.cs: Added
  16046. * IFileReaderService.cs: Added
  16047. * IDataObject.cs: Added ComVisible attribute
  16048. * AmbientProperties.cs: Added
  16049. * BaseCollection.cs: Added missing attributes
  16050. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  16051. * BaseCollection.cs: Added missing attributes
  16052. * Binding.cs: Added TypeConverter attribute
  16053. * BindingContext.cs: Added DefaultEvent attribute
  16054. * BindingsCollection.cs: Added DefaultEvent attribute
  16055. * Button.cs: Added DefaultValue attribute
  16056. * DragEventArgs.cs: Added ComVisible attribute
  16057. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  16058. * KeyEventArgs.cs: Added ComVisible attribute
  16059. * KeyPressEventArgs.cs: Added ComVisible attribute
  16060. * MouseEventArgs.cs: Added ComVisible attribute
  16061. * NavigateEventArgs.cs: Added
  16062. * NavigateEventHandler.cs: Added
  16063. * FeatureSupport.cs: Added
  16064. * OSFeature.cs: Added
  16065. * Theme.cs: Added abstract Version property to support OSFeature
  16066. * ThemeWin32Classic.cs: Added Version property to
  16067. support OSFeature.Themes
  16068. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  16069. the proper styles to avoid background drawing are set, also doesn't
  16070. match MS signature
  16071. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  16072. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  16073. * ScrollEventArgs.cs: Added ComVisible attribute
  16074. * SplitterEventArgs.cs: Added ComVisible attribute
  16075. * AccessibleSelection.cs: Added Flags attribute
  16076. * Appearance.cs: Added ComVisible attribute
  16077. * Border3DSide.cs: Added ComVisible attribute
  16078. * Border3DStyle.cs: Added ComVisible attribute
  16079. * BorderStyle.cs: Added ComVisible attribute
  16080. * DragAction.cs: Added ComVisible attribute
  16081. * ErrorBlinkStyle.cs: Added
  16082. * ScrollEventType.cs: Added ComVisible attribute
  16083. * AnchorStyles.cs: Added Editor attribute
  16084. * DockStyle.cs: Added Editor attribute
  16085. * HorizontalAlignment.cs: Added ComVisible attribute
  16086. * HelpEventArgs.cs: Added ComVisible attribute
  16087. * PaintEventArgs.cs: Added IDisposable
  16088. 2005-01-04 Peter Bartok <[email protected]>
  16089. * TextControl.cs: Switched Line, LineTag and Document classes to
  16090. internal
  16091. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16092. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  16093. Simple mode, fixes, IntegralHeight, etc.
  16094. 2005-01-04 Peter Bartok <[email protected]>
  16095. * TextBoxBase.cs: Using proper font variable now
  16096. 2005-01-04 Peter Bartok <[email protected]>
  16097. * Form.cs (ShowDialog): Set parent to owner, if provided
  16098. * GroupBox.cs: Removed unused vars
  16099. * TextControl.cs:
  16100. - Added GetHashCode() for Document and LineTag classes
  16101. - Removed unused variables
  16102. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  16103. to allow translation between continuous char position and line/pos
  16104. * CheckBox.cs: Removed vars that are provided by base class
  16105. * RadioButton.cs: Removed vars that are provided by base class, added
  16106. new keyword where required
  16107. * LinkLabel.cs: Added new keyword where required
  16108. * Control.cs (WndProc): Removed unused variable
  16109. * TextBoxBase.cs:
  16110. - Finished SelectionLength property
  16111. - Implemented SelectionStart property
  16112. - Implemented Text property
  16113. - Removed unused vars
  16114. * MessageBox.cs: Added new keyword where required
  16115. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  16116. WndProc signature
  16117. * MenuAPI.cs: Added new keyword where required
  16118. * ButtonBase.cs: Removed vars that are provided by base class, added
  16119. new keyword where required
  16120. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  16121. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  16122. into this)
  16123. * Application.cs (Run): Now triggers the ThreadExit event
  16124. * CommonDialog.cs: Added new keyword where required; now properly sets
  16125. parent (owner) for dialog
  16126. * XplatUIX11.cs: Commented out unused vars
  16127. * StatusBar.cs: Fixed signature for Text property
  16128. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  16129. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16130. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  16131. TrackBar.cs, MonthCalendar.cs: remove unused vars
  16132. 2005-01-03 Jackson Harper <[email protected]>
  16133. * ThemeWin32Classic.cs:
  16134. * X11Keyboard.cs: Remove unused vars.
  16135. 2005-01-03 Peter Bartok <[email protected]>
  16136. * TextBox.cs:
  16137. - set_Text: Tied into TextControl
  16138. - set_TextAlignment: Tied into TextControl
  16139. * TextControl.cs:
  16140. - Added alignment properties and implemented alignment handling
  16141. and drawing (still has a bug, not generating proper expose events)
  16142. - Added new Line() constructor to allow passing the line alignment
  16143. - Fixed selection setting, properly handling end<start now
  16144. - Added aligment considerations to RecalculateDocument()
  16145. * TextBoxBase.cs:
  16146. - Now properly enforces control height for single line controls
  16147. - Added support for CharacterCasing
  16148. - Added IsInputKey override
  16149. - Fixed Keys.Enter logic
  16150. - Added SetBoundsCore override
  16151. - Fixed mouse selection handling
  16152. 2005-01-03 Jackson Harper <[email protected]>
  16153. * TreeView.cs:
  16154. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  16155. - Checkboxes are always aligned to the bottom of the node,
  16156. regardless of item height.
  16157. - Use the node bounds to draw the text so we can center it when
  16158. the item height is greater then the font height.
  16159. - Node::Bounds are only the text part of the node.
  16160. * TreeNode.cs: New method to combine collapsing and unchecking all
  16161. nodes recursively.
  16162. 2005-01-02 Jackson Harper <[email protected]>
  16163. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  16164. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  16165. tree when a check is changed. TODO: Only refresh the checked node.
  16166. 2004-12-30 Jackson Harper <[email protected]>
  16167. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  16168. * TreeNode.cs: When collapsing make sure to never collapse the
  16169. root node.
  16170. 2004-12-29 Jackson Harper <[email protected]>
  16171. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  16172. 2004-12-28 Zoltan Varga <[email protected]>
  16173. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  16174. 2004-12-28 Peter Bartok <[email protected]>
  16175. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  16176. not yet assigned
  16177. 2004-12-28 Peter Bartok <[email protected]>
  16178. * Control.cs (WndProc): Added WM_HELP handler, now generates
  16179. HelpRequested event
  16180. * Form.cs: Added HelpButton property and required support code
  16181. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  16182. 2004-12-28 Peter Bartok <[email protected]>
  16183. * CommonDialog.cs:
  16184. - Made DialogForm.owner variable internal
  16185. - Added check to ensure owner form is set before setting
  16186. owner properties in CreateParams
  16187. 2004-12-28 Geoff Norton <[email protected]>
  16188. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  16189. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  16190. GetCursorPos. Fix major visibility issues. Rework the windowing
  16191. system to support borderless/titleless windows (implements menus).
  16192. Fix GetWindowPos. Implement initial background color support for
  16193. views.
  16194. 2004-12-28 Peter Bartok <[email protected]>
  16195. * Form.cs (get_CreateParams): Make sure we have an owner before using
  16196. the owner variable. Implement proper default if no owner exists
  16197. 2004-12-28 Peter Bartok <[email protected]>
  16198. * In preparation for making Managed.Windows.Forms the default build target
  16199. for System.Windows.Forms, the following stubbed files were added.
  16200. Dialogs are currently being implemented by contributors and are only
  16201. short-term place holders.
  16202. * ColorDialog.cs: Initial check-in (minmal stub)
  16203. * DataGrid.cs: Initial check-in (minimal stub)
  16204. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  16205. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  16206. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  16207. * FontDialog.cs: Initial check-in (minimal stub)
  16208. * FileDialog.cs: Initial check-in (minimal stub)
  16209. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  16210. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  16211. * OpenFileDialog: Initial check-in (minimal stub)
  16212. * IComponentEditorPageSite.cs: Initial check-in
  16213. * Splitter.cs: Initial check-in (for Jackson)
  16214. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  16215. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  16216. * TextBox.cs: Initial check-in; still needs some wiring to
  16217. TextControl backend
  16218. * Form.cs: Implemented ControlBox property
  16219. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  16220. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  16221. * TextControl.cs: Added selection functionality; added todo header
  16222. * TextBoxBase.cs:
  16223. - Implemented Lines property
  16224. - Implemented TextHeight property
  16225. - Implemented SelectedText property
  16226. - Implemented SelectionLength property
  16227. - Implemented SelectAll method
  16228. - Implemented ToString method
  16229. - Removed and cleaned up some debug code
  16230. - Implemented (still buggy) mouse text selection
  16231. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  16232. * ComboBox.cs: Complete DropDownList implementation, fixes.
  16233. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  16234. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  16235. * ComboBoxStyle.cs: ComboBoxStyle enum
  16236. * ComboBox.cs: Initial work on ComboBox control
  16237. 2004-12-21 Peter Bartok <[email protected]>
  16238. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  16239. forward so that anything that creates a window gets the default,
  16240. also no longer uses Visible property in CreateParams to avoid
  16241. walking up the parent chain and possibly get the wrong visible
  16242. status. Fixed IsVisible to no longer walk up to the parent.
  16243. 2004-12-21 Peter Bartok <[email protected]>
  16244. * Form.cs (ShowDialog): Unset modality for the proper window
  16245. 2004-12-20 Peter Bartok <[email protected]>
  16246. * CommonDialog.cs: Initial check-in
  16247. 2004-12-20 Peter Bartok <[email protected]>
  16248. * Control.cs (Visible): Now uses the parent window instead of the
  16249. client area window for the property
  16250. * Form.cs
  16251. - ShowDialog(): Now uses the proper window for modality
  16252. - The default visibility state for the form parent is now false. This
  16253. will prevent the user from seeing all the changes to the form and
  16254. its controls before the application hits Application.Run()
  16255. - Removed some stale commented out code
  16256. * NativeWindow.cs:
  16257. - Added FindWindow() method to have a method to check for existence
  16258. of a window handle
  16259. - Added ability to override default exception handling (for example
  16260. when debugging with VS.Net; to do this the ExternalExceptionHandler
  16261. define must be set
  16262. - Removed some useless debug output
  16263. * XplatUIX11.cs:
  16264. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  16265. not working as expected
  16266. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  16267. property to allow switching back to the modal window if focus is
  16268. given to another one of our windows (Application Modal)
  16269. - Now only sets override_redirect if we create a window
  16270. without WS_CAPTION
  16271. - Moved EventMask selection before mapping of newly created window
  16272. so we can catch the map event as well
  16273. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  16274. - Added various Atom related DllImports
  16275. - Implemented Exit() method
  16276. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  16277. in the CreateParams
  16278. * MessageBox.cs: Now properly deals with the FormParent window by
  16279. providing an override the FormParent CreateParams property to
  16280. set as POPUP instead of OVERLAPPED window.
  16281. 2004-12-19 Geoff Norton <[email protected]>
  16282. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  16283. Minor code cleanup.
  16284. 2004-12-19 Geoff Norton <[email protected]>
  16285. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  16286. 2004-12-18 Peter Bartok <[email protected]>
  16287. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  16288. implementing SetModal() method
  16289. 2004-12-18 Peter Bartok <[email protected]>
  16290. * X11Structs.cs (XGCValues): Fixed type of function element
  16291. * XplatUI.cs: Added ScrollWindow() method
  16292. * XplatUIDriver.cs: Added ScrollWindow() abstract
  16293. * XplatUIWin32.cs: Implemented ScrollWindow() method
  16294. * XplatUIX11.cs: Implemented ScrollWindow() method
  16295. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  16296. 2004-12-17 Geoff Norton <[email protected]>
  16297. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  16298. Some more keyboard support (INCOMPLETE)
  16299. 2004-12-17 Peter Bartok <[email protected]>
  16300. * TextControl.cs:
  16301. - Added color attribute to line tags.
  16302. - Added color argument to all functions dealing with tags
  16303. - Added color argument support to various functions
  16304. - Fixed miss-calculation of baseline/shift in certain circumstances
  16305. * TextBoxBase.cs: Added new color option to test code
  16306. 2004-12-17 Jackson Harper <[email protected]>
  16307. * TreeNode.cs:
  16308. * MonthCalendar.cs: Signature fixes
  16309. 2004-12-17 Geoff Norton <[email protected]>
  16310. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  16311. keyboard event moved it. Create a new graphics context for each paint resolves this
  16312. 2004-12-17 Geoff Norton <[email protected]>
  16313. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  16314. Make caret exist and go blink blink. Initial keyboard support.
  16315. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  16316. works.
  16317. 2004-12-17 Jackson Harper <[email protected]>
  16318. * XplatUIStructs.cs: Updated set of virtual keycodes.
  16319. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  16320. 2004-12-17 Jackson Harper <[email protected]>
  16321. * XplatUIX11.cs: Prune old keyboard code.
  16322. 2004-12-17 Jackson Harper <[email protected]>
  16323. * XplatUIX11.cs: When generating mouse wparams get the modifier
  16324. keys from the ModifierKeys property.
  16325. 2004-12-17 Jackson Harper <[email protected]>
  16326. * X11Keyboard.cs: Send up/down input when generating
  16327. messages. Remove some unused vars.
  16328. 2004-12-17 Jackson Harper <[email protected]>
  16329. * TabControl.cs:
  16330. * TreeView.cs: get rid of warnings.
  16331. 2004-12-17 Jackson Harper <[email protected]>
  16332. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  16333. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  16334. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  16335. CheckedListBox.cs: Implementation
  16336. 2004-12-17 Peter Bartok <[email protected]>
  16337. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  16338. 2004-12-16 Peter Bartok <[email protected]>
  16339. * TextControl.cs:
  16340. - InsertCharAtCaret(): Fixed start pos fixup
  16341. - CaretLine_get: No longer derives the line from the tag, the tag
  16342. could be stale if lines in the document have been added or deleted
  16343. - RebalanceAfterDelete(): Fixed bug in balancing code
  16344. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  16345. - Line.Streamline(): Now can also elminate leading empty tags
  16346. - DumpTree(): Added a few more tests and prevented exception on
  16347. uninitialized data
  16348. - Added Debug section for Combining lines
  16349. - Delete(): Now copies all remaining properties of a line
  16350. * TextBoxBase.cs:
  16351. - Left mousebutton now sets the caret (and middle button still acts
  16352. as formatting tester, which must go away soon)
  16353. - Added Debug section for Deleting/Combining lines
  16354. - Fixed calculations for UpdateView after Combining lines
  16355. 2004-12-16 Peter Bartok <[email protected]>
  16356. * TextControl.cs: Now properly aligns text on a baseline, using the
  16357. new XplatUI.GetFontMetrics() method. Simplified several calculations
  16358. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  16359. defined
  16360. 2004-12-16 Peter Bartok <[email protected]>
  16361. * XplatUI.cs: Added GetFontMetrics() method
  16362. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  16363. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  16364. into libgdiplus, our private GetFontMetrics function
  16365. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  16366. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  16367. 2004-12-16 Jackson Harper <[email protected]>
  16368. * XplatUIStruct.cs: Add enum for dead keys
  16369. * X11Keyboard.cs: Map and unmap dead keys.
  16370. 2004-12-16 Jackson Harper <[email protected]>
  16371. * X11Keyboard.cs: Detect and use the num lock mask.
  16372. 2004-12-16 Peter Bartok <[email protected]>
  16373. * Control.cs (CreateGraphics): Added check to make sure the
  16374. handle of the window exists before calling Graphics.FromHwnd()
  16375. 2004-12-16 Peter Bartok <[email protected]>
  16376. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  16377. contains a lot of code that's not supposed to be there for the
  16378. real thing, but required for developing/testing the textbox
  16379. backend.
  16380. 2004-12-16 Peter Bartok <[email protected]>
  16381. * TextControl.cs:
  16382. - Fixed Streamline method
  16383. - Added FindTag method to Line
  16384. - Added DumpTree method for debugging
  16385. - Added DecrementLines() method for deleting lines
  16386. - Fixed UpdateView to update the cursor to end-of-line on single-line
  16387. updates
  16388. - Added PositionCaret() method
  16389. - Fixed MoveCaret(LineDown) to move into the last line, too
  16390. - Added InsertChar overload
  16391. - Fixed InsertChar tag offset calculations
  16392. - Added DeleteChar() method
  16393. - Added Combine() method for folding lines
  16394. - Fixed Delete() method, no longer allocates wasted Line object and
  16395. now copies all properties when swapping nodes
  16396. - Delete() method now updates document line counter
  16397. 2004-12-15 Jackson Harper <[email protected]>
  16398. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  16399. * X11Keyboard.cs: Expose the currently selected modifier keys
  16400. through a property.
  16401. 2004-12-15 Peter Bartok <[email protected]>
  16402. * TextControl.cs: Initial check-in. Still incomplete
  16403. 2004-12-15 Jackson Harper <[email protected]>
  16404. * TreeNode.cs:
  16405. * TreeView.cs: Fix build on csc (second time today ;-))
  16406. 2004-12-15 Jackson Harper <[email protected]>
  16407. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  16408. is calculated and use this for click testing.
  16409. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  16410. 2004-12-15 Jackson Harper <[email protected]>
  16411. * TreeView.cs: Pass the nodes image index to the image list when
  16412. drawing that image.
  16413. 2004-12-15 Jackson Harper <[email protected]>
  16414. * X11Keyboard.cs: Set messages hwnd.
  16415. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  16416. post_message calls.
  16417. 2004-12-15 Jackson Harper <[email protected]>
  16418. * X11Keyboard.cs: Fix to compile with csc.
  16419. 2004-12-15 Jackson Harper <[email protected]>
  16420. * X11Structs.cs: Add key mask values
  16421. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  16422. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  16423. down/up foo into WM_CHAR foo
  16424. * KeyboardLayouts.cs: Common keyboard layouts
  16425. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  16426. post messages into the main queue.
  16427. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  16428. * Button.cs: implement ProcessMnemonic
  16429. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  16430. brushes everytime
  16431. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  16432. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  16433. 2004-12-12 John BouAntoun <[email protected]>
  16434. * MonthCalendar.cs: Implemented click-hold for next/previous month
  16435. and date selection
  16436. 2004-12-11 Peter Bartok <[email protected]>
  16437. * X11Structs.cs:
  16438. - Added XKeyboardState (moved from XplatUIX11.cs)
  16439. - Added XCreateGC related enums and structures
  16440. - Added GXFunction for XSetFunction
  16441. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  16442. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  16443. CaretVisible() calls
  16444. * ToolTip.cs: Added code to prevent stealing focus from app windows
  16445. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  16446. DestroyCaret, SetCaretPos and CaretVisible)
  16447. * XplatUIX11.cs:
  16448. - Added implementation for caret functions
  16449. - Moved hover variables into a struct, to make it a bit easier
  16450. on the eyes and to debug
  16451. - Removed XKeyboardState (moved to XplatUIX11.cs)
  16452. - Moved Keyboard properties into the properties region
  16453. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  16454. call to get a graphics context for our control
  16455. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  16456. * TreeView.cs: Fixed bug. No matter what color was set it would always
  16457. return SystemColors.Window
  16458. * XplatUIWin32.cs: Implemented caret overrides
  16459. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  16460. * ListBox.cs: fire events, implement missing methods and properties,
  16461. sorting.
  16462. 2004-12-10 John BouAntoun <[email protected]>
  16463. * MonthCalendar.cs: invalidation bug fixing
  16464. * ThemeWin32Classic.cs: paint fixing
  16465. 2004-12-09 Geoff Norton <[email protected]>
  16466. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  16467. prepare the CGContextRef there now.
  16468. 2004-12-09 John BouAntoun <[email protected]>
  16469. * MonthCalendar.cs:
  16470. - optimisationL only invalidate areas that have changed
  16471. * ThemeWin32Classic.cs:
  16472. - only paint parts that intersect with clip_area
  16473. 2004-12-09 Peter Bartok <[email protected]>
  16474. * Application.cs: Undid changes from r37004 which cause problems
  16475. on X11
  16476. 2004-12-09 Ravindra <[email protected]>
  16477. * ToolBar.cs: Added support for displaying ContextMenu
  16478. attached to a button on ToolBar.
  16479. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  16480. property.
  16481. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  16482. * Label.cs: autosize works in text change and removes unnecessary
  16483. invalidate
  16484. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  16485. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  16486. remove warnings
  16487. 2004-12-08 Geoff Norton <[email protected]>
  16488. * XplatUIOSX.cs: Added mouse move/click/grab support
  16489. Remove some debugging WriteLines not needed anymore.
  16490. Add window resizing/positioning.
  16491. Fix visibility on reparenting.
  16492. 2004-12-08 Peter Bartok <[email protected]>
  16493. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  16494. 2004-12-07 Geoff Norton <[email protected]>
  16495. * XplatUIOSX.cs: Initial checkin
  16496. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  16497. 2004-12-03 Ravindra <[email protected]>
  16498. * ListView.cs: Added some keybindings and fixed scrolling.
  16499. ScrollBars listen to ValueChanged event instead of Scroll
  16500. Event. This would let us take care of all changes being
  16501. done in the scrollbars' values programmatically or manually.
  16502. * ListView.cs (CanMultiselect): Added a check for shift key.
  16503. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  16504. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  16505. of ListViewSubItemCollection as well.
  16506. 2004-12-06 Peter Bartok <[email protected]>
  16507. * Control.cs (Parent): Added check and exception to prevent
  16508. circular parenting
  16509. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  16510. * ListBox.cs: implemented clipping, selection single and multiple,
  16511. bug fixing
  16512. 2004-12-03 Ravindra <[email protected]>
  16513. * ListView.cs (ListView_KeyDown):
  16514. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  16515. when CTRL key is pressed.
  16516. * ListViewItem.cs (Selected): Fixed setting the property.
  16517. 2004-12-03 Marek Safar <[email protected]>
  16518. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  16519. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  16520. MinimizeBox, ShowInTaskbar, TopMost properties.
  16521. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  16522. will be implemented).
  16523. 2004-12-03 Marek Safar <[email protected]>
  16524. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  16525. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  16526. tests.
  16527. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  16528. * TreeView.cs: BackColor is Colors.Window.
  16529. 2004-12-01 Jackson Harper <[email protected]>
  16530. * TreeView.cs: When resizing the tree if the user is making it
  16531. smaller we don't get expose events, so we need to handle adding
  16532. the horizontal scrollbar in the size changed handler as well as
  16533. the expose handler.
  16534. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  16535. * DrawItemState.cs: fixes wrong enum values
  16536. 2004-12-01 Jackson Harper <[email protected]>
  16537. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  16538. 2004-12-01 Jackson Harper <[email protected]>
  16539. * NodeLabelEditEventArgs.cs:
  16540. * NodeLabelEditEventHandler.cs:
  16541. * OpenTreeNodeEnumerator.cs:
  16542. * TreeNode.cs:
  16543. * TreeNodeCollection.cs:
  16544. * TreeView.cs:
  16545. * TreeViewAction.cs:
  16546. * TreeViewCancelEventArgs.cs:
  16547. * TreeViewCancelEventHandler.cs:
  16548. * TreeViewEventArgs.cs:
  16549. * TreeViewEventHandler.cs: Initial implementation.
  16550. 2004-12-01 Ravindra <[email protected]>
  16551. * ListView.cs (CalculateListView): Fixed scrolling related
  16552. calculations. Also, removed some debug statements from other
  16553. places.
  16554. * ListViewItem.cs: Changed access to 'selected' instance variable
  16555. from private to internal.
  16556. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  16557. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  16558. * ThemeWin32Classic.cs: remove cache of brush and pens for
  16559. specific controls and use the global system, fixes scrollbutton
  16560. bugs (for small sizes, disabled, etc)
  16561. * ScrollBar.cs: does not show the thumb for very small controls
  16562. (as MS) and allow smaller buttons that the regular size
  16563. 2004-12-01 Miguel de Icaza <[email protected]>
  16564. * UpDownBase.cs: Add abstract methods for the interface.
  16565. Add new virtual methods (need to be hooked up to TextEntry when it
  16566. exists).
  16567. Add override methods for most features.
  16568. Computes the size, forces the height of the text entry.
  16569. * NumericUpDown.cs: Put here the current testing code.
  16570. * Set eol-style property on all files that do not have mixed line
  16571. endings, to minimize the future problems. There are still a few
  16572. files with mixed endings, and someone should choose whether they
  16573. want to move it or not.
  16574. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  16575. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  16576. System.Colors
  16577. 2004-11-30 Ravindra <[email protected]>
  16578. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  16579. drawing and replaced use of SystemColors by theme colors.
  16580. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  16581. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  16582. same ListViewItem is being added more than once.
  16583. 2004-11-30 John BouAntoun <[email protected]>
  16584. * MonthCalendar.cs:
  16585. - ControlStyles love to make the control not flicker
  16586. 2004-11-30 Peter Bartok <[email protected]>
  16587. * CharacterCasing.cs: Added
  16588. 2004-11-29 Peter Bartok <[email protected]>
  16589. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  16590. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  16591. I am removing these files as they conflict with already completed
  16592. work. While it is fantastic to get contributions to MWF, I
  16593. respectfully ask that everyone please coordinate their contributions
  16594. through mono-winforms-list or #mono-winforms at this time. We're
  16595. explicitly avoiding stubbing and don't want controls that don't have
  16596. their basic functionality implemented in svn. Please also see
  16597. http://www.mono-project.com/contributing/winforms.html
  16598. 2004-11-29 Marek Safar <[email protected]>
  16599. * Application.cs (ModalRun): Don't hang after exit.
  16600. * Theme.cs: New TreeViewDefaultSize property.
  16601. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  16602. with less hardcoded SystemColors constant.
  16603. Implemented TreeViewDefaultSize.
  16604. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  16605. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  16606. 2004-11-29 John BouAntoun <[email protected]>
  16607. * MonthCalendar.cs:
  16608. - Fix NextMonthDate and PrevMonthDate click moving calendar
  16609. 2004-11-26 John BouAntoun <[email protected]>
  16610. * MonthCalendar.cs:
  16611. - Fix usage of ScrollChange Property when scrolling months
  16612. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  16613. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  16614. - Fixes menu destroying
  16615. - Support adding and removing items on already created menus
  16616. 2004-11-26 John BouAntoun <[email protected]>
  16617. * MonthCalendar.cs:
  16618. - Re-worked all bolded dates handling to match win32
  16619. * ThemeWin32Classic.cs:
  16620. - Fixed rendering with bolded dates
  16621. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  16622. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  16623. - Horizontal scroolbar
  16624. - Multicolumn
  16625. - Fixes
  16626. 2004-11-25 John BouAntoun <[email protected]>
  16627. * MonthCalendar.cs:
  16628. - Fix Usage of MaxSelectionCount from SelectionRange
  16629. - Fixed Shift + Cursor Selection
  16630. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  16631. - Fixed normal cursor selection to be compat with win32
  16632. - Fixed Shift + Mouse Click selection
  16633. 2004-11-24 Peter Bartok <[email protected]>
  16634. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  16635. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  16636. * XplatUIX11.cs:
  16637. - CreatedKeyBoardMsg now updates keystate with Alt key
  16638. - Added workaround for timer crash to CheckTimers, Jackson will
  16639. develop a proper fix and check in later
  16640. - Implemented DispatchMessage
  16641. - Removed calling the native window proc from GetMessage (call
  16642. now moved to DispatchMessage)
  16643. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  16644. the keydata (Fixes bug #69831)
  16645. * XplatUIWin32.cs:
  16646. - (DispatchMessage): Switched to return IntPtr
  16647. - Added DllImport for SetFocus
  16648. 2004-11-24 Ravindra <[email protected]>
  16649. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  16650. background drawing.
  16651. * ListViewItem.cs: Fixed various properties, calculations
  16652. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  16653. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  16654. and some internal properties. Fixed MouseDown handler and Paint
  16655. method.
  16656. 2004-11-24 John BouAntoun <[email protected]>
  16657. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  16658. 2004-11-24 John BouAntoun <[email protected]>
  16659. * ContainerControl.cs: correct accidental check in of local changes
  16660. 2004-11-24 John BouAntoun <[email protected]>
  16661. * ThemeWin32Classic.cs:
  16662. - Fixed Drawing Last month in grid (sometimes not showing)
  16663. * MonthCalendar.cs:
  16664. - Fixed title width calculation bug (makeing title small)
  16665. 2004-11-23 Peter Bartok <[email protected]>
  16666. * XplatUIX11.cs:
  16667. - Added generation of WM_MOUSEHOVER event
  16668. - Added missing assignment of async_method atom
  16669. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  16670. 2004-11-23 John BouAntoun <[email protected]>
  16671. * ThemeWin32Classic.cs:
  16672. - Fixed Drawing of today circle when showtodaycircle not set
  16673. - fixed drawing of first and last month in the grid (gay dates)
  16674. * MonthCalendar.cs:
  16675. - Fixed Drawing of today circle
  16676. - Fixed drawing of grady dates
  16677. - Fixed HitTest for today link when ShowToday set to false
  16678. - Fixed DefaultSize to obey ShowToday
  16679. 2004-11-23 John BouAntoun <[email protected]>
  16680. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  16681. * System.Windows.Forms/Theme.cs
  16682. * MonthCalendar.cs: added for MonthCalendar
  16683. * SelectionRange.cs: added for MonthCalendar
  16684. * Day.cs: added for MonthCalendar: added for MonthCalendar
  16685. * DateRangeEventArgs.cs: added for MonthCalendar
  16686. * DateRangeEventHandler.cs: added for MonthCalendar
  16687. 2004-11-22 Ravindra <[email protected]>
  16688. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  16689. property.
  16690. 2004-11-22 Miguel de Icaza <[email protected]>
  16691. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  16692. event handler.
  16693. * NumericUpDown.cs: Added new implementation.
  16694. * UpDownBase.cs: Added new implementation.
  16695. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  16696. implementations.
  16697. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  16698. implementations.
  16699. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  16700. methods.
  16701. 2004-11-21 Miguel de Icaza <[email protected]>
  16702. * Timer.cs (Dispose): Should call the base dispose when
  16703. overriding.
  16704. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  16705. * ScrollBar.cs: updates thumb position when max, min or increment
  16706. is changed
  16707. 2004-11-21 Ravindra <[email protected]>
  16708. * ListView.cs: Implemented item selection, activation and
  16709. column header style. Fixed properties to do a redraw, if
  16710. required. Added support for MouseHover, DoubleClick, KeyDown
  16711. and KeyUp event handling and some minor fixes.
  16712. * ListViewItem.cs: Fixed constructor.
  16713. * ThemeWin32Classic.cs: Improved drawing for ListView.
  16714. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  16715. * ThemeWin32Classic.cs: initial listbox drawing code
  16716. * DrawMode.cs: new enumerator
  16717. * ListControl.cs: stubbed class
  16718. * ListBox.cs: initial implementation
  16719. * Theme.cs: new methods definitions
  16720. * SelectionMode.cs: new enumerator
  16721. 2004-11-17 Peter Bartok <[email protected]>
  16722. * XplatUIWin32.cs: Added double-click events to the class style
  16723. * Control.cs (WndProc):
  16724. - Added handling of click-count to MouseDown/ MouseUp events.
  16725. - Added handling of middle and right mouse buttons
  16726. - Removed old debug code
  16727. 2004-11-17 Jackson Harper <[email protected]>
  16728. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  16729. 2004-11-17 Ravindra <[email protected]>
  16730. * ListView.cs: Added event handling for MouseMove/Up/Down.
  16731. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  16732. * ThemeWin32Classic.cs: We need to clear the graphics context and
  16733. draw column header in a proper state.
  16734. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  16735. * Menu.cs: fixes signature
  16736. 2004-11-16 Peter Bartok <[email protected]>
  16737. * XplatUIX11.cs (GetMessage): Implemented generation of
  16738. double click mouse messages
  16739. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  16740. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  16741. not by menu
  16742. 2004-11-11 Peter Bartok <[email protected]>
  16743. * HandleData.cs: Added Visible property
  16744. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  16745. HandleData
  16746. * XplatUIX11.cs: Removed old debug leftovers
  16747. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  16748. * Control.cs (WndProc): Removed old debug leftovers,
  16749. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  16750. needed WM_SIZE handling
  16751. 2004-11-11 Jackson Harper <[email protected]>
  16752. * OwnerDrawPropertyBag.cs:
  16753. * TreeViewImageIndexConverter.cs: Initial implementation
  16754. 2004-11-10 Jackson Harper <[email protected]>
  16755. * ThemeWin32Classic.cs:
  16756. * TabControl.cs: instead of moving tabs by the slider pos just
  16757. start drawing at the tab that is offset by the slider. This way
  16758. scrolling always moves by exactly one tab.
  16759. 2004-11-10 Jackson Harper <[email protected]>
  16760. * TabControl.cs: You can only scroll left when the slider has
  16761. already ben moved right.
  16762. 2004-11-10 Jackson Harper <[email protected]>
  16763. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  16764. the clip area.
  16765. 2004-11-10 Jackson Harper <[email protected]>
  16766. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  16767. clip area.
  16768. 2004-11-09 Jackson Harper <[email protected]>
  16769. * TabControl.cs (CalcXPos): New helper method so we can determine
  16770. the proper place to start drawing vertical tabs.
  16771. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  16772. 2004-11-09 Jackson Harper <[email protected]>
  16773. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  16774. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  16775. and Bottom, left and right are illegal values for this and
  16776. multiline is enabled when the alignment is set to left or right.
  16777. (DrawTab): Each alignment block should draw the text itself now
  16778. because Left requires special love. Also add rendering for Left
  16779. aligned tabs.
  16780. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  16781. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  16782. does not destroy the windows, removes debugging messages
  16783. 2004-11-09 jba <[email protected]>
  16784. * ThemeWin32Classic.cs
  16785. (DrawButtonBase): Fix verticle text rect clipping in windows
  16786. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  16787. rendering and incorrect text rect clipping
  16788. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  16789. rendering and incorrect text rect clipping
  16790. 2004-11-08 Jackson Harper <[email protected]>
  16791. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  16792. bottom when they are bottom aligned so the bottoms of the tabs get
  16793. displayed.
  16794. * TabControl.cs (DropRow): Move rows up instead of down when the
  16795. tab control is bottom aligned.
  16796. 2004-11-08 13:59 pbartok
  16797. * XplatUIX11.cs:
  16798. - Added handling for various window styles
  16799. - Added handling for popup windows
  16800. - Added SetTopmost handling
  16801. 2004-11-08 13:55 pbartok
  16802. * XplatUIWin32.cs:
  16803. - Added argument to SetTopmost method
  16804. - Fixed broken ClientToScreen function
  16805. 2004-11-08 13:53 pbartok
  16806. * XplatUIStructs.cs:
  16807. - Added missing WS_EX styles
  16808. 2004-11-08 13:53 pbartok
  16809. * XplatUI.cs, XplatUIDriver.cs:
  16810. - Added argument to SetTopmost
  16811. 2004-11-08 13:52 pbartok
  16812. * X11Structs.cs:
  16813. - Added XSetWindowAttributes structure
  16814. - Improved XWindowAttributes structure
  16815. - Added SetWindowValuemask enum
  16816. - Added window creation arguments enum
  16817. - Added gravity enum
  16818. - Added Motif hints structure
  16819. - Added various Motif flags and enums
  16820. - Added PropertyMode enum for property functions
  16821. 2004-11-08 13:50 pbartok
  16822. * Form.cs:
  16823. - Fixed arguments for updated SetTopmost method
  16824. 2004-11-08 13:49 pbartok
  16825. * ToolTip.cs:
  16826. - Fixed arguments for updated SetTopmost function
  16827. - Fixed usage of PointToClient
  16828. 2004-11-08 13:44 pbartok
  16829. * MenuAPI.cs:
  16830. - Added Clipping of children and siblings
  16831. 2004-11-08 13:41 pbartok
  16832. * MainMenu.cs:
  16833. - Removed SetMenuBarWindow call. We do this in Form.cs
  16834. 2004-11-08 13:40 jackson
  16835. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  16836. scrolling jimmi in the correct location with bottom aligned tabs
  16837. 2004-11-08 13:36 pbartok
  16838. * ContainerControl.cs:
  16839. - Implemented BindingContext
  16840. - Implemented ParentForm
  16841. 2004-11-08 12:46 jackson
  16842. * TabControl.cs: Put bottom rendered tabs in the right location
  16843. 2004-11-08 07:15 jordi
  16844. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  16845. removes dead code
  16846. 2004-11-05 17:30 jackson
  16847. * TabControl.cs: When selected tabs are expanded make sure they
  16848. don't go beyond the edges of the tab control
  16849. 2004-11-05 14:57 jackson
  16850. * TabControl.cs: Reset show_slider so if the control is resized to
  16851. a size where it is no longer needed it's not displayed anymore
  16852. 2004-11-05 13:16 jackson
  16853. * TabControl.cs: Make tab pages non visible when added to the
  16854. control
  16855. 2004-11-05 12:42 jackson
  16856. * TabControl.cs: Implement SizeMode.FillToRight
  16857. 2004-11-05 12:16 jackson
  16858. * Control.cs: Do not call CreateHandle if the handle is already
  16859. created
  16860. 2004-11-05 11:46 jackson
  16861. * TabControl.cs: Remove superflous call to CalcTabRows
  16862. 2004-11-05 09:07 jackson
  16863. * XplatUIX11.cs: Update for Mono.Posix changes
  16864. 2004-11-05 07:00 ravindra
  16865. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  16866. scrolling.
  16867. 2004-11-04 22:47 jba
  16868. * ThemeWin32Classic.cs:
  16869. - Fix Button rendering for FlatStyle = Flat or Popup
  16870. - Fix RadioButton and CheckBox rendering when Appearance = Button
  16871. (normal and flatstyle).
  16872. - Correct outer rectangle color when drawing focus rectangle
  16873. - Adjust button bounds to be 1 px smaller when focused
  16874. - Make button not draw sunken 3d border when pushed (windows compat)
  16875. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  16876. - Offset the text in RadioButton and Checkbox when being rendered as
  16877. a button.
  16878. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  16879. radiobuttons
  16880. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  16881. - Fixed disabled text rendering for normally rendered radiobuttons
  16882. 2004-11-04 10:26 jackson
  16883. * TabControl.cs: Recalculate tab rows when resizing
  16884. 2004-11-04 07:47 jordi
  16885. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  16886. collection completion, drawing issues, missing features
  16887. 2004-11-04 05:03 ravindra
  16888. * ScrollBar.cs:
  16889. - We need to recalculate the Thumb area when
  16890. LargeChange/maximum/minimum values are changed.
  16891. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  16892. than minimum. This is required to handle the case if large_change is
  16893. more than max, and use LargeChange property instead of large_change
  16894. variable.
  16895. - We return max+1 when large_change is more than max, like MS does.
  16896. 2004-11-04 04:29 ravindra
  16897. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  16898. - Changed default value signatures (prefixed all with ListView).
  16899. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  16900. ListView.
  16901. - Fixed calculations for ListViewItem and implemented Clone()
  16902. method.
  16903. 2004-11-04 04:26 ravindra
  16904. * Theme.cs, ThemeWin32Classic.cs:
  16905. - Changed default ListView values signatures (prefixed all with
  16906. ListView).
  16907. - Fixed default size values for VScrollBar and HScrollBar.
  16908. - Fixed DrawListViewItem method.
  16909. 2004-11-04 04:05 ravindra
  16910. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  16911. 2004-11-04 04:04 ravindra
  16912. * ImageList.cs: Implemented the missing overload for Draw method.
  16913. 2004-11-03 19:29 jackson
  16914. * TabControl.cs: Handle dropping rows on selection properly
  16915. 2004-11-03 11:59 jackson
  16916. * TabControl.cs: remove debug code
  16917. 2004-11-03 11:52 jackson
  16918. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  16919. the scrolly widgerywoo
  16920. 2004-11-02 13:52 jackson
  16921. * TabControl.cs: Resize the tab pages and tabs when the tab control
  16922. is resized
  16923. 2004-11-02 13:40 jackson
  16924. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  16925. selected tab to the bottom
  16926. 2004-11-02 13:39 jackson
  16927. * TabPage.cs: Store the tab pages row
  16928. 2004-11-02 12:33 jordi
  16929. * MenuItem.cs: fixes handle creation
  16930. 2004-11-02 11:42 jackson
  16931. * TabControl.cs: signature fix
  16932. 2004-11-02 08:56 jackson
  16933. * TabControl.cs: Calculate whether the tab is on an edge properly.
  16934. Remove top secret debugging code
  16935. 2004-11-01 19:57 jackson
  16936. * TabControl.cs: Add click handling, and proper sizing
  16937. 2004-11-01 19:47 jackson
  16938. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  16939. tab controls
  16940. 2004-11-01 19:39 jackson
  16941. * TabPage.cs: add internal property to store the bounds of a tab
  16942. page
  16943. 2004-10-30 04:23 ravindra
  16944. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  16945. values.
  16946. 2004-10-30 04:21 ravindra
  16947. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  16948. fixed calculations.
  16949. 2004-10-30 03:06 pbartok
  16950. * XplatUIX11.cs:
  16951. - Removed extension of DllImported libs
  16952. 2004-10-29 09:55 jordi
  16953. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  16954. navigation, itemcollection completion, menu fixes
  16955. 2004-10-27 22:58 pbartok
  16956. * XplatUIX11.cs:
  16957. - Now throws a nice error message when no X display could be opened
  16958. 2004-10-26 13:51 jordi
  16959. * ListView.cs: removes warning
  16960. 2004-10-26 03:55 ravindra
  16961. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  16962. ThemeWin32Classic.cs: Some formatting for my last checkins.
  16963. 2004-10-26 03:36 ravindra
  16964. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  16965. control and default values.
  16966. 2004-10-26 03:35 ravindra
  16967. * Theme.cs: Added some default values for ListView control.
  16968. 2004-10-26 03:33 ravindra
  16969. * ToolBar.cs: ToolBar should use the user specified button size, if
  16970. there is any. Added a size_specified flag for the same.
  16971. 2004-10-26 03:33 ravindra
  16972. * ColumnHeader.cs: Added some internal members and calculations for
  16973. ColumnHeader.
  16974. 2004-10-26 03:32 ravindra
  16975. * ListViewItem.cs: Calculations for ListViewItem.
  16976. 2004-10-26 03:31 ravindra
  16977. * ListView.cs: Added some internal members and calculations for
  16978. ListView.
  16979. 2004-10-22 13:31 jordi
  16980. * MenuAPI.cs: speedup menus drawing
  16981. 2004-10-22 13:16 jackson
  16982. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  16983. expose event
  16984. 2004-10-22 11:49 jackson
  16985. * Control.cs: oops
  16986. 2004-10-22 11:41 jackson
  16987. * Control.cs: Check to see if the window should have its background
  16988. repainted by X when drawing.
  16989. 2004-10-22 11:31 jackson
  16990. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  16991. clear is true, this way we do not get flicker from X repainting the
  16992. background
  16993. 2004-10-22 11:28 jackson
  16994. * XEventQueue.cs: Queue properly
  16995. 2004-10-21 09:38 jackson
  16996. * XEventQueue.cs: Fix access modifier
  16997. 2004-10-21 09:36 jackson
  16998. * XEventQueue.cs: Don't loose messages
  16999. 2004-10-21 09:22 jackson
  17000. * XEventQueue.cs: Don't loose messages
  17001. 2004-10-20 04:15 jordi
  17002. * BootMode.cs: enum need it by SystemInfo
  17003. 2004-10-19 21:58 pbartok
  17004. * XplatUIWin32.cs:
  17005. - Small sanity check
  17006. 2004-10-19 21:56 pbartok
  17007. * Form.cs:
  17008. - Added private FormParentWindow class which acts as the container
  17009. for our form and as the non-client area where menus are drawn
  17010. - Added/Moved required tie-ins to Jordi's menus
  17011. - Fixed/Implemented the FormStartPosition functionality
  17012. 2004-10-19 21:52 pbartok
  17013. * Control.cs:
  17014. - Removed unneeded locals
  17015. - Added code to all size and location properties to understand and
  17016. deal with the parent container of Form
  17017. 2004-10-19 21:33 pbartok
  17018. * Application.cs:
  17019. - Fixed to deal with new Form subclasses for menus
  17020. 2004-10-19 17:48 jackson
  17021. * XEventQueue.cs: commit correct version of file
  17022. 2004-10-19 16:50 jackson
  17023. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  17024. 2004-10-19 16:15 jordi
  17025. * MenuAPI.cs: MenuBarCalcSize returns the height
  17026. 2004-10-19 08:31 pbartok
  17027. * Control.cs:
  17028. - Added missing call to PreProcessMessage before calling OnXXXKey
  17029. methods
  17030. 2004-10-19 00:04 ravindra
  17031. * ToolTip.cs: Fixed constructor.
  17032. 2004-10-18 09:31 jordi
  17033. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  17034. 2004-10-18 09:26 jordi
  17035. * MenuItem.cs: fixes MenuItem class signature
  17036. 2004-10-18 08:56 jordi
  17037. * MenuAPI.cs: prevents windows from showing in the taskbar
  17038. 2004-10-18 00:28 ravindra
  17039. * ToolTip.cs: Suppressed a warning message.
  17040. 2004-10-18 00:27 ravindra
  17041. * Control.cs: Default value of visible property must be true.
  17042. 2004-10-17 23:19 pbartok
  17043. * ToolTip.cs:
  17044. - Complete implementation
  17045. 2004-10-17 23:19 pbartok
  17046. * XplatUIX11.cs:
  17047. - Added EnableWindow method
  17048. - Added SetModal stub
  17049. - Added generation of WM_ACTIVATE message (still needs testing)
  17050. - Added SetTopMost stub
  17051. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  17052. 2004-10-17 23:17 pbartok
  17053. * XplatUIWin32.cs:
  17054. - Removed VirtualKeys to XplatUIStructs
  17055. - Implemented SetTopMost method
  17056. - Implemented EnableWindow method
  17057. - Bugfix in ScreenToClient()
  17058. - Bugfixes in ClientToScreen()
  17059. 2004-10-17 22:51 pbartok
  17060. * XplatUIStructs.cs:
  17061. - Added WS_EX styles to WindowStyles enumeration
  17062. 2004-10-17 22:50 pbartok
  17063. * XplatUI.cs, XplatUIDriver.cs:
  17064. - Added method for enabling/disabling windows
  17065. - Added method for setting window modality
  17066. - Added method for setting topmost window
  17067. 2004-10-17 22:49 pbartok
  17068. * ThemeWin32Classic.cs:
  17069. - Added ToolTip drawing code
  17070. 2004-10-17 22:49 pbartok
  17071. * Theme.cs:
  17072. - Added ToolTip abstracts
  17073. 2004-10-17 22:47 pbartok
  17074. * Form.cs:
  17075. - Fixed Form.ControlCollection to handle owner relations
  17076. - Added Owner/OwnedForms handling
  17077. - Implemented Z-Ordering for owned forms
  17078. - Removed unneeded private overload of ShowDialog
  17079. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  17080. so I hope)
  17081. - Fixed Close(), had wrong default
  17082. - Added firing of OnLoad event
  17083. - Added some commented out debug code for Ownership handling
  17084. 2004-10-17 22:16 pbartok
  17085. * Control.cs:
  17086. - Fixed/implemented flat list of controls
  17087. 2004-10-17 22:14 pbartok
  17088. * Application.cs:
  17089. - Added code to simulate modal dialogs on Win32
  17090. 2004-10-17 16:11 jordi
  17091. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  17092. mouse event
  17093. 2004-10-17 13:39 jordi
  17094. * MenuAPI.cs: menu drawing fixes
  17095. 2004-10-15 09:10 ravindra
  17096. * StructFormat.cs: General Enum.
  17097. 2004-10-15 09:09 ravindra
  17098. * SizeGripStyle.cs: Enum for Form.
  17099. 2004-10-15 09:08 ravindra
  17100. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  17101. in Theme for ListView.
  17102. 2004-10-15 09:06 ravindra
  17103. * ColumnHeader.cs: Flushing some formatting changes.
  17104. 2004-10-15 09:05 ravindra
  17105. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  17106. style.
  17107. 2004-10-15 09:03 ravindra
  17108. * ListView.cs: Implemented Paint method and fixed coding style.
  17109. 2004-10-15 07:34 jordi
  17110. * MenuAPI.cs: fix for X11
  17111. 2004-10-15 07:32 ravindra
  17112. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  17113. - Renamed Paint() method to Draw() for clarity. Also, moved
  17114. DrawImage() to OnPaint().
  17115. 2004-10-15 07:25 ravindra
  17116. * CheckBox.cs, RadioButton.cs:
  17117. - Removed Redraw (), we get it from ButtonBase.
  17118. - Implemented Paint (), to do class specific painting.
  17119. 2004-10-15 07:16 ravindra
  17120. * ButtonBase.cs:
  17121. - Redraw () is not virtual now.
  17122. - Added an internal virtual method Paint (), so that
  17123. derived classes can do their painting on their own.
  17124. - Modified OnPaint () to call Paint ().
  17125. 2004-10-15 06:43 jordi
  17126. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  17127. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  17128. 2004-10-15 00:30 ravindra
  17129. * MessageBox.cs:
  17130. - MessageBox on windows does not have min/max buttons.
  17131. This change in CreateParams fixes this on Windows. We
  17132. still need to implement this windowstyle behavior in
  17133. our X11 driver.
  17134. 2004-10-14 05:14 ravindra
  17135. * ToolBar.cs:
  17136. - Changed Redraw () to do a Refresh () always.
  17137. - Fixed the MouseMove event handling when mouse is pressed,
  17138. ie drag event handling.
  17139. - Replaced the usage of ToolBarButton.Pressed property to
  17140. ToolBarButton.pressed internal variable.
  17141. 2004-10-14 05:10 ravindra
  17142. * ToolBarButton.cs:
  17143. - Added an internal member 'inside' to handle mouse move
  17144. with mouse pressed ie mouse drag event.
  17145. - Changed 'Pressed' property to return true only when
  17146. 'inside' and 'pressed' are both true.
  17147. - Some coding style love.
  17148. 2004-10-14 00:17 ravindra
  17149. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  17150. public method.
  17151. 2004-10-14 00:15 ravindra
  17152. * ButtonBase.cs: Redraw () related improvements.
  17153. 2004-10-14 00:14 ravindra
  17154. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  17155. removed unnecessary calls to Button.Show () method.
  17156. 2004-10-13 17:50 pbartok
  17157. * XplatUIX11.cs:
  17158. - Formatting fix
  17159. - Removed destroying of window until we solve the problem of X
  17160. destroying the window before us on shutdown
  17161. 2004-10-13 16:32 pbartok
  17162. * ButtonBase.cs:
  17163. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  17164. 2004-10-13 14:18 pbartok
  17165. * XplatUIX11.cs:
  17166. - Added code to destroy the X window
  17167. 2004-10-13 14:18 pbartok
  17168. * XplatUIWin32.cs:
  17169. - Added code to destroy a window
  17170. 2004-10-13 14:12 pbartok
  17171. * ButtonBase.cs:
  17172. - Added the Redraw on Resize that got dropped in the last rev
  17173. 2004-10-13 09:06 pbartok
  17174. * ThemeWin32Classic.cs:
  17175. - Path from John BouAntoun:
  17176. * Fix check rendering (centre correctly for normal style, offset
  17177. correctly for FlatStyle).
  17178. * Fix border color usage (use backcolor) for FlatStyle.Popup
  17179. * Use checkbox.Capture instead of checkbox.is_pressed when
  17180. rendering flatstyle states.
  17181. 2004-10-12 21:48 pbartok
  17182. * ThemeWin32Classic.cs:
  17183. - Removed all occurences of SystemColors and replaced them with the
  17184. matching theme color
  17185. 2004-10-12 21:41 pbartok
  17186. * ThemeWin32Classic.cs:
  17187. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  17188. him using the function for flatstyle drawing
  17189. - Changed functions to use the new version of CPDrawBorder3D
  17190. 2004-10-12 21:15 pbartok
  17191. * ControlPaint.cs:
  17192. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  17193. match MS documentation. They need to return defined colors if the
  17194. passed color matches the configured control color. Thanks to John
  17195. BouAntoun for pointing this out.
  17196. 2004-10-12 20:57 pbartok
  17197. * Control.cs:
  17198. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  17199. color is changed
  17200. 2004-10-12 20:46 pbartok
  17201. * CheckBox.cs:
  17202. - Fix from John BouAntoun: Now properly sets the Appearance property
  17203. 2004-10-12 20:45 pbartok
  17204. * ThemeWin32Classic.cs:
  17205. - Fixes from John BouAntoun: now handles forecolors and backcolors
  17206. for flatstyle rendered controls much better; It also fixes normal
  17207. checkbox rendering when pushed or disabled.
  17208. 2004-10-08 02:50 jordi
  17209. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  17210. work
  17211. 2004-10-07 08:56 jordi
  17212. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  17213. 2004-10-06 03:59 jordi
  17214. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17215. XplatUIWin32.cs: removes warnings from compilation
  17216. 2004-10-05 12:23 jackson
  17217. * RadioButton.cs: Fix ctor
  17218. 2004-10-05 11:10 pbartok
  17219. * MessageBox.cs:
  17220. - Partial implementation by Benjamin Dasnois
  17221. 2004-10-05 10:15 jackson
  17222. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  17223. by John BouAntoun
  17224. 2004-10-05 03:07 ravindra
  17225. * ToolBar.cs:
  17226. - Removed a private method, Draw ().
  17227. - Fixed the ButtonDropDown event handling.
  17228. - Fixed MouseMove event handling.
  17229. 2004-10-05 03:04 ravindra
  17230. * ThemeWin32Classic.cs:
  17231. - Added DrawListView method and ListViewDefaultSize property.
  17232. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  17233. - Changed DOS style CRLF to Unix format (dos2unix).
  17234. 2004-10-05 03:03 ravindra
  17235. * Theme.cs:
  17236. - Added DrawListView method and ListViewDefaultSize property.
  17237. 2004-10-05 02:42 ravindra
  17238. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  17239. clicks on DropDown arrow.
  17240. 2004-10-04 22:56 jackson
  17241. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  17242. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  17243. Control handle the buffers, derived classes should not have to
  17244. CreateBuffers themselves.
  17245. 2004-10-04 21:20 jackson
  17246. * StatusBar.cs: The control handles resizing the buffers now.
  17247. 2004-10-04 21:18 jackson
  17248. * Control.cs: When resizing the buffers should be invalidated. This
  17249. should be handled in Control not in derived classes.
  17250. 2004-10-04 14:45 jackson
  17251. * TabPage.cs: oops
  17252. 2004-10-04 02:14 pbartok
  17253. * LeftRightAlignment.cs:
  17254. - Initial check-in
  17255. 2004-10-04 01:09 jordi
  17256. * ThemeWin32Classic.cs: fixes right button position causing right
  17257. button not showing on horizontal scrollbars
  17258. 2004-10-02 13:12 pbartok
  17259. * XplatUIX11.cs:
  17260. - Simplified the Invalidate method by using an X call instead of
  17261. generating the expose ourselves
  17262. - Added an expose when the window background is changed
  17263. - Implemented ClientToScreen method
  17264. 2004-10-02 13:08 pbartok
  17265. * XplatUIWin32.cs:
  17266. - Added Win32EnableWindow method (test for implementing modal
  17267. dialogs)
  17268. - Added ClientToScreen method and imports
  17269. 2004-10-02 13:07 pbartok
  17270. * XplatUI.cs, XplatUIDriver.cs:
  17271. - Added ClientToScreen coordinate translation method
  17272. 2004-10-02 13:06 pbartok
  17273. * KeyPressEventArgs.cs:
  17274. - Fixed access level for constructor
  17275. 2004-10-02 13:06 pbartok
  17276. * NativeWindow.cs:
  17277. - Changed access level for the window_collection hash table
  17278. 2004-10-02 13:05 pbartok
  17279. * Form.cs:
  17280. - Added KeyPreview property
  17281. - Added Menu property (still incomplete, pending Jordi's menu work)
  17282. - Implemented ProcessCmdKey
  17283. - Implemented ProcessDialogKey
  17284. - Implemented ProcessKeyPreview
  17285. 2004-10-02 13:02 pbartok
  17286. * Control.cs:
  17287. - Added private method to get the Control object from the window
  17288. handle
  17289. - Implemented ContextMenu property
  17290. - Implemented PointToScreen
  17291. - Implemented PreProcessMessage
  17292. - Implemented IsInputChar
  17293. - Implemented IsInputKey
  17294. - Implemented ProcessCmdKey
  17295. - Completed ProcessKeyEventArgs
  17296. - Fixed message loop to call the proper chain of functions on key
  17297. events
  17298. - Implemented ProcessDialogChar
  17299. - Implemented ProcessDialogKey
  17300. - Implemented ProcessKeyMessage
  17301. - Implemented ProcessKeyPreview
  17302. - Added RaiseDragEvent stub (MS internal method)
  17303. - Added RaiseKeyEvent stub (MS internal method)
  17304. - Added RaiseMouseEvent stub (MS Internal method)
  17305. - Added RaisePaintEvent stub (MS Internal method)
  17306. - Added ResetMouseEventArgs stub (MS Internal method)
  17307. - Implemented RtlTranslateAlignment
  17308. - Implemented RtlTranslateContent
  17309. - Implemented RtlTranslateHorizontal
  17310. - Implemented RtlTranslateLeftRight
  17311. - Added generation of KeyPress event
  17312. 2004-10-02 05:57 ravindra
  17313. * ListViewItem.cs: Added attributes.
  17314. 2004-10-02 05:32 ravindra
  17315. * ListView.cs: Added attributes.
  17316. 2004-10-01 11:53 jackson
  17317. * Form.cs: Implement the Close method so work on MessageBox can
  17318. continue.
  17319. 2004-09-30 14:06 pbartok
  17320. * XplatUIX11.cs:
  17321. - Bug fixes
  17322. 2004-09-30 11:34 jackson
  17323. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  17324. 2004-09-30 07:26 ravindra
  17325. * ListViewItemConverter.cs: Converter for ListViewItem.
  17326. 2004-09-30 07:26 ravindra
  17327. * SortOrder.cs: Enum for ListView control.
  17328. 2004-09-30 07:25 ravindra
  17329. * ColumnHeader.cs: Supporting class for ListView control.
  17330. 2004-09-30 07:24 ravindra
  17331. * ListView.cs, ListViewItem.cs: Initial implementation.
  17332. 2004-09-30 07:20 ravindra
  17333. * ItemActivation.cs: Enum for ListView Control.
  17334. 2004-09-29 20:29 pbartok
  17335. * XplatUIX11.cs:
  17336. - Added lookup of pixel value for background color; tries to get a
  17337. color 'close' to the requested color, it avoids having to create a
  17338. colormap. Depending on the display this could mean the used color
  17339. is slightly off the desired color. Might have to change it to a more
  17340. resource intensive colormap approach, but it will work as a
  17341. workaround to avoid red screens.
  17342. 2004-09-29 14:27 jackson
  17343. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  17344. 2004-09-28 12:44 pbartok
  17345. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  17346. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  17347. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  17348. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17349. TrackBar.cs, VScrollBar.cs:
  17350. - Streamlined Theme interfaces:
  17351. * Each DrawXXX method for a control now is passed the object for
  17352. the control to be drawn in order to allow accessing any state the
  17353. theme might require
  17354. * ControlPaint methods for the theme now have a CP prefix to avoid
  17355. name clashes with the Draw methods for controls
  17356. * Every control now retrieves it's DefaultSize from the current
  17357. theme
  17358. 2004-09-28 12:17 jackson
  17359. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  17360. drawing
  17361. 2004-09-24 14:57 jackson
  17362. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  17363. Gives us a nice little performance boost.
  17364. 2004-09-24 12:02 jackson
  17365. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  17366. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  17367. Control and supporting classes. Initial checkin
  17368. 2004-09-23 13:08 jackson
  17369. * Form.cs: Temp build fixage
  17370. 2004-09-23 01:39 ravindra
  17371. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  17372. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  17373. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  17374. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  17375. EventHandlers needed by ListView Control.
  17376. 2004-09-22 14:12 pbartok
  17377. * ScrollableControl.cs:
  17378. - Implemented DockPadding property
  17379. - Implemented AutoScroll property
  17380. - Implemented AutoScrollMargin property
  17381. - Implemented AutoScrollMinSize property
  17382. - Implemented AutoScrollPosition property
  17383. - Implemented DisplayRectangle property (still incomplete)
  17384. - Implemented CreateParams property
  17385. - Implemented HScroll property
  17386. - Implemented VScroll property
  17387. - Implemented OnVisibleChanged property
  17388. 2004-09-22 14:09 pbartok
  17389. * Form.cs:
  17390. - Added Form.ControllCollection class
  17391. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  17392. RemoveOwnedForm (still incomplete, missing on-top and common
  17393. minimize/maximize behaviour)
  17394. - Added StartPosition property (still incomplete, does not use when
  17395. creating the form)
  17396. - Added ShowDialog() methods (still incomplete, missing forcing the
  17397. dialog modal)
  17398. 2004-09-22 14:05 pbartok
  17399. * Application.cs:
  17400. - Added message loop for modal dialogs
  17401. 2004-09-22 14:02 pbartok
  17402. * GroupBox.cs:
  17403. - Fixed wrong types for events
  17404. 2004-09-22 14:00 pbartok
  17405. * Shortcut.cs, FormWindowState.cs:
  17406. - Fixed wrong values
  17407. 2004-09-22 12:01 jackson
  17408. * Control.cs: Text is never null
  17409. 2004-09-20 22:14 pbartok
  17410. * XplatUIWin32.cs:
  17411. - Fixed accessibility level for Idle handler
  17412. 2004-09-20 18:54 jackson
  17413. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17414. XplatUIX11.cs: New message loop that uses poll so we don't get a
  17415. busy loop
  17416. 2004-09-17 10:43 pbartok
  17417. * ScrollBar.cs:
  17418. - Fixed behaviour of arrow buttons. Now properly behaves like
  17419. Buttons (and like Microsoft's scrollbar arrow buttons)
  17420. 2004-09-17 10:14 pbartok
  17421. * ScrollBar.cs:
  17422. - Added missing release of keyboard/mouse capture
  17423. 2004-09-17 06:18 jordi
  17424. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  17425. Theme.cs: Very early menu support
  17426. 2004-09-16 17:45 pbartok
  17427. * XplatUIWin32.cs:
  17428. - Fixed sending a window to the front
  17429. - Added overload for SetWindowPos to avoid casting
  17430. 2004-09-16 17:44 pbartok
  17431. * Control.cs:
  17432. - Added SendToBack and BringToFront methods
  17433. 2004-09-16 07:00 ravindra
  17434. * Copyright: Added Novell URL.
  17435. 2004-09-16 07:00 ravindra
  17436. * ToolBar.cs: Invalidate should be done before redrawing.
  17437. 2004-09-15 21:19 ravindra
  17438. * ColumnHeaderStyle.cs: Enum for ListView Control.
  17439. 2004-09-15 21:18 ravindra
  17440. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  17441. ListView Control.
  17442. 2004-09-13 18:26 jackson
  17443. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  17444. properly
  17445. 2004-09-13 18:13 jackson
  17446. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  17447. a second thread and post messages into the main threads message
  17448. queue. This makes timing much more consistent. Both win2K and XP
  17449. have a minimum timer value of 15 milliseconds, so we now do this
  17450. too.
  17451. 2004-09-13 15:18 pbartok
  17452. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17453. XplatUIX11.cs:
  17454. - Added Z-Ordering methods
  17455. 2004-09-13 10:56 pbartok
  17456. * Form.cs:
  17457. - Fixed #region names
  17458. - Moved properties and methods into their proper #regions
  17459. 2004-09-13 10:51 pbartok
  17460. * Form.cs:
  17461. - Added Accept and CancelButton properties
  17462. - Added ProcessDialogKey() method
  17463. 2004-09-13 08:18 pbartok
  17464. * IWindowTarget.cs:
  17465. - Initial check-in
  17466. 2004-09-10 21:50 pbartok
  17467. * Control.cs:
  17468. - Added DoDragDrop() [incomplete]
  17469. - Properly implemented 'Visible' handling
  17470. - Added SetVisibleCore()
  17471. - Implemented FindChildAtPoint()
  17472. - Implemented GetContainerControl()
  17473. - Implemented Hide()
  17474. 2004-09-10 19:28 pbartok
  17475. * Control.cs:
  17476. - Moved methods into their appropriate #regions
  17477. - Reordered methods within regions alphabetically
  17478. 2004-09-10 18:57 pbartok
  17479. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17480. - Added method to retrieve text from window
  17481. 2004-09-10 18:56 pbartok
  17482. * Control.cs:
  17483. - Moved some internal functions into the internal region
  17484. - Implemented FontHeight
  17485. - Implemented RenderRightToLeft
  17486. - Implemented ResizeRedraw
  17487. - Implemented ShowFocusCues
  17488. - Implemented ShowKeyboardCues
  17489. - Implemented FromChildHandle
  17490. - Implemented FromHandle
  17491. - Implemented IsMnemonic
  17492. - Implemented ReflectMessage
  17493. - All public and protected Static Methods are now complete
  17494. 2004-09-10 16:54 pbartok
  17495. * Control.cs:
  17496. - Implemented remaining missing public instance properties
  17497. - Alphabetized some out of order properties
  17498. 2004-09-10 05:51 ravindra
  17499. * PictureBox.cs: Added a check for null image.
  17500. 2004-09-10 00:59 jordi
  17501. * GroupBox.cs: remove cvs tag
  17502. 2004-09-09 05:25 ravindra
  17503. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  17504. 2004-09-09 05:23 ravindra
  17505. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  17506. parent redraw.
  17507. 2004-09-09 02:28 pbartok
  17508. * ThemeWin32Classic.cs:
  17509. - Improve disabled string look
  17510. 2004-09-09 01:15 jordi
  17511. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  17512. args and handler
  17513. 2004-09-08 23:56 ravindra
  17514. * ItemBoundsPortion.cs: It's enum, not a class!
  17515. 2004-09-08 23:47 ravindra
  17516. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  17517. Enums for Form.
  17518. 2004-09-08 21:13 ravindra
  17519. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  17520. ListView control.
  17521. 2004-09-08 21:03 ravindra
  17522. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  17523. avoid crash.
  17524. 2004-09-08 21:01 ravindra
  17525. * ScrollableControl.cs: Removed unreachable code.
  17526. 2004-09-08 06:45 jordi
  17527. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  17528. 2004-09-08 01:00 jackson
  17529. * XplatUIX11.cs: Only run the timers when updating the message
  17530. queue. This effectively gives X messages a higher priority then
  17531. timer messages. Timers still need love though
  17532. 2004-09-07 14:01 jackson
  17533. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  17534. this for us and the handle is no longer valid.
  17535. 2004-09-07 13:59 jackson
  17536. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  17537. loop that manages to not crash. TODO: Add poll and cleanup timers
  17538. 2004-09-07 11:12 jordi
  17539. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  17540. 2004-09-07 03:40 jordi
  17541. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  17542. fixes, methods, multiple links
  17543. 2004-09-06 06:55 jordi
  17544. * Control.cs: Caches ClientRectangle rectangle value
  17545. 2004-09-05 02:03 jordi
  17546. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  17547. certain situations
  17548. 2004-09-04 11:10 jordi
  17549. * Label.cs: Refresh when font changed
  17550. 2004-09-02 16:24 pbartok
  17551. * Control.cs:
  17552. - Added sanity check to creation of double buffer bitmap
  17553. 2004-09-02 16:24 pbartok
  17554. * ButtonBase.cs:
  17555. - Fixed selection of text color
  17556. - Fixed handling of resize event; now properly recreates double
  17557. buffering bitmap
  17558. - Added missing assignment of TextAlignment
  17559. - Added proper default for TextAlignment
  17560. 2004-09-02 14:26 pbartok
  17561. * RadioButton.cs:
  17562. - Added missing RadioButton.RadioButtonAccessibleObject class
  17563. 2004-09-02 14:26 pbartok
  17564. * Control.cs:
  17565. - Added missing Control.ControlAccessibleObject class
  17566. - Started to implement Select()ion mechanisms, still very incomplete
  17567. 2004-09-02 14:25 pbartok
  17568. * AccessibleObject.cs:
  17569. - Added missing methods
  17570. 2004-09-02 14:23 pbartok
  17571. * AccessibleNavigation.cs, AccessibleSelection.cs:
  17572. - Initial check-in
  17573. 2004-09-02 10:32 jordi
  17574. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  17575. pool for pens, brushes, and hatchbruses
  17576. 2004-09-01 15:30 jackson
  17577. * StatusBar.cs: Fix typo
  17578. 2004-09-01 14:44 pbartok
  17579. * RadioButton.cs:
  17580. - Fixed state
  17581. 2004-09-01 14:39 pbartok
  17582. * Button.cs, RadioButton.cs:
  17583. - Functional initial check-in
  17584. 2004-09-01 14:01 pbartok
  17585. * CheckBox.cs:
  17586. - Added missing default
  17587. - Added missing region mark
  17588. 2004-09-01 09:10 jordi
  17589. * Label.cs: fixes method signatures, new methods, events, fixes
  17590. autosize
  17591. 2004-09-01 07:19 jordi
  17592. * Control.cs: Init string variables with an empty object
  17593. 2004-09-01 04:20 jordi
  17594. * Control.cs: fires OnFontChanged event
  17595. 2004-08-31 20:07 pbartok
  17596. * ButtonBase.cs:
  17597. - Enabled display of strings
  17598. 2004-08-31 20:05 pbartok
  17599. * Form.cs:
  17600. - Added (partial) implementation of DialogResult; rest needs to be
  17601. implemented when the modal loop code is done
  17602. 2004-08-31 19:55 pbartok
  17603. * CheckBox.cs:
  17604. - Fixed to match the removal of the needs_redraw concept
  17605. 2004-08-31 19:55 pbartok
  17606. * ButtonBase.cs:
  17607. - Removed the rather odd split between 'needs redraw' and redrawing
  17608. - Now handles the events that require regeneration (ambient
  17609. properties and size)
  17610. 2004-08-31 19:41 pbartok
  17611. * Control.cs:
  17612. - Added firing of BackColorChanged event
  17613. - Added TopLevelControl property
  17614. - Fixed handling of WM_ERASEBKGRND message
  17615. 2004-08-31 12:49 pbartok
  17616. * ButtonBase.cs:
  17617. - Removed debug
  17618. - Minor fixes
  17619. 2004-08-31 12:48 pbartok
  17620. * CheckBox.cs:
  17621. - Finished (famous last words)
  17622. 2004-08-31 04:35 jordi
  17623. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  17624. scrolling bugs, adds new methods
  17625. 2004-08-30 14:42 pbartok
  17626. * CheckBox.cs:
  17627. - Implemented CheckBox drawing code
  17628. 2004-08-30 14:42 pbartok
  17629. * ButtonBase.cs:
  17630. - Made Redraw() and CheckRedraw() virtual
  17631. - Improved mouse up/down/move logic to properly track buttons
  17632. 2004-08-30 09:44 pbartok
  17633. * CheckBox.cs:
  17634. - Updated to fix broken build. Not complete yet.
  17635. 2004-08-30 09:28 pbartok
  17636. * CheckState.cs:
  17637. - Initial checkin
  17638. 2004-08-30 09:17 pbartok
  17639. * Appearance.cs:
  17640. - Initial check-in
  17641. 2004-08-27 16:12 ravindra
  17642. * ToolBarButton.cs: Added TypeConverter attribute.
  17643. 2004-08-27 16:07 ravindra
  17644. * ImageIndexConverter.cs: Implemented.
  17645. 2004-08-27 14:17 pbartok
  17646. * Control.cs:
  17647. - Removed unneeded stack vars
  17648. - First attempt to fix sizing issues when layout is suspended
  17649. 2004-08-25 15:35 jordi
  17650. * ScrollBar.cs: more fixes to scrollbar
  17651. 2004-08-25 14:04 ravindra
  17652. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  17653. Added the missing divider code and grip for ToolBar Control.
  17654. 2004-08-25 13:20 pbartok
  17655. * Control.cs:
  17656. - Control now properly passes the ambient background color to child
  17657. controls
  17658. 2004-08-25 13:20 jordi
  17659. * ScrollBar.cs: small bug fix regarding bar position
  17660. 2004-08-25 12:33 pbartok
  17661. * Timer.cs:
  17662. - Now only calls SetTimer or KillTimer if the enabled state has
  17663. changed
  17664. 2004-08-25 12:33 pbartok
  17665. * XplatUIWin32.cs:
  17666. - Fixed timer handling, now seems to work
  17667. - Improved error message for window creation
  17668. 2004-08-25 12:32 pbartok
  17669. * Control.cs:
  17670. - Fixed generation of MouseUp message
  17671. 2004-08-25 12:29 jordi
  17672. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  17673. and fixes for progressbar
  17674. 2004-08-24 18:43 ravindra
  17675. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  17676. in ToolBar control.
  17677. 2004-08-24 17:15 pbartok
  17678. * Panel.cs:
  17679. - Added #region
  17680. - Added missing events
  17681. - Alphabetized
  17682. 2004-08-24 17:14 pbartok
  17683. * StatusBar.cs, PictureBox.cs:
  17684. - Now uses Control's CreateParams
  17685. 2004-08-24 16:36 pbartok
  17686. * XplatUIX11.cs:
  17687. - Fixed background color handling
  17688. - Fixed sending of enter/leave events on a grab
  17689. 2004-08-24 16:35 pbartok
  17690. * X11Structs.cs:
  17691. - Refined definitions for CrossingEvent
  17692. 2004-08-24 12:37 jordi
  17693. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  17694. formmating, methods signature, and adds missing events
  17695. 2004-08-24 12:24 jordi
  17696. * Control.cs: fire OnEnabledChanged event
  17697. 2004-08-24 11:17 pbartok
  17698. * XplatUIWin32.cs:
  17699. - Implemented SetTimer() and KillTimer()
  17700. 2004-08-24 11:16 pbartok
  17701. * XplatUIX11.cs:
  17702. - Now uses Remove instead of Add to kill the timer
  17703. 2004-08-24 10:16 jackson
  17704. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  17705. picture boxes in the theme now. Draw picture box borders and obey
  17706. sizing modes
  17707. 2004-08-24 05:49 jackson
  17708. * Timer.cs: Remove top secret debugging code
  17709. 2004-08-24 05:34 jackson
  17710. * PictureBox.cs: Temp hack to make picture boxes draw their full
  17711. image
  17712. 2004-08-24 05:29 jackson
  17713. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17714. XplatUIX11.cs: Move timers to the driver level. On X they are
  17715. queued by the driver and checked on idle.
  17716. 2004-08-24 01:07 jackson
  17717. * XplatUIX11.cs: Use a queue for async messages instead of passing
  17718. them as ClientMessages since that was totally broken. Also simply
  17719. check for events and return an idle message if none are found. This
  17720. gives us an idle handler, and prevents deadlocking when no messages
  17721. are in the queue.
  17722. 2004-08-23 18:19 ravindra
  17723. * XplatUIWin32.cs: Removed the unwanted destructor.
  17724. 2004-08-23 17:27 pbartok
  17725. * ButtonBase.cs:
  17726. - Finishing touches. Works now, just needs some optimizations.
  17727. 2004-08-23 16:53 jordi
  17728. * ScrollBar.cs: small fix
  17729. 2004-08-23 16:45 pbartok
  17730. * Application.cs:
  17731. - Removed debug output
  17732. - Simplifications
  17733. 2004-08-23 16:43 jordi
  17734. * ScrollBar.cs: [no log message]
  17735. 2004-08-23 16:10 pbartok
  17736. * Form.cs:
  17737. - Fixed handling of WM_CLOSE message
  17738. - Removed debug output
  17739. 2004-08-23 16:09 pbartok
  17740. * Application.cs:
  17741. - Added handling of Idle event
  17742. - Added handling of form closing
  17743. - Fixed reporting of MessageLoop property
  17744. - Removed some unneeded code, should provide a bit of a speedup
  17745. 2004-08-23 15:22 pbartok
  17746. * Control.cs:
  17747. - Added InitLayout() method
  17748. - Added code to properly perform layout when Anchor or Dock property
  17749. is changed
  17750. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  17751. LAMESPEC, tried to do it in a way that makes sense
  17752. 2004-08-23 14:10 jordi
  17753. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  17754. properties and methods
  17755. 2004-08-23 13:55 pbartok
  17756. * Control.cs:
  17757. - Properly fixed Jordi's last fix
  17758. - Now uses Cursor's Position property instead of calling XplatUI
  17759. directly
  17760. 2004-08-23 13:44 jordi
  17761. * PaintEventHandler.cs: Adding missing attribute
  17762. 2004-08-23 13:39 pbartok
  17763. * Cursor.cs:
  17764. - Implemented Position property
  17765. 2004-08-23 13:39 pbartok
  17766. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17767. - Added method to move mouse cursor
  17768. 2004-08-23 13:39 pbartok
  17769. * XplatUIX11.cs:
  17770. - Fixed setting of background color
  17771. - Added method to move mouse cursor
  17772. 2004-08-23 13:16 jordi
  17773. * Control.cs: avoids null exception
  17774. 2004-08-22 17:46 jackson
  17775. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  17776. PictureBox
  17777. 2004-08-22 17:40 jackson
  17778. * XplatUIX11.cs: Add some missing locks
  17779. 2004-08-22 15:10 pbartok
  17780. * Control.cs, Form.cs:
  17781. - Removed OverlappedWindow style from Control, instead it's default
  17782. now is child
  17783. - Made form windows OverlappedWindow by default
  17784. 2004-08-22 13:34 jackson
  17785. * ScrollBar.cs: Update the position through the Value property so
  17786. the OnValueChanged event is raised.
  17787. 2004-08-22 12:04 pbartok
  17788. * SWF.csproj:
  17789. - Added Cursor.cs and UserControl.cs
  17790. 2004-08-22 12:03 pbartok
  17791. * Cursor.cs:
  17792. - Started implementation, not usable yet
  17793. 2004-08-22 12:00 pbartok
  17794. * UserControl.cs:
  17795. - Implemented UserControl (complete)
  17796. 2004-08-21 19:20 ravindra
  17797. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  17798. 2004-08-21 18:49 ravindra
  17799. * ToolBar.cs: Probably this completes the missing attributes in
  17800. toolbar control.
  17801. 2004-08-21 18:03 ravindra
  17802. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  17803. Fixed toolbar control signatures.
  17804. 2004-08-21 16:32 pbartok
  17805. * LinkLabel.cs:
  17806. - Signature Fixes
  17807. 2004-08-21 16:30 pbartok
  17808. * Label.cs:
  17809. - Signature fixes
  17810. 2004-08-21 16:19 pbartok
  17811. * Control.cs, Label.cs:
  17812. - Signature fixes
  17813. 2004-08-21 15:57 pbartok
  17814. * ButtonBase.cs:
  17815. - Added loads of debug output for development
  17816. - Fixed typo in method name
  17817. 2004-08-21 15:52 pbartok
  17818. * ToolBarButtonClickEventArgs.cs:
  17819. - Added missing base class
  17820. 2004-08-21 14:53 pbartok
  17821. * Control.cs:
  17822. - Updated to match new GrabWindow signature
  17823. 2004-08-21 14:51 pbartok
  17824. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17825. - Added method to get default display size
  17826. 2004-08-21 14:23 pbartok
  17827. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17828. - Added method to query current grab state
  17829. - Added argument to allow confining a grab to a window
  17830. 2004-08-21 14:22 pbartok
  17831. * Keys.cs:
  17832. - Added [Flags] attribute so that modifiers can be used in bitwise
  17833. ops
  17834. 2004-08-21 14:21 pbartok
  17835. * TrackBar.cs, ScrollBar.cs:
  17836. - Replaced direct XplatUI calls with their Control counterpart
  17837. 2004-08-21 13:32 pbartok
  17838. * Control.cs:
  17839. - Implemented Created property
  17840. 2004-08-21 13:28 pbartok
  17841. * Control.cs:
  17842. - Implemented ContainsFocus
  17843. 2004-08-21 13:26 pbartok
  17844. * Control.cs:
  17845. - Implemented CausesValidation
  17846. 2004-08-21 13:21 pbartok
  17847. * Control.cs:
  17848. - Implemented CanFocus
  17849. - Implemented CanSelect
  17850. - Implemented Capture
  17851. 2004-08-21 12:35 pbartok
  17852. * XplatUIWin32.cs:
  17853. - Fixed bug with Async message handling
  17854. - Implemented getting the ModifierKeys
  17855. 2004-08-21 12:32 jackson
  17856. * AsyncMethodResult.cs: Make sure we have the mutex before we
  17857. release it. Fixes BeginInvoke on windows
  17858. 2004-08-21 11:31 pbartok
  17859. * XplatUIWin32.cs, XplatUIX11.cs:
  17860. - Drivers now return proper mouse state
  17861. 2004-08-21 10:54 jackson
  17862. * Control.cs: Implement EndInvoke
  17863. 2004-08-21 10:48 jackson
  17864. * Timer.cs: Remove unneeded finalizer
  17865. 2004-08-20 19:52 ravindra
  17866. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  17867. in mouse event handling in the ToolBar control.
  17868. 2004-08-20 19:50 ravindra
  17869. * ImageList.cs: Changed draw method to use the arguments passed in
  17870. to draw the image.
  17871. 2004-08-20 18:58 pbartok
  17872. * XplatUIStructs.cs:
  17873. - Added private message for async communication
  17874. 2004-08-20 17:38 ravindra
  17875. * Control.cs: Made RightToLeft property virtual and removed a
  17876. Console.WriteLine.
  17877. 2004-08-20 14:39 jordi
  17878. * ThemeGtk.cs: use style_attach
  17879. 2004-08-20 14:39 pbartok
  17880. * XplatUIWin32.cs:
  17881. - Added jackson's Async code from X11 to Win32
  17882. 2004-08-20 14:09 pbartok
  17883. * SWF.csproj:
  17884. - Added all new files
  17885. 2004-08-20 14:09 pbartok
  17886. * Control.cs:
  17887. - Added call to set window background color
  17888. 2004-08-20 14:03 pbartok
  17889. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  17890. - Added method for setting the window background
  17891. 2004-08-20 14:02 pbartok
  17892. * XplatUIWin32.cs:
  17893. - Added method for setting the background color
  17894. - Added handling for erasing the window background
  17895. 2004-08-20 13:45 jordi
  17896. * TrackBar.cs: fixes timer, new properties and methods
  17897. 2004-08-20 13:34 jackson
  17898. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  17899. correct thread
  17900. 2004-08-20 13:22 jackson
  17901. * Timer.cs: Timer Tick events are now handed through Controls Async
  17902. mechanism so the callbacks are executed in the same thread as X
  17903. 2004-08-20 13:19 jackson
  17904. * XplatUIDriver.cs: Expose functionality to send async messages
  17905. through the driver
  17906. 2004-08-20 13:18 jackson
  17907. * Control.cs: Implement Begininvoke
  17908. 2004-08-20 13:14 jackson
  17909. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  17910. messages through the driver
  17911. 2004-08-20 13:12 jackson
  17912. * XplatUIX11.cs: Lock before all X operations. Also added Async
  17913. method functionality through XSendEvent
  17914. 2004-08-20 13:11 jackson
  17915. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  17916. This will screw up on 64 bit systems)
  17917. 2004-08-20 13:10 jackson
  17918. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  17919. Async messages through X/Win32
  17920. 2004-08-19 19:39 pbartok
  17921. * XplatUIX11.cs:
  17922. - Updated code to match new HandleData.DeviceContext type
  17923. 2004-08-19 19:38 pbartok
  17924. * HandleData.cs:
  17925. - Made DeviceContext a generic object to allow usage from various
  17926. drivers
  17927. - Added support for queueing Windows messages
  17928. 2004-08-19 19:37 pbartok
  17929. * XplatUIWin32.cs:
  17930. - Added generation of MouseEnter, MouseLeave and MouseHover events
  17931. - Added cleanup on EndPaint
  17932. 2004-08-19 19:17 pbartok
  17933. * Control.cs:
  17934. - Added handling of WM_MOUSEHOVER
  17935. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  17936. code
  17937. 2004-08-19 18:55 jordi
  17938. * ThemeGtk.cs: fixes button order
  17939. 2004-08-19 18:12 jordi
  17940. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  17941. 2004-08-19 17:09 pbartok
  17942. * Control.cs:
  17943. - Added Right property
  17944. - Added RightToLeft property
  17945. 2004-08-19 16:27 jordi
  17946. * ThemeGtk.cs: experimental GTK theme support
  17947. 2004-08-19 16:26 jordi
  17948. * ITheme.cs, Theme.cs: move themes from an interface to a class
  17949. 2004-08-19 16:25 jordi
  17950. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  17951. theme enhancaments
  17952. 2004-08-19 16:04 pbartok
  17953. * XplatUIX11.cs:
  17954. - Added colormap basics
  17955. - Added a way to re-initialize with a different display handle
  17956. - Fixed setting of the window background color
  17957. - Added various X11 imports related to colors and colormaps
  17958. 2004-08-19 15:51 pbartok
  17959. * X11Structs.cs:
  17960. - Removed packing hints (Paolo suggested this a while back)
  17961. - fixed colormap type
  17962. - Added default Atom types
  17963. - Added Screen and color structs and enums
  17964. 2004-08-19 15:39 pbartok
  17965. * ImageList.cs:
  17966. - Added missing Draw() method
  17967. - Added missing RecreateHandle event
  17968. 2004-08-19 15:30 pbartok
  17969. * Form.cs:
  17970. - Added handling of WM_CLOSE
  17971. 2004-08-18 13:16 jordi
  17972. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  17973. a table
  17974. 2004-08-18 09:56 jordi
  17975. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  17976. 2004-08-17 15:31 ravindra
  17977. * SWF.csproj: Updated project.
  17978. 2004-08-17 15:25 pbartok
  17979. * Control.cs:
  17980. - Drawing improvement; don't call UpdateBounds if we are not visible
  17981. (or have been minimized)
  17982. 2004-08-17 15:24 pbartok
  17983. * XplatUIWin32.cs:
  17984. - Finished IsVisible
  17985. - Added Win32GetWindowPlacement
  17986. 2004-08-17 15:08 jackson
  17987. * Panel.cs: Initial checkin of the Panel
  17988. 2004-08-17 14:25 pbartok
  17989. * Control.cs:
  17990. - Fixed broken handling of default window sizes
  17991. 2004-08-17 13:29 jackson
  17992. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  17993. has a large startup time.
  17994. 2004-08-17 10:25 jackson
  17995. * HandleData.cs: union areas properly
  17996. 2004-08-17 10:12 jackson
  17997. * HandleData.cs: union areas properly
  17998. 2004-08-16 20:00 ravindra
  17999. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  18000. 2004-08-16 18:48 ravindra
  18001. * ToolBar.cs: Added attributes.
  18002. 2004-08-16 17:17 ravindra
  18003. * SWF.csproj: Updated project.
  18004. 2004-08-16 17:16 jackson
  18005. * XplatUIX11.cs: Check for more expose events before sending a
  18006. WM_PAINT so they can all be grouped together. This makes dragging a
  18007. window across another window redraw in a sane way.
  18008. 2004-08-16 15:47 pbartok
  18009. * Control.cs:
  18010. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  18011. support OnMouseEnter/Leave()
  18012. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  18013. exposure handling
  18014. 2004-08-16 15:46 pbartok
  18015. * XplatUIStructs.cs, XplatUIX11.cs:
  18016. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  18017. OnMouseEnter/Leave()
  18018. 2004-08-16 15:34 jackson
  18019. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  18020. sure messages get the message field set to WM_NULL if they are not
  18021. handled.
  18022. 2004-08-16 15:24 jackson
  18023. * HandleData.cs: HandleData is used for storing message information
  18024. for window handles
  18025. 2004-08-15 17:23 ravindra
  18026. * ColorDepth.cs: Added attribute.
  18027. 2004-08-15 17:23 ravindra
  18028. * SWF.csproj: Updated project for ToolBar Control.
  18029. 2004-08-15 17:20 ravindra
  18030. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  18031. control and also dos2unix format.
  18032. 2004-08-15 17:13 ravindra
  18033. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  18034. ToolBarButtonClickEventArgs.cs,
  18035. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  18036. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  18037. 2004-08-15 15:31 pbartok
  18038. * ButtonBase.cs:
  18039. - First (mostly) working version
  18040. 2004-08-13 16:15 pbartok
  18041. * Control.cs:
  18042. - Fixed Anchor default
  18043. 2004-08-13 15:43 pbartok
  18044. * Control.cs:
  18045. - Changed GetCursorPos signature
  18046. 2004-08-13 15:42 pbartok
  18047. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18048. - Changed signature for GetCursorPos
  18049. 2004-08-13 15:25 pbartok
  18050. * XplatUIX11.cs:
  18051. - Cleanup
  18052. - Fixed resizing/exposure handling
  18053. 2004-08-13 15:22 jordi
  18054. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  18055. with tickposition
  18056. 2004-08-13 14:55 jordi
  18057. * TrackBar.cs: change from wndproc to events
  18058. 2004-08-13 13:00 jordi
  18059. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18060. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  18061. 2004-08-13 12:53 pbartok
  18062. * XplatUIWin32.cs:
  18063. - Changed GetWindowPos to also provide client area size
  18064. - Fixed broken prototypes for several win32 functions
  18065. 2004-08-13 12:53 pbartok
  18066. * XplatUI.cs, XplatUIDriver.cs:
  18067. - Changed GetWindowPos to also provide client area size
  18068. 2004-08-13 12:52 pbartok
  18069. * XplatUIX11.cs:
  18070. - Added generation of WM_POSCHANGED
  18071. - Changed GetWindowPos to also provide client area size
  18072. 2004-08-13 12:52 pbartok
  18073. * Control.cs:
  18074. - Added Dispose() and destructor
  18075. - Fixed resizing and bounds calculation
  18076. - Fixed Layout
  18077. - Added memory savings for invisible windows
  18078. 2004-08-13 12:46 jordi
  18079. * TrackBar.cs: adds timer and grap window
  18080. 2004-08-13 10:25 jackson
  18081. * Timer.cs: SWF Timer
  18082. 2004-08-12 16:59 pbartok
  18083. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18084. - Implemented method to get current mouse position
  18085. 2004-08-12 14:29 jordi
  18086. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  18087. enhancement, fix mouse problems, highli thumb, etc
  18088. 2004-08-12 13:31 pbartok
  18089. * Control.cs:
  18090. - Fixed Anchoring bugs
  18091. 2004-08-12 13:01 jackson
  18092. * StatusBar.cs: Don't forget things
  18093. 2004-08-12 12:54 jackson
  18094. * ThemeWin32Classic.cs: Handle owner draw status bars
  18095. 2004-08-12 12:54 jackson
  18096. * StatusBar.cs: Implement missing properties, events, and methods.
  18097. Handle mouse clicking
  18098. 2004-08-12 10:19 jackson
  18099. * StatusBarPanelClickEventArgs.cs,
  18100. StatusBarPanelClickEventHandler.cs: Classes for handling status
  18101. bar panel click events
  18102. 2004-08-12 10:10 jackson
  18103. * Control.cs: Add missing properties
  18104. 2004-08-12 09:46 pbartok
  18105. * BindingsManagerBase.cs:
  18106. - Name changed to BindingManagerBase.cs
  18107. 2004-08-12 09:25 jordi
  18108. * ScrollableControl.cs: calls ctrlbase instead of exeception
  18109. 2004-08-11 16:28 pbartok
  18110. * InputLanguageChangingEventArgs.cs:
  18111. - Never check in before compiling. Fixes the last check-in
  18112. 2004-08-11 16:26 pbartok
  18113. * InputLanguageChangingEventArgs.cs:
  18114. - More signature fixes
  18115. 2004-08-11 16:20 pbartok
  18116. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  18117. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  18118. ImageListStreamer.cs, InputLanguage.cs,
  18119. InputLanguageChangedEventArgs.cs,
  18120. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  18121. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  18122. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  18123. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18124. - Signature fixes
  18125. 2004-08-11 16:16 pbartok
  18126. * Application.cs:
  18127. - Fixed Signature
  18128. - Added .Net 1.1 method
  18129. 2004-08-11 15:25 pbartok
  18130. * SWF.csproj:
  18131. - Fixed BindingManagerBase.cs filename
  18132. 2004-08-11 15:22 pbartok
  18133. * BindingManagerBase.cs:
  18134. - Was checked in with wrong filename
  18135. 2004-08-11 14:50 pbartok
  18136. * SWF.csproj:
  18137. - Updated
  18138. 2004-08-11 13:41 jordi
  18139. * XplatUIWin32.cs: Fixes ClientRect
  18140. 2004-08-11 13:19 pbartok
  18141. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18142. XplatUIX11.cs:
  18143. - We had SetWindowPos and MoveWindow to set window positions and
  18144. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  18145. keep SetWindowPos as matching counterpart
  18146. - Added some X11 sanity checking
  18147. 2004-08-11 12:59 pbartok
  18148. * Control.cs:
  18149. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  18150. (It seems that SetBounds is just a front for SetBoundsCore and
  18151. SetBoundsCore updates the underlying window system and
  18152. UpdateBounds is responsible for updating the variables associated
  18153. with the Control and sending the events)
  18154. - Major cleanup of Size handling; we now have two sizes, client_size
  18155. and bounds. Bounds defines the window with decorations, client_size
  18156. without them.
  18157. 2004-08-11 12:55 pbartok
  18158. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18159. - Added method to calculate difference between decorated window and
  18160. raw client area
  18161. 2004-08-11 12:54 pbartok
  18162. * Label.cs:
  18163. - Forcing redraw on resize
  18164. 2004-08-11 11:43 pbartok
  18165. * ImageList.cs:
  18166. - Removed disposing of the actual images when the list is disposed
  18167. 2004-08-11 09:13 pbartok
  18168. * Control.cs:
  18169. - Now properly reparents windows
  18170. 2004-08-11 08:37 pbartok
  18171. * Control.cs:
  18172. - Duh!
  18173. 2004-08-11 07:47 pbartok
  18174. * Control.cs:
  18175. - Rewrote the collection stuff. Might not be as fast now, not
  18176. keeping the number of children around and accessible directly, but
  18177. it's more straightforward
  18178. 2004-08-11 07:44 pbartok
  18179. * AccessibleObject.cs:
  18180. - Fixed to match ControlCollection rewrite
  18181. 2004-08-11 07:43 pbartok
  18182. * ImageList.cs:
  18183. - Added missing creation of the collection list
  18184. 2004-08-10 20:08 jackson
  18185. * StatusBar.cs: Get the paint message from WndProc
  18186. 2004-08-10 19:31 jackson
  18187. * ThemeWin32Classic.cs: Create Brushes as little as possible
  18188. 2004-08-10 19:20 jackson
  18189. * UICues.cs: Add Flags attribute
  18190. 2004-08-10 19:19 jackson
  18191. * StatusBarPanel.cs: Signature cleanup
  18192. 2004-08-10 19:10 jackson
  18193. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  18194. Initial implementation of status bar item drawing
  18195. 2004-08-10 17:27 jordi
  18196. * TrackBar.cs: add missing methods, properties, and restructure to
  18197. hide extra ones
  18198. 2004-08-10 16:24 jackson
  18199. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  18200. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  18201. attribute
  18202. 2004-08-10 13:21 jordi
  18203. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  18204. enhancements and standarize on win colors defaults
  18205. 2004-08-10 12:52 jackson
  18206. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  18207. ThemeWin32Classic.cs: Implement DrawItem functionality
  18208. 2004-08-10 12:47 jordi
  18209. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  18210. 2004-08-10 12:32 jordi
  18211. * Control.cs: throw ontextchange event
  18212. 2004-08-10 11:43 pbartok
  18213. * Control.cs:
  18214. - Added more to the still unfinished Dock/Anchor layout code
  18215. 2004-08-10 11:39 pbartok
  18216. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  18217. - Added GetWindowPos method
  18218. 2004-08-10 11:36 pbartok
  18219. * XplatUIWin32.cs:
  18220. - Implemented several methods
  18221. 2004-08-10 09:47 jackson
  18222. * TrackBar.cs: Allow control to handle buffering
  18223. 2004-08-10 09:41 jackson
  18224. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  18225. 2004-08-10 09:24 jackson
  18226. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  18227. 2004-08-10 09:09 jackson
  18228. * StatusBar.cs: Let Control handle all the buffering.
  18229. 2004-08-10 09:08 jackson
  18230. * Control.cs: Control will now handle the buffering code, so each
  18231. control does not have to implement this.
  18232. 2004-08-10 08:34 jackson
  18233. * XplatUIDriver.cs: Use default colors from the theme
  18234. 2004-08-09 17:12 pbartok
  18235. * ImageList.cs:
  18236. - Fixed several bugs Ravindra pointed out
  18237. 2004-08-09 16:11 pbartok
  18238. * Control.cs:
  18239. - Added incomplete dock layout code
  18240. - Added support for mouse wheel
  18241. 2004-08-09 16:09 pbartok
  18242. * XplatUIX11.cs:
  18243. - Added handling for middle and right mousebutton
  18244. - Added handling for mouse wheel
  18245. - Added handling for key state and mouse state and position
  18246. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  18247. messages
  18248. 2004-08-09 15:40 jackson
  18249. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  18250. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  18251. checkin
  18252. 2004-08-09 15:37 jackson
  18253. * StatusBar.cs: Initial implementation of StatusBar
  18254. 2004-08-09 15:36 jackson
  18255. * ITheme.cs: Add support for drawing status bar and getting status
  18256. bar item sizes
  18257. 2004-08-09 15:35 pbartok
  18258. * MouseButtons.cs:
  18259. - Fixed values
  18260. 2004-08-09 15:34 jackson
  18261. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  18262. status bar item sizes
  18263. 2004-08-09 15:21 jackson
  18264. * ThemeWin32Classic.cs: Use known colors for default control
  18265. colours
  18266. 2004-08-09 15:12 jackson
  18267. * ThemeWin32Classic.cs: Make the default font static, it is static
  18268. in control so this doesn't change functionality and creating fonts
  18269. is sloooooow.
  18270. 2004-08-09 14:56 pbartok
  18271. * X11Structs.cs:
  18272. - Added GrabMode enum
  18273. 2004-08-09 14:55 pbartok
  18274. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18275. - Removed Run method, was only required for initial development
  18276. 2004-08-09 14:51 pbartok
  18277. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18278. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  18279. capture
  18280. 2004-08-09 13:48 pbartok
  18281. * XplatUIX11.cs:
  18282. - Fixed default sizing for child windows
  18283. 2004-08-09 12:56 pbartok
  18284. * XplatUIX11.cs:
  18285. - Added generation of WM_DESTROY message
  18286. - Added handling of window manager induced shutdown
  18287. 2004-08-09 11:31 jackson
  18288. * ThemeWin32Classic.cs: New names for control properties
  18289. 2004-08-09 11:25 jackson
  18290. * Control.cs: Use new color names
  18291. 2004-08-09 11:02 jackson
  18292. * XplatUI.cs: Get default window properties from the theme
  18293. 2004-08-09 11:01 jackson
  18294. * ITheme.cs: The theme engine now controls default window
  18295. properties
  18296. 2004-08-09 11:00 jackson
  18297. * ThemeWin32Classic.cs: Add default window color properties
  18298. 2004-08-09 10:17 jackson
  18299. * ThemeWin32Classic.cs: Use correct default back color
  18300. 2004-08-09 10:05 jackson
  18301. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  18302. the theme now.
  18303. 2004-08-09 09:56 jackson
  18304. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  18305. 2004-08-09 09:54 jackson
  18306. * Control.cs: Get default properties from the theme.
  18307. 2004-08-09 09:53 jackson
  18308. * ITheme.cs: Themes now handle default control properties
  18309. 2004-08-09 09:53 jackson
  18310. * ThemeWin32Classic.cs: Themes now handle default control
  18311. properties so coloring will be consistent
  18312. 2004-08-08 16:54 jordi
  18313. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  18314. 2004-08-08 15:08 jordi
  18315. * XplatUIX11.cs: fixes keyboard crash
  18316. 2004-08-08 13:47 jordi
  18317. * Label.cs: add cvs header info
  18318. 2004-08-08 12:09 jackson
  18319. * ThemeWin32Classic.cs: Add pen_buttonface
  18320. 2004-08-08 11:52 jordi
  18321. * Label.cs, LinkLabel.cs: [no log message]
  18322. 2004-08-08 11:34 jordi
  18323. * ThemeWin32Classic.cs: Use Windows Standard Colours
  18324. 2004-08-07 17:32 jordi
  18325. * TrackBar.cs: throw exceptions of invalid enums values
  18326. 2004-08-07 17:31 jordi
  18327. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  18328. draw method name
  18329. 2004-08-07 16:56 jackson
  18330. * HorizontalAlignment.cs: Initial checkin
  18331. 2004-08-07 13:16 jordi
  18332. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  18333. methods
  18334. 2004-08-07 13:05 jordi
  18335. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  18336. GetSysColor defines
  18337. 2004-08-06 18:01 pbartok
  18338. * ThemeWin32Classic.cs:
  18339. - Fixed some rounding issues with float/int
  18340. 2004-08-06 18:00 jackson
  18341. * DockStyle.cs, AnchorStyles.cs:
  18342. Add flags and serializable attributes.
  18343. 2004-08-06 17:46 pbartok
  18344. * XplatUIX11.cs:
  18345. - Implemented GetParent
  18346. 2004-08-06 17:18 pbartok
  18347. * TrackBar.cs:
  18348. - Fixed some rounding issues with float/int
  18349. 2004-08-06 17:17 pbartok
  18350. * X11Structs.cs, XplatUIX11.cs:
  18351. - Fixed Refresh and Invalidate
  18352. 2004-08-06 15:30 pbartok
  18353. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  18354. - Fixed recursive loop when resizing
  18355. - Improved/fixed redrawing on expose messages
  18356. 2004-08-06 09:53 jordi
  18357. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  18358. keyboard navigation
  18359. 2004-08-06 08:02 pbartok
  18360. * X11Structs.cs, XplatUIX11.cs:
  18361. - Fixed reparenting
  18362. - Fixed window border creation
  18363. 2004-08-05 15:38 pbartok
  18364. * XplatUIX11.cs:
  18365. - Attempted fix for reparenting problems
  18366. 2004-08-04 15:14 pbartok
  18367. * Control.cs:
  18368. - Fixed Invalidation bug (calculated wrong client area)
  18369. - Added ClientSize setter
  18370. 2004-08-04 15:13 pbartok
  18371. * Form.cs:
  18372. - Added AutoScale properties
  18373. 2004-08-04 15:13 pbartok
  18374. * SWF.csproj:
  18375. - Added latest files
  18376. 2004-08-04 14:11 pbartok
  18377. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18378. XplatUIX11.cs:
  18379. - Added Invalidate handling
  18380. 2004-08-03 17:09 jordi
  18381. * XplatUIDriver.cs: fixes spelling mistake
  18382. 2004-07-27 09:53 jordi
  18383. * TrackBar.cs: fixes trackbar events, def classname, methods
  18384. signature
  18385. 2004-07-27 09:29 jordi
  18386. * ScrollBar.cs: fixes scrollbar events
  18387. 2004-07-27 04:38 jordi
  18388. * Control.cs: changes to be able to run winforms samples
  18389. 2004-07-26 11:42 jordi
  18390. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  18391. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  18392. 2004-07-26 05:41 jordi
  18393. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  18394. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  18395. implementation
  18396. 2004-07-22 09:22 jordi
  18397. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  18398. check link overlapping, implement events, and fixes
  18399. 2004-07-21 10:28 jordi
  18400. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  18401. 2004-07-21 10:19 jordi
  18402. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  18403. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  18404. LinkLabelLinkClickedEventArgs.cs,
  18405. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  18406. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  18407. implementation
  18408. 2004-07-19 13:09 jordi
  18409. * Control.cs, Label.cs: label control re-written: added missing
  18410. functionlity, events, and properties
  18411. 2004-07-19 10:49 jordi
  18412. * Control.cs: fixes SetBounds logic
  18413. 2004-07-19 01:29 jordi
  18414. * Control.cs: Call RefreshWindow only if the window has created
  18415. 2004-07-15 14:05 pbartok
  18416. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  18417. - Implemented ImageList and ImageList.ImageCollection classes
  18418. - Added ColorDepth enumeration
  18419. - Updated SWF VS.Net project
  18420. 2004-07-15 11:06 jordi
  18421. * XplatUIStructs.cs: added MsgButons enum
  18422. 2004-07-15 11:03 jordi
  18423. * Control.cs: added basic mouse handeling events
  18424. 2004-07-15 03:38 jordi
  18425. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  18426. Vertical TrackBar control implementation
  18427. 2004-07-13 09:33 jordi
  18428. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  18429. 2004-07-13 09:31 jordi
  18430. * Control.cs, Form.cs: commit: new properties and fixes form size
  18431. problems
  18432. 2004-07-09 14:13 miguel
  18433. * ProgressBar.cs: Spelling
  18434. 2004-07-09 11:25 pbartok
  18435. * ProgressBar.cs:
  18436. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  18437. faster
  18438. 2004-07-09 11:17 miguel
  18439. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  18440. * ProgressBar.cs: Fixed spelling for `block'
  18441. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  18442. style guidelines.
  18443. Avoid using the += on rect.X, that exposed a bug in the compiler.
  18444. 2004-07-08 23:21 pbartok
  18445. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  18446. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  18447. BaseCollection.cs, Binding.cs, BindingContext.cs,
  18448. BindingMemberInfo.cs, BindingsCollection.cs,
  18449. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  18450. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  18451. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  18452. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  18453. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  18454. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  18455. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  18456. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  18457. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  18458. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  18459. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  18460. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  18461. InputLanguageChangedEventArgs.cs,
  18462. InputLanguageChangedEventHandler.cs,
  18463. InputLanguageChangingEventArgs.cs,
  18464. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  18465. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  18466. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  18467. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  18468. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  18469. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  18470. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  18471. QueryAccessibilityHelpEventArgs.cs,
  18472. QueryAccessibilityHelpEventHandler.cs,
  18473. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  18474. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  18475. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  18476. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  18477. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  18478. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  18479. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  18480. XplatUIX11.cs, lang.cs:
  18481. - Initial check-in