ChangeLog 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969
  1. 2010-05-14 Carlos Alberto Cortez <[email protected]>
  2. * TabControl.cs: ItemSize should include the padding value.
  3. Update the retrieval of this info in SizeTab as well.
  4. Fixes part of #604034.
  5. 2010-05-11 Carlos Alberto Cortez <[email protected]>
  6. * ScrollableControl.cs: It seems .Net is creating DockPadding lazyly,
  7. which means that *any* padding for children controls is not applied
  8. *until* DockPadding is accesed using its getter.
  9. * FlowLayoutPanel.cs:
  10. * TableLayoutPanel.cs:
  11. * Form.cs: These children classes need to have the DockPadding
  12. property available *always*, so create it for them in their respective
  13. constructors.
  14. Fixes #599506.
  15. 2010-05-09 Carlos Alberto Cortez <[email protected]>
  16. * ListView.cs: Properly adjust SmallChange and LargeChange values for
  17. our scrollbars depending on the view. Also, update the maximum allowed
  18. value when setting the values from SetScrollValue to use the already
  19. available information contained within them.
  20. Fixes the remaining bits of #543785.
  21. 2010-05-06 Carlos Alberto Cortez <[email protected]>
  22. * ListView.cs: When calculating the scrollbars, take into account the
  23. height of the horizontal scrollbar (if visible) to assign the maximum
  24. value for our vertical one.
  25. Fixes #543785.
  26. 2010-05-06 Carlos Alberto Cortez <[email protected]>
  27. * TreeNodeCollection.cs: Do some clean up by renaming some of our
  28. local vars in Add and AddSorted, so we have better readibility.
  29. Patch from Thomas Goldstein ([email protected]).
  30. 2010-05-06 Carlos Alberto Cortez <[email protected]>
  31. * TreeNodeCollection.cs: When adding a sorted node return the correct
  32. position of that node instead of returning the count.
  33. Patch from Thomas Goldstein ([email protected]).
  34. 2010-05-06 Carlos Alberto Cortez <[email protected]>
  35. * TreeNodeCollection.cs: In SetupNode remove the redundant check,
  36. since we only need to have a valid tree view to call UpdateBelow.
  37. Patch from Thomas Goldstein ([email protected]).
  38. 2010-05-04 Geoff Norton <[email protected]>
  39. * XplatUICarbon.cs: Patch from [email protected] to avoid
  40. blocking the message loop while processing events.
  41. 2010-05-03 Carlos Alberto Cortez <[email protected]>
  42. * ListView.cs: Just as we did with TreeView, start the drag
  43. computation in MouseDown instead of MouseMove, in order to avoid
  44. firing the ItemDrag event more than one time per clicked item.
  45. 2010-05-03 Carlos Alberto Cortez <[email protected]>
  46. * ComboBox.cs: our internal textbox should show selection only if it
  47. is enabled. Don't set HideSelection since it's preventing us
  48. from correctly hide the selection when needed. Finally connect a
  49. handler in case our parent ComboBox gets its Enabled state changed.
  50. Fixes #600433.
  51. 2010-05-03 Carlos Alberto Cortez <[email protected]>
  52. * TreeView.cs: Set our internal fields related to the starting drag
  53. position from MouseDown to MouseMove - we need to make sure
  54. that the OnItemDragged event is fired only *one* time per element
  55. clicked.
  56. Fixes #551734.
  57. 2010-05-03 Carlos Alberto Cortez <[email protected]>
  58. * TreeNodeCollection.cs: Instead of Sorting from SetupNode, do it
  59. directly from Add (which uses AddSorted for this purpose) and Insert.
  60. This way we first avoid a double sort, take advantage of our fast
  61. version of Add for the default sorting, and also supress the call to Sort
  62. when using our indexer setter (.Net ignores the sorting in this case).
  63. 2010-05-02 Carlos Alberto Cortez <[email protected]>
  64. * TreeNodeCollection.cs: When Adding a new node don't remove it from
  65. any previous collection. Even if this seems a little buggy, this is
  66. what .Net does.
  67. Fixes #601766.
  68. 2010-05-02 Carlos Alberto Cortez <[email protected]>
  69. * StatusStrip.cs: In SetDisplayedItems call ClearInternal on
  70. displayed_items instead of Clear, since this is only an internal
  71. collection and we don't want to have our items have their Parent/Owner
  72. modified.
  73. Fixes the remaining bits of #590100.
  74. 2010-05-02 Ivan Zlatev <[email protected]>
  75. * DataGridViewCell.cs: Avoid a NRE in GetValue if the cell doesn't
  76. have a DataGridView associated yet.
  77. [Fixes bug #600786]
  78. 2010-05-01 Carlos Alberto Cortez <[email protected]>
  79. * ToolStripItemCollection.cs: When calling Clear set Owner and Parent
  80. properties to null for each of the items in the collection, just as
  81. Remove/RemoveAt do. Implement a ClearInternal method that clears the
  82. collection without modifying the mentioned properties.
  83. * ToolStrip.cs:
  84. * ToolStripOverflow.cs: Call ToolStripItemCollection.ClearInternal
  85. for our internal collections.
  86. This should fix #590100, which producing a race when the garbage
  87. collector was calling ToolStripItem.Dispose, which in turn was firing
  88. a Layout in the ToolStrip.
  89. 2010-04-27 Ivan Zlatev <[email protected]>
  90. * DataGridView.cs: Fix multiple issues when inserting and adding new
  91. columns.
  92. 2010-04-27 Carlos Alberto Cortez <[email protected]>
  93. * ToolStripSplitButton.cs:
  94. * ToolStripDropDownItem.cs:
  95. * ToolStripMenuItem.cs: Update overrides.
  96. * ToolStripItem.cs: Pass the number of clicks to HandleClick when
  97. firing OnMouseUp, so we can later fire either OnClick or
  98. OnDoubleClick.
  99. Fixes #558632.
  100. 2010-04-26 Carlos Alberto Cortez <[email protected]>
  101. * RichTextBox.cs: When emitting the complete RTF value escape chars
  102. above 0x80, at .Net seems to do. This way we are able to make
  103. round-trip assignations between the setter and getter of the
  104. RichTextBox.Rtf property.
  105. Fixes part of #586901.
  106. 2010-04-26 Ivan Zlatev <[email protected]>
  107. * DataGridView.cs: Handle all possible cases for when a new column is
  108. added and there are existing rows with existing cells both in the
  109. non-databound and the databound scenario.
  110. [Fixes bug #583387]
  111. 2010-04-26 Carlos Alberto Cortez <[email protected]>
  112. * XplatUIX11.cs: When retrieving data from the x11 clipboard and we
  113. are using either XA_STRING or OEMTEXT try to detect if we have escaped
  114. unicode chars, and unescape them as needed. This us used by some
  115. (gnome) applications to pass unicode chars in a non-unicode context.
  116. Fixes #596402.
  117. 2010-04-25 Ivan Zlatev <[email protected]>
  118. * DataGridViewCellCollection.cs, DataGridView.cs:
  119. Ensure column cell templates are properly applied.
  120. [Fixes bug #583404]
  121. 2010-04-24 Ivan Zlatev <[email protected]>
  122. * DataGridViewColumnCollection.cs: When adding a column also
  123. set the DisplayIndex if its now set by the user already.
  124. [Fixes bug #583387]
  125. 2010-04-19 Carlos Alberto Cortez <[email protected]>
  126. * NotifyIcon.cs: Make BalloonWindow expose the owner's Handle.
  127. * Theme.cs:
  128. * ThemeWin32Classic.cs: Add a HideBalloonWindow method to force to
  129. close an active balloon window.
  130. * XplatUIX11.cs: When removing from the system tray try to close
  131. the balloon window. This is important when we hide a NotifyIcon and
  132. thus need to close its related balloon window as well.
  133. Fixes bits of #590093.
  134. 2010-04-19 Carlos Alberto Cortez <[email protected]>
  135. * XplatUIX11.cs: When adding a NotifyIcon to the system tray, mark its
  136. Hwnd.mapped as true, since its handle is going to be mapped later by
  137. the tray (not us), but we need to know it's alive and can later properly unmap
  138. it.
  139. Fixes part of #590093.
  140. 2010-04-16 Carlos Alberto Cortez <[email protected]>
  141. * TreeNodeCollection.cs: When adding/inserting/setting a new node call
  142. TreeView.Sort if needed, and update/recalculate this entire
  143. collection in that case.
  144. * TreeView.cs: Make 'sorted' internal, instead of directly using
  145. Sorted, as this one could trigger a complete Sort() operation.
  146. 2010-04-14 Carlos Alberto Cortez <[email protected]>
  147. * TreeView.cs: We must use the comparer supplied by TreeViewNodeSorter
  148. *always*, since it is used recursively, so checking for a number of
  149. top level nodes is useless. This should fix a case where we were not
  150. sorting any node with a single root node.
  151. 2010-04-14 Carlos Alberto Cortez <[email protected]>
  152. * DataGridView.cs: Call the base Paint impl last, instead of do that
  153. at the beginning, to let handlers draw on top of us.
  154. Fixes the remaining bits of #587563.
  155. 2010-04-14 Carlos Alberto Cortez <[email protected]>
  156. * ToolStripItem.cs: Separate the background rendering from the Paint
  157. routine, so we can both make sure the background stuff is done first,
  158. and we also let our items fire the OnPaint event handlers before or
  159. after their own routines.
  160. * ToolStripLabel.cs: Move the base call to OnPaint to the end, so any
  161. user's Paint handler can draw on top of us, like .Net does.
  162. Fixes #587563.
  163. 2010-04-13 Carlos Alberto Cortez <[email protected]>
  164. * XplatUIX11.cs: When checking for the values returned by
  165. _NET_WORKAREA, use current_desktop+1 instead of current_desktop, since
  166. we need the actual value, instead of the index (which is 0 based, and
  167. is not working in this case). Patch by Andy Stühr
  168. ([email protected]).
  169. Fixes #494234.
  170. 2010-04-04 Carlos Alberto Cortez <[email protected]>
  171. * ToolTip.cs: Make TipState internal.
  172. * ToolStrip.cs: Use the same idea of ToolTip'state to have our
  173. internal timer close the tooltip window after a delay, instead of
  174. waiting for the mouse to move to a different item. Also, hide the
  175. tooltip window when the handle is destroyed, and also when the control
  176. is getting hidden.
  177. Fixes #581273.
  178. 2010-03-31 Carlos Alberto Cortez <[email protected]>
  179. * ListView.cs: Selection should be available after the first time the
  180. handle has been created, even if later the handle is destroyed or
  181. temporary invalidated.
  182. Fixes #584070.
  183. 2010-03-01 Carlos Alberto Cortez <[email protected]>
  184. * TreeView.cs: When receiving a double click on a node, toggle it only
  185. if it has one or more nodes - just as .net does.
  186. Fixes #578079.
  187. 2010-03-01 Carlos Alberto Cortez <[email protected]>
  188. * X11Keyboard.cs: Small correction for the previous patch: I forgot to
  189. take into account the case where the buffer used in XLookupString is
  190. not empty, but filled with garbage.
  191. 2010-03-01 Carlos Alberto Cortez <[email protected]>
  192. * X11Keyboard.cs: When handling the key events, sometimes calling
  193. either Xutf8LookupString or XLookupString with special chars (such
  194. backspace and enter) can result in a buffer filled with garbage, or
  195. empty - thus re-use the value returned by the same functions to fill
  196. the gap.
  197. Fixes #582691.
  198. 2010-02-25 Ivan Zlatev <[email protected]>
  199. * Control.cs: ControllCollaction IList implementation wasn't calling the
  200. Add implementation causing ParentChanged and all sorts of other events not to
  201. get fired.
  202. [Fixes bug #580042]
  203. 2010-02-25 Ivan Zlatev <[email protected]>
  204. * DataGridView.cs: If we are setting a new data source and it is
  205. data bindable clear DataMember before binding.
  206. [Fixes bug #554296]
  207. 2010-02-25 Ivan Zlatev <[email protected]>
  208. * DataGridViewCheckBoxCell.cs: Toggle the checkbox on Space key press.
  209. [Fixes bug #574259]
  210. 2010-02-17 Carlos Alberto Cortez <[email protected]>
  211. * RichTextBox.cs: When retrieving SelectedRtf/Rtf properly escape any
  212. RTF reserved char, so we don't end up messing around the actual rtf
  213. values.
  214. Fixes part of #575731.
  215. 2010-02-16 Carlos Alberto Cortez <[email protected]>
  216. * Line.cs: When setting the Text property, if the new text is larger
  217. than the previous one, call Grow to update our internal 'widths'
  218. array, to be properly in sync with the new text.
  219. Fixes #569530.
  220. 2010-02-10 Carlos Alberto Cortez <[email protected]>
  221. * TabControl.cs: When calculating the layout for the tab pages, take
  222. into account the ImageList size info if it exists, even if it is
  223. empty.
  224. 2010-02-03 Carlos Alberto Cortez <[email protected]>
  225. * StatusStrip.cs:
  226. * XplatX11.cs:
  227. * X11Structs: Implement the new BeginMoveResize method, designed to
  228. instruct the window manager to init a resize operation on a top level
  229. form. This is used by StatusStrip.
  230. * XplatUI.cs:
  231. * XplatUIDriver.cs:
  232. * XplatUIWin32.cs:
  233. * XplatUICarbon.cs: Fill the gaps by creating stubs and updating the
  234. method calls.
  235. Fixes #573299.
  236. 2010-02-01 Carlos Alberto Cortez <[email protected]>
  237. * ComboBox.cs: When creating DrawItemEventArgs pass the fore color and
  238. back color arguments depending on the higlight/focus state, just like
  239. .net.
  240. Fixes #572643.
  241. 2010-01-20 Carlos Alberto Cortez <[email protected]>
  242. * ComboBox.cs: When the normal drop down window is closed, make sure
  243. that the auto complete list -if any- is closed as well, instead of
  244. stay open without need.
  245. 2010-01-20 Carlos Alberto Cortez <[email protected]>
  246. * TextBox.cs: When showing the autocomplete listbox, make sure it's on
  247. top, by calling the raw XplatUI.SetZOrder for it, since we can't
  248. properly call BringToFront on it as it is parentless. This fixes an
  249. issue when using this feature with ComboBox's own parentless listbox.
  250. Fixes the remaining bits of #489339.
  251. 2010-01-19 Carlos Alberto Cortez <[email protected]>
  252. * XplatUI.cs:
  253. * XplatUIDriver:
  254. * XplatUICarbon:
  255. * XplatUIWin32:
  256. * XplatUIX11.cs:
  257. * XplatUIStructs: Implement support for different kind of audible
  258. alerts in Windows, and update the requiered classes.
  259. * MessageBox.cs:
  260. * TextBoxBase.cs: Update calls to XplatUI.AudibleAlert.
  261. Fixes #473725.
  262. 2010-01-18 Carlos Alberto Cortez <[email protected]>
  263. * ComboBox.cs: When use manually setting DropDownHeight, ignore the
  264. MaxDropDownHeight property - also rename our field 'count' to
  265. 'visible_items_count' to avoid confusion as much as possible.
  266. Fixes an issue with several items, showing an incorrect layout.
  267. 2010-01-18 Carlos Alberto Cortez <[email protected]>
  268. * RichTextBox.cs: SelectedText should set Modified to true. Observe
  269. that this is happening just here, not for the Text property, and
  270. neither for the TextBoxBase impl.
  271. Fixes #569950.
  272. 2010-01-10 Carlos Alberto Cortez <[email protected]>
  273. * ToolStripMenuItem.cs: Put the Checked/CheckState logic in a single
  274. place and synchronize the events properly. Fixes a lack of
  275. coordination between the events - which should be fired together.
  276. 2010-01-09 Carlos Alberto Cortez <[email protected]>
  277. * TrackBar.cs: Move our events code to a single method, allowing it to
  278. optionally fire the Scroll event. This way we both avoid the
  279. duplicated calls to OnScroll and also will be able to fire Scroll
  280. *before* OnValueChanged in other places.
  281. Fixes #568026.
  282. 2010-01-04 Carlos Alberto Cortez <[email protected]>
  283. * RadioButton.cs: When drawing, if Appearance is Button use the old
  284. normal routine in the theme engine, instead of using the one in 2.0,
  285. since this last one doesn't support proper rendering of the control as
  286. a button.
  287. Fixes #567904.
  288. 2010-01-03 Carlos Alberto Cortez <[email protected]>
  289. * GroupBoxRenderer.cs: Properly use SystemColors.GrayText to draw to
  290. text of the group box if it is disabled.
  291. Fixes #567847.
  292. 2009-12-15 Carlos Alberto Cortez <[email protected]>
  293. * Control.cs: When changing the cursor and updating it, do update the
  294. cursor immediately even if there's a child control under the current
  295. cursor position - this is exactly what .net does.
  296. Fixes #555780.
  297. 2009-11-19 Carlos Alberto Cortez <[email protected]>
  298. * DataGrid.cs: In OnLeave, do cancel or end current edit, depending on
  299. the commit_new_row value, instead of just trying to cancel if a new
  300. row had been added. This is important when modifying existing rows and
  301. then moving the focus out of the control.
  302. 2009-11-17 Carlos Alberto Cortez <[email protected]>
  303. * XplatUICarbon.cs: Implement the overriden AudibleAlert
  304. function in XplatUICarbon. Currently it throws
  305. NotImplementedException which will kill a WinForms application showing
  306. a dialog box.
  307. Patch by Erik Ylvisaker ([email protected]).
  308. 2009-11-17 Carlos Alberto Cortez <[email protected]>
  309. * DataGrid.cs: In CurrentCell, the check to do nothing in case we are
  310. in the same cell as specified *and* not editing is wrong.
  311. 2009-11-16 Carlos Alberto Cortez <[email protected]>
  312. * DataGrid.cs: When removing the cells, don't do anything if the
  313. specified row is the extra cell we use to add new ones.
  314. 2009-11-16 Carlos Alberto Cortez <[email protected]>
  315. * DataGrid.cs: CurrentCell should be *used* if the new value is the
  316. same as the current one, since we could need to activate the edition
  317. in the current row. Also, when beginning the edition, do nothing if,
  318. basides having an empty source, we are sure we don't have the new
  319. cell, which could obviously start it.
  320. Fixes other bits of #323154.
  321. 2009-11-16 Carlos Alberto Cortez <[email protected]>
  322. * DataGrid.cs: When we get notified by a change in the position of our
  323. data source, don't set CurrentRow if the source is empty, as there's
  324. no need to do anything else in the first place, and second, the logic
  325. in the CurrentRow setter (public property) will add a new row by
  326. default in this case (that is, when the source is empty).
  327. Fixes part of #323154.
  328. 2009-11-16 Carlos Alberto Cortez <[email protected]>
  329. * ToolStripMenuItem.cs: Don't try to use SystemColors.MenuText if fore
  330. color is SystemColors.ControlText, as this system color detection
  331. should be done *completely*. This is specially important when
  332. detecting colors in systems running Gtk+ and dark themes.
  333. 2009-11-11 Carlos Alberto Cortez <[email protected]>
  334. * DataGrid.cs: Add a new internal property to get the maximum possible
  335. visible rows in the grid. We cannot use VisibleRowCount since this
  336. value can, depending on the scroll position, return a +1 or -1 value,
  337. so we need an absolute way to know whether we need a scroll bar or
  338. not. Also, update VLargeChange to avoid code duplication.
  339. Fixes a vertical scroll mismatch happening trying to add a new row
  340. while the scrollbar has reached its maximum value.
  341. 2009-11-09 Carlos Alberto Cortez <[email protected]>
  342. * DataGridTextBoxColumn.cs:
  343. * DataGrid.cs: Position the cursor in the add row should *not* show
  344. yet another new row - that will happen till we get any real input data
  345. from the user. When that happens, we will also mark the new row as
  346. ready to commit - otherwise, when the cursor moves to a different row,
  347. the just added row will be discarded. This is exactly what .Net seems
  348. to do.
  349. 2009-11-09 Carlos Alberto Cortez <[email protected]>
  350. * DataGrid.cs: The large value for our vertical scrollbar should
  351. depend on the number of visible rows, instead of trying to re-use the
  352. value of VisibleRowCount, which is the value of *current* visible
  353. rows, and can easily end messed up if new rows are added/removed.
  354. 2009-11-09 Carlos Alberto Cortez <[email protected]>
  355. * DataGrid.cs: When moving the scroll, *dont* ever end the current
  356. edit - this could seriously mess up our current edit cycle, specially
  357. when adding new rows.
  358. 2009-11-02 Carlos Alberto Cortez <[email protected]>
  359. * TabControl.cs: In OnKeyDown call the base implementation first -
  360. this way we let the user tell us whether we should handle the key or
  361. not.
  362. Fixes #543717.
  363. 2009-11-02 Carlos Alberto Cortez <[email protected]>
  364. * DataGrid.cs: Implement removal of rows the Correct Way by creating a
  365. copy of the indexes, as any direct write access to the source will cause to
  366. reset the entire selection - also, do the linear de-selection in
  367. reverse order to avoid any index mismatch in the source, due to out of
  368. synchronization removing the rows.
  369. 2009-11-02 Carlos Alberto Cortez <[email protected]>
  370. * DataGridTextBoxColumn.cs:
  371. * DataGrid.cs: Don't use this add-pending behaviour to try to add a
  372. new row until we have the first input char - it was helping us to fix
  373. other issues we have/had, but it's not matching .net.
  374. 2009-10-30 Carlos Alberto Cortez <[email protected]>
  375. * TextBoxBase.cs: When returning the preferred height, and we are
  376. supposed to be borderless, return the TopMargin value - usually in
  377. borderless mode it has a value of 0, but in the ToolStrip controls we
  378. need to set the margin manually.
  379. Fixes #551214.
  380. 2009-10-29 Carlos Alberto Cortez <[email protected]>
  381. * ToolTip.cs: ShowAlways works at the form level, not at the control
  382. level. Fixes #544565.
  383. 2009-10-28 Carlos Alberto Cortez <[email protected]>
  384. * ButtonBase.cs: Usually the click routines are handled in Control,
  385. but in this class we are handling it ourselved, thus we need to have
  386. the same calls, and we were missing the call to MouseClick.
  387. Patch by Eric Petit <[email protected]>.
  388. 2009-10-26 Carlos Alberto Cortez <[email protected]>
  389. * ComboBox.cs: When setting Text and data source is being used, if the
  390. passed value is not matching any of the items in the source, don't
  391. pass it to GetItemText, since it's useless, as GetItemText expects a
  392. valid item.
  393. Fixes #546009.
  394. 2009-10-23 Carlos Alberto Cortez <[email protected]>
  395. * ListView.cs: When retrieving an item in virtual mode, as part of the
  396. process calculate its layout, instead of trying to do it later.
  397. * ListViewItem.cs: There's no need to try to infer whether we need to
  398. compute layout or not anymore - we just do it every time we are
  399. returning an item.
  400. This way we should be fixing View changes with cached items, which
  401. were storing the previous value, and not updating their contents
  402. properly.
  403. 2009-10-23 Carlos Alberto Cortez <[email protected]>
  404. * ColumnHeader.cs: Remove the double linear search in the Index
  405. property, by removing the call to Contains, which is not needed.
  406. Also, Columns collection can never be null.
  407. 2009-10-23 Carlos Alberto Cortez <[email protected]>
  408. * ColumnHeader.cs: When calculating the width and height of the
  409. column, try to expand to the right and use all the free space if we
  410. are the last column *and* the resize mode is set to -2/header content.
  411. Fixes #544716.
  412. 2009-10-14 Carlos Alberto Cortez <[email protected]>
  413. * ListView.cs: When retrieving the top item, take into account the
  414. offset represented by the header control, to retrieve the proper
  415. value. Patch by Christoph von Wittich (Christoph at ApiViewer.de)
  416. Fixes the remaining bits of #543773.
  417. 2009-10-14 Carlos Alberto Cortez <[email protected]>
  418. * ListView.cs: TopItem setter should set the value as the top, not
  419. only ensuring its visibility.
  420. Fixes part of #543773.
  421. 2009-10-12 Carlos Alberto Cortez <[email protected]>
  422. * ListView.cs: For virtual mode, when navigating the items using keyboard,
  423. don't use the matrix of positions, and instead calculate the positions
  424. based on the number of cols and rows, taking advantage of the fixed
  425. positions of items. Use the same idea to implement FirstVisibleIndex,
  426. so we avoid iterating over all the items. Patch by Stephen Robinson
  427. mono at esar.org.uk.
  428. Fixes part of #467418.
  429. 2009-10-12 Dick Porter <[email protected]>
  430. * Splitter.cs: Adjust offsets when more than one splitter is
  431. present in a control. Fixes bug 509472.
  432. 2009-10-07 Carlos Alberto Cortez <[email protected]>
  433. * ListView.cs: When computing the value for groups height don't use
  434. text_size field, since in LargeIcon view it sometimes contains a
  435. double height value - use Font.Height directly, and also improve the
  436. padding value.
  437. * ThemeWin32Classic: The same as above.
  438. This way the space between the group header, the line, and the items
  439. area is not that big in LargeIcon view.
  440. 2009-10-04 Carlos Alberto Cortez <[email protected]>
  441. * ListView.cs: When retrieving the fixed positions for the items in
  442. virtual mode, use the row value to compute the coords of the item,
  443. instead of the col value, as opposed to SmallIcon/LargeIcon views.
  444. 2009-09-29 Carlos Alberto Cortez <[email protected]>
  445. * ListView.cs: The location of the items should be computed on the fly
  446. in virtual mode - that decreased speed overall, but reduces the load
  447. time.that decreased speed overall, but reduces the load time. Also,
  448. handle the cases where we were using data structures we don't need to
  449. use/create for this mode.
  450. Fixes part of #467418.
  451. 2009-09-28 Carlos Alberto Cortez <[email protected]>
  452. * ListView.cs: Tile view and VirtualMode can't be applied together.
  453. Patch by Stephen Robinson <[email protected]>.
  454. 2009-09-28 Carlos Alberto Cortez <[email protected]>
  455. * ListView.cs: When calculating the layout for Details view, don't ask
  456. for the items *at all* in case we are in virtual mode. This should
  457. re-enable the proper behaviour of virtual mode.
  458. 2009-09-26 Jonathan Pobst <[email protected]>
  459. * TreeNode.cs: When we invalidate a node, make sure we start at
  460. 0, instead of the node's Bounds.Left, which does not include
  461. the +/-, checkbox, or stateimages.
  462. [Fixes bug #542481]
  463. 2009-09-24 Ivan N. Zlatev <[email protected]>
  464. * DataGridView.cs: Compare the name and not displayname of properties
  465. when checking if the column is already bound.
  466. 2009-09-21 Carlos Alberto Cortez <[email protected]>
  467. * RichTextBox.cs: For SelectedRtf, after inserting the stream, adjust
  468. the position of the caret by adding the needed chars represented by the new line chars,
  469. according to the system, using rich *or* hard new lines as needed. Also do a
  470. check to be sure we don't move the cursor position beyond the limits
  471. of our text. This should avoid problems with text being pasted,
  472. regarding the position of the caret.
  473. 2009-09-16 Carlos Alberto Cortez <[email protected]>
  474. * RichTextBox.cs: When SelectedRtf is set, and we are in the 0
  475. position in the x axis, force to re-use any already available line,
  476. even if it is not empty. This way pasting text into our textbox in the
  477. beginning for non empty lines should work fine.
  478. 2009-09-14 Carlos Alberto Cortez <[email protected]>
  479. * RichTextBox.cs: When we are inserting a flow of rtf text, and we are
  480. *not* loading it from a file, try to re-use a line if already
  481. available, since the default behaviour of the parser is to create new
  482. lines for the document.
  483. This should fix a regressions we found after the last fix for #513030.
  484. 2009-09-14 Tom Hindle <[email protected]>
  485. * ToolStripOverflow.cs: Fixes #536036 by adding null ptr check.
  486. 2009-09-11 Ivan N. Zlatev <[email protected]>
  487. * PropertyGrid.cs: Hide the splitter when the help is hidden.
  488. 2009-09-11 Ivan N. Zlatev <[email protected]>
  489. * InternalWindowManager.cs: Call Invalidate-Update instead of
  490. Refresh for MS compitability. Note also that Refresh is virtual
  491. and several controls override it in order to provide data refresh
  492. functionallity on top of the redraw and they do not expect this
  493. extra refresh call.
  494. * Control.cs: In Refresh Invalidate the control and all children
  495. insead of calling Refresh for each of them.
  496. [Fixes bug #538336]
  497. 2009-09-11 Ivan N. Zlatev <[email protected]>
  498. * PropertyGrid.cs: Always set the help panel properties on the
  499. internal control, because they are inherited and can change with
  500. the parent.
  501. [Fixes bug #525305]
  502. 2009-09-08 Carlos Alberto Cortez <[email protected]>
  503. * RichTextBox.cs: When processing rtf, don't add a new line if we
  504. already have one for that position. This way we avoid overriding by
  505. mistake our lines when copying/pasting.
  506. Fixes #513030.
  507. 2009-09-07 Carlos Alberto Cortez <[email protected]>
  508. * TextControl.cs: When inserting new lines, look for the end of file
  509. char, and remove chars after it. This is unlikely to happeng either
  510. loading a file, pasting text or pressing a char, but can happen using
  511. the TextBox.Text property.
  512. Fixes #535884.
  513. 2009-09-06 Carlos Alberto Cortez <[email protected]>
  514. * Line.cs: In DeleteCharacters, cache line.Length for every tag, since
  515. tag.Start changes will modify it indirectly and then we would end up
  516. with wrong values.
  517. Fixes #512521.
  518. 2009-09-03 Ivan N. Zlatev <[email protected]>
  519. * BindingSource.cs: Implement support for chained data sources.
  520. * ListBindingHelper.cs: Add support for ICurrencyManagerProvider and
  521. clean up.
  522. [Fixes part of bug #536547]
  523. 2009-09-01 Carlos Alberto Cortez <[email protected]>
  524. * RichTextBox.cs: When saving the text to a file using SaveFile use
  525. Environment.NewLine to separate the lines. This way we should be
  526. saving the files according to the system.
  527. Fixes the remaining part of #511515.
  528. 2009-08-31 Carlos Alberto Cortez <[email protected]>
  529. * RichText.cs: Remove some unix new line characters and use
  530. Environment.NewLine. Fixes part of #511515.
  531. 2009-08-28 Carlos Alberto Cortez <[email protected]>
  532. * TextBoxBase.cs: Modified should *not* be modified from the Text
  533. property, as our new tests show. It should be to false, however, in
  534. Append and Clear; and Paste, Cut, Undo, and direct user input should set it
  535. to true. Also, as opposed to what the .net docs say -but proven by our
  536. tests-, the changes should be generating a ModifiedChanged event
  537. (thus we set the property, instead of the field).
  538. Fixes #511267.
  539. 2009-08-27 Ivan N. Zlatev <[email protected]>
  540. * DataGridView.cs: Fire the CellDoubleClicked event.
  541. [Fixes bug #533430]
  542. 2009-08-27 Ivan N. Zlatev <[email protected]>
  543. * DataGridView.cs: Add support for column DataGridViewAutoSizeColumnMode
  544. DisplayedCells and DisplayedCellsExceptHeader.
  545. [Fixes bug #533435]
  546. 2009-08-27 Carlos Alberto Cortez <[email protected]>
  547. * TextControl.cs: When removing a simple char, actually record the
  548. action in the undo manager. This way we both support undoing the
  549. removal of chars using backspace/delete, as well as keeping data
  550. integrity when other undo tasks are performed.
  551. Fixes #531983.
  552. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  553. * Control.cs: Remove the ancient code in ResetText, which was setting
  554. the internal field to String.Empty, instead of doing it for our Text
  555. property, as .net does (which also causes a TextChanged event and all
  556. the other related routines).
  557. Fixes #531587.
  558. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  559. * TreeNodeCollection.cs: Correctly implement Contains by using a
  560. linear search - there's no possible way to use a binary search, since
  561. the node instances are not implementing IComparable, nor have a
  562. specific order.
  563. Fixes #529927.
  564. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  565. * DataGrid.cs: If we are *not* changing a row
  566. already added to the source, and thus we are adding a new
  567. row instead, try to move to the previous row when Esc is
  568. pressed -if possible-.
  569. Fixes some bits of #322974.
  570. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  571. * DataGridTextBoxColumn.cs:
  572. * DataGrid.cs: Moving the cell to the add row (the last one) should
  573. not immediately add a new row - this should happen until the very
  574. first change happens in that textbox.
  575. Fixes part of #322974.
  576. 2009-08-19 Carlos Alberto Cortez <[email protected]>
  577. * ToolStripDropDown.cs: When assigning the owner item, use its Font as
  578. well.
  579. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  580. * ToolStripItem.cs: When the owner changes its Font, call the
  581. OnFontChanged event, so we let our users know that we likely have a
  582. new font - since Font is an ambient property.
  583. * ToolStripDropDownItem.cs: When our Font changes, propagate that
  584. information to our DropDown control, if any.
  585. Fixes #531515.
  586. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  587. * DataGrid.cs:
  588. * ThemeWin32Classic.cs: When the user clicks on a new cell, we should reset any
  589. previous selection, just like .net does. Also, in the cases where a
  590. cell is being edited and it keeps the selected status, use the normal
  591. colors for it, and use the selected colors for the rest of the columns of
  592. that row.
  593. Fixes the remaining bits of #323051.
  594. 2009-08-16 Carlos Alberto Cortez <[email protected]>
  595. * DataGrid.cs: When getting ProcessKeyPreview fired, call Edit() if we
  596. are not editing already - so the edition is actually active on our
  597. column style textbox. Also, it seems the code handling process the
  598. grid keys is repeated, but instead of removing it, just comment it for
  599. now.
  600. Fixes part of #323051.
  601. 2009-08-13 Carlos Alberto Cortez <[email protected]>
  602. * AsyncMethodResult.cs: Store a exception field in case the called
  603. method actually caused an exception. This way we can throw it later.
  604. * XplatUIDriver.cs: Check if the async method result has an exception
  605. - throw it if needed.
  606. The idea is that Control.Invoke throws the exception from the thread
  607. that called it, not the main MWF thread.
  608. Patch by Tom Spink <[email protected]>. Fixes #497175.
  609. 2009-08-12 Carlos Alberto Cortez <[email protected]>
  610. * DataGrid.cs: In mouse move we need to shift the selection in case
  611. the pointer is on the row headers.
  612. Fixes #323052.
  613. 2009-08-11 Ivan N. Zlatev <[email protected]>
  614. * SplitContainer.cs: Avoid updating the splitter distance if it hasn't
  615. moved. Updating the distance was causing a re-layout which was resetting
  616. the clicks counter and preventing DoubleClick from every firing.
  617. [Fixes bug #521387]
  618. 2009-08-11 Carlos Alberto Cortez <[email protected]>
  619. * DataGrid.cs: When a new TableStyle is added, don't create new
  620. columns for it unless it is empty - this is the correct way to both
  621. respect the columns if they were provided by our user, or create them
  622. for him in case the column collection is empty.
  623. Fixes #323111.
  624. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  625. * DataGrid.cs: Actually call BindColumns in the handler for
  626. ListManager.MetaDataChanged, since the current code is already taking
  627. into account the scenario when a custom table style is used - this was
  628. confusing us before, and that's why we commented the call to
  629. BindColumns. Also call CallAreasAndInvalidate, to properly reflect the
  630. changes as needed.
  631. Fixes #465021.
  632. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  633. * DataGrid.cs: When setting the data source, if we have a user
  634. provided table style available, force a complete bind in case the
  635. column styles for that table style is empty.
  636. 2009-08-09 Ivan N. Zlatev <[email protected]>
  637. * DataGridViewCell.cs: Handle null and DBNull values.
  638. 2009-08-07 Rodrigo Kumpera <[email protected]>
  639. * ListBindingHelper.cs: Fix the 1.0 build by making this type available
  640. under that profile.
  641. 2009-08-07 Ivan N. Zlatev <[email protected]>
  642. * CurrencyManager.cs: Remove duplicate code.
  643. 2009-08-07 Ivan N. Zlatev <[email protected]>
  644. * DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs:
  645. Massive population performance boost. From seconds to ms.
  646. [Fixes bug #528887]
  647. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  648. * DataGrid.cs: When handling mouse down on a column, don't do any sort
  649. even if the list supports it if we are empty. This way we avoid an exc
  650. sorting the empty list, and keep the UI compatible with .net.
  651. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  652. * DataGrid.cs: In Edit () check we have any row before trying to use
  653. the current row. Fixes a IOOR exc with an empty data grid.
  654. 2009-08-03 Carlos Alberto Cortez <[email protected]>
  655. * DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
  656. the owner DataGrid - even if this seems to be the right thing to do,
  657. .net is not doind this check at this point, but in later operations.
  658. Fixes #465019.
  659. 2009-07-28 Mike Gorse <[email protected]>
  660. * ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.
  661. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  662. * Application.cs: Make FilterMessage internal for 1.1. Fixes the 1.1 build.
  663. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  664. * XplatUIX11.cs:
  665. * XplatUIWin32.cs: We need to filter the messages using
  666. Application.FilterMessage for our DoEvents implementations. Observe
  667. that I don't like the idea of XplatUI call the upper level Application
  668. class, but at this point is easier and simpler to do this call - based
  669. on the fact it's only one simple call.
  670. Fixes #516735.
  671. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  672. * TreeNodeCollection.cs: When removing the selected node, set the
  673. SelectedNode value of TreeView to null if there aren't more nodes left -
  674. this is better than to clear the selected node in Clear, since we need
  675. to handle the situation in the Remove methods as well.
  676. Fixes #525002.
  677. 2009-07-24 Carlos Alberto Cortez <[email protected]>
  678. * ToolStripItemCollection.cs: Find should do a case insensitive
  679. search, and should throw an ArgumentNullException if the parameter is
  680. an empty string.
  681. 2009-07-23 Carlos Alberto Cortez <[email protected]>
  682. * PropertyGrid.cs: Use click handlers for each ToolStripButton instead
  683. of using a global handler for the ToolStrip. This way the buttons can
  684. be recovered and can have its PerformClick method called properly.
  685. Fixes #522454.
  686. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  687. * X11Dnd.cs: Implement support for XdndActionList, so we can get the
  688. complete list of the supported actions in the drag source, and use the
  689. action passed in the Position message only as a fallback. This will
  690. help us with dnd operations with non winforms apps.
  691. Fixes #402158.
  692. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  693. * ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
  694. Find. This should fix the exception we were getting when trying to
  695. convert the ArrayList to an array of objects (since we were losing the
  696. type parameter).
  697. Fixes #519944.
  698. 2009-07-17 Carlos Alberto Cortez <[email protected]>
  699. * RadioButton.cs: Setting Checked when none of the sibligs is checked
  700. should happen *not* in GotFocus, but in the Enter event. This is
  701. specially important since we should get that Checked behaviour even if
  702. no handle is created yet - and thus, no actual GotFocus call happens at
  703. the time.
  704. Fixes #520764.
  705. 2009-07-16 Carlos Alberto Cortez <[email protected]>
  706. * ComboBox.cs: Adjust manually the top border for out internal
  707. ComboBox, since removing the border from it leaves it without any
  708. margin. This is not noticeable in a default ComboBox, but it is in an
  709. instance shown on top of ToolStrip.
  710. Fixes the remaining part of #507462.
  711. 2009-07-13 Carlos Alberto Cortez <[email protected]>
  712. * TextBoxBase.cs: Expose the margin top width as a property, to keep
  713. the code clean.
  714. * ToolStripTextBox.cs: Since we are actually using no border in the
  715. default TextBox impl, and we are drawing the border ourselves, we need
  716. to manually set the top margin.
  717. Fixes part of #507462.
  718. 2009-07-06 Carlos Alberto Cortez <[email protected]>
  719. * PrintPreviewDialog.cs: Record when left was pressed, so we can
  720. simulate Tab+Alt when moving the focus throughout our buttons and
  721. controls.
  722. Fixes the remaining bits of #509142.
  723. 2009-07-05 Carlos Alberto Cortez <[email protected]>
  724. * TabControl.cs: When computing the width of each tab page, use the
  725. page's Font instead of the tab control one.
  726. Fixes #514368.
  727. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  728. * MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
  729. the current menu is specifically a ContextMenu (this is what .net does
  730. as well). This way we also avoid a crash caused by MenuTracker trying
  731. to use the menu when it was already hidden.
  732. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  733. * PrintPreviewDialog.cs: Remove the code used to handle the
  734. DropDown menu, since we are now doing it by default in ToolBar, and
  735. just call the base impl as needed.Also, deactivate the dropdown menu
  736. before moving the focus to a different button in our toolbar, as .net
  737. does.
  738. * ContextMenu.cs:
  739. * MenuAPI.cs: Make as internal the needed bits to deactivate a
  740. ContextMenu, and also to keep some beauty in our api.
  741. 2009-07-02 Carlos Alberto Cortez <[email protected]>
  742. * ToolBar.cs: When handling the key down message, if we are on a
  743. drop down button, either show the DropDownMenu or pass the key to its
  744. ProcessCmdKey method as needed.
  745. Fixes the remaining bits of #509985.
  746. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  747. * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
  748. set current_item when navigating with the keyboard, so we can use it
  749. properly later. Finally, handle both Enter and Space to fire
  750. OnButtonClick *only*, without any other impact, as .net does.
  751. Fixes part of #509985.
  752. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  753. * MenuAPI.cs: Close any active menu when we get a simple Alt.
  754. Fixes #509299.
  755. 2009-06-26 Carlos Alberto Cortez <[email protected]>
  756. * ToolBar.cs: In OnButtonClick only change the Pushed value for
  757. buttons with toogle style. We were previously doing it for
  758. DropDownButton's buttons, but that's not what .net is doing.
  759. Fixes #510030.
  760. 2009-06-26 Atsushi Enomoto <[email protected]>
  761. * XplatUICarbon.cs : support multi-byte text input.
  762. Fixed bug #501276.
  763. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  764. * ListBox.cs: When creating DrawItemEventArgs, pass either
  765. Theme.ColorHighlightText or ForeColor depending on the selected state
  766. of our item, as .net does.
  767. Fixes #512115.
  768. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  769. * ComboBox.cs: When handling WM_CHAR, process the message first, and
  770. send it to the textbox only if it wasn't handled.
  771. Fixes #507459.
  772. 2009-06-18 Jonathan Pobst <[email protected]>
  773. * ComboBox.cs: Only do my big sort at the end of AddRange if
  774. the combobox is actually set to Sorted.
  775. 2009-06-18 Tom Hindle <[email protected]>
  776. * XplatUIX11.cs: Enabled Text to coexist with custom data formats.
  777. Fixes #511849.
  778. 2009-06-18 Carlos Alberto Cortez <[email protected]>
  779. * ListBox.cs: When calculating the scrollbars for non MultiColumn
  780. mode, force the use of the horizontal scrollbar only if
  781. ScrollAlwaysVisible is true as well.
  782. Fixes #513029.
  783. 2009-06-17 Jonathan Pobst <[email protected]>
  784. * ComboBox.cs: When using AddRange on a sorted combobox, don't
  785. try to use our inefficient sorted insert method, just append
  786. it and sort the whole thing at then end.
  787. [Fixes bug #511247]
  788. 2009-06-16 Carlos Alberto Cortez <[email protected]>
  789. * ToolBar.cs: Expose as internal the code used to show a dropdown menu.
  790. * PrintPreviewDialog.cs: Handle the down/up arrow keys for our
  791. DropDown element.
  792. Fixes #509152.
  793. 2009-06-16 Ivan N. Zlatev <[email protected]>
  794. * DataGridView.cs: Scrolling fixes.
  795. [Fixes bug #512816]
  796. 2009-06-16 Ivan N. Zlatev <[email protected]>
  797. * DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and
  798. optimize for batch adding rows.
  799. 2009-06-16 Ivan N. Zlatev <[email protected]>
  800. * DataGridView.cs: Avoid calling ReBind twice during the initial data
  801. binding.
  802. [Fixes bug #512807]
  803. 2009-06-16 Ivan N. Zlatev <[email protected]>
  804. * DataGridView.cs: Suppress invalidation during data binding.
  805. [Fixes part of bug #512807]
  806. 2009-06-15 Carlos Alberto Cortez <[email protected]>
  807. * PrintPreviewDialog.cs: Tune the navigation among the buttons and
  808. controls that are part of our ToolBar, so we can mimic the behaviour
  809. observed in .Net, by handling also the arrow keys and doing the
  810. preprocess for them too.
  811. Fixes the remaining bits of #509142.
  812. 2009-06-12 Carlos Alberto Cortez <[email protected]>
  813. * ToolBar.cs: Expose the current item as internal.
  814. * PrintPreviewDialog.cs: Tune the TabStop property for
  815. PrintPreviewControl/ToolBar so we match the .net scenario regarding
  816. Tab navigation. Also implement support to navigate throughout the
  817. items in the ToolBar.
  818. Fixes #509142.
  819. 2009-06-09 Ivan N. Zlatev <[email protected]>
  820. * DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs:
  821. Implement items syncing in the non-databound scenario.
  822. [Fixes bug #494031]
  823. 2009-06-09 Ivan N. Zlatev <[email protected]>
  824. * DataGridView.cs: Call OnCellValidating and OnCellValidated and
  825. handle the Cancel accordingly.
  826. [Fixes bug #506838]
  827. 2009-06-09 Ivan N. Zlatev <[email protected]>
  828. * DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
  829. [Fixes bug #506796]
  830. 2009-06-09 Ivan N. Zlatev <[email protected]>
  831. * DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs,
  832. DataGridView.cs: Fire CollectionChangeAction.Refresh collection
  833. changed when Clearing the collections so that the DataGridView
  834. can know and reset the current cell.
  835. [Fixes bug #492549]
  836. 2009-06-09 Ivan N. Zlatev <[email protected]>
  837. * BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor
  838. with the PropertyDescriptor parameter instead of index, because the
  839. latter will set some irelevant indices. Fixes a bug uncovered by recent
  840. fix to ListChangedEventArgs.
  841. 2009-06-09 Carlos Alberto Cortez <[email protected]>
  842. * DataObject.cs: When looking for any specific format, do a case
  843. insensitive search, as .net does.
  844. Fixes #509199.
  845. 2009-06-09 Ivan N. Zlatev <[email protected]>
  846. * CurrencyManager.cs: In AllowNew firstly check if the list is a
  847. IBindingList and proxy to AllowNew. IBindingList has slightly differet
  848. logic and eventhough it's an IList IsReadOnly should not be used in this
  849. case as it might be True but AllowNew could be True as well.
  850. Fixes a bug uncovered by a fix to the Array class.
  851. 2009-06-08 Carlos Alberto Cortez <[email protected]>
  852. * ListBindingHelper.cs: In GetListItemType do a null check when
  853. looking for IList.Item, since the impl could be explicit, and thus
  854. private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  855. Fixes the remaining part of #507120
  856. 2009-06-07 Carlos Alberto Cortez <[email protected]>
  857. * DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
  858. to match them in all the cases, as this is exactly what .net does.
  859. Fixes #510728.
  860. 2009-06-06 Carlos Alberto Cortez <[email protected]>
  861. * ListBindingHelper.cs: In GetListItemType handle gracefully the case
  862. where an instance of IEnumerator returns a null value for its Current
  863. property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  864. Fixes #507120.
  865. 2009-06-05 Carlos Alberto Cortez <[email protected]>
  866. * ComboBox.cs: Properly detect whether we need to use our vertical
  867. scrollbar or not, specially for DropDownList/DropDown styles,
  868. depending on the value of DropDownHeight.
  869. Fixes #508541.
  870. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  871. * ToolTip.cs: Call the base implementation in Dispose, but do it
  872. before anything else to avoid a regression. This way we do the default
  873. routines related to any System.ComponentModel.Container.
  874. Fixes #508586.
  875. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  876. * Clipboard.cs:
  877. * XplatUIX11.cs:
  878. * DataFormats.cs: Implement support for serializable types in our
  879. clipboard.
  880. Fixes #357642.
  881. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  882. * ColorDialog.cs: Actually add the help button to the form, so it can
  883. be visible.
  884. Fixes #478555.
  885. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  886. * PrintPreviewDialog.cs: Don't use Dock.Fill for the
  887. PrintPreviewControl, since it will be hidden in the top by our
  888. toolbar. Use manual location and anchoring instead.
  889. Fixes #474889.
  890. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  891. * FileDialog.cs: When saving the size of the dialog, use the
  892. ClientSize instead of Size, so we have always the same size for the
  893. form. Patch by Alex Shulgin.
  894. Fixes #503064.
  895. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  896. * MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
  897. show a beep, similar to what .net does.
  898. Fixes #473725.
  899. 2009-05-23 Carlos Alberto Cortez <[email protected]>
  900. * ContainerControl.cs:
  901. * MenuStrip.cs
  902. * ToolStrip.cs: Implicit mnemonic processing should happen for every
  903. ToolStrip child, not only for MenuStrip, so we are going to do that in
  904. ToolStrip.ProcessMnemonic, where we already had that exactly
  905. functionality, but we are only just checking that either this instance
  906. is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
  907. remove the extra code, since we are not going to use it now.
  908. Fixes the remaining bits of #503663.
  909. 2009-05-21 Neville Gao <[email protected]>
  910. * ContextMenu.cs: Cleaned up UIA properties.
  911. 2009-05-20 Dick Porter <[email protected]>
  912. * XplatUICarbon.cs: Add more locking around MessageQueue
  913. manipulations.
  914. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  915. * DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
  916. duplication of code, as well as actually getting the focus back in
  917. *any* scenario where the drop down is closed.
  918. 2009-05-18 Tom Hindle <[email protected]>
  919. * ScrollableControl.cs: Ignore setting properties HScroll and
  920. VScroll when AutoScroll is true.
  921. [Fixes bug #500213]
  922. 2009-05-18 Jonathan Pobst <[email protected]>
  923. * ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
  924. disabled graphics look closer to the ones that .Net produces.
  925. [Fixes bug #473660]
  926. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  927. * DateTimePicker.cs: When calculating the max width for the year part,
  928. use the current value, since *all* the possible values are exactly a 4
  929. digits number. This way we avoid a ArgumentOutOfRangeException trying
  930. to check against different values.
  931. Fixes #500917.
  932. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  933. * MessageBox.cs: When handling ProcessDialogChar, check that
  934. CancelButton is not null before trying to use it, to avoid a null ref
  935. exception. We don't need to do that on the ok/yes buttons, since they
  936. always exist.
  937. Fixes #503935.
  938. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  939. * ListBox.cs: Handle the key down event in WndProc instead of doing it
  940. in an event handler, as we need to avoid any operation in case
  941. the user has handled it in its own OnKeyDown handler, and this can't
  942. be achieved since our handler would be the first one always.
  943. * FontDialog.cs: Update the calls since our method handling key down
  944. has been renamed.
  945. Fixes #503469.
  946. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  947. * Application.cs: We should dismiss the active ToolStrip when we
  948. receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
  949. keyboard short cut can be properly processed by another menu item.
  950. Fixes part of #503663.
  951. 2009-05-13 Andreia Gaita <[email protected]>
  952. * HtmlDocument.cs: If the objects are strings, wrap them in ""
  953. 2009-05-13 Andreia Gaita <[email protected]>
  954. * HtmlDocument.cs: Fix InvokeScript call (duh).
  955. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  956. * TextBox.cs: Expose IsAutoCompleteAvailable as internal.
  957. * ComboBox.cs: If auto complete is being used, it is needed to update
  958. the actual value of the combo box, doing it immediately if the user
  959. presses Enter, or doing it when our combo box loses focus. Finally,
  960. when handling Enter and Escape keys for the combobox, don't try to
  961. hide the listbox if it is not visible in the first place.
  962. Fixes part of #489339.
  963. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  964. * ToolStripDropDownMenu.cs: Use the height returned by
  965. ToolStripItem.GetPreferredHeight to calculate our own height.
  966. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  967. * TreeNode.cs: When setting Checked, do a double null check, since the
  968. current node can still get a null parent handling
  969. TreeView.OnAfterCheck.
  970. Fixes #502567.
  971. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  972. * Control.cs: When assigning ContextMenu, do a null check before
  973. assigning its container field.
  974. 2009-05-08 Brad Taylor <[email protected]>
  975. * DateTimePicker.cs: Add a UIA-specific property to ensure that if
  976. is_checkbox_checked is changed, we won't break.
  977. 2009-05-08 Andrés G. Aragoneses <[email protected]>
  978. * ToolStripItem.cs: Prevent NRE when our holder is a
  979. ToolStripDropDownButton and we get Select()ed.
  980. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  981. * ToolStripControlHost.cs: DefaultSize must return the current size of
  982. the Control, not the value returned by GetPreferredSize. Also connect
  983. a handle to the control Resize event, and use it to fire
  984. OnHostedControlReize.
  985. Fixes the remaining bits of #483146.
  986. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  987. * ToolStripDropDown.cs: When performing the layout, use
  988. ToolStripItem.GetPreferredSize ().Height instead of
  989. ToolStripItem.Height, since we are already using it that way in this
  990. same method.
  991. Fixes part of ##483146.
  992. 2009-05-08 Brad Taylor <[email protected]>
  993. * DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers. Send
  994. OnUIASelectionChanged when ShowCheckbox is true and the checkbox
  995. recieves focus. Part of fix for #502029.
  996. 2009-05-06 Mike Gorse <[email protected]>
  997. * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
  998. Add PerformClick and PerformDoubleClick to PopupButton.
  999. Fixes #499851.
  1000. 2009-05-04 Andrés G. Aragoneses <[email protected]>
  1001. * TabControl.cs: call Focus() to emit GotFocus event at the
  1002. proper time when SelectionIndex changes. Fixes #499887.
  1003. 2009-05-03 Carlos Alberto Cortez <[email protected]>
  1004. * MonthCalendar.cs: In SetBoundsCore always do the bounds check to
  1005. have valid values, even if BoundSpecified is not including
  1006. Size/Height/Width - this is useful when we are in a control using Dock
  1007. or Anchor.
  1008. Fixes part of #483146.
  1009. 2009-04-27 Carlos Alberto Cortez <[email protected]>
  1010. * ComboBox.cs: When losing the focus, if our textbox is not null,
  1011. close its auto complete list, if any.
  1012. Fixes part of #489339.
  1013. 2009-04-27 Andrés G. Aragoneses <[email protected]>
  1014. * ListView.cs: Make OnColumnClick +internal to be used by a11y.
  1015. 2009-04-27 Brad Taylor <[email protected]>
  1016. * ToolStripButton.cs: Emit an internal event when CheckOnClick is
  1017. changed.
  1018. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  1019. * XplatUIX11.cs: Properly support UTF8 when handling the
  1020. SelectionRequest event - this is helpful supporting some window
  1021. managers, such KDE, that explictly request the text in utf8, as
  1022. opposed to gnome, that supports ascii.
  1023. Fixes #489393.
  1024. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  1025. * ToolStripDropDownItem.cs: When assigning a new
  1026. ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
  1027. Capture duties performed by Application/ToolStripManager are handled
  1028. nicely and we don't end up in an inconsisten stat.
  1029. Fixes #492815.
  1030. 2009-04-25 Carlos Alberto Cortez <[email protected]>
  1031. * ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
  1032. any ToolStripDropDownItem when receiving a mouse down event in an
  1033. empty area.
  1034. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  1035. * ToolBarButton.cs: add UIA events for style and dropdownmenu changes.
  1036. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  1037. * ToolBarButton.cs: rename a method to include UIA prefix.
  1038. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  1039. * ToolBarButton.cs: change visibility of some UIA methods from
  1040. protected virtual to private.
  1041. 2009-04-24 Carlos Alberto Cortez <[email protected]>
  1042. * ToolStripDropDown.cs: In OnVisibleChanged, if we have an OwnerItem,
  1043. fire OnDropDownOpened/OnDropDownClosed depending on the new
  1044. visibility. This also ensures that any direct access to this instance
  1045. will fire the mentioned events for the OwnerItem.
  1046. * ToolStripDropDownItem.cs: Remove the invocations to
  1047. OnDropDownOpened/OnDropDownClosed, since they are handled in
  1048. ToolStripDropDown, as well as updating the
  1049. OnDropDownHide/OnDropDownShow calls to be in the right order.
  1050. Fixes #496193.
  1051. 2009-04-21 Carlos Alberto Cortez <[email protected]>
  1052. * Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any
  1053. shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the
  1054. event is the same as the owner of the menu item. Also set properly
  1055. SourceControl for ContextMenuStrip, as well as add an internal field to
  1056. contain the control that owns the ContextMenuStrip (we need to know this
  1057. even before the public property is assigned).
  1058. Fixes bits of #393775.
  1059. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  1060. * StatusStrip.cs: Use the same icon as .net when the mouse is over the
  1061. size grip.
  1062. Fixes #492828.
  1063. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  1064. * ComboBox.cs: When calculating the height of the ComboListBox,
  1065. specially for the 2.0 profile, use MaxDropDownItems if the
  1066. DropDownHeight property hasn't been set, and use the later if it has
  1067. been set. This way we support both properties.
  1068. Fixes #493308.
  1069. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  1070. * ThreadExceptionDialog.cs: Draw the error icon, previously missing.
  1071. Fixes #474253.
  1072. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  1073. * ContainerControl.cs: Implement support for Control.CausesValidation,
  1074. by adding a pending list of controls to be validated in the top
  1075. container control, and postpone validation as needed.
  1076. Also remove any control in the validation chain in case it gets removed
  1077. from its owner before the pending validation actually happens.
  1078. Fixes #457170.
  1079. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  1080. * ListBox.cs: The default instance StringFormat field used to draw our
  1081. items should use the StringFormatFlags.NoWrap value, so it doesn't try
  1082. to put in a different line the text that doesn't fit our bounds, but
  1083. show it partially.
  1084. Fixes #475581.
  1085. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  1086. * CheckedListbox.cs: When executing OnItemClick check that the index
  1087. is different to -1 before trying to retrieve an item using that value.
  1088. Fixes a ArgumentOutOfRangeException thrown when the horizontal
  1089. scrollbar was visible but not needed, and then a clicked was received
  1090. on its area.
  1091. 2009-04-08 Carlos Alberto Cortez <[email protected]>
  1092. * MaskedTextBox.cs: If Insert is pressed, change the internal
  1093. overwrite mode for our default value.
  1094. Fixes some bits of #477395.
  1095. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  1096. * ListView.cs: In EnsureVisible avoid any direct access to items if we
  1097. are using virtual mode - otherwise use the bounds stored in a specific
  1098. item in a given index. This is specially important when using groups
  1099. or when items are re-arranged, since the position in the items
  1100. collection can be different than that one being displayed.
  1101. Fixes the rest of ##491978.
  1102. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  1103. * ThemeWin32Classic.cs: Include the previous check for ListView in a
  1104. 2.0 define as needed.
  1105. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  1106. * ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups.
  1107. Fixes part of #491978.
  1108. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  1109. * ToolTip.cs: New fields to store the title/icon information.
  1110. * ThemeWin32Classic.cs: Implement support for tooltip's title and
  1111. icon.
  1112. Fixes #491978.
  1113. 2009-04-03 Carlos Alberto Cortez <[email protected]>
  1114. * TabControl.cs: When removing a tab that was previously selected, set
  1115. internally the value of selected_index to -1, to avoid trying to
  1116. access the previous one when trying to set the new one (and was
  1117. already removed from the collection). This is what .net seems to do
  1118. too.
  1119. Fixes #490937.
  1120. 2009-04-02 Carlos Alberto Cortez <[email protected]>
  1121. * XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
  1122. separated, and we cannot fallback on Text if Rtf is requested but not
  1123. present.
  1124. * Clipboard.cs: Actually use the format specified by our user when
  1125. putting data.
  1126. 2009-03-31 Carlos Alberto Cortez <[email protected]>
  1127. * X11Clipboard.cs: Actually look for the RtfText format when calling
  1128. GetRftText in our clipboard formats list, instead of using the
  1129. generical Text format.
  1130. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  1131. * TextBox.cs: Process auto completion properly when we are using the
  1132. internal source provided by ComboBox, and also remove some repeated
  1133. checks.
  1134. Fixes #489339.
  1135. 2009-03-30 Tom Hindle <[email protected]>
  1136. * DataGridView added Support for Invisible Columns to
  1137. AutoFillColumnsInternal method.
  1138. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  1139. * X11Structs:
  1140. * X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to
  1141. its own file, since it is adding some functionality and thus is not a
  1142. simple struct as before.
  1143. * XplatUIX11.cs: Add support to store different formats that could
  1144. have been specified by the user when puting data in the Clipboard -
  1145. this is important when more than one format is supported (such plain
  1146. text and rtf text). Update in the needed places, as well as simplify
  1147. the code.
  1148. Fixes #489625.
  1149. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  1150. * XplatUIX11.cs: When handling the SelectionRequest event, use
  1151. SelectionRequestEvent instead of SelectionEvent, so we get the right
  1152. data for the app asking for clipboard data. Set the member of
  1153. SelectioneEvent.property to indicate the place where we are storing
  1154. the information as well - this is specially important for gnome/kde
  1155. apps using the TARGETS atom to ask for the supported permission before
  1156. actually asking for a specific format.
  1157. Fixes #489393.
  1158. 2009-03-28 Ivan N. Zlatev <[email protected]>
  1159. * DataGridViewCell.cs: We don't support drawing all types of cell borders,
  1160. so fallback and at least draw something instead of nothing.
  1161. 2009-03-27 Ivan N. Zlatev <[email protected]>
  1162. * DataGridView.cs: If the column header isn't visible allow resizing
  1163. using the cell column border. Also be sure to reset the cursor properly.
  1164. [Fixes bug #489929]
  1165. 2009-03-26 Carlos Alberto Cortez <[email protected]>
  1166. * ToolStrip.cs: When disposing, iterate over the items in reverse
  1167. order, since disposing the items modifies the collection.
  1168. * ToolStripItem.cs: Remove from the owner when disposing.
  1169. Fixes #485769.
  1170. 2009-03-26 Ivan N. Zlatev <[email protected]>
  1171. * DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No
  1172. longer throws a NotImplementedException.
  1173. Based on a patch by Tom Hindle <[email protected]>
  1174. [Fixes bug #488319]
  1175. 2009-03-26 Ivan N. Zlatev <[email protected]>
  1176. * DataGridView.cs: Implement IsCurrentRowDirty. No longer throws
  1177. NotImplementedException.
  1178. 2009-03-26 Ivan N. Zlatev <[email protected]>
  1179. * DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs:
  1180. Fix SortMode clash handling.
  1181. [Fixes bug #488263]
  1182. 2009-03-26 Ivan N. Zlatev <[email protected]>
  1183. * DataGridView.cs: Do not show the vertical scrollbar if there is only
  1184. one row or less. For the sake of MSNET compatibility.
  1185. [Fixes bug #487988]
  1186. 2009-03-26 Ivan N. Zlatev <[email protected]>
  1187. * DataGridView.cs: When the current cell is moved out of the editing row
  1188. be sure to reset it back to a place holder row.
  1189. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1190. * DataGridView.cs: If IsHandleCreated and the very first row is added
  1191. to the grid in a non-databound scenario - select the first cell.
  1192. [Fixes bug #486881]
  1193. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1194. * DataGridView.cs: If we are not databound and empty once the first row
  1195. gets added select the first cell.
  1196. [Fixes bug #486881]
  1197. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1198. * DataGridView.cs, DataGridViewColumn.cs: Do not set Row/CellTemplate's
  1199. DataGridView. They do not belong to a DataGridView.
  1200. [Fixes bug #486645]
  1201. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1202. * DataGridViewCellCollection.cs, DataGridViewColumnCollection.cs:
  1203. Set indices and associate with DataGridView only after the item is
  1204. add to the internal list.
  1205. [Fixes part of bug #486645]
  1206. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1207. * DataGridView.cs: Do not add any cells to the FullRowTemplate in RowCount.
  1208. FullRowTemplate already contains all the cells.
  1209. [Fixes part of bug #486645]
  1210. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1211. * DataGridView.cs, DataGridViewCellCollection.cs: Split the column removal
  1212. to perform Pre and Post removal actions to allow the current cell to be
  1213. moved and all events fired properly before the column is removed.
  1214. 2009-03-19 Ivan N. Zlatev <[email protected]>
  1215. * DataGridView.cs, DataGridViewRow.cs: Split the row removal to perform Pre and
  1216. Post removal action to allow the current cell to be moved and all events fired
  1217. properly before the row is removed.
  1218. 2009-03-18 Ivan N. Zlatev <[email protected]>
  1219. * DataGridView.cs: Fire CellEnter and CellLeave events for the Cell.
  1220. [Fixes bug #486640]
  1221. 2009-03-18 Jonathan Pobst <[email protected]>
  1222. * XplatUICarbon.cs: Commit patch from Alex Shulgin that fixes window
  1223. placement of popup windows on OSX.
  1224. 2009-03-18 Matt Guo <[email protected]>
  1225. * FontDialog.cs: Override "ToString" for FontDialog.ColorComboBox.ColorComboBoxItem
  1226. [Fixes bug #482690]
  1227. 2009-03-18 Ivan N. Zlatev <[email protected]>
  1228. * DataGridView.cs: Implement the CellMouseDoubleClick event.
  1229. [Fixes bug #486262]
  1230. 2009-03-18 Ivan N. Zlatev <[email protected]>
  1231. * DataGridView.cs: Fix scrolling to take into account that the
  1232. scrollbars are actually inside the client area of the datagridview.
  1233. 2009-03-18 Ivan N. Zlatev <[email protected]>
  1234. * DataGridView.cs: Implement mouse wheel scrolling.
  1235. [Fixes bug #486159]
  1236. 2009-03-17 Ivan N. Zlatev <[email protected]>
  1237. * DataGridView.cs: When DataSource changes the rebinding should happen
  1238. not if IsHandleCreated but if BindingContext != null.
  1239. [Fixes bug #486013]
  1240. 2009-03-17 Ivan N. Zlatev <[email protected]>
  1241. * DataGridView.cs: Browsable(false) properties should be skipped when
  1242. autogenerating the columns.
  1243. [Fixes bug #486021]
  1244. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  1245. * DomainUpDown.cs: When ReadOnly is true, all the text entered by the
  1246. user should use a different handling, trying to use every pressed char
  1247. as a unique and only one prefix to compare against the items. Also,
  1248. refactor some input check code to avoid duplication.
  1249. Fixes #458607.
  1250. 2009-03-16 Ivan N. Zlatev <[email protected]>
  1251. * DataGridViewCell.cs: In OwningColumng Handle invalid column index
  1252. silently.
  1253. [Fixes bug #485278]
  1254. 2009-03-16 Ivan N. Zlatev <[email protected]>
  1255. * DataGridViewBand.cs: Update our State whenever a property changes.
  1256. * DataGridView.cs: Don't be so generous in reseting Displayed, because
  1257. it will spawn lots and lots of unneeded State changed events.
  1258. [Fixes bug #484989]
  1259. 2009-03-16 Ivan N. Zlatev <[email protected]>
  1260. * DataGridView.cs, DataGridViewRow.cs, DataGridViewColumn.cs:
  1261. Add support for invisible rows and columns.
  1262. [Fixes bug #484951]
  1263. 2009-03-16 Ivan N. Zlatev <[email protected]>
  1264. * DataGridViewCell.cs: Escape literal { in ToString.
  1265. * DataGridViewTextBoxCell.cs: Fix ToString.
  1266. [Fixes bug #484923]
  1267. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  1268. * MenuAPI.cs: When navigating items using the keyboard properly handle
  1269. the case when no item is selected - this way we should try to select
  1270. the first or the last item depending on the direction, but no the
  1271. second or third one, etc.
  1272. 2209-03-15 Carlos Alberto Cortez <[email protected]>
  1273. * Form.cs: When calling ProcessCmdKey, just after checking for any
  1274. MainMenu, check if there's an active ContextMenu that is *not* owned
  1275. by the form - this is needed when a non-focusable control owns a
  1276. ContextMenu but its ProcessCmdKey method can't be called since it
  1277. can't receive any input.
  1278. Fixes #477655.
  1279. 2009-03-13 Neville Gao <[email protected]>
  1280. * ToolBar.cs: Sent ButtonClick events when button style is DropDown.
  1281. * ContextMenu.cs: Add UIA Framework property UIAVisible to detect if
  1282. ContextMenu is displayed.
  1283. 2009-03-12 Carlos Alberto Cortez <[email protected]>
  1284. * XplatUIX11.cs: In GetMessage when F1 gets pressed, besides sending a
  1285. WM_HELP message for the associated window, don't call
  1286. NativeWindow.WndProc *at all*, since this could send a WM_*
  1287. key-related to Control.WndProc. Also, return the keypress message, in
  1288. case it needs to be preprocessed for any menu.
  1289. Fixes #478476.
  1290. 2009-03-08 Ivan N. Zlatev <[email protected]>
  1291. * DataGridView.cs: When removing the first displayed row and moving
  1292. the current cell up one we must invalidate the first displayed row
  1293. index before calculating the row heights, etc.
  1294. [Fixes bug #483202]
  1295. 2009-03-08 Ivan N. Zlatev <[email protected]>
  1296. * DataGridView.cs: Fix three column bugs:
  1297. - Rows should be cleared (but not removed) if columns become 0.
  1298. - The current cell should get moved
  1299. - ColumnCount increase was adding too many columns.
  1300. 2009-03-07 Ivan N. Zlatev <[email protected]>
  1301. * DataGridView.cs: Fix RowCount decrease which wasn't working well
  1302. in both scenarions - with and without editing row.
  1303. 2009-03-06 Ivan N. Zlatev <[email protected]>
  1304. * DataGridView.cs: Be compatible with MS in that the scroll to
  1305. selection has a synchronous effect. The trick here is that in
  1306. order to avoid unnecessary calculations each time a row/column
  1307. is added/removed we recalculate the whole grid size just before
  1308. just before the scroll to selection.
  1309. [Fixes bug #482478]
  1310. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  1311. * RichTextBox.cs: LoadFile(string path) should pass by default
  1312. RichTextBoxStreamType.RichText, without caring about the detection or
  1313. extension of the file.
  1314. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  1315. * RichTextBox.cs: When calling LoadFile, remove the extra EOL
  1316. introduced by StreamReader, since it will convert the EOF to an EOL.
  1317. Fixes #479646.
  1318. 2009-03-06 Jonathan Pobst <[email protected]>
  1319. * ToolStripDropDownMenu.cs: Use Math.Max instead of calculating
  1320. preferred size twice.
  1321. 2009-03-06 Jonathan Pobst <[email protected]>
  1322. * ToolStripMenuItem.cs: Don't draw the dropdown arrow or shortcut
  1323. string if we aren't on a ToolStripDropDownMenu.
  1324. 2009-03-06 Jonathan Pobst <[email protected]>
  1325. * ToolStripDropDownButton.cs, ToolStripItem.cs: Refactor some Button
  1326. code from Item to Button. Patch from Alex Shulgin.
  1327. 2009-03-05 Jonathan Pobst <[email protected]>
  1328. * ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
  1329. * ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
  1330. not a ToolStripDropDown.
  1331. * ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.
  1332. 2009-03-04 Ivan N. Zlatev <[email protected]>
  1333. * DataGridView.cs: Fix RowCount/ColumnCount decreasing.
  1334. Based on a patch by Tom Hindle <[email protected]>
  1335. [Fixes bug #482133]
  1336. 2009-03-04 Ivan N. Zlatev <[email protected]>
  1337. * DataGridView.cs, DataGridViewElement.cs:
  1338. - Always calls OnDataGridViewChanged() if the new DGV is
  1339. not the same/null as the current one.
  1340. - Do not throw NREs when setting TopLeftHeaderCell to null
  1341. - Unset the DGV for TopLeftHeaderCell when replacing it
  1342. Based on a patch by Tom Hindle <[email protected]>
  1343. [Fixes bug #481681]
  1344. 2009-03-04 Jonathan Pobst <[email protected]>
  1345. * ToolStripDropDown.cs: When dismissing control due to ESC, don't
  1346. hit a NRE if we are a ContextMenuStrip and do not have a parent.
  1347. [Fixes bug #478616]
  1348. 2009-03-01 Carlos Alberto Cortez <[email protected]>
  1349. * ListView.cs: When removing items from a ListViewItemCollection
  1350. contained in ListView (not in ListViewGroup), before actually removing
  1351. the items remove them also from their -if any- associated groups. If
  1352. the item is present in ListViewGroup.Items but not in ListView.Items,
  1353. then don't remove it - this is *exactly* what .net seems to do.
  1354. Fixes the remaining bits of #478689.
  1355. 2009-02-28 Carlos Alberto Cortez <[email protected]>
  1356. * ListView.cs: In our MouseDown handler in ItemControl use the item in
  1357. the very specific *real* position where the mouse was pressed, using
  1358. GetItemAtDisplayIndex for that purpose, instead of directly accessing
  1359. Items - this is specially useful when groups with Details view is
  1360. used. This is what we do in other places when using groups.
  1361. Fixes part of #478689.
  1362. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  1363. * MaskedTextBox.cs: Properly replace selection when a new valid key
  1364. is pressed - even when IsOverwriteMode is false. This is what .net
  1365. does.
  1366. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  1367. * MaskedTextBox.cs: When setting Text and RejectOnFirstFailure is
  1368. true, use MaskedTextProvider.Set instead of MaskedTextProvider.Replace,
  1369. since Set will keep the previous value in case of error (just what we
  1370. need), but still call MaskedTextProvider.Clear if
  1371. RejectOnFirstFailure is false - match .net.
  1372. 2009-02-26 Carlos Alberto Cortez <[email protected]>
  1373. * MaskedTextBox.cs: When setting Text use the very precise algorithm
  1374. that .net uses: iterate over every char of the new value, trying to
  1375. use every char, and use a normal call to MaskedTextProvider.Replace
  1376. call if RejectInputOnFirstFailure is true. Fire OnMaskInputRejected
  1377. in case of error in both cases, as well.
  1378. Fixes #477408.
  1379. 2009-02-25 Neville Gao <[email protected]>
  1380. * ColorDialog.cs: Added UIA Framwork Property:
  1381. UIASelectedSmallColorControl.
  1382. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  1383. * MaskedTextBox.cs: Forgot to update the call of the new method
  1384. introduces in the previous patch.
  1385. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  1386. * MaskedTextBox.cs: Handle OnKeyDown to properly process the Delete
  1387. key. Also create a new method to avoid code duplication between
  1388. OnKeyDown and OnKeyPress.
  1389. Fixes #477388.
  1390. 2009-02-24 Ivan N. Zlatev <[email protected]>
  1391. * DataGridViewCell.cs: Invalidate the datagrid when the cell is selected
  1392. or deselected.
  1393. [Fixes bug #479124]
  1394. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  1395. * MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
  1396. actually inversed, so put it the right way. Also, don't automatically
  1397. look for the next editable item after adding a new one, but way for
  1398. the next insertion (this is what .net does) - this is not needed when
  1399. MaskedTextProvider.InsertAt is called however, since it already looks for the
  1400. next editable position.
  1401. Fixes the remaining bits of #477383.
  1402. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  1403. * MaskedTextBox.cs: In OnKeyPress handle backspace by calling
  1404. MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
  1405. property after the text was modified, adjust the testPosition value
  1406. depending on what method was called.
  1407. Fixes part of #477383.
  1408. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  1409. * ListView.cs: For EnsureVisible, adjust the view port bounds based on
  1410. the existence of the column headers, as well as using this information
  1411. to adjust the vscrollbar value, so items never get hidden by the
  1412. column headers.
  1413. Fixes #478498.
  1414. 2009-02-23 Ivan N. Zlatev <[email protected]>
  1415. * DataGridView.cs: Make the ScrollBars property work properly.
  1416. 2009-02-22 Carlos Alberto Cortez <[email protected]>
  1417. * TextBox.cs: Some code lifting for AutoComplete's support. First,
  1418. when handling non-navigation keys, save the original Text typed by the
  1419. user, and don't motify it BEFORE. This was a design mistake, since the
  1420. re-assignation happens only when navigating the append/suggest list,
  1421. not while creating the matches. Also, process the Delete key just like
  1422. the backspace one. Finally, when handling WM_CHAR, ignore both Escape
  1423. and Enter keys.
  1424. Fixes some missing bits of #469967.
  1425. 2009-02-22 Ivan N. Zlatev <[email protected]>
  1426. * DataGridView.cs: Fix row removal in the data-bound scenario.
  1427. 2009-02-19 Ivan N. Zlatev <[email protected]>
  1428. * DataGridViewCell.cs: Use strict equality comparison in order to
  1429. prevent superfluous CellValueChanged events.
  1430. 2009-02-19 Ivan N. Zlatev <[email protected]>
  1431. * DataGridView.cs: Do not reset the columns when the data list changes,
  1432. but only the rows. Fixes multiple bugs related to sorting, custom
  1433. column styles being reset and more.
  1434. 2009-02-19 Jonathan Pobst <[email protected]>
  1435. * ThemeWin32Classic.cs: Respect a PictureBox's Padding when
  1436. drawing the image.
  1437. 2009-02-18 Andrés G. Aragoneses <[email protected]>
  1438. * ToolBarButton.cs: Oops, use the correct event (fix r127298).
  1439. 2009-02-17 Andrés G. Aragoneses <[email protected]>
  1440. * ToolBarButton.cs: Event for Enabled property (needed to fix
  1441. UIA #474197).
  1442. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  1443. * TextBox.cs: When handling WndProc with autocomplete activated,
  1444. event if the new text is not causing any change in the look up
  1445. algorithm, save it as we normally do when numbers and letters.
  1446. Fixes #469967.
  1447. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  1448. * TreeNode.cs: When Text/StateImageIndex/StateImageKey/NodeFont change
  1449. Invalidate the proper bounds in the TreeView, not only resetting the
  1450. width.
  1451. Fixes #475542.
  1452. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  1453. * TreeNode.cs: Don't return TreeView.BackColor when retrieving our own
  1454. BackColor property. This is what .net does in both 1.1 and 2.0.
  1455. * TreeView.cs: When selected_node is not the same as highlighted_node,
  1456. we need to handle the back color in a different way, trying to use the
  1457. node's BackColor if it's not Color.Empty.
  1458. Fixes #464200.
  1459. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  1460. * TreeView.cs: When canceling selection in our MouseUp handler,
  1461. invalidate also the previous selected node bounds.
  1462. Fixes #464191.
  1463. 2009-02-07 Ivan N. Zlatev <[email protected]>
  1464. * DataGridView.cs: End or if end fails then cancel the current edit
  1465. operation before clearing the data source.
  1466. 2009-02-07 Ivan N. Zlatev <[email protected]>
  1467. * DataGridView.cs: Data-bind only after the handle is created.
  1468. [Fixes bug #473680]
  1469. 2009-02-06 Carlos Alberto Cortez <[email protected]>
  1470. * TreeView.cs: When handling the MouseMove event, check if
  1471. focused_node and selected_node fields are null - usually they are non
  1472. null, since we have always a selected node, but canceling selection by
  1473. handling BeforeSelect event leaves the two of them as null.
  1474. Fixes #470451.
  1475. 2009-02-06 Neville Gao <[email protected]>
  1476. * TabControl.cs: Control enabled to support accessibility.
  1477. [Fixes Bug #472428]
  1478. 2009-02-05 Ivan N. Zlatev <[email protected]>
  1479. * DataGridViewRowCollection.cs, DataGridView.cs: Fix row insertation:
  1480. - Use ArrayList.Insert instead of the Item property so that the item
  1481. is actually inserted and not an existing item replaced.
  1482. - Call DataGridView.OnRowsAddedInternal and drop internal from
  1483. OnRowsAdded for binary compitability. This also fixes several
  1484. redrawing issues.
  1485. [Fixes bug #472968]
  1486. 2009-02-05 Andrés G. Aragoneses <[email protected]>
  1487. * ToolBarButton.cs: Doh, fire OnUIATextChanged *after* setting
  1488. the value.
  1489. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  1490. * ToolBarButton.cs: Add another event (OnUIATextChanged).
  1491. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  1492. * ToolBarButton: Fix typo in previous commit (r125704).
  1493. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  1494. * ToolBar.cs, ToolBarButton.cs: Add new UIA events to know
  1495. when a button gets focus, firing the events from the ToolBar.
  1496. r: jpobst
  1497. 2009-02-04 Mario Carrion <[email protected]>
  1498. * ColumnHeader.cs: Raising ListView.ColumnWidthChanged when setting
  1499. Width.
  1500. * ListView.cs: Internal method added: RaiseColumnWidthChanged, used by
  1501. ColumnHeader to raise ColumnWidthChanged.
  1502. [Fixes Bug #467086]
  1503. 2009-02-03 Ivan N. Zlatev <[email protected]>
  1504. * DataGridViewRowCollection.cs, DataGridView.cs: Move row completion
  1505. code in the row collection code, so that the completion happens before
  1506. the CollectionChanged event, also better encapsulation.
  1507. [Fixes bug #471987]
  1508. 2009-02-02 Ivan N. Zlatev <[email protected]>
  1509. * DataGridView.cs: When editing is finished do not remove the editing
  1510. row, because it has already become a real one. Instead add a new one.
  1511. [Fixes bug #471754]
  1512. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  1513. * TreeView.cs: When drawing the node's image, check that the index
  1514. specified by the node is valid for the ImageList.
  1515. Fixes #471094.
  1516. 2009-02-02 Andrés G. Aragoneses <[email protected]>
  1517. * ToolBar.cs: Add new UIAPerformClick method to be called by
  1518. UIAutomationWinforms when someone calls Invoke() on the
  1519. ToolBarButtonProvider. r: jpobst
  1520. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  1521. * XplatUIX11.cs: Don't send a WM_SHOWWINDOW message when receiving
  1522. MapNotify/UnmapNotify events - we are already firing those events in
  1523. the proper places, so we avoid this way to send the same message two
  1524. times. I'm leaving the handling code in case we could break something
  1525. in the future, as this change seems dangerous (but needed).
  1526. Fixes #467546.
  1527. 2009-02-01 Ivan N. Zlatev <[email protected]>
  1528. * DataGridView.cs: Complete incomplete rows when they are added to
  1529. the grid.
  1530. [Fixes bug #471068]
  1531. 2009-02-01 Ivan N. Zlatev <[email protected]>
  1532. * DataGridView.cs, DataGridViewColumnCollection.cs: Ensure that the
  1533. binding is cleared prior to setting it to null. Fixes a regression
  1534. causing exceptions when the DataSource is set to null and then set
  1535. again to a data source.
  1536. 2009-02-01 Ivan N. Zlatev <[email protected]>
  1537. * DataGridView.cs, DataGridViewImageColumn.cs, DataGridViewCell.cs:
  1538. - Make Image/Bitmap cells work.
  1539. - Handle images with size greater than the cell.
  1540. - Default to MiddleCenter alignment for image cells.
  1541. [Fixes bug #471101]
  1542. 2009-01-30 Ivan N. Zlatev <[email protected]>
  1543. * UpDownBase.cs: Force Height to PreferredHeight.
  1544. 2009-01-29 Carlos Alberto Cortez <[email protected]>
  1545. * XplatUIX11.cs: We should use utf8 handling clipboard transference
  1546. with other x11 applications, and use utf16 when handling clipboard
  1547. data in the class library. Update the related points as well.
  1548. Fixes #468683.
  1549. 2009-01-28 Ivan N. Zlatev <[email protected]>
  1550. * DataGridViewCell.cs: Format strings according to the supplied
  1551. CellStyle.Format.
  1552. [Fixes bug #470384]
  1553. 2009-01-28 Ivan N. Zlatev <[email protected]>
  1554. * DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
  1555. addition or removal. Fixes multiple crashes in OnMouseMove.
  1556. 2009-01-27 Ivan N. Zlatev <[email protected]>
  1557. * DataGridView.cs: Fix a NRE when setting the CurrentCell to null.
  1558. 2009-01-27 Ivan N. Zlatev <[email protected]>
  1559. * XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
  1560. current context.
  1561. [Fixes bug #469239]
  1562. 2009-01-26 Andreia Gaita <[email protected]>
  1563. * WebBrowser.cs: fix initial value of ScrollbarsEnabled, so they
  1564. won't be disabled by default.
  1565. Fixes #468690
  1566. 2009-01-26 Ivan N. Zlatev <[email protected]>
  1567. * DataGridView.cs: Do not clear the rows if we are not databound.
  1568. 2009-01-26 Ivan N. Zlatev <[email protected]>
  1569. * DataGridView.cs: Do not be too smart about selecting the first cell
  1570. when the first row is added as this is not what MS does. Fixes the
  1571. failing unit tests.
  1572. 2009-01-26 Carlos Alberto Cortez <[email protected]>
  1573. * TreeNode.cs: NextVisibleNode and PrevVisibleNode properties don't
  1574. take into account the fact that OpenTreeNodeEnumerator needs to call
  1575. MoveNext/MovePrevious to actually put the passed node as the one
  1576. retrieved in Current. This way this property should work as really
  1577. expected in .net.
  1578. Fixes part of #467225.
  1579. 2000-01-26 Carlos Alberto Cortez <[email protected]>
  1580. * TreeView.cs: When calculating the scrollbars, don't use
  1581. TreeNode.Bounds, since it still can have the values of the previous
  1582. -and now invalid- layout -which depends on TreeView.skipped_nodes, and
  1583. could not have been updated as well-, and use the actual number of
  1584. visible number of nodes to compute the height needed to contain all
  1585. the nodes. Also reset the value of vbar to 0 when disabled - this way
  1586. we make sure that, when re-enabled, it will update the visible area of
  1587. the treeview, even if the previous value before disabling it is the
  1588. same as now. Finally don't do anything for the vbar.ValueChanged
  1589. handler - for the case wheer we manually set the value but don't the
  1590. vbar is disabled already.
  1591. Fixes part of #467225.
  1592. 2009-01-23 Jonathan Pobst <[email protected]>
  1593. * ToolStrip.cs: Switch from foreach to for, in case the collection
  1594. somehow changes while enumerating it.
  1595. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1596. * DataGridView.cs, DataGridViewCell.cs: Fix crashes when there is no
  1597. editing control.
  1598. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1599. * DataGridView.cs: Fix new row adding/editing in the non-databound
  1600. scenario.
  1601. 2009-01-21 Mike Gorse <[email protected]>
  1602. * TrackBar.cs: Make LargeIncrement/Decrement internal so that UIA can
  1603. use them.
  1604. Added UIAValueParamChangedEvent.
  1605. 2009-01-21 Carlos Alberto Cortez <[email protected]>
  1606. * TreeView.cs: In CollapseAll, set vbar to the maximum value, instead
  1607. of trying to set as top node the highest parent of the previous top
  1608. node. Moving to the bottom of the TreeView after a call to CollapseAll
  1609. is exactly what .net does. This should avoid some nasty issue when
  1610. CollapseAll is called and we don't need the vertical scroll bar.
  1611. 2009-01-21 Mario Carrion <[email protected]>
  1612. * Form.cs: UIA Support: Internal events added: UIAWindowStateChanged
  1613. and UIATopMostChanged.
  1614. 2009-01-21 Sandy Armstrong <[email protected]>
  1615. * MenuItem.cs: Add UIACheckChanged, UIARadioCheckChanged,
  1616. UIAEnabledChanged, and UIATextChanged events.
  1617. * Form.cs: Add UIAMenuChanged event.
  1618. * Menu.cs:
  1619. * MenuAPI.cs: Note which internal APIs are being used by UIA.
  1620. 2009-01-21 Neville Gao <[email protected]>
  1621. * ToolBar.cs: Control enabled to support accessibility.
  1622. [Fixes Bug #455950]
  1623. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1624. * TreeView.cs: When handling mouse up event, check whether
  1625. highlighted_node is null or not - usually it should be non-null
  1626. alwaays, since the mouse down handler sets it, but some externa
  1627. operations, such TreeNodeCollection.Clear, could set it to null.
  1628. Fixes #438650.
  1629. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1630. * ThemeWin32Classic.cs: Draw the menu item shortcut even if the menu
  1631. item is disabled.
  1632. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1633. * MenuAPI.cs: Do not handle shortcuts if the menu item is disabled.
  1634. [Fixes bug #467285]
  1635. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1636. * MonthCalendar.cs: When handling the selection changes using the
  1637. mouse, don't set SelectionRange if the selection range didn't actually
  1638. change. This matters because, even if we set the range to the same
  1639. previous range, an extra DateChanged event is fired. Just to be clear:
  1640. SelectionRage property doesn't check whether the new value is
  1641. different to the previous one (by ref equals doesn't work here).
  1642. Fixes other bits of #364914.
  1643. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1644. * MonthCalendar.cs: Remove the extra OnDateChanged call when handling
  1645. selection using the keyboard, since we are already firing this event
  1646. when setting SelectionRange. Also don't set SelectionRange if the
  1647. previous and the new value are the same (the property, just as .net
  1648. does, doesn't check whether the previous value and the new one are the
  1649. same). This saves us from firing OnDateChanged event if the selection
  1650. range didn't change actually.
  1651. Fixes the remaining bits of #364914.
  1652. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1653. * ListBox.cs: When removing an item and the last item is selected,
  1654. remove it from the selection, and if selection mode is One try to
  1655. select the new last item.
  1656. Fixes #465422.
  1657. 2009-01-16 Mike Gorse <[email protected]>
  1658. * Splitter.cs: Make MaxSize internal so that UIA code can use it.
  1659. 2009-01-16 Mario Carrion <[email protected]>
  1660. * ColumnHeader.cs: UIA Support: raising internal event UIATextChanged
  1661. when changing Text.
  1662. 2009-01-16 Carlos Alberto Cortez <[email protected]>
  1663. * X11Structs.cs:
  1664. * XplatUIX11.cs: Properly encode/decode the unicode strings we
  1665. store/retrieve in the Clipboard. Also, since we try to convert the
  1666. data to different formats, separate the source and the result of
  1667. it, so we can always fallback to the original and don't mix wrong
  1668. conversions.
  1669. 2009-01-16 Mike Gorse <[email protected]>
  1670. * TextControl.cs: Add UIASelectionChanged event.
  1671. 2009-01-16 Ivan N. Zlatev <[email protected]>
  1672. * DataGridView.cs: Forward the first key events to the editing control.
  1673. [Fixes bug #457307]
  1674. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1675. * Application.cs: Oops, launch the copied handler of PreRun instead of
  1676. the global one (gendarme would bark otherwise). (Improving r123375)
  1677. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1678. * XplatUI.cs:
  1679. * Application.cs: Move the PreRun event fire to the end of the XplatUI
  1680. static ctor (we don't move the PreRun event to this class because its
  1681. usage would cause the call to the static ctor). This way we can get
  1682. a11y support for dialogs that run without App.Run.
  1683. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1684. * ListView.cs: New internal property to know the inner array's length of
  1685. the location of items, in order to avoid a try-catch strategy for the
  1686. case when this array has not been resized yet (for reference, look at
  1687. r123288). r: jpobst
  1688. 2009-01-13 Andrés G. Aragoneses <[email protected]>
  1689. * Application.cs: Simplify UIA initialization, reducing it from 4 to 1
  1690. reflection calls. This requires UIAutomationWinforms r123213.
  1691. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1692. * MonthCalendar.cs: Detect selection changes in MouseDown/MouseMove
  1693. handlers and fire the DateSelected event until MouseUp is reached,
  1694. like .net does, instead of firing it for each mouse event.
  1695. Fixes part of #364914.
  1696. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1697. * TreeView.cs: When the selection gets canceled using the BeforeSelect
  1698. event, invalidate the previous highlighted_node bounds, to show the
  1699. user that the item was *not* selected.
  1700. Fixes #464191.
  1701. 2009-01-11 Carlos Alberto Cortez <[email protected]>
  1702. * ComboBox.cs: Separate some scroll logic: setting SelectedIndex, as
  1703. well as -in DropDown and Simple modes- writing in the textbox should
  1704. try to set the requested item as the top one, but navigating with the
  1705. keyboard and handling mouse selection don't need that behaviour. Also,
  1706. when resetting selected_index handling key press events, reset
  1707. ComboListBox.HighlightIndex.
  1708. Fixes the remaining bits of #464188.
  1709. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1710. * DataGridView.cs: Fix crashes when shortcut keys are pressed, but
  1711. there are no cells:
  1712. - CurrentCellAddress should be -1, -1 and not 0, 0.
  1713. - Be tolerant and fall back to clearing the current cell if either
  1714. column or row is -1 in MoveCurrentCell.
  1715. - Misc. more -1 checks.
  1716. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1717. * DataGridView.cs: Preserve the column index. Fixes a regression
  1718. introduced by the data binding position tracking code.
  1719. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1720. * DataGridView.cs: If the bottom of the row matches the client height
  1721. do not regard the row as partially visible. Fixes the weird scrolling
  1722. when there is no scrollbar.
  1723. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1724. * DataGridViewComboBoxCell.cs: Implement/Fix the data binding.
  1725. 2009-01-09 Mario Carrion <[email protected]>
  1726. * MessageBox.cs: Fixed internal UIAIconRectangle property.
  1727. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1728. * DataGridViewCheckBoxCell.cs: Respect the ReadOnly state of the Cell.
  1729. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1730. * DataGridView.cs: Track the Position in the CurrencyManager.
  1731. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1732. * DataGridView.cs: Implement data-bound new item editing/addition.
  1733. * DataGridViewRowCollection.cs: Make it possible for us to internally
  1734. remove the edit row.
  1735. [Fixes bugs #457107, #457308, #325240]
  1736. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1737. * CurrencyManager.cs: Even if Position is set to a greater value than the
  1738. list count reset it to position of the last item.
  1739. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1740. * BindingSource.cs: AddNew doesn't set index/add_pending for IBindingList.
  1741. Fix that in order to make CancelNew to work.
  1742. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1743. * BindingSource.cs: When adding a new item try to delegate to the internal
  1744. list first before throwing an exception.
  1745. 2009-01-09 Carlos Alberto Cortez <[email protected]>
  1746. * ComboBox.cs: When setting the text and adjusting the top_item, do it
  1747. *only* if the current item is *not* visible already.
  1748. Fixes part of #464188.
  1749. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1750. * DataGridView.cs: Requesting the CurrencyManager for the first time can
  1751. lead to unexpected OnBindingContextChanged calls and recursive rebinding.
  1752. Fix that.
  1753. [Fixes bug #464493]
  1754. 2009-01-08 Brad Taylor <[email protected]>
  1755. * ComboBox.cs: Expose a few private fields as internal UIA properties.
  1756. 2009-01-07 Mario Carrion <[email protected]>
  1757. * DataGrid.cs: CWL removed.
  1758. 2009-01-06 Carlos Alberto Cortez <[email protected]>
  1759. * RadioButton.cs: When setting Checked, we should first update the
  1760. check state of the current RadioButton, as well as invalidating it,
  1761. and after that actually update the siblings. This is done to match
  1762. .net.
  1763. Fixes the remaining bits of #463028.
  1764. 2009-01-05 Carlos Alberto Cortez <[email protected]>
  1765. * RadioButton.cs: Setting Checked to false should set TabStop to stop
  1766. as well. Also, when we get the focus and no other RadioButton is
  1767. selected in the parent control, we should mark ourselves as Checked.
  1768. Fixes part of #463028.
  1769. 2009-01-05 Mario Carrion <[email protected]>
  1770. * DataGrid.cs: UIA suppport. internal events:
  1771. UIAGridCellChanged, UIAColumnsHeadersVisibleChanged,
  1772. UIASelectionChanged, UIACollectionChanged. Internal properties:
  1773. UIARowHeight, UIACellsArea, UIACaptionArea,
  1774. UIAColumnHeadersArea, UIASelectedRows, UIACurrentTableStyle,
  1775. UIAVScrollBar and UIAHScrollBar.
  1776. 2009-01-05 Jonathan Pobst <[email protected]>
  1777. * ToolStripSplitStackLayout.cs: Enable the overflow button if any
  1778. of the buttons are set to Overflow = Always.
  1779. [Fixes bug #463013]
  1780. 2009-01-03 Carlos Alberto Cortez <[email protected]>
  1781. * BindingNavigator.cs: Properly enable/disable the toolstrip buttons,
  1782. based on whether the binding source is availble or not. Fixes #463008.
  1783. 2009-01-03 Ivan N. Zlatev <[email protected]>
  1784. * DataGridViewCell.cs: We should return a value even if we are not bound
  1785. to a DataGridView.
  1786. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1787. * CurrencyManager.cs, DataGrid.cs:
  1788. - Rename CanAddRows to AllowNew. The CurrencyManager has no
  1789. concept of "rows".
  1790. - Add two more internal properties AllowRemove and AllowEdit.
  1791. * DataGridView.cs: Refactor in a data-bound situation AllowUserToAddRows,
  1792. AllowUserToDeleteRows and cell ReadOnly state to be also checked against the
  1793. CurrencyManager data source.
  1794. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1795. * DataGridView.cs: Fix crashes caused by assigning negative values to
  1796. ScrollBar.LargeIncrement when the ClientSize.Width/Height is less than
  1797. the column/row heights/widths.
  1798. [Fixes bug #462684]
  1799. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1800. * DataGridView.cs: Non-autogenerated columns that have a data property
  1801. set that exists in the current datasource should be set to be data-bound.
  1802. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1803. * DataGridView.cs: Fix column sorting for columns containing null
  1804. values. A "null" value is not always "null" (e.g could be String.Empty)
  1805. and thus parsing numeric types throwed an exception for "null" values.
  1806. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1807. * DataGridView.cs: Detach the editing control when the edit is
  1808. finished.
  1809. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1810. * DataGridView.cs: Multiple fixes to handle last column/row removal
  1811. and cell movement after that instead of throwing exceptions.
  1812. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1813. * DataGridViewCellCollection.cs: When cells are removed the column
  1814. indices become invalid if the cell is not the last one and have to
  1815. be refreshed.
  1816. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1817. * DataGridView.cs: Return false in CommitEdit if there was an error.
  1818. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1819. * DataGridView.cs: Remove a leftover Console.WriteLine.
  1820. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1821. * DataGridViewRow.cs: Access the indexer of the data manager directly
  1822. instead of the internal list.
  1823. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1824. * DataGridViewCell.cs, DataGridView.cs, DataGridViewCheckBoxCell.cs:
  1825. Rewrite the value getting, setting, parsing, formatting logic:
  1826. - If data-bound value get/set should actually get and set from the
  1827. data source.
  1828. - Make proper usage of TypeConverters for value parsing/formatting.
  1829. - Raise DataError if setting the new value fails.
  1830. - Get rid off the internal valueType field and get/set the ValueType
  1831. property instead.
  1832. [Fixes bug #462051]
  1833. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1834. * DataGridView.cs: Rewrite the DataBinding layer:
  1835. - Get rid off all BindingSource/IBindingList/DataSet/DataTable
  1836. specific code.
  1837. - Get rid off the per DataSource type column autogeneration code.
  1838. - Use the CurrencyManager for everything that is DataBinding related.
  1839. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1840. * CurrencyManager.cs: Do not fire duplicate ListChanged events.
  1841. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1842. * DataGridView.cs, DataGridViewRow.cs: Add a new internal property
  1843. DataManager to fetch the CurrencyManager for the DataGridView and to
  1844. spare this logic for the other components to follow.
  1845. 2008-12-31 Mario Carrion <[email protected]>
  1846. * MessageBox.cs: UIA support: new properties: UIAMessage,
  1847. UIAMessageRectangle and UIAIconRectangle.
  1848. 2008-12-31 Sandy Armstrong <[email protected]>
  1849. * FileDialog.cs: Add PopupButtonPanel.PopupButton.PerformClick method
  1850. and DirComboBox.DirComboBoxItem.ToString override for UIA support.
  1851. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1852. * DataGridView.cs: Do not autogenerate duplicate column for a
  1853. data member that has already problematically been assigned one.
  1854. [Fixes bug #457305]
  1855. 2008-12-30 Jonathan Pobst <[email protected]>
  1856. * ProfessionalColorTable.cs: Better detection of user's theme.
  1857. [Fixes bug #462766]
  1858. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1859. * DataGridView.cs: In the case where there are no autogenerated
  1860. columns and the user adds columns problematically we must generate
  1861. the rows after the very first column is added.
  1862. 2008-12-30 Carlos Alberto Cortez <[email protected]>
  1863. * DateTimePicker.cs: When increasing/decreasing the value of month
  1864. with ShowUpDown set to true, moving from december to january, and
  1865. moving from january to december should adjust the year to the next and
  1866. the previous year, respectively.
  1867. Fixes the remaining bits of #459674.
  1868. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1869. * DataGridView.cs: If a new cell is selected edit mode should be
  1870. immediately enabled only if EditOnEnter is set. Whether the mouse
  1871. or not was used to select the cell is irrelevant.
  1872. 2008-12-29 Ivan N. Zlatev <[email protected]>
  1873. * DataGridView.cs: Remove a bogus ReBind call, which was causing
  1874. recursive rebinding.
  1875. 2008-12-24 Carlos Alberto Cortez <[email protected]>
  1876. * DateTimePicker.cs: Handle the "MMMM" month format.
  1877. Fixes #459674.
  1878. 2008-12-23 Ivan N. Zlatev <[email protected]>
  1879. * DataGridView.cs:
  1880. - Make ReBind private and refactor various calls to call ReBind
  1881. instead of ClearBinding/DoBinding
  1882. - Rebind when the column collection changes
  1883. * DataGridViewColumnCollection.cs:
  1884. - Leave the rebinding on change to be handled by the DataGridView.
  1885. 2008-12-23 Jonathan Pobst <[email protected]>
  1886. * DataGridView.cs: Add a ReBind convenience method.
  1887. * DataGridViewColumnCollection.cs: Rebind when a column is added.
  1888. [Fixes bug #462019]
  1889. 2008-12-23 Neville Gao <[email protected]>
  1890. * StatusBar.cs: Modified argument variable.
  1891. * SplitContainer.cs: Control enabled to support accessibility.
  1892. [Fixes Bug #455950]
  1893. 2008-12-22 Jonathan Pobst <[email protected]>
  1894. * ToolStripMenuItem.cs: Guard against an NRE.
  1895. [Fixes bug #457110]
  1896. 2008-12-22 Mario Carrion <[email protected]>
  1897. * Control.cs: AccessibleXXXX properties don't return
  1898. AccessibleObject.XXXX, instead a local referece is returned.
  1899. 2008-12-22 Neville Gao <[email protected]>
  1900. * PrintPreviewControl.cs: Added internal properties to support
  1901. accessibility.
  1902. [Fixes Bug #459699]
  1903. 2008-12-19 Mario Carrion <[email protected]>
  1904. * Control.cs: Reverted r121561.
  1905. 2008-12-19 Andrés G. Aragoneses <[email protected]>
  1906. * X11DesktopColors.cs: Since r121873 we don't need gtk a11y checks here,
  1907. it has been moved to the bridge.
  1908. 2008-12-18 Brad Taylor <[email protected]>
  1909. * DateTimePicker.cs: Add a few UIA specific events, and a couple
  1910. internal methods useful for UIA.
  1911. 2008-12-18 Mario Carrion <[email protected]>
  1912. * ListBox.cs: Fixed GetItemRectangle when MultiColumn is true.
  1913. [Fixes Bug #455752]
  1914. 2008-12-17 Mike Gorse <[email protected]>
  1915. * ListView.cs, ListViewItem.cs: Send OnUIAFocusedItemChanged if an
  1916. item's Focused property is set.
  1917. 2008-12-17 Sandy Armstrong <[email protected]>
  1918. * TreeView.cs:
  1919. * TreeNode.cs:
  1920. * TreeNodeCollection.cs: Add events for UIA support:
  1921. UIACheckBoxesChanged, UIALabelEditChanged, UIANodeTextChanged, and
  1922. UIACollectionChanged.
  1923. 2008-12-17 Bill Holmes <[email protected]>
  1924. * ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
  1925. SubItemStyle member field.
  1926. Contributed under MIT/X11 license.
  1927. 2008-12-16 Carlos Alberto Cortez <[email protected]>
  1928. * ListBox.cs: In MultiColumn mode don't use top_index to calculate the
  1929. y coord, since it's useless in this case, and we need to rely only on
  1930. the number of rows and ItemHeight to compute this value.
  1931. Fixes part of #257471.
  1932. 2008-12-15 Mike Gorse <[email protected]>
  1933. * StatusBar.cs: Send OnUIACollectionChanged in Remove().
  1934. 2008-12-15 Mario Carrion <[email protected]>
  1935. * Control.cs: Accessibility properties instantiate AccessibilityObject when
  1936. needed.
  1937. [Fixes Bug #459223]
  1938. 2008-12-15 Brad Taylor <[email protected]>
  1939. * ToolStripItem.cs: Add a UIA specific event for listening for when a
  1940. ToolStripItem becomes selected or deselected.
  1941. 2008-12-15 Carlos Alberto Cortez <[email protected]>
  1942. * MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
  1943. .net does. Use the date in the point of the mouse move coords as the
  1944. new range as well, if the left button of the mouse is being pressed.
  1945. Fixes #364914.
  1946. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1947. * MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
  1948. MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
  1949. effectively repaint the control.
  1950. Fixes the remaining bits of #417961.
  1951. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1952. * MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
  1953. range to contain only dates within the new possible range.
  1954. Fixes part of #417961.
  1955. 2008-12-11 Carlos Alberto Cortez <[email protected]>
  1956. * MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
  1957. length of the text, but the end position, so we need to substract 1 to
  1958. have a valid value. Also, in the same InputText method, don't use
  1959. SelectionLength as the length of the text, since the selected text
  1960. could actually be empty, but we need to set the value anyway.
  1961. Fixes #457370.
  1962. 2008-12-10 Carlos Alberto Cortez <[email protected]>
  1963. * TextBox.cs: Don't do any auto complete task if the custom source is
  1964. null or empty. Also avoid duplication of code.
  1965. Fixes #457743.
  1966. 2008-12-09 Ivan N. Zlatev <[email protected]>
  1967. * DataGridView.cs: Refresh column sizes when new rows are added.
  1968. [Fixes bug #457050]
  1969. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1970. * RichTextBox.cs: When parsing the contents of a rtf file, don't call
  1971. Split to create a line - we are already doing this, by _adding_ a new
  1972. one when rtf_cursor_x is 0 (this field gets this value just after we
  1973. receive the newline param as true). This avoids having a proportional number
  1974. of empty lines in the end of the rich text box.
  1975. Fixes #396664.
  1976. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1977. * RichTextBox.cs: When saving the contents as a plain text, don't add
  1978. a new line for every Line structure, since the data in Document
  1979. already contains the new line characters. This avoids duplicated new
  1980. lines using the Save methods.
  1981. Fixes #445618.
  1982. 2008-12-09 Sandy Armstrong <[email protected]>
  1983. * TreeView.cs: Expose ScrollBars as internal properties, for use by UIA
  1984. framework. Fixes bug #457678.
  1985. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1986. * DataGridViewRow.cs: Prevent an exception on a not yet databound grid,
  1987. where datasource is null.
  1988. [Fixes exception reported in bug 441240]
  1989. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1990. * DataGridView.cs: EndEdit validation fixes.
  1991. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1992. * DataGridView.cs: This is the cool patch that adds support for
  1993. actually updating the data in the databinding backend after editing.
  1994. With bonus firing and handling the DataError event.
  1995. 2008-12-08 Carlos Alberto Cortez <[email protected]>
  1996. * Line.cs: When calculating the text tags's Shift value, store it as
  1997. pixels instead of points. This way we can actually handle different
  1998. fonts in the same RichTextBox, as well as the right size of the caret.
  1999. Fixes part of #351938.
  2000. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2001. * DataGridViewCheckBoxCell.cs: Fix to make it work. Wrong value was
  2002. casted to CheckState causing InvalidCastExceptions.
  2003. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2004. * DataGridView.cs: Fix the DataGridViewEditMode.EditOnEnter behavior
  2005. to not depend on the item being clicked.
  2006. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2007. * DataGridView.cs: Implement NotifyCurrentCellDirty, so that it no
  2008. longer throws a NotImplementedException.
  2009. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2010. * DataGridView.cs: Set EditingControlFormattedValue when preparing an
  2011. IDataGridViewEditingControl for editing.
  2012. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2013. * DataGridViewComboBoxCell.cs: Implement data binding support.
  2014. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2015. * DataGridView.cs: Use the CurrencyManager to update the data source
  2016. binding position instead of casting the data sourcde to BindingSource.
  2017. This enables position updating for other type of data sources.
  2018. 2008-12-08 Ivan N. Zlatev <[email protected]>
  2019. * ComboBox.cs: Update the SelectedIndex before updating the Text
  2020. in OnDisplayMemberChanged.
  2021. 2008-12-07 Ivan N. Zlatev <[email protected]>
  2022. * DataGridView.cs: Fix our support for IDataGridViewEditingControl.
  2023. [Fixes bug #457112]
  2024. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2025. * DataGridView.cs: Sorting fixes:
  2026. - Be strict when sorting is enabled.
  2027. - If there is a data source delegate the sorting request.
  2028. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2029. * Binding.cs: When converting the data also try with the destination
  2030. type typeconverter. This indirectly adds support for Nullable types
  2031. in our databinding layer.
  2032. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2033. * DataGridView.cs: When cell editing is finished focus back the
  2034. DataGridView. Fixes keyboard navigation post-editing.
  2035. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2036. * DataGridView.cs: Fix the cell editing by delaying the currentCell
  2037. setting to after EndEdit is called for the old cell.
  2038. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2039. * BindingSource.cs: Reset the bindings. Fixes a NotWorking test.
  2040. 2008-12-06 Ivan N. Zlatev <[email protected]>
  2041. * XplatUIX11.cs: Send WM_HELP only to the focused window.
  2042. 2008-12-05 Ivan N. Zlatev <[email protected]>
  2043. * CurrencyManager.cs: Fix exceptions when resetting the data source
  2044. for the same time (e.g. in ComboBox):
  2045. - Do not set the list position if we are still transferring data
  2046. - When resetting the list firstly push the data then update the
  2047. binding.
  2048. * Binding.cs: Check BindingManager.Position == -1 instead of
  2049. BindingManager.Current == null in order to avoid unexpected
  2050. exceptions.
  2051. 2008-12-05 Brad Taylor <[email protected]>
  2052. * MonthCalendar.cs: Add UIA specific events so that we can know when
  2053. the selection changes, and when MaxSelectedCount changes.
  2054. 2008-12-05 Ivan N. Zlatev <[email protected]>
  2055. * DataGridView.cs: Cleanup rows_displayed out of OnPaint. It's not
  2056. used for anything.
  2057. 2008-12-05 Ivan N. Zlatev <[email protected]>
  2058. * DataGridView.cs: Fix scrolling and selection of cells/rows prior
  2059. to the control being drawn for the first time by:
  2060. - Implement DisplayedRowsCount to not rely on the control being
  2061. already painted. Also added support for the partial row flag.
  2062. - Fix scrolling to take into account partial rows and scroll to
  2063. them.
  2064. [Fixes bug #456527]
  2065. 2008-12-05 Ivan N. Zlatev <[email protected]>
  2066. * DataGridView.cs: Do not reset the CurrentCell when the handle is
  2067. created if the user has already set it.
  2068. 2008-12-05 Ivan N. Zlatev <[email protected]>
  2069. * DataGridView.cs: Fix CurrentCell to actually select the cell.
  2070. 2008-12-01 Carlos Alberto Cortez <[email protected]>
  2071. * XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
  2072. text and then let the underneath users of IDataObject interpret and
  2073. parse by themselves.
  2074. Fixes #439251.
  2075. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2076. * DataGridView.cs: Fix my previous commit to actually update what it
  2077. was supposed to.
  2078. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2079. * DataGridView.cs: Ensure that when a row is removed the all the
  2080. current row/column/cell get updated. Fixes multiple exceptions.
  2081. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2082. * DataGridView.cs: Fix scrolling to the current cell when key navigation
  2083. is used.
  2084. [Fixes bug #443560]
  2085. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2086. * DataGridView.cs, DataGridViewCell.cs: Fire CellStateChanged events.
  2087. * DataGridViewCell.cs: Set the cell as selected prior to setting the
  2088. new state.
  2089. [Fixes issue 1 in bug #443560]
  2090. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2091. * DataGridView.cs: Invalidate after the current row/column seletion
  2092. chagnes.
  2093. [Fixes bug #438434]
  2094. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2095. * DataGridView.cs: Refresh the data if the data list is reset, etc.
  2096. 2008-12-01 Ivan N. Zlatev <[email protected]>
  2097. * DataGridView.cs: Handle datasource state changes:
  2098. - IBindingList - list changes
  2099. - BindingSource - list changed and datasource changes
  2100. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2101. * DataGridView.cs: Select the first cell when databound.
  2102. Visually select when CurrentCell is set.
  2103. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2104. * DataGridView.cs: Set the current cell before raising CellClick.
  2105. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2106. * DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
  2107. CellLeave events as this is already done in SetCurrentCellAddressCore.
  2108. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2109. * DataGridView.cs: Set the minimum size for the columns to be the
  2110. width of their header, so that the columns don't get squashed
  2111. all together.
  2112. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2113. * DataGridView.cs: After the data is bound PerformLayout, so that
  2114. the columns get autosized.
  2115. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2116. * DataGridView.cs: Move all currentCell setting code into
  2117. one central place - SetCurrentCellAddressCore. That way the
  2118. current cell is properly updated when programatically set.
  2119. Fire RowEnter/Leave events.
  2120. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2121. * DataGridView.cs: Update the CurrencyManager.Position, so that
  2122. when a BindingSource is used BindingSource.Current will be correct.
  2123. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2124. * GroupBoxRenderer.cs: Fix when VisualStyles disabled:
  2125. - No caption text is drawn because Color.Empty is used.
  2126. - Fix top and height off by 1.
  2127. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2128. * DataGridViewRow.cs: Implement DataBoundItem.
  2129. 2008-11-30 Ivan N. Zlatev <[email protected]>
  2130. * BindingSource.cs: Return null for Current if there is no data present.
  2131. 2008-11-29 Carlos Alberto Cortez <[email protected]>
  2132. * MenuAPI.cs: Add a Menu.SelectedItem null check when navigating the
  2133. menus using the arrow keys. Also when handling the left arrow key, don't
  2134. assign the current menu to the parent one, if the parent is null.
  2135. Fixes #446392.
  2136. 2008-11-24 Everaldo Canuto <[email protected]>
  2137. * PrintPreviewDialog.cs: Fix toolbar size, height must be 26. Fixes bug
  2138. #413501.
  2139. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  2140. * Scrollbar.cs:
  2141. * ScrollableControl.cs: Simplify the code to manually set the size of
  2142. the thum area, avoiding duplication of code, and also preserving the
  2143. right value for different code paths - this can happen when size
  2144. changes are made to the scrollbar after setting LargeChange, Maximum
  2145. or related properties for the ScrollBar.
  2146. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  2147. * ScrollableControl.cs: When scrolling, don't invalidate the entire
  2148. area, and call to XplatUIX11.ScrollWindow instead. This is exactly
  2149. what .Net does: copy the visible area, and only invalidate the part of
  2150. the area that wasn't visible before scrolling.
  2151. Fixes #441738.
  2152. 2008-11-24 Jonathan Pobst <[email protected]>
  2153. * DataGridView.cs: Listen for a DataTable's TableCleared event so we
  2154. can clear ourselves when it is raised, we don't have a newrowindex
  2155. if we don't have any columns.
  2156. * DataGridViewRowCollection.cs: Ensure we always delete all the rows,
  2157. re-index after each delete so the NewRow will have the correct index.
  2158. [Fixes bug #448005]
  2159. 2008-11-24 Jonathan Pobst <[email protected]>
  2160. * Form.cs: Don't change min/max size if it is empty.
  2161. [Fixes bug #447873]
  2162. 2008-11-23 Carlos Alberto Cortez <[email protected]>
  2163. * ScrollBar.cs:
  2164. * ScrollableControl.cs: When the manual thumb size is used, the
  2165. maximum allowed value should depend on that thumb size, instead of
  2166. LargeChange (using the maximum - LargeChange + 1 value). But
  2167. LargeChange should be used normally when incrementing/decrementing.
  2168. Fixes the remaining part of #441546.
  2169. 2008-11-23 Andreia Gaita <[email protected]>
  2170. * WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
  2171. until an about:blank has been loaded (according to spec). Fix
  2172. ScrollbarsEnabled to set when a document is loaded (since we use js
  2173. for it). Fix url so it reflects the current loading document and not
  2174. the previous one. Send StatusChanged events.
  2175. 2008-11-23 Andreia Gaita <[email protected]>
  2176. * Application.cs: If a message comes in for an embedded control
  2177. (like webbrowser) when we're capturing the keyboard, release the
  2178. capture and continue.
  2179. [fixes #429462]
  2180. 2008-11-22 Andreia Gaita <[email protected]>
  2181. * XplatUI.cs: Only use PlatformID.MacOSX enum when not building on VS
  2182. 2008-11-21 Andreia Gaita <[email protected]>
  2183. * WebBrowser.cs, HtmlDocument.cs: Fixes for #428172
  2184. 2008-11-21 Carlos Alberto Cortez <[email protected]>
  2185. * ScrollBar.cs:
  2186. * ScrollableControl.cs: Set manually the thumb size for the
  2187. ScrollableControl scrollbars, so any further changes to the underneath
  2188. scrollbars respect the original size.
  2189. Fixes part of #441546.
  2190. 2008-11-21 Geoff Norton <[email protected]>
  2191. * XplatUI.cs: Ensure that we can run on .net 2.0 with mono 2.2 where
  2192. PlatformID.MacOSX now exists.
  2193. 2008-11-20 Jonathan Pobst <[email protected]>
  2194. * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
  2195. Having something internal abstract isn't very nice for people who want
  2196. to inherit from this class.
  2197. 2008-11-20 Jonathan Pobst <[email protected]>
  2198. * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
  2199. invalid value. Just return null for the Image, and use the ImageList's
  2200. ImageSize for calculations.
  2201. 2008-11-20 Jonathan Pobst <[email protected]>
  2202. * ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
  2203. through DroppedDown so the proper events get called and state gets reset.
  2204. [Fixes bug #446805]
  2205. 2008-11-18 Jonathan Pobst <[email protected]>
  2206. * DataGridViewColumnCollection.cs: Make sure we re-index the columns after
  2207. the collection is modified.
  2208. 2008-11-17 Jonathan Pobst <[email protected]>
  2209. * DomainUpDown.cs: Remove string cache and reflection optimizations. They
  2210. aren't always correct, and fixing them for every case is not worth the
  2211. negligible benefit they provide.
  2212. [Fixes bug #445713]
  2213. 2008-11-17 Jonathan Pobst <[email protected]>
  2214. * DataGridView.cs: We should never add actual cells to the RowTemplate.
  2215. Internally, use RowTemplateFull to give us a new row with cells.
  2216. * DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
  2217. * DataGridViewRowCollection.cs: Use RowTemplateFull.
  2218. 2008-11-17 Carlos Alberto Cortez <[email protected]>
  2219. * XplatUIX11.cs: Forms without borders should be able to change its
  2220. size - specially they should be able to be maximized, adding the
  2221. respective MotifFunctions.Resize bit when setting window properties as
  2222. well as *not* marking the Hwnd as size fixed.
  2223. Fixes #444347.
  2224. 2008-11-12 Jonathan Pobst <[email protected]>
  2225. * DataGridViewCellStyle.cs: Allow SelectionBackColor to have
  2226. an alpha value.
  2227. [Fixes bug #444348]
  2228. 2008-11-11 Andrés G. Aragoneses <[email protected]>
  2229. * Application.cs: After UIA assembly is successfully loaded,
  2230. dump any exception that happens on initialization to stderr.
  2231. 2008-11-11 Jonathan Pobst <[email protected]>
  2232. * DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
  2233. * DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
  2234. AutoSizeColumnModeChanged.
  2235. [Fixes bug #443609]
  2236. 2008-11-11 Jonathan Pobst <[email protected]>
  2237. * DataGridViewRowCollection.cs: Guard against the user deleting the
  2238. NewRow. Add an internal delete so we can still delete it.
  2239. * DataGridView.cs: Use the new internal delete when deleting the NewRow.
  2240. [Fixes bug #442181]
  2241. 2008-11-10 Jonathan Pobst <[email protected]>
  2242. * TextControl.cs: Add some order of operation to our math so
  2243. we don't end up with a negative height for our invalidate rect.
  2244. [Fixes bug #381889]
  2245. 2008-11-10 Jonathan Pobst <[email protected]>
  2246. * Control.cs: When our enabled changes, notify our implicit children
  2247. controls as well as our regular controls.
  2248. [Fixes bug #441523]
  2249. 2008-11-08 Andreia Gaita <[email protected]>
  2250. * HtmlElement.cs: Small code cleanup
  2251. 2008-11-06 Carlos Alberto Cortez <[email protected]>
  2252. * BindingNavigator.cs: MoveFirstItem should be enabled only if
  2253. position is larger than 0, not only different than 0. Also Position
  2254. and Count items should be enabled if the BindingSource is non null and
  2255. non empty.
  2256. Fixes #439961.
  2257. 2008-11-05 Jonathan Pobst <[email protected]>
  2258. * TabControl.cs: Don't raise SelectedIndexChanged until we have
  2259. actually modified the tab collection, so TabCount will be correct.
  2260. [Fixes bug #441896]
  2261. 2008-11-05 Sandy Armstrong <[email protected]>
  2262. * ListViewItem.cs: Mark ListViewSubItem.UIATextChanged event as
  2263. NonSerialized to fix serialization of ListViewItem.
  2264. 2008-11-04 Mike Gorse <[email protected]>
  2265. * ListView.cs: Call OnUIAFocusedItemChanged after completing the
  2266. focus change, and always call in SetFocusedItem.
  2267. * ListBox.cs: Add UIAFocusedItemChanged as in ListView.
  2268. 2008-11-04 Jonathan Pobst <[email protected]>
  2269. * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
  2270. mode. Based on a patch by John Mortlock.
  2271. [Fixes bug #436790]
  2272. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  2273. * ListView.cs: Use the UsingGroups property where needed, instead of
  2274. duplicating the check in other places.
  2275. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  2276. * ListView.cs: When calculating layout, refresh the count of items
  2277. belonging to the default item, insteas of doing it only one time. This
  2278. was already working fine for icon views, not not for details.
  2279. Fixes #438948.
  2280. 2008-11-03 Carlos Alberto Cortez <[email protected]>
  2281. * ListView.cs:
  2282. * ListViewItem.cs:
  2283. * ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
  2284. to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
  2285. does.
  2286. Fixes #437933.
  2287. 2008-11-03 Sandy Armstrong <[email protected]>
  2288. * ListView.cs: Wrap call to OnUIAFocusedItemChanged with #if NET_2_0.
  2289. 2008-11-03 Sandy Armstrong <[email protected]>
  2290. * ListView.cs: Add internal UIAFocusedItemChanged event. Fixes bug
  2291. #441280, patch by Mike Gorse <[email protected]>.
  2292. 2008-11-03 Jonathan Pobst <[email protected]>
  2293. * TreeView.cs: When doing ExpandAll, don't scroll to the bottom
  2294. if there is no scrollbar.
  2295. [Fixes bug #440885]
  2296. 2008-11-03 Jonathan Pobst <[email protected]>
  2297. * ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
  2298. patch from Andy Hume that fixes many issues with ProgressBar.
  2299. [See bug #440220]
  2300. 2008-11-03 Jonathan Pobst <[email protected]>
  2301. * Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
  2302. [Fixes bug #438866]
  2303. 2008-11-03 Sandy Armstrong <[email protected]>
  2304. * UpDownBase.cs:
  2305. * DomainUpDown.cs:
  2306. * NumericUpDown.cs: Internal events added to UpDownBase:
  2307. UIAUpButtonClick and UIADownButtonClick. Patch by Neville Gao
  2308. <[email protected]>.
  2309. 2008-11-03 Sandy Armstrong <[email protected]>
  2310. * ToolStripLabel.cs: Internal event added: UIAIsLinkChanged.
  2311. 2008-11-02 Carlos Alberto Cortez <[email protected]>
  2312. * ListView.cs:
  2313. * ThemeWin32Classic.cs: Don't use groups nor insertion mark in
  2314. Application.EnableVisualStyles hasn't been called.
  2315. Fixes part of #437933.
  2316. 2008-10-31 Andreia Gaita <[email protected]>
  2317. * Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  2318. if the container is not focused already, we need to specifically set
  2319. focus to the first available control, or to the form itself if there
  2320. are no controls.
  2321. 2008-10-31 Andreia Gaita <[email protected]>
  2322. activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
  2323. WM_ACTIVATE have been processed before returning, so it is guaranteed that
  2324. once it returns and the form is visible, it is actually on the screen on X11
  2325. * ContainerControl.cs: Only send focus to the control if the top container
  2326. is already focused. This is so that, when a form is first shown, all
  2327. the enter/leave events are done first before any focus stuff comes in.
  2328. If a control has no top container, there's an extra check on Control.Focus
  2329. to make sure it gets focused in this particular case.
  2330. * Control.cs: Force focus if the control is active but did not receive
  2331. focus after being set as active.
  2332. * MdiClient.cs: Dispose the form when closing
  2333. * XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  2334. doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  2335. if the window is a top Form.
  2336. Reset all hwnd properties when the window has been destroyed so that
  2337. we don't land in any codepaths that might try to do something with it.
  2338. Added a bunch of debugging messages. If TRACE is defined, all X calls
  2339. are logged through DebugHelper. Set a few missing EntryPoint attributes.
  2340. 2008-10-29 Mario Carrion <[email protected]>
  2341. * ListViewItem.cs: Control enabled to support Accessibility:
  2342. - Internal events: UIATextChanged, UIASubItemTextChanged.
  2343. - Internal event UIATextChanged in ListViewSubItem that triggers
  2344. UIASubItemTextChanged.
  2345. * ListView.cs: Control enabled to support Accessibility:
  2346. - Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  2347. UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
  2348. - Internal event UIACollectionChanged in ColumnHeaderCollection.
  2349. - Internal event UIACollectionChanged in ListViewItemCollection.
  2350. - Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  2351. UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
  2352. - Internal methods: UIAGetHeaderBounds.
  2353. 2008-10-25 Carlos Alberto Cortez <[email protected]>
  2354. * ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
  2355. the event from the respective scrollbars.
  2356. Fixes #436709.
  2357. 2008-10-24 Carlos Alberto Cortez <[email protected]>
  2358. * ComboBox.cs: Use the new CanNavigateAutoCompleteList property of the
  2359. textbox to know whether any navigation key will be handled or not. If
  2360. not, don't pass the message to the textbox, and use it here instead.
  2361. * TextBox.cs: Define a new CanNavigateAutoCompleteList property -which
  2362. is more precise- than the previous AutoCompleteMatches one.
  2363. This should the keyboard navigation in ComboBox when using auto
  2364. complete modes.
  2365. 2008-10-24 Jonathan Pobst <[email protected]>
  2366. * ComboBox.cs: Fix item height calculation based off Font to match .Net.
  2367. [Fixes bug #436730]
  2368. 2008-10-24 Jonathan Pobst <[email protected]>
  2369. * ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
  2370. overridden methods will get called.
  2371. * ToolStripItem.cs: Raise Click before MouseUp.
  2372. * ToolStripSplitButton.cs: Fix up some bounding rectangles to take
  2373. the item's location into account.
  2374. [Fixes bug #437683]
  2375. 2008-10-24 Neville Gao <[email protected]>
  2376. * NumericUpDown.cs: Control enabled to support accessibility.
  2377. [Fiexes bug #438135]
  2378. 2008-10-23 Carlos Alberto Cortez <[email protected]>
  2379. * TextBox.cs: Check that we actually have items no navigate, select
  2380. text when pressing enter, as well as handle direction keys only if
  2381. mode is different to Suggest or the suggest listbox is visible.
  2382. 2008-10-23 Andreia Gaita <[email protected]>
  2383. * WebBrowser.cs: Use the new ContentStream property to retrieve
  2384. a stream encoded from the document content
  2385. 2008-10-23 Andreia Gaita <[email protected]>
  2386. * HtmlDocument.cs,
  2387. HtmlElement.cs,
  2388. HtmlWindow.cs: Fix GetHashcode for null objects
  2389. 2008-10-22 Andreia Gaita <[email protected]>
  2390. * HtmlDocument.cs,
  2391. HtmlElement.cs,
  2392. HtmlWindow.cs: Fix equality operators (fixes #428173)
  2393. 2008-10-21 Jonathan Pobst <[email protected]>
  2394. * XplatUIWin32.cs: Apply patch from John Mortlock that ensures
  2395. mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
  2396. [Fixes bug #436772]
  2397. 2008-10-21 Jonathan Pobst <[email protected]>
  2398. * ComboBox.cs: Fire SelectedIndexChanged when the user selects the
  2399. same item with the mouse as was already selected.
  2400. [Fixes bug #436789]
  2401. 2008-10-21 Brad Taylor <[email protected]>
  2402. * TextControl.cs: Break out code to get the visible range into
  2403. GetVisibleLineIndexes to be used in UIA code.
  2404. * Line.cs:
  2405. * TextControl.cs:
  2406. * TextBoxBase.cs: Add comments indicating that the method or property
  2407. is used via reflection from UIA code.
  2408. 2008-10-20 Carlos Alberto Cortez <[email protected]>
  2409. * ListViewItem.cs: Match .net serialization.
  2410. Fixes remaining part of #417520.
  2411. 2008-10-20 Jonathan Pobst <[email protected]>
  2412. * ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
  2413. 2008-10-20 Mario Carrion <[email protected]>
  2414. * ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
  2415. added: UIAToolTipRectangle.
  2416. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  2417. * ListViewItem.cs: When deserializing enumerate over the data, instead
  2418. of accessing the data directly. This way we handle much better the
  2419. cases were we lack information.
  2420. Fixes #417520.
  2421. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  2422. * ListView.cs: When removing an item from a main ListView.Items
  2423. collection (and not a ListViewGroupCollection.Items one), remove it
  2424. also from the group, as .net does. Patch by Mario Carrion (mario at
  2425. novell dot com).
  2426. Fixes #436653.
  2427. 2008-10-19 Andreia Gaita <[email protected]>
  2428. * Form.cs: Forms that get closed without a handle being created are
  2429. disposed in 2.0. Fixes failing FormTest.FormClose and
  2430. FormTest.FormClose2 on windows.
  2431. 2008-10-18 Carlos Alberto Cortez <[email protected]>
  2432. * ListView.cs: If both scrollbars are visible, the vertical one
  2433. shouldn't extend too far down.
  2434. Fixes #435771.
  2435. 2008-10-17 Jonathan Pobst <[email protected]>
  2436. * DataGridView.cs: Add the ability to resize columns and rows with
  2437. the mouse. Also support double-clicking to autoresize.
  2438. * DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
  2439. * DataGridViewRow.cs: Invalidate the grid if a row's height changes.
  2440. * DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
  2441. isn't shown on autoresize.
  2442. [Fixes bug #420193]
  2443. 2008-10-17 Mario Carrion <[email protected]>
  2444. * ComboBox.cs: Remove UIAListbox.
  2445. 2008-10-17 Mario Carrion <[email protected]>
  2446. * ComboBox.cs, ListBox.cs: Using added/removed item in
  2447. OnUIACollectionChangedEvent instead of index.
  2448. 2008-10-17 Jonathan Pobst <[email protected]>
  2449. * ComboBox.cs: When we are sorting the items, if the item's type
  2450. doesn't support IComparer, use a default one that compares based
  2451. off the item's visible text.
  2452. [Fixes bug #436328]
  2453. 2008-10-17 Carlos Alberto Cortez <[email protected]>
  2454. * ColumnHeader.cs: Invalidate ListView.header_control when setting
  2455. ImageIndex/ImageKey.
  2456. * ThemeWin32Classic.cs: When drawing the column header, draw a image
  2457. for the column if available, and make the required adjustments to the
  2458. text location.
  2459. Fixes #435105.
  2460. 2008-10-17 Neville Gao <[email protected]>
  2461. * StatusBarPanel.cs: Control enabled to support accessibility.
  2462. [Fixes bug #435988]
  2463. 2008-10-16 Jonathan Pobst <[email protected]>
  2464. * DataGridView.cs: When a user begins an edit in the 'new row',
  2465. make that a real row, and add a new 'new row'. If the user
  2466. cancels the edit, remove the new 'new row' and reset everything.
  2467. Also, ensure UserAddedRow and UserRemovedRow events are raised.
  2468. [Fixes bug #430954]
  2469. 2008-10-16 Ivan N. Zlatev <[email protected]>
  2470. * TableLayoutSettings.cs: Fix NREs when deserializing and
  2471. panel is not yet set.
  2472. [Fixes bug #436199]
  2473. 2008-10-16 Jonathan Pobst <[email protected]>
  2474. * DataGridView.cs: Invalidate after deleting a row.
  2475. 2008-10-16 Jonathan Pobst <[email protected]>
  2476. * DataGridView.cs: Handle Enter and Escape keys.
  2477. - Move call to EndEdit to MoveCurrentCell.
  2478. - Remove call to EndEdit from navigation key routines.
  2479. - Fire CellLeave and CellEnter.
  2480. 2008-10-16 Jonathan Pobst <[email protected]>
  2481. * DataGridViewCell.cs: Some fixes to the new cell border
  2482. painting code.
  2483. 2008-10-16 Jonathan Pobst <[email protected]>
  2484. * ThemeEngine.cs: Enable visualstyles rendering by default
  2485. (on platforms that support it).
  2486. 2008-10-15 Ivan N. Zlatev <[email protected]>
  2487. * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
  2488. MainForm.OnLoad has completed unless DoEvents is forced.
  2489. [Fixes bug #412536]
  2490. 2008-10-15 Jonathan Pobst <[email protected]>
  2491. * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
  2492. 2008-10-15 Jonathan Pobst <[email protected]>
  2493. * Control.cs: Make our implementation of DrawToBitmap better
  2494. match WmPaint. [Fixes bug #435579]
  2495. 2008-10-14 Andreia Gaita <[email protected]>
  2496. * WebBrowser.cs: Use DocumentElement as the document's root for the
  2497. whole content. Should fix DocumentText and DocumentStream problems.
  2498. 2008-10-14 Jonathan Pobst <[email protected]>
  2499. * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
  2500. these will get called in DGV.OnCollectionChanged. Make sure
  2501. OnCollectionChanged always gets called.
  2502. * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
  2503. from every row. Call this in OnCollectionChanged.
  2504. [Fixes bug #433669]
  2505. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  2506. * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
  2507. textbox if auto complete is used, since we need to navigate over it.
  2508. And in this case don't pass this messages to the base impl. Also hide
  2509. the auto complete list box when displaying the drop down listbox.
  2510. * TextBox.cs: new internal members to expose some of the auto complete
  2511. functionality to combobox.
  2512. 2008-10-13 Ivan N. Zlatev <[email protected]>
  2513. * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
  2514. MainForm.OnLoad has completed.
  2515. [Fixes bug #412536]
  2516. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  2517. * TextBox.cs: Apply an old-approved patch that adds autocomplete's
  2518. Append support to this controls. We need it to apply new patches.
  2519. 2008-10-12 Carlos Alberto Cortez <[email protected]>
  2520. * Control.cs: When updating z order in child controls, send to back
  2521. the implicit controls. Also, do it explicitly, instead of making
  2522. GetAllControls return the implicit controls in a specific order, and
  2523. thus avoid depending on that, which could change in the future.
  2524. Fixes #434304.
  2525. 2008-10-11 Carlos Alberto Cortez <[email protected]>
  2526. * X11Dnd.cs: Try to call Application.DoEvents before returning in a
  2527. call to StartDrag, since we must fire DragDrop/DragLeave *before*
  2528. that, as .net does - instead of firing DragDrop/DragLeave *after* the
  2529. call to Control.DoDragDrop has completed. This is needed since at the
  2530. point of returning, we have sent related dnd ClientMessages, but we
  2531. need to wait for them to fire the wmf respective ones.
  2532. Fixes #325076.
  2533. 2008-10-09 Everaldo Canuto <[email protected]>
  2534. * LinkLabel.cs: Recreate link pieces when change Padding.
  2535. 2008-10-09 Everaldo Canuto <[email protected]>
  2536. * LinkLabel.cs: Take Padding into account when recreate link pieces.
  2537. [Fixes bug #412530]
  2538. 2008-10-08 Everaldo Canuto <[email protected]>
  2539. * Control.cs: Implement internal property PaddingClientRectangle, it will be
  2540. useful for drawing controls that must take care about Padding property.
  2541. 2008-10-08 Jonathan Pobst <[email protected]>
  2542. * BindingSource.cs: Make item_type internal so we can access it in DGV.
  2543. * DataGridView.cs: Add support for autogenerating columns from a
  2544. BindingSource.
  2545. 2008-10-07 Jonathan Pobst <[email protected]>
  2546. * DataGridView.cs: Comment out an exception that is getting thrown
  2547. too often currently.
  2548. 2008-10-07 Jonathan Pobst <[email protected]>
  2549. * DataGridView.cs: Always rebind to the datasource, as things may
  2550. have changed in it that we aren't capturing yet.
  2551. 2008-10-07 Jonathan Pobst <[email protected]>
  2552. * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
  2553. drawing mode. If we are top aligned, give ourselves some top padding.
  2554. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  2555. * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
  2556. events on the control under the mouse pointer, instead of firing them
  2557. on the window generating the dnd operation. To achieve this re-use the
  2558. code used to get the window under the pointer when getting MouseMove
  2559. events.
  2560. Fixes #381876.
  2561. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  2562. * X11Dnd.cs: Don't check that that the window sending the dnd events
  2563. is the owner of the selection. Although Gtk+ sets it that way, it's
  2564. not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
  2565. So, just as Gtk+ does, we set our window sending the dnd events as the
  2566. owner of the selection, but don't check it when receiving them. This
  2567. should fix interoperability with Qt/Kde.
  2568. Fixes #324251.
  2569. 2008-10-06 Jonathan Pobst <[email protected]>
  2570. * DataGridView.cs: Make sure we take the vertical scrollbar into
  2571. account when autosizing columns.
  2572. 2008-10-06 Jonathan Pobst <[email protected]>
  2573. * DataGridView.cs: Handle sorting datetimes.
  2574. 2008-10-04 Ivan N. Zlatev <[email protected]>
  2575. * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
  2576. TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
  2577. compilation warnings.
  2578. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2579. * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
  2580. ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
  2581. ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
  2582. ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
  2583. compilation warnings.
  2584. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2585. * DataGridView.cs, DataGridViewCell.cs,
  2586. DataGridViewCellValidatingEventArgs.cs,
  2587. DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
  2588. DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  2589. DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
  2590. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2591. * HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
  2592. Cleanup compilation warnings.
  2593. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2594. * XplatUIWin32.cs: Cleanup compilation warnings.
  2595. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2596. * PropertyGrid.cs: Cleanup compilation warnings.
  2597. 2008-10-02 Jonathan Pobst <[email protected]>
  2598. * DataGridViewRow.cs: Only clear the row background if we
  2599. are going to paint a new background.
  2600. 2008-10-02 Jonathan Pobst <[email protected]>
  2601. * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
  2602. DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
  2603. use PaintBorder instead.
  2604. 2008-10-02 Jonathan Pobst <[email protected]>
  2605. * DataGridView.cs: When CellBorderStyle is set, update the
  2606. AdvancedCellBorderStyle to match.
  2607. 2008-10-02 Jonathan Pobst <[email protected]>
  2608. * DataGridViewCell.cs: Add helper methods to convert Alignment
  2609. to TextFormatFlags and align rectangles.
  2610. * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
  2611. * DataGridViewImageCell.cs: Use Alignment when painting the image.
  2612. 2008-10-02 Ivan N. Zlatev <[email protected]>
  2613. * ToolTip.cs: Display tooltips only for controls on the active form.
  2614. [Fixes bug #428115]
  2615. 2008-10-02 Jonathan Pobst <[email protected]>
  2616. * DataGridView.cs: Make OnCellValueNeeded internal.
  2617. * DataGridViewCell.cs: Raise the CellValueNeeded event so the
  2618. user can supply their own value if they choose.
  2619. 2008-10-02 Jonathan Pobst <[email protected]>
  2620. * DataGridViewColumnHeaderCell.cs: Create a new style object
  2621. so the DefaultCellStyle doesn't get changed.
  2622. 2008-10-02 Jonathan Pobst <[email protected]>
  2623. * ToolStripItem.cs: Check to make sure the owner is actually
  2624. changing in InternalOwner before doing any work. Fixes some
  2625. failing tests.
  2626. 2008-10-01 Jonathan Pobst <[email protected]>
  2627. * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
  2628. * DataGridView.cs: Use a column header's inherited style instead
  2629. of just using the default.
  2630. 2008-10-01 Jonathan Pobst <[email protected]>
  2631. * SplitContainer.cs: Raise SplitterMoved when the splitter is
  2632. moved through code.
  2633. 2008-10-01 Mario Carrion <[email protected]>
  2634. * ScrollBar.cs: Internal property added: UIAThumbPosition.
  2635. 2008-10-01 Jonathan Pobst <[email protected]>
  2636. * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
  2637. 2008-10-01 Jonathan Pobst <[email protected]>
  2638. * ToolStripItem.cs: When the user sets Owner, we need to remove
  2639. it from its previous owner and then add it to the new owner's
  2640. item collection. Also, create InternalOwner, so we can set the owner
  2641. that doesn't do this new stuff.
  2642. * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
  2643. 2008-10-01 Jonathan Pobst <[email protected]>
  2644. * ToolStripItem.cs: When our parent changes, recalculate our text
  2645. size, since we may be getting our Font from our parent. When our
  2646. owner's Font changes, recalculate ourselves as we may be using
  2647. that font.
  2648. 2008-10-01 Everaldo Canuto <[email protected]>
  2649. * MenuAPI.cs: Select the first option of a popup when opening the popup via
  2650. return key. [Fixes bug #413792].
  2651. 2008-10-01 Jonathan Pobst <[email protected]>
  2652. * ToolStripItem.cs: Make Font, BackColor, and ForeColor be
  2653. ambient properties. (Get their value from their parents if
  2654. values haven't been set.)
  2655. 2008-10-01 Jonathan Pobst <[email protected]>
  2656. * ToolStripSystemRenderer.cs: Call overridden methods' bases
  2657. after our logic, so users can do painting by handling the events.
  2658. Currently, we draw over any user painting.
  2659. 2008-10-01 Jonathan Pobst <[email protected]>
  2660. * ToolStripProfessionalRenderer.cs: Call overridden methods' bases
  2661. after our logic, so users can do painting by handling the events.
  2662. Currently, we draw over any user painting.
  2663. 2008-09-30 Everaldo Canuto <[email protected]>
  2664. * MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
  2665. 2008-09-30 Jonathan Pobst <[email protected]>
  2666. * TreeNode.cs, TreeView.cs: Move logic that determines the node
  2667. image to draw to TreeNode. Give Index/Keys put on the node
  2668. precedence over the global one for the TreeView.
  2669. 2008-09-30 Jonathan Pobst <[email protected]>
  2670. * TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
  2671. 2008-09-29 Mario Carrion <[email protected]>
  2672. * ListBox.cs: Index fixed.
  2673. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2674. * TabControl.cs: When expanding the tab -because it's selected now-,
  2675. using Right alignment, instead of adding some selected delta value to
  2676. the X origin, substract it, so it gets a location adjacent to the panel,
  2677. instead of be more separated.
  2678. Fixes #409170.
  2679. 2008-09-29 Jonathan Pobst <[email protected]>
  2680. * MessageBox.cs: Use SystemIcons for graphics instead of keeping our
  2681. own copies of them.
  2682. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2683. * X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
  2684. as well as the other static fields, to avoid using their previous
  2685. values my mistake when handling the dnd events. This should avoid
  2686. handling any status event after the drop has been finalized/cancelled.
  2687. 2008-09-28 Carlos Alberto Cortez <[email protected]>
  2688. * X11Dnd.cs: We have to send a dnd enter event as soon as we start the
  2689. operation, instead of waiting until we get any movement - this will
  2690. help us to have the data available in case no movement was detected
  2691. and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
  2692. Finally add a windows.forms-only fallback to fire the mentioned events
  2693. if no movement at all was detected, just like .net does.
  2694. Fixes #381876.
  2695. 2008-09-27 Jonathan Pobst <[email protected]>
  2696. * ThemeWin32Classic.cs: When drawing a status bar panel, don't
  2697. return early if the text is empty because the icon doesn't get
  2698. drawn then. [Fixes bug #428113]
  2699. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2700. * FileDialog.cs: Implement basic support for sorting by columns in
  2701. Details view. Patch by Eric Petit.
  2702. Fixes #428006.
  2703. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2704. * ThemeWin32Classis.cs: When drawing gridlines take into account the
  2705. case where ListView.ItemSize hasn't been computed, and provide a
  2706. fallback as well. This prevents a division by 0.
  2707. 2008-09-24 Jonathan Pobst <[email protected]>
  2708. * ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
  2709. correctly draw tooltip backgrounds.
  2710. 2008-09-24 Jonathan Pobst <[email protected]>
  2711. * ImageList.cs: Change CopyTo implementation to ensure clones are
  2712. created of our images.
  2713. [Fixes bug #409169]
  2714. 2008-09-24 Jonathan Pobst <[email protected]>
  2715. * Control.cs: When setting fonts, we need to ensure we change our
  2716. reference to the new font object, even if it represents the same
  2717. font as before. If we don't, the original font can get disposed
  2718. and we will still try to use it.
  2719. [Fixes bug #386450]
  2720. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2721. * FileDialog.cs: Take into account Tile view when selecting the view
  2722. (2.0 profile).
  2723. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2724. * ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
  2725. the item bounds, since we can't iterate over them in virtual mode.
  2726. Also fix wrong calculation of the gridlines when using scrolling.
  2727. Fixes #400390.
  2728. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2729. * XplatUIX11.cs: When handling EnterNotify events, take into account
  2730. both the public and implicit controls when trying to detect the
  2731. grab/ungrab process. This should fix ListView selection in Details
  2732. view.
  2733. 2008-09-23 Jonathan Pobst <[email protected]>
  2734. * TreeView.cs: Redraw the whole node area when the selected node changes.
  2735. Things like state images were not getting redrawn because the invalid
  2736. rectangle was too small.
  2737. [Fixes bug #428211]
  2738. 2008-09-23 Mario Carrion <[email protected]>
  2739. * ListBox.cs: UIA Selection Pattern fully supported in ListBox control.
  2740. [Fixes bug #428993]
  2741. 2008-09-23 Jonathan Pobst <[email protected]>
  2742. * Form.cs: Do not set the Form's icon in the backend if showicon = false.
  2743. [Fixes bug #428114]
  2744. 2008-09-23 Jonathan Pobst <[email protected]>
  2745. * ThemeWin32Classic.cs: Allow tooltips to be multiline.
  2746. [Fixes bug #427884]
  2747. 2008-09-23 Jonathan Pobst <[email protected]>
  2748. * StatusBar.cs: Add tooltip support.
  2749. [Fixes bug #428113]
  2750. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2751. * ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
  2752. alignments of sub items in Details view. Patch by John Mortlock (johnm at
  2753. hlaustralia.com.au).
  2754. Fixes #425360.
  2755. 2008-09-23 Neville Gao <[email protected]>
  2756. * StatusBar.cs: Add UIA event in AddInternal () to support accessibility.
  2757. [Fixes bug #419079]
  2758. 2008-09-22 Jonathan Pobst <[email protected]>
  2759. * TextBoxBase.cs: Set Text to "" instead of null in Clear().
  2760. [Fixes bug #428107]
  2761. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2762. * ListView.cs: Don't do anything when EnsureVisible is called inside a
  2763. BeginUpdate/EndUpdate block.
  2764. Fixes #425049.
  2765. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2766. * ListViewItem.cs: The semantics for the public .ctor of
  2767. ListViewSubItemCollection need us to already have a Text value for the
  2768. item, which in our implementation have as available *after* adding the
  2769. first sub item. So create an internal .ctor that satisfies our needs
  2770. and let the public .ctor have the same semantics as .net.
  2771. Fixes #427561.
  2772. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2773. * ListControl.cs: Changes in Formatting related values should call
  2774. RefreshItems, as .net does.
  2775. * ComboBox.cs:
  2776. * ListBox.cs: In the respective overrides of RefreshItems calculate
  2777. layout as well as refreshing - again, this is what .net does.
  2778. Fixes #426168.
  2779. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2780. * ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
  2781. since we are already doing that when we change the value of the
  2782. scrollbar or force the call to ScrollWindow in the same method. This
  2783. way we don't cause a Invalidate call for all the listbox bounds for
  2784. methods calling UpdateTopItem with an already updated top item. This
  2785. was happening specially calling EnsureVisible with already visible
  2786. items.
  2787. 2008-09-18 Mike Gorse <[email protected]>
  2788. * Application.cs, IKeyFilter.cs, X11Keyboard.cs, XplatUI.cs,
  2789. XplatUIStructs.cs: Added KeyFilter
  2790. [Fixes bug #427039]
  2791. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2792. * RelatedPropertyManager.cs: The properties returned by
  2793. GetItemProperties should be that ones of the *actual* object returned
  2794. by the property, not the property type - this is very special when the
  2795. property exposes a type, but the returned object actually is a child
  2796. class and implements more functionality and properties.
  2797. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2798. * Binding.cs: Don't look for the property in the data source if the
  2799. passed string is empty.
  2800. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2801. * XplatUIX11.cs: Comment out _NET_WM_WINDOW_TYPE_DIALOG in order to
  2802. fix unused variable warnings.
  2803. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2804. * XplatUIX11.cs: Send WM_HELP when F1 is pressed.
  2805. [Fixes bug #427073]
  2806. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2807. * XplatUIX11.cs:
  2808. - Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
  2809. leads to the window manager overriding our border style and zorder.
  2810. - Allow the activation of non-modal forms, which are children of a
  2811. modal form.
  2812. [Fixes bug #423417]
  2813. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2814. * XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
  2815. ask the window manager to do the work instead of changing the property
  2816. directly.
  2817. [Fixes bug #423417]
  2818. 2008-09-17 Everaldo Canuto <[email protected]>
  2819. * CurrencyManager.cs: Check for positon before call ChangeRecordState in
  2820. AddNew to fix some navigation for empty datasets. [Fixes #323053]
  2821. 2008-09-17 Everaldo Canuto <[email protected]>
  2822. * FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
  2823. InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
  2824. border and fixes some drawing issues when resize form.
  2825. 2008-09-17 Everaldo Canuto <[email protected]>
  2826. * FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
  2827. * ThemeWin32Classic.cs: We don't need to reduce button size when it is
  2828. AcceptButton.
  2829. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2830. * TextBoxBase.cs: For standard textbox the scrollbars are always
  2831. visible if Multiline is true.
  2832. [Fixes bug #426896]
  2833. 2008-05-12 Everaldo Canuto <[email protected]>
  2834. * DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
  2835. patch.
  2836. 2008-05-12 Everaldo Canuto <[email protected]>
  2837. [Fixes most od DBNull and HeadersVisible problems]
  2838. * DataGrid.cs:
  2839. - ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
  2840. returns the value that we need.
  2841. - Fixed FromPixelToColumn method that return zero for first column and for
  2842. row header cell, now it returns -1 for row header cell.
  2843. - Fixed HitTest to check row header cell in column header area, it now
  2844. returns HitTestType.None. [Fixes #322864]
  2845. - Fixed the calculation of visible columns in UpdateVisibleColumn, now it
  2846. checks for RowHeadersVisible and other things.
  2847. - If an exception occurs when setting CurrentCell and user type 'yes' in
  2848. message dialog, invalidade current and new cell and set setting_current_cell
  2849. to false to prevent future errors. [Partially fixes #323050]
  2850. * DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
  2851. value (SetColumnValueAtRow), it must be done by grid to properly show
  2852. messages. [Fixes #323050]
  2853. * ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
  2854. better draw column and row header. Also dont draw anything when column
  2855. headers is not visible.
  2856. 2008-09-16 Jonathan Pobst <[email protected]>
  2857. * ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
  2858. logic.
  2859. 2008-09-16 Jonathan Pobst <[email protected]>
  2860. * TreeView.cs: Don't start editing a node on right click, only
  2861. left click.
  2862. 2008-09-16 Jonathan Pobst <[email protected]>
  2863. * NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
  2864. disabled over a year ago.
  2865. * Form.cs: Wrap calling Load in a try/catch because it can happen
  2866. before the catch-all one in NativeWindow.
  2867. [Fixes bug #425414]
  2868. 2008-09-16 Jonathan Pobst <[email protected]>
  2869. * ToolStripDropDownMenu.cs: Calculate the connected area better
  2870. to take into account when the drop down is not directly under the
  2871. owner item.
  2872. * ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.
  2873. 2008-09-16 Mario Carrion <[email protected]>
  2874. * ScrollBar.cs: New event added: UIAValueChanged, generated when
  2875. LargeChange, SmallChange, Maximum or Minimum values are changed.
  2876. [Fixes bug #426464]
  2877. 2008-09-16 Mario Carrion <[email protected]>
  2878. * ErrorProvider.cs: Component enabled to support accessibility.
  2879. * Application.cs: Updated to Initialize UIA in ErrorProvider.
  2880. [Fixes bug #426459]
  2881. 2008-09-16 Jonathan Pobst <[email protected]>
  2882. * TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
  2883. so we don't highlight on first focus.
  2884. [Fixes bug #360869]
  2885. 2008-09-16 Jonathan Pobst <[email protected]>
  2886. * TextControl.cs: Correctly calculate the height of the area we
  2887. need to invalidate when we have started scrolling and viewport_y
  2888. is used. [Fixes bug #387608]
  2889. 2008-09-16 Jonathan Pobst <[email protected]>
  2890. * TextControl.cs: When getting the SelectedText, don't add in
  2891. NewLine characters, as they are already contained in the lines.
  2892. [Fixes bug #388115]
  2893. 2008-09-16 Jonathan Pobst <[email protected]>
  2894. * TextBoxBase.cs: Replace the buggy Lines setter with one that
  2895. simply concats the lines and send it to the Text setter.
  2896. [Fixes issue #2 and #3 of 388115]
  2897. 2008-09-16 Carlos Alberto Cortez <[email protected]>
  2898. * Binding.cs: The default value of DataSourceNullValue should be
  2899. Convert.DBNull actually. Also, the NullValue should only be used *if*
  2900. itself is not null, and use the null/Convert.DBNull value instead.
  2901. 2008-09-15 Jonathan Pobst <[email protected]>
  2902. * TextControl.cs: Add a method to convert a string newline to the
  2903. newline enum.
  2904. * TextBoxBase.cs: When the user hits enter, insert a native newline.
  2905. [Fixes part 1 of bug #388115]
  2906. 2008-09-15 Mario Carrion <[email protected]>
  2907. * ToolTip.cs: UnPopup event set to internal to match public API.
  2908. 2008-09-15 Jonathan Pobst <[email protected]>
  2909. * TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
  2910. have to remove the Ctrl in order for the focus moving code to kick in.
  2911. [Fixes bug #426170]
  2912. 2008-09-15 Jonathan Pobst <[email protected]>
  2913. * CheckedListBox.cs: Return the real item index from Add. It may not be
  2914. the last item if the list is sorted. The user can change the NewValue in
  2915. the ItemCheck event, we need to use that value if so.
  2916. * ListBox.cs: Return the real item index from a sorted Add.
  2917. [Fixes bug #426166]
  2918. 2008-09-15 Ivan N. Zlatev <[email protected]>
  2919. * MimeIcon.cs: Add null checks in the GnomeHandler, because it might
  2920. happen that the icons from the theme is missing or the particular size
  2921. unavailable.
  2922. [Fixes bug #424981]
  2923. 2008-09-15 Carlos Alberto Cortez <[email protected]>
  2924. * Binding.cs: When assigning null or DBNull depending on value/ref type,
  2925. use IsValueType instead to get the precise desired value.
  2926. Fixes #424276.
  2927. 2008-09-12 Jonathan Pobst <[email protected]>
  2928. * TreeNodeCollection.cs: When adding a new node to an opened node,
  2929. we have to invalidate everything below the parent node because
  2930. every node scoots down and we have to repaint them.
  2931. [Fixes bug #411386]
  2932. 2008-09-12 Jonathan Pobst <[email protected]>
  2933. * ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
  2934. property into account when drawing.
  2935. [Fixes bug #416064]
  2936. 2008-09-12 Carlos Alberto Cortez <[email protected]>
  2937. * ListBox.cs: When calling Items.Clear(), call
  2938. SelectedIndexCollection.ClearCore instead of normal Clear method, to
  2939. not fire any Selected*Changed event - this is done to match .net and
  2940. don't have invalid values when changing the DataSourceProperty.
  2941. Fixes #424273.
  2942. 2008-09-12 Mario Carrion <[email protected]>
  2943. * HelpProvider.cs: Control enabled to support accessibility.
  2944. * Application.cs: Updated to Initialize UIA in HelpProvider.
  2945. [Fixes bug #425988]
  2946. 2008-09-12 Jonathan Pobst <[email protected]>
  2947. * Form.cs: When we are showing a dialog box, if its owner is TopMost,
  2948. make the dialog TopMost as well.
  2949. [Fixes bug #425984]
  2950. 2008-09-12 Jonathan Pobst <[email protected]>
  2951. * Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
  2952. clipboard data better.
  2953. [Fixes bug #414446]
  2954. 2008-09-12 Jonathan Pobst <[email protected]>
  2955. * TextBoxBase.cs: Applied patch from John Mortlock that ensures
  2956. TextChanged and SelectionChanged events fire in the same order as .Net.
  2957. [Fixes bug #425725]
  2958. 2008-09-12 Jonathan Pobst <[email protected]>
  2959. * DataGridView.cs: When sorting a column, if it only contains numbers,
  2960. do a numeric sort instead of a string sort.
  2961. [Fixes bug #425849]
  2962. 2008-09-12 Jonathan Pobst <[email protected]>
  2963. * TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
  2964. against NRE's when the settings have a null panel.
  2965. * TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
  2966. the panel gets set.
  2967. [Fixes bug #425647]
  2968. 2008-09-11 Mario Carrion <[email protected]>
  2969. * ToolTip.cs: Control enabled to support accessibility.
  2970. * Application.cs: Updated to Initialize UIA in ToolTip.
  2971. [Fixes bug #425277]
  2972. 2008-09-11 Jonathan Pobst <[email protected]>
  2973. * Control.cs: Make the custom Enumerator internal to fix build.
  2974. 2008-09-11 Jonathan Pobst <[email protected]>
  2975. * DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
  2976. already in edit mode, begin edit mode. Generally edit mode isn't
  2977. started until the second click, but CheckBoxes are special.
  2978. 2008-09-11 Jonathan Pobst <[email protected]>
  2979. * ErrorProvider.cs: Never try to add our icons to ContainerControl,
  2980. since that can be set to anything. Always add them to the Control's
  2981. parent. [Fixes bug #416058]
  2982. 2008-09-11 Jonathan Pobst <[email protected]>
  2983. * ListView.cs: Use a custom enumerator for ListViewItemCollection
  2984. so items can be deleted in a foreach.
  2985. [Fixes bug #425342]
  2986. 2008-09-11 Jonathan Pobst <[email protected]>
  2987. * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
  2988. Store the user set explicit height so that the row can be AutoSized
  2989. and then when AutoSize is turned off, it can get its original size back.
  2990. * DataGridView.cs: Use the Row's GetPreferredHeight instead of
  2991. duplicating the logic. When setting AutoSizeRowsMode to None, reset
  2992. rows' heights back to their explicit values.
  2993. [Fixes bug #415780]
  2994. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  2995. * DateTimePicker.cs: When getting focus, select the checkbox if we are
  2996. already showing it. Also, don't change its value when pressing space
  2997. if the checkbox is not visible (ShowCheckBox as false). Finally, the
  2998. checkbox should remain selected as long as Checked is false, and the
  2999. other parts are disabled.
  3000. Fixes #424267.
  3001. 2008-09-11 Jonathan Pobst <[email protected]>
  3002. * MessageBox.cs: Handle shortcut keys to dialog buttons.
  3003. [Fixes bug #425425]
  3004. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  3005. * Binding.cs: When the value retrieved from the control property is
  3006. null, don't return Convert.DBNull for Nullable instances, since they
  3007. can *actually* get a null value.
  3008. Fixes #424265.
  3009. 2008-09-10 Jonathan Pobst <[email protected]>
  3010. * Control.cs: Add an internal field to force doublebuffering regardless
  3011. of what the public mechanisms are set to. This is because MS's native
  3012. controls are doublebuffered even though their .Net bits are set to false.
  3013. * ProgressBar.cs: Set force_double_buffer to true.
  3014. [Fixes bug #406595]
  3015. 2008-09-10 Jonathan Pobst <[email protected]>
  3016. * DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
  3017. the cell template.
  3018. * DataGridViewCheckBoxCell.cs: Add proper support for threestate.
  3019. * DataGridViewCell.cs: Implement GetEditedFormattedValue for types
  3020. without EditingControls, paint background selection for types without
  3021. EditingControls, reset the EditingCellValueChanged flag when the
  3022. cell's value is committed.
  3023. * DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
  3024. have EditingControls, remove a double call to a cell's OnContentClickInternal,
  3025. don't do cell changing logic in OnMouseDown if the cell didn't change.
  3026. [Fixes bug #420351]
  3027. 2008-09-10 Carlos Alberto Cortez <[email protected]>
  3028. * DateTimePicker.cs: Fix the edition of am/pm specifier.
  3029. 2008-09-09 Jonathan Pobst <[email protected]>
  3030. * TextControl.cs: Add "&" to the list of valid characters in a URL.
  3031. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  3032. * DateTimePicker.cs: Before incrementing or decrementing any part in
  3033. the textbox, end any current edit. Also when ending the current edit
  3034. use the editing_part_index field instead of the current selected
  3035. value, since they can be out of synch, and we really need to work on
  3036. the *real* current edit part. Finally when PartData.Selected changes,
  3037. always try to end any ongoing edit.
  3038. This should fix some small errors handling mouse navigation and
  3039. increase/decrease operations.
  3040. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  3041. * DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
  3042. respectively) should handled different, since the 12 hours format
  3043. needs the value typed by the user to be adjusted depending on the
  3044. a.m/p.m value, so it is preserved, and only changed when the value
  3045. reaches the 12 value (when it changes from a.m to p.m).
  3046. Fixes part of #416555.
  3047. 2008-09-08 Jonathan Pobst <[email protected]>
  3048. * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
  3049. * ToolStripDropDownItem.cs: Don't fire events and such again if
  3050. ShowDropDown is called on an already dropped down item.
  3051. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
  3052. subitems, the user may add some in the DropDownOpening event.
  3053. [Fixes bug #417877]
  3054. 2008-09-08 Jonathan Pobst <[email protected]>
  3055. * ComboBox.cs: Fix IOORE when setting SelectedItem to null.
  3056. [Fixes bug #424270]
  3057. 2008-09-08 Jonathan Pobst <[email protected]>
  3058. * MdiClient.cs: When looking for menustrips on a child form to merge,
  3059. look inside ToolStripContainers.
  3060. [Fixes bug #424264]
  3061. 2008-09-08 Ivan N. Zlatev <[email protected]>
  3062. * ErrorProvider.cs: Unbreak my previous commit.
  3063. 2008-09-08 Ivan N. Zlatev <[email protected]>
  3064. * ErrorProvider.cs: Icon should always be 16x16.
  3065. [Fixes bug #424380]
  3066. 2008-09-07 Ivan N. Zlatev <[email protected]>
  3067. * GridEntry.cs: Invalidate the child items cache when the property
  3068. value changes.
  3069. 2008-09-07 Ivan N. Zlatev <[email protected]>
  3070. * GridEntry.cs, PropertyGridView.cs:
  3071. - Update the ReadOnly detection and rendering to finally hopefully
  3072. match the one of MSFT.
  3073. - Niceify and move the debug CWLS.
  3074. [Fixes bug #409028]
  3075. 2008-09-05 Carlos Alberto Cortez <[email protected]>
  3076. * ListView.cs: Don't call Invalidate at all from SetItemLocation,
  3077. since we are already calling Invalidate for the entire control when
  3078. needed - and call Redraw() when size changes, since we need to paint
  3079. there by ourselved and not anymore from the mentioned method.
  3080. This should improve the layout process. Also clean some not needed calls
  3081. here and there.
  3082. 2008-09-05 Jonathan Pobst <[email protected]>
  3083. * MenuAPI.cs: Add a null check to the Alt-F4 code.
  3084. [Fixes bug #420309]
  3085. 2008-09-05 Jonathan Pobst <[email protected]>
  3086. * ThreadExceptionDialog.cs: Disable AutoScaling for this dialog.
  3087. [Fixes bug #423040]
  3088. 2008-09-04 Ivan N. Zlatev <[email protected]>
  3089. * GridEntry.cs, CategoryGridEntry.cs, RootGridEntry.cs, PropertyGrid.cs,
  3090. PropertyGridView.sc: Implement lazy/delayed propertygrid population
  3091. on item expansion. Improves performance and fixes bug #417955.
  3092. [Fixes bug #417955]
  3093. 2008-09-05 Stephane Delcroix <[email protected]>
  3094. * Control.cs: only check for OptimizedDoubleBuffer in NET_2_0.
  3095. fix the build.
  3096. 2008-09-04 Jonathan Pobst <[email protected]>
  3097. * TextControl.cs: Add "_" to the list of valid characters in a URL.
  3098. [Fixes bug #423408]
  3099. 2008-09-04 Jonathan Pobst <[email protected]>
  3100. * Control.cs: If using OptimizedDoubleBuffer, ensure the clip
  3101. region gets set.
  3102. [Fixes bug #414166]
  3103. 2008-09-04 Jonathan Pobst <[email protected]>
  3104. * FontDialog.cs: When storing our font size from the starting font,
  3105. use SizeInPoints instead of Size in case Size is a different unit
  3106. from Points.
  3107. [Fixes bug #416489]
  3108. 2008-09-04 Jonathan Pobst <[email protected]>
  3109. * FileDialog.cs: When enter is pressed on a SaveFileDialog and we
  3110. don't use it for anything else, check if a directory is highlighted.
  3111. If it is, navigate into it.
  3112. [Fixes bug #422087]
  3113. 2008-09-04 Carlos Alberto Cortez <[email protected]>
  3114. * Binding.cs: When acquiring a BindingManagerBase for the first time,
  3115. check that the specified property actually exists in the data source,
  3116. and throw an ArgumentException if that's not the case - this is only
  3117. done for this scenario, since for later cases (such Position changes)
  3118. we throw different exceptions (match .Net).
  3119. 2008-09-03 Ivan N. Zlatev <[email protected]>
  3120. * ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  3121. FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  3122. PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  3123. TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  3124. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  3125. ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  3126. properties.
  3127. [Fixes bug #418684]
  3128. 2008-09-03 Neville Gao <[email protected]>
  3129. * StatusBar.cs: Control enabled to support accessibility.
  3130. [Fixes bug #419079]
  3131. 2008-09-02 Carlos Alberto Cortez <[email protected]>
  3132. * Binding.cs: When connecting the event handler for the "Changed"
  3133. event for the property, only do it for PropertyManager, and not for
  3134. CurrencyManager - this is exactly what does .Net, totally ignoring any
  3135. change in the property of the elements of a list.
  3136. Fixes the tests.
  3137. 2008-09-02 Jonathan Pobst <[email protected]>
  3138. * XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
  3139. to Windows when creating a window, as we fake MDI stuffs.
  3140. [Fixes bug #421858]
  3141. 2008-09-01 Ivan N. Zlatev <[email protected]>
  3142. * TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
  3143. change takes effect.
  3144. 2008-08-24 Ivan N. Zlatev <[email protected]>
  3145. * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
  3146. [Fixes bug #419001]
  3147. 2008-08-27 Jonathan Pobst <[email protected]>
  3148. * DataGridView.cs: Raise CellContentClick event.
  3149. [Fixes part of bug #420351]
  3150. 2008-08-27 Mario Carrion <[email protected]>
  3151. * ScrollBar.cs: Control enabled to support accessibility.
  3152. [Fixes bug #416759]
  3153. 2008-08-27 Mario Carrion <[email protected]>
  3154. * ComboBox.cs: Control enabled to support accessibility.
  3155. [Fixes bug #416663]
  3156. 2008-08-27 Mario Carrion <[email protected]>
  3157. * ListBox.cs: Control enabled to support accessibility.
  3158. [Fixes bug #416640]
  3159. 2008-08-27 Jonathan Pobst <[email protected]>
  3160. * ComboBox.cs: Don't suppress the TextChanged event when changing
  3161. the SelectedIndex.
  3162. * ToolStripComboBox.cs: Listen to the ComboBox's TextChanged event
  3163. and re-raise it.
  3164. [Fixes bug #420673]
  3165. 2008-08-26 Jonathan Pobst <[email protected]>
  3166. * ErrorProvider.cs: Fix a regression NRE when setting properties
  3167. for a control before it has a parent.
  3168. [Fixes bug #420305]
  3169. 2008-08-25 Carlos Alberto Cortez <[email protected]>
  3170. * Binding.cs: Use the BindingManagerBase.Current value to obtain
  3171. connect the property "Changed" event, instead of using the data
  3172. sources - this is useful when the property specifies actually a
  3173. multiple objects path.
  3174. Fixes part of #417973.
  3175. 2008-08-24 Carlos Alberto Cortez <[email protected]>
  3176. * RelatedPropertyManager.cs: PropertyManager instances associated to a
  3177. nested properties should return not the properties of the data source
  3178. itself, but the properties of the type of a specific property in the
  3179. data source - match .net.
  3180. 2008-08-24 Gert Driesen <[email protected]>
  3181. * ListBox.cs (IntegerCollection): To avoid duplication, moved code for
  3182. AddRange overloads into AddItems method, and added missing NULL check.
  3183. Added extra argument check to RemoveAt for compatibility with MS.
  3184. Modified IList implementation of Add, Contains, IndexOf and Remove to
  3185. throw an ArgumentException if item is not an int. Modified IList.Insert
  3186. to throw a NotSupportException instead of an Exception. Implemented
  3187. ICollection.
  3188. (ObjectCollection): To avoid duplication, use AddItems method from
  3189. AddRange overloads. On 1.0 profile, first perform NULL check on items
  3190. in AddItems.
  3191. 2008-08-23 Gert Driesen <[email protected]>
  3192. * Control.cs: Do not modify bounds directly in .ctor's. Fixes bug
  3193. #419087.
  3194. 2008-08-22 Atsushi Enomoto <[email protected]>
  3195. * X11Keyboard.cs : comment out some Console.WriteLine().
  3196. 2008-08-22 Atsushi Enomoto <[email protected]>
  3197. * X11Keyboard.cs : fixed wrong call to XOpenIM() which happened
  3198. even if premises are not filled. Also XLookupString() was not
  3199. receiving correct input, which blocked precise input handling
  3200. on non-XIM mode.
  3201. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  3202. * ListView.cs: When calling OnCacheVirtualItems, cast to the right
  3203. type of delegate, instead of EventHandler - this was causing a type
  3204. cast exception in all apps handling this event.
  3205. Fixes #417876.
  3206. 2008-08-20 Jonathan Pobst <[email protected]>
  3207. * ToolStripDropDownItem.cs: Always raise DropDownOpening in
  3208. ShowDropDown to give the user a chance to dynamically add
  3209. drop down items. [Step 1 of fixing bug #417877]
  3210. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  3211. * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
  3212. had any mouse motion since the call to StartDrag, to match the dnd
  3213. behaviour of .net.
  3214. Fixes part of #381876.
  3215. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  3216. * XplatUIX11.cs: Only do the children control bounds check for EnterNotify
  3217. if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
  3218. Also, if we are actually moving into a different window after
  3219. grabbing, generate a LeaveNotify event for the previous window, since
  3220. we need to fire the leave events until the grab ends, not when
  3221. actually moving outside of the control.
  3222. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  3223. * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
  3224. events only for client windows was wrong - we need to compare the
  3225. client window against the window receiving the EnterNotify event, not
  3226. against zero (since client window is never Zero, btw).
  3227. This prevents having unnecessary handling of EnterNotify events for
  3228. non-client windows when a gran begins.
  3229. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  3230. * XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
  3231. MouseMove/MotionNotify events at all (which should only happen after
  3232. MouseUp/ButtonRelease, as .Net does).
  3233. This avoids firing an extra and unnecessary MouseMove event just after
  3234. every MouseDown event.
  3235. 2008-08-19 Jonathan Pobst <[email protected]>
  3236. * LinkLabel.cs: Always clear any previous links when LinkArea
  3237. is set. [Fixes bug #410709]
  3238. 2008-08-19 Jonathan Pobst <[email protected]>
  3239. * ToolStripProfessionalRenderer.cs: Revert last change.
  3240. * ProfessionalColorTable.cs: For Classic, use SystemColors.Window
  3241. for ToolStripDropDownBackground.
  3242. 2008-08-19 Jonathan Pobst <[email protected]>
  3243. * ToolStripProfessionalRenderer.cs: Use Window color for the
  3244. background of dropdowns to match .Net when the user is not
  3245. using the default white. [Fixes bug #418108]
  3246. 2008-08-19 Atsushi Enomoto <[email protected]>
  3247. * XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  3248. it caused timer registration twice. Fixed bug #418107.
  3249. 2008-08-18 Carlos Alberto Cortez <[email protected]>
  3250. [Correction: This is the actual change to X11Dnd issue, not the
  3251. previous one, which was actually a different issue.]
  3252. * X11Dnd.cs: Increase the interval for the Timer, to not fire our
  3253. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  3254. when the pointer is actually in motion, but only when the pointer
  3255. seems to stop (as .net does).
  3256. Fixes part of #381876.
  3257. 2008-08-18 Jonathan Pobst <[email protected]>
  3258. * ListBox.cs: Fix CopyTo implementation.
  3259. [Fixes bug #409169]
  3260. 2008-08-18 Jonathan Pobst <[email protected]>
  3261. * ThemeWin32Classic.cs: Use ClientRectangle instead of Bounds when
  3262. drawing a ComboBox's background. Fixes bad disabled rendering when
  3263. the control is not at 0,0.
  3264. [Fixes bug #416063]
  3265. 2008-08-16 Ivan N. Zlatev <[email protected]>
  3266. * GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
  3267. ComponentModel layer, which will properly prioritize the attributes.
  3268. Avoids wrong prioritization of duplicate attributes when retrieving
  3269. the converter and editor.
  3270. [Fixes bug #417729]
  3271. 2008-08-15 Carlos Alberto Cortez <[email protected]>
  3272. * XplatUIX11.cs: Increase the interval for the Timer, to not fire our
  3273. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  3274. when the pointer is actually in motion, but only when the pointer
  3275. seems to stop (as .net does).
  3276. Fixes part of #381876.
  3277. 2008-08-15 Ivan N. Zlatev <[email protected]>
  3278. * GridEntry.cs: Perform stricter check for the ParentEntry's
  3279. PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
  3280. implementation.
  3281. [Fixes bug #417567]
  3282. 2008-08-14 Geoff Norton <[email protected]>
  3283. * XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
  3284. Fixes #396983. Properly fix ActiveWindow trackin and do not
  3285. prematurely show POPUP windows.
  3286. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  3287. * XplatUIX11.cs: Handle the obscured regions while scrolling using
  3288. GraphicsExpose event, processing it just after we copy the scrolled
  3289. area. This ensures that the next calls to ScrollWindow will copy
  3290. regions already updated, and the scrolling will be smooth. Also remove
  3291. the code that was trying to detect the obscured regions, since we are
  3292. not using it anymore (too slow).
  3293. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  3294. * ListBox.cs: Fix the -temporary- broken selection in ListBox for
  3295. MultiExtended mode, by separating some logic between the ctrl/shift
  3296. handling. Also ignore any MouseMove events generated together with
  3297. MouseDown events - we are only interested in the real motion event.
  3298. Fixes part of #414963.
  3299. 2008-08-08 Jonathan Pobst <[email protected]>
  3300. * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
  3301. is selected. [Fixes bug #414143]
  3302. 2008-08-07 Ivan N. Zlatev <[email protected]>
  3303. * GridEntry.cs: Check if current property is a ICustomTypeDescriptor
  3304. and not the parent one (the propertyowner). Fixes the behavior of
  3305. GetConverter/GetEditor.
  3306. [Fixes bug #415452]
  3307. 2008-08-07 Ivan N. Zlatev <[email protected]>
  3308. * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
  3309. [Fixes part of bug #415452]
  3310. 2008-08-05 Ivan N. Zlatev <[email protected]>
  3311. * GridEntry.cs: ITypeDescriptorContext should be relative to the parent
  3312. GridEntry, not the current.
  3313. [Fixes bug #413896]
  3314. 2008-08-04 Ivan N. Zlatev <[email protected]>
  3315. * TextBoxBase.cs: De-internalize max_length field.
  3316. * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
  3317. share the same logic.
  3318. [Fixes bug #414454]
  3319. 2008-08-03 Carlos Alberto Cortez <[email protected]>
  3320. * ListBox.cs: Selection changes made in the MouseDown handler should
  3321. use the *Core versions of selection in SelectedIndices collection,
  3322. since the SelectedIndexChanged/SelectedValueChanged events are fired
  3323. until we get a MouseUp event, and thus we need to separate the logic
  3324. from the events, as done in the keyboard navigation. Also, fire those
  3325. selection events from keyboard navigation in SelectionMode.None, even
  3326. if we don't have a selection, as .Net does.
  3327. 2008-08-01 Jonathan Pobst <[email protected]>
  3328. * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
  3329. last change introduced when an item is clicked but isn't on a toolstrip.
  3330. 2008-07-31 Carlos Alberto Cortez <[email protected]>
  3331. * ListBindingHelper.cs: When looking for an object's properties, check
  3332. if it implements ICustomTypeDescriptor, in which case we should
  3333. resolve the propertu based on its GetProperties method, not in its
  3334. actual properties. This is what .Net seems to do.
  3335. Fixes a UsingWebBrowser problem during initialization.
  3336. 2008-07-31 Jonathan Pobst <[email protected]>
  3337. * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
  3338. sitting on a MenuStrip.
  3339. 2008-07-31 Jonathan Pobst <[email protected]>
  3340. * ToolStripButton.cs: If we "click" a top button on a menustrip that has
  3341. no children with the keyboard, we need to release the keyboard capture.
  3342. [Fixes bug #413567]
  3343. 2008-07-31 Jonathan Pobst <[email protected]>
  3344. * ToolStripMenuItem.cs: If we "click" a top level menu item that has
  3345. no children with the keyboard, we need to release the keyboard capture.
  3346. [Fixes bug #413567]
  3347. 2008-07-31 George Giolfan <[email protected]>
  3348. * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
  3349. the GTK+-based implementation of VisualStyles.
  3350. * ThemeWin32Classic.cs: Exposed various layout values for use in the
  3351. GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
  3352. ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
  3353. ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
  3354. TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
  3355. TrackBarHorizontalTrackHeight.
  3356. 2008-07-31 George Giolfan <[email protected]>
  3357. * TabControl.cs: Added hot style handling for the scroll buttons.
  3358. right_slider_state, left_slider_state are now of type PushButtonState to
  3359. allow for a hot state. Added tracking of the mouse button being held down
  3360. on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
  3361. LeftScrollButtonArea.
  3362. * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
  3363. TabControlGetRightScrollRect.
  3364. 2008-07-30 Everaldo Canuto <[email protected]>
  3365. * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent
  3366. runtime errors.
  3367. 2008-07-30 Ivan N. Zlatev <[email protected]>
  3368. * Form.cs: Ensure that we reset the shown_raised flag after
  3369. the form is closed, so that we raise the show events the next
  3370. time the form is shown.
  3371. [Fixes bug #413141]
  3372. 2008-07-30 Ivan N. Zlatev <[email protected]>
  3373. * Form.cs: Ensure closing events are raised only once.
  3374. [Fixes bug #413143]
  3375. 2008-07-30 Ivan N. Zlatev <[email protected]>
  3376. * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode,
  3377. so that we can successfully generate the LParam in-place instead of
  3378. in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard
  3379. navigation for menus.
  3380. 2008-07-30 Everaldo Canuto <[email protected]>
  3381. * MenuAPI.cs: When montion don't set the keyboard navigation state to
  3382. 'navigating'. Fixes bug #411356.
  3383. 2008-07-30 Everaldo Canuto <[email protected]>
  3384. [Fixed remaining issues of #406773 (#1)]
  3385. * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
  3386. * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
  3387. MainMenu (already done) and ContextMenu creation.
  3388. * ContextMenu.cs: Create tracker on construction.
  3389. 2008-07-30 Everaldo Canuto <[email protected]>
  3390. * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
  3391. possible to instantiate MenuTracker without GrabControl.
  3392. 2008-07-30 Everaldo Canuto <[email protected]>
  3393. * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
  3394. * MainMenu.cs: Set GrabControl on SetForm using current form.
  3395. 2008-07-30 Everaldo Canuto <[email protected]>
  3396. * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
  3397. 2008-07-30 Everaldo Canuto <[email protected]>
  3398. * MenuAPI.cs: Check if menu is activated before deactivate it in
  3399. ProcessShortcut.
  3400. 2008-07-30 Ivan N. Zlatev <[email protected]>
  3401. * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
  3402. ColumnStyle.cs:
  3403. Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
  3404. - One style instance can only participate in a single style collection.
  3405. - Styles can request their owner to layout whenever their properties
  3406. change.
  3407. [Fixes bugs #412583 and #412582]
  3408. 2008-07-29 Ivan N. Zlatev <[email protected]>
  3409. * X11Keyboard.cs: Implement the generation of the LParam for
  3410. all keyboard messages.
  3411. [Fixes bug #378728]
  3412. 2008-07-29 Jonathan Pobst <[email protected]>
  3413. * ListBox.cs: Don't let the user set TopIndex so high that it
  3414. scrolls up far enough to show empty items.
  3415. [Fixes bug #412728]
  3416. 2008-07-29 Carlos Alberto Cortez <[email protected]>
  3417. * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
  3418. (I'm an idiot and forgot to commit the actual changes, as well as
  3419. specify the right file, which is this one, not ListView.cs).
  3420. 2008-07-28 Carlos Alberto Cortez <[email protected]>
  3421. * ListView.cs: Don't draw ListViewSubItem instances from
  3422. DrawListViewItem - we need to reuse the main item's drawing for the
  3423. first sub item in case owner draw is true, but wants the system to
  3424. do the default draw for the first sub item, without incurring in a
  3425. recursion problem.
  3426. Fixes #410880.
  3427. 2008-07-28 Jonathan Pobst <[email protected]>
  3428. * ToolStripButton.cs: Update Checked for CheckOnClick before
  3429. raising the Click event. [Fixes bug #412505]
  3430. 2008-07-28 Ivan N. Zlatev <[email protected]>
  3431. * Form.cs: Remove some seems leftover code for non-TopLevel's
  3432. CreateParams, which is breaking ClientSize sizing, because it
  3433. removes the border window styles.
  3434. 2008-07-27 Ivan N. Zlatev <[email protected]>
  3435. * PropertyGrid.cs: Invalidate the View when the PropertyTab
  3436. changes.
  3437. 2008-07-25 Gert Driesen <[email protected]>
  3438. * WebBrowser.cs: Removed debug output.
  3439. 2008-07-25 Jonathan Pobst <[email protected]>
  3440. * FileDialog.cs: Apply patch from Ernesto to clean up some
  3441. dialog messages.
  3442. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3443. * TableLayoutPanel.cs: Perform layout on GrowStyle change, so
  3444. that the change has an immediate effect.
  3445. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3446. * ScrollableControl.cs: Update PerformLayout calls to include
  3447. provide the name of the property that changed.
  3448. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3449. * TableLayoutPanel.cs: Draw relative to the DisplayRectangle
  3450. location. Fixes drawing of border and cell borders if scrollable.
  3451. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3452. * ScrollableControl.cs: Perform layouting after the AutoScroll
  3453. properties have changed, so that the changes have immediate
  3454. effect.
  3455. [Fixes bug #409090]
  3456. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3457. * XplatUIX11.cs: Non Client area is actually Client such in the
  3458. case of NotifyIcon, so double check WholeWindow == ClientWindow
  3459. when adding an expose.
  3460. [Fixes bugs #324237 and #357022]
  3461. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3462. * TableLayoutPanel.cs: Invalidate after layouting, so that we
  3463. repaint the cell borders.
  3464. 2008-07-25 Ivan N. Zlatev <[email protected]>
  3465. * PropertyGridTextBox.cs: Stop filtering messages prior to our
  3466. disposal to avoid unexpected ObjectDisposedExceptions.
  3467. 2008-07-24 Ivan N. Zlatev <[email protected]>
  3468. * TableLayoutPanel.cs: Layout on Row/Column count change.
  3469. 2008-07-22 Gert Driesen <[email protected]>
  3470. * ListViewItem.cs: Changed binary serialization to match MS. Fixes
  3471. bug #409351.
  3472. * PictureBox.cs: When ImageLocation is set to null or an empty string,
  3473. only set image to null if it was previously initialized from an url
  3474. (or using ImageLocation). In ImageLocation, load specified image
  3475. asynchronously if WaitOnLoad is false. Added support for local file
  3476. paths to LoadAsync, and added missing argument check.
  3477. 2008-07-22 Carlos Alberto Cortez <[email protected]>
  3478. * DateTimePicker.cs:
  3479. * ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
  3480. order to set the value as required (which means: when selection
  3481. changes for a part being edited, and not before that if not needed).
  3482. Also use an enum to describe which part are we using, and use the
  3483. selection as a property in PartData, in order to notify the
  3484. DateTimePicker owner that we need to end the current edit.
  3485. Fixes #383462.
  3486. 2008-07-17 Ivan N. Zlatev <[email protected]>
  3487. * PropertyGridTextBox.cs: Validation should be performed only if we
  3488. are focused. We can lose focus for example if the Return key is used
  3489. to set the entry and there is an error. When the message box is
  3490. displayed we would have validate on click in the message box.
  3491. 2008-07-16 Ivan N. Zlatev <[email protected]>
  3492. * GridEntry.cs: Checking for DesignerSerializaitonVisibility.Content
  3493. in order to determine that we are expandable is wrong. There was a bug,
  3494. now fixed, in TypeDescriptor that was causing the wrong converter to be
  3495. returned which caused GetPropertiesSupported == false in most cases.
  3496. [Fixes bug #409027]
  3497. 2008-07-15 Jonathan Pobst <[email protected]>
  3498. * ImageList.cs: Fix ICollection.CopyTo implementation for
  3499. ImageListCollection. [Fixes bug #409169]
  3500. 2008-07-14 Jonathan Pobst <[email protected]>
  3501. * MenuAPI.cs, ToolStripDropDown.cs: Use VirtualScreen instead of
  3502. WorkingArea so that menus can appear on the second monitor
  3503. when one has dual monitors.
  3504. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  3505. * TextBox.cs: Auto complete stuff in WndProc should be 2.0 only.
  3506. Fixes build.
  3507. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  3508. * TextBox.cs: Implement navigation support for auto complete in
  3509. TextBox, as well as refactor the code to show the auto complete window
  3510. when receiving a WM_CHAR message, instead of TextChanged, since
  3511. autocomplete itself should be able to set the Text a lot of times and
  3512. finally only typing should show it, not changes from code.
  3513. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  3514. * TabControl.cs: When expanding the selected tab, don't adjust the
  3515. width if alignment is Right, since it has a different offset than 0,
  3516. as opposed to the other alignments.
  3517. Fixes the selected tab not being painted at all with alignment = Right
  3518. and using FillToRight size mode.
  3519. 2008-07-14 Jonathan Pobst <[email protected]>
  3520. * TreeView.cs: Fix ToString to match MS. [Fixes bug #409029]
  3521. 2008-07-14 Jonathan Pobst <[email protected]>
  3522. * NumericUpDown.cs: Apply patch from Andy Hume to clamp out of range
  3523. values from the textbox to the boundary values. [Fixes bug #409026]
  3524. 2008-07-14 Jonathan Pobst <[email protected]>
  3525. * TreeNodeCollection.cs: We were copying one too many elements when
  3526. doing our array copy. Fixes a crash when RemoveAt is called.
  3527. [Fixes bug #408999]
  3528. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  3529. * TabControl.cs: When doing the layout and need to call FillRow -using
  3530. FillToRight size mode-, use the overload receiving a bool param
  3531. indicating whether we need to do a vertical or horizontal calculation.
  3532. Fixes part of #399583.
  3533. 2008-07-13 Carlos Alberto Cortez <[email protected]>
  3534. * TextBox.cs: When painting, use the value returned by
  3535. GetLastVisibleItem instead of using the cached last_item field, since
  3536. there could be a desynchronization between the layout and the
  3537. painting. Fixes a AOOR exception in auto complete mode.
  3538. 2008-07-12 George Giolfan <[email protected]>
  3539. * ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
  3540. NonClientAreaEnabled until our VisualStyles is modified to allow it.
  3541. 2008-07-12 Gert Driesen <[email protected]>
  3542. * TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
  3543. 2008-07-11 Carlos Alberto Cortez <[email protected]>
  3544. * TextBox.cs: When focus is lost, if the auto complete listbox is
  3545. visible, hide it.
  3546. 2008-07-11 George Giolfan <[email protected]>
  3547. * InternalWindowManager.cs: HandleSizing: Implemented a better minimum
  3548. tracking size for tool windows.
  3549. * Theme.cs, ThemeWin32Classic.cs : Extracted
  3550. ManagedWindowSpacingAfterLastTitleButton.
  3551. 2008-07-11 Jonathan Pobst <[email protected]>
  3552. * ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
  3553. They are bit-rotted and have always been listed as "unsupported".
  3554. 2008-07-11 Jonathan Pobst <[email protected]>
  3555. * PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
  3556. 2008-07-11 George Giolfan <[email protected]>
  3557. * ThemeVisualStyles.cs: Fixed minimized window height adjustment.
  3558. 2008-07-10 Jonathan Pobst <[email protected]>
  3559. * ListBox.cs: Make sure last_item_visible gets reset before we try
  3560. to do a layout due to scrollbars appearing or disappearing.
  3561. [Fixes bug #408139]
  3562. 2008-07-10 Jonathan Pobst <[email protected]>
  3563. * XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
  3564. for different window themes. [Fixes bug #339140]
  3565. 2008-07-10 George Giolfan <[email protected]>
  3566. * ThemeWin32Classic.cs: Implemented minimized window border width properly,
  3567. in ManagedWindowBorderWidth.
  3568. 2008-07-10 Jonathan Pobst <[email protected]>
  3569. * InternalWindowManager.cs: Change MouseMove to take a point, so
  3570. we can use the same point later on.
  3571. * MdiWindowManager.cs: Store point sent to MouseMove so we can
  3572. later reset to it. On Windows, the Cursor.Position had already
  3573. changed by the time we were resetting to it.
  3574. [Fixes bug #363239]
  3575. 2008-07-10 Jonathan Pobst <[email protected]>
  3576. * InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
  3577. are inactive.
  3578. * ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
  3579. user requested it.
  3580. [Fixes bug #398686]
  3581. 2008-07-10 Jonathan Pobst <[email protected]>
  3582. * MdiWindowManager.cs: Double-clicking on the title bar should not
  3583. maximize a MDI form if MaximizeBox = false.
  3584. 2008-07-10 George Giolfan <[email protected]>
  3585. * ThemeVisualStyles.cs: Fixed a warning.
  3586. 2008-07-10 George Giolfan <[email protected]>
  3587. * ThemeVisualStyles.cs: Fixed warnings and formatted.
  3588. 2008-07-10 George Giolfan <[email protected]>
  3589. * ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
  3590. implementation produces a better result.
  3591. 2008-07-10 George Giolfan <[email protected]>
  3592. * ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
  3593. windows.
  3594. 2008-07-10 George Giolfan <[email protected]>
  3595. * Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
  3596. cannot be used from the ThemeEngine constructor.
  3597. * ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
  3598. Application.VisualStylesEnabled because it does not work on X11.
  3599. 2008-07-09 Jonathan Pobst <[email protected]>
  3600. * StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
  3601. that we did not always check for, as well as fixes to the IList
  3602. implementations. [Fixes bug #402703]
  3603. 2008-07-09 George Giolfan <[email protected]>
  3604. * IDeviceContext.cs: Added Dispose.
  3605. 2008-07-09 George Giolfan <[email protected]>
  3606. * Control.cs: Added OnSizeInitializedOrChanged.
  3607. * Form.cs: OnLoadInternal: Added a call to
  3608. Control.OnSizeInitializedOrChanged.
  3609. * InternalWindowManager.cs:
  3610. * HandleTitleBarMouseMove: No longer invalidates the parent window.
  3611. * DrawTitleButton: Extracted Theme.ManagedWindowDrawMenuButton.
  3612. * TitleButton: Added Entered.
  3613. * TitleButtons.MouseMove: Added handling of TitleButton.Entered.
  3614. * MdiWindowManager.cs:
  3615. * HandleTitleBarMouseMove: Now invalidates the parent window when a mouse
  3616. move over the maximized title buttons causes a change.
  3617. * IsActive: Can now be called before the window is added to a MDI parent.
  3618. * Theme.cs: Added ManagedWindowTitleButtonHasHotElementStyle,
  3619. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3620. * ThemeVisualStyles.cs: Implemented proper managed window rendering.
  3621. * ThemeWin32Classic.cs:
  3622. * Extracted ManagedWindowDrawTitleBarAndBorders, ManagedWindowDrawTitleButton.
  3623. * DrawTitleButton takes a new form parameter.
  3624. * Added ManagedWindowTitleButtonHasHotElementStyle,
  3625. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3626. 2008-07-09 George Giolfan <[email protected]>
  3627. * ThemeEngine.cs: ThemeVisualStyles is now selected if
  3628. Application.EnableVisualStyles has been called, even if the current system
  3629. configuration does not support rendering with Visual Styles.
  3630. * ThemeVisualStyles.cs: Now falls back to ThemeWin32Classic when Visual
  3631. Styles should not be used.
  3632. 2008-07-08 Jonathan Pobst <[email protected]>
  3633. * ComboBox.cs: PreferredHeight is not tied to ItemHeight. Fixes 3rd
  3634. ComboBox in FormsTest.
  3635. 2008-07-08 Ivan N. Zlatev <[email protected]>
  3636. * ThemeWin32Classic.cs: (ManagedWindowBorderWidth): width 3 is only
  3637. for fixed toolwindows.
  3638. 2008-07-08 George Giolfan <[email protected]>
  3639. * Form.cs: SetBoundsCore: Added minimum size for minimized windows.
  3640. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3641. * Control.cs: CreateControl just returns if the Control is diposed
  3642. and doesn't throw ObjectDisposedException.
  3643. [Fixes bug #406566]
  3644. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3645. * Control.cs: Do not create the control if the parent isn't created
  3646. yet, e.g in the case of a parented form on which .Show is called.
  3647. It will be created when the parent is made visible/created.
  3648. Improves #402446.
  3649. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3650. * Form.cs: Avoid recursively calling OnSizeChanged due to recursive
  3651. WM_WINDOWPOSCHANGED caused by the layouting code on win32.
  3652. [Fixes bug #406786]
  3653. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3654. * Form.cs: When disposed set owner to null. Improves #402446.
  3655. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3656. * Form.cs, FlowLayoutPanel.cs: When calculating the PreferredSize
  3657. use children's PreferredSize if in AutoSize mode and ExplicitBounds
  3658. if not.
  3659. * Form.cs: Take the Padding into account for the PreferredSize.
  3660. [Fixes bug #402849]
  3661. 2008-07-07 Carlos Alberto Cortez <[email protected]>
  3662. * TabControl.cs: Since we don't support more than one direction in
  3663. TabControl rows alignment (this is, the row becomes the
  3664. bottom row when selected), make Direction return always 1. This way
  3665. the layout doesn't get confused about a bad calculation.
  3666. Fixes #399582.
  3667. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3668. * XplatUIX11.cs: Implement NC hit-testing for mouse down/up messages,
  3669. so that the wparam is properly set.
  3670. Fixes form moving in the test case in bug 402446.
  3671. 2008-07-07 Jonathan Pobst <[email protected]>
  3672. * FolderBrowserDialog.cs: If we can't find the SelectedPath, display
  3673. the full tree instead of nothing. [Improves bug #406584]
  3674. 2008-07-07 George Giolfan <[email protected]>
  3675. * ThemeWin32Classic.cs: Adjusted minimized window painting.
  3676. 2008-07-07 George Giolfan <[email protected]>
  3677. * InternalWindowManager.cs: No longer draws decorations for maximized MDI
  3678. children.
  3679. 2008-07-04 Jonathan Pobst <[email protected]>
  3680. * TreeView.cs: Add a null check when using CollapseAll on an
  3681. empty tree. [Fixes bug #406449]
  3682. 2008-07-03 Jonathan Pobst <[email protected]>
  3683. * Form.cs: Make OnMenuComplete internal so we can call it.
  3684. * MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
  3685. [Fixes bug #399321]
  3686. 2008-07-03 Jonathan Pobst <[email protected]>
  3687. * TabControl.cs: Handle Up and Down keys when TabControl is in
  3688. vertical alignment.
  3689. [Fixes bug #399585]
  3690. 2008-07-03 Jonathan Pobst <[email protected]>
  3691. * TabControl.cs: Invalidate when we remove a tab. Guard against
  3692. an AOORE when trying to remove a tabpage that is not owned by the
  3693. parent control.
  3694. [Fixes bug #399927]
  3695. 2008-07-03 Jonathan Pobst <[email protected]>
  3696. * ScrollBar.cs: Change the LargeChange calculation to be correct.
  3697. Ensure we are using LargeChange instead of large_change so we our
  3698. calculations are correct.
  3699. [Fixes bug #403122]
  3700. 2008-07-03 Jonathan Pobst <[email protected]>
  3701. * TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
  3702. we need to ensure the ColumnCount/RowCount gets set.
  3703. [Fixes bug #404851]
  3704. 2008-07-02 Carlos Alberto Cortez <[email protected]>
  3705. * ListBox.cs: When handling item navigation, if selection mode is
  3706. None, call EnsureVisible, since scrolling is normally handled by
  3707. selection, that we are not calling in this case.
  3708. Fixes #398345.
  3709. 2008-07-02 Jonathan Pobst <[email protected]>
  3710. * ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
  3711. a null check to our focus walking code. [Fixes bug #394332]
  3712. 2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3713. * ComboBox.cs: Case missed in bug 379596 "Support item
  3714. navigation by entering text": On _close_ drop-down select
  3715. the first item matching the text in the textbox. [Fixes bug #397265]
  3716. 2008-07-02 Jonathan Pobst <[email protected]>
  3717. * DataGridView.cs: Fix a crash when sorting by column headers,
  3718. mentioned in bug #404841. Remove some dead switch cases.
  3719. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3720. * ComboBox.cs:
  3721. * TextBox.cs: Implement AutoComplete support for ComboBox, which just
  3722. uses the AutoComplete support in the internal TextBox. Also TextBox
  3723. can store a reference to ComboBox, in case AutoCompleteSource is set
  3724. to ListItems (this is, ComboBox's items, and we don't want to pass an
  3725. additional collection).
  3726. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3727. * ListViewItem.cs: Restore the initial value of bounds rect to
  3728. Rectangle.Empty, and is this value for Layout detection in virtual
  3729. mode. Fixes the tests.
  3730. 2008-06-30 Jonathan Pobst <[email protected]>
  3731. * XPlatUI.cs: Remove references to "new" X11 backend.
  3732. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3733. * Control.cs: Add an internal virtual OnDragDropEnd method
  3734. to allow controls such as ListBox, which depend on a sequence
  3735. of MouseDown+Move+End events, to handle the lack of a MouseUp
  3736. when a DnD operation is started in MouseDown.
  3737. * ListBox.cs: If a DnD operation is started in MouseDown we won't
  3738. get a MouseUp, so reset our state whenever a DnD operation ends.
  3739. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3740. * PropertyGrid.cs: Clear the root griditem first thing when
  3741. new object/s is/are selected. Fixes some rare cases where
  3742. the View will get a paint request and won't know that the
  3743. grid is in the process of repopulating.
  3744. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3745. * XplatUIX11.cs, InternalWindowManager.cs:
  3746. If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
  3747. doesn't automagically update the FormBorderStyle, so we must
  3748. double check the CreateParams explicitly to determine if the
  3749. window is a toolwindow.
  3750. * ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
  3751. instead of doing custom checks.
  3752. Fixes toolwindows for the test case in bug #402446
  3753. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3754. * Control.cs: Visibility of the control should be false
  3755. when the handle is destroyed in WmDestroy and not immediately
  3756. in Dispose(). This is effectively where the disposing process
  3757. ends even though the control is marked as Disposed immediately
  3758. after calling Dispose().
  3759. [Fixes bug #402446]
  3760. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3761. * PropertyGridTextBox.cs: Start monitoring the mouse clicks
  3762. when the textbox gets focus.
  3763. [Fixes bug #402704]
  3764. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3765. * PropertyGridTextBox.cs, PropertyGridView.cs:
  3766. - Alt + Down should show the drop down editor.
  3767. - Focus the editor when showing it
  3768. [Fixes bug #402710]
  3769. 2008-06-25 Jonathan Pobst <[email protected]>
  3770. * ThemeWin32Classic.cs: Fix from Andy for panel text for panels
  3771. that are not the first panel.
  3772. * StatusBar.cs: Ensure that the X coordinate of panels is always
  3773. stored. Fix IList implementation of StatusBarPanelCollection to
  3774. call the regular methods.
  3775. [Fixes bug #403599, #402165]
  3776. 2008-06-23 Jonathan Pobst <[email protected]>
  3777. * ThemeWin32Classic.cs: Fix position calculation for centered
  3778. text on status bar panels. [Fixes bug #402165]
  3779. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3780. * Splitter.cs: Fix Splitter to:
  3781. - Work for arbitrary splitter size
  3782. - Handle MinSize and MinExtra properly
  3783. - Get rid of absolute positioning during drag and use relative
  3784. - Multiple other fixes
  3785. [Fixes bug #338966]
  3786. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3787. * Cursor.cs: Show shouldn't hide the cursor.
  3788. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3789. * ListViewItem.cs: When invalidating, add some extra space to bounds,
  3790. since focus rectangle and selection can add some space and need to
  3791. take into account those small offsets - specially in Details view.
  3792. * ListView.cs: Instead of invalidate using item Bounds directly, call
  3793. item.Invalidate, to have the code centralized.
  3794. Fixes focused/selection garbage when selecting and deselecting items
  3795. that are close.
  3796. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3797. * ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
  3798. mode we can check whether we have to force a Layout or not, and can
  3799. cache based on this, instead of avoiding caching all the the time. Do
  3800. this check in GetBounds and TextBounds.
  3801. Fixes selection in Details view.
  3802. 2008-06-20 Carlos Alberto Cortez <[email protected]>
  3803. * ListView.cs: Make HeaderControl internal, thus the theme engine can
  3804. get its *real* height instead of trying to infere it.
  3805. * ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
  3806. get the position of them, since it's in general a bad idea in general,
  3807. and because we can't do that in virtual mode. Instead get the first
  3808. visible item as well as item height, and draw them.
  3809. Fixes #400390.
  3810. 2008-06-20 Jonathan Pobst <[email protected]>
  3811. * ToolStripSplitButton.cs: We can't add in extra width if
  3812. the button is not AutoSize. [Fixes bug #401279]
  3813. 2008-06-20 Ivan N. Zlatev <[email protected]>
  3814. * PaddingConverter.cs:
  3815. - Implement conversion to InstanceDescriptor
  3816. - Handle "All" in CreateInstance by using the supplied
  3817. ITypeDescriptorContext.
  3818. [Fixes bugs #396076 and #396078]
  3819. Patch by Andy Hume <[email protected]>
  3820. Code contributed under MIT/X11 license.
  3821. 2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3822. * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
  3823. ButtonBase.cs:
  3824. Add Category attributes.
  3825. Code is contributed under the MIT/X11 license.
  3826. 2008-06-18 Ivan N. Zlatev <[email protected]>
  3827. * Form.cs:
  3828. - Fix a NRE when unparenting a form.
  3829. - Do not recreate or destroy a parented form when
  3830. unparenting.
  3831. 2008-06-18 Carlos Alberto Cortez <[email protected]>
  3832. * TextBox.cs: Implement basic support for AutComplete with custom
  3833. sources.
  3834. 2008-06-18 Jonathan Pobst <[email protected]>
  3835. * ToolStripSplitButton.cs: Left and Top of ButtonBounds, SplitterBounds,
  3836. DropDownButtonBounds should be from the origin of the button, not the
  3837. ToolStrip. [Fixes bug #401279]
  3838. 2008-06-16 Sandy Armstrong <[email protected]>
  3839. * X11DesktopColors.cs: Clear GTK_MODULES environment variable before
  3840. running gtk_init_check. This prevents GAIL from loading
  3841. unnecessarily, which was breaking UIA support. Initial fix for bug
  3842. #375987.
  3843. * Application.cs: Add UIA support to Winforms. New static constructor
  3844. uses reflection to initialize UIAutomationWinforms assembly. Added
  3845. PreRun event so UIA can initialize before the mainloop starts, and
  3846. FormAdded event so UIA can provide a11y support for new Forms in an
  3847. Application.
  3848. 2008-06-16 Jonathan Pobst <[email protected]>
  3849. * DataGridView.cs: When binding to a dataset, subscribe to table
  3850. and column change events. Unsubscribe to these when we clear bindings.
  3851. [Fixes bug #399601]
  3852. 2008-06-14 Everaldo Canuto <[email protected]>
  3853. [DataGrid drawing refactory]
  3854. * DataGrid.cs: Fix the caption size, we need one pixel more for divider.
  3855. * DataGridColumnStyle.cs: Removing PaintHeader code, the draw operations
  3856. must be handle by Theme, now it call DataGridPaintColumnHeader.
  3857. * DataGridTextBoxColumn.cs: Fix the textbox size. It must be one pixel less,
  3858. test cases must be also fixed because it checks for wrong size.
  3859. * ThemeWin32Classic.cs:
  3860. - Draw the bottom line of grid caption.
  3861. - Prevent to draw caption text when it is empty.
  3862. - Use CPDrawBorder3D for 3D efects to simplify code.
  3863. - Uses 3D (when not flat) to paint corner shared between row and column
  3864. header.
  3865. - Fix header drawing issues on win32, now borders are drawing.
  3866. - Fix column header paint issues to mimic win32.
  3867. - Adjust header drawing for last column, like first one it must be draw
  3868. different.
  3869. - Added DataGridPaintRowHeaderStar to draw star like .net does, it is
  3870. not an character.
  3871. - DataGridPaintColumnHeader created to draw column headers, it also
  3872. paint stuff right on Win32.
  3873. - Use DataGridPaintColumnHeader method instead of DataGridColumnStyle
  3874. class.
  3875. * Theme.cs:
  3876. - DataGridPaintRowHeaderStar method added.
  3877. - DataGridPaintColumnHeader method added.
  3878. 2008-06-13 Jonathan Pobst <[email protected]>
  3879. * Control.cs: Don't reset to Dock style layout if DockStyle is
  3880. set to none. [Fixes bug #399316]
  3881. 2008-06-12 Everaldo Canuto <[email protected]>
  3882. * Win32DnD.cs: Fix the check for control not equal null.
  3883. Fixes bug #341420 and #381886.
  3884. 2008-06-12 Jonathan Pobst <[email protected]>
  3885. * DataGridViewRowCollection.cs: Update the indexes of rows after
  3886. one has been removed.
  3887. * DataGridViewSelectedRowCollection.cs: Add internal clear method.
  3888. * DataGridViewSelectedColumnCollection.cs: Add internal clear method.
  3889. * DataGridView.cs: Add support for deleting rows via Delete key, deleting
  3890. rows for the Rows collection, or deleting rows from the bound DataSet.
  3891. 2008-06-12 Jonathan Pobst <[email protected]>
  3892. * DataGridView.cs: Listen to a DataSet's changed event even
  3893. when autogeneratecolumns is false. Refactor the changed event's
  3894. add row code to use the same as the existing add row code.
  3895. [Fixes bug #399601]
  3896. 2008-06-11 Jonathan Pobst <[email protected]>
  3897. * TextBoxBase.cs: We need to call RaiseSelectionChanged pretty
  3898. much any time the caret moves and there is text, not just when
  3899. the selection changes as one would think.
  3900. * RichTextBox.cs: Override RaiseSelectionChanged and fire
  3901. SelectionChanged.
  3902. [Fixes bug #397271]
  3903. 2008-06-11 Jonathan Pobst <[email protected]>
  3904. * FontDialog.cs: Forward ListBox keyboard events to the ListBox
  3905. instead of trying to duplicate the code.
  3906. * ListBox.cs: Make method internal so we can send keyboard events.
  3907. [Fixes bug #398344]
  3908. 2008-06-11 Jonathan Pobst <[email protected]>
  3909. * TextBoxBase.cs: When pasting and checking the max length,
  3910. subtract the selected text length (the text we will be replacing) from
  3911. the document length.
  3912. * TextControl.cs: Ensure every character insertion is reflected in
  3913. charcount, so max length will work properly.
  3914. [Fixes bug #398605]
  3915. 2008-06-11 Jonathan Pobst <[email protected]>
  3916. * ListBox.cs: Ensure scrollbars are updated when a single
  3917. column listbox with an already set top-index is created.
  3918. [Fixes bug #398342]
  3919. 2008-06-11 Jonathan Pobst <[email protected]>
  3920. * FontDialog.cs: Typing in the font/style textboxes should search
  3921. the list boxes case-insensitively. [Fixes bug #398343]
  3922. 2008-06-11 George Giolfan <[email protected]>
  3923. * ThemeWin32Classic.cs: Managed window title bar layout now uses actual
  3924. widths of icon and buttons instead of hard coded values.
  3925. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3926. * ListBox.cs: When SelectionMode is None, clicking an item should move focus
  3927. as well as generating a SelectedIndexChanged event, just like .Net does
  3928. -surprise-.
  3929. Fixes #398345.
  3930. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3931. * ListBox.cs: When navigating items visually, use FocusedItem as the
  3932. reference point instead of SelectedIndex, since even in
  3933. SelectionMode.None we need to support navigation, and in that case we
  3934. just can't use SelectedIndex.
  3935. Fixes part of #398345.
  3936. 2008-06-10 Jonathan Pobst <[email protected]>
  3937. * Control.cs: Make a SetBoundsInternal that avoids the new
  3938. SetBounds code.
  3939. * ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
  3940. SetBoundsInternal instead of SetBoundsCoreInternal.
  3941. 2008-06-10 Ivan N. Zlatev <[email protected]>
  3942. * ScrollableControl.cs: Use SetBoundsCoreInternal instead of
  3943. SetBounds for the scrollbars.
  3944. 2008-06-10 Andreia Gaita <[email protected]>
  3945. * HtmlDocument.cs: Implement RightToLeft, ContextMenuShowing,
  3946. FocusingEvent, LosingFocusEvent, OnMouseDown, OnMouseLeave,
  3947. OnMouseMove, OnMouseOver, OnMouseUp
  3948. * HtmlElement.cs: Optimize InsertBefore. Implement RemoveFocus,
  3949. ScrollIntoView, Focusing, GotFocus, LosingFocus, LostFocus.
  3950. * HtmlElementCollection.cs, HtmlWindowCollection.cs: Keep a reference
  3951. to the WebControl object to pass to new collection objects
  3952. * HtmlHistory.cs: Implement support for individual window histories.
  3953. * HtmlWindow.cs: Implement History, Position, Size, WindowFrameElement,
  3954. AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
  3955. GotFocus, LostFocus, OnLoad, OnUnload
  3956. * WebBrowser.cs: Implement EncryptionLevel, ScrollBarsEnabled,
  3957. ContextMenu
  3958. * WebBrowserBase.cs: Implement Cursor, Enabled, UseWaitCursor, Add
  3959. security level changes and context menu event support.
  3960. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3961. * ComboBox.cs: Pressing Enter should close the dropdown listbox, just
  3962. as happens with Esc, patch my Andy Hume.
  3963. Fixes #396294.
  3964. 2008-06-10 George Giolfan <[email protected]>
  3965. * MdiWindowManager.cs: DrawMaximizedButtons now uses
  3966. ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
  3967. * Theme.cs: Made MenuButtonSize platform dependent. Added
  3968. ManagedWindowButtonSize.
  3969. * ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
  3970. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
  3971. 2008-06-10 George Giolfan <[email protected]>
  3972. * DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
  3973. Added support for rendering with VisualStyles.
  3974. 2008-06-10 George Giolfan <[email protected]>
  3975. * ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  3976. support for rendering the border with VisualStyles.
  3977. 2008-06-10 George Giolfan <[email protected]>
  3978. * InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
  3979. the icon is not shown.
  3980. * ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
  3981. its own logic.
  3982. 2008-06-10 George Giolfan <[email protected]>
  3983. * InternalWindowManager.cs: Draw minimized windows even if they don't have
  3984. borders.
  3985. 2008-06-09 Jonathan Pobst <[email protected]>
  3986. * ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
  3987. 2008-06-09 Jonathan Pobst <[email protected]>
  3988. * Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
  3989. [Fixes bug #397943]
  3990. 2008-06-06 Carlos Alberto Cortez <[email protected]>
  3991. * ComboBox.cs: When snaping height -because of IntegralHeight set to
  3992. true- with ComboBoxStyle.Simple, set the height to PreferredHeight
  3993. if the requested height leaves the listbox area with *less* than the
  3994. required are to see one item. We were setting it to PreferredHeight
  3995. even for values matching the height for a single item.
  3996. Fixes #396297.
  3997. 2008-06-06 Jonathan Pobst <[email protected]>
  3998. * DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.
  3999. 2008-06-06 Jonathan Pobst <[email protected]>
  4000. * DataGridViewCell.cs: Use property instead of field.
  4001. 2008-06-06 George Giolfan <[email protected]>
  4002. * InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
  4003. null checks.
  4004. 2008-06-06 George Giolfan <[email protected]>
  4005. * Theme.cs: Added #region around the managed window code. Made the managed
  4006. window methods abstract.
  4007. * ThemeWin32Classic.cs: Added #region around the managed window code.
  4008. 2008-06-06 George Giolfan <[email protected]>
  4009. * InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
  4010. if it has borders.
  4011. * ThemeWin32Classic.cs: Removed HasBorders checks in
  4012. DrawManagedWindowDecorations.
  4013. 2008-06-06 George Giolfan <[email protected]>
  4014. * InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  4015. Extracted ManagedWindowGetTitleBarIconArea.
  4016. 2008-06-05 Jonathan Pobst <[email protected]>
  4017. * DataGridViewCellStyle.cs: Don't clone the font.
  4018. 2008-06-05 Jonathan Pobst <[email protected]>
  4019. * DataGridViewCell.cs: Ensure we don't pass null to GetConverter.
  4020. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  4021. * XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
  4022. also on 64 bit machinges. Fixes the BadWindow errors while scrolling
  4023. in 64 bit machines.
  4024. 2008-06-05 Jonathan Pobst <[email protected]>
  4025. * DataGridViewCell.cs: Correctly get converters for FormattedValue.
  4026. Use Format/FormatProvider before trying converters.
  4027. * DataGridViewCellStyle.cs: ApplyStyle should only apply things that
  4028. are 'set'. Change constructor to not use ApplyStyle since it wants
  4029. everything applied. Clone the Font.
  4030. * DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
  4031. ApplyStyle the rest.
  4032. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  4033. * ListView.cs: We need to calculate the scrollbars even if the handle
  4034. hasn't been created - this is needed when methods using scrollbars
  4035. info, such EnsureVisible, are called before control has been created.
  4036. Fixes #397272.
  4037. 2008-06-05 George Giolfan <[email protected]>
  4038. * ThemeVisualStyles.cs: ScrollBar is now rendered with the VisualStyles API
  4039. only if the elements are defined.
  4040. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  4041. * ComboBox.cs: I'm an idiiot - forgot to commit the last ComboBox
  4042. section. Also, when setting bounds, snap height as well as save the
  4043. requested height if Dock has any value affecting the height: Left,
  4044. Right and Bottom - important if using IntegralHeight as true.
  4045. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  4046. * ComboBox.cs: When calling UpdateComboBoxBounds, adjust the height
  4047. passed to SetBounds to reflect the new adjusted height (Integral-wise),
  4048. instead of doing that only in our SetBoundsCore override, since the
  4049. bounds cached can be the same as saved one and we could not get the
  4050. new height applied.
  4051. Fixes #396297.
  4052. 2008-06-04 George Giolfan <[email protected]>
  4053. * Theme.cs: Made ToolWindowCaptionButtonSize platform dependent.
  4054. * XplatUI.cs: Added ToolWindowCaptionButtonSize.
  4055. * XplatUIDriver.cs: Changed SmallCaptionButtonSize to 15,15. Added
  4056. ToolWindowCaptionButtonSize.
  4057. * XplatUIWin32.cs: Added ToolWindowCaptionButtonSize.
  4058. 2008-06-04 George Giolfan <[email protected]>
  4059. * MdiWindowManager.cs: Now uses SystemInformation.DoubleClickTime instead of
  4060. hard coded values.
  4061. * Theme.cs: Made DoubleClickTime plaform dependent.
  4062. 2008-06-04 George Giolfan <[email protected]>
  4063. * Theme.cs: Made ToolWindowCaptionHeight platform dependent.
  4064. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  4065. ToolWindowCaptionHeight.
  4066. 2008-06-04 George Giolfan <[email protected]>
  4067. * InternalWindowManager.cs: The adjustment to ensure positive client area
  4068. sizes is now platform dependent (disabled on Windows).
  4069. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  4070. RequiresPositiveClientAreaSize.
  4071. 2008-06-04 George Giolfan <[email protected]>
  4072. * Form.cs: Fixed null handling in Icon (see SettingIconToNull in the tests).
  4073. 2008-06-04 George Giolfan <[email protected]>
  4074. * InternalWindowManager.cs: Changed IconicSize to use
  4075. SystemInformation.MinimizedWindowSize.
  4076. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinimizedWindowSize.
  4077. * XplatUIDriver.cs: Changed MinimizedWindowSize to provide a default value.
  4078. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  4079. * ComboBox.cs: If the combobox is anchored both on top and bottom,
  4080. adjust height if IntegralHeight is true when calling SetBoundsCore (as
  4081. likely the height was modified even if Height wasn't specified in
  4082. BoundsSpecified parameter).
  4083. Fixes part of #396297.
  4084. 2008-06-04 George Giolfan <[email protected]>
  4085. * InternalWindowsManager.cs: Changed minimum window size while resizing to
  4086. SystemInformation.MinWindowTrackSize.
  4087. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinWindowTrackSize.
  4088. * XplatUIDriver.cs: Changed MinWindowTrackSize to provide a default value.
  4089. 2008-06-03 George Giolfan <[email protected]>
  4090. * MenuItem.cs: Fixed Dispose.
  4091. 2008-06-03 George Giolfan <[email protected]>
  4092. * ColumnHeader.cs: CalcColumnHeader now uses the theme to get the height.
  4093. * DataGridView.cs: * EnableHeadersVisualStyles: Fixed default value.
  4094. EnteredHeaderCell, PressedHeaderCell: Added.
  4095. * DataGridViewCell.cs: Refactored: Extracted GetBorderPen.
  4096. * DataGridViewColumnHeaderCell.cs, DataGridViewRowHeaderCell.cs: Gave the
  4097. theme a chance to override default painting.
  4098. * ListView.cs: Added EnteredColumnHeader. Refactored: Extracted
  4099. GetColumnHeaderInvalidateArea, Invalidate(ColumnHeader).
  4100. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added members for
  4101. ListView and DataGridView header rendering.
  4102. 2008-06-03 Ivan N. Zlatev <[email protected]>
  4103. * RichTextBox.cs: GetPositionFromCharIndex should return the
  4104. visual position of the character relative to the viewport.
  4105. [Fixes part of bug #396664]
  4106. 2008-06-03 Ivan N. Zlatev <[email protected]>
  4107. * GridEntry.cs: Make HasCustomEditor check for EditStyle != None
  4108. and not just for the existance of an UITypeEditor. In some cases
  4109. there is an editor associated just to do PaintValue, but which
  4110. doesn't actually support editing.
  4111. [Fixes bug #396632]
  4112. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  4113. * ComboBox.cs: page_size as well as vscrollbar.LargeChange should be 1
  4114. if needed, instead of 0 - this should help us in the corner case where
  4115. we have more than one item but we are only partially showing 1 item.
  4116. Fixes part of #374713.
  4117. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  4118. * XplatUiX11.cs: When scrolling and detecting the obscured areas in a
  4119. control, return immediately if the any parent control's handle hasn't
  4120. been created or isn't visible, as well as avoiding creating the parent
  4121. Form if the handle hasn't been previously created.
  4122. Fixes tests.
  4123. 2008-06-02 Jonathan Pobst <[email protected]>
  4124. * TableLayoutPanel.cs: Use border sizes when calculating the
  4125. panel's preferred size. [Fixes part of bug #396433]
  4126. 2008-06-02 Ivan N. Zlatev <[email protected]>
  4127. * SplitContainer.cs:
  4128. - Fix SplitterDistance to update only if needed.
  4129. - Make it force min and max validation.
  4130. - Handle properly mouse moves outside the resizeable area.
  4131. [Fixes bug #396232]
  4132. 2008-06-02 Andreia Gaita <[email protected]>
  4133. * WebBrowserBase.cs: Implement support for ScriptErrorsSuppressed
  4134. (which also suppresses all popup dialogs). Throw NotSupported
  4135. exceptions for activex getters/setters.
  4136. * WebBrowser.cs: Implement DocumentStream, DocumentType, IsBusy,
  4137. IsOffline, ReadyState, ScriptErrorsSuppressed, ScrollbarsEnabled,
  4138. StatusText, Version, GoSearch
  4139. * HtmlDocument.cs: Add DocType support
  4140. 2008-06-02 Andy Hume <[email protected]>
  4141. * TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
  4142. [Fixes bug 396124]
  4143. 2008-06-02 Ivan N. Zlatev <[email protected]>
  4144. * GridEntry.cs: Pass the ITypeDescriptorContext everywhere.
  4145. 2008-06-02 Jonathan Pobst <[email protected]>
  4146. * TableLayoutPanel.cs: When calculating preferred size, use the
  4147. actual number of columns and rows, not what the user set them to.
  4148. [Fixes bug #396141]
  4149. 2008-06-02 George Giolfan <[email protected]>
  4150. * Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
  4151. 394311.
  4152. 2008-06-01 Carlos Alberto Cortez <[email protected]>
  4153. * XplatUIX11.cs: When detecting areas obscured in a control by other
  4154. toplevel windows while scrolling, return if the control hasn't a
  4155. container form.
  4156. Fixes some tests.
  4157. 2008-05-01 Carlos Alberto Cortez <[email protected]>
  4158. * XplatUIX11.cs: Properly detect the visible area of a control being
  4159. scrolled (obscured by other winforms controls and any X toplevel
  4160. windows), to mark as invalid the requested area to be scrolled that
  4161. isn't visible and thus can't be copied.
  4162. Fixes #324513.
  4163. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  4164. * ListBox.cs: Compute the precise amount to vertically scroll when
  4165. using DrawMode.OwnerDrawVariable.
  4166. Patch by jkeymer ([email protected]).
  4167. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  4168. * ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
  4169. to avoid setting an invalid value for the verticall scrollbar
  4170. when navigating items. And, duh, also remove my silly debug messages
  4171. from previous commits.
  4172. Fixes #374713.
  4173. 2008-05-30 Ivan N. Zlatev <[email protected]>
  4174. * FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
  4175. make it MS compatible.
  4176. 2008-05-30 Ivan N. Zlatev <[email protected]>
  4177. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
  4178. - Allow the editing of entries even if their parent is read-only.
  4179. - Do not render expandable properties read-only.
  4180. - Refactor expansion checks form PropertyGrid into PropertyGrid.
  4181. 2008-05-30 George Giolfan <[email protected]>
  4182. * ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  4183. support for the hover style.
  4184. 2008-05-29 Andreia Gaita <[email protected]>
  4185. * ContainerControl.cs: Check for null dead-end when traversing the tree
  4186. of parent controls.
  4187. [Fixes #394332, patch by Ernesto Carrea]
  4188. 2008-05-29 Geoff Norton <[email protected]>
  4189. * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
  4190. constant that it is. Fixes #393981
  4191. 2008-05-29 Jonathan Pobst <[email protected]>
  4192. * Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
  4193. that the user probably doesn't want to set this.
  4194. 2008-05-29 Jonathan Pobst <[email protected]>
  4195. * ThemeWin32Classic.cs: Don't let the text size be bigger than
  4196. the control size for CheckBox/RadioBox.
  4197. [Fixes part of bug #394645]
  4198. 2008-05-29 Ivan N. Zlatev <[email protected]>
  4199. * PropertyGrid.cs: Update the state of the sorting buttons in
  4200. the toolbar if PropertySort is set programatically.
  4201. 2008-05-29 Ivan N. Zlatev <[email protected]>
  4202. * GridItemCollection.cs: Add multiple items with conflicting names
  4203. support and also preserve name ordering.
  4204. [Fixes #395345]
  4205. 2008-05-29 Ivan N. Zlatev <[email protected]>
  4206. * GridItemCollection.cs: Revert my multiple items with same
  4207. name patch.
  4208. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  4209. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  4210. or middle ones.
  4211. Fixes part of #393908.
  4212. 2008-05-28 Jonathan Pobst <[email protected]>
  4213. * ToolStripDrowDown.cs: When using the Show () methods that have a
  4214. Control parameter, set the menu owner to that Control.
  4215. [Fixes bug #394345]
  4216. 2008-05-28 Ivan N. Zlatev <[email protected]>
  4217. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  4218. [Fixes bug #362756]
  4219. 2008-05-27 Ivan N. Zlatev <[email protected]>
  4220. * GridItemCollection.cs: Refactor to support multiple items with the
  4221. same name.
  4222. [Fixes bug #394314]
  4223. 2008-05-27 Jonathan Pobst <[email protected]>
  4224. * Control.cs: The 2.0 check for illegal cross thread calls in
  4225. Control.Handle were throwing an exception when we were getting
  4226. the Handle in order to invoke correctly. Created a private
  4227. version that does not contain this check.
  4228. [Fixes bug #394531]
  4229. 2008-05-27 Ivan N. Zlatev <[email protected]>
  4230. * PropertyGrid.cs: Respect DefaultTabType.
  4231. 2008-05-27 Ivan N. Zlatev <[email protected]>
  4232. * ListView.cs: SPACE selects an item.
  4233. [Fixes bug #393023]
  4234. 2008-05-27 Ivan N. Zlatev <[email protected]>
  4235. * ListView.cs: Reset the search string whenever the items are
  4236. modified.
  4237. [Fixes bug #393020]
  4238. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  4239. * ListControl.cs: For the first added item PositionChanged is fired
  4240. _before_ ItemChanged, which leave us in a temporary invalid state - so
  4241. we need to set the selected index from ItemChanged handler *if* we
  4242. know that the first item has just been added *and* the items have been
  4243. actually added to the ListControl.
  4244. Fixes #369048.
  4245. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  4246. * TabControl.cs: Only clicks with the left button should be
  4247. handled.
  4248. Fixes #393908.
  4249. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  4250. * ComboBox.cs:
  4251. * FIleDialog.cs:
  4252. * TextBox.cs: Expose an internal method in TextBox to restore the
  4253. original context menu, and call it from ComboBox to re-use it in the
  4254. combobox containing the file name in FileDialog.cs.
  4255. Fixes part of #393775.
  4256. 2008-05-24 George Giolfan <[email protected]>
  4257. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  4258. style.
  4259. 2008-05-24 George Giolfan <[email protected]>
  4260. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  4261. down button style.
  4262. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  4263. * ComboBox.cs: Minor correction to previous patch: PageDown should
  4264. also *try* to move by one item if the computed offset is negative,
  4265. just like the PageUp case.
  4266. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  4267. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  4268. should be done for at least 1 item, and not stay at the same item.
  4269. Fixes part of #374713.
  4270. 2008-05-23 Jonathan Pobst <[email protected]>
  4271. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  4272. directories. [Fixes bug #393931]
  4273. 2008-05-22 Andreia Gaita <[email protected]>
  4274. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  4275. Don't fire events until the initial about:blank page has finished
  4276. loading. Clean up events.
  4277. 2008-05-22 Atsushi Enomoto <[email protected]>
  4278. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  4279. FocusIn() too. This should fix the issue on switching
  4280. scim keyboards.
  4281. 2008-05-22 Atsushi Enomoto <[email protected]>
  4282. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  4283. number (ideally the input textbox size, but that could be
  4284. too messy).
  4285. 2008-05-22 Jonathan Pobst <[email protected]>
  4286. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  4287. the ToolStripItem's TextChanged. [Fixes bug #393597]
  4288. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  4289. * TabControl.cs: When invalidating in SelectedIndex and we need to
  4290. inflate to take into account the border of the tabs, make sure that
  4291. the invalidated rect doesn't overflow the control bounds, since that
  4292. would avoid updating at all.
  4293. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  4294. * TabControl.cs: Don't substract scroller width from the row width,
  4295. since we need to take into account the total width of the control when
  4296. calculating the position of the tabs. This avoids showing scroller
  4297. when it is actually not needed.
  4298. Fixes part of #322325.
  4299. 2008-05-21 George Giolfan <[email protected]>
  4300. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  4301. 2008-05-21 George Giolfan <[email protected]>
  4302. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  4303. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  4304. 2008-05-21 Jonathan Pobst <[email protected]>
  4305. * DataGridView.cs: Only paint the top left header cell if there
  4306. are columns.
  4307. 2008-05-21 Jonathan Pobst <[email protected]>
  4308. * DataGridView.cs: When binding to a BindingSource, get the underlying
  4309. list to bind to. [Fixes bug #345483]
  4310. 2008-05-21 Jonathan Pobst <[email protected]>
  4311. * DataGridView.cs: Do not bind to collection properties.
  4312. [Fixes bug #337470]
  4313. 2008-05-21 George Giolfan <[email protected]>
  4314. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  4315. 2008-05-21 George Giolfan <[email protected]>
  4316. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  4317. thumb style.
  4318. 2008-05-21 George Giolfan <[email protected]>
  4319. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  4320. 2008-05-21 George Giolfan <[email protected]>
  4321. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  4322. background.
  4323. 2008-05-21 George Giolfan <[email protected]>
  4324. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  4325. 2008-05-21 George Giolfan <[email protected]>
  4326. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  4327. checked styles.
  4328. 2008-05-21 George Giolfan <[email protected]>
  4329. * TabControl.cs: Extended to handle the hot style.
  4330. 2008-05-21 George Giolfan <[email protected]>
  4331. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  4332. Extended UpDownBase code to handle hot and disabled styles.
  4333. 2008-05-20 Jonathan Pobst <[email protected]>
  4334. * DataGridView.cs: Handle databinding to generic list type things.
  4335. [Fixes bug #325239]
  4336. 2008-05-20 Jonathan Pobst <[email protected]>
  4337. * DataGridViewCellCollection.cs: Add a method to find the cell
  4338. with the given DataPropertyName.
  4339. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  4340. * DataGridViewColumnCollection.cs: Add a method to clear all
  4341. autogenerated columns.
  4342. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  4343. columns.
  4344. [Fixes bug #348082]
  4345. 2008-05-20 Jonathan Pobst <[email protected]>
  4346. * DataGridView.cs: Don't try to update the RowTemplate with
  4347. a null CellTemplate.
  4348. 2008-05-20 Jonathan Pobst <[email protected]>
  4349. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  4350. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  4351. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  4352. a DataSet.
  4353. 2008-05-20 Jonathan Pobst <[email protected]>
  4354. * Control.cs: Remove invalidating implicit child controls when
  4355. control is invalidated. It was causing too many redraws on
  4356. controls with implicit scrollbars.
  4357. * ListView.cs: Listen to the Invalidated event and invalidate
  4358. child controls.
  4359. 2008-05-20 Andreia Gaita <[email protected]>
  4360. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  4361. * HtmlDocument.cs: Check for nulls
  4362. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  4363. * Control.cs: In ControlCollection.RemoveInternal, remove the
  4364. internal control before calling PerformLayout and OnControlRemoved,
  4365. which was leaving us in an invalid state and causing a X error (bad
  4366. match). Observe that Remove () call has the same order.
  4367. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  4368. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  4369. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  4370. being fired if ControlStyles.UserPaint style is activated.
  4371. Fixes #371905.
  4372. 2008-05-19 Ivan N. Zlatev <[email protected]>
  4373. * GridEntry.cs: Don't be so strict when setting the value -
  4374. do not check if what we set is what we get.
  4375. [Fixes bug #389245]
  4376. 2008-05-19 Ivan N. Zlatev <[email protected]>
  4377. * XplatUIX11.cs: If there are no timers timeout should be 0
  4378. [Fixes bug #363522]
  4379. 2008-05-19 Jonathan Pobst <[email protected]>
  4380. * Control.cs: As a followup to invalidating implicit children when
  4381. a control is invalidated, only invalidate them if they are in the
  4382. clip rectangle.
  4383. 2008-05-19 George Giolfan <[email protected]>
  4384. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  4385. 2008-05-19 George Giolfan <[email protected]>
  4386. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  4387. 2008-05-19 George Giolfan <[email protected]>
  4388. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  4389. * XplatUIWin32.cs: Made Win32DeleteObject public.
  4390. 2008-05-19 Ivan N. Zlatev <[email protected]>
  4391. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  4392. PropertyDescriptor.ShouldSerializeValue.
  4393. [Fixes bug #391924]
  4394. 2008-05-19 George Giolfan <[email protected]>
  4395. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  4396. in the classic theme.
  4397. 2008-05-19 George Giolfan <[email protected]>
  4398. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  4399. ThumbPressed.
  4400. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  4401. ScrollBarHasPressedThumbStyle.
  4402. 2008-05-19 George Giolfan <[email protected]>
  4403. * TextRenderer.cs: Included some methods in the 1.1 profile.
  4404. 2008-05-19 Jonathan Pobst <[email protected]>
  4405. * Control.cs: When we make a control visible, it may have been
  4406. previously visible and while it wasn't visible, the z-order of
  4407. things may have been shuffled, so the control needs to have its
  4408. z-order updated just in case. [Fixes bug #391518]
  4409. 2008-05-19 George Giolfan <[email protected]>
  4410. * ThemeVisualStyles.cs: Added support for GroupBox.
  4411. 2008-05-19 George Giolfan <[email protected]>
  4412. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  4413. 2008-05-16 Atsushi Enomoto <[email protected]>
  4414. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  4415. bug #389996; XSelectInput() behaved as mouse handler robber,
  4416. so remove extra call to it.
  4417. 2008-05-15 Jonathan Pobst <[email protected]>
  4418. * Control.cs: Simplify ControlCollection.Contains method.
  4419. 2008-05-15 Jonathan Pobst <[email protected]>
  4420. * DataGridViewRow.cs: Implement GetPreferredSize.
  4421. 2008-05-15 Jonathan Pobst <[email protected]>
  4422. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  4423. 2008-05-15 Jonathan Pobst <[email protected]>
  4424. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  4425. painting and edit control fixes.
  4426. 2008-05-14 Jonathan Pobst <[email protected]>
  4427. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  4428. checks to make sure we are in an actual row/col for top left header cell.
  4429. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  4430. 2008-05-14 Jonathan Pobst <[email protected]>
  4431. * Control.cs: Use long instead of int when handling WParam from
  4432. mousewheel scrolling. Int was overflowing on Win64.
  4433. 2008-05-14 Jonathan Pobst <[email protected]>
  4434. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  4435. flow panel without scrolling first, and then calculate the
  4436. scrolling based on the new layout. [Fixes bug #390149]
  4437. 2008-05-14 Jonathan Pobst <[email protected]>
  4438. * ListBox.cs: Invalidate after scrolling up when selected index
  4439. changes. [Fixes bug #390151]
  4440. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  4441. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  4442. set, default height to 150. I tried first with DefaultSize, but this
  4443. is not generating a SetBoundsCore call before handle creation time, so
  4444. we can take it into account. This is just what .net does.
  4445. 2008-05-13 Jonathan Pobst <[email protected]>
  4446. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  4447. as it broke some stuff. Calberto is filing a bug for eno to
  4448. work with.
  4449. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  4450. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  4451. to 0 is the current value is -1, and if style is not Simple, just
  4452. return, like .net does.
  4453. Fixes part of #374713.
  4454. 2008-05-13 Jonathan Pobst <[email protected]>
  4455. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  4456. progress bar stuffs, use doubles instead of ints to prevent
  4457. overflow. [Fixes bug #389798]
  4458. 2008-05-13 Atsushi Enomoto <[email protected]>
  4459. * XplatUIX11.cs, X11Keyboard.cs :
  4460. Significant refactoring on XIM support. Now IM engine UI
  4461. should show up, at mostly-correct preedit position.
  4462. - Eliminated use of FocusWindow, as it is never mapped
  4463. and hence blocks correct preedit position. XIC is now
  4464. created per window, and it must be destroyed too when
  4465. the window is destroyed.
  4466. - WM_QUIT messages should not be filtered even when hwnd
  4467. is zombie. Filtering it could cause endless loop.
  4468. - Preedit position must move only when the window is alive.
  4469. - Make it IDisposable and make sure to release XIM/XICs.
  4470. 2008-05-13 Atsushi Enomoto <[email protected]>
  4471. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  4472. XplatUIX11.cs, XplatUIWin32.cs :
  4473. fix for bug #325033 and #387693;
  4474. - WM_QUIT should not be sent when no running application
  4475. exists.
  4476. - SetTimer/KillTimer (especially on win32) should be
  4477. invoked for the window that the timer is/will_be attached.
  4478. - There could be unattached timers to a window when it's
  4479. started. For those timers, hold pending timers and when
  4480. a window is mapped, attach them to it.
  4481. - WaitForHwndMessage() could run into loop when
  4482. WM_SHOWWINDOW is handled before this method is called.
  4483. So, strictly check wm_showwindow state.
  4484. - Tick handler should not be invoked while one Tick handler
  4485. call is still running (introduced Busy state).
  4486. 2008-05-13 Andreia Gaita <[email protected]>
  4487. * WebBrowserBase.cs: Override Internal alternative methods for
  4488. SetBoundsCore and OnResize instead of the protected ones.
  4489. * Control.cs: Move SetBoundsCore and OnResize implementations to
  4490. SetBoundsCoreInternal and OnResizeInternal, so they can be
  4491. overriden internally (WebBrowserBase needs to catch them but can't
  4492. override the protected methods without api compat problems)
  4493. 2008-05-13 Andreia Gaita <[email protected]>
  4494. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  4495. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  4496. * Binding.cs:
  4497. * ListView.cs: Remove debug messages.
  4498. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  4499. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  4500. area is empty. Also calculate scrollbars in Simple mode based in area
  4501. height and total number of items, not in MaxDropDownItems.
  4502. Fixes part of #371991.
  4503. 2008-05-12 Jonathan Pobst <[email protected]>
  4504. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  4505. 2008-05-12 Jonathan Pobst <[email protected]>
  4506. * BindingSource.cs: GetListSortDescription is not public.
  4507. 2008-05-12 Jonathan Pobst <[email protected]>
  4508. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  4509. 2008-05-12 Jonathan Pobst <[email protected]>
  4510. * HtmlElement.cs: Fix parameter names to match MS.
  4511. * HtmlWindowCollection.cs: Should not be sealed.
  4512. 2008-05-12 Jonathan Pobst <[email protected]>
  4513. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  4514. button, because the thumb button will not get drawn if the scrollbar
  4515. is disabled. [Fixes bug #389262]
  4516. 2008-05-12 Jonathan Pobst <[email protected]>
  4517. * ListBox.cs: Handle End key for multi-column listboxen.
  4518. [Fixes bug #389266]
  4519. 2008-05-12 Jonathan Pobst <[email protected]>
  4520. * ListBox.cs: Fix algorithm to determine which column our item is in.
  4521. [Fixes bug #389265]
  4522. 2008-05-12 Jonathan Pobst <[email protected]>
  4523. * ListBox.cs: Invalidate when the listbox is resized.
  4524. [Fixes bug #389256]
  4525. 2008-05-12 Jonathan Pobst <[email protected]>
  4526. * ListBox.cs: There is always at least one row in the ListBox (if
  4527. we are doing these calculations.) [Fixes bug #389253]
  4528. 2008-05-12 Jonathan Pobst <[email protected]>
  4529. * ListBox.cs: There is always at least one column in the ListBox.
  4530. [Fixes bug #389250]
  4531. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  4532. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  4533. ensure in Simple mode that the height is exactly the requested one.
  4534. Also add the ComboBoxListControl to the controls collection in Simple
  4535. mode even if handle hasn't been created.
  4536. Fixes part of #371991.
  4537. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  4538. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  4539. our ComboBox owner instead of giving it back to the previous control (
  4540. as done in other controls). Also remove the empty override of Select
  4541. method, since we want to be selected *and* give focus to our owner.
  4542. This should let the user do keys-navigation in Simple mode.
  4543. 2008-05-10 Geoff Norton <[email protected]>
  4544. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  4545. problems with rapid scrolling of treeviews. Fixes #381084
  4546. 2008-05-10 Geoff Norton <[email protected]>
  4547. * XplatUICarbon.cs: Deactivate the active window before
  4548. activating the desired window. Completes fixing #386504
  4549. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  4550. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  4551. SmallChange to the item size width plus the padding, to match .net.
  4552. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  4553. * FileDialog.cs: Apply the custom filter typed by the user in the file
  4554. name combobox as much as possible while navigating in the file dialog.
  4555. Fixes #385261.
  4556. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  4557. * Binding.cs: Actually use NullValue if the retrieved value of
  4558. data source is null or DBNull. Makes a test pass.
  4559. 2008-05-09 Jonathan Pobst <[email protected]>
  4560. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  4561. * MimeIcon.cs: Provide a way to get icons from resources.
  4562. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  4563. * Binding.cs: When the value retrieved from the control to be assigned
  4564. to the data source is null, actually use the 2.0 DataSourceNullValue
  4565. value. Make pass a data binding test.
  4566. 2008-05-08 Jonathan Pobst <[email protected]>
  4567. * Control.cs: We need to invalidate implicit children even when
  4568. invalidate is called with invalidatechildren = false. (Implicit
  4569. children are really part of the parent.)
  4570. * ListView.cs: Double-buffer internal child controls for less
  4571. flicker.
  4572. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  4573. owner ListView subitems for greatly increased performance.
  4574. [Fixes bug #388477]
  4575. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  4576. * FileDialog.cs: When the user types a wildcard character in the
  4577. filename combobox, update the contents of the folder using the text as
  4578. a filter.
  4579. Fixes part of #385261.
  4580. 2008-05-08 Jonathan Pobst <[email protected]>
  4581. * ListBox.cs: Various fixes for MultiColumn listboxen.
  4582. [Fixes bug #388114]
  4583. 2008-05-08 Andreia Gaita <[email protected]>
  4584. * HtmlElement.cs: Implement Style property
  4585. 2008-05-08 Jonathan Pobst <[email protected]>
  4586. * ListBox.cs: Respect checkboxes when measuring item size.
  4587. * ThemeWin32Classis.cs: When drawing list items, don't draw
  4588. text outside of the item's bounds to prevent overlapping.
  4589. (.Net actually overlaps, but that's just silly.)
  4590. [Fixes bug #388117]
  4591. 2008-05-08 Everaldo Canuto <[email protected]>
  4592. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  4593. Gert Driesen. Fixes bug #324830.
  4594. 2008-05-07 Everaldo Canuto <[email protected]>
  4595. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  4596. method implemented.
  4597. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4598. * BindingSource.cs: When calling IsSynchronized, return the value of
  4599. the related IList list.
  4600. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4601. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  4602. make a test pass.
  4603. 2008-05-07 Jonathan Pobst <[email protected]>
  4604. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  4605. navigation to scroll the grid if the current cell is not visible.
  4606. 2008-05-07 Andreia Gaita <[email protected]>
  4607. * HtmlElement.cs: Implement TabIndex
  4608. 2008-05-07 Jonathan Pobst <[email protected]>
  4609. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  4610. properties, even when there are no items.
  4611. [Fixes bug #387611]
  4612. 2008-05-07 Ivan N. Zlatev <[email protected]>
  4613. * NativeWindow.cs: Add support for multiple handles per window.
  4614. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  4615. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  4616. directly - use FromHandle instead.
  4617. [Fixes bug #374660]
  4618. 2008-05-07 Andreia Gaita <[email protected]>
  4619. * HtmlElement.cs: Implement InnerHTML setter
  4620. 2008-05-07 Andreia Gaita <[email protected]>
  4621. * HtmlDocument.cs: Implement Focused
  4622. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4623. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  4624. methods, as well as add messages to the exceptions.
  4625. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4626. * BindingSource.cs: Setting DataSource should only reset DataMember if
  4627. the previous value was null (make pass a not working test).
  4628. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4629. * BindingSource.cs: When EndInit call is postponed and is called until
  4630. DataSource.EndInit is called, remove the handler for data source.
  4631. 2008-05-06 Jonathan Pobst <[email protected]>
  4632. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  4633. 2008-05-06 Jonathan Pobst <[email protected]>
  4634. * ToolStripManager.cs: Store references to toolstrips as
  4635. weak references so they do not prevent forms from getting collected.
  4636. [Fixes bug #386483]
  4637. 2008-05-06 Jonathan Pobst <[email protected]>
  4638. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  4639. on .Net. So do the same thing in WndProc.
  4640. 2008-05-06 Jonathan Pobst <[email protected]>
  4641. * TrackBar.cs: Commit patch from Andy Hume that corrects
  4642. the clickable areas to better match .Net.
  4643. [Fixes bug #387074]
  4644. 2008-05-06 Jonathan Pobst <[email protected]>
  4645. * TrackBar.cs: Commit patch from Andy Hume that adds the
  4646. ResizeRedraw control flag so the track bar repaints itself
  4647. when it is resized. [Fixes bug #387072]
  4648. 2008-05-06 Jonathan Pobst <[email protected]>
  4649. * TrackBar.cs: Commit patch from Andy Hume that adds better
  4650. support for keyboard navigation when the TrackBar is vertical.
  4651. [Fixes bug #387071]
  4652. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  4653. * BindingSource.cs: Implement ISupportInitializeNotification support.
  4654. 2008-05-06 George Giolfan <[email protected]>
  4655. * ThemeVisualStyles.cs: Added support for ToolBar.
  4656. 2008-05-06 George Giolfan <[email protected]>
  4657. * ToolBar.cs: Made the Vertical property internal.
  4658. 2008-05-05 George Giolfan <[email protected]>
  4659. * ThemeVisualStyles.cs: Added support for TrackBar.
  4660. 2008-05-05 George Giolfan <[email protected]>
  4661. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  4662. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  4663. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  4664. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  4665. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  4666. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  4667. 2008-05-05 George Giolfan <[email protected]>
  4668. * ThemeVisualStyles.cs: Added support for UpDownBase.
  4669. 2008-05-05 George Giolfan <[email protected]>
  4670. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  4671. Extracted Theme.UpDownBaseDrawButton.
  4672. 2008-05-05 Jonathan Pobst <[email protected]>
  4673. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  4674. removed from the static toolstrips collection in ToolStripManager
  4675. when they are disposed. Provides a workaround for bug #386483.
  4676. 2008-05-05 Ivan N. Zlatev <[email protected]>
  4677. * GridEntry.cs: Read-only properties with Editor with
  4678. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  4679. [Fixes bug #384184]
  4680. 2008-05-05 Jonathan Pobst <[email protected]>
  4681. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  4682. the menu key and there are no items on the menu.
  4683. [Fixes bug #386644]
  4684. 2008-05-05 Sebastien Pouliot <[email protected]>
  4685. * Control.cs: Avoid calling ToString on a string.
  4686. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  4687. * GroupBox.cs: In FlatStyle property throw, not just create, the
  4688. exception. Avoid calling ToString on a string.
  4689. * ProgressBar.cs: Avoid calling ToString on a string.
  4690. * ScrollBar.cs: Avoid calling ToString on a string.
  4691. [All issues were found using Gendarme]
  4692. 2008-05-05 Everaldo Canuto <[email protected]>
  4693. * NotifyIcon.cs: Prevent click events to be trigger after double click
  4694. events. Fixes remaining issues of bug #324832.
  4695. 2008-05-05 Everaldo Canuto <[email protected]>
  4696. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  4697. to mimic win32 behavior. Partially fixes bug #324832.
  4698. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4699. * BindingSource.cs: Implement Find methods.
  4700. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4701. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  4702. RemoveSort methods.
  4703. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4704. * ListBindingHelper.cs: When calling GetListItemProperties and the
  4705. passed object is ITypedList, return the result of
  4706. ITypedList.GetItemProperties instead.
  4707. 2008-05-04 Everaldo Canuto <[email protected]>
  4708. * LinkLabel.cs: Set default value of name on constructor of Link class
  4709. only for 2.0 profile.
  4710. 2008-05-04 Everaldo Canuto <[email protected]>
  4711. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  4712. Fixes remaining issues of bug #346154.
  4713. 2008-05-04 Everaldo Canuto <[email protected]>
  4714. * LinkLabel.cs: Set a default value for name on internal contructor of
  4715. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  4716. 2008-05-04 Everaldo Canuto <[email protected]>
  4717. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  4718. and refer all instances to owner.links. Partially fixes #346154.
  4719. 2008-05-03 Everaldo Canuto <[email protected]>
  4720. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  4721. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  4722. the LinkLabel test 'TestLinkArea'.
  4723. 2008-05-03 Everaldo Canuto <[email protected]>
  4724. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  4725. [Fixes #386460]
  4726. 2008-05-03 Everaldo Canuto <[email protected]>
  4727. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  4728. [Fixes #386463]
  4729. 2008-05-03 Everaldo Canuto <[email protected]>
  4730. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  4731. [Fixed bug #357004]
  4732. 2008-05-03 Everaldo Canuto <[email protected]>
  4733. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  4734. 2008-05-03 Everaldo Canuto <[email protected]>
  4735. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  4736. [Fixes bug #375398]
  4737. 2008-05-03 Everaldo Canuto <[email protected]>
  4738. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  4739. of bug #367492.
  4740. 2008-05-03 Everaldo Canuto <[email protected]>
  4741. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  4742. sometimes we open a conext menu on mouse down of some controls and the mouse
  4743. up is dispatched to menu and dont need to. It fix remaining issues of
  4744. #363711 and other problems related to menu mouse click events.
  4745. 2008-05-02 Everaldo Canuto <[email protected]>
  4746. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  4747. some var names to better fit changes, now we have month_menu and today_menu
  4748. vars. Fixes bug #363711.
  4749. 2008-05-02 Everaldo Canuto <[email protected]>
  4750. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  4751. right now the default month menu but it will be change to have "Go to today"
  4752. menu.
  4753. 2008-05-02 Jonathan Pobst <[email protected]>
  4754. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  4755. 2008-05-02 Everaldo Canuto <[email protected]>
  4756. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  4757. 2008-05-02 George Giolfan <[email protected]>
  4758. * ThemeVisualStyles.cs: Added support for TreeView.
  4759. 2008-05-02 George Giolfan <[email protected]>
  4760. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  4761. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  4762. 2008-05-02 Jonathan Pobst <[email protected]>
  4763. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  4764. 2008-05-02 Jonathan Pobst <[email protected]>
  4765. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  4766. Implement 2.0 SP1 stuffs.
  4767. 2008-05-02 Jonathan Pobst <[email protected]>
  4768. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  4769. 2008-05-02 Jonathan Pobst <[email protected]>
  4770. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  4771. Implement CanEnableIme property. (2.0 SP1)
  4772. 2008-05-02 Jonathan Pobst <[email protected]>
  4773. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  4774. from the 2.0 API.
  4775. 2008-05-02 Jonathan Pobst <[email protected]>
  4776. * Control.cs: Provide an internal way for a control to override
  4777. the setting of Height.
  4778. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  4779. set height using new method.
  4780. 2008-05-02 George Giolfan <[email protected]>
  4781. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  4782. 2008-05-02 George Giolfan <[email protected]>
  4783. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  4784. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  4785. 2008-05-02 George Giolfan <[email protected]>
  4786. * ThemeVisualStyles.cs: Added support for StatusBar.
  4787. 2008-05-02 Jonathan Pobst <[email protected]>
  4788. * DataObject.cs: Add the other IDataObject interface.
  4789. 2008-05-02 George Giolfan <[email protected]>
  4790. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  4791. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  4792. 2008-05-02 Jonathan Pobst <[email protected]>
  4793. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  4794. * ListView.cs: Hide non-public API.
  4795. * MaskedTextBox.cs: Remove extra attribute.
  4796. 2008-05-02 Jonathan Pobst <[email protected]>
  4797. * DataGridViewImageCell.cs: Use formatted value instead of value
  4798. to calculate preferred size.
  4799. 2008-05-01 Jonathan Pobst <[email protected]>
  4800. * ListBox.cs: Move some initialization around so that selected_indices
  4801. is not accessed before it is created.
  4802. 2008-05-01 Jonathan Pobst <[email protected]>
  4803. * InputLanguageCollection.cs: Implement the collection better.
  4804. [Fixes bug #385506]
  4805. 2008-05-01 Jonathan Pobst <[email protected]>
  4806. * ToolStripDropDownItem.cs: Get the correct event object for
  4807. DropDownItemClicked.
  4808. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  4809. [Fixes bug #385475]
  4810. 2008-05-01 Jonathan Pobst <[email protected]>
  4811. * DataGridViewRowCollection.cs: We don't currently support shared
  4812. rows. Should fix test failures caused by previous commit.
  4813. 2008-04-30 Jonathan Pobst <[email protected]>
  4814. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  4815. datagridview gets set. Only paint cells in visible columns.
  4816. * DataGridViewCell.cs: Draw border after cell content.
  4817. * DataGridView.cs: Invalidate after setting some properties. Only
  4818. use visible columns. Fit hit test bug with areas in the col/row header
  4819. area but not in a row or col. Implement UpdateCell/Row methods.
  4820. 2008-04-30 Jonathan Pobst <[email protected]>
  4821. * DataGridViewElement.cs: Don't throw NIEX.
  4822. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  4823. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  4824. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  4825. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  4826. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  4827. if the user filled in the formatting Value, use it.
  4828. 2008-04-30 Jonathan Pobst <[email protected]>
  4829. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  4830. to a string.
  4831. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  4832. * BindingSource.cs: Some corrections to Filter property, as well as
  4833. setting it for our list when resetting it.
  4834. 2008-04-29 Jonathan Pobst <[email protected]>
  4835. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  4836. than the maximum. Fixes reopened bug #384182.
  4837. 2008-04-28 Everaldo Canuto <[email protected]>
  4838. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  4839. Fixes remaining issues of #367490.
  4840. 2008-04-28 Everaldo Canuto <[email protected]>
  4841. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  4842. SystemInformation.WorkingArea to get max_screen value.
  4843. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4844. * BindingSource.cs: Implement Filter and RemoveFilter.
  4845. 2008-04-28 Everaldo Canuto <[email protected]>
  4846. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  4847. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4848. * X11Dnd.cs: When trying to convert data and we know we started the
  4849. dnd loop, don't try to use the cached data if the loop is not running,
  4850. which means that the data has been resetted.
  4851. Fixes #378191.
  4852. 2008-04-28 Everaldo Canuto <[email protected]>
  4853. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  4854. win32 behavior.
  4855. 2008-04-28 Everaldo Canuto <[email protected]>
  4856. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  4857. it to drawn off screen edge. Fixes bug #367490.
  4858. 2008-04-28 Everaldo Canuto <[email protected]>
  4859. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  4860. menu position to have only one assignment of Location var.
  4861. 2008-04-28 Everaldo Canuto <[email protected]>
  4862. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  4863. for this patch. Fixes bug #384115.
  4864. 2008-04-28 Jonathan Pobst <[email protected]>
  4865. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  4866. the same. If LargeChange is zero, set a minimum size for the scroll
  4867. thumb grip. [Fixes bug #384182]
  4868. 2008-04-28 Jonathan Pobst <[email protected]>
  4869. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  4870. [Fixes bug #384181]
  4871. 2008-04-28 Jonathan Pobst <[email protected]>
  4872. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  4873. 2008-04-28 George Giolfan <[email protected]>
  4874. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  4875. patch from Ernesto).
  4876. 2008-04-28 George Giolfan <[email protected]>
  4877. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  4878. 2008-04-28 George Giolfan <[email protected]>
  4879. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  4880. 2008-04-28 George Giolfan <[email protected]>
  4881. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  4882. 2008-04-28 George Giolfan <[email protected]>
  4883. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  4884. 2008-04-27 George Giolfan <[email protected]>
  4885. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  4886. 2008-04-27 Andreia Gaita <[email protected]>
  4887. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  4888. supposed to return a reference to an mshtml interface, which we
  4889. don't support).
  4890. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  4891. reference to an mshtml interface, which we don't support). Code
  4892. formatting cleanup.
  4893. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  4894. DomDocument getter (it's supposed to return a reference to an
  4895. mshtml interface, which we don't support). Code formatting cleanup.
  4896. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4897. * ListView.cs: Ouch, forgot to commit.
  4898. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4899. * ListView.cs:
  4900. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  4901. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4902. * ListView.cs: When calculating box selection for virtual mode, don't
  4903. look for intersection with item's text, but item bounds, since that
  4904. would mean read ListViewItem's text for _every_ item, and that's
  4905. something we just can't do in virtual mode (items are only requested
  4906. when drawn).
  4907. 2008-04-26 George Giolfan <[email protected]>
  4908. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  4909. partial support for managed windows (based on the patch from Ernesto).
  4910. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4911. * ListView.cs: When doing a key search use FindItemWithText method
  4912. instead of doing the search by ourselves, this way we avoid
  4913. duplicating the code and also we handle the special case for virtual
  4914. mode. To achieve that make our private overload of FindItemWithText
  4915. internal and also have a 'roundtrip' parameter.
  4916. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4917. * ListView.cs: When doing the layout don't request the
  4918. ListViewItem instance if we are in virtual mode (since we can't request it
  4919. until the item is actully drawn).
  4920. 2008-04-25 George Giolfan <[email protected]>
  4921. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  4922. from Ernesto).
  4923. 2008-04-25 George Giolfan <[email protected]>
  4924. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  4925. the patch from Ernesto).
  4926. 2008-04-25 George Giolfan <[email protected]>
  4927. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  4928. * ThemeVisualStyles.cs: Added.
  4929. 2008-04-25 George Giolfan <[email protected]>
  4930. * IDeviceContext.cs: Added a missing using.
  4931. 2008-04-25 George Giolfan <[email protected]>
  4932. * ButtonBase.cs: Made IsDefault protected internal.
  4933. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  4934. 2008-04-25 George Giolfan <[email protected]>
  4935. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  4936. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  4937. RadioButtonRenderer.cs: Included in the 1.1 profile.
  4938. * IDeviceContext.cs: Added.
  4939. * TextRenderer.cs: Included a member in the 1.1 profile.
  4940. 2008-04-25 George Giolfan <[email protected]>
  4941. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  4942. 2008-04-24 Jonathan Pobst <[email protected]>
  4943. * ErrorProvider.cs: Make the error icons come after the control
  4944. they refer to. It isn't the way the MS does it, but its better
  4945. than what we were doing. See bug #368587.
  4946. 2008-04-24 Jonathan Pobst <[email protected]>
  4947. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  4948. from Eric Albright that lazy loads the input language as ensures
  4949. everything gets properly initialized. Fixes bug #373871.
  4950. 2008-04-24 Jonathan Pobst <[email protected]>
  4951. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  4952. implicit mnemonics. [Fixes bug #383000]
  4953. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4954. * X11Dnd.cs: When canceling the operation, automatically restore the
  4955. default cursor - normally the default cursor is restored when the
  4956. mouse buttons are released, but we should be able to restore it even
  4957. if the buttons are still pressed (for example, when pressing ESC to
  4958. cancel).
  4959. Fixes #381894.
  4960. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4961. * X11Dnd.cs: When starting a new drad and drop operation, set control
  4962. field to null, just as the other fields, to avoid calling any
  4963. operation on a previous control. Also, when calling DndLeave on a
  4964. control, set it to null, thus we don't fire that event multiple times
  4965. for that control.
  4966. Fixes #209264.
  4967. 2008-04-23 Geoff Norton <[email protected]>
  4968. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  4969. the whole_window object. Fixes #377084.
  4970. 2008-04-23 Andreia Gaita <[email protected]>
  4971. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  4972. embedded browser)
  4973. 2008-04-23 Jonathan Pobst <[email protected]>
  4974. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  4975. 2008-04-23 Andreia Gaita <[email protected]>
  4976. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  4977. invocation
  4978. 2008-04-23 Andreia Gaita <[email protected]>
  4979. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  4980. attaching/detaching
  4981. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4982. * X11Dnd.cs: When the drop was cancelled, or could just not be
  4983. performed, return DragDropEffect.None always (match .net).
  4984. 2008-04-22 Jonathan Pobst <[email protected]>
  4985. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  4986. 2008-04-22 Jonathan Pobst <[email protected]>
  4987. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  4988. 2008-04-22 Jonathan Pobst <[email protected]>
  4989. * DataGridView.cs: Add support for error icon tool tips.
  4990. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  4991. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  4992. 2008-04-22 Ivan N. Zlatev <[email protected]>
  4993. * X11Structs.cs: Add mouse button masks enum.
  4994. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  4995. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  4996. form resize/move operation instead of for each step of it.
  4997. [Fixes bug #346529 for the x11 backend]
  4998. 2008-04-21 Jonathan Pobst <[email protected]>
  4999. * DataGridView*: Implement support for drawing error icons.
  5000. 2008-04-21 Jonathan Pobst <[email protected]>
  5001. * TreeView.cs: Make vbar and hbar internal.
  5002. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  5003. scrollbars, invalidate the whole thing.
  5004. [Fixes bug #382001]
  5005. 2008-04-21 Jonathan Pobst <[email protected]>
  5006. * TreeView.cs: Calling Sort() sets Sorted = true.
  5007. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  5008. if the nodes need to be sorted.
  5009. [Fixes bug #382028]
  5010. 2008-04-21 Ivan N. Zlatev <[email protected]>
  5011. * Form.cs: Fire SizeChanged for both when the form is minimized and
  5012. restored.
  5013. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  5014. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  5015. 2008-04-21 Jonathan Pobst <[email protected]>
  5016. * ComboBox.cs: If the combobox is disabled, draw a disabled
  5017. background before painting anything else.
  5018. [Fixes bug #381729]
  5019. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  5020. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  5021. forget to send a Leave event to the target window - just as .net does
  5022. when cancelling dnd operations.
  5023. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  5024. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  5025. soon as possible - this happens when we send the drop message to the
  5026. target window. This way we avoid firing any DragOver _after_ drop finished.
  5027. Fixes #378179.
  5028. 2008-04-20 Ivan N. Zlatev <[email protected]>
  5029. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  5030. * Form.cs: Handle form minimization as a special state, where size doesn't
  5031. change, but we have to fire SizeChanged.
  5032. [Fixes bug #325122 for the win32 and x11 backends]
  5033. 2008-04-20 Ivan N. Zlatev <[email protected]>
  5034. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  5035. if the handle is disabled.
  5036. [Fixes bug #371751]
  5037. 2008-04-20 Ivan N. Zlatev <[email protected]>
  5038. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  5039. for forms with FormBorderStyle.None.
  5040. [Fixes bug #349571]
  5041. 2008-04-20 Ivan N. Zlatev <[email protected]>
  5042. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  5043. WM_EXITSIZEMOVE.
  5044. [Fixes bug #346529 for the X11 backend]
  5045. 2008-04-19 Ivan N. Zlatev <[email protected]>
  5046. * XplatUIX11.cs:
  5047. - Send a mouse Enter message after say dragging the mouse with a
  5048. button down and then release it in another client.
  5049. - Reset the cursor to prevent X11 from remembering it and setting it
  5050. before the control gets WM_SETCURSOR.
  5051. - Qeueue a mouse move after a mouse enter like win32.
  5052. [Fixes bug #323234]
  5053. 2008-04-19 Ivan N. Zlatev <[email protected]>
  5054. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  5055. It's sent when the form gets moved, resized, closed.
  5056. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  5057. [Fixes bug #359193 for X11]
  5058. 2008-04-19 Ivan N. Zlatev <[email protected]>
  5059. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  5060. the build.
  5061. 2008-04-19 Ivan N. Zlatev <[email protected]>
  5062. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  5063. group. Fixes the 1.1 build.
  5064. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  5065. * ListView.cs: Use display indexes for selection in Details view, as
  5066. well as do the proper layout based on display indexes for that view
  5067. too.
  5068. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  5069. * ListView.cs: Focused item information is now stored as a display
  5070. index, and display indexes are used all over the place for selection,
  5071. instead of ListViewItem.Index values, which doesn't give us enough
  5072. information to modify the selection in groups mode, and was broken.
  5073. 2008-04-18 Ivan N. Zlatev <[email protected]>
  5074. * Control.cs: Do not fire MouseDown if validation of the control has
  5075. failed.
  5076. * Form.cs: Validate the form before closing.
  5077. [Fixes bugs #330501 and #353310]
  5078. 2008-04-18 Andreia Gaita <[email protected]>
  5079. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  5080. CreateWebBrowserSiteBase implementations
  5081. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  5082. Style and TabIndex setters
  5083. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  5084. * ListViewGroup.cs: When returning the actual item count, return the
  5085. proper count for default group.
  5086. Fix the tests.
  5087. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  5088. * ListView.cs:
  5089. * ListViewGroup.cs: When calculating groups layout, get the actual
  5090. number of items per group, since groups added to the group BUT not
  5091. added to the ListView are just ignored, and can cause some nasty
  5092. exceptions because of the lack of synchronization. Also for
  5093. ListViewGroup don't use lazy initialization for items, since we
  5094. the common scenario is to use it always - and it helps us to refactor
  5095. and clean the .ctor overloads.
  5096. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  5097. * ListView.cs: When adding an item to a ListViewItemCollection
  5098. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  5099. the added item hasn't beeen previously added to the ListView instance
  5100. refered by the group, since it will be ignored. This should avoid some
  5101. really nasty flickering.
  5102. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  5103. * ListView.cs: When accessing an item in a specific display
  5104. position, use the helper method GetItemAtDisplayIndex, instead of
  5105. direct access to the reordered_items_indices array. When doing layout
  5106. for groups set the correct Items index for the display position (since
  5107. in groups mode items don't have the same position as in Items
  5108. collection).
  5109. * ListViewGroup.cs: Add a field to store the starting item number,
  5110. which is later used when calculating the layout.
  5111. Fixes #360805.
  5112. 2008-04-17 Gert Driesen <[email protected]>
  5113. * Application.cs: Fixed ProductVersion to fallback to the assembly
  5114. version. Fixes regression for bug #325413.
  5115. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  5116. * ListView.cs: New helper method to retrieve an item in a _specific
  5117. display_ position (the items can be displayed in a different order
  5118. than one of Items collection).
  5119. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  5120. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  5121. specific display position (again remember that items can be sorted
  5122. different than Items).
  5123. 2008-04-16 Jonathan Pobst <[email protected]>
  5124. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  5125. list and update it when the collection changes. We were recreating
  5126. this several times per row paint and for every pixel the mouse moved
  5127. across the grid.
  5128. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  5129. changes.
  5130. 2008-04-16 Jonathan Pobst <[email protected]>
  5131. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  5132. list to use generics.
  5133. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  5134. and remove unneccessay casts.
  5135. 2008-04-16 Jonathan Pobst <[email protected]>
  5136. * DataGridViewBand.cs: Add internal way to set displayed variable.
  5137. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  5138. * DataGridView.cs: Make sure we always keep track of Displayed
  5139. rows and columns, and only draw things that are displayed.
  5140. 2008-04-16 Atsushi Enomoto <[email protected]>
  5141. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  5142. whether the key events are filtered or not. Introduced
  5143. PreFilter() process for this purpose. This fixes atokx3/iiimx
  5144. shift state issue.
  5145. 2008-04-16 Andreia Gaita <[email protected]>
  5146. * HtmlHistory.cs: Implement Length property
  5147. 2008-04-15 Jonathan Pobst <[email protected]>
  5148. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  5149. away the edit textbox. Refactor to reuse column sort code.
  5150. 2008-04-12 Everaldo Canuto <[email protected]>
  5151. * MenuAPI.cs: Remove the code that save and restore capture status of
  5152. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  5153. cause some others, I cant figure the possible problems of this patch but
  5154. right now remove the code looks to be better than keep it. This patch fixes
  5155. bugs #357638, #378721 and #379570.
  5156. 2008-04-12 Andreia Gaita <[email protected]>
  5157. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  5158. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  5159. add missing properties and event handlers.
  5160. 2008-04-14 Jonathan Pobst <[email protected]>
  5161. * ListBox.cs: Make sure the LargeChange we are setting is at least
  5162. zero, to prevent an IOORE. [Fixes bug #379531]
  5163. 2008-04-13 Andy Hume <[email protected]>
  5164. * ComboBox.cs: Support item navigation by entering text. Firstly,
  5165. in DropDownList mode, for each key-press select the next item
  5166. starting with that letter.
  5167. For other modes, when no item selected, on arrow-up/-down and open
  5168. drop-down select the first item matching the text in the textbox.
  5169. 2008-04-14 Atsushi Enomoto <[email protected]>
  5170. * X11Keyboard.cs : Control.FromHandle() could return null
  5171. in MoveCurrentCaretPos().
  5172. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  5173. * ListView.cs: When changing the size in VirtualMode, also Reset the
  5174. selection.
  5175. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  5176. changing selection info for VirtualMode.
  5177. Fixes #372618.
  5178. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  5179. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  5180. view, don't use LineLimit for the first item - use NoWrap *always*
  5181. instead, since ListView.LabelWrap is not used for this view.
  5182. Fixes #378054.
  5183. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  5184. * Binding.cs: Call UpdateIsBinding when setting control - probably
  5185. Binding is already usable and we don't need to wait to check the
  5186. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  5187. Created, just like 2.0 does.
  5188. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  5189. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  5190. * Binding.cs: Just realized we don't need to have a handler for
  5191. BindingContextChanged, since this info should be now consumed directly
  5192. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  5193. state info is checked directly, instead of caching it.
  5194. * CurrencyManager.cs: IsSuspended should return always false if Count
  5195. == 0.
  5196. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  5197. * Binding.cs: When calling PushData, return if manager.Count == 0,
  5198. since we just don't have data to be read. Also, when setting the
  5199. Control for binding, hook up some events to refresh the IsBinding
  5200. state when BindingContext change or control gets created; use
  5201. Control.IsHandleCreated instead of Control.Created check to set
  5202. IsBinding state - we *actually* need to modify IsBinding when control
  5203. is created, but we don't have any Created event, only HandleCreated.
  5204. Fixes part of #349364.
  5205. 2008-04-11 Geoff Norton <[email protected]>
  5206. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  5207. warping a null Caret.
  5208. 2008-04-11 Jonathan Pobst <[email protected]>
  5209. * DataGridView.cs: Implement row/column autosizing methods. Implement
  5210. autosorting.
  5211. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  5212. * DataGridViewRowCollection.cs: Add an internal sorting method.
  5213. 2008-04-11 Jonathan Pobst <[email protected]>
  5214. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  5215. value in ListView drawing code.
  5216. 2008-04-11 Jonathan Pobst <[email protected]>
  5217. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  5218. is clicked. Respect the user setting Cancel in FileOk.
  5219. 2008-04-11 Geoff Norton <[email protected]>
  5220. * ListView.cs: Avoid setting and resetting control Width/Heights and
  5221. calculate the final value and set it once. Prevents a feedback loop
  5222. on the mac.
  5223. 2008-04-10 Jonathan Pobst <[email protected]>
  5224. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  5225. [Fixes bug #378869]
  5226. 2008-04-10 Atsushi Enomoto <[email protected]>
  5227. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  5228. Add some on-the-spot code, but it seems we don't need it.
  5229. 2008-04-10 Jonathan Pobst <[email protected]>
  5230. * Form.cs: Add method for DataGridView to trigger focus cues
  5231. even when it handles the tab keypress.
  5232. 2008-04-10 Jonathan Pobst <[email protected]>
  5233. * DataGridView.cs: More keyboard handling, tab, esc.
  5234. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  5235. when at the beginning or end of the text in the text box.
  5236. 2008-04-09 Jonathan Pobst <[email protected]>
  5237. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  5238. 2008-04-09 Jonathan Pobst <[email protected]>
  5239. * DataGridView.cs: Some fixups for showing and adding the edit control.
  5240. * DataGridViewButtonColumn.cs: Implement ToString.
  5241. * DataGridViewCell.cs: Size and position the control simultaneously.
  5242. * DataGridViewTextBoxCell.cs: Use base to position control.
  5243. 2008-04-09 Jonathan Pobst <[email protected]>
  5244. * DataGridViewCell.cs: Fix up some formatting and painting code.
  5245. * DataGridViewImageCell.cs: Implement some NIEX methods.
  5246. 2008-04-09 Jonathan Pobst <[email protected]>
  5247. * ToolStripItemCollection.cs: What moving an item from one owner
  5248. to another, remove from source owner before adding to destination.
  5249. [Fixes bug #378109]
  5250. 2008-04-09 Jonathan Pobst <[email protected]>
  5251. * PictureBox.cs: Call Load when ImageLocation is set.
  5252. [Fixes bug #378308]
  5253. 2008-04-09 Atsushi Enomoto <[email protected]>
  5254. * X11Keyboard.cs, XplatUIX11.cs :
  5255. Implement over-the-spot mode (with some odd offsets).
  5256. - set preedit position when caret is set.
  5257. - Wrap XMoveResizeWindow() to move preedit position.
  5258. 2008-04-08 Everaldo Canuto <[email protected]>
  5259. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  5260. array lenght.
  5261. 2008-04-08 Everaldo Canuto <[email protected]>
  5262. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  5263. and ScanTableIndex public, it fix compilations errors when compiling
  5264. WinForms to generate keyboard layout resources.
  5265. 2008-04-08 Everaldo Canuto <[email protected]>
  5266. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  5267. different element count than scan table. It prevents some errors in non
  5268. standard keyboards.
  5269. 2008-04-08 Jonathan Pobst <[email protected]>
  5270. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  5271. 2008-04-08 Jonathan Pobst <[email protected]>
  5272. * DataGridView.cs: Call OnContentClick.
  5273. * DataGridViewCell.cs: Do a null check on ValueType instead
  5274. of valueType.
  5275. * DataGridViewCheckBoxCell.cs: Implement.
  5276. 2008-04-08 Atsushi Enomoto <[email protected]>
  5277. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  5278. 2008-04-08 Atsushi Enomoto <[email protected]>
  5279. * X11Keyboard.cs : Check XGetIMValues() return value in
  5280. case it does not return input styles in some environment.
  5281. 2008-04-08 Atsushi Enomoto <[email protected]>
  5282. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  5283. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  5284. * BindingContext.cs: Stub UpdateBinding method.
  5285. 2008-04-07 Atsushi Enomoto <[email protected]>
  5286. * X11Structs.cs : added couple of structs for XIM support.
  5287. * X11Keyboard.cs :
  5288. Release XIM in case it failed to create XIC.
  5289. Use consts for XNblah string.
  5290. Add support for IM style customization and XIC creation
  5291. for preedit-position and preedit-callback.
  5292. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  5293. (list of: over-the-spot | on-the-spot | root). Only root
  5294. mode works so far.
  5295. (redoing r99172 with fix.)
  5296. 2008-04-07 Jonathan Pobst <[email protected]>
  5297. * TreeView.cs: Center the checkbox a little better.
  5298. 2008-04-07 Jonathan Pobst <[email protected]>
  5299. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  5300. Apply very nice patch from Ernesto Carrea that simplifies our
  5301. scrollbar drawing. [From bug #376146]
  5302. 2008-04-07 Jonathan Pobst <[email protected]>
  5303. * TreeView.cs: Correct the location of the root node checkbox when
  5304. ShowRootLines = false. Don't draw the root lines for the root node
  5305. when ShowRootLines = false. [Fixes bug #377535]
  5306. 2008-04-06 Gert Driesen <[email protected]>
  5307. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  5308. Fixed line endings.
  5309. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  5310. line endings.
  5311. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  5312. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  5313. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  5314. * ImeMode.cs: Added missing field.
  5315. * HtmlWindow.cs: Code formatting. Fixed line endings.
  5316. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  5317. warnings.
  5318. * HtmlHistory.cs: Code formatting. Fixed line endings.
  5319. * HtmlDocument.cs: Code formatting. Fixed line endings.
  5320. * ToolStripPanel.cs: Added missing IList implementation.
  5321. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  5322. 2008-04-06 Gert Driesen <[email protected]>
  5323. * BindingContext.cs: Changed argument names to fix corcompare errors.
  5324. * DataGridView.cs: Removed extra explicit interface implementation
  5325. of IDropTarget. Code formatting.
  5326. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  5327. * ComboBox.cs: Changed argument names to fix corcompare errors.
  5328. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  5329. errors.
  5330. * GridColumnStylesCollection.cs: Changed argument names to fix
  5331. corcompare errors. Removed extra tabs.
  5332. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  5333. errors.
  5334. * Control.cs: Changed argument names to fix corcompare errors. Code
  5335. formatting. Removed extra explicit IList implementation.
  5336. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  5337. formatting. Use string.Empty instead of "".
  5338. * GridItemCollection.cs: Changed argument names to fix corcompare
  5339. errors. Code formatting.
  5340. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  5341. corcompare errors. Code formatting.
  5342. * ImageList.cs: Changed argument names to fix corcompare errors.
  5343. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  5344. * DataGridViewRowCollection.cs: Changed argument names to fix
  5345. corcompare errors. Code formatting.
  5346. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  5347. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  5348. fix corcompare errors. Code formatting.
  5349. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  5350. corcompare errors. Code formatting.
  5351. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  5352. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  5353. formatting.
  5354. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  5355. Code formatting.
  5356. * BindingSource.cs: Changed argument names to fix corcompare errors.
  5357. Removed extra explicit interface implementations.
  5358. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  5359. fix corcompare errors. Code formatting.
  5360. * ToolStripItemCollection.cs: Removed extra explicit interface
  5361. implementation of IList.ReadOnly.
  5362. * DataGridViewColumnCollection.cs: Changed argument names to fix
  5363. corcompare errors. Code formatting.
  5364. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  5365. * ListView.cs: Changed argument names to fix corcompare errors.
  5366. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  5367. errors.
  5368. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  5369. errors.
  5370. * ListBindingHelper.cs: Changed argument names to fix corcompare
  5371. errors.
  5372. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  5373. fix corcompare errors. Code formatting.
  5374. * ToolStripPanel.cs: Removed extra explicit implementation of
  5375. IDropTarget interface.
  5376. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  5377. formatting. Removed extra tabs and spaces.
  5378. * DataGridViewCellCollection.cs: Changed argument names to fix
  5379. corcompare errors.
  5380. * Help.cs: Changed argument names to fix corcompare errors. Code
  5381. formatting.
  5382. * TabControl.cs: Changed argument names to fix corcompare errors.
  5383. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  5384. errors.
  5385. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  5386. errors.
  5387. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  5388. * ListBindingHelper.cs: When returning properties, only return those
  5389. that are browsable. Also, don't do a linear search of the properties,
  5390. but use the indexer of the PropertyDescriptorCollection class.
  5391. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  5392. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  5393. Dictionary containing the related (child) currency managers. Also,
  5394. when setting DataSource, add datasource to our List if it is not a list.
  5395. 2008-04-05 Ivan N. Zlatev <[email protected]>
  5396. * PropertyGridTextBox.cs: Fix background color of the buttons.
  5397. * PropertyGridView.cs: Make the entry less jumpy.
  5398. 2008-04-05 Ivan N. Zlatev <[email protected]>
  5399. * PropertyGrid.cs: Fix unused variable warnings.
  5400. 2008-04-05 Ivan N. Zlatev <[email protected]>
  5401. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  5402. double-click. It expanded it once in the mouse down and then
  5403. again in the double-click handler.
  5404. 2008-04-04 Ivan N. Zlatev <[email protected]>
  5405. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  5406. TypeConverter and UITypeEditors.
  5407. 2008-04-04 Ivan N. Zlatev <[email protected]>
  5408. * Control.cs: Visibility should be set synchronously,
  5409. so we must also redraw once it is and not rely on layouting or
  5410. other code to repaint.
  5411. [Fixes bug #339898]
  5412. 2008-04-04 Jonathan Pobst <[email protected]>
  5413. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  5414. 2008-04-03 Jonathan Pobst <[email protected]>
  5415. * Control.cs: Invalidate when the alpha channel is less than 255,
  5416. not only when control is transparent.
  5417. 2008-04-03 Jonathan Pobst <[email protected]>
  5418. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  5419. Implement some painting convenience methods that threw NIEX.
  5420. 2008-04-03 Jonathan Pobst <[email protected]>
  5421. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  5422. * DataGridViewLinkCell.cs: Implement.
  5423. 2008-04-03 Ivan N. Zlatev <[email protected]>
  5424. * GridEntry.cs: Report the conversion exception error description.
  5425. [Fixes bug #375792]
  5426. 2008-04-03 Ivan N. Zlatev <[email protected]>
  5427. * PropertyGridView.cs: Do not scroll to item on resize.
  5428. [Fixes bug #375789]
  5429. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  5430. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  5431. dataSource parameter is ICurrencyManagerProvider, then return
  5432. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  5433. instead of creating a new one.
  5434. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  5435. * BindingSource.cs: Implement support for Type instances as
  5436. DataSource.
  5437. 2008-04-02 Jonathan Pobst <[email protected]>
  5438. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  5439. * DataGridViewCell.cs: Make some painting routines internally virtual.
  5440. * DataGridViewButtonCell.cs: Implement.
  5441. 2008-04-02 Jonathan Pobst <[email protected]>
  5442. * Control.cs: We always need to invalidate our children with
  5443. transparent backgrounds when we are invalidated.
  5444. [Fixes bug #376081]
  5445. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  5446. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  5447. and CancelCurrentEdit on CurrencyManager respectively. Implement
  5448. support for ICancelAddNew too.
  5449. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  5450. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  5451. call EndNew/CancelNew if list is ICancelAddNew.
  5452. 2008-04-01 Jonathan Pobst <[email protected]>
  5453. * DataGridView.cs: Guard against an exception while painting
  5454. if there are no rows.
  5455. 2008-04-01 Jonathan Pobst <[email protected]>
  5456. * DataGridView.cs: Implement a bunch of keyboard commands.
  5457. 2008-03-31 Jonathan Pobst <[email protected]>
  5458. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  5459. isn't set, don't call OnPaint. [Fixes bug #375300]
  5460. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  5461. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  5462. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  5463. hookup the remaining events related to CurrencyManager, and fire
  5464. OnListChanged also for the Clear () method.
  5465. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  5466. * BindingSource.cs: Use Current and Position implementations in
  5467. CurrencyManager instead of using our own routines, since we need
  5468. to be in synch with it. Count should NEVER return a -1 value, and
  5469. also report ListChanged events for both simple IList data
  5470. sources (manually) as well for IBindingList ones (by hooking up an
  5471. event handler for it).
  5472. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  5473. * BindingSource.cs: Make one .ctor call the another, to avoid
  5474. duplicate code. Add the CurrencyManager property, and also for AddNew
  5475. throw the proper exceptions and show better error messages.
  5476. 2008-03-28 Jonathan Pobst <[email protected]>
  5477. * ComboBox.cs: Only adjust selectedindex if Handle has been
  5478. created. Fixes failing test.
  5479. 2008-03-28 Jonathan Pobst <[email protected]>
  5480. * ComboBox.cs: Adjust selectedindex if we insert a new item
  5481. above the current selectedindex in a sorted ComboBox.
  5482. [Fixes bug #374654]
  5483. 2008-03-28 Jonathan Pobst <[email protected]>
  5484. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  5485. [Fixes bug #374712]
  5486. 2008-03-28 Jonathan Pobst <[email protected]>
  5487. * DataGridViewTextBoxCell.cs: Implement stuffs.
  5488. 2008-03-27 Jonathan Pobst <[email protected]>
  5489. * TreeView.cs: Create the scrollbars even earlier to be
  5490. double dog certain they are created before they are accessed.
  5491. 2008-03-27 Jonathan Pobst <[email protected]>
  5492. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  5493. 2008-03-27 Jonathan Pobst <[email protected]>
  5494. * ScrollBar.cs: Create an internal safe Value setter so we
  5495. won't crash if we try to set a value outside the min and max.
  5496. * TextBoxBase.cs: Use safe value setter to guard against a
  5497. potential NRE that is being reported by Reflector.
  5498. 2008-03-27 Jonathan Pobst <[email protected]>
  5499. * TreeView.cs: Create the scrollbars earlier in the constructor
  5500. to attempt to guard against an NRE in SetTop in Reflector.
  5501. 2008-03-27 Jonathan Pobst <[email protected]>
  5502. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  5503. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  5504. show messagebox on data format error, use column display index
  5505. correctly, make sure HitTest supports new layout stuff,
  5506. make sure scrollbars support new layout stuff.
  5507. 2008-03-27 Atsushi Enomoto <[email protected]>
  5508. * XplatUIX11.cs : Patch by Doug Rintoul.
  5509. For some IM engines, keypress events need to delay call
  5510. to XPending() and XNextEvent() in the loop so that it
  5511. does not mess the orders in XIM commit callback.
  5512. Some KeyRelease events such as shift keys need to be
  5513. processed both in the IM engine and winforms driver
  5514. itself since winforms holds its own state check.
  5515. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  5516. 2008-03-27 Atsushi Enomoto <[email protected]>
  5517. * X11Keyboard.cs, XplatUIX11.cs :
  5518. add primitive support for XIM input support (preedit-
  5519. nothing and status-nothing). It requires precise event
  5520. capturing (XSelectInput/"filterEvents") and different
  5521. call to XFilterEvent against root window.
  5522. Get composed string and send dummy WM_IME_COMPOSITION.
  5523. Free XIM and XIC instances in finalizer.
  5524. (This first patch does not include suggested changes
  5525. by Doug Rintoul. It will follow.)
  5526. 2008-03-26 Jonathan Pobst <[email protected]>
  5527. * DataGridView.cs: When binding to a property, if the property
  5528. doesn't have a setter, set the column to readonly.
  5529. [Fixes bug #343965]
  5530. 2008-03-26 Jonathan Pobst <[email protected]>
  5531. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  5532. we aren't dropped down. Support Home/End in DropDownList mode.
  5533. [Fixes bug #371990]
  5534. 2008-03-26 Jonathan Pobst <[email protected]>
  5535. * TreeNodeCollection.cs: Don't increment count until we've
  5536. saved our index to return.
  5537. [Fixes bug #373603]
  5538. 2008-03-25 Jonathan Pobst <[email protected]>
  5539. * Label.cs: Add padding to the label's AutoSize calculation.
  5540. [Fixes bug #373792]
  5541. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  5542. * ListBindingHelper.cs: Actually implement GetListName method.
  5543. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  5544. * BindingSource.cs: Throw the propert expceptions for some methods, as
  5545. well as detect the list item type for Add method if DataSource is null.
  5546. 2008-03-25 Jonathan Pobst <[email protected]>
  5547. * DataGridViewCell.cs: I don't know why I commented this out,
  5548. putting it back for now.
  5549. 2008-03-25 Jonathan Pobst <[email protected]>
  5550. * DataGridViewCell.cs: Remove storage for owning column, just
  5551. use column index.
  5552. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  5553. * DataGridViewColumnHeaderCell.cs: If the header text has been
  5554. explicitly set, return it.
  5555. [Fixes bug #325979]
  5556. 2008-03-25 Jonathan Pobst <[email protected]>
  5557. * DataGridViewRowCollection.cs: Disable row sharing when
  5558. using data binding. Its a great feature, but lets work on
  5559. getting DGV usable first before we worry about optimizations.
  5560. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  5561. * BindingSource.cs: When resetting our internal list, compute list
  5562. item type information to be used for indirect list access. Also
  5563. implement/tune some properties and methods related to the list access
  5564. too.
  5565. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  5566. BindingSource.
  5567. 2008-03-24 Jonathan Pobst <[email protected]>
  5568. * DataGridView.cs: If RowCount is increased while ColumnCount
  5569. is zero, add a column. [Fixes bug #331649]
  5570. 2008-03-24 Jonathan Pobst <[email protected]>
  5571. * DataGridViewRowCollection.cs: When adding new rows for
  5572. databinding, make sure they are place before the add row.
  5573. [Fixes bug #343961]
  5574. 2008-03-24 Jonathan Pobst <[email protected]>
  5575. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  5576. instead of Index order.
  5577. 2008-03-24 Jonathan Pobst <[email protected]>
  5578. * DataGridView.cs: If columns are added by increasing ColumnCount,
  5579. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  5580. [Fixes bug #325588]
  5581. 2008-03-24 Jonathan Pobst <[email protected]>
  5582. * DataGridView.cs: Turn off and on the "new row" when
  5583. AllowUserToAddRows is toggled. When the handle is created,
  5584. set current cell and selected cell/row/col.
  5585. 2008-03-24 Jonathan Pobst <[email protected]>
  5586. * ComboBox.cs: When navigating the drop down by keyboard, we
  5587. need to scroll the list box if our selection moves out of the
  5588. currently shown items. [Fixes bug #371990]
  5589. 2008-03-24 Luke Page <[email protected]>
  5590. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  5591. on the control. Also now handles unicode compatibility characters and
  5592. stores the unicode compatibility length on the stack. Fixes Bugs
  5593. #355198 and #366436.
  5594. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5595. * BindingSource..cs: Take into account DataMember when re-creating the
  5596. List property, and also create a specific kind of list as needed.
  5597. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5598. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  5599. get an empty IEnumerable, try to detect whether the datamember is
  5600. valid or not for that type, if true, return null, and throw exception
  5601. otherwise.
  5602. 2008-03-22 Jonathan Pobst <[email protected]>
  5603. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  5604. retract it. [Fixes bug #371989]
  5605. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5606. * PropertyGrid.cs: Initialize the sorting button as pushed.
  5607. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5608. * PropertyGrid.cs:
  5609. - Visually select the PropertyTab.
  5610. - Filter Properties by Attributes properly.
  5611. 2008-03-21 Jonathan Pobst <[email protected]>
  5612. * MenuItem.cs: Remove menu item from parent when disposed.
  5613. [Fixes bug #372845]
  5614. 2008-03-21 Jonathan Pobst <[email protected]>
  5615. * ToolBar.cs: Don't reset layout_type if Dock = None.
  5616. 2008-03-21 Andreia Gaita <[email protected]>
  5617. * UserControl.cs: Select the first available control when we get focus.
  5618. Fixes #372616
  5619. 2008-03-21 Jonathan Pobst <[email protected]>
  5620. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  5621. the content if we are in edit mode. [Fixes bug #343964]
  5622. 2008-03-21 Jonathan Pobst <[email protected]>
  5623. * DataGridViewCell.cs: Fix border painting for column headers.
  5624. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5625. * BindingSource.cs: When setting or resetting data source,
  5626. use ListBindingHelper.GetList () method, since it will get the list in
  5627. case datasource is IListSource.
  5628. 2008-03-20 Jonathan Pobst <[email protected]>
  5629. * DataGridViewCell.cs: Implement lots more stuffs.
  5630. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5631. * PropertyGridView.cs, GridEntry.cs: Implement support for
  5632. UITypeEditor.IsDropDownResizable.
  5633. 2008-03-20 Jonathan Pobst <[email protected]>
  5634. * DataGridViewCell.cs: Remove unused variables, improve how
  5635. several of the property getters work.
  5636. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  5637. get its size from the parent row/col.
  5638. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5639. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  5640. user alters manually the PropertyTabs collection via the
  5641. PropertyTabs property.
  5642. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5643. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  5644. new tests for them to be sure to be compatible with .net.
  5645. 2008-03-20 Andreia Gaita <[email protected]>
  5646. * WebBrowserBase.cs: Fix attributes, add events
  5647. * WebBrowser.cs: Fix Padding signature
  5648. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5649. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  5650. 2008-03-19 Jonathan Pobst <[email protected]>
  5651. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  5652. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  5653. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  5654. passes the new suite of tests for it.
  5655. 2008-03-18 Andreia Gaita <[email protected]>
  5656. * WebBrowser.cs: Add missing attributes, missing Padding and
  5657. DefaultSize properties, remove extraneous getters
  5658. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  5659. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  5660. method overloads.
  5661. 2008-03-16 Jonathan Pobst <[email protected]>
  5662. * ComboBox.cs: Move resetting the selected index to keypress
  5663. instead of textchanged. Changing the text programmatically
  5664. should not trigger resetting the selected index. Fixes test.
  5665. 2008-03-16 Jonathan Pobst <[email protected]>
  5666. * ComboBox.cs: When the user types into the textbox, reset
  5667. the selected index to -1. [Fixes bug #371672]
  5668. 2008-03-16 Jonathan Pobst <[email protected]>
  5669. * FileDialog.cs: Support Control-A for selecting everything
  5670. in an OpenFileDialog. [Fixes bug #371564]
  5671. 2008-03-15 Jonathan Pobst <[email protected]>
  5672. * DataGridView.cs: When row/column visible/height properties
  5673. change, invalidate. Take the NIEX out of InvalidateRow/Column
  5674. etc. We don't support them yet, but we can just invalidate
  5675. everything until we do support them. (Added MonoTODO). Set
  5676. proper control styles.
  5677. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  5678. are turned off.
  5679. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  5680. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  5681. 2008-03-14 Jonathan Pobst <[email protected]>
  5682. * DataGridViewRow.cs: Only paint the white background in
  5683. cell bounds, the row bounds extends past the cells if the
  5684. grid width isn't as wide as the DGV.
  5685. 2008-03-14 Jonathan Pobst <[email protected]>
  5686. * DataGridView*: Completely revamp the drawing to match the
  5687. public API. Our grids now look better, and call all the
  5688. appropriate methods and event to allow users to override
  5689. the painting and do their own.
  5690. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  5691. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  5692. 2008-03-13 Jonathan Pobst <[email protected]>
  5693. * DataGridView.cs: Implement BorderStyle.
  5694. 2008-03-13 Jonathan Pobst <[email protected]>
  5695. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  5696. are comparing attributes, make sure we only look at the
  5697. one we are interested. These calls were failing if there
  5698. were more than one attribute.
  5699. [Fixes bug #370385]
  5700. 2008-03-13 Jonathan Pobst <[email protected]>
  5701. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  5702. 2008-03-12 Jonathan Pobst <[email protected]>
  5703. * PageSetupDialog.cs: Stub EnableMetric.
  5704. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  5705. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  5706. ProcessTabKey.
  5707. 2008-03-12 Jonathan Pobst <[email protected]>
  5708. * MonthCalendar.cs: Remove unused variable.
  5709. 2008-03-12 Jonathan Pobst <[email protected]>
  5710. * DataGridView*.cs: corcompare stuffs.
  5711. 2008-03-11 Jonathan Pobst <[email protected]>
  5712. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  5713. The savings aren't worth the extra code to fix the optimization.
  5714. [Fixes bug #368585]
  5715. 2008-03-11 Jonathan Pobst <[email protected]>
  5716. * ToolBar.cs: Always call base.Dock in the Dock override so that
  5717. Control's layout_type gets reset correctly.
  5718. [Fixes bug #368882]
  5719. 2008-03-11 Ivan N. Zlatev <[email protected]>
  5720. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  5721. 2008-03-11 Jonathan Pobst <[email protected]>
  5722. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  5723. at the same time we do explicit ones, because we have to give all
  5724. other controls on the container a chance to handle explicit ones
  5725. first. If no one has an explicit mnemonic, then we can let the
  5726. MenuStrip have a shot at implicit mnemonics.
  5727. * MenuStrip.cs: Create an implicit mnemonic function.
  5728. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  5729. mnemonics for MenuStrips.
  5730. [Fixes bug #368493]
  5731. 2008-03-11 Jonathan Pobst <[email protected]>
  5732. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  5733. DataGridColumnStyle.cs: corcompare stuffs.
  5734. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  5735. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  5736. Details - This is needed after we added the bits to use any available
  5737. column also for List and SmallIcon view.
  5738. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  5739. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  5740. at the proper place, not only when changing SelectedIndex and changing
  5741. the selection using keys/mouse, as .net does.
  5742. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5743. * ControlBindingsCollection.cs: Implement last 2.0
  5744. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  5745. in the new 2.0 Add methods.
  5746. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5747. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  5748. return if no items are previously selected - this is done to avoid
  5749. firing OnSelectedIndexChanged without need to do so. Also,
  5750. when creating handle ensure that the focused item is visible (as
  5751. .net does).
  5752. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  5753. * ListBox.cs: Rewrote/refactored most of selection code. We require
  5754. the following things in selection: a) keep selection sorted (both
  5755. indices and items), b) SelectedIndices automatically detect the
  5756. selection mode, c) SelectedIndex should be the first selected item
  5757. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  5758. not only for SelectedIndex, which is specially important in Multi*
  5759. selection modes. To achieve this we are moving the selection core to
  5760. SelectedIndexCollection and make depend all selection modifications on
  5761. it.
  5762. Fixes #366438.
  5763. 2008-03-06 Jonathan Pobst <[email protected]>
  5764. * ToolStrip.cs: Enable implicit mnemonics for drop down
  5765. menu strips. [Fixes part of bug #367692]
  5766. 2008-03-06 Jonathan Pobst <[email protected]>
  5767. corcompare - fix parameter names [stragglers].
  5768. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  5769. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  5770. TabControl.cs.
  5771. 2008-03-06 Jonathan Pobst <[email protected]>
  5772. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  5773. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  5774. mnemonic, let the ToolStripManager have it even if it doesn't
  5775. have a matching mnemonic.
  5776. [Fixes bug #367499]
  5777. 2008-03-06 Jonathan Pobst <[email protected]>
  5778. corcompare - fix warning about implicit implementation
  5779. * ToolStrip.cs: Add IToolStripData interface.
  5780. * IToolStripData.cs: Add.
  5781. 2008-03-06 Jonathan Pobst <[email protected]>
  5782. corcompare - fix warning about implicit implementation
  5783. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  5784. * IBounds.cs: Add.
  5785. 2008-03-05 Jonathan Pobst <[email protected]>
  5786. corcompare - fix parameter names [N-Z].
  5787. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  5788. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  5789. PropertyManager.cs, RichTextBox.cs,
  5790. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  5791. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  5792. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  5793. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  5794. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  5795. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  5796. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  5797. ToolStripPanel.cs, ToolStripSeparator.cs,
  5798. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  5799. UICuesEventHandler.cs, UpDownBase.cs.
  5800. 2008-03-05 Jonathan Pobst <[email protected]>
  5801. corcompare - fix parameter names [G-M].
  5802. GridColumnStylesCollection.cs, GridItemCollection.cs,
  5803. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  5804. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  5805. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  5806. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  5807. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  5808. 2008-03-05 Jonathan Pobst <[email protected]>
  5809. corcompare - fix parameter names [A-F].
  5810. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  5811. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  5812. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  5813. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  5814. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  5815. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  5816. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  5817. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5818. * GridEntry.cs: Do not convert not only if the types match,
  5819. but also if the property type is assigneable from the value's
  5820. type.
  5821. [Fixes bug #366566]
  5822. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5823. * PropertyGridView.cs:
  5824. - Subscribe to the listbox only once and not everytime.
  5825. - Update the textbox even if SetValue fails.
  5826. - Close the listbox before calling TrySetValue just in case.
  5827. [Fixes bug #366569]
  5828. 2008-03-03 Jonathan Pobst <[email protected]>
  5829. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  5830. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  5831. * ListView.cs: Implement support for custom column width based on
  5832. Columns collection (we were previously using this collection only
  5833. with Details view).
  5834. Fixes #364484.
  5835. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  5836. * ListViewItem.cs: For Tile view, always set bounds for the first
  5837. subitem (which is the main one), and also don't let Width be larger
  5838. than ListView.TileSize.Width. Improve code readibility also.
  5839. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  5840. in Tile view, _always_ use the NoWrap flag.
  5841. Fixes #360798.
  5842. 2008-02-29 Ivan N. Zlatev <[email protected]>
  5843. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  5844. in case.
  5845. * GridEntry.cs: For MS compitability make all child properties
  5846. readonly if the parent is readonly. Ugh.
  5847. [Fixes bug #365945 and #365944]
  5848. 2008-02-29 Andreia Gaita <[email protected]>
  5849. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  5850. relative to the history
  5851. 2008-02-29 Andreia Gaita <[email protected]>
  5852. * HtmlElement.cs: More handlers for mouse and key events
  5853. 2008-02-28 Andreia Gaita <[email protected]>
  5854. * WebBrowserBase.cs: MouseClick sig changed.
  5855. * HtmlHistory.cs: Implement history navigation
  5856. * HtmlElement.cs: Add event handlers, and connect them.
  5857. 2008-02-28 Ivan N. Zlatev <[email protected]>
  5858. * GridEntry.cs:
  5859. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  5860. so that DisplayNameAttribute doesn't get ignored.
  5861. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  5862. - Add support for PasswordPropertyTextAttribute
  5863. * PropertyGridView.cs: Check if an entry is a password.
  5864. [Fixes bugs #365589, #365586, #365588]
  5865. 2008-02-28 Andreia Gaita <[email protected]>
  5866. * PropertyGridView.cs: Revert the message filtering change, as we
  5867. need it to block after all. Remove block parameter, unnecessary.
  5868. 2008-02-27 Jonathan Pobst <[email protected]>
  5869. * UserControl.cs: Better implementation of GetPreferredSize.
  5870. First step to fixing bug #361441.
  5871. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  5872. * Binding.cs: Actually implement data binding support for
  5873. classes implementing IBindableComponent.
  5874. * ControlBindingsCollection.cs: Likewise.
  5875. 2008-02-26 Andreia Gaita <[email protected]>
  5876. * PropertyGridView.cs: Use a message filter to check when to
  5877. close the dropdown
  5878. 2008-02-26 Andreia Gaita <[email protected]>
  5879. * Application.cs: Change the message_filters loop so a filter
  5880. can be removed while looping.
  5881. 2008-02-26 Ivan N. Zlatev <[email protected]>
  5882. * GridEntry.cs: Optimization in ToggleValue so that it caches
  5883. the current value.
  5884. * PropertyGridView.cs: An optimization so that the property isn't
  5885. re-read twice for each StandardValue added to the drop-down menu.
  5886. Patch by Andy Hume <[email protected]> under the MIT/X11
  5887. license.
  5888. [Fixes bug #362755]
  5889. 2008-02-26 Jonathan Pobst <[email protected]>
  5890. * Application.cs: Apply patch from Justin Cherniak to match
  5891. MS better for ProductName, ProductVersion, and CompanyName.
  5892. [Fixes bug #361709]
  5893. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  5894. * Binding.cs: Actually implement 2.0 NullValue property. Also
  5895. when changing the formatting related properties, only update the state
  5896. if formatting_enabled is true (we don't mind otherwise).
  5897. 2008-02-25 Jonathan Pobst <[email protected]>
  5898. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  5899. [Fixes bug #364486]
  5900. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5901. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  5902. of GetType on the current value as it uses reflection to
  5903. determine the type. This fixes the case where the new value is
  5904. null.
  5905. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5906. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  5907. past the view.
  5908. 2008-02-24 Luke Page <[email protected]>
  5909. * Line.cs, TextControl.cs: Implement offset x and y so that a
  5910. document doesn't have to begin at (0,0) on the viewpoint.
  5911. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  5912. bars and switches the text alignment (and therefore is now
  5913. implemented for textbox). Fixes #321383.
  5914. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  5915. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  5916. properties. Also when changing FormattingEnabled update the control
  5917. property -as .Net does-.
  5918. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  5919. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  5920. * Binding.cs: Add stubs for the overloads of the Add method in
  5921. CBCollection.
  5922. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  5923. * Binding.cs: PullData () returns a false value if we got an exception.
  5924. Also when validating the control and we get an error, instead of
  5925. setting the value of the previous one, cancel the event (tested in 1.1
  5926. and 2.0).
  5927. 2008-02-22 Jonathan Pobst <[email protected]>
  5928. * TreeView.cs: Make selected_node and highlighted_node internal.
  5929. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  5930. to null when Nodes.Clear is called.
  5931. [Fixes bug #363884]
  5932. 2008-02-21 Jonathan Pobst <[email protected]>
  5933. * FontDialog.cs: Ensure that when the Font is set in code,
  5934. all the gui pieces are updated accordingly.
  5935. [Fixes bug #361020]
  5936. 2008-02-21 Jonathan Pobst <[email protected]>
  5937. * TextRenderer.cs: Respect proposed size for MeasureString.
  5938. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  5939. autosize, use a proposed width to force wrapping for long text.
  5940. [Fixes bug #360981]
  5941. 2008-02-21 Jonathan Pobst <[email protected]>
  5942. * TreeView.cs: Factor in checkboxes = false and state images in
  5943. to HitTest. [Fixes bug #363360]
  5944. 2008-02-21 Jonathan Pobst <[email protected]>
  5945. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  5946. when drawing the selected range.
  5947. [Fixes bug #363648]
  5948. 2008-02-21 Jonathan Pobst <[email protected]>
  5949. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  5950. ResizeRedraw control styles.
  5951. [Fixes bug #363555]
  5952. 2008-02-20 Jonathan Pobst <[email protected]>
  5953. * TreeView.cs: StateImages are basically custom checkboxes, so
  5954. factor their size the same as real checkboxes when determining
  5955. what got clicked.
  5956. [Fixes bug #363367]
  5957. 2008-02-20 Jonathan Pobst <[email protected]>
  5958. * MessageBox.cs: Make the message box wider if the form caption
  5959. is longer than the text in the form.
  5960. [Fixes bug #361137]
  5961. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5962. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  5963. 2008-02-20 Jonathan Pobst <[email protected]>
  5964. * TreeNode.cs: Guard against an NRE when the parent's
  5965. StateImageList hasn't been set.
  5966. [Fixes bug #363353]
  5967. 2008-02-20 Jonathan Pobst <[email protected]>
  5968. * SplitContainer.cs: Add SupportsTransparentBackColor and
  5969. OptimizedDoubleBuffering control styles.
  5970. [Fixes bug #363303]
  5971. 2008-02-20 Jonathan Pobst <[email protected]>
  5972. * Application.cs: For the app data paths and the registry key paths,
  5973. ensure they are created before returning them to the user.
  5974. [Fixes bug #361709]
  5975. 2008-02-20 Jonathan Pobst <[email protected]>
  5976. * Application.cs: Guard against an NRE in CompanyName and
  5977. ProductName.
  5978. 2008-02-20 Jonathan Pobst <[email protected]>
  5979. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  5980. make sure we handle all three cases correctly: attribute is present,
  5981. attribute is present but is an empty string, and attribute is not
  5982. present.
  5983. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5984. * PropertyGridView.cs:
  5985. - Fix a NRE that caused a test failure
  5986. - Another performance improvement - cache the standard values
  5987. listbox.
  5988. 2008-02-19 Jonathan Pobst <[email protected]>
  5989. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  5990. code paths.
  5991. 2008-02-19 Ivan N. Zlatev <[email protected]>
  5992. * PropertyGridView.cs: Fix a big performance bug.
  5993. 2008-02-19 Jonathan Pobst <[email protected]>
  5994. * SelectionRange.cs: Apply patch from Andy Hume to make
  5995. constructor behavior more accurate. [Fixes bug #362117]
  5996. 2008-02-19 Andreia Gaita <[email protected]>
  5997. * Control.cs: Added a new flag is_disposing to track if the
  5998. window is currently in the process of being disposed of.
  5999. This is used so that, when firing visibility changes triggered
  6000. by unparenting controls during Dispose, the control doesn't
  6001. get created again.
  6002. 2008-02-19 Jonathan Pobst <[email protected]>
  6003. * ComboBox.cs: Set height to preferred height when the handle
  6004. is created. [Fixes bug #360862]
  6005. 2008-02-18 Andreia Gaita <[email protected]>
  6006. * XplatUIX11.cs: Create FosterParent with border width at 0.
  6007. With the previous value of 4, everytime a control got reparented
  6008. from parent = null, it's location would be shifted right and
  6009. down by 4, since these coordinates would be offset by the
  6010. FosterParent's border width.
  6011. 2008-02-18 Ivan N. Zlatev <[email protected]>
  6012. * Control.cs: During diposing firstly remove ourselfes from
  6013. the parent and *then* destroy our handle, because removing
  6014. ourselfes from the parent controls collection causes
  6015. VisibilityChange, etc events, which require a handle and end
  6016. up recreating the control.
  6017. 2008-02-17 Ivan N. Zlatev <[email protected]>
  6018. * GridEntry.cs: Set expanded state before notifying that the
  6019. expansion has taken place.
  6020. * PropertyGridView.cs:
  6021. - Set the propertygridtextbox text to the selected
  6022. StandardValue before proceeding to setting it.
  6023. - Scrolling bugfixes.
  6024. 2008-02-16 Ivan N. Zlatev <[email protected]>
  6025. * GridEntry.cs:
  6026. - Fix ValueText to not return null.
  6027. - Fix conversion error reporting to actually happen.
  6028. * PropertyGridView.cs: Set entry only if the text has changed.
  6029. [Fixes bug #362116]
  6030. 2008-02-16 Ivan N. Zlatev <[email protected]>
  6031. * GridEntry.cs:
  6032. - Fix handling of a null current value.
  6033. - Swallow editor exceptions.
  6034. [Fixes bug #362114]
  6035. 2008-02-16 Ivan N. Zlatev <[email protected]>
  6036. * PropertyGrid.cs: Clear current items first thing before
  6037. repopulating subitems.
  6038. * GridEntry.cs:
  6039. - Handle null StandardValuesCollection.
  6040. - Mark as not editable if there is no PropertyDescriptor and
  6041. if the Converter cannot convert from string.
  6042. [Part of fix for bugs #360666 and #358332]
  6043. 2008-02-15 Luke Page <[email protected]>
  6044. * MaskedTextBox.cs: Now skips non editable characters after a
  6045. character has been entered and we are progressing to the next
  6046. position in the MaskedTextBox.
  6047. 2008-02-15 Luke Page <[email protected]>
  6048. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  6049. that it changes the selection rather than just repositioning the
  6050. cursor. Fixes Bug #360873.
  6051. 2008-02-15 Luke Page <[email protected]>
  6052. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  6053. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  6054. correctly. See #359330
  6055. 2008-02-15 Andreia Gaita <[email protected]>
  6056. * XplatUIX11.cs: If the handle is null when posting a message, use the
  6057. current thread queue to post instead. Fixes #332409
  6058. * SendKeys.cs: Slight optimization
  6059. 2008-02-14 Ivan N. Zlatev <[email protected]>
  6060. * PropertyGrid.cs, PropertyGridView.cs:
  6061. Fix multiple scrolling and sizing issues.
  6062. [Fixes bug #359199]
  6063. 2008-02-12 Ivan N. Zlatev <[email protected]>
  6064. * PropertyGridView.cs: Ensure that drop down editors are shown
  6065. in the WorkingArea of the screen.
  6066. [Fixes bug #359807]
  6067. 2008-02-12 Ivan N. Zlatev <[email protected]>
  6068. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  6069. [Fixes bug #360666]
  6070. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  6071. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  6072. 2008-02-11 Ivan N. Zlatev <[email protected]>
  6073. * PropertyGridView.cs:
  6074. - Clear the controls in the drop down form after it is hidden.
  6075. - Fix Width sizing of the dropdown editors to match MSFT.
  6076. 2008-02-11 Ivan N. Zlatev <[email protected]>
  6077. * PropertyGridView.cs:
  6078. - Fix height for drawing the grid entry
  6079. text value, so that it clips multiline text properly.
  6080. - Fix unfocusing to match MSFT.
  6081. 2008-02-11 Ivan N. Zlatev <[email protected]>
  6082. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  6083. Fixes a bug where on repopulation after value changed items become
  6084. expandable.
  6085. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  6086. * Binding.cs: For the 2.0 profile, look for a
  6087. 'PropertyChanged' event in the target control, and add checks for
  6088. DataSourceUpdateMode property to change -or not- the data source
  6089. from validation/control property change.
  6090. 2008-02-10 Atsushi Enomoto <[email protected]>
  6091. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  6092. not compare struct with null in 2.0).
  6093. 2008-02-10 Luke Page <[email protected]>
  6094. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  6095. updates the provider and if not using a provider, uses the internal document
  6096. class implementation of password char. Also when showing text, uses display string
  6097. from the provider, instead of the actual text.
  6098. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  6099. * Binding.cs: Ooooops, forgot to take into account the data_source
  6100. and binding_member_info null case (it was breaking the Binding tests).
  6101. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  6102. * Binding.cs: Implement support for data source changes exposed by
  6103. 'PropertyNameChanged' events, and update the control property as
  6104. needed.
  6105. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  6106. * Binding.cs: Implement 2.0 WriteValue method.
  6107. 2008-02-08 Jonathan Pobst <[email protected]>
  6108. Commit patch from James Purcell for better AutoScale implementation:
  6109. * ScaleControl should call GetScaledBounds with the control's total size rather
  6110. than client size. GetScaledBounds should handle ignoring the borders in its
  6111. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  6112. (for the most part they just call the base code now since that is fixed).
  6113. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  6114. without having to override ScaleChildren (since none of .NET's controls do).
  6115. This is required for most controls in Mono that have scrollbars to prevent the
  6116. scrollbars from being moved/resized.
  6117. * Nested ContainerControls can have a different scale mode than their parent.
  6118. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  6119. designer produce different results both of which look incorrect).
  6120. * Default AutoScaleMode for ContainerControl should be Inherit.
  6121. * Simplified workaround for ComboBox scaling issue.
  6122. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  6123. 1.0 style auto scaling should scale the whole control's size instead of
  6124. ignoring the borders (except for Form) and the rounding is done differently to
  6125. preserve control alignment.
  6126. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  6127. GetAutoScaleSize.
  6128. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  6129. * CurrentAutoScaleDimensions should round the estimated character width instead
  6130. of truncating.
  6131. * ListBox's GetScaledBounds should always use the height it was set to instead
  6132. of the height that was passed in. This prevents rounding errors from
  6133. accumulating quickly with IntegralHeight.
  6134. [Bug #359098]
  6135. 2008-02-08 Andreia Gaita <[email protected]>
  6136. * Form.cs: Add a null check (darn it).
  6137. 2008-02-08 Jonathan Pobst <[email protected]>
  6138. * MdiClient.cs: Make sure the requesting form actually owns the
  6139. control menu items before removing them. Also, use
  6140. Suspend/ResumeLayout when adding or removing items so we only
  6141. layout once.
  6142. [Fixes bug #359887]
  6143. 2008-02-08 Jonathan Pobst <[email protected]>
  6144. * Control.cs: Guard against an NRE in ShowFocusCues.
  6145. [Fixes bug #359830]
  6146. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  6147. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  6148. property, as well as stubbing DataSourceUpdateMode.
  6149. 2008-02-08 Andreia Gaita <[email protected]>
  6150. * Form.cs: When closing forms, get focus back to the active control of the
  6151. active form. [Fixes #341314, corner case]
  6152. 2008-02-07 Jonathan Pobst <[email protected]>
  6153. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  6154. area, so any old scrollbar artifacts are cleaned up.
  6155. [Fixes bug #336305]
  6156. 2008-02-07 Jonathan Pobst <[email protected]>
  6157. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  6158. for our menus, display that control box menu instead of the 1.1
  6159. menu one.
  6160. 2008-02-07 Jonathan Pobst <[email protected]>
  6161. * MdiControlStrip.cs: Add property to access the mdi form tied to
  6162. each toolstripitem.
  6163. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  6164. to the implicitly merged menu. Every time we clicked the form, items
  6165. were getting removed and the re-added, causing the form to jump around
  6166. as the menu resized.
  6167. 2008-02-07 Jonathan Pobst <[email protected]>
  6168. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  6169. was being reset by the implicit menu merge for menustrips.
  6170. [Fixes bug #336296]
  6171. 2008-02-07 Jonathan Pobst <[email protected]>
  6172. * Form.cs: Don't do the previous change when WindowState = Normal,
  6173. or it messes up where the window is placed. Fixes test failure.
  6174. 2008-02-07 Jonathan Pobst <[email protected]>
  6175. * Form.cs: When becoming visible, if we are an MDI child, call
  6176. SetWindowState with a dummy old_state so that changes will actually
  6177. be made.
  6178. [Fixes the 2nd part of bug #325473]
  6179. 2008-02-07 Andreia Gaita <[email protected]>
  6180. * Control.cs: Reset properties to their pre parent-change values in case
  6181. the new parent == null (in which case we're basically removing the control,
  6182. and don't want any events fired due to fake property changes)
  6183. [Fixes #355850]
  6184. 2008-02-06 Ivan N. Zlatev <[email protected]>
  6185. * PropertyGridView.cs:
  6186. - Refactor SetValue to allow setting the value
  6187. when a custom editor is used, but the entry is not editable.
  6188. - Remove the custom editor control on CloseDropDown.
  6189. [Fixes #359196]
  6190. 2008-02-06 Andreia Gaita <[email protected]>
  6191. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  6192. reflection only on 1.1, this property is public on system.drawing on 2.0.
  6193. Fixed #359247
  6194. 2008-02-06 Andreia Gaita <[email protected]>
  6195. * WebBrowser.cs: Do a normal page refresh by default.
  6196. 2008-02-05 Andreia Gaita <[email protected]>
  6197. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  6198. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  6199. platforms. Fixes #359036
  6200. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  6201. platform-specific flags.
  6202. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  6203. * Binding.cs: Add 2.0 BindableComponent property - just return control
  6204. by now.
  6205. 2008-02-05 Everaldo Canuto <[email protected]>
  6206. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  6207. Jonathan for this patch. Fixes #358442.
  6208. 2008-02-05 Jonathan Pobst <[email protected]>
  6209. * Form.cs: If we change the active MDI child form, let the others
  6210. know they need to repaint their title bar so it will appear inactive.
  6211. [Fixes part 1 of bug #325473]
  6212. 2008-02-05 Ivan N. Zlatev <[email protected]>
  6213. * PropertyGridView.cs: Do not trucate custom editors' width
  6214. and align them to the left.
  6215. [Fixes #358353 and #358349]
  6216. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  6217. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  6218. Also fix the arguments passed to CollectionChangeEventArgs in the
  6219. related methods.
  6220. 2008-02-04 Geoff Norton <[email protected]>
  6221. * Hwnd.cs: The conversion to Quartz coordinates happens in
  6222. System.Drawing. Removing this translation from here.
  6223. 2008-02-04 Ivan N. Zlatev <[email protected]>
  6224. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  6225. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  6226. GridItemCollection.cs:
  6227. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  6228. 2008-02-04 Geoff Norton <[email protected]>
  6229. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  6230. SYSKEYUP if any other key has been pressed in the mean time.
  6231. Fixes #324404
  6232. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  6233. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  6234. when the item in current position is different than 0. Also, save the
  6235. item index in the beginning of the operation, instead of getting the
  6236. index of the item when the event is actually performed. Lastly clean
  6237. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  6238. triggered.
  6239. [Fixes #357873]
  6240. 2008-02-03 Jonathan Pobst <[email protected]>
  6241. * Form.cs: Alt-Minus for MDI children system menu should work
  6242. with both the minus keys on the keyboard.
  6243. [Fixes bug #336295]
  6244. 2008-02-03 Jonathan Pobst <[email protected]>
  6245. * Control.cs: Don't invalidate on region change. The WM should
  6246. take care of this automagically. Keeps us out of an infinite
  6247. paint loop if someone changes the Region in the OnPaint.
  6248. [Fixes bug #358327]
  6249. 2008-02-04 Ivan N. Zlatev <[email protected]>
  6250. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  6251. 2008-02-03 Jonathan Pobst <[email protected]>
  6252. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  6253. down the MonthCalendar only on F4, not Alt+F4.
  6254. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  6255. [Fixes bug #358340]
  6256. 2008-02-03 Jonathan Pobst <[email protected]>
  6257. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  6258. if its part of a DateTimePicker, else, use the back color.
  6259. [Fixes bug #358339]
  6260. 2008-02-03 Jonathan Pobst <[email protected]>
  6261. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  6262. [Fixes bug #358342]
  6263. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  6264. * CurrencyManager.cs: When we get a ListChanged event from our source,
  6265. always fire our own ListChanged event, as .Net does.
  6266. 2008-02-03 Luke Page <[email protected]>
  6267. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  6268. #358379.
  6269. 2008-02-03 Luke Page <[email protected]>
  6270. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  6271. property. Removed if for richtext property that was always true.
  6272. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  6273. 2008-02-03 Luke Page <[email protected]>
  6274. * TextBoxBase.cs - commited patch from James Purcell that
  6275. correctly sets the FixedHeight control style when the MultiLine
  6276. property is changed on a TextBox control. Fixes bug 358229.
  6277. 2008-02-02 Luke Page <[email protected]>
  6278. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  6279. Fixes bug 351938 - caret is positioned correctly when drawn
  6280. and when calculating textual position of caret, no longer
  6281. has a NRE in certain situations.
  6282. 2008-02-01 Geoff Norton <[email protected]>
  6283. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  6284. get that region removed from the paint event.
  6285. * XplatUICarbon.cs: Remove the window mapping after disposing of
  6286. window. Prevents a crash with handle reuse. Optimize exposes
  6287. only onto visible windows (rare; but possible).
  6288. 2008-02-01 Jonathan Pobst <[email protected]>
  6289. * UpDownBase.cs: Make sure the internal textbox calls the base's
  6290. OnMouseDown and OnMouseUp so the textbox will function correctly.
  6291. There were notes saying it doesn't chain up, but its an internal
  6292. class, so our implementation may differ.
  6293. [Fixes bug #357482]
  6294. 2008-02-01 Jonathan Pobst <[email protected]>
  6295. * ListBox.cs: Fix a logic error and don't process MouseDown
  6296. for mouse buttons other than Left.
  6297. 2008-02-01 Jonathan Pobst <[email protected]>
  6298. * Control.cs: Remove HeightInternal.
  6299. * ListBox.cs: Commit patch from James Purcell that correctly
  6300. calculates heights for ListBoxen.
  6301. [Fixes bug #357152]
  6302. 2008-02-01 Jonathan Pobst <[email protected]>
  6303. * Label.cs: Apply patch from James Purcell that corrects the
  6304. signature of the AutoSize property.
  6305. [Fixes bug #357605]
  6306. 2008-02-01 Jonathan Pobst <[email protected]>
  6307. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  6308. other than the left mouse button.
  6309. 2008-01-31 Jonathan Pobst <[email protected]>
  6310. * Control.cs: Remove my awesome optimization as it caused some
  6311. regressions with control ordering. :(
  6312. [Fixes bug #357467]
  6313. 2008-01-31 Ivan N. Zlatev <[email protected]>
  6314. * PropertyGridView.cs: Fix a NRE on double click when there is no
  6315. selected object.
  6316. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  6317. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  6318. 2008-01-30 Jonathan Pobst <[email protected]>
  6319. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  6320. [Fixes bug #357146]
  6321. 2008-01-29 Jonathan Pobst <[email protected]>
  6322. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  6323. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  6324. instead of Hwnd.bmp_g.
  6325. 2008-01-29 Jonathan Pobst <[email protected]>
  6326. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  6327. Use the Hwnd one instead.
  6328. 2008-01-29 Jonathan Pobst <[email protected]>
  6329. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  6330. 2008-01-29 Jonathan Pobst <[email protected]>
  6331. * Form.cs: corcompare for RestoreBounds.
  6332. 2008-01-29 Jonathan Pobst <[email protected]>
  6333. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  6334. 2008-01-29 Jonathan Pobst <[email protected]>
  6335. * Form.cs: Handle Alt-Minus for MDI children forms.
  6336. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  6337. Add mnemonics to the control menu.
  6338. [Fixes bug #336295]
  6339. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  6340. * Binding.cs: Initial implementation bits of FormattingEnabled
  6341. property and BindingComplete event (2.0).
  6342. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  6343. and exception.
  6344. 2008-01-28 Jonathan Pobst <[email protected]>
  6345. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  6346. table.Location. [Fixes bug #354672]
  6347. 2008-01-28 Jonathan Pobst <[email protected]>
  6348. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  6349. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  6350. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  6351. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  6352. of doing all the re-bound work, just invalidate and call SetControlText
  6353. to set the updated text of selected item to our textbox.
  6354. Fixes #333750.
  6355. 2008-01-28 Andreia Gaita <[email protected]>
  6356. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  6357. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  6358. missing properties and methods. Add Load, Unload, Error, GotFocus,
  6359. LostFocus, Resize, Scroll events (only load and unload are connected)
  6360. 2008-01-27 Gert Driesen <[email protected]>
  6361. * AccessibleObject.cs: Modified argument names to match MS.
  6362. * Button.cs: Modified argument names to match MS.
  6363. * BindingContext.cs: Modified argument names to match MS.
  6364. * BindingMemberInfo.cs: Modified argument names to match MS.
  6365. * ButtonBase.cs: Modified argument names to match MS.
  6366. * ComboBox.cs: Modified argument names to match MS.
  6367. * Control.cs: Modified argument names to match MS.
  6368. * CheckedListBox.cs: Modified argument names to match MS.
  6369. * CommonDialog.cs: Modified argument names to match MS.
  6370. * DataGrid.cs: Modified argument names to match MS.
  6371. * CursorConverter.cs: Modified argument names to match MS.
  6372. * ControlPaint.cs: Modified argument names to match MS.
  6373. * CheckBox.cs: Modified argument names to match MS.
  6374. * ControlBindingsCollection.cs: Modified argument names to match MS.
  6375. * BindingSource.cs: Modified argument names to match MS.
  6376. * DataFormats.cs: Modified argument names to match MS.
  6377. * ContainerControl.cs: Modified argument names to match MS.
  6378. * CurrencyManager.cs: Modified argument names to match MS.
  6379. * Application.cs: Modified argument names to match MS.
  6380. * ContextMenuStrip.cs: Modified argument names to match MS.
  6381. * ContextMenu.cs: Modified argument names to match MS.
  6382. * BindingManagerBase.cs: Modified argument names to match MS.
  6383. * WindowsFormsSection.cs: Fixed line ending.
  6384. 2008-01-27 Andreia Gaita <[email protected]>
  6385. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  6386. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  6387. while.
  6388. 2008-01-26 Gert Driesen <[email protected]>
  6389. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  6390. MS. Code formatting.
  6391. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  6392. * Binding.cs: Don't avoid the Format event if the control
  6393. property type is object. Also, if the value retrieved by
  6394. the data source is null _and_ the control proeprty type
  6395. is object, return Convert.DBNull (match .Net).
  6396. Fixes part of #324286.
  6397. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  6398. * ListControl.cs: Since we are getting two BinginContextChanged events
  6399. for the same binding context instance (when the control is added to
  6400. form, and when the form is actually shown), take it into account only the
  6401. first time for a given binding context instance.
  6402. Fixes part of #324286.
  6403. 2008-01-26 Ivan N. Zlatev <[email protected]>
  6404. * PropertryGridView.cs: Ops.
  6405. 2008-01-26 Ivan N. Zlatev <[email protected]>
  6406. * PropertyGridView.cs: Close dropdown form if the owner form is
  6407. moved or minimized.
  6408. [Fixes bug #322446]
  6409. 2008-01-25 Ivan N. Zlatev <[email protected]>
  6410. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  6411. RootGridEntry.cs, CategoryGridEntry.cs:
  6412. PropertyGrid rewrite.
  6413. - Rewrite all of the control logic in PropertyGrid.
  6414. - Rewrite all of the ComponentModel logic in GridEntry.
  6415. - Rewrite all UI work in PropertyGridView.
  6416. - Many bugfixes, etc.
  6417. 2008-01-24 Jonathan Pobst <[email protected]>
  6418. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  6419. when all contained controls are autosize or dock-fill. Also take into
  6420. account when the total percentage of column/row sizes is not 100%.
  6421. [Fixes bug #354672]
  6422. 2008-01-24 Andreia Gaita <[email protected]>
  6423. * HtmlDocument.cs:
  6424. - Save a reference to the IDocument in the instance and
  6425. use that one instead of going to WebHost.Document; the document that the
  6426. WebHost returns might not be the right one (in case of frames).
  6427. - Use the hashcode returned from the IDocument interface.
  6428. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  6429. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  6430. LinkColor, Url, VisitedColor, Window
  6431. * HtmlElement.cs:
  6432. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  6433. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  6434. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  6435. SetAttribute, Equals, equality operators.
  6436. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  6437. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  6438. * HtmlElementCollection.cs: Change implementation to use a generic
  6439. collection. Implemented Enumerator and CopyTo
  6440. * HtmlHistory.cs: Add constructor, no implementation yet.
  6441. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  6442. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  6443. Equals, equality operators.
  6444. * HtmlWindowCollection.cs: Implemented.
  6445. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  6446. has been deprecated).
  6447. * WebBrowserBase.cs: Use Completed event to track document loading
  6448. (Navigated has been deprecated)
  6449. 2008-01-24 Jonatham Pobst <[email protected]>
  6450. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  6451. level MenuItems do not respect tabs.
  6452. [Fixes bug #355196]
  6453. 2008-01-23 Geoff Norton <[email protected]>
  6454. * XplatUICarbon.cs: Ensure that windows are created in their initial
  6455. FormWindowState. Finished fixing Fullscreen windows on Carbon
  6456. 2008-01-23 Everaldo Canuto <[email protected]>
  6457. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  6458. be used as grab_control. Also save status of capture before show ContextMenu
  6459. and restore it after close.
  6460. 2008-01-23 Everaldo Canuto <[email protected]>
  6461. * Control.cs: Internal FindRootParent method added to return high control
  6462. in parent tree.
  6463. 2008-01-23 Geoff Norton <[email protected]>
  6464. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  6465. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  6466. it work again. Handle HITTEST events.
  6467. 2008-01-23 Geoff Norton <[email protected]>
  6468. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  6469. a crash in certain cases. Support for fullscreen windows in certain cases.
  6470. 2008-01-23 Jonathan Pobst <[email protected]>
  6471. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  6472. [Fixes bug #355703]
  6473. 2008-01-23 Geoff Norton <[email protected]>
  6474. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  6475. 2008-01-23 Geoff Norton <[email protected]>
  6476. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  6477. 2008-01-23 Everaldo Canuto <[email protected]>
  6478. * SplitContainer.cs: Remove unused declarations.
  6479. * Binding.cs: Remove unused declarations.
  6480. 2008-01-23 Everaldo Canuto <[email protected]>
  6481. * Form.cs: Remove unused declaration of 'active' in Activate method.
  6482. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  6483. prevent compilation warnings.
  6484. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  6485. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  6486. * Bindings.cs: Remove unused formatting_enabled declaration.
  6487. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  6488. warnings.
  6489. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  6490. warnings.
  6491. * PropertyGridView.cs: Remove usused 'ex' declaration.
  6492. * DataGridView.cs: Remove unused declarations.
  6493. 2008-01-23 Everaldo Canuto <[email protected]>
  6494. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  6495. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  6496. to Control class, it makes possible to grab menu to controls that can't
  6497. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  6498. WmMouseMove removed since it was used only to track menu events.
  6499. * Control.cs:
  6500. - Moved all active_tracker stuff from Form.
  6501. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  6502. can call this method instead of reimplement all necessary code handle for
  6503. menu tracker.
  6504. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  6505. and WmMouseMove).
  6506. * MenuAPI.cs:
  6507. - Remove special handle to ToolStripOverflow, now we can grab menu to
  6508. controls that can't reach Form using parent tree.
  6509. - Change type of grab_control from Form to Control.
  6510. 2008-01-22 Geoff Norton <[email protected]>
  6511. * TextBoxBase.cs: Split up the sizing of controls and placing of
  6512. controls. Fixes a bug where scrollbars in Reflector could be sized
  6513. wrong and have non-working thumbers.
  6514. 2008-01-23 Geoff Norton <[email protected]>
  6515. * XplatUI.cs: Refactor environment variables to default support to the
  6516. Carbon driver on the Mac.
  6517. 2008-01-23 Everaldo Canuto <[email protected]>
  6518. * Label.cs: Uses new LabelPainter for drawing operations.
  6519. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  6520. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  6521. 2008-01-22 Geoff Norton <[email protected]>
  6522. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  6523. 2008-01-22 Jonathan Pobst <[email protected]>
  6524. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  6525. through the normal flat button code and don't draw the checkbox glyph.
  6526. * Theme.cs: Button->ButtonBase signature change.
  6527. [Fixes bug #324755]
  6528. 2008-01-22 Everaldo Canuto <[email protected]>
  6529. * LinkLabel.cs: Uses new class LinkLabelPainter.
  6530. 2008-01-22 Everaldo Canuto <[email protected]>
  6531. * MessageBox.cs: Adjust right border space, we don't need to add
  6532. "space_border*2" two times.
  6533. 2008-01-22 Jonathan Pobst <[email protected]>
  6534. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  6535. becomes a wrapper around Padding.
  6536. [Fixes a part of bug #354676]
  6537. 2008-01-22 Geoff Norton <[email protected]>
  6538. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  6539. acquired. Also ensure the buffer is large enough to grab the header
  6540. we need on linux boxes.
  6541. 2008-01-22 Jonathan Pobst <[email protected]>
  6542. * Control.cs: Implement a custom enumerator so people can delete
  6543. from the Controls collection while in a foreach.
  6544. [Fixes bug #355074]
  6545. 2008-01-22 Ivan N. Zlatev <[email protected]>
  6546. * PropertyGridView.cs: Fix focusing behavior:
  6547. - Tab should focus the grid text box.
  6548. - Clicking on the labels shouldn't focus the grid text box.
  6549. 2008-01-22 Ivan N. Zlatev <[email protected]>
  6550. * PropertyGridView.cs: IsValueTypeGridItem should return true
  6551. for Arrays as well.
  6552. 2008-01-22 Ivan N. Zlatev <[email protected]>
  6553. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  6554. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  6555. reflect the property name role.
  6556. - PropertyGrid.GetTarget is not required as the target is known
  6557. (TargetObjects).
  6558. - Setting values will handle value types as a special case now and
  6559. populate them up in the chain.
  6560. [Fixes #354990]
  6561. 2008-01-21 Jonathan Pobst <[email protected]>
  6562. * Hwnd.cs: Create a public property for the Graphics we keep around.
  6563. 2008-01-21 Ivan N. Zlatev <[email protected]>
  6564. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  6565. when the current object selection changes.
  6566. Fixes failing test SelectedObject_Null2.B5.
  6567. 2008-01-21 Ivan N. Zlatev <[email protected]>
  6568. * PropertyGrid.cs: Process Browsable properties with
  6569. DesignerSerializationVisibilityAttribute.Content as being expandable.
  6570. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  6571. will not be expandable. We should be nested components-friendly now.
  6572. 2008-01-21 Andreia Gaita <[email protected]>
  6573. * WebBrowserBase.cs: Check if control was loaded properly,
  6574. don't bind if it wasn't.
  6575. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  6576. GetElementFromPoint, equality operators, OpenNew, Write.
  6577. Remove extra set_Body
  6578. 2008-01-18 Jonathan Pobst <[email protected]>
  6579. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  6580. that makes our AutoScale* stuff more tolerant to different orders
  6581. of being set. [Fixes bug #354669]
  6582. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6583. * PropertyGridView.cs, PropertyGridTextBox.cs:
  6584. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  6585. [Fixes #339005 and #348209]
  6586. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6587. * PropertyGridView.cs: Hide the grid text box before adjusting it
  6588. for the newly selected GridItem.
  6589. [Fixes #338999]
  6590. 2008-01-18 Jonathan Pobst <[email protected]>
  6591. * Form.cs: Give MDI children the opportunity to cancel the parent form
  6592. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  6593. properly for both the parent and child.
  6594. * Application.cs: Signature of internal method changed, pass the previous
  6595. default of false.
  6596. [Fixes bug #354286]
  6597. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6598. * PropertyGridView.cs: Set the property value only if it has changed.
  6599. [Fixes bug #338997]
  6600. 2008-01-17 Jonathan Pobst <[email protected]>
  6601. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  6602. If the mouse hasn't actually moved, ignore these messages so the currently
  6603. highlighted menuitem isn't reset to the one under the mouse.
  6604. [Fixes bug #333668]
  6605. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6606. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  6607. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  6608. to reflect the change visually.
  6609. [Fixes bug #338998]
  6610. 2008-01-17 Jonathan Pobst <[email protected]>
  6611. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  6612. to 2.0 button drawing.
  6613. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  6614. the button text is tall enough for one line. LineLimit says it will
  6615. always draw at least one line, but it is a lie.
  6616. [Fixes bug #324941]
  6617. 2008-01-17 Atsushi Enomoto <[email protected]>
  6618. * XplatUIStructs.cs, X11Keyboard.cs :
  6619. added some more VK_* keys to be handled.
  6620. 2008-01-16 Andreia Gaita <[email protected]>
  6621. * Control.cs: Check if there is a container before setting or getting
  6622. the validation flag.
  6623. 2008-01-16 Andreia Gaita <[email protected]>
  6624. * ContainerControl.cs: Add flag to track if a control cancels validation,
  6625. so we don't fire click events.
  6626. * Control.cs:
  6627. - (HandleClick) Check if validation was cancelled before firing the click
  6628. events (doubleclicks are fired, but not clicks)
  6629. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  6630. ContainerControl.set_ActiveControl, but in the case of non-selectable
  6631. controls, like a Label, activecontrol is not set.
  6632. * ButtonBase.cs: Only fire clicks if validation passes.
  6633. Fixes #353310
  6634. 2008-01-16 Geoff Norton <[email protected]>
  6635. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  6636. trunk
  6637. 2008-01-16 Jonathan Pobst <[email protected]>
  6638. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  6639. SelectedPath, just display the default dialog instead of crashing.
  6640. [Fixes bug #348989]
  6641. 2008-01-16 Geoff Norton <[email protected]>
  6642. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  6643. AddExpose instead of trusting apples compositing manager which doesn't
  6644. work for our use case. Remove some dead code causing warnings and
  6645. redecorate some other code to prevent warnings.
  6646. 2008-01-16 Geoff Norton <[email protected]>
  6647. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  6648. carbon signals us to redraw. Fixes another portion of the flickering bug
  6649. 2008-01-16 Everaldo Canuto <[email protected]>
  6650. * Form.cs: Prevent the MdiParent property to be set when value is the same
  6651. as value already set. Fixes bug #328019.
  6652. 2008-01-16 Everaldo Canuto <[email protected]>
  6653. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  6654. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  6655. 2008-01-16 Everaldo Canuto <[email protected]>
  6656. * InternalWindowManager.cs: Invalidade close button after mouse up when
  6657. mdi form is prevented to close.
  6658. 2008-01-16 Everaldo Canuto <[email protected]>
  6659. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  6660. thanks to Andy Hume. Fixes bug #325433.
  6661. 2008-01-16 Andreia Gaita <[email protected]>
  6662. * LinkLabel.cs: Reset focused_index when resellecting the control.
  6663. Fixes #323190
  6664. 2008-01-15 Geoff Norton <[email protected]>
  6665. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  6666. messages.
  6667. 2008-01-15 Jonathan Pobst <[email protected]>
  6668. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  6669. of truncate.
  6670. 2008-01-15 Jonathan Pobst <[email protected]>
  6671. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  6672. Form.AutoScale to false.
  6673. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  6674. AutoScaleBaseSize should be changed on Font change unless it has been
  6675. explicitly set.
  6676. [Fixes bug #353827]
  6677. 2008-01-15 Everaldo Canuto <[email protected]>
  6678. * MenuAPI.cs: On instance of MenuTracker check if source control is
  6679. ToolStripOverflow and use properly method to find form.
  6680. [Fixes bug #338511]
  6681. 2008-01-15 Everaldo Canuto <[email protected]>
  6682. [Fixes bug #323241 Transparent toolbar support]
  6683. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  6684. is flat.
  6685. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  6686. defined in control style to mimic win32 behavior.
  6687. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  6688. it will be transparent.
  6689. 2008-01-14 Everaldo Canuto <[email protected]>
  6690. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  6691. CreateParams for ToolBar controls.
  6692. 2008-01-14 Jonathan Pobst <[email protected]>
  6693. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  6694. FixedToolWindow, SizeableToolWindow, or None for border styles have
  6695. different minimum sizes than regular forms. Implemented to fix
  6696. regression in PDN with toolbox being too wide.
  6697. 2008-01-14 Andreia Gaita <[email protected]>
  6698. * HtmlElementCollection.cs: Implemented
  6699. * HtmlElement.cs: Implemented:
  6700. - All
  6701. - InnerHtml
  6702. - InnerText
  6703. - Id
  6704. - Name
  6705. - FirstChild
  6706. * HtmlDocument.cs: Implemented GetElementsByTagName.
  6707. 2008-01-14 Jonathan Pobst <[email protected]>
  6708. * Screen.cs: Stub BitsPerPixel to always return 32.
  6709. 2008-01-14 Jonathan Pobst <[email protected]>
  6710. * Form.cs: Implement RestoreBounds.
  6711. 2008-01-14 Jonathan Pobst <[email protected]>
  6712. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  6713. Sebastien and his fabulous magical problem-finding machine:
  6714. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  6715. respect the value set.
  6716. 2008-01-14 Everaldo Canuto <[email protected]>
  6717. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  6718. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  6719. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  6720. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  6721. messages (to match .Net), we need to remove the capture ourselves.
  6722. 2008-01-11 Jonathan Pobst <[email protected]>
  6723. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  6724. will process the message and close our window.
  6725. [Fixes bug #324328]
  6726. 2008-01-10 Geoff Norton <[email protected]>
  6727. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  6728. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  6729. window manager.
  6730. 2008-01-10 Jonathan Pobst <[email protected]>
  6731. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  6732. failing test.
  6733. 2008-01-10 Jonathan Pobst <[email protected]>
  6734. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  6735. Linux doesn't care, having a minimum matches MS and keeps the window
  6736. from becoming too small to use window decorations.
  6737. [Fixes bug #338996]
  6738. 2008-01-10 Jonathan Pobst <[email protected]>
  6739. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  6740. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  6741. control. [Fixes bug #325419]
  6742. 2008-01-10 Jonathan Pobst <[email protected]>
  6743. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  6744. SelectedIndexChanged event. This closes the combobox dropdown, and we
  6745. were trying to dispose it. [Fixes bug #352830]
  6746. 2008-01-09 Jonathan Pobst <[email protected]>
  6747. * Control.cs, Form.cs: Implement the necessary semantics for
  6748. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  6749. to determine if a focus rectangle should be drawn.
  6750. * PropertyGrid.cs: Fix property visibility to match override.
  6751. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  6752. 2008-01-09 Jonathan Pobst <[email protected]>
  6753. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  6754. [Fixes bug #323552]
  6755. 2008-01-09 Geoff Norton <[email protected]>
  6756. * XplatUICarbon.cs: Scroll windows in the correct direction.
  6757. 2008-01-09 Geoff Norton <[email protected]>
  6758. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  6759. when the app is deactivated or spaces is enabled.
  6760. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  6761. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  6762. extra separation pixel for the label rect origin if SmallImageList is
  6763. null, and thus we don't need that separation between icon and label
  6764. rects.
  6765. Patch by Ernesto Carrea.
  6766. Fixes # 340195.
  6767. 2008-01-08 Jonathan Pobst <[email protected]>
  6768. * StatusStrip.cs: Invalidate after completing a layout. The base
  6769. OnLayout does this, but we don't call the base.
  6770. * ToolStripItem.cs: Revert the previous change to invalidate after
  6771. the item moves.
  6772. [Fixes bug #351341 better.]
  6773. 2008-01-07 Geoff Norton <[email protected]>
  6774. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  6775. not a notification to exit the application. Listen for WM_QUIT
  6776. instead.
  6777. 2008-01-07 Andreia Gaita <[email protected]>
  6778. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  6779. 2008-01-07 Jonathan Pobst <[email protected]>
  6780. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  6781. so it can repaint at the correct location.
  6782. [Fixes bug #351341]
  6783. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  6784. * ListControl.cs: SelectedValue should return a null value if
  6785. SelectedIndex is -1. Also, when setting it, it should throw an
  6786. ArgumentNullException if the value is null, as well as taking
  6787. into account the String.Empty value, instead of ignoring it (we have
  6788. tests for that now).
  6789. Fixes part of #324286.
  6790. 2008-01-06 Jonathan Pobst <[email protected]>
  6791. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  6792. SelectionStart is updated after pressing enter. Fixes bug #351918.
  6793. 2008-01-05 Jonathan Pobst <[email protected]>
  6794. * TextControl.cs: Revert a piece r92316 that prevented the fix
  6795. from working when there were multiple tags in the text box.
  6796. Fixes bug #351881.
  6797. 2008-01-05 Jonathan Pobst <[email protected]>
  6798. * TextControl.cs: Apply patch from Luke Page that prevents an
  6799. NRE when determining the beginning of a paragraph.
  6800. Fixes bug #351886.
  6801. 2008-01-05 Jonathan Pobst <[email protected]>
  6802. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  6803. caret gets moved with clicking away from a selected block of
  6804. text. Fixes bug #351885.
  6805. 2008-01-05 Jonathan Pobst <[email protected]>
  6806. * TextControl.cs: Apply patch from Luke Page that takes line
  6807. alignment into account for mouse selection, so that center and
  6808. right aligned text can be selected.
  6809. Fixes bug #351881.
  6810. 2008-01-05 Jonathan Pobst <[email protected]>
  6811. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  6812. issues after loading an RTF file by using the correct line feeds.
  6813. Fixes bug #351841.
  6814. 2008-01-05 Jonathan Pobst <[email protected]>
  6815. * TextControl.cs: When deleting multiple line selections, we need
  6816. to invalidate every line beginning at the first line of the selection.
  6817. Patch from Luke Page fixes bug #351791.
  6818. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  6819. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  6820. event, don't set SelectedIndex if the number of items is 1. This is
  6821. because, for the first item, PositionChanged is fired _before_
  6822. ItemChanged (the place where we actually populate the items), and
  6823. leave us in a temporary invalid state (since items collection is
  6824. empty).
  6825. Fixes #349655.
  6826. 2008-01-04 Geoff Norton <[email protected]>
  6827. * XplatUICarbon.cs: Create native toolwindows instead of
  6828. the managed drawing ones.
  6829. 2008-01-03 Jonathan Pobst <[email protected]>
  6830. * LineTag.cs: If the line doesn't have any characters, return
  6831. 0 for GetCharIndex. Fixes an AOORE exception after certain
  6832. caret movements. Fixes bug #351683. Patch by Luke Page.
  6833. 2008-01-03 Jonathan Pobst <[email protected]>
  6834. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  6835. is hit when there is selected text, only the selected text gets
  6836. deleted, not the character in front of the selection as well.
  6837. Fixes bug #351578.
  6838. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  6839. * ComboBox.cs: When the values are displayed, calculate the
  6840. ComboListBox scrollbar's LargeChange based on the visible area's
  6841. height and the actuall ItemHeight, instead of calculating it
  6842. based on MaxDropItems value, since it's not used by our _current_
  6843. 2.0 profile.
  6844. Fixes #332366.
  6845. 2008-01-03 Jonathan Pobst <[email protected]>
  6846. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  6847. Patch from Luke Page that fixes issues with font colors and styles
  6848. not showing up in a readonly RichTextBox. Fixes bug #324354.
  6849. 2008-01-03 Jonathan Pobst <[email protected]>
  6850. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  6851. from Luke Page. This one fixes bug #349926.
  6852. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  6853. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  6854. an item in the IBindingList source changes with
  6855. ListChangedType.ItemAdded. Ignore for now firing the event for other
  6856. changes, since we want to have tests for those cases as well.
  6857. 2007-12-28 Jonathan Pobst <[email protected]>
  6858. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  6859. created.
  6860. 2007-12-28 Jonathan Pobst <[email protected]>
  6861. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  6862. character. This is effective because the typical usage of a
  6863. TextBox is with a limited amount of fonts and characters, and
  6864. the current implementation of TextBox measures everything one
  6865. character at a time. Another second or two speedup for bug #347238.
  6866. 2007-12-28 Jonathan Pobst <[email protected]>
  6867. * Control.cs: Rewrite the Font getter to only query the parent's
  6868. Font property once instead of twice. Since this operation is
  6869. recursive, the queries were growing exponentially as the control
  6870. tree got deeper. Another second or two speedup for bug #347238.
  6871. 2007-12-28 Jonathan Pobst <[email protected]>
  6872. * Control.cs: Avoid setting a parent (and more importantly, updating
  6873. the zorder of all its children) if the parent is already correct in
  6874. WmShowWindow. Decreases the startup time of the test case on bug
  6875. #347238 from 35 seconds to 11 seconds.
  6876. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  6877. * X11Dnd.cs: When the dnd operation has started and we are
  6878. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  6879. This is done to match .Net, which doesn't send those messages after
  6880. dnd operation was completed/cancelled.
  6881. Fixes #349922.
  6882. 2007-12-27 Jonathan Pobst <[email protected]>
  6883. * ToolStrip.cs: Previous change should be != null, not == null.
  6884. Thanks Gert!
  6885. 2007-12-27 Jonathan Pobst <[email protected]>
  6886. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  6887. user may have moved the mouse off the current item during the event.
  6888. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  6889. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  6890. calling GetItemAt for every MouseMove event by also taking into
  6891. account whether any mouse button is pressed (probably dragging);
  6892. if so, we can call GetItemAt, and if not, try to not call it
  6893. (GetItemAt can be quite expensive when used with a large number of items).
  6894. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  6895. * ListView.cs: Implement -finally- support for dnd, by calling
  6896. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  6897. authors list ;-).
  6898. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  6899. simple calculation of distances for all the items in the owner
  6900. listview.
  6901. 2007-12-21 Geoff Norton <[email protected]>
  6902. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  6903. for windows that are originally created as invisible. Fixes missing
  6904. main window in paint-mono.
  6905. 2007-12-21 Geoff Norton <[email protected]>
  6906. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  6907. subclass handler for com.novell.mwfview subclassing HIView. Implement
  6908. Pasteboard and Dnd methods.
  6909. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  6910. * ListBox.cs: When we got focus, give focus to first item if there
  6911. wasn't any pervious focused item. Also update navigation to depend on
  6912. SelectedIndex rather than FocusedItem, just as .Net does.
  6913. Fixes #349174.
  6914. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  6915. * ListBox.cs: Both FindString and FindStringExact methods must do an
  6916. case insensitive search, should allow the last valid index to be
  6917. passed in the overload taking an initial index, and should also
  6918. continue searching from the top back to the specified index when it
  6919. reaches the bottom.
  6920. 2007-12-19 Jonathan Pobst <[email protected]>
  6921. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  6922. redraw issue, and allows RichTextBox to draw colored text even while
  6923. disabled or readonly.
  6924. 2007-12-19 Jonathan Pobst <[email protected]>
  6925. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  6926. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  6927. and doesn't grey text in a disabled RichTextBox.
  6928. 2007-12-19 Jonathan Pobst <[email protected]>
  6929. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  6930. for many RTF commands: quad alignment, separate formatting for blocks
  6931. inside groups, and ParDef support. Makes the test case from bug #324589
  6932. look much better.
  6933. 2007-12-19 Jonathan Pobst <[email protected]>
  6934. * LineTag.cs: Fix an error in the new Draw method that caused
  6935. a crash when rendering the document on bug #324589.
  6936. 2007-12-19 Jonathan Pobst <[email protected]>
  6937. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  6938. TextControl.cs: Apply patch from Luke Page that adds support
  6939. for URL links in RichTextBox.
  6940. [Fixes enhancement #342516]
  6941. 2007-12-18 Everaldo Canuto <[email protected]>
  6942. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  6943. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  6944. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  6945. * ListBox.cs: When a key gets pressed, try to find a string
  6946. if the key is a character or a digit.
  6947. Fixes #343971.
  6948. 2007-12-17 Jonathan Pobst <[email protected]>
  6949. * TableLayoutPanel.cs: Remove some unused variables.
  6950. 2007-12-17 Jonathan Pobst <[email protected]>
  6951. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  6952. we don't end up at an invalid date when we click the up/down
  6953. spinner to change the month or year. Fixes bug #348682.
  6954. 2007-12-17 Jonathan Pobst <[email protected]>
  6955. * Application.cs: Calling Exit in 2.0 should chain to the
  6956. Exit (CancelEventArgs) version so it can be cancelled.
  6957. * Form.cs: Create a flag to allow raising the Closing
  6958. events to be skipped. We raise them once in Application.Exit
  6959. and don't want to raise them again when the Form is actually
  6960. closed. [Fixes bug #349073]
  6961. 2007-12-16 Jonathan Pobst <[email protected]>
  6962. * ToolStripDropDown.cs: Guard against an NRE when there
  6963. hasn't been a mainform set in the application context.
  6964. [Fixes bug #349108]
  6965. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  6966. * ListBox.cs: When SetBoundsCore gets called, besides
  6967. calling UpdateScrollBars, update the value of
  6968. last_visible_index, since we could need to show more items
  6969. than before, and we need to let the paint routines know that.
  6970. Fixes #344445.
  6971. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6972. * ListView.cs: Add DesignerSerializationVisibility attribute to
  6973. InsertionMark property.
  6974. * ListViewItem.cs: Add same attribute to Position property.
  6975. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6976. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  6977. is 2.0 only.
  6978. 2007-12-14 Jonathan Pobst <[email protected]>
  6979. * ThemeWin32Classic.cs: Don't draw the background on a
  6980. flat button if there is a background image.
  6981. [Fixes bug #348649]
  6982. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  6983. * ListBox.cs: If we remove the item currently selected,
  6984. remove it not only from SelectedItems, but also
  6985. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  6986. the items count decreased and focused_item has bigger value than that.
  6987. 2007-12-13 Jonathan Pobst <[email protected]>
  6988. * Control.cs: Perform our layout after we resize ourselves
  6989. if we had to adjust our AutoSize. Missed commit for bug
  6990. #346246.
  6991. 2007-12-13 Jonathan Pobst <[email protected]>
  6992. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  6993. we can provide an implementation of AutoSize.
  6994. [Fixes bug #346246]
  6995. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  6996. * ListBox.cs: Add the internal overload Sort (bool paint),
  6997. to indicate whether we actually need a paint or we will
  6998. call Refresh ourselves. This way we don't request a paint
  6999. _before_ having an updated and valid layout.
  7000. Fixes #347233.
  7001. 2007-12-12 Andreia Gaita <[email protected]>
  7002. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  7003. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  7004. properly invalidated.
  7005. Fixes #324237
  7006. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  7007. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  7008. don't simply assign it to our internal group field, but instead
  7009. use our Group property, which should do all the neccessary work
  7010. required to support groups. Fixes an issue reported to me (mail) by a
  7011. guy using this new feature.
  7012. 2007-12-11 Jonathan Pobst <[email protected]>
  7013. * Control.cs: Use Scale instead of ScaleControl to ensure the
  7014. whole hierarchy gets scaled.
  7015. [Fixes bug #347282]
  7016. 2007-12-10 Jonathan Pobst <[email protected]>
  7017. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  7018. Parent property. Doing this causes the control to be hosted by
  7019. the Form instead of being a popup window.
  7020. [Fixes bug #347665]
  7021. 2007-12-10 Jonathan Pobst <[email protected]>
  7022. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  7023. at an index higher than Count, just use Add instead of Insert.
  7024. [Fixes bug #347669]
  7025. 2007-12-10 Jonathan Pobst <[email protected]>
  7026. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  7027. DrawPictureBox, this is handled by Control.PaintBackground.
  7028. [Fixes bug #347276]
  7029. 2007-12-10 Everaldo Canuto <[email protected]>
  7030. * MenuAPI.cs: When process menu keys return true by default only if menu is
  7031. active. Fixes bug #342892.
  7032. 2007-12-09 Andreia Gaita <[email protected]>
  7033. * Control.cs: check if windows are actually mapped before
  7034. trying to zorder. Fixes #342509, #346955
  7035. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  7036. * ListView.cs:
  7037. * ListViewInsertionMark.cs:
  7038. * ThemeWin32Classic.cs: Implement the drawing side of the
  7039. new 2.0 ListView.InsertionMark property.
  7040. 2007-12-07 Jonathan Pobst <[email protected]>
  7041. * CurrencyManager.cs: Silence some debug spew.
  7042. 2007-12-07 Geoff Norton <[email protected]>
  7043. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  7044. masks for our children as well as siblings to avoid having to query
  7045. Quartz for this information.
  7046. * XplatUICarbon.cs: Implement a delegate based system to pass
  7047. information to System.Drawing. Implement Async methods. Remove
  7048. the hack for the resize thumb and imlpement a transparent Grow Box.
  7049. Rework the messaging system to proplery create window's and messages,
  7050. fixes TabControl.
  7051. 2007-12-06 Andreia Gaita <[email protected]>
  7052. * X11Keyboard.cs: Use Xutf8LookupString to support international
  7053. characters under alternate codepages. Patch from #340878
  7054. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  7055. * ListView.cs: When doing layout computations, set position in the
  7056. ListView instances (we cache the position just as .Net does).
  7057. * ListViewItem.cs: New internal setter method for Position. Also set
  7058. position field as also available in 1.1, since we are going to use it
  7059. now in the common case.
  7060. 2007-12-06 Andreia Gaita <[email protected]>
  7061. * Control.cs: When removing controls, get the actual container
  7062. to notify about active control changes. Fixes 341314.
  7063. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  7064. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  7065. 2007-12-05 Andreia Gaita <[email protected]>
  7066. * Control.cs: When updating the zorder, ignore windows that are not
  7067. mapped. Fixes #342509
  7068. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  7069. * ListViewItem.cs: Actually implement serialization on this class.
  7070. 2007-12-05 Gert Driesen <[email protected]>
  7071. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  7072. LinkCollection. Spaces to tabs, and removed extra tabs.
  7073. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  7074. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  7075. tests to fail (hopefully).
  7076. 2007-12-03 Jonathan Pobst <[email protected]>
  7077. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  7078. the image margin so custom renderers can correctly place it.
  7079. 2007-12-03 Jonathan Pobst <[email protected]>
  7080. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  7081. so custom renderers can correctly place it.
  7082. 2007-12-03 Jonathan Pobst <[email protected]>
  7083. * Application.cs: Let WM_CHAR messages flow through to controls
  7084. hosted in Strips. [Fixes bug #343972]
  7085. 2007-12-02 Jonathan Pobst <[email protected]>
  7086. * ToolStripManager.cs: Guard against an NRE I ran into.
  7087. 2007-12-02 Jonathan Pobst <[email protected]>
  7088. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  7089. a Link is manually added to the Links collection, we need to set
  7090. its owner, so it can invalidate properly.
  7091. [Fixes bug #344012]
  7092. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  7093. * ListView.cs: When changing ListViewItem.Position (which calls
  7094. ListView.ChangeItemLocation), invalidate not only the area
  7095. corresponding to the main item, but also to the area occupied
  7096. by the items being moved.
  7097. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  7098. * ListView.cs: When changing the position of a given item,
  7099. don't use item bounds, but item areas (which includes the item spacing
  7100. between them). Also, use first/last position if the requested
  7101. position is outside bounds (as .Net does). Invalidate the previous and
  7102. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  7103. in a specific position, instead of directly accessing Items collection
  7104. (this is done to get the right item - remember an Item can have a
  7105. different position in the grid than in the Items collection).
  7106. 2007-11-23 Everaldo Canuto <[email protected]>
  7107. * MessageBox.cs: Calculate text area instead of just top left, this rect
  7108. area will be used in DrawString. Fixes bug #343364.
  7109. 2007-11-23 Everaldo Canuto <[email protected]>
  7110. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  7111. screen width. Partially fixes bug #343364.
  7112. 2007-11-23 Everaldo Canuto <[email protected]>
  7113. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  7114. code inside recalculate, it makes code more simple.
  7115. 2007-11-22 Everaldo Canuto <[email protected]>
  7116. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  7117. between update or add icon. Fixes bug #324344.
  7118. 2007-11-21 Andreia Gaita <[email protected]>
  7119. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  7120. window manager, since that stretches the drawing area to include
  7121. the window decorations, and they get hidden. Reverts r84444 and fixes
  7122. #335849 and #342790 (mdi and pdn3 regression)
  7123. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  7124. * ListView.cs: When setting focused item, try to give focus to the
  7125. previous one _only_ if the previous one remains valid.
  7126. Fixes #342504.
  7127. 2007-11-20 Jonathan Pobst <[email protected]>
  7128. * Application.cs: Revert r89650, as it broke a common case to fix
  7129. an obscure case. Fixes bug #342606.
  7130. 2007-11-20 Everaldo Canuto <[email protected]>
  7131. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  7132. 2007-11-20 Everaldo Canuto <[email protected]>
  7133. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  7134. alignment. [Fixes #324228]
  7135. 2007-11-19 Jonathan Pobst <[email protected]>
  7136. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  7137. [Fixes bug #342123]
  7138. 2007-11-19 Everaldo Canuto <[email protected]>
  7139. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  7140. it prevent problems when empty captions. [Fixes #342141]
  7141. 2007-11-19 Jonathan Pobst <[email protected]>
  7142. * Label.cs: Use Size instead of None. Fixes bug #342077.
  7143. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  7144. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  7145. 2007-11-17 Jonathan Pobst <[email protected]>
  7146. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  7147. but there isn't a MdiContainer.
  7148. [Fixes bug #342358]
  7149. 2007-11-17 Jonathan Pobst <[email protected]>
  7150. * TextControl.cs: Don't recalculate document if the recalc_start and
  7151. recalc_end hasn't changed.
  7152. [Fixes bug #342505]
  7153. 2007-11-17 Gert Driesen <[email protected]>
  7154. * DataGridViewTextBoxCell.cs: Removed CWL.
  7155. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  7156. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  7157. 2007-11-16 Jonathan Pobst <[email protected]>
  7158. * TextControl.cs: Missed some code for bug 341534 to trigger a
  7159. recalculation when the font changes.
  7160. 2007-11-16 Andreia Gaita <[email protected]>
  7161. * Control.cs: When updating the zorder, check if the child to update is
  7162. the same control that is set to always be on top (i.e., scrollbars), and
  7163. just put it on top directly. Fixes BadMatch error on pdn3
  7164. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  7165. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  7166. 2007-11-16 Jonathan Pobst <[email protected]>
  7167. * Control.cs: Don't perform a new layout when a label changes its text,
  7168. cause label handles its own autosizing.
  7169. [Fixes bug #342077]
  7170. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  7171. * ListView.cs: Implement 2.0 FindNearestItem methods.
  7172. 2007-11-15 Jonathan Pobst <[email protected]>
  7173. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  7174. even if the rest of what Join does isn't supported. Add some more
  7175. support for vertical toolbars.
  7176. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  7177. [Fixes the application breaking parts of bug #341998]
  7178. 2007-11-15 Jonathan Pobst <[email protected]>
  7179. * ToolStripItem.cs: When determining if we have a check/image margin,
  7180. we need to look at ShowCheckMargin as well as ShowImageMargin.
  7181. 2007-11-15 Geoff Norton <[email protected]>
  7182. * XplatUIOSX.cs: Rename to...
  7183. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  7184. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  7185. 2007-11-15 Jonathan Pobst <[email protected]>
  7186. * KeysConverter.cs: The default values should be an array of Keys, not
  7187. strings. Also, the array has more values for 2.0.
  7188. [Fixes bug #341851]
  7189. 2007-11-14 Jonathan Pobst <[email protected]>
  7190. * Application.cs: Change ExecutablePath to use
  7191. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  7192. [Fixes bug #323552]
  7193. 2007-11-14 Jonathan Pobst <[email protected]>
  7194. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  7195. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  7196. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  7197. be ignored. Create a new GetLineEnding that can specify which types of
  7198. line endings to look for. On Insert, only create new lines for \n and \r\n.
  7199. [Fixes bug #324274]
  7200. 2007-11-14 Jonathan Pobst <[email protected]>
  7201. * TextBoxBase.cs: As we loop through each line changing the font, tell
  7202. the document that the line needs to be recalculated. Fixes bug #341534.
  7203. 2007-11-13 Jonathan Pobst <[email protected]>
  7204. [Another round of refactoring]
  7205. * Line.cs: Add DeleteCharacters.
  7206. * LineTag.cs: Add Delete.
  7207. * TextBoxBase.cs: Update to use new methods.
  7208. * TextControl.cs: Refactor the Delete* methods.
  7209. 2007-11-13 Everaldo Canuto <[email protected]>
  7210. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  7211. the patch. [Fixes #324856]
  7212. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  7213. * ListView.cs:
  7214. * ListViewItem.cs: Add an initial implementation of
  7215. 2.0 ListViewItem.Position getter.
  7216. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  7217. * ListView.cs: Add a reordered_items_indices array, to allow us
  7218. to have a different sorting than that of Items (the sorting in Items
  7219. could not match the actual sorting in screen). This is needed to
  7220. implement a pair of 2.0 features.
  7221. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  7222. actual position in the ListView grid, since it could have a position
  7223. different than its Index (position in ListViewItemCollection).
  7224. 2007-11-09 Jonathan Pobst <[email protected]>
  7225. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  7226. not draw partial lines.
  7227. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  7228. LineLimit flag from the base is preserved.
  7229. Fixes the windows part of bug #338965.
  7230. 2007-11-09 Jonathan Pobst <[email protected]>
  7231. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  7232. so that it can be canceled in KeyPress.
  7233. Fixes bug #340078.
  7234. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  7235. * ListView.cs: In ItemControl, reset mouse-handling related
  7236. fields even if we dont' have items (we still should reset them when
  7237. we had items but then called Items.Clear). Partially based in a patch
  7238. by George Giolfan.
  7239. Fixes #338399.
  7240. 2007-11-08 Gert Driesen <[email protected]>
  7241. * Application.cs: In ProductVersion first try AssemblyFileVersion
  7242. before falling back to assembly version. Fixes bug #339787.
  7243. 2007-11-08 Andreia Gaita <[email protected]>
  7244. * HtmlElement.cs: Implement InnerText setter.
  7245. * WebBrowserBase.cs: Implement Navigated event support.
  7246. Add flag to track when the browser "document" is ready to be retrieved.
  7247. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  7248. Make sure browser document is ready before retrieving it.
  7249. Clean up cached objects (document) when moving to a new page through
  7250. any of the navigation methods.
  7251. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  7252. Implement OnNavigated event.
  7253. 2007-11-07 Jonathan Pobst <[email protected]>
  7254. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  7255. DrawLinkLabel, this is handled by OnPaintBackground.
  7256. Fixes bug #339565, part II.
  7257. 2007-11-07 Andreia Gaita <[email protected]>
  7258. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  7259. getting a Select call on click, so this call needs to be here for now.
  7260. Unfixes #325809
  7261. 2007-11-07 Geoff Norton <[email protected]>
  7262. * OSXStructs.cs: Add the kEventClassApplication constants.
  7263. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  7264. application is deactivated otherwise Menu overlays linger on top of
  7265. other application windows.
  7266. 2007-11-07 Geoff Norton <[email protected]>
  7267. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  7268. dont support cursors yet anyways. This allows Reflector to run.
  7269. 2007-11-07 Geoff Norton <[email protected]>
  7270. * XplatUIOSX.cs: Implement DragSize.
  7271. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  7272. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  7273. ItemControl, request the focus, as .Net does. This is needed after
  7274. Control does not request focus anymore when it receives a
  7275. WM_LBUTTONDOWN.
  7276. 2007-11-06 Jonathan Pobst <[email protected]>
  7277. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  7278. Remove the DrawImage call from OnPaint.
  7279. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  7280. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  7281. but before we draw the text for DrawLabel and DrawLinkLabel.
  7282. Fixes bug #339565.
  7283. 2007-11-05 Andreia Gaita <[email protected]>
  7284. * Control.cs: Remove select call on click. Fixes #325809
  7285. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  7286. * ListViewItem.cs: Add 2.0 Position property getter.
  7287. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  7288. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  7289. Also, to make it work properly, change item's BackColor and
  7290. BackgroundImageLayout as needed.
  7291. * ThemeWin32Classic.cs: Don't fill any background rectangle
  7292. in ListView.ItemControl when drawing items; just let the Control
  7293. base implementation fill it.
  7294. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  7295. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  7296. as well as adding a custom 'dummy' Converter, as .net does.
  7297. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  7298. * PropertyGridView.cs: When clicking drop-down button,
  7299. select an index in the listbox only if our standard values collection
  7300. has one or more items.
  7301. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  7302. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  7303. property.
  7304. 2007-11-04 Gert Driesen <[email protected]>
  7305. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  7306. the value is not changed. This ensure a pushed button remains in that
  7307. state when clicked again. When switching the value of PropertySort
  7308. between Categorized and CategorizedAlphabetical, do not update the
  7309. grid items and do not fire a PropertyChangedEvent. When clicking the
  7310. sorting buttons, do not modify the PropertySort value when switching
  7311. between Categorized and CategorizedAlphabetical but only update the
  7312. button state.
  7313. 2007-11-04 Gert Driesen <[email protected]>
  7314. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  7315. formatting.
  7316. * PropertyGrid.cs: Also put Categorized button in pushed state when
  7317. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  7318. for help description label.
  7319. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  7320. * ListView.cs: When calculating the biggest item for a given column,
  7321. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  7322. the item's width.
  7323. 2007-11-03 Gert Driesen <[email protected]>
  7324. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  7325. value for PropertySort on 1.0 profile. PropertySortChanged event
  7326. should only be fired on 2.0 profile. Fixed NullReferenceException
  7327. in UpdateSortLayout when PropertyGrid contains no items.
  7328. 2007-11-02 Jonathan Pobst <[email protected]>
  7329. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  7330. [Fixes bug #338554]
  7331. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  7332. * ListViewItem.cs: Implement 2.0 IndentCount property.
  7333. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  7334. * X11Dnd.cs: When sending status in a dnd operation, compare current
  7335. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  7336. the later is only created when a Winforms application is both the
  7337. source and the target, but not when we are the target only.
  7338. Fixes part of #324251.
  7339. 2007-11-01 Geoff Norton <[email protected]>
  7340. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  7341. order of Z-Order.
  7342. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  7343. children out of the drawing view on mac.
  7344. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  7345. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  7346. 2007-11-01 Jonathan Pobst <[email protected]>
  7347. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  7348. on the non-hosted-control part of it shouldn't do anything.
  7349. Fixes part of bug #327498.
  7350. 2007-11-01 Andreia Gaita <[email protected]>
  7351. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  7352. 2007-11-01 Jonathan Pobst <[email protected]>
  7353. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  7354. it does not use flow through to controls that are hosted in menus.
  7355. Same with mouse clicks.
  7356. * Form.cs: Don't close all menus on click if the click is on a
  7357. control hosted in a menu.
  7358. Fixes part of bug #327498, and part of bug #325969.
  7359. 2007-10-31 Andreia Gaita <[email protected]>
  7360. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  7361. 2007-10-31 Jonathan Pobst <[email protected]>
  7362. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  7363. Addresses an issue raised in bug #336218.
  7364. 2007-10-30 Jonathan Pobst <[email protected]>
  7365. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  7366. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  7367. 2007-10-30 Andreia Gaita <[email protected]>
  7368. * ContainerControl.cs: Check if the active control is a
  7369. child of a removed control and update active_control accordingly.
  7370. Fixes #329718
  7371. 2007-10-29 Jonathan Pobst <[email protected]>
  7372. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  7373. or the MaxDate. Fixed bug #337693.
  7374. 2007-10-29 Jonathan Pobst <[email protected]>
  7375. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  7376. after calling SetWindowLong for a form, to force an immediate NC refresh.
  7377. Fixes first part of bug #325150.
  7378. 2007-10-29 Jonathan Pobst <[email protected]>
  7379. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  7380. simple. Fixes the last part of bug #322668.
  7381. 2007-10-29 Jonathan Pobst <[email protected]>
  7382. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  7383. needs to be TopMost as well, or else the MessageBox is under the form.
  7384. Patch by George fixes bug #325300.
  7385. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  7386. * X11Dnd.cs: When starting a new drag operation, reset the static
  7387. 'dropped' field to false (previously the implementation didn't reset
  7388. it and got confused after the first drag).
  7389. Fixes #325071.
  7390. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  7391. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  7392. items instead of re-creating them all. For this purpose we now cache
  7393. both CategoryGridEntry items and the GridEntries for the main object's
  7394. properties.
  7395. * GridItem.cs: Make SetParent method abstract.
  7396. * GridEntry.cs: Override the SetParent method (already there, but now
  7397. we override it).
  7398. Fixes #324866.
  7399. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  7400. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  7401. depending on its depth (as .Net does). Update the needed values in
  7402. MouseDown handler. Also draw the plus/minus rect after the label,
  7403. so we don't draw on top of it.
  7404. 2007-10-24 Everaldo Canuto <[email protected]>
  7405. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  7406. processed by forms or controls when menu is active. [Fixes #333548]
  7407. 2007-10-24 Jonathan Pobst <[email protected]>
  7408. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  7409. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  7410. focus on mouse over.
  7411. 2007-10-24 Jonathan Pobst <[email protected]>
  7412. * TextControl.cs: Code cleaning, simplifying.
  7413. 2007-10-24 Geoff Norton <[email protected]>
  7414. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  7415. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  7416. 2007-10-24 Jonathan Pobst <[email protected]>
  7417. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  7418. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  7419. 2007-10-24 Andreia Gaita <[email protected]>
  7420. * SendKeys.cs: apply jpobst's patch to bug #332409
  7421. 2007-10-23 Andreia Gaita <[email protected]>
  7422. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  7423. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  7424. for some reason
  7425. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  7426. * PropertyGridView.cs: If a property has an UIEditor available,
  7427. make the drop-down/editor button available only if the property
  7428. is _not_ read only.
  7429. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  7430. * PropertyGridView.cs: Don't make the grid item textbox
  7431. editable when a drop-down control is available, but
  7432. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  7433. true. The same bur the color of the grid item value's label.
  7434. 2007-10-22 Geoff Norton <[email protected]>
  7435. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  7436. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  7437. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  7438. driver. Padd the bottom of all real windows so the resize thumb doesn't
  7439. obscure scroll/status bars.
  7440. 2007-10-22 Jonathan Pobst <[email protected]>
  7441. * WindowsFormsSection.cs: Implement.
  7442. 2007-10-22 Everaldo Canuto <[email protected]>
  7443. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  7444. closed see #325434 patch.
  7445. 2007-10-22 Everaldo Canuto <[email protected]>
  7446. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  7447. see #325434 patch.
  7448. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  7449. * PropertyGridView.cs: When showing the textbox for a grid item,
  7450. have two local variables to store the read-only and non-editable
  7451. status of a grid item (we were previously using just one variable
  7452. to do this, when actually they are slightly different).
  7453. Fixes part of #325023.
  7454. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  7455. * PropertyGridView.cs: When showing a drop-down list, try to get the
  7456. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  7457. part of #325023.
  7458. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  7459. * PropertyGrid.cs: When updating a property and populating sub grid
  7460. items, remove the previous ones, and invalidate the specific area.
  7461. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  7462. area behind a grid item.
  7463. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  7464. clean the items if needed (specially for controls implementing
  7465. ICustomTypeDescriptor and returning a variable number of properties).
  7466. Fixes #324865.
  7467. 2007-10-19 Jonathan Pobst <[email protected]>
  7468. * TextControl.cs: Clean up and document the Insert function.
  7469. 2007-10-17 Jonathan Pobst <[email protected]>
  7470. * TextControl.cs: Make sure we know our start point for updating the view
  7471. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  7472. update the view.
  7473. 2007-10-17 Jonathan Pobst <[email protected]>
  7474. * ListView: Couple of corcompare fixes.
  7475. 2007-10-17 Geoff Norton <[email protected]>
  7476. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  7477. the title caption of real window.
  7478. 2007-10-17 Jonathan Pobst <[email protected]>
  7479. * ErrorProvider.cs: Add the error provider's internal window to a
  7480. containercontrol when the parent changes. [Fixes bug #329714]
  7481. 2007-10-17 Geoff Norton <[email protected]>
  7482. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  7483. When we make a new window; restore the old active window - fixes dialogs.
  7484. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  7485. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  7486. when modifying a property, and if found then invalidate as
  7487. requested.
  7488. Fixes part of #324865.
  7489. 2007-10-17 Geoff Norton <[email protected]>
  7490. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  7491. highly experimental. Fixed coordinate translation. Fixed window locations.
  7492. Initial support for clipping. Implemented NC areas and menus. Support for
  7493. launching from command line from Will Johansson ([email protected]).
  7494. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  7495. [email protected])
  7496. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  7497. Hwnds now track the existence of all of their children for Mac clipping.
  7498. * XplatUI.cs: Re-enabled the native driver on the Mac.
  7499. 2007-10-17 Jonathan Pobst <[email protected]>
  7500. * Line.cs: Move the InsertString function to here.
  7501. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  7502. functionality to Line.
  7503. 2007-10-17 Geoff Norton <[email protected]>
  7504. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  7505. 2007-10-16 Gert Driesen <[email protected]>
  7506. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  7507. always setting value to true.
  7508. * Form.cs: When changing AcceptButton, notify new and original button.
  7509. 2007-10-16 Jonathan Pobst <[email protected]>
  7510. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  7511. a custom control that implements IButtonControl instead of an actual
  7512. button. [Fixes bug #334244]
  7513. 2007-10-15 Everaldo Canuto <[email protected]>
  7514. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  7515. MdiWindowManager.
  7516. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  7517. active control when activate a new mdi window.
  7518. [Fixes bug #330495]
  7519. 2007-10-15 Everaldo Canuto <[email protected]>
  7520. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  7521. is already added.
  7522. [Fixes bug #333617]
  7523. 2007-10-15 Jonathan Pobst <[email protected]>
  7524. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  7525. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  7526. so we always recalculate the whole document instead of just the new part.
  7527. [Fixes bug #325082]
  7528. 2007-10-15 Jonathan Pobst <[email protected]>
  7529. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  7530. when the mouse was to the left of the first character in the line.
  7531. 2007-10-15 Jonathan Pobst <[email protected]>
  7532. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  7533. character, use the property instead of the variable so that the
  7534. UseSystemPasswordChar property is taken into account.
  7535. [Fixes bug #333748]
  7536. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  7537. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  7538. folder" contex menu appears, actually add the new folder to it, even
  7539. if the node is not currently selected. Still use SelectedNode in case
  7540. there wasn't found a node under the pointer.
  7541. Fixes #325452.
  7542. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  7543. * ListViewItem.cs: When retrieving the focused state, the index check
  7544. should be done only when ListView is in virtualmode, as it is an
  7545. expensive check for normal mode.
  7546. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  7547. * ListViewItem.cs: Make the focus state information be stored
  7548. in the ListView, not in the items. This is done to match the MS
  7549. behaviour for items that are not yet part of a ListView control;
  7550. besides that, since just one item can be focused at the same time,
  7551. we save a little space in our items.
  7552. Fixes part of #331643.
  7553. 2007-10-13 Gert Driesen <[email protected]>
  7554. * ComboBox.cs: When focus is lost, deselect the text. When setting
  7555. text of control, select all text. Do not hide selection when control
  7556. does not have focus. Fixes bug #333663.
  7557. 2007-10-13 Gert Driesen <[email protected]>
  7558. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  7559. instead of ArgumentException when SelectionLength is set to negative
  7560. value. Added same check to SelectionStart. Code formatting.
  7561. 2007-10-13 Gert Driesen <[email protected]>
  7562. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  7563. or SelectionStart. Code formatting.
  7564. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  7565. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  7566. indicating that there was not a previous drag-and-drop operation going
  7567. on.
  7568. Fixes part of #325071.
  7569. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  7570. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  7571. AllowedEffect, don't let the drop operation happen.
  7572. Fixes #32580.
  7573. 2007-10-12 Jonathan Pobst <[email protected]>
  7574. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  7575. 2007-10-12 Jonathan Pobst <[email protected]>
  7576. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  7577. is called.
  7578. 2007-10-12 Jonathan Pobst <[email protected]>
  7579. * Line.cs: Add a method that finds the tag that contains an x-coord.
  7580. * LineTag.cs: Add a method that finds the character at an x-coord using
  7581. a binary search, the old way was a linear search.
  7582. * TextControl.cs: Change FindCursor to use the above new methods.
  7583. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  7584. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  7585. value different than AllowedEffect). This should be possible to
  7586. indicate that dragging is not possible in some control/area.
  7587. 2007-10-11 Jonathan Pobst <[email protected]>
  7588. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  7589. descent internally when font changes instead of outside code being responsible
  7590. for setting it.
  7591. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  7592. instead of accessing internal variables.
  7593. 2007-10-09 Everaldo Canuto <[email protected]>
  7594. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  7595. remove special treatment for ArrangeIcons since it is already arranged.
  7596. 2007-10-09 Jonathan Pobst <[email protected]>
  7597. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  7598. the Win32 backend uses Color.
  7599. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  7600. Refactor to store a Color instead of a Brush for Color.
  7601. 2007-10-09 Jonathan Pobst <[email protected]>
  7602. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  7603. away. I didn't realize I needed this when I refactored these earlier.
  7604. 2007-10-09 Jonathan Pobst <[email protected]>
  7605. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  7606. store a Color structure and use the ResPool for back color instead of
  7607. holding onto brushes.
  7608. 2007-10-09 Jonathan Pobst <[email protected]>
  7609. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  7610. [Fixes bug #325592]
  7611. 2007-10-08 Jonathan Pobst <[email protected]>
  7612. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  7613. to recalculate its size. Fixes a part of bug #331052.
  7614. 2007-10-08 Jonathan Pobst <[email protected]>
  7615. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  7616. button. Fixes a part of bug #331052.
  7617. 2007-10-08 Jonathan Pobst <[email protected]>
  7618. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  7619. the CreateParams.
  7620. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  7621. decorations.
  7622. [Fixes bug #330986]
  7623. 2007-10-08 Jonathan Pobst <[email protected]>
  7624. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  7625. doesn't exist in 1.1. (Thanks jb!)
  7626. 2007-10-08 Jonathan Pobst <[email protected]>
  7627. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  7628. class to allow us to use different backends on different platforms.
  7629. Linux uses the current [Draw|Measure]String backend. Windows uses
  7630. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  7631. of GDI+. This leads to better looking text and more accurate measurements
  7632. on Windows, fixing many of the reported issues.
  7633. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  7634. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7635. * FolderBrowserDialog.cs: When running on Windows,
  7636. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  7637. since we must match both "C:" and "C:\" forms. A little hackish, but
  7638. works.
  7639. Fixes #325247.
  7640. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7641. * ListView.cs: When calling EndEdit (after editing an item),
  7642. create a new instance of LabelEditEventArgs to keep clean the fields
  7643. in case we get a new call to BeginEdit; also do Application.DoEvents
  7644. to have focus in synch. This is a fix similar to TreeView's #325244.
  7645. 2007-10-07 Andreia Gaita <[email protected]>
  7646. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  7647. * WebBrowserBase.cs: Added dialog support, calling the
  7648. WebBrowserDialogs classes for each specific dialog type.
  7649. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7650. * ListView.cs: When the last item is focused and is removed,
  7651. move the focus to the previous item (in Items order). This is what MS
  7652. does.
  7653. Fixes #330415.
  7654. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7655. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  7656. instead of the opposite (RemoveAt call Remove). This is a better
  7657. approach since we don't need to to a pair of traversals when using
  7658. RemoveAt.
  7659. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7660. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  7661. check that the node actually has nodes, and if not, move to the
  7662. parent node instead.
  7663. Fixes #325265.
  7664. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7665. * TreeView.cs: Move the previous change to the general case (to
  7666. call Application.DoEvents in cases where the method was called by
  7667. different places).
  7668. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  7669. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  7670. call Application.DoEvents. This is neccessary when we get a call to
  7671. BeginEdit from an AfterLabelEdit handler, because the focus always
  7672. goes to the TreeView, even if we try to give it to our
  7673. LabelEditTextBox. The call do Application.DoEvents seems to
  7674. synchronize the focus, basically.
  7675. Fixes #325244.
  7676. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  7677. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  7678. should be false. This also removes some nasty recursive paths. Fixes
  7679. part of #325244.
  7680. 2007-10-04 Everaldo Canuto <[email protected]>
  7681. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  7682. state to normal. Also resize window when cascading. Fixes #325433.
  7683. 2007-10-04 Jonathan Pobst <[email protected]>
  7684. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  7685. DefaultForeColor, as drawing empty colored lines isn't very useful.
  7686. [Fixes the not drawn lines part of bug #324358]
  7687. 2007-10-04 Jonathan Pobst <[email protected]>
  7688. * TextControl.cs: Move Line and LineTag classes into separate files to
  7689. make things easier to find.
  7690. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  7691. * RichTextBox.cs: Capitalize LineTag.Length property access.
  7692. - This is purely an organizational/formatting change, no logic changed. -
  7693. 2007-10-03 Everaldo Canuto <[email protected]>
  7694. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  7695. text is empty.
  7696. 2007-10-03 Everaldo Canuto <[email protected]>
  7697. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  7698. text is empty.
  7699. 2007-10-03 Everaldo Canuto <[email protected]>
  7700. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  7701. prevent calling of OnBackColorChanged. Fixes #325321.
  7702. 2007-10-03 Everaldo Canuto <[email protected]>
  7703. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  7704. because control can be disabled because owner is disabled.
  7705. 2007-10-02 Jonathan Pobst <[email protected]>
  7706. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  7707. string.Empty, test failed from previous change.
  7708. 2007-10-02 Jonathan Pobst <[email protected]>
  7709. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  7710. is null, not String.Empty. See bug #323038.
  7711. 2007-10-01 Jonathan Pobst <[email protected]>
  7712. * TextControl.cs: Change the margins to match MS a little better.
  7713. Still not perfect for X11 due to some DrawString differences, but
  7714. is still an improvement over the old stuff.
  7715. Partially fixes #324467.
  7716. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  7717. * FolderBrowserDialog.cs: When using MyComputer as
  7718. RootFolder, let absolute paths be considered as valid ones. Also, use
  7719. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  7720. for Windows compatibility.
  7721. Partially fixes #325247.
  7722. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7723. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  7724. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  7725. method, since it causes the dialog to not select folders directly
  7726. under the root path (when setting SelectedPath property).
  7727. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7728. * TreeNode.cs: When calling Expand/Collapse and need to call
  7729. ExpandBelow/CollapseBelow respectively, take into account
  7730. partially visible nodes (previously Expanding/Collapsing
  7731. a partially visible node in the bottom was not updating its +- sign).
  7732. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7733. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  7734. expand nodes below (ExpandBelow), scroll the entire Viewport
  7735. area if the node is above it and not visible (instead of scrolling
  7736. the area from node's Bottom, which applies only when the node is
  7737. visible).
  7738. Fixes #325266.
  7739. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7740. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  7741. node in the bottom area (as .Net does). This is done to preserve the
  7742. scroll position when ExpandAll is called before handle is created for
  7743. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  7744. Fixes #324103.
  7745. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7746. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  7747. bottom area if we are in fact not using the vertical scroll bar.
  7748. Fixes #324824.
  7749. 2007-09-27 Jonathan Pobst <[email protected]>
  7750. * Control.cs: Comment out a double buffering optimization that doesn't
  7751. take into account invalidates created in OnPaint, causing the control
  7752. to never be redrawn. It would take quite a bit of work to work around
  7753. this, but I left it commented with an explanation for later possible
  7754. optimization.
  7755. [Fixes bug #328681]
  7756. 2007-09-27 Jonathan Pobst <[email protected]>
  7757. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  7758. the text changes.
  7759. * RadioButton.cs: Implement GetPreferredSizeCore.
  7760. [Fixes bug #328672]
  7761. 2007-09-26 Jonathan Pobst <[email protected]>
  7762. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  7763. corcompare stuffs.
  7764. 2007-09-26 Jonathan Pobst <[email protected]>
  7765. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  7766. so that it doesn't get uninstalled on modal forms.
  7767. * Control.cs: Install a sync context when a control is created.
  7768. * WindowsFormsSyncronizationContext.cs: Create a private static control
  7769. to invoke on. This is easier than trying to find a created control we
  7770. can use.
  7771. [Fixes bug #327608]
  7772. 2007-09-25 Jonathan Pobst <[email protected]>
  7773. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  7774. run loop, and uninstall it when done.
  7775. * WindowsFormsSynchronizationContext.cs: Implement.
  7776. [Fixes the common case in bug #327608]
  7777. 2007-09-23 Gert Driesen <[email protected]>
  7778. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  7779. Use case-insensitive lookup of column name in indexer. Code
  7780. formatting.
  7781. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  7782. * TreeNode.cs: When collapsing or expanding a node, check whether its
  7783. change will affect the visible area (we were previously doing a
  7784. IsVisible check, but that check is not enough since children nodes
  7785. could be still visible). Fixes part of #325266.
  7786. 2007-09-21 Jonathan Pobst <[email protected]>
  7787. * TreeView.cs: Always select the first node when the TreeView gets
  7788. focus if there is no currently selected node.
  7789. [Fixes bug #324279]
  7790. 2007-09-21 Jonathan Pobst <[email protected]>
  7791. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  7792. node being selected is null.
  7793. [Patch from Yves Bastide fixes bug #326858]
  7794. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  7795. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  7796. whether all the parent nodes are expanded.
  7797. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  7798. call RecalculateVisibleOrder if all previous nodes are expanded.
  7799. Before that we were doing a IsVisible check, but sometimes the node
  7800. is not in the visible area, but _should_already be ready, because of
  7801. all previous nodes are expanded. Fixes #325259.
  7802. 2007-09-20 Jonathan Pobst <[email protected]>
  7803. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  7804. portion of the item is clicked.
  7805. 2007-09-20 Jonathan Pobst <[email protected]>
  7806. * TextControl.cs: Do not tell the system to move the cursor if the
  7807. textbox isn't focused. Fixes part of bug #322668.
  7808. 2007-09-20 Jonathan Pobst <[email protected]>
  7809. * ComboBox.cs: When there are no items, do not show the dropdown if
  7810. the down arrow is clicked. Fixes part of bug #322668.
  7811. 2007-09-20 Jonathan Pobst <[email protected]>
  7812. * ToolStripComboBox.cs: Manually set the size of this control in the
  7813. constructor, as it doesn't seem to be the same as DefaultSize.
  7814. Fixes a failing monobuild test.
  7815. 2007-09-19 Jonathan Pobst <[email protected]>
  7816. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  7817. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  7818. 2007-09-19 Jonathan Pobst <[email protected]>
  7819. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  7820. Desktop. This lets it work for people who have moved their desktops
  7821. from the default location on windows. For people who have not, both
  7822. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  7823. 2007-09-18 Jonathan Pobst <[email protected]>
  7824. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  7825. but when the base constructor sets this, the control is null. Set it
  7826. again in the constructor. Fixes a failing monobuild test.
  7827. 2007-09-18 Jonathan Pobst <[email protected]>
  7828. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  7829. get called.
  7830. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  7831. called.
  7832. 2007-09-18 Jonathan Pobst <[email protected]>
  7833. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  7834. will handle it themselves.
  7835. * ToolStripItem.cs: When deciding what the text of a tooltip should
  7836. be, use the Text property instead of the text field.
  7837. * ToolStripTextBox.cs: Handle tooltips.
  7838. [Fixes bugs #325417 and #325973]
  7839. 2007-09-18 Jonathan Pobst <[email protected]>
  7840. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  7841. left click. Fixes the easy part of bug #325969.
  7842. 2007-09-18 Jonathan Pobst <[email protected]>
  7843. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  7844. bug #325406, but set a minimum for StatusStrip to 22 to keep
  7845. bug #325390 fixed. I think this minimum would have been figured
  7846. up automatically if the grip was actually a ToolStripItem, but it
  7847. currently is not.
  7848. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7849. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  7850. as this is apparently the actual value used by .Net. Also apply
  7851. ItemPadding in Details view only, and decrease the general width padding,
  7852. to have only the needed. This should fix #324340 in Windows too.
  7853. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7854. * ListViewItem.cs: Don't Invalidate item if parent is inside
  7855. a BeginUpdate/EndUpdate block. This prevents to have differences
  7856. between the ListView and items state, as well as avoid some exceptions
  7857. there.
  7858. * ListView.cs: Make 'updating' field internal.
  7859. 2007-09-17 Jonathan Pobst <[email protected]>
  7860. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  7861. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  7862. size if appropriate.
  7863. Fixes reopened bug #325414.
  7864. 2007-09-17 Jonathan Pobst <[email protected]>
  7865. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  7866. * ToolStripItem.cs: Invalidate before and after our new autosize when
  7867. text changes.
  7868. Fixes reopened bug #325390.
  7869. 2007-09-17 Jonathan Pobst <[email protected]>
  7870. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  7871. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  7872. #325044.
  7873. 2007-09-17 Jonathan Pobst <[email protected]>
  7874. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  7875. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  7876. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  7877. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  7878. #82734.
  7879. 2007-09-14 Jonathan Pobst <[email protected]>
  7880. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  7881. item to select when the ToolStrip is selected.
  7882. * ToolStripControlHost: Realign the control when the bounds or visibility
  7883. change.
  7884. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  7885. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  7886. preferred height.
  7887. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  7888. base.OnPaint. Was causing text not to be drawn.
  7889. 2007-09-14 Jonathan Pobst <[email protected]>
  7890. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  7891. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  7892. * TreeView.cs: When creating the label edit text box,
  7893. set is initially to Visible = false. This is done to
  7894. prevent a confusion in the layout which makes it to lose
  7895. focus when shown the first time. Fixes part of #82592.
  7896. 2007-09-13 Andreia Gaita <[email protected]>
  7897. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  7898. 2007-09-13 Jonathan Pobst <[email protected]>
  7899. * ToolStrip.cs: Take Margin into account when calculating preferred
  7900. size. Also, allow preferred size to get smaller than the explicit
  7901. size.
  7902. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  7903. First step towards fixing bug #82747.
  7904. 2007-09-13 Jonathan Pobst <[email protected]>
  7905. * TreeView.cs: Applied patch from [email protected] to not paint the
  7906. full row select background over the plus/minus glyph. Also, turn
  7907. off the focus rectangle for full row select since MS doesn't seem
  7908. to ever paint it. [Fixes bug #81839]
  7909. 2007-09-13 Jonathan Pobst <[email protected]>
  7910. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  7911. This was causing keyboard opened dropdowns to lose focus.
  7912. [Fixes bug #82803]
  7913. 2007-09-13 Jonathan Pobst <[email protected]>
  7914. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  7915. ClientRectangle instead. [Fixes bug #82838]
  7916. 2007-09-13 Jonathan Pobst <[email protected]>
  7917. * SplitContainer.cs: We can't reset Visible on every layout because
  7918. someone may have set Visible = false explicitly on a SplitterPanel.
  7919. Make sure when we switch orientation the SplitterDistance does not
  7920. change. Fixes two failing tests.
  7921. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7922. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  7923. TextRenderer, since the latter is only available in 2.0.
  7924. 2007-09-13 Ivan N. Zlatev <[email protected]>
  7925. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  7926. * SplitContainer.cs: Implement FixedPanel layouting.
  7927. 2007-09-12 Andreia Gaita <[email protected]>
  7928. * WebBrowserBase.cs: setup shutdown routine
  7929. 2007-09-12 Andreia Gaita <[email protected]>
  7930. * Application.cs: Let keyboard events that are targetted
  7931. to non-mwf windows hosted inside mwf (as in, webbrowser),
  7932. propagate properly. Fixes keyboard handling on the webbrowser.
  7933. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7934. * ListView.cs: When handling MouseUp event and we are
  7935. highligting a node with the mouse right button, don't trigger
  7936. Before/AfterSelecting event, since we are not actually selecting
  7937. the node.
  7938. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7939. * TreeView.cs: When editing a node, modify the edit text box
  7940. depending on the text length (as you are typing), like MS does.
  7941. 2007-09-12 Jonathan Pobst <[email protected]>
  7942. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  7943. Override GetPreferredSizeCore to perform calculations. Remove custom
  7944. autosize logic. [Fixes bug #82739]
  7945. 2007-09-12 Jonathan Pobst <[email protected]>
  7946. * TextBoxBase.cs: Modified should default to false.
  7947. 2007-09-11 Jonathan Pobst <[email protected]>
  7948. * Control.cs: Update the anchoring distances even when layout is supspended.
  7949. Patch provided by George fixes bug #82805.
  7950. 2007-09-11 Jonathan Pobst <[email protected]>
  7951. * Control.cs: Provide a setter for ExplicitHeight.
  7952. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  7953. remove the hacks in here for requested_height.
  7954. [Fixes bug #82749]
  7955. 2007-09-11 Jonathan Pobst <[email protected]>
  7956. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  7957. Maximum to lower that its current Value caused an ArgumentException by setting
  7958. the Value to the new Maximum.
  7959. 2007-09-11 Jonathan Pobst <[email protected]>
  7960. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  7961. handle moves to the closest tick when it is being dragged.
  7962. [Fixes bug #82751]
  7963. 2007-09-11 Jonathan Pobst <[email protected]>
  7964. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  7965. can't let them count as real items when calculating where to merge in the
  7966. user's items. [Fixed bug #82786]
  7967. 2007-09-10 Jonathan Pobst <[email protected]>
  7968. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  7969. who want to add a menu item directly onto a toolstrip.
  7970. [Fixes bug #82775, part II]
  7971. 2007-09-10 Jonathan Pobst <[email protected]>
  7972. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  7973. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  7974. don't set it to available.
  7975. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  7976. [Fixes bug #82727, part II]
  7977. 2007-09-10 Jonathan Pobst <[email protected]>
  7978. * StatusStrip.cs: Change item placement to None if not visible.
  7979. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  7980. These should have been committed to fix 82723, but I missed them.
  7981. 2007-09-10 Jonathan Pobst <[email protected]>
  7982. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  7983. Click, and that it is only called once.
  7984. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  7985. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  7986. dropped down.
  7987. [Fixes bug #82775]
  7988. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7989. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  7990. to match .Net.
  7991. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  7992. instead of 8, just like above. Partially fixes #82734.
  7993. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7994. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  7995. fixes #82734.
  7996. * ListView.cs: Remove extra space between rows in Details view (match
  7997. .Net).
  7998. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  7999. the DefaultFont.
  8000. 2007-09-08 Gert Driesen <[email protected]>
  8001. * Application.cs: Modified ProductVersion to return value of
  8002. AssemblyInformationVersion if available, and fallback to assembly
  8003. version. Fixes bug #82746. Code formatting.
  8004. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  8005. instead.
  8006. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  8007. * Control.cs: When updating ZOrder for a child control,
  8008. take into account the implicit ones (we need it in our controls
  8009. using them). Fixes #82642.
  8010. 2007-09-07 Jonathan Pobst <[email protected]>
  8011. * ToolStripItem.cs: Add support for animated images.
  8012. [Fixes bug #82726]
  8013. 2007-09-07 Jonathan Pobst <[email protected]>
  8014. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  8015. visible. [Fixes bug #82727]
  8016. 2007-09-06 Jonathan Pobst <[email protected]>
  8017. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  8018. so we repaint using the new size. [Fixes bug #82723]
  8019. 2007-09-06 Jonathan Pobst <[email protected]>
  8020. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  8021. option. [Fixes bug #81779]
  8022. 2007-09-06 Jonathan Pobst <[email protected]>
  8023. * TreeView.cs: Override HandleClick because the StandardClick style is
  8024. set to false. According to MSDN (and testing), the click events should
  8025. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  8026. 2007-09-06 Jonathan Pobst <[email protected]>
  8027. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  8028. the border will disappear. Fixes reopened #82653.
  8029. 2007-09-06 Jonathan Pobst <[email protected]>
  8030. * Control.cs: If the control is autosize, and its preferred size changes
  8031. when it lays out its children, tell its parent so it can be re-layed out.
  8032. Fixing some of the fallout from r85433.
  8033. 2007-09-06 Jonathan Pobst <[email protected]>
  8034. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  8035. and CheckBox share some code.
  8036. 2007-09-06 Jonathan Pobst <[email protected]>
  8037. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  8038. the TrackBar, not every mouse move. [Fixed bug #82718]
  8039. 2007-09-06 Jonathan Pobst <[email protected]>
  8040. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  8041. under 2.0 rendering. [Fixes bug #82657]
  8042. 2007-09-06 Jonathan Pobst <[email protected]>
  8043. * TreeView.cs: If we found a TreeNode to display a context menu, but
  8044. it doesn't have one to show, let the TreeView display its menu
  8045. instead. [Fixes bug #82680]
  8046. 2007-09-06 Jonathan Pobst <[email protected]>
  8047. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  8048. OnPaintInternal instead. Give the internal TextBox a Border property
  8049. so it can draw itself more correctly. [Fixes bug #82653]
  8050. 2007-09-06 Zoltan Varga <[email protected]>
  8051. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  8052. 2007-09-05 Everaldo Canuto <[email protected]>
  8053. * ComboBox.cs: Adjust combobox button state to reflect current state when
  8054. back to enabled = true. Fixes first issue of #82654.
  8055. 2007-09-05 Everaldo Canuto <[email protected]>
  8056. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  8057. setting visible property.
  8058. 2007-09-05 Everaldo Canuto <[email protected]>
  8059. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  8060. fix zorder for controls initially created as non visible. Fixes #82667.
  8061. 2007-09-04 Everaldo Canuto <[email protected]>
  8062. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  8063. mimic win32 look. Fixes #82656.
  8064. 2007-09-01 Zoltan Varga <[email protected]>
  8065. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  8066. Stubs for new net 3.5 classes.
  8067. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  8068. * ListViewItem.cs: In ListViewItemCollection operations calculate
  8069. Layout for owner as well as invalidate it. Fixes part of #82642.
  8070. 2007-08-31 Jonathan Pobst <[email protected]>
  8071. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  8072. when returning Enabled. [Fixes bug #82651]
  8073. 2007-08-30 Everaldo Canuto <[email protected]>
  8074. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  8075. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  8076. * ListView.cs: Put item padding info in a single place
  8077. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  8078. columns again.
  8079. * ThemeWin32Classic.cs:
  8080. * Theme.cs: Likewise.
  8081. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  8082. * ListView.cs: When a ListViewSubItem instance is invalidated,
  8083. invoke Invalidate on parent ListViewItem, not parent ListView.
  8084. Fixes #81570.
  8085. 2007-08-30 Jonathan Pobst <[email protected]>
  8086. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  8087. 2007-08-30 Jonathan Pobst <[email protected]>
  8088. * BindingMemberInfo.cs: Implement == and != operators.
  8089. 2007-08-30 Jonathan Pobst <[email protected]>
  8090. * HtmlElementEventArgs.cs: Implement properties.
  8091. 2007-08-29 Jonathan Pobst <[email protected]>
  8092. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  8093. 2007-08-29 Jonathan Pobst <[email protected]>
  8094. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  8095. Add (string,string,string) to implement the imagekey. It turns out, we
  8096. use the requested imagekey whereas .Net does not. So I broke ours to match
  8097. theirs. :(
  8098. 2007-08-29 Jonathan Pobst <[email protected]>
  8099. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  8100. 2007-08-29 Jonathan Pobst <[email protected]>
  8101. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  8102. 2007-08-29 Gert Driesen <[email protected]>
  8103. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  8104. up-to-date. Fixes bug #82618.
  8105. 2007-08-29 Everaldo Canuto <[email protected]>
  8106. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  8107. reflect document changes. Fixes #82367.
  8108. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  8109. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  8110. as well as add new ones. This should make work the BackgroundImage
  8111. property for ListView again.
  8112. 2007-08-28 Jonathan Pobst <[email protected]>
  8113. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  8114. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  8115. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  8116. 2007-08-28 Jonathan Pobst <[email protected]>
  8117. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  8118. IsKeyLocked.
  8119. 2007-08-28 Jonathan Pobst <[email protected]>
  8120. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  8121. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  8122. 2007-08-28 Jonathan Pobst <[email protected]>
  8123. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  8124. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  8125. 2007-08-27 Ivan N. Zlatev <[email protected]>
  8126. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  8127. 2007-08-27 Ivan N. Zlatev <[email protected]>
  8128. * GridEntry.cs: Implement GetService.
  8129. 2007-08-27 Jonathan Pobst <[email protected]>
  8130. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  8131. for label editting, make sure we focus back on the TreeView.
  8132. [Fixes bug #82590]
  8133. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  8134. * ListView.cs: Add some 2.0 overrides.
  8135. 2007-08-27 Everaldo Canuto <[email protected]>
  8136. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  8137. because getter dont returns right value before handle creation. Thanks
  8138. to George. Fixes #82569.
  8139. 2007-08-27 Everaldo Canuto <[email protected]>
  8140. * Theme.cs: Revert last patch, it causes error under win32.
  8141. 2007-08-27 Everaldo Canuto <[email protected]>
  8142. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  8143. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  8144. logical Desktop rather than the physical file system location. Fixes #82603.
  8145. 2007-08-26 Everaldo Canuto <[email protected]>
  8146. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  8147. for the patch. Fixes #82568.
  8148. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  8149. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  8150. methods.
  8151. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  8152. * ListViewInsertionMark.cs: New stubbed class.
  8153. 2007-08-25 Gert Driesen <[email protected]>
  8154. * FolderBrowserDialog.cs: When adding folder, immediately create the
  8155. directory with temporary name and rename the directory when editing
  8156. finishes. This matches MS. Ensure the node for the new folder is
  8157. selected and LabelEdit is disabled, when editing is either finished
  8158. or cancelled.
  8159. 2007-08-25 Gert Driesen <[email protected]>
  8160. * TreeView.cs: When editing label of node, ensure node is visible.
  8161. 2007-08-25 Ivan N. Zlatev <[email protected]>
  8162. * PropertyGridView.cs: Set the value only if it has changed.
  8163. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  8164. * ListView.cs: Some more code refactoring to add support sorting
  8165. with groups (now for Details view). Remove unused code also.
  8166. 2007-08-24 Jonathan Pobst <[email protected]>
  8167. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  8168. Not a big fan of reacting immediately to a field in an EventArg, but that's
  8169. the way it's done. (This is part of the previous commit that got left out.)
  8170. 2007-08-25 Gert Driesen <[email protected]>
  8171. * FolderBrowserDialog.cs: Removed need for separate description field.
  8172. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  8173. has focus when dialog box is displayed again, regardless of what
  8174. button was pressed the previous time. Set RootFolder and SelectedPath
  8175. each time dialog box is displayed. This ensures the treeview is
  8176. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  8177. when it does not have focus. Added support for more special folders.
  8178. 2007-08-24 Jonathan Pobst <[email protected]>
  8179. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  8180. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  8181. it resets the edit_args.
  8182. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  8183. [Fixes bug #82577]
  8184. 2007-08-24 Gert Driesen <[email protected]>
  8185. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  8186. button to match MS. Provide more meaningful exception message for
  8187. invalid RootFolder value. Use zero-length string when SelectedPath
  8188. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  8189. them in FolderBrowserTreeView. Allow folders to be created in
  8190. RootFolder. Fixes bug #82576.
  8191. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  8192. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  8193. since we need to take into account the group headers and the margin
  8194. between them.
  8195. * ListViewGroup.cs: Add a rows field to store the number of rows per
  8196. group.
  8197. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  8198. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  8199. Anyways, let's just follow the lead.
  8200. 2007-08-24 Jonathan Pobst <[email protected]>
  8201. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  8202. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  8203. controls in GetPreferredSizeCore.
  8204. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  8205. [Fixes bug #82488]
  8206. 2007-08-24 Jonathan Pobst <[email protected]>
  8207. * PrintDialog.cs: Need to instantiate the form variable here too.
  8208. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  8209. * ListView.cs: Do some reorganization to support sorting in groups,
  8210. by doing the layout sequentially in ListView.Items. Also add support
  8211. for the Default Group, which should be available for items with no
  8212. group assigned.
  8213. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  8214. for storing layout info also.
  8215. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  8216. collection, as well as providing internal members to do a traversal
  8217. including the default group (needed when doing layout/drawing).
  8218. * ThemeWin32Classic.cs: When drawing group headers use internal
  8219. ListViewGroupCollection members to take into account the default
  8220. group.
  8221. 2007-08-23 George Giolfan <[email protected]>
  8222. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  8223. 2007-08-23 Jonathan Pobst <[email protected]>
  8224. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  8225. been created. If handle is created, we want arror keys. If we are editing
  8226. a node, we want things like enter, esc, home, end, page up, page down.
  8227. Allows Esc to work for FolderBrowserDialog.
  8228. 2007-08-23 Jonathan Pobst <[email protected]>
  8229. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  8230. they close when ESC is pressed. Thanks Andy!
  8231. 2007-08-23 Jonathan Pobst <[email protected]>
  8232. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  8233. This way we can tell if this is a CommonDialog provided with mono, or one
  8234. that is being implemented outside by a developer. If it is an external one,
  8235. the developer is responsible for showing their own form. We were showing
  8236. our blank form after the developer showed his.
  8237. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  8238. PageSetupDialog.cs: Instantiate form variable in our constructor.
  8239. [Fixes bug #82531]
  8240. 2007-08-23 Jonathan Pobst <[email protected]>
  8241. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  8242. and always return true. [Fixes bug #81616]
  8243. 2007-08-23 Jonathan Pobst <[email protected]>
  8244. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  8245. TextBox. [Fixes bug #82549]
  8246. 2007-08-23 Gert Driesen <[email protected]>
  8247. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  8248. or entered then do not close the dialog. Fixes bug #82539. Removed
  8249. CWLs.
  8250. 2007-08-22 Everaldo Canuto <[email protected]>
  8251. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  8252. code to this method. It is calling every time filter changes. This method
  8253. will help to fix the bug #80887.
  8254. 2007-08-22 Jonathan Pobst <[email protected]>
  8255. * CheckBox.cs: Implement AutoSize calculation.
  8256. 2007-08-22 Jonathan Pobst <[email protected]>
  8257. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  8258. * Theme.cs: Method declarations for 2.0 rendering path.
  8259. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  8260. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  8261. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  8262. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  8263. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  8264. only call Redraw on the parent one time.
  8265. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  8266. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  8267. GetClipboardContent.
  8268. * DataGridViewCell.cs: Implemented GetClipboardContent,
  8269. GetEditedFormattedValue, GetFormattedValue.
  8270. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  8271. 2007-08-21 Jonathan Pobst <[email protected]>
  8272. * TableLayoutStyleCollection.cs: corcompare fix.
  8273. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  8274. * DataObject.cs: Implemented retrieval of convertible / not convertible
  8275. objects.
  8276. 2007-08-21 Jonathan Pobst <[email protected]>
  8277. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  8278. ourselves. This ensures the entire old bounds are repainted, in case our new
  8279. size is smaller. [Fixes bug #82518]
  8280. 2007-08-20 Everaldo Canuto <[email protected]>
  8281. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  8282. flag to make fast handle of mouse events, without this the mouse move is
  8283. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  8284. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  8285. * ListView.cs: When doing layout calculations don't use a ref
  8286. param to keep the current item; instead use its Index value (this
  8287. is specially important when doing the layout with Groups
  8288. and Items being sparse). Also don't take into account items added to
  8289. the Group but not yet added to the main ListView.Items collection.
  8290. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  8291. * ListViewGroupCollection.cs: Forgot to mimic an issue
  8292. in the indexer (don't assign the ListView owner for new values).
  8293. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  8294. * ListViewGroupCollection.cs: Make the string indexer use
  8295. the int based indexer to re-use code, instead of duplicate the code.
  8296. Also Redraw as needed and take into account null values.
  8297. 2007-08-20 Jonathan Pobst <[email protected]>
  8298. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  8299. [Fixes bug #82481]
  8300. 2007-08-20 Jonathan Pobst <[email protected]>
  8301. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  8302. when other buttons are clicked or navigated to.
  8303. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  8304. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  8305. it's XplatUIX11 that attaches them.
  8306. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  8307. * DataGridView.cs: If a column has been added, recreate the editing row.
  8308. Fixes #82226.
  8309. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  8310. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  8311. of the tag to draw. Makes disappearing text show up again.
  8312. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  8313. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  8314. Contents. Fixes #82487.
  8315. 2007-08-19 Andreia Gaita <[email protected]>
  8316. * Added HtmlElement.cs, HtmlElementCollection.cs,
  8317. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  8318. 2007-08-19 Andreia Gaita <[email protected]>
  8319. * BindingSource.cs: Implement this, dispose and getenumerator.
  8320. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  8321. out of AddInternal, throw it only on public Add calls. The
  8322. UsingWebBrowser sample was blowing up with this when setting the
  8323. DataSource after adding DataBindings, so it's likely that .net
  8324. only throws this exception when Add is called directly.
  8325. * ToolStripControlHost.cs: Return the hosted control's text
  8326. property, and not the ToolStripItem one (it would always return
  8327. the initial value).
  8328. * HtmlDocument.cs: Implement GetElementById and All
  8329. * WebBrowser.cs: Remove exception on set_DocumentStream.
  8330. 2007-08-19 Everaldo Canuto <[email protected]>
  8331. * Form.cs: Fix the max and min value for opacity (0~1).
  8332. 2007-08-19 Everaldo Canuto <[email protected]>
  8333. [Fixes #80118]
  8334. * DataGridTableStyle.cs: Default header font is now null, on getter it
  8335. returns datagrid font when is null. On setter permits null.
  8336. * DataGrid.cs:
  8337. - When ResetHeaderFont set header font to null.
  8338. - On EndInit set grid_style.DataGrid.
  8339. 2007-08-19 Everaldo Canuto <[email protected]>
  8340. * TabControl.cs: Fix regression in default padding x.
  8341. 2007-08-19 Everaldo Canuto <[email protected]>
  8342. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  8343. 2007-08-19 Everaldo Canuto <[email protected]>
  8344. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  8345. not 2. Fixes #82229.
  8346. 2007-08-18 Everaldo Canuto <[email protected]>
  8347. * TabControl.cs: Fix tab size when image height is less than text height.
  8348. Partially fixes #81837.
  8349. 2007-08-18 Everaldo Canuto <[email protected]>
  8350. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  8351. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  8352. from taskbar and keep it on "alt_tab". Fixes #81722.
  8353. 2007-08-18 Everaldo Canuto <[email protected]>
  8354. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  8355. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  8356. Fixes #80877 and #79418.
  8357. 2007-08-18 Everaldo Canuto <[email protected]>
  8358. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  8359. between position and one of the screen borders. Fixes #82349.
  8360. 2007-08-18 Everaldo Canuto <[email protected]>
  8361. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  8362. the MessageBox in the taskbar. Fixes #82457.
  8363. 2007-08-18 Everaldo Canuto <[email protected]>
  8364. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  8365. than icon. Fixes #82468.
  8366. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  8367. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  8368. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  8369. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  8370. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  8371. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  8372. FormBorderStyle to decide if we're calculating a new size from the
  8373. client size or not. CreateParams: Don't fake tool windows, only the X11
  8374. backend manages toolwindows manually.
  8375. 2007-08-17 Jonathan Pobst <[email protected]>
  8376. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  8377. ObjectDisposedException.
  8378. 2007-08-17 Jonathan Pobst <[email protected]>
  8379. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  8380. in OnLoad should not have any effect. [Fixes bug #82470]
  8381. 2007-08-17 Jonathan Pobst <[email protected]>
  8382. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  8383. paint for controls that create their own ToolTipWindow instead of
  8384. going through ToolTip.
  8385. 2007-08-17 Jonathan Pobst <[email protected]>
  8386. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  8387. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  8388. * ListViewGroupCollection.cs: Use generic List instead of an
  8389. ArrayList, since this collection is 2.0 only.
  8390. 2007-08-17 Jeffrey Stedfast <[email protected]>
  8391. * ToolTip.cs (Hide): Made public to make the build work (should
  8392. this not be public?).
  8393. 2007-08-17 Jonathan Pobst <[email protected]>
  8394. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  8395. ToolTipWindow.
  8396. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  8397. 2007-08-17 Jonathan Pobst <[email protected]>
  8398. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  8399. PopupEventHandler.cs: Make these internal for 1.1.
  8400. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  8401. use ToolTipWindow internals.
  8402. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  8403. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  8404. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8405. * X11Dnd.cs: Add a null check.
  8406. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8407. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  8408. nothing else succeeds. Fixes #82453.
  8409. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8410. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  8411. rectangle if we're painting to another window than the one the paint
  8412. message was generated on. Simplify the code somewhat, which makes
  8413. PaintEventEnd also simpler.
  8414. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8415. * Control.cs: When changing parent of a form, let the form decide whether
  8416. XplatUI.SetParent should be called or not.
  8417. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  8418. recreating the handle. If the new parent's handle isn't created, don't
  8419. recreate our handle, just destroy it. CreateParams: Check if the
  8420. parent's handle is created before fetching it.
  8421. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8422. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  8423. Update calls to PaintEventStart/End to take a Message argument.
  8424. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  8425. take a Message argument.
  8426. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  8427. Message argument, and handle the case where we don't paint to the window
  8428. for which the paint message was generated.
  8429. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  8430. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  8431. Marshal.GetLastWin32Error. Plug nasty memory leak in
  8432. PaintEventStart/End, we were creating a DC we weren't releasing.
  8433. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  8434. * ListView.cs: Add Groups support in Details view. Also have a small
  8435. method to do the layout of the group header. Don't use a separate
  8436. method to do the groups calculation in Icons view, since our methods
  8437. are now a little simpler.
  8438. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  8439. `Bounds'.
  8440. * ThemeWin32Classic.cs: Likewise.
  8441. 2007-08-16 Jonathan Pobst <[email protected]>
  8442. * Application.cs: Add FilterMessage method and rework our message loop
  8443. logic to use it.
  8444. 2007-08-16 Jonathan Pobst <[email protected]>
  8445. * Application.cs: Add some methods and stub a few methods that are
  8446. pretty much never used.
  8447. 2007-08-15 Jonathan Pobst <[email protected]>
  8448. * TreeNode.cs: Add some serialization methods.
  8449. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  8450. * ListView.cs: In ListViewItemCollection have a
  8451. 'is_main_collection' field to not modify ListViewItem.ListView
  8452. when using it as ListViewGroup.Items (and not ListView.Items)
  8453. and also don't modify selection state (.Net behaviour).
  8454. Instead, set group for items contained in a ListViewGroup.Items collection.
  8455. * ListViewItem.cs: Simplify some code in Group setter.
  8456. * ListViewGroup.cs: use the new .ctor to pass the current instance
  8457. to the ItemsCollection.
  8458. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  8459. instances when adding/removing. Also make Remove use RemoveAt, which
  8460. should perform better.
  8461. 2007-08-14 Jonathan Pobst <[email protected]>
  8462. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  8463. that crept into the 1.1 profile.
  8464. 2007-08-14 Jonathan Pobst <[email protected]>
  8465. * ToolBarButton.cs: Implement ImageKey.
  8466. 2007-08-14 Jonathan Pobst <[email protected]>
  8467. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  8468. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  8469. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  8470. created, it might have gotten destroyed since we last checked. Fixes
  8471. #82405.
  8472. 2007-08-11 Jonathan Pobst <[email protected]>
  8473. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  8474. tooltip will hide when mouse is moved off the control.
  8475. [Fixes bug #82407]
  8476. 2007-08-11 Andreia Gaita <[email protected]>
  8477. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  8478. using Mono.Mozilla for loading and navigating webcontrol
  8479. with xulrunner.
  8480. The initial implementation was done on
  8481. /trunk/mozembed/tests/browser , and copied here.
  8482. 2007-08-11 Gert Driesen <[email protected]>
  8483. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  8484. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  8485. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  8486. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  8487. RowTemplateFull: throw an exception if a column doesn't have a template.
  8488. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  8489. add the row just before it.
  8490. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  8491. selected.
  8492. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  8493. DataGridView field to be able to reach the grid's editing row.
  8494. 2007-08-10 Jonathan Pobst <[email protected]>
  8495. * ToolTip.cs: If the control's handle hasn't been created when it has a
  8496. tooltip set on it, don't check to see if we need to show the tooltip. This
  8497. check was causing the control's handle to be created.
  8498. [Fixes bug #82399]
  8499. 2007-08-10 Jonathan Pobst <[email protected]>
  8500. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  8501. 1.1 2.0
  8502. Handle Not Created -1 0
  8503. Handle Created 0 0
  8504. [Fixes bug #82371]
  8505. 2007-08-10 Jonathan Pobst <[email protected]>
  8506. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  8507. [Fixes bug #82348]
  8508. 2007-08-09 Jonathan Pobst <[email protected]>
  8509. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  8510. * ToolTip.cs: Implement some properties and owner draw.
  8511. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8512. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  8513. show them again, since setting visibility causes a paint, causing an
  8514. endless loop (instead use a temporary and set it all when it's known if
  8515. they should be shown or not). Fixes #79265.
  8516. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8517. * DataGridView.cs: Only do a full column/row selection if a header was
  8518. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  8519. isn't pressed, deselect everything before selecting something.
  8520. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8521. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  8522. behaviour according to bug #81075 - they are returned in the order they
  8523. are selected. Fix HitTest to check if the point is within any of the
  8524. headers. Allow for row/column selection when in ColumnHeader or
  8525. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  8526. the row and column to call when their selected state changes, and
  8527. updated selected_[rows|columns] whenever SetSelected* is called.
  8528. * DataGridViewBand.cs: Initialize isRow correctly. Call
  8529. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  8530. add a SelectedInternal to avoid StackOverflows.
  8531. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  8532. ReadOnly no matter what.
  8533. * DataGridViewSelectedColumnCollection.cs,
  8534. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  8535. the items in reverse order (just as MS does...)
  8536. 2007-08-09 Jonathan Pobst <[email protected]>
  8537. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  8538. itself, not part of a mnemonic. [Fixes bug #82378]
  8539. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8540. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  8541. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  8542. the DGV, the column, the row, or the cell itself is readonly.
  8543. 2007-08-09 Gert Driesen <[email protected]>
  8544. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  8545. OSVersion.Platform.
  8546. * FileDialog.cs: Same.
  8547. * TextRendered.cs: Same.
  8548. * FolderBrowserDialog.cs: Same.
  8549. * TextBoxBase.cs: Same.
  8550. * Application.cs: Same.
  8551. * Cursors.cs: Same.
  8552. * ThemeClearLooks.cs: Same.
  8553. 2007-08-09 Gert Driesen <[email protected]>
  8554. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  8555. instead of duplicating these checks everywhere.
  8556. * FileDialog.cs: Use case-insensitive comparison for populating the
  8557. DirComboBox when not running on unix. Fixes bug #82385.
  8558. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  8559. "Look in".
  8560. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8561. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  8562. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  8563. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  8564. cell and column selection with ctrl and shift pressed. Call the correct
  8565. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  8566. the corresponding virtual method (PaintBackground to paint background,
  8567. etc).
  8568. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  8569. either the column, row or the cell itself is selected.
  8570. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  8571. OnRowsAdded.
  8572. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  8573. here. When the row is selected, don't select all cells. Each cell now
  8574. queries the row to see if the row is selected.
  8575. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8576. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  8577. SelectionMode.
  8578. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8579. * ListView.cs: In ListViewItemsCollection check that owner is
  8580. not null before trying to access it (this happens quite often
  8581. using Groups). Also don't duplicate calls by calling CollectionChanged
  8582. method.
  8583. 2007-08-08 Jonathan Pobst <[email protected]>
  8584. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  8585. when we are dismissed to clear keyboard mnemonics.
  8586. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  8587. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  8588. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  8589. was activated by keyboard or the OS tells us to always draw them.
  8590. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  8591. [Fixes bugs #82376, #82377]
  8592. 2007-08-08 Jonathan Pobst <[email protected]>
  8593. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  8594. shot at having it because Alt was pressed.
  8595. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  8596. the first real menu item.
  8597. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  8598. a mnemonic if Text is null.
  8599. [Fixes bug #82374]
  8600. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8601. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  8602. search do check whether the item is already contained in the
  8603. collection or not; instead check if the owner of the item is the same
  8604. as ours. Also, remove a redundant check in the same method.
  8605. 2007-08-08 Jonathan Pobst <[email protected]>
  8606. * Control.cs: Allow the clip region to be set back to null.
  8607. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  8608. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  8609. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  8610. * GridEntry.cs: Add a null check.
  8611. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  8612. entries. Fixes #82297.
  8613. 2007-08-07 Jonathan Pobst <[email protected]>
  8614. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  8615. for 2.0.
  8616. 2007-08-07 Jonathan Pobst <[email protected]>
  8617. * ListBox.cs: Implement ScaleControl.
  8618. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8619. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  8620. have a menu strip.
  8621. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  8622. parent has a menu strip. Fixes #81689.
  8623. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8624. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  8625. moments, so apply some fuzzy logic to determine if the mouse is still
  8626. inside a control or not. Fixes #82288 (for the third time).
  8627. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8628. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  8629. Don't create the child if it has been disposed already (may happen if
  8630. the user closes the form the Load event).
  8631. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8632. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  8633. #82288.
  8634. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8635. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  8636. might call us after we've been destroyed, in which case our own private
  8637. parent field is null. Fixes #82326.
  8638. 2007-08-06 Jonathan Pobst <[email protected]>
  8639. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  8640. check for setting the dropdown's owner.
  8641. 2007-08-06 Jonathan Pobst <[email protected]>
  8642. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  8643. before removing system menu items.
  8644. 2007-08-02 Jonathan Pobst <[email protected]>
  8645. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  8646. folding.
  8647. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  8648. folding.
  8649. * ToolStrip.cs: Add a null check to mnemonics.
  8650. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  8651. no ConnectedArea.
  8652. [Fixes most of bug #81689]
  8653. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8654. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  8655. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8656. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  8657. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8658. * DataGridViewCell.cs: EditType: returns
  8659. DataGridViewTextBoxEditingControl always.
  8660. 2007-08-01 Jonathan Pobst <[email protected]>
  8661. * TextRenderer.cs: Remove the LineLimit string format flag from the
  8662. DrawString fallback method so that things like buttons that aren't
  8663. tall enough to draw a full line will still draw part of the text.
  8664. [Fixes part of bug #82272]
  8665. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8666. * DataGridView.cs: Implemented AutoResizeColumn(s).
  8667. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  8668. according to the Alignment.
  8669. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  8670. Implement alignment and padding when painting.
  8671. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  8672. exists.
  8673. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  8674. way.
  8675. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  8676. a column is added.
  8677. 2007-07-31 Jonathan Pobst <[email protected]>
  8678. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  8679. which is internal.
  8680. 2007-07-31 Jonathan Pobst <[email protected]>
  8681. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  8682. hide GetPreferredSize from public API.
  8683. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  8684. * ToolStripItem.cs: Stub out drag and drop methods and events.
  8685. * ToolStripManager.cs: Stub out Save/LoadSettings.
  8686. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  8687. * ToolStripPanel.cs: Fix corcompare error.
  8688. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  8689. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  8690. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  8691. 2007-07-31 Jonathan Pobst <[email protected]>
  8692. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  8693. bounds height instead of PreferredHeight. Puts things back the way
  8694. they were for height while still fixing the width. Fixes broken unit
  8695. tests.
  8696. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8697. * Binding.cs: Implement 2.0 constructors and add a null check.
  8698. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8699. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  8700. and fix row index (off by one).
  8701. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8702. * PropertyGridView.cs: Remove debug output.
  8703. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8704. * Control.cs: We need to reset the is_created flags when the handle is
  8705. destroyed. Fixes #82187.
  8706. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  8707. client coordinates if the window doesn't have a parent.
  8708. Win32GetParent returns the parent or the owner, and for top-level
  8709. windows with no parent (but with an owner) we were calculating the
  8710. location from the location of the owner.
  8711. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  8712. form has been disposed.
  8713. * MdiClient.cs: Add a null-check.
  8714. 2007-07-30 Jonathan Pobst <[email protected]>
  8715. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  8716. actually do auto-sizing. Override the internal GetPreferredSizeCore
  8717. so we can provide an implementation that returns the current width
  8718. and preferred height. Allows anchor = right to work with TextBox 2.0.
  8719. [Fixes bug #82233]
  8720. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  8721. * ListView.cs: Add support for navigating items in Groups mode, by
  8722. creating a big matrix containing all rows and cols of all groups. When
  8723. are in other mode than Details, pressing Up should have a similar
  8724. behaviour as that one of Down (moving to the next available column if
  8725. current one doesn't have an item in the requested row). Also, don't
  8726. proceed to use groups if ShowGroups is false.
  8727. * ListViewGroup.cs: Add an internal int field to store the starting
  8728. row of the group (used by the big matrix used for navigating the
  8729. ListView).
  8730. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  8731. false.
  8732. 2007-07-30 Jonathan Pobst <[email protected]>
  8733. * ToolStripDropDown.cs: When we do Show, start with the
  8734. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  8735. modify the direction to keep it on screen. [Fixes bug #82210]
  8736. 2007-07-29 Gert Driesen <[email protected]>
  8737. * FileDialog.cs: Accept any FilterIndex value, and store it
  8738. unmodified. When FilterIndex is less than 1, or greater than number
  8739. of filters, then default to first filter. Only add filter extension to
  8740. file if user did not specifiy an extension. When type of dialog is
  8741. OpenFileDialog and DefaultExt is set, then only use filter extension
  8742. if: CheckFileExists is true and no file wih the default extension
  8743. exists, or CheckFileExists is false, and user specified file does not
  8744. exist. When CheckFileExists is true, then add first extension of
  8745. selected filter that matches existing file. Perform checks for
  8746. existing file, overwrite and create after extension has been added to
  8747. file name. When CheckFileExists is true and type is SaveFileDialog,
  8748. then only consider first filter extension if DefaultExt is set.
  8749. When CheckFileExists is true, then ignore DefaultExt if file with that
  8750. extension does not exist. Also perform check for existing file when
  8751. type is SaveFileDialog. Changed some field to constants.
  8752. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8753. * ListView.cs: Take into account the region used by header
  8754. control when doing the vertical scroll (this way we invalidate
  8755. the precise area, and don't get any dirty one).
  8756. 2007-07-27 Everaldo Canuto <[email protected]>
  8757. * FileDialog.cs: Check for valid filterIndex on button open/save.
  8758. Fixes #82184.
  8759. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8760. * ListView.cs: Update some layout calculations in details view
  8761. and clean the code in a pair of assignations.
  8762. 2007-07-26 Jonathan Pobst <[email protected]>
  8763. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  8764. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  8765. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  8766. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  8767. 2007-07-26 Jonathan Pobst <[email protected]>
  8768. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  8769. performance of thread-safe Graphic methods. (Thanks rolf!)
  8770. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  8771. * ListView.cs: When doing the layout calculations, don't calculate
  8772. scroll bars before handle is created. This is unnecessary and also
  8773. calculating them before handle creation item causes a number of random
  8774. bugs (which begin to appear after Chris' big patch for handle creation
  8775. fixes).
  8776. 2007-07-26 Jonathan Pobst <[email protected]>
  8777. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  8778. for things that don't have a Graphics object. Currently, things just use
  8779. the static Hwnd.bmp_g which is not thread safe.
  8780. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8781. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  8782. dialog. Fixes #82187.
  8783. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8784. * DataGridViewElement.cs: Initialize state.
  8785. * DataGridView.cs: Forward a few Mouse events to cells. Add
  8786. GetRowInternal and GetCellInternal that doesn't unshare rows.
  8787. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  8788. don't use the index, but look it up. Add
  8789. DataGridViewControlCollection.RemoveInternal to remove controls
  8790. that Remove won't remove (scrollbars, edit control).
  8791. * DataGridViewColumn.cs: Initialize State correctly.
  8792. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  8793. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  8794. implementing this.
  8795. * DataGridViewRowCollection.cs: Implemented shared rows.
  8796. * DataGridViewRow.cs: Throw exceptions as MS do.
  8797. * DataGridViewCell.cs: A few properties are implemented by a
  8798. Get<Property> method, so move implementation there and remove the
  8799. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  8800. calls when necessary.
  8801. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  8802. complicates matters.
  8803. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  8804. unshare any rows.
  8805. 2007-07-25 Jonathan Pobst <[email protected]>
  8806. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  8807. the children controls. Instead, we will just set up the proper docking for the
  8808. children controls so we don't have to worry about it. [Fixes bug #82188]
  8809. 2007-07-25 Jonathan Pobst <[email protected]>
  8810. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  8811. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  8812. 81847. [Fixes bug #81847]
  8813. 2007-07-25 Jonathan Pobst <[email protected]>
  8814. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  8815. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  8816. an explicit size based on the design-time size of the text. Since our fonts
  8817. may not match this explicit size, we tend to cut off the ends of people's labels.
  8818. 2007-07-24 Jonathan Pobst <[email protected]>
  8819. * Menu.cs: Add some missing methods to MenuItemCollection.
  8820. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8821. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  8822. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  8823. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  8824. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  8825. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  8826. * DataGridViewElement.cs: State defaults to Visible.
  8827. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  8828. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  8829. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8830. * Control.cs: Minor 1.1 corcompare fix.
  8831. 2007-07-23 Jonathan Pobst <[email protected]>
  8832. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  8833. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  8834. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8835. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  8836. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  8837. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  8838. DataGridViewSelectedColumnCollection.cs,
  8839. DataGridViewSelectedRowCollection.cs: Corcompare work.
  8840. 2007-07-23 Jonathan Pobst <[email protected]>
  8841. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  8842. it is autoset by VS2005 designer and the effect is barely noticeable.
  8843. 2007-07-23 Jonathan Pobst <[email protected]>
  8844. * TreeView.cs: Implement HitTest.
  8845. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8846. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  8847. manually adding and removing the control from the Controls
  8848. collecftion.
  8849. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  8850. EditingControlInternal property that tracks the editing control.
  8851. Always keeping the scrollbars in the Controls collection, as MS
  8852. testing confirms is the right behaviour.
  8853. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8854. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  8855. according to MSDN and new test.
  8856. 2007-07-20 Jonathan Pobst <[email protected]>
  8857. * TreeNode.cs: Implement ToolTipText.
  8858. * TreeView.cs: Implement tooltips, NodeMouse* events.
  8859. 2007-07-20 Jonathan Pobst <[email protected]>
  8860. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  8861. 2007-07-20 Jonathan Pobst <[email protected]>
  8862. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  8863. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  8864. 2007-07-20 Ivan N. Zlatev <[email protected]>
  8865. * Control.cs, Form.cs, ContainerControl.cs,
  8866. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  8867. for misc properties.
  8868. 2007-07-20 Jonathan Pobst <[email protected]>
  8869. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  8870. * TreeView.cs: Implement StateImageList.
  8871. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8872. * Form.cs: Don't check if the current form is the active form before
  8873. activating it. Fixes #81904.
  8874. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8875. * Form.cs: Don't check if the current form is the active form before
  8876. activating it. Fixes #81904.
  8877. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8878. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  8879. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8880. * Form.cs: Don't try to position the form after loading if the form was
  8881. disposed. Fixes #81969.
  8882. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8883. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  8884. properties. Had to change ToolBar into ToolStrip, which required a
  8885. few #ifs.
  8886. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8887. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  8888. resized, fixes part of #79829 (vertical lines in toolbar).
  8889. PropertyGrid: Refactored Populate* to something that's easier to
  8890. follow at least for me, as well as splitting it up into several new
  8891. methods, required to update only subitems when something has
  8892. changed by a popup editor or listbox. Don't use events to check
  8893. when any values are changed, since the events are unreliable (we're
  8894. changing the objects the events are registered with, and if the
  8895. event handling requires the objects to be immutable (objects stored
  8896. in hashtables for instance), the events will never be raised).
  8897. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  8898. everytime we change a value, since events are unreliable.
  8899. DropDownButtonClicked: For the same reason don't compare objects to
  8900. check if it has changed or not, it would require all objects to
  8901. derive Equals. Fix dialog location on windows, MS is doing weird
  8902. things when creating parented forms.
  8903. * GridEntry.cs: Add a SelectedObject setter.
  8904. 2007-07-19 Jonathan Pobst <[email protected]>
  8905. * TreeNode.cs: Add some corcompare attributes.
  8906. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  8907. * TreeView.cs: Implement some 2.0 stuffs.
  8908. 2007-07-18 Andreia Gaita <[email protected]>
  8909. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  8910. for moma.
  8911. 2007-07-19 Jonathan Pobst <[email protected]>
  8912. * ListBox.cs: Implement custom tab offsets.
  8913. 2007-07-18 Jonathan Pobst <[email protected]>
  8914. * ToolStripContentPanel.cs: Support System renderer.
  8915. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  8916. 2007-07-18 Jonathan Pobst <[email protected]>
  8917. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  8918. 2007-07-18 Jonathan Pobst <[email protected]>
  8919. * CheckBox.cs: Chain TextAlign to base implementation instead of
  8920. maintaining another one.
  8921. 2007-07-18 Jonathan Pobst <[email protected]>
  8922. * ButtonBase.cs: Fix an incorrect string constant.
  8923. 2007-07-18 Jonathan Pobst <[email protected]>
  8924. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  8925. of creating one for measuring strings.
  8926. 2007-07-18 Jonathan Pobst <[email protected]>
  8927. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  8928. Implement MaxItemSize.
  8929. 2007-07-17 Jonathan Pobst <[email protected]>
  8930. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  8931. for DeviceContext. Instead, use the static one available in Hwnd.
  8932. Informal tests show this saves about 500k on formtest.exe.
  8933. 2007-07-17 Jonathan Pobst <[email protected]>
  8934. * ContainerControl.cs: Implement 2.0 AutoScaling.
  8935. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  8936. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  8937. 2007-07-16 Jonathan Pobst <[email protected]>
  8938. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  8939. Darken the focus color.
  8940. 2007-07-16 Jonathan Pobst <[email protected]>
  8941. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  8942. for the checkbox.
  8943. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  8944. X, Y instead of a rect for drawing text.
  8945. - For ControlPaint.DrawCheckBox, center the check a little better when the
  8946. checkbox is odd width. When drawing a flat checkbox, use a white background
  8947. when state != inactive.
  8948. [Fixes bugs #82097, 82100]
  8949. 2007-07-16 Gert Driesen <[email protected]>
  8950. * ListControl.cs: When changing CurrencyManager, disconnect event
  8951. handlers from previous one. Fixes bug #81771. Code formatting.
  8952. 2007-07-15 Andreia Gaita <[email protected]>
  8953. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  8954. full preview invalidation from layout invalidation, and only invalidate
  8955. the layout when setting zoom or other properties. Invalidation should
  8956. always be done even when resetting properties with the same values as
  8957. what is there. Fixes #81744 and #79830.
  8958. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8959. * ListView.cs: Implement initial support for Groups. Split some of the
  8960. LayoutIcons code to render a partial list of the items (needed by
  8961. items contained in ListViewGroup instances). Let the
  8962. ListViewItemsCollection.ListView property be modifiable (needed when
  8963. using Groups, too).
  8964. * ListViewGroup.cs: Use a Bounds property rather than a Location
  8965. one. Also invalidate the bounds when they get changed.
  8966. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  8967. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  8968. method as well.
  8969. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8970. * ListView.cs: When space gets pressed and CheckBoxes is true,
  8971. don't invoke the Begin and EndUpdate methods. We are generating
  8972. a redraw of the entire control without need to do so.
  8973. 2007-07-13 William Holmes <[email protected]>
  8974. * Control.cs: Changing logic in FindFlatForward and
  8975. FindFlatBackward to handle multiple Controls with
  8976. the same TabIndex.
  8977. This fixes bug 81687.
  8978. 2007-07-13 Jonathan Pobst <[email protected]>
  8979. * OSFeature.cs: Enable IsPresent.
  8980. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8981. * Control.cs: Don't do anything in WmShowWindow if the control has been
  8982. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  8983. control is created, put on a form, the control is disposed (the
  8984. form is never shown), and then we get a MapNotify, triggering a
  8985. WM_SHOWWINDOW.
  8986. * Form.cs: Exclude the current form when sending Deactivate to all
  8987. MdiChildren.
  8988. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  8989. there was a race condition because assigning the handle raises
  8990. events, we can get more messages, therefore trying to assign the
  8991. handle again, which would fail if any of those event handlers
  8992. closed/disposed the control.
  8993. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8994. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  8995. 2007-07-12 Jonathan Pobst <[email protected]>
  8996. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  8997. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  8998. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  8999. * DateTimePicker.cs: If there's no part format specifier, return an
  9000. empty string.
  9001. 2007-07-12 Jonathan Pobst <[email protected]>
  9002. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  9003. Transparent BorderColor.
  9004. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  9005. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  9006. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  9007. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  9008. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  9009. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  9010. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  9011. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  9012. Remove warnings.
  9013. * X11Structs.cs: Remove warnings, add ToString implementations.
  9014. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  9015. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  9016. size, and not the current size. Fixes #81798.
  9017. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  9018. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  9019. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  9020. to the control yet).
  9021. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  9022. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  9023. mousedowns to the contained textbox.
  9024. * X11Structs.cs: More ToString implementation.
  9025. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  9026. #81791.
  9027. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  9028. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  9029. 2007-07-10 Jonathan Pobst <[email protected]>
  9030. * TableLayoutPanelCellPosition.cs: TypeConverter.
  9031. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  9032. [ Fixes #79761]
  9033. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  9034. controls.
  9035. * PropertyGridView.cs: A few color fixes.
  9036. 2007-07-10 Jackson Harper <[email protected]>
  9037. * TextControl.cs: Remove some old unused text formatting stuff.
  9038. 2007-07-10 Jackson Harper <[email protected]>
  9039. * TreeView.cs: Update full row select invalidation to match the
  9040. newer DrawSelection... method.
  9041. - Make sure to invalidate the entire width when selecting a new
  9042. node, if we have full row selection enabled.
  9043. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  9044. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  9045. display of properties again.
  9046. 2007-07-10 Jonathan Pobst <[email protected]>
  9047. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  9048. to existing collections.
  9049. 2007-07-09 Jonathan Pobst <[email protected]>
  9050. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  9051. that changed between 1.1 and 2.0.
  9052. 2007-07-09 Jonathan Pobst <[email protected]>
  9053. * PowerStatus.cs: Added. This is just a data class, it is filled
  9054. in by SystemInformation.
  9055. 2007-07-09 Jonathan Pobst <[email protected]>
  9056. * Message.cs: Add op_Equality and op_Inequality.
  9057. 2007-07-09 Jonathan Pobst <[email protected]>
  9058. * MenuStrip.cs: Finish corcompare work.
  9059. 2007-07-09 Jonathan Pobst <[email protected]>
  9060. * LinkArea.cs: Add op_Equality and op_Inequality.
  9061. 2007-07-09 Jonathan Pobst <[email protected]>
  9062. * Application.cs: Add MessageLoopCallback delegate.
  9063. 2007-07-09 Jonathan Pobst <[email protected]>
  9064. * ListBox.cs: First set of 2.0 stuffs.
  9065. 2007-07-09 Jonathan Pobst <[email protected]>
  9066. * Control.cs: Make an internal Height property we can override
  9067. without messing up the public API.
  9068. * ListBox.cs: Override HeightInternal to always return the size
  9069. the user set. [Fixes bug #80466]
  9070. 2007-07-08 Jonathan Pobst <[email protected]>
  9071. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  9072. paint cell borders if we haven't calculated where they go yet.
  9073. [Fixes bugs #82040 and #82041]
  9074. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  9075. * ListView.cs: In Details view, set the location of item_control
  9076. in the (0,0) position (and the header_control is thus on the
  9077. item_control). This way the Bounds of the Items are relative to the
  9078. ListView control (before this, they had a Bounds value without the
  9079. header_control offset, which wasn't matching .Net). Fixes #82004.
  9080. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  9081. * ListControl.cs: When DataSource is set to null, pass an empty
  9082. array of object to SetItemsCore. This is done to clean the items
  9083. in the ListContol children. Fixes #81788.
  9084. 2007-07-06 Jonathan Pobst <[email protected]>
  9085. * ListControl.cs: Add 2.0 stuffs.
  9086. 2007-07-06 Jonathan Pobst <[email protected]>
  9087. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  9088. Refresh is overkill for just about every repaint request.
  9089. 2007-07-06 Jonathan Pobst <[email protected]>
  9090. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  9091. so remove my custom Get method and fix the property getter.
  9092. 2007-07-06 Jonathan Pobst <[email protected]>
  9093. * Label.cs: DefaultMargin for 2.0.
  9094. 2007-07-06 Jonathan Pobst <[email protected]>
  9095. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  9096. reported issue where other controls with mnemonics would steal strokes
  9097. from a selected ComboBox.
  9098. 2007-07-06 Jonathan Pobst <[email protected]>
  9099. * ScrollOrientation.cs: Make internal for 1.1.
  9100. * ScrollEventArgs.cs: Add 2.0 stuffs.
  9101. 2007-07-05 Jonathan Pobst <[email protected]>
  9102. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  9103. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  9104. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  9105. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  9106. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  9107. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  9108. * ListView.cs: Implement the so-incredibly broken 2.0
  9109. VirtualItemsSelectionRangeChanged event.
  9110. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  9111. * ListView.cs: When enter is pressed and selection is non empty,
  9112. an OnItemActivate event must be fired.
  9113. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  9114. * ListView.cs: Store the FocusedItem information as an
  9115. int instead of a ListViewItem (needed by VirtualMode).
  9116. Update the calls to SetFocusedItem to pass an index instead of
  9117. an item.
  9118. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  9119. the Focused state from the owner ListView.
  9120. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  9121. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  9122. property. Also, invalidate previous focused item in the mentioned
  9123. property (match .Net).
  9124. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  9125. * ListView.cs: Implement 2.0 FocusedItem property setter.
  9126. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  9127. * ListView.cs: Implement 2.0 TopItem property setter.
  9128. 2007-07-03 Jonathan Pobst <[email protected]>
  9129. * StatusStrip.cs: The default renderer is System.
  9130. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  9131. if the user specifies it.
  9132. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  9133. if we are ManagerRenderMode.
  9134. * ToolStripMenuItem.cs: Calculate our text color better.
  9135. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  9136. from Professional to the base class based off working with the System renderer.
  9137. * ToolStripSystemRenderer.cs: Added.
  9138. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  9139. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  9140. 2007-07-02 Jonathan Pobst <[email protected]>
  9141. * ToolTip.cs: Implement 2.0 Tag property.
  9142. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  9143. * ListView.cs: Implement 2.0 HitTest methods.
  9144. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  9145. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  9146. item is under the pointer or not (sugar). Also remove the TODO
  9147. regarding to the cursor changes in OneClick activation.
  9148. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  9149. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  9150. true; otherwise don't show the underline style.
  9151. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  9152. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  9153. the code to retrieve the item at position only one time. Also
  9154. change cursor when Activation is ItemActivation.OneClick as well
  9155. as invalidate the item if HotTracking is true (to show/hide the
  9156. underline style). Add an internal HotItemIndex property to retrieve
  9157. the current hot item's index.
  9158. * ListViewItem.cs: Add an internal HotFont property to cache the
  9159. font used when HotTracking is true and the pointer moves within the
  9160. item's borders.
  9161. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  9162. HotFont depending on the hot state of the item.
  9163. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  9164. * ListView.cs: Implement 2.0 HotTracking property.
  9165. 2007-06-21 Jonathan Pobst <[email protected]>
  9166. * ToolStripControlHost.cs: If our hosted control never got created,
  9167. don't try to dispose it. [Fixes bug #81909]
  9168. 2007-06-21 Jonathan Pobst <[email protected]>
  9169. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  9170. 2007-06-21 Jonathan Pobst <[email protected]>
  9171. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  9172. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  9173. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  9174. Details view.
  9175. * DrawListViewColumnHeaderEventArgs.cs:
  9176. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  9177. using the DrawText () methods.
  9178. 2007-06-19 Jonathan Pobst <[email protected]>
  9179. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  9180. background which got erased in my changes yesterday.
  9181. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  9182. * ListViewItem.cs: Actually set bounds for subitems in Details view
  9183. (2.0 feature).
  9184. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  9185. can invoke from the owner draw routines if we need it. Also, add
  9186. support for Owner draw in Details view.
  9187. 2007-06-18 Jonathan Pobst <[email protected]>
  9188. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  9189. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  9190. ShowImageMargin setting, properly align text in a ToolStripLabel
  9191. hosted on a ToolStripDropDown.
  9192. 2007-06-18 Jonathan Pobst <[email protected]>
  9193. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  9194. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  9195. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  9196. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  9197. 2007-06-18 Jonathan Pobst <[email protected]>
  9198. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  9199. location to match ToolStripMenuItems.
  9200. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  9201. * DrawListViewColumnHeaderEventArgs.cs:
  9202. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  9203. column headers in ListView.
  9204. 2007-06-15 Jonathan Pobst <[email protected]>
  9205. * UserControl.cs: Implement AutoSize.
  9206. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  9207. * DrawListViewItemEventArgs.cs:
  9208. * ListView.cs:
  9209. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  9210. ListView.
  9211. 2007-06-15 Jonathan Pobst <[email protected]>
  9212. * ToolStripDropDownItemAccessibleObject.cs: Added.
  9213. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  9214. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  9215. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  9216. ToolStripTextBox.cs: corcompare work.
  9217. 2007-06-14 Jonathan Pobst <[email protected]>
  9218. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  9219. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  9220. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  9221. corcompare.
  9222. 2007-06-14 Jonathan Pobst <[email protected]>
  9223. * OSFeature.cs: Add IsPresent.
  9224. * PrintPreviewControl.cs: Add RightToLeft.
  9225. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  9226. * SplitterPanel.cs: Add AutoSizeMode.
  9227. 2007-06-13 Jonathan Pobst <[email protected]>
  9228. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  9229. * MdiClient.cs: Add 2.0 ScaleControl.
  9230. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  9231. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  9232. 2007-06-13 Jonathan Pobst <[email protected]>
  9233. * Form.cs: Implement some scaling methods, stub some RTL methods,
  9234. corcompare work.
  9235. 2007-06-13 Jonathan Pobst <[email protected]>
  9236. * Control.cs: corcompare work.
  9237. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  9238. 2007-06-13 Jonathan Pobst <[email protected]>
  9239. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  9240. ControlPaint 2.0 stuffs.
  9241. 2007-06-12 Jonathan Pobst <[email protected]>
  9242. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  9243. 2007-06-12 Jonathan Pobst <[email protected]>
  9244. * UpDownBase.cs: Add 2.0 stuffs.
  9245. 2007-06-12 Jonathan Pobst <[email protected]>
  9246. * NumericUpDown.cs: Add 2.0 stuffs.
  9247. 2007-06-12 Jonathan Pobst <[email protected]>
  9248. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  9249. 2007-06-12 Jonathan Pobst <[email protected]>
  9250. * ErrorProvider.cs: Implement 2.0 stuffs.
  9251. 2007-06-12 Jonathan Pobst <[email protected]>
  9252. * DomainUpDown.cs: Implement 2.0 stuffs.
  9253. 2007-06-12 Jonathan Pobst <[email protected]>
  9254. * CheckedListBox.cs: Fix RefreshItems signature.
  9255. 2007-06-12 Jonathan Pobst <[email protected]>
  9256. * PictureBox.cs: Implement 2.0 stuffs.
  9257. 2007-06-12 Andreia Gaita <[email protected]>
  9258. * TabControl.cs: Check if there are tabpages before checking
  9259. the selected index - fix #81802 (font changes raise a ResizeTabs
  9260. call on controls.add, which blew up nicely with no tabpages)
  9261. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  9262. * ListView.cs:
  9263. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  9264. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  9265. * ListView.cs:
  9266. * ListViewItem.cs: In VirtualMode the selection information
  9267. resides in the ListView, rather than in the Items. Also, throw
  9268. InvalidOperationExceptions when VirtualMode is being used and
  9269. CheckedItemCollection is accessed.
  9270. 2007-06-08 Jonathan Pobst <[email protected]>
  9271. * ComboBox.cs: Add ScaleControl.
  9272. 2007-06-08 Jonathan Pobst <[email protected]>
  9273. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  9274. 2007-06-08 Jonathan Pobst <[email protected]>
  9275. * GroupBox.cs: Add 2.0 stuffs.
  9276. 2007-06-08 Jonathan Pobst <[email protected]>
  9277. * Panel.cs: Add autosize properties/event.
  9278. 2007-06-07 Jonathan Pobst <[email protected]>
  9279. * Control.cs:
  9280. - When we remove a control, remove it from the collection before performing the layout.
  9281. - Setup an internal property for explicit_bounds.
  9282. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  9283. - Perform a layout when we set a new AutoSizeMode.
  9284. 2007-06-07 Jonathan Pobst <[email protected]>
  9285. * ScrollableControl.cs: Add 2.0 stuffs.
  9286. 2007-06-06 Jonathan Pobst <[email protected]>
  9287. * ScrollBar.cs: Add 2.0 stuffs.
  9288. 2007-06-06 Jonathan Pobst <[email protected]>
  9289. * Splitter.cs: Add 2.0 stuffs.
  9290. 2007-06-06 Jonathan Pobst <[email protected]>
  9291. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  9292. to have BindingContext simply use base implementation.
  9293. 2007-06-06 Jonathan Pobst <[email protected]>
  9294. * ColumnHeader.cs: corcompare fix.
  9295. 2007-06-06 Jonathan Pobst <[email protected]>
  9296. * Button.cs: corcompare fixes.
  9297. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  9298. 2007-06-06 Jonathan Pobst <[email protected]>
  9299. * Button.cs: Override GetPreferredSizeCore.
  9300. * ButtonBase.cs: PerformLayout after changing properties that can affect
  9301. AutoSize. Simplify some mouse/keyboard code.
  9302. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  9303. * MouseEventArgs.cs: Make Location internal for 1.1.
  9304. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  9305. * Theme.cs: Add CalculateButtonAutoSize.
  9306. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  9307. 2007-06-05 Miguel de Icaza <[email protected]>
  9308. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  9309. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  9310. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  9311. since we can get different item instances every time we retrieve it.
  9312. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  9313. * ListView.cs: Work around for #81602, since an unkown an pretty
  9314. infrequent condition appears only in some systems (old linux boxes, it
  9315. seems).
  9316. 2007-06-04 Jonathan Pobst <[email protected]>
  9317. * Button.cs: Completely reformat and a little refactor to bring
  9318. this closer to Mono circa 2007.
  9319. 2007-06-04 Jonathan Pobst <[email protected]>
  9320. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  9321. to be ButtonBase.Invalidate.
  9322. 2007-06-04 Jonathan Pobst <[email protected]>
  9323. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  9324. 2007-06-04 Jonathan Pobst <[email protected]>
  9325. * ButtonBase.cs: Completely reformat and a little refactor to bring
  9326. this closer to Mono circa 2007.
  9327. 2007-06-01 Everaldo Canuto <[email protected]>
  9328. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  9329. values for autosize. Fixes #80137.
  9330. 2007-06-01 Jonathan Pobst <[email protected]>
  9331. * Control.cs: Don't perform layout when AutoSize changes.
  9332. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  9333. directly when autosizing, use SetBounds with BoundsSpecified.None.
  9334. Fixes unit tests my last commit broke.
  9335. 2007-06-01 Jonathan Pobst <[email protected]>
  9336. * Control.cs: Perform layout when AutoSize changes.
  9337. * Form.cs: Implement AutoSizing.
  9338. 2007-06-01 Chris Toshok <[email protected]>
  9339. * DataGrid.cs: remove the XXX'ed check at the top of
  9340. ProcessGridKey. fixes #80464.
  9341. 2007-06-01 Chris Toshok <[email protected]>
  9342. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  9343. adding idempotent (add/remove in Edit()), and also make sure we
  9344. don't add it until after we set the text, so it's not tripped in
  9345. Edit(). Fixes unit test regression.
  9346. 2007-06-01 Jonathan Pobst <[email protected]>
  9347. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  9348. change is user explicit, not when the layout engine moves stuff. Fixes
  9349. anchoring to bottom and right. [Fixes bug #81790]
  9350. 2007-06-01 Andreia Gaita <[email protected]>
  9351. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  9352. 2007-06-01 Andreia Gaita <[email protected]>
  9353. * ContainerControl.cs:
  9354. Fire enter event for common ancestor if it is not a ContainerControl.
  9355. Send focus to the active_control and not the 'value', the active
  9356. control might have been changed in one of the events fired.
  9357. Definitely fixes #80159.
  9358. 2007-06-01 Andreia Gaita <[email protected]>
  9359. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  9360. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  9361. * PropertyGrid.cs: Anchor the help description to the bottom of the
  9362. help panel and refactor SelectGridItem into a
  9363. SelectGridItemInternal that can be set to null (and update it to
  9364. clear the help texts when it is set to null). Set root item to null
  9365. when there's no SelectedObject. Fixes #80438.
  9366. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  9367. when we're recalculating after a resize (only).
  9368. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  9369. * ListView.cs: Implement 2.0 RedrawItems method.
  9370. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  9371. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  9372. handlers from previous data manager when DataSource is set to
  9373. null. Fixes #81771.
  9374. 2007-05-31 Jackson Harper <[email protected]>
  9375. * TextBoxBase.cs: These seem to be the correct values.
  9376. 2007-05-31 Everaldo Canuto <[email protected]>
  9377. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  9378. value. Fixes #81784.
  9379. 2007-05-31 Jonathan Pobst <[email protected]>
  9380. * Control.cs: Implement 2.0 scaling methods.
  9381. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  9382. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  9383. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  9384. corcompare issues.
  9385. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  9386. * ProgressBar.cs: Implemented missing 2.0 members.
  9387. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  9388. * Control.cs: Corcompare issues.
  9389. * MessageBox.cs: Implemented missing 2.0 functions.
  9390. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  9391. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  9392. Implemented more 2.0 members.
  9393. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  9394. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  9395. null (strange, but it seems to happen when running unit tests).
  9396. 2007-05-30 Andreia Gaita <[email protected]>
  9397. * ContainerControl.cs: Set active_control even earlier, before
  9398. firing any events, and undo it if validation returns false.
  9399. 2007-05-30 Andreia Gaita <[email protected]>
  9400. * ContainerControl.cs: Raise Validation and Enter/Leave events
  9401. even if there is no Form and set active_control earlier, just
  9402. before firing Enter events (toshok's patches). Fixes #80647.
  9403. 2007-05-30 Jackson Harper <[email protected]>
  9404. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  9405. things and fix bug #81311.
  9406. 2007-05-30 Jackson Harper <[email protected]>
  9407. * X11Dnd.cs: Now that we have our own event loop, we need to
  9408. cancel when we get a mouseup but it won't be accepted.
  9409. 2007-05-30 Chris Toshok <[email protected]>
  9410. * DataGrid.cs (set_CurrentCell): guard against negative
  9411. column/row.
  9412. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  9413. array index syntax instead of looping over the property names.
  9414. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  9415. and set IsInEditOrNavigateMode to false there.
  9416. 2007-05-30 Jackson Harper <[email protected]>
  9417. * TreeView.cs: Make sure we don't get a bad visible order when
  9418. setting to the top node. Fixes some misc crashing in
  9419. ControlInspector.
  9420. 2007-05-30 Andreia Gaita <[email protected]>
  9421. * UserControl.cs: Add 2.0 AutoSizeMode
  9422. 2007-05-29 Everaldo Canuto <[email protected]>
  9423. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  9424. 2007-05-29 Everaldo Canuto <[email protected]>
  9425. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  9426. lines. Fixes #80285.
  9427. 2007-05-29 Everaldo Canuto <[email protected]>
  9428. * DataGridColumnStyle.cs: Add char trimming column header text format.
  9429. 2007-05-29 Everaldo Canuto <[email protected]>
  9430. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  9431. Fixes #80147.
  9432. 2007-05-29 Jackson Harper <[email protected]>
  9433. * TreeNode.cs: Fix off by one on calculating whether or not a node
  9434. is visible.
  9435. 2007-05-29 Jonathan Pobst <[email protected]>
  9436. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  9437. * ScrollableControl.cs: Force an UpdateDistances when we move the
  9438. scrollbars.
  9439. [Fixes bug #80605]
  9440. 2007-05-29 Andreia Gaita <[email protected]>
  9441. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  9442. update the page setup screen.
  9443. 2007-05-29 Andreia Gaita <[email protected]>
  9444. * PageSetupDialog.cs: Fix landscape mode.
  9445. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  9446. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  9447. IconSizeHorizontalSpacing.
  9448. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  9449. * ListView.cs: The declaration of prev_tooltip_item should be inside
  9450. a NET_2_0 conditional (avoid a warning).
  9451. 2007-05-28 Andreia Gaita <[email protected]>
  9452. * PageSetupDialog.cs: Implement PrintPreview control to display
  9453. the preview thumbnail. Change unit conversion to use
  9454. PrinterUnitConvert methods.
  9455. Note: there is a huge bug in ms.net where the default margins are
  9456. interpreted as centimeters (?), when in fact they are set in inches. When
  9457. loading the page setup dialog initially (ms.net), the default margins
  9458. are set to 1 inch, and the dialog shows them with value 10, when in fact
  9459. it should be 25 (properly converted). Our dialog doesn't have this bug.
  9460. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  9461. RectangleF.
  9462. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  9463. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  9464. * ListView.cs:
  9465. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  9466. items.
  9467. 2007-05-28 Andreia Gaita <[email protected]>
  9468. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  9469. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  9470. bug?), convert the ptr to Int32 first.
  9471. 2007-05-28 Jackson Harper <[email protected]>
  9472. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  9473. recieved, we will exit the dnd tracking loop.
  9474. 2007-05-28 Jackson Harper <[email protected]>
  9475. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  9476. recieved. TODO: I should probably stick a timer on the dropped
  9477. event, and finish the drag if the XDND Finished event never shows
  9478. (because some apps don't seem to send it).
  9479. 2007-05-28 Everaldo Canuto <[email protected]>
  9480. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  9481. #81733.
  9482. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  9483. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  9484. handled.
  9485. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  9486. * MonthCalendar.cs: Set the size after initializing all the relevant
  9487. variables. Fixes #81742.
  9488. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  9489. * KeyEventArgs.cs: Fix typo.
  9490. 2007-05-28 Gert Driesen <[email protected]>
  9491. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  9492. to match MS. Fixed MinDate to only accept value less than or equal
  9493. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  9494. Removed TODO's that are now verified by unit tests.
  9495. 2007-05-27 Gert Driesen <[email protected]>
  9496. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  9497. MS.
  9498. 2007-05-25 Jackson Harper <[email protected]>
  9499. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  9500. it's own message loop.
  9501. * XplatUIX11.cs: Remove some of the dnd hooks
  9502. 2007-05-25 Gert Driesen <[email protected]>
  9503. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  9504. instead of MinimizedWindowSize.
  9505. 2007-05-25 Jackson Harper <[email protected]>
  9506. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  9507. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  9508. * KeyEventArgs.cs: Added SuppressKeyPress.
  9509. * Control.cs: Added support for SuppressKeyPress.
  9510. 2007-05-24 Andreia Gaita <[email protected]>
  9511. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  9512. problems with PieChart. suppress_validation should not be a counter,
  9513. if there are several BeginInit calls, the first EndInit will
  9514. activate validation. Fix exceptions thrown by set_Value.
  9515. * UpDownBase.cs: ValidateText only if it's the user editing it.
  9516. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  9517. * ListControl.cs: FilterItemOnProperty should return the filtered
  9518. item proeprty even if DataSource is null. The same applies for
  9519. GetItemText. Fixes #80427.
  9520. 2007-05-24 Jonathan Pobst <[email protected]>
  9521. * Control.cs: If a control doesn't have a parent when it's Dock is
  9522. set, but it has children, it needs to do a layout. Fixes some nested
  9523. controls issues. [Fixes bug #81199]
  9524. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  9525. * ComboBox.cs: If there are few items in the drop down list, make it
  9526. the exact size the items need, no bigger. Fixes #81612.
  9527. 2007-05-24 Jonathan Pobst <[email protected]>
  9528. * Application.cs: When we have captured the keyboard for a menu,
  9529. check for mouse down events in case we need to close the menu.
  9530. * Control.cs, Form.cs: Remove mouse down checks for menus.
  9531. 2007-05-24 Jackson Harper <[email protected]>
  9532. * TextControl.cs: Handle tabs in non multiline mode a little
  9533. differently.
  9534. 2007-05-24 Jackson Harper <[email protected]>
  9535. * TextControl.cs: We need to manually break apart tabbed text and
  9536. move the tabs, since the system.drawing tabbing mechanism relies
  9537. on tab stops.
  9538. * TextBoxBase.cs: Move the caret properly when the user enters a
  9539. tab.
  9540. 2007-05-24 Jonathan Pobst <[email protected]>
  9541. * ContainerControl.cs: Don't check CanSelect before calling
  9542. ProcessMnemonic.
  9543. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  9544. release a KeyboardActive on click if it's not ours.
  9545. 2007-05-23 Andreia Gaita <[email protected]>
  9546. * ColumnHeader.cs: Add TypeConverter
  9547. 2007-05-23 Everaldo Canuto <[email protected]>
  9548. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  9549. 2007-05-23 Everaldo Canuto <[email protected]>
  9550. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  9551. 2007-05-23 Everaldo Canuto <[email protected]>
  9552. * LinkLabel.cs: Implement public Padding property.
  9553. 2007-05-23 Everaldo Canuto <[email protected]>
  9554. * LinkLabel.cs: Implement public FlatStyle.
  9555. 2007-05-23 Jonathan Pobst <[email protected]>
  9556. * Control.cs: Apply patch from George to call parent.PerformLayout
  9557. when Visible is changed. [Fixes bugs #81118, 81718]
  9558. 2007-05-23 Everaldo Canuto <[email protected]>
  9559. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  9560. 2007-05-23 Everaldo Canuto <[email protected]>
  9561. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  9562. 2007-05-23 Everaldo Canuto <[email protected]>
  9563. * ContextMenu.cs: Implement Collapse.
  9564. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  9565. * ToolBarButton.cs: Implement Name.
  9566. 2007-05-22 Everaldo Canuto <[email protected]>
  9567. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  9568. use current_item, it prevents some NRE. Fixes #81675.
  9569. 2007-05-22 Andreia Gaita <[email protected]>
  9570. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  9571. without updating the text.
  9572. 2007-05-22 Jonathan Pobst <[email protected]>
  9573. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  9574. without calling DeleteObject. [Should fix bug #81709]
  9575. 2007-05-22 Jackson Harper <[email protected]>
  9576. * RichTextBox.cs: Set the line endings correctly, when flushing
  9577. RTF text.
  9578. 2007-05-22 Gert Driesen <[email protected]>
  9579. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  9580. {Width=0,Height=0}.
  9581. 2007-05-22 Jackson Harper <[email protected]>
  9582. * TreeView.cs: Setting top with a null node should set to the very
  9583. top.
  9584. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9585. * Form.cs: ShowDialog: destroy the handle when message loop is
  9586. finished, matches MS behaviour. Refactor parts of WmClose into
  9587. RaiseCloseEvents, that only raises events if they haven't already
  9588. been raised. Fixes #81688 and #81521.
  9589. * Application.cs: Don't call close on the form when exiting a modal
  9590. loop, it will raise all the (Form)Closed/Closing events again if
  9591. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  9592. which doesn'r raise any events it they have been raised before.
  9593. 2007-05-22 Jonathan Pobst <[email protected]>
  9594. * Control.cs: Add OnPrint.
  9595. * ToolStrip.cs: Add GetChildAtPoint.
  9596. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  9597. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  9598. 2007-05-22 Everaldo Canuto <[email protected]>
  9599. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  9600. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9601. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  9602. isn't visible anymore. Fixes #81651.
  9603. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9604. * Control.cs: WmShowWindow: Update children's z-order after setting
  9605. their parent. SetParent may show the window, thereby corrupting
  9606. z-order, since the window will be shown on top.
  9607. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  9608. multiple (and redundant) WM_SHOWWINDOW messages.
  9609. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  9610. event has already been raised.
  9611. * Form.cs: Change is_changing_visible_state to a counter, since
  9612. SetVisibleCore can be called recursively. CreateHandle: when
  9613. creating mdi children, send (De)Activated events.
  9614. * MdiClient.cs: Update use of is_changing_visible_state.
  9615. * Application.cs: OnThreadException: Surround exception handling with
  9616. try/finally to ensure we always reset the error-handling state
  9617. before leaving.
  9618. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9619. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  9620. (#81704).
  9621. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  9622. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  9623. SmallIcon views, now that we have a standarized horizontal spacing.
  9624. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  9625. 4, just like the other views (Match .Net).
  9626. 2007-05-21 Jonathan Pobst <[email protected]>
  9627. * Control.cs: Delay calculating anchor distances until we actually layout.
  9628. Always query the WM for the actual size and location it put us at instead of
  9629. only when we send negative values.
  9630. [Fixes bugs #81694, 81695]
  9631. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  9632. * Application.cs: Avoid a possible stack overflow when trying to exit
  9633. the application.
  9634. 2007-05-19 Marek Safar <[email protected]>
  9635. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  9636. enum value.
  9637. 2007-05-19 Andreia Gaita <[email protected]>
  9638. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  9639. * NumericUpDownAcceleration.cs,
  9640. NumericUpDownAccelerationCollection.cs: Added 2.0
  9641. implementation.
  9642. 2007-05-19 Gert Driesen <[email protected]>
  9643. * RichTextBox.cs: Recalculate the document after the ScrollBars
  9644. property is changed. Fixes bug #81681.
  9645. 2007-05-18 Jonathan Pobst <[email protected]>
  9646. * DataObject.cs: Implement 2.0 methods.
  9647. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  9648. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  9649. in the center of the checkbox, not in the left-top corner.
  9650. Fixes #80037.
  9651. 2007-05-18 Jackson Harper <[email protected]>
  9652. * RichTextBox.cs: Recalculate the document after the scrollbars
  9653. property is changed.
  9654. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  9655. 81486.
  9656. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  9657. * CreateParams.cs: Make HasWindowManager marginally faster.
  9658. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  9659. into Hwnd so that other drivers can use it as well.
  9660. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  9661. the default location from Hwnd. Fixes MDI client windows always
  9662. showing up at (0,0) in Windows (Win32 won't set the default
  9663. location since the window styles aren't correct).
  9664. 2007-05-18 Gert Driesen <[email protected]>
  9665. * TreeView.cs: Modified DoubleBuffered to just use the base
  9666. implementation.
  9667. 2007-05-18 Jackson Harper <[email protected]>
  9668. * TreeView.cs: Set the top node to the last child node when
  9669. expanding all
  9670. - When we get focus, if there is no selected node, use the top
  9671. node.
  9672. 2007-05-18 Jonathan Pobst <[email protected]>
  9673. * KeysConverter.cs: Add CanConvertTo.
  9674. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  9675. * LinkConverter.cs: Added.
  9676. 2007-05-18 Everaldo Canuto <[email protected]>
  9677. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  9678. it prevents error when file dont have write access. Fixes #81669 and #81667.
  9679. 2007-05-18 Everaldo Canuto <[email protected]>
  9680. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  9681. button text. Fixes #79640.
  9682. 2007-05-18 Everaldo Canuto <[email protected]>
  9683. * Control.cs: According to MSDN controls created in the designer theres
  9684. keyboard accelerators visible by default. So included check for design
  9685. in ShowKeyboardCuesInternal.
  9686. 2007-05-18 Everaldo Canuto <[email protected]>
  9687. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  9688. text. Fixes #81621.
  9689. 2007-05-18 Everaldo Canuto <[email protected]>
  9690. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  9691. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  9692. 2007-05-17 Everaldo Canuto <[email protected]>
  9693. * Control.cs: Finish implementation of UI State using WmChangeUIState
  9694. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  9695. in some controls to check for show_keyboard_cues to draw accell keys "_".
  9696. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9697. * ListBox.cs: When calculating the horizontal scrollbar
  9698. in single column mode, don't use values less than 0 for
  9699. Maximum. Fixes #81474.
  9700. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9701. * ListBox.cs: Throw the some missing exceptions in
  9702. ListBox.ObjectCollection methods.
  9703. 2007-05-17 Jackson Harper <[email protected]>
  9704. * TextBoxBase.cs: Recalculate the document when the word wrap
  9705. value has changed. This fixes 81488.
  9706. 2007-05-17 Jonathan Pobst <[email protected]>
  9707. * Clipboard.cs: Implement missing GetText overload.
  9708. 2007-05-17 Chris Toshok <[email protected]>
  9709. * Control.cs (CheckDataBindings): remove the binding_context arg
  9710. to binding.Check.
  9711. * CurrencyManager.cs (OnItemChanged): fix this now that
  9712. BindingManagerBase is fixed. also remove the comment telling where
  9713. the fix should go. We set transfering_data to true/false around
  9714. the call to PushData to keep UpdateIsBinding from being called.
  9715. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  9716. PropertyDescriptorAdded in the 1.1 case. The extra call is
  9717. actually generated by System.Data generating 2 metadata changed
  9718. events of its own per column add. The fix should go there. Add a
  9719. comment to that affect in our test's Assert.Ignore.
  9720. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  9721. we keep a boolean flag (transfering_data) that keeps us from
  9722. calling UpdateIsBinding multiple times if we re-enter either of
  9723. them.
  9724. * ControlBindingsCollection.cs (AddCore): remove the
  9725. binding_context arg to binding.Check.
  9726. * Binding.cs (IsBinding): don't check if we're binding here, just
  9727. return our cached value. we update it in UpdateIsBinding.
  9728. (Check): don't take the binding_context arg, we'll just use our
  9729. control's. Also, for some reason MS doesn't use the data member
  9730. field when getting the bindingmanager for this binding. it just
  9731. uses the datasource. Make this method callable multiple times,
  9732. and only do the is_null_desc stuff if manager.Position != -1 (so
  9733. we don't get an exception accessing manager.Current).
  9734. (UpdateIsBinding): move the code from IsBinding here.
  9735. (PositionChangedHandler): call Check here to we can initialize
  9736. things that require a non- -1 position.
  9737. 2007-05-17 Everaldo Canuto <[email protected]>
  9738. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  9739. control.
  9740. 2007-05-17 Andreia Gaita <[email protected]>
  9741. * TabControl.cs: Add 2.0 methods and events, including
  9742. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  9743. * TabPage.cs: Add 2.0 methods
  9744. 2007-05-17 Everaldo Canuto <[email protected]>
  9745. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  9746. keyboard_cues is properly handled by message method.
  9747. 2007-05-17 Jonathan Pobst <[email protected]>
  9748. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  9749. 2007-05-17 Jonathan Pobst <[email protected]>
  9750. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  9751. 2007-05-16 Everaldo Canuto <[email protected]>
  9752. * Control.cs:
  9753. - WmUpdateUIState added to handle state changes, it make call to
  9754. OnChangeUICues event.
  9755. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  9756. SystemInformation.
  9757. 2007-05-16 Jonathan Pobst <[email protected]>
  9758. * ImageKeyConverter.cs: Added.
  9759. * TreeViewImageKeyConverter.cs: Added.
  9760. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  9761. * ToolTips.cs: Update Text if SetToolTip is called for a control
  9762. already showing the tooltip, as well as restarting its timer; show
  9763. tooltip if we are inside the control bounds by the time of calling
  9764. SetToolTip. Inside ShowTooltip remove the check to not show the
  9765. tooltip again for the active control (it is allowed by .Net to
  9766. show the tooltip on the same control multiple times).
  9767. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9768. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9769. 2007-05-16 Andreia Gaita <[email protected]>
  9770. * ContainerControl.cs: only process tab key if there are no
  9771. modifier keys present, otherwise the control does the
  9772. tab processing, if it needs to. Fixes #81622
  9773. * TabControl.cs: Fixes calculation for which tab to select on
  9774. shift+ctrl+tab.
  9775. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9776. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9777. 2007-05-15 Jonathan Pobst <[email protected]>
  9778. * Control.cs: Make IsInputCharInternal to allow controls to
  9779. override it and still match MS API.
  9780. * TextBoxBase.cs: Override IsInputCharInternal and always
  9781. return true.
  9782. [Fixes bug #81616]
  9783. 2007-05-15 Jackson Harper <[email protected]>
  9784. * TextBox.cs: Disable some of the menu options when using a
  9785. readonly textbox.
  9786. 2007-05-15 Jackson Harper <[email protected]>
  9787. * TextBox.cs:
  9788. * TextBoxBase.cs:
  9789. * RichTextBox.cs: Some new 2.0 methods
  9790. 2007-05-15 Gert Driesen <[email protected]>
  9791. * FileDialog.cs: On 1.0 profile, do not support multidotted
  9792. extensions.
  9793. 2007-05-14 Jackson Harper <[email protected]>
  9794. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  9795. * RichTextBox.cs: We need to override these methods on 2.0.
  9796. * MaskedTextBox.cs: These are implemented now
  9797. * TextControl.cs: This was off by one.
  9798. 2007-05-14 Jackson Harper <[email protected]>
  9799. * TextControl.cs: Because the line endings are including in the
  9800. text, we don't need to add them in anymore.
  9801. 2007-05-11 Everaldo Canuto <[email protected]>
  9802. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  9803. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  9804. 2007-05-11 Everaldo Canuto <[email protected]>
  9805. * ToolBar.cs: Adjust size to default size when button theres no text and
  9806. image, it fixes remaining issues from #81524.
  9807. 2007-05-11 Everaldo Canuto <[email protected]>
  9808. * ToolBar.cs:
  9809. - When not flat call redraw to recalculate sizes on creare handle to match
  9810. win32 behavior.
  9811. - Revert 77220 because it causes some regressions in toobar
  9812. button.
  9813. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  9814. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  9815. now actually enters a usable state.
  9816. 2007-05-11 Everaldo Canuto <[email protected]>
  9817. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  9818. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  9819. 3 buttons.
  9820. 2007-05-11 Everaldo Canuto <[email protected]>
  9821. * ToolBar.cs: Save default_size on create handle to use later for buttons
  9822. without text, needed to mimic win32 behavior.
  9823. 2007-05-11 Everaldo Canuto <[email protected]>
  9824. * ToolBar.cs: Fix button layour to best fit width or height according to
  9825. vertical or not. Fixes #81524.
  9826. 2007-05-10 Everaldo Canuto <[email protected]>
  9827. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  9828. toolbar size info because different styles theres different sizes.
  9829. Fixes #81522.
  9830. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9831. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  9832. if we are using checkboxes, checked is true, and we have less
  9833. than two images in StateImageList; for the 1.1 in the same scenario
  9834. draw the first image if we have at least one image in StateImageList.
  9835. Fixes part of #81191.
  9836. 2007-05-10 Jonathan Pobst <[email protected]>
  9837. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  9838. the owner's Items collection on merge.
  9839. 2007-05-10 Jonathan Pobst <[email protected]>
  9840. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  9841. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  9842. and parent/owner gets changed based on gert's unit tests.
  9843. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  9844. * MaskedTextBox.cs: Started implementing parts of it.
  9845. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9846. * ListView.cs: When clicking the checkbox on the items
  9847. take into account the double clicks even if we have only
  9848. one image in StateImageList (only for 1.0/1.1). Also
  9849. generate an extra change of checked state when we receive
  9850. the second click on checkbox (match .Net behaviour).
  9851. Fixes part of #81191.
  9852. 2007-05-10 Everaldo Canuto <[email protected]>
  9853. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  9854. 2007-05-10 Jonathan Pobst <[email protected]>
  9855. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  9856. even if OnLoad is overriden and base.OnLoad is not called.
  9857. [Fixes bug #81582]
  9858. 2007-05-10 Andreia Gaita <[email protected]>
  9859. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  9860. shame. (I blame my ever-persisting and annoying cold)
  9861. 2007-05-09 Jonathan Pobst <[email protected]>
  9862. * ListView.cs: Don't eat navigation keys. Let them flow through to
  9863. KeyDown/KeyPress routines. [Fixes bug #81569]
  9864. 2007-05-09 Jonathan Pobst <[email protected]>
  9865. * ListView.cs: When handling keys for selecting the item based off
  9866. keyboard input, do not consider keys pressed with Alt or Control. Also,
  9867. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  9868. 2007-05-09 Jonathan Pobst <[email protected]>
  9869. * Control.cs: When using UseWaitCursor, we have to store the requested
  9870. Cursor to use when UseWaitCursor is turned off.
  9871. 2007-05-09 Jonathan Pobst <[email protected]>
  9872. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  9873. to false.
  9874. * Application.cs: Use PreProcessControlMessage instead of
  9875. PreProcessMessage.
  9876. * PreProcessControlMessage.cs: Make internal for 1.1.
  9877. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  9878. * Control.cs: Add InternalContains focus property, which hast the same
  9879. functionality of ContainsFocus, but also including implicit controls.
  9880. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  9881. since we need to know if the focus is contained in our implicit
  9882. ItemControl when calculating Layout. Fixes part of #80888.
  9883. 2007-05-08 Everaldo Canuto <[email protected]>
  9884. * ToolTip.cs: Remove center form string alignment as it must be align to
  9885. left.
  9886. 2007-05-08 Jonathan Pobst <[email protected]>
  9887. * ToolStripItemCollection.cs: Set the new item's parent and owner
  9888. in Insert like we do in Add. [Fixes bug #81568]
  9889. 2007-05-08 Jackson Harper <[email protected]>
  9890. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  9891. - Off by one error in SetTop
  9892. - Disable DoubeBuffering
  9893. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  9894. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  9895. control as much as necessary in order to make it entirely visible,
  9896. instead of centering the control in the container (matches MS
  9897. behaviour). CalculateCanvasSize: we need to take the current scroll
  9898. position into account when calculating the maximum canvas,
  9899. otherwise the following scenario will fail: resize so that the
  9900. scrollbars appear, use the scrollbars to scroll, resize again
  9901. smaller, and now the canvas size is too small. Recalculate: when
  9902. showing scrollbars make sure they start off at 0, and try to scroll
  9903. the active control into view. Fixes #79540. HandleScrollBar: don't
  9904. scroll anywhere if the scrollbar isn't visible.
  9905. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  9906. * ListView.cs: When focus changed, call Layout/Invalidate
  9907. in the focused item to update the selected state (should show
  9908. entire label when ListView is focused, and a part of it if is not).
  9909. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  9910. for displaying the entire label not only the Focused state of the
  9911. item, but also the Focused state of the ListView (match .Net
  9912. behaviour).
  9913. 2007-05-07 Jonathan Pobst <[email protected]>
  9914. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  9915. Implement UseWaitCursor.
  9916. 2007-05-07 Jonathan Pobst <[email protected]>
  9917. Applying contributed patch from Sergey Volk.
  9918. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  9919. of SetDataObject.
  9920. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  9921. 2007-05-07 Jonathan Pobst <[email protected]>
  9922. * Control.cs: Implement DrawToBitmap.
  9923. 2007-05-07 Jonathan Pobst <[email protected]>
  9924. Applying contributed patch from Stefan Noack.
  9925. * Control.cs: Add [Get|Set]AutoSizeMode.
  9926. 2007-05-07 Jonathan Pobst <[email protected]>
  9927. * MdiClient.cs: Unmerge menus when the last child is closed.
  9928. 2007-05-07 Jonathan Pobst <[email protected]>
  9929. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  9930. * ToolStripManager.cs: Call Merge on DropDowns.
  9931. [Fixes bug #81477]
  9932. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  9933. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  9934. uints.
  9935. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  9936. visibility. We can't create forms visible, since we have to set the
  9937. owner before making the form visible (otherwise Win32 will do
  9938. strange things with task bar icons). The problem is that we set the
  9939. internal is_visible to true before creating the control, so
  9940. is_changing_visible_state is the only way of determining if we're
  9941. in the process of creating the form due to setting Visible=true -
  9942. this works because SetVisibleCore explicitly makes the form
  9943. visibile afterwards anyways. Fixes #80775.
  9944. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  9945. * ThemeWin32Classic.cs: When drawing ListViewItems,
  9946. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  9947. or LargeIcon _and_ item is not focused (match .Net behaviour).
  9948. 2007-05-04 Jonathan Pobst <[email protected]>
  9949. * Control.cs, Form.cs: Fix some obsolete method warnings.
  9950. 2007-05-04 Jonathan Pobst <[email protected]>
  9951. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  9952. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  9953. 2007-05-04 Andreia Gaita <[email protected]>
  9954. * ContainerControl.cs: Fix active_control attribution when going
  9955. up the parent chain so that the first parent container gets the control
  9956. and the rest of the parent containers get the child containers (skips
  9957. non-containers). Fixes #80729
  9958. 2007-05-04 Randolph Chung <[email protected]>
  9959. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  9960. [Fixes bug #81499]
  9961. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9962. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  9963. takes a size parameter, since the CreateParam's size isn't true for
  9964. minimized forms. Fixes #81518,
  9965. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9966. * Form.cs: Add OnDeactivateInternal.
  9967. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  9968. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9969. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  9970. accessing the parent. Fixes #81508.
  9971. 2007-05-03 Chris Toshok <[email protected]>
  9972. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  9973. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  9974. was added before the current listposition. Fixes the
  9975. TestInsertRowBeforeCurrent unit test.
  9976. 2007-05-03 Jonathan Pobst <[email protected]>
  9977. * Application.cs: Add RaiseIdle.
  9978. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9979. XplatUIX11.cs: Implement RaiseIdle.
  9980. 2007-05-02 Jonathan Pobst <[email protected]>
  9981. corcompare work: N - Z
  9982. * NotifyIcon.cs
  9983. * ProgressBar.cs
  9984. * RadionButton.cs
  9985. * ScrollableControl.cs
  9986. * SplitContainer.cs
  9987. * SplitterPanel.cs
  9988. * StatusBar.cs
  9989. * SystemInformation.cs
  9990. * TabControl.cs
  9991. * TableLayoutControlCollection.cs
  9992. * TableLayoutPanel.cs
  9993. * TabPage.cs
  9994. * ToolBar.cs
  9995. * ToolBarButton.cs
  9996. * ToolStrip.cs
  9997. * ToolStripComboBox.cs
  9998. * ToolStripContainer.cs
  9999. * ToolStripContentPanel.cs
  10000. * ToolStripDropDown.cs
  10001. * ToolStripDropDownItem.cs
  10002. * ToolStripDropDownMenu.cs
  10003. * ToolStripItem.cs
  10004. * ToolStripItemCollection.cs
  10005. * ToolStripMenuItem.cs
  10006. * ToolStripPanel.cs
  10007. * ToolStripSplitButton.cs
  10008. * ToolTip.cs
  10009. * TreeNode.cs
  10010. * TreeNodeCollection.cs
  10011. * TreeNodeMouseHoverEventArgs.cs
  10012. * TreeView.cs
  10013. 2007-05-01 Everaldo Canuto <[email protected]>
  10014. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  10015. stuff. Thanks aatdark for the patch.
  10016. 2007-05-01 Jonathan Pobst <[email protected]>
  10017. * GridItem.cs: Implement 2.0 Tag property.
  10018. 2007-05-01 Frederik Carlier <[email protected]>
  10019. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  10020. count instead of Nodes.Length. [Fixes bug #81448]
  10021. 2007-05-01 Jonathan Pobst <[email protected]>
  10022. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  10023. [Fixes bug #81506]
  10024. 2007-05-01 Jonathan Pobst <[email protected]>
  10025. corcompare work: A - M
  10026. * BindingNavigator.cs
  10027. * Button.cs
  10028. * ButtonBase.cs
  10029. * CheckBox.cs
  10030. * Control.cs
  10031. * FlowLayoutPanel.cs
  10032. * Form.cs
  10033. * Label.cs
  10034. * LinkLabel.cs
  10035. * ListView.cs
  10036. 2007-05-01 Jonathan Pobst <[email protected]>
  10037. * Application.cs: Give toolstrips a chance to process mnemonics.
  10038. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  10039. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  10040. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  10041. 2007-05-01 Jackson Harper <[email protected]>
  10042. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  10043. wider area too.
  10044. - Don't set the BoundsSpecified
  10045. 2007-04-30 Jonathan Pobst <[email protected]>
  10046. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  10047. message to pass through to a regular control if it hosted by a toolstrip.
  10048. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  10049. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  10050. 2007-04-30 Jonathan Pobst <[email protected]>
  10051. * TextRenderer.cs: Use the flags argument when using the MeasureString
  10052. fallback algorithm.
  10053. 2007-04-30 Jonathan Pobst <[email protected]>
  10054. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  10055. the MDI menu item. [Fixes bug #81483]
  10056. 2007-04-30 Gert Driesen <[email protected]>
  10057. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  10058. string. When setting Name to null, use zero-length string instead.
  10059. 2007-04-29 Andreia Gaita <[email protected]>
  10060. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  10061. DeselectTab). Implement missing 2.0 TabPageCollection methods
  10062. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  10063. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  10064. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  10065. 2007-04-29 Gert Driesen <[email protected]>
  10066. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  10067. Fixes bug #81479. Include details of exception when LoadFile fails.
  10068. 2007-04-28 Alan McGovern <[email protected]>
  10069. * DrawListViewSubItemEventArgs.cs: Added missing setter
  10070. 2007-04-27 Andreia Gaita <[email protected]>
  10071. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  10072. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  10073. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  10074. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  10075. removed in ly last commit (it was breaking the Label edit feature).
  10076. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  10077. StringAlignment.Near for LineAlignment (match .Net).
  10078. 2007-04-27 Andreia Gaita <[email protected]>
  10079. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  10080. of controls if it isn't already there - was blowing up when doing
  10081. tabcontrol.TabPages[i]=new TabPage().
  10082. SetTab now does a replace by removing the page at the index.
  10083. Add a new InsertTab method that inserts a page in a given index
  10084. instead of replacing.
  10085. Implements TabPageCollection.Insert(int, TabPage).
  10086. 2007-04-27 Chris Toshok <[email protected]>
  10087. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  10088. internal handler that can be invoked from our subclasses.) Also,
  10089. add a comment to PushData about how we need to fix it.
  10090. * CurrencyManager.cs: tons of changes here. trying to get things
  10091. matching the behavior of .net wrt event orders (ItemChanged,
  10092. CurrentChanged, PositionChanged.) I've implemented a private .net
  10093. symbol (ChangeRecordState) that appears in stack traces because
  10094. it's actually easier to do this than to effective inline all its
  10095. various behaviors at every call site.
  10096. * RelatedPropertyManager.cs: guard against an exception here by
  10097. not using parent.Current if the position is set to -1 (if the
  10098. parent datasource is cleared, for instance).
  10099. * Binding.cs: don't parse data in PushData (this might be wrong,
  10100. but it jives with MS's behavior.) Also, don't call PushData when
  10101. we get a CurrentChanged event.
  10102. 2007-04-27 Andreia Gaita <[email protected]>
  10103. * WebBrowser.cs,
  10104. WebBrowserBase.cs,
  10105. WebBrowserSiteBase.cs,
  10106. HtmlDocument.cs: Added stubbed out classes, no real implementations
  10107. yet.
  10108. 2007-04-27 Everaldo Canuto <[email protected]>
  10109. * MainMenu.cs: In draw method without parameters call draw method with
  10110. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  10111. as Rect property is already adjusted. Fixes #80694.
  10112. 2007-04-27 Jonathan Pobst <[email protected]>
  10113. * Application.cs: Need to handle keyboard menu deselection here.
  10114. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  10115. navigation, allowing keyboard to work on X11.
  10116. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  10117. 2007-04-27 Everaldo Canuto <[email protected]>
  10118. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  10119. menu bar. It fixes some drawing issues in menu bar.
  10120. 2007-04-27 Everaldo Canuto <[email protected]>
  10121. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  10122. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  10123. when <alt> key is pressed.
  10124. 2007-04-26 Everaldo Canuto <[email protected]>
  10125. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  10126. example just set visible to false and make this prevent from other problems.
  10127. In SystrayAdd always remove pending expose. Fixes #81072.
  10128. 2007-04-26 Marek Safar <[email protected]>
  10129. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  10130. value is set.
  10131. 2007-04-26 Alan McGovern <[email protected]>
  10132. * ListView.cs: Added three missing 2.0 events and corresponding
  10133. EventHandlers. Added the OwnerDraw property.
  10134. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  10135. 2007-04-26 Alan McGovern <[email protected]>
  10136. * DrawListViewItemEventArgs.cs
  10137. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  10138. 2007-04-26 Alan McGovern <[email protected]>
  10139. * TextControl.cs: Fixed typo in constructor
  10140. 2007-04-26 Jonathan Pobst <[email protected]>
  10141. * Application.cs: Create a shortcut path so that currently selected
  10142. MenuStrips can intercept keyboard events without having focus.
  10143. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  10144. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  10145. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  10146. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  10147. generate WM_SYSCOMMAND message in X11 for other platforms.
  10148. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  10149. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  10150. * ToolStripSplitButton.cs: Add DefaultItem property.
  10151. 2007-04-26 Everaldo Canuto <[email protected]>
  10152. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  10153. fixes some menu draw problem on Windows with border diferent from default
  10154. it also fixes #81403.
  10155. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  10156. * Form.cs: Refactor WndProc into separate methods, just like Control is
  10157. doing it.
  10158. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  10159. * Control.cs: set_Text: move the call to the driver into a seperate
  10160. virtual method so that Form can override it.
  10161. * MaskedTextBox.cs: Corcompare fixes.
  10162. * Form.cs: Override UpdateWindowText and only update the styles if the
  10163. form has been shown (fixes #81405).
  10164. 2007-04-25 Jonathan Pobst <[email protected]>
  10165. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  10166. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  10167. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  10168. the form lost focus or another control was clicked.
  10169. 2007-04-25 Gert Driesen <[email protected]>
  10170. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  10171. fixed.
  10172. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  10173. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  10174. DrawListViewItemEventHandler.cs,
  10175. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  10176. Added.
  10177. * X11Structs.cs: More ToString implementation.
  10178. 2007-04-25 Jonathan Pobst <[email protected]>
  10179. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  10180. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  10181. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  10182. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  10183. handle.
  10184. * FormCollection.cs: Don't add a form if it's already in the
  10185. collection.
  10186. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  10187. according to behaviour and MSDN. The ownerWin32 is the active
  10188. window at the moment when we call ShowDialog, not the context's
  10189. main form (the context's main form may open another form that opens
  10190. a form with ShowDialog, the win32 owner is the second form). Add
  10191. and remove forms to the Application.OpenForms in other places to
  10192. better match MS behaviour. Add an IsActive property that raises
  10193. On(de)Activated only if the active state has changed (we were
  10194. raising OnDeactivated before OnActivated while creating forms).
  10195. * Application.cs: Refactor Enabling/Disabling of windows for modal
  10196. dialog loops out to separate methods, and restore the thread
  10197. context when we quit the method. Fixes #81407.
  10198. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  10199. * ListView.cs: In ItemControl.HandleClicks, also fire
  10200. 2.0 MouseClick or MouseDoubleClick events on the parent,
  10201. not only the Click/DoubleClick events.
  10202. 2007-04-24 Andreia Gaita <[email protected]>
  10203. * TableLayoutSettings.cs:
  10204. - Added a GetControls method and a support structure to help the
  10205. TypeConverter to enumerate the controls for serialization.
  10206. - Added a new serialization constructor.
  10207. - Added a isSerialized flag initialized to true on the
  10208. serialization constructor so that the TableLayoutPanel.LayoutSettings
  10209. setter does not throw the designed NotSupportedOperation exception
  10210. when the object is built through deserialization.
  10211. - Implemented GetObjectData
  10212. * TableLayoutPanel.cs: Added check on LayoutSettings.
  10213. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  10214. * ListView.cs: Report Click and DoubleClick events to the parent
  10215. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  10216. from breaking the click count state when using dialog forms (Control
  10217. reports the clicks in a similar fashion). In the previous behaviour
  10218. the last WM_LBUTTONUP message in a double click was sent to the
  10219. ListView's form, instead of the ListView, which was breaking the click
  10220. count for it. Fixes #80387.
  10221. 2007-04-24 Alan McGovern <[email protected]>
  10222. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  10223. 2007-04-24 Jonathan Pobst <[email protected]>
  10224. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  10225. us from created dropdowns for menu items that do not have subitems.
  10226. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  10227. Check HasDropDownItems before calling DropDown so a dropdown will not be
  10228. created if it isn't needed.
  10229. 2007-04-24 Jackson Harper <[email protected]>
  10230. * TreeView.cs: Set the first node to the selected node when we get
  10231. focus if there is no selected node.
  10232. 2007-04-24 Andreia Gaita <[email protected]>
  10233. * MimeIcon.cs: remove using blocks so that image streams are
  10234. not disposed of. Fixes #80151
  10235. 2007-04-24 Jackson Harper <[email protected]>
  10236. * TextBoxBase.cs: Fixup the height of textboxes when the control
  10237. is created.
  10238. 2007-04-24 Jonathan Pobst <[email protected]>
  10239. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  10240. for each ToolStripItem when the parent's RightToLeftChanged is called.
  10241. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  10242. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  10243. Fixes #80163.
  10244. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  10245. property, so that the setter can be overriden too.
  10246. * TextBox.cs: Change GetContextMenuInternal() to use
  10247. ContextMenuInternal.
  10248. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  10249. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  10250. #81406.
  10251. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  10252. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  10253. #81406.
  10254. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  10255. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  10256. avoid duplicate work. Mostily skeleton code, it's not working at
  10257. all yet.
  10258. 2007-04-20 Leszek Ciesielski <[email protected]>
  10259. * NotifyIcon.cs : stub for MouseClick event
  10260. * Application.cs: stub for SetUnhandledExceptionMode
  10261. 2007-04-24 Alan McGovern <[email protected]>
  10262. * BindingNavigator.cs : Initial (partial) implementation
  10263. 2007-04-23 Jackson Harper <[email protected]>
  10264. * TreeView.cs: Do not create the treeview's handle when setting
  10265. the scroll position.
  10266. - ExpandAll needs to compute the scrollbars so it knows which
  10267. position to set the bar too.
  10268. * TreeNode.cs:
  10269. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  10270. 2007-04-23 Jackson Harper <[email protected]>
  10271. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  10272. key. Fixes #81408.
  10273. 2007-04-23 Jonathan Pobst <[email protected]>
  10274. * ToolStripItem.cs: Make GetImageSize internal.
  10275. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  10276. need to draw an item. Fixes a reported issue where images on menus
  10277. that were not 16x16 were drawing incorrectly.
  10278. 2007-04-21 Miguel de Icaza <[email protected]>
  10279. * Padding.cs: Use the converter, fixes the resgen2 issue with
  10280. XMLNotePad.
  10281. 2007-04-21 Jackson Harper <[email protected]>
  10282. * TreeView.cs: Dont try to unhighlight the selected node if there
  10283. isn't a selected node.
  10284. 2007-04-21 Jackson Harper <[email protected]>
  10285. * UpDownBase.cs:
  10286. * TextBoxBase.cs:
  10287. * ListView.cs:
  10288. * ListBox.cs:
  10289. * TreeView.cs: Use the InternalBorderStyle property to set the
  10290. initial border style, this forces the client rectangle to be sized
  10291. correctly.
  10292. 2007-04-20 Jackson Harper <[email protected]>
  10293. * TreeView.cs: Simplify scrolling to the last node after expanding
  10294. all.
  10295. - Fix some off by ones with setting the bottom.
  10296. 2007-04-20 Jonathan Pobst <[email protected]>
  10297. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  10298. that. We were incorrectly doing it the other way around. Also,
  10299. update ClientSize if we change the BorderStyle before the control
  10300. is created.
  10301. 2007-04-20 Gert Driesen <[email protected]>
  10302. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  10303. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  10304. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  10305. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  10306. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  10307. Caption to CaptionHeight.
  10308. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  10309. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  10310. and FixedFrameBorderSize to return value from current XplatUI driver.
  10311. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  10312. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  10313. and FixedFrameBorderSize using win32 API. Renamed Caption to
  10314. CaptionHeight.
  10315. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  10316. * SystemInformation.cs: Fixed typo in BorderSize.
  10317. 2007-04-20 Gert Driesen <[email protected]>
  10318. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  10319. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  10320. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  10321. returning false.
  10322. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  10323. value from XplatUI driver.
  10324. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  10325. SystemParametersInfo.
  10326. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  10327. override.
  10328. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  10329. returning false.
  10330. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  10331. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  10332. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  10333. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  10334. 2007-04-20 Jonathan Pobst <[email protected]>
  10335. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  10336. MenuStrips that contain ToolStripSeparators.
  10337. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  10338. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  10339. DefineStdCursorBitmap.
  10340. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  10341. has been created off a standard cursor. This is used to get a
  10342. bitmap of the standard cursor when Draw or DrawStretched is called
  10343. in order to draw the cursor.
  10344. * X11Structs.cs: Added XcursorImage and XcursorImages.
  10345. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  10346. DefineStdCursorBitmap.
  10347. * Cursors.cs: Update all relevant creations of Cursor to use the new
  10348. internal constructor.
  10349. 2007-04-19 Jackson Harper <[email protected]>
  10350. * TextBox.cs: Move the has_been_focused into the base control, so
  10351. some of the text adding methods can manipulate it (probably time
  10352. for a better name for this flag too).
  10353. - Call a new version of selectall that doesn't scroll
  10354. * TextBoxBase.cs: When we append text, if the document is empty,
  10355. don't scroll. If the document has text already, we scroll to the
  10356. end of the appended text.
  10357. - When the text is changed, we reset the has_been_focused, so the
  10358. next time the control gets focused, all the text is selected.
  10359. 2007-04-19 Jackson Harper <[email protected]>
  10360. * TextControl.cs: Move the margins to the document, add a method
  10361. so the margin sizes can be updated.
  10362. * TextBoxBase.cs: When the border style is changed, update the
  10363. border sizes.
  10364. 2007-04-19 Jonathan Pobst <[email protected]>
  10365. * Control.cs: Respect DefaultPadding.
  10366. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  10367. padding into account.
  10368. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  10369. 2007-04-19 Jackson Harper <[email protected]>
  10370. * TextControl.cs: Oops, we need to use the ClientRect not the
  10371. bounds here.
  10372. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  10373. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  10374. account the double clicks when CheckBoxes are used and
  10375. the pointer is inside the checkbox. Fixes part of #81191.
  10376. 2007-04-18 Jackson Harper <[email protected]>
  10377. * TextControl.cs: Pressing the end key shouldn't move the caret
  10378. past the line ending.
  10379. * TextBoxBase.cs: We can still delete if we are in the line
  10380. ending and the combine will just kill the existing line ending.
  10381. 2007-04-18 Jackson Harper <[email protected]>
  10382. * TextControl.cs: We can't move lines, then invalidate their
  10383. bounds, we need to get the old bounds and combine that with the
  10384. new bounds.
  10385. * TextBoxBase.cs: Before combining two lines for a delete, we need
  10386. to invalidate the area of the old line, since that will be moved
  10387. in the combine operation.
  10388. 2007-04-18 Everaldo Canuto <[email protected]>
  10389. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  10390. with transparent background. Fixes #80482.
  10391. 2007-04-18 Jonathan Pobst <[email protected]>
  10392. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  10393. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  10394. [Fixes bug #81391]
  10395. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  10396. * CreateParams.cs: Add a couple of helper methods and do a less string
  10397. concatenation in ToString.
  10398. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  10399. overload that takes a Control parameter, since this method may be
  10400. called before a control is assigned to the hwnd (from
  10401. CreateWindow), and update CreateWindow to use the new overload. In
  10402. GetMenuOrigin subtract the title bar from the y position if the
  10403. form has a window manager (since we're painting it and not X).
  10404. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  10405. CreateParams to calculate the origin (since border sizes may vary).
  10406. In ScreenToMenu only subtract the title height if we actually have
  10407. a title.
  10408. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  10409. mdi children never have menus of themselves.
  10410. * InternalWindowManager.cs: Implement menu handling like form does.
  10411. Added GetMenuOrigin to calculate the menu origin, can't use the
  10412. CreateParams from the form like normally since it's lying.
  10413. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  10414. windows-like) and add Inflate and comparison operators to the
  10415. Borders type. When calculating MenuOrigin and it's a form with a
  10416. window manager, use the window manager to calculate it.
  10417. 2007-04-17 Chris Toshok <[email protected]>
  10418. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  10419. OnBindingContextChanged thing here. It's only generated from
  10420. ContainerControl.OnCreateControl. Fixes a newly written unit test
  10421. - BindingTest.BindingContextChangedTest4.
  10422. 2007-04-17 Jackson Harper <[email protected]>
  10423. * ScrollBar.cs: When setting values, make sure the current
  10424. position stays within the new values range.
  10425. 2007-04-17 Chris Toshok <[email protected]>
  10426. * Control.cs (CreateControl): talk about a bizarre corner case.
  10427. Don't emit OnBindingContextChanged here if we're a parentless
  10428. control (i.e. if we're a form.). Fixes
  10429. BindingTest.BindingContextChangedTest2.
  10430. 2007-04-17 Everaldo Canuto <[email protected]>
  10431. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  10432. from win32. Fixes #81255.
  10433. 2007-04-17 Everaldo Canuto <[email protected]>
  10434. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  10435. already present in CalculateButtonTextAndImageLayout.
  10436. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  10437. * XplatUIX11.cs: When setting min/max size for a window we need to
  10438. translate the coordinates to x coordinates. Create an overload of
  10439. SetWindowMinMax that takes a CreateParams handling this, and change
  10440. SetWMStyles to call this function (can't use Control.FromHandle in
  10441. the SetWindowMinMax to get the control/CreateParams from the handle
  10442. because the handle might not have been assigned to the control
  10443. yet). Fixes #81371.
  10444. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  10445. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  10446. if StateImageList is non-null and it has less than two items (match MS
  10447. behaviour). Also, in HandleNavKeys handle the Space key, calling
  10448. the new ToggleItemsCheckState method, which tries to change the
  10449. checked state of the selected items. Fixes part of #81191.
  10450. 2007-04-16 Jackson Harper <[email protected]>
  10451. * RichTextBox.cs: namespace cleanup.
  10452. 2007-04-16 Everaldo Canuto <[email protected]>
  10453. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  10454. 2007-04-16 Everaldo Canuto <[email protected]>
  10455. [Fixes #79447]
  10456. * Control.cs: Call invalidate in set_Region.
  10457. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  10458. it dont works here.
  10459. 2007-04-16 Jackson Harper <[email protected]>
  10460. * TextBoxBase.cs: When enter is pressed, we need to update all
  10461. lines below the current.
  10462. 2007-04-16 Jonathan Pobst <[email protected]>
  10463. * MdiClient.cs: Implement implicit menu merging for MDI
  10464. children. When a child form is active, if it has a menustrip
  10465. and the parent form has a MainMenuStrip, automatically merge
  10466. the menus.
  10467. 2007-04-15 Andreia Gaita <[email protected]>
  10468. * TabControl.cs: Refactored sizing methods to not repeat
  10469. code all over the place. Tab bounds are now calculated
  10470. as if alignment is top and single line, and only when
  10471. setting the bounds are the positions adjusted according
  10472. to alignment. Replaced hardcoded positions, spacings and
  10473. paddings by getting the values the ThemeEngine.
  10474. Fixes #79619.
  10475. * Theme.cs: Change TabControl properties and methods so
  10476. that all start with TabControl*. Added more properties
  10477. to help remove hardcoded values on tabcontrol.
  10478. Add CPDrawBorder3D declaration so the Theming classes
  10479. can access it.
  10480. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  10481. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  10482. on the Theming namespace, and call the appropriate methods here.
  10483. Change CPDrawBorder3D to public.
  10484. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  10485. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  10486. the control after firing the OnMouseUp event, instead of sending
  10487. the message before the mentioned event. This is so we can match the
  10488. MS behaviour. Fixes part of #80385.
  10489. 2007-04-13 Jonathan Pobst <[email protected]>
  10490. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  10491. RightToLeft property.
  10492. 2007-04-13 Jonathan Pobst <[email protected]>
  10493. * ToolStrip.cs: Add properties and internal methods to support merging.
  10494. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  10495. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  10496. not trigger reparenting or layouts.
  10497. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  10498. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  10499. is hosting the overflow menu.
  10500. 2007-04-13 Jackson Harper <[email protected]>
  10501. * TextControl.cs: Set the line ending correctly for the first
  10502. inserted line.
  10503. 2007-04-13 Sebastien Pouliot <[email protected]>
  10504. * Theme.cs: Update GetMethod to get the new definition for
  10505. KnownColors.Update (and fix theme color updates).
  10506. 2007-04-12 Everaldo Canuto <[email protected]>
  10507. * MessageBox.cs: Fix some test and button position.
  10508. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  10509. * Form.cs: Consider the implicit controls in
  10510. GetRealChildAtPoint. We need it since this method
  10511. is called on Form when handling the some messages in
  10512. WndProc, and need to consider those implicit ones too.
  10513. Fixes #80385.
  10514. 2007-04-12 Jonathan Pobst <[email protected]>
  10515. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  10516. if there are no ShortcutKeys set.
  10517. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  10518. set, use it when painting.
  10519. 2007-04-12 Jackson Harper <[email protected]>
  10520. * TextControl.cs: Fix some off-by-one issues in line duplication
  10521. and insertion in the undo manager. Also, overwrite the first tag
  10522. of a line on insert, if it is just a zero lengthed tag. This
  10523. prevents us from getting an extra stranded tag at the beginning of
  10524. the first line.
  10525. 2007-04-11 Everaldo Canuto <[email protected]>
  10526. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  10527. to calculated proper size including when handle was not created yet.
  10528. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  10529. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  10530. when the mouse is outside of it's parent's client rectangle. Fixes
  10531. #79982 (take 3, part 2).
  10532. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  10533. * X11Structs.cs: Add a few ToString() overrides.
  10534. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  10535. the window location in a window-manager independent way. Reworked
  10536. FrameExtents, it now actually works. Reworked AddConfigureNotify
  10537. and ReparentNotify handling to use GetTopLevelWindowLocation
  10538. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  10539. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  10540. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  10541. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  10542. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  10543. and generally refactored to do as few calculations as possible
  10544. inside the lock.
  10545. 2007-04-09 Sebastien Pouliot <[email protected]>
  10546. * Theme.cs: Change "reflective-contract" between MWF and SD to
  10547. minimize # of calls, avoid Color serialization and avoid updating
  10548. every "known colors" each time a single one is updated.
  10549. 2007-04-09 Gert Driesen <[email protected]>
  10550. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  10551. when not readonly and the text is explicitly set. Code style updates.
  10552. * DataGridTableStyle.cs: Removed extra line.
  10553. * DataGrid.cs: Code style updates. Removed extra whitespace.
  10554. * DataGridColumnStyle.cs: Code style updates. Removed extra
  10555. whitespace.
  10556. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  10557. * XplatUIX11.cs: Added comment that "fixes" #80021.
  10558. 2007-04-09 Jackson Harper <[email protected]>
  10559. * TextControl.cs: We don't need this -1 on the line count anymore.
  10560. 2007-04-09 Gert Driesen <[email protected]>
  10561. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  10562. entered value to underlying type, and convert it back to a string to
  10563. apply formatting. Modified GetFormattedValue to use TypeConverter
  10564. if available.
  10565. 2007-04-08 Gert Driesen <[email protected]>
  10566. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  10567. Use SubItems property when we want to ensure there's at least one
  10568. subitem. Modified SubItems property to ensure there's always at least
  10569. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  10570. the NRE's reported by MS.
  10571. 2007-04-07 Gert Driesen <[email protected]>
  10572. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  10573. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  10574. Spaces to tabs. Removed extra tabs.
  10575. 2007-04-06 Jonathan Pobst <[email protected]>
  10576. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10577. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  10578. 2007-04-06 Jackson Harper <[email protected]>
  10579. * TextBoxBase.cs: When a delete removes a line, recalculate all
  10580. lines below that line (they need to get offsets setup correctly)
  10581. and invalidate.
  10582. 2007-04-05 Jackson Harper <[email protected]>
  10583. * TextControl.cs: We need to invalidate across the width of the
  10584. document when we are invalidating multiple lines.
  10585. * TextBoxBase.cs: Don't delete into the line ending.
  10586. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  10587. * ListView.cs: Restore the check for the MouseHover event
  10588. in ListView. It looks like the ListView fires more than one MouseHover
  10589. event when HoverSelection is true _only_ in weird-corner scenarios, but
  10590. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  10591. event.
  10592. 2007-04-05 Mike Kestner <[email protected]>
  10593. * ListView.cs : raise MouseDown before updating selection.
  10594. [Fixes #80373 tab 1&3]
  10595. 2007-04-05 Jonathan Pobst <[email protected]>
  10596. * ToolStripRenderer.cs: Add static method to mirror image.
  10597. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  10598. and RightToLeftAutoMirrorImage.
  10599. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  10600. 2007-04-05 Jonathan Pobst <[email protected]>
  10601. * ToolStripSplitStackLayout.cs: Support Alignment property.
  10602. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  10603. 2007-04-05 Jackson Harper <[email protected]>
  10604. * TextControl.cs: Move around the line endings when crossing line
  10605. boundaries.
  10606. - When combining lines, strip the ending text off the first line.
  10607. 2007-04-05 Jackson Harper <[email protected]>
  10608. * TextControl.cs:
  10609. * TextBoxBase.cs: Try to never move the cursor into the line
  10610. ending.
  10611. 2007-04-04 Jonathan Pobst <[email protected]>
  10612. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  10613. the item is disabled. Also add a few missing methods.
  10614. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  10615. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  10616. to fire just one MouseHover event when HoverSelection is true, since
  10617. .Net does fire more than one MouseHover event in that scenario. Also,
  10618. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  10619. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  10620. Finally, we need to reset the Hover logic in MouseMove, even when we
  10621. don't have a selected item.
  10622. 2007-04-04 Jonathan Pobst <[email protected]>
  10623. * ToolStrip.cs: Add several missing methods, properties, and events.
  10624. 2007-04-04 Chris Toshok <[email protected]>
  10625. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  10626. (0,0,0,0) in Commit, as MS does.
  10627. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  10628. make sure we set CurrentRow on a row header click *before* calling
  10629. Select. This moves the current cell (and the textbox) to the new
  10630. row. The call to Select then hides the textbox, giving us the
  10631. correct behavior. Fixes #80362.
  10632. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  10633. (ListChangedHandler): reorder the position/current changed events,
  10634. and call UpdateIsBinding in the ItemAdded case.
  10635. * GridColumnStylesCollection.cs: add some columns events, one of
  10636. which raises the CollectionChanged event.
  10637. 2007-04-04 Jackson Harper <[email protected]>
  10638. * TextControl.cs: When we delete multiple selection lines
  10639. invalidate the selection area, don't need to do that for single
  10640. lines because the final update view will handle it.
  10641. 2007-04-04 Jonathan Pobst <[email protected]>
  10642. * Control.cs: When we CreateControl, we need to also create all of the
  10643. control's children. The child's OnLoad must also fire before the parent's
  10644. OnLoad. Fixes the toolbox size in PDN.
  10645. 2007-04-04 Jackson Harper <[email protected]>
  10646. * TextBoxBase.cs: When the user presses enter, insert a line
  10647. ending into the text. (Maybe this would be a good spot for
  10648. Environment.NewLine).
  10649. * TextControl.cs: Remove undo manager hack, line endings get
  10650. inserted properly now.
  10651. 2007-04-04 Everaldo Canuto <[email protected]>
  10652. * MenuAPI.cs:
  10653. - Remove unneeded parameters in UpdateCursor.
  10654. - Fix UpdateCursor to check if menu is active.
  10655. - Call UpdateCursor when menu deactivate my click.
  10656. [Fixes remaining issues from #80410]
  10657. 2007-04-04 Everaldo Canuto <[email protected]>
  10658. * Control.cs: GetRealChildAtPoint method added, it make an
  10659. recursive child control search for the point.
  10660. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  10661. menu.
  10662. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  10663. 2007-04-03 Everaldo Canuto <[email protected]>
  10664. * Form.cs: Fix mouse position when send back mouse event after closes
  10665. menu.
  10666. 2007-04-03 Everaldo Canuto <[email protected]>
  10667. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  10668. 2007-04-03 Jonathan Pobst <[email protected]>
  10669. * Control.cs: Fix an issue where if a user resized a control inside
  10670. a sizing method like OnResize, we would overwrite their explicit
  10671. value. Also, only call DefaultSize once in the constructor instead
  10672. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  10673. nothing actually changed.
  10674. 2007-04-03 Jackson Harper <[email protected]>
  10675. * TextControl.cs: Don't attempt to copy text for lines with no
  10676. text in them (technically this shouldn't happen, but we aren't
  10677. always inserting line endings when we should be).
  10678. 2007-04-03 Jackson Harper <[email protected]>
  10679. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  10680. document, because this sets some of the document size properties
  10681. that are needed.
  10682. 2007-04-03 Jackson Harper <[email protected]>
  10683. * TextBoxBase.cs: We need to calculate maximums even if this is
  10684. not a multiline control, because the maxs are used for scrolling.
  10685. - Display the caret after doing a page up/down, we need to
  10686. manually display it because a proper CaretMoved event isn't
  10687. triggered (this is because of the way the math is done to
  10688. determine how far to scroll).
  10689. 2007-04-03 Jonathan Pobst <[email protected]>
  10690. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  10691. (ToolBar was relying on SetBoundsCore to default the values sent
  10692. base off of BoundsSpecified.)
  10693. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10694. * DateTimePicker.cs: Change Text so that when a null value or empty
  10695. string is assigned to the test we always raise ValueChanged and
  10696. TextChanged (earlier implementation would only raise ValueChanged
  10697. if the current date value was different from DateTime.Now).
  10698. 2007-04-03 Andreia Gaita <[email protected]>
  10699. * ButtonBase: Call update after invalidation, fixes #80194
  10700. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10701. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  10702. #79335.
  10703. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10704. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  10705. FormBorderStyle = None, don't give the window any decorations.
  10706. Fixes #81276.
  10707. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10708. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10709. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  10710. to check for is a mix of several styles (such as WS_CAPTION for
  10711. instance).
  10712. * Control.cs: Don't paint an area bigger than the client area when
  10713. painting the background colour. Add an internal GetCreateParams.
  10714. Update calls to XplatUI.CalculateWindowRect due to API change.
  10715. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  10716. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  10717. the size if it hasn't been handled by any windows. When creating
  10718. and moving windows, X wants the location of the entire window, but
  10719. the size of the client window, so add
  10720. TranslateClientRectangleToXClientRectangle,
  10721. TranslateWindowSizeToXWindowSIze and
  10722. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  10723. before every window creation and move. Update CalculateWIndowRect
  10724. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  10725. In AddConfigureNotify don't do anything if the hwnd is a zombie
  10726. (fixes the BadWindow we were getting while running the tests),
  10727. always calculate the offsets when it's a parentless window, not
  10728. only when reparented, and translate the window size, since we're
  10729. getting the client size of the whole window, excluding entire
  10730. window.
  10731. * Theme.cs: Added BorderSizableSize.
  10732. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10733. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  10734. chang
  10735. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  10736. change. Fake the window styles here instead of in XplatUIWin32 so
  10737. that all back-ends get the same window styles (and it's Form that's
  10738. deciding when to use wm, not the Win32 backend anyways)
  10739. * Hwnd.cs: Completely reworked GetWindowRectangle and
  10740. GetClientRectangle - they are now passed a CreateParams and they
  10741. only use Style and ExStyle to determine the rectangles (they should
  10742. now work just like Win32AdjustWindowRectEx - though quite a few
  10743. special cases are probably missing). They should also be 100%
  10744. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  10745. == rect), and all numbers (borders, menu sizes) are taken from the
  10746. current theme. Added a GetBorders helper function that will return
  10747. the borders for any given CreateParams (including captions and
  10748. menus), and GetBorderSize that returns the given border size only.
  10749. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10750. Hwnd.GetClientRectangle.
  10751. 2007-04-02 Chris Toshok <[email protected]>
  10752. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  10753. logic between the values we present to the user and the values
  10754. which are stored in the column's property. Also, don't call
  10755. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  10756. 2007-04-02 Jackson Harper <[email protected]>
  10757. * TextBoxBase.cs: Scroll faster!
  10758. 2007-04-02 Jonathan Pobst <[email protected]>
  10759. * StatusStrip.cs: Layout fixes for PDN.
  10760. * ToolStrip.cs: Set item's available to true, and placement to main when
  10761. added.
  10762. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  10763. changing in setter before doing any work, add InternalVisible.
  10764. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  10765. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10766. infinite loop.
  10767. 2007-04-02 Jackson Harper <[email protected]>
  10768. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  10769. text on focus.
  10770. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10771. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  10772. Makes ToolStripComboBoxes show up again.
  10773. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  10774. * ListView.cs: Add a hover_pending field in ListView
  10775. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  10776. cycle (we are resetting the MouseHover logic in XplatUI
  10777. to handle HoverSelection). Fixes #80429.
  10778. 2007-04-02 Jackson Harper <[email protected]>
  10779. * TextControl.cs: Make sure the attributes get set on the last
  10780. tag.
  10781. - Still have to do the end tag if we have stepped all the ways to
  10782. the end.
  10783. 2007-04-02 Sebastien Pouliot <[email protected]>
  10784. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  10785. on an internal libgdiplus call when the information is already
  10786. available via the public API.
  10787. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10788. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  10789. control is removed from a control collecftion.
  10790. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  10791. Fixes FormPropertyTest (failed on rare occasions).
  10792. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  10793. of Win32SetParent (when changing from no parent to a parent it
  10794. might add the new parent's location in screen coordinates to this
  10795. window's location).
  10796. * Form.cs: Rework ChangingParent once again, now the handle is
  10797. recreated whenever a FormWindowManager is added or removed (that is
  10798. whenever a normal form is parented or abandoned). Also change
  10799. CreateParams so that all non-toplevel windows always get the
  10800. specified sice (StartupPosition is never considered for
  10801. non-TopLevel forms).
  10802. * ContainerControl.cs: Add ChildControlRemoved, the container control
  10803. needs to be notified when a control is removed from it's
  10804. collection, in the case the removed control is the active control.
  10805. 2007-04-02 Jackson Harper <[email protected]>
  10806. * RichTextBox.cs: Use the new methods for setting the font and
  10807. color, these methods set the specified attribute without
  10808. overriding the other attributes.
  10809. 2007-04-02 Jonathan Pobst <[email protected]>
  10810. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  10811. 2007-03-31 Gert Driesen <[email protected]>
  10812. * TextBox.cs: Added internal ChangeBackColor method to special-case
  10813. Color.Empty. Added check for invalid ScrollBars value.
  10814. * TextBoxBase.cs: Added internal ChangeBackColor method.
  10815. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  10816. internal ChangeBackColor method to special-case Color.Empty. Added
  10817. check for invalid ScrollBars value.
  10818. 2007-03-30 Everaldo Canuto <[email protected]>
  10819. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  10820. 2007-03-30 Jonathan Pobst <[email protected]>
  10821. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  10822. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  10823. [Based on submitted patch from Olivier Duff.]
  10824. 2007-03-30 Jackson Harper <[email protected]>
  10825. * TextBox.cs: Only select all on initial focus if the user has not
  10826. specified a selection area.
  10827. 2007-03-30 Jonathan Pobst <[email protected]>
  10828. * UserControl.cs: Override CreateParams.
  10829. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10830. [ Fixes #80995 ]
  10831. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10832. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  10833. check for is a mix of several styles (such as WS_CAPTION for instance).
  10834. * Control.cs: Don't paint an area bigger than the client area when painting
  10835. the background colour. Add an internal GetCreateParams. Update calls to
  10836. XplatUI.CalculateWindowRect due to API change.
  10837. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  10838. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  10839. hasn't been handled by any windows. When creating and moving windows, X
  10840. wants the location of the entire window, but the size of the client
  10841. window, so add TranslateClientRectangleToXClientRectangle,
  10842. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  10843. to cope with this, and call them before every window creation and move.
  10844. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  10845. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  10846. hwnd is a zombie (fixes the BadWindow we were getting while running the
  10847. tests), always calculate the offsets when it's a parentless window, not
  10848. only when reparented, and translate the window size, since we're getting
  10849. the client size of the whole window, excluding entire window.
  10850. * Theme.cs: Added BorderSizableSize.
  10851. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10852. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  10853. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  10854. Fake the window styles here instead of in XplatUIWin32 so that all
  10855. back-ends get the same window styles (and it's Form that's deciding when
  10856. to use wm, not the Win32 backend anyways)
  10857. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  10858. they are now passed a CreateParams and they only use Style and ExStyle
  10859. to determine the rectangles (they should now work just like
  10860. Win32AdjustWindowRectEx - though quite a few special cases are probably
  10861. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  10862. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  10863. sizes) are taken from the current theme. Added a GetBorders helper
  10864. function that will return the borders for any given CreateParams
  10865. (including captions and menus), and GetBorderSize that returns the given
  10866. border size only.
  10867. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10868. Hwnd.GetClientRectangle.
  10869. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10870. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  10871. layout of the mdi children is handled by CreateParams. Fixes
  10872. #79964,
  10873. 2007-03-29 Everaldo Canuto <[email protected]>
  10874. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  10875. processed.
  10876. * Form.cs: When active tracker mouse down is not processed, send event
  10877. back to control inside mouse position. [Fixes #81227]
  10878. 2007-03-29 Jonathan Pobst <[email protected]>
  10879. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  10880. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  10881. stealing focus from the active form on Windows. (Control will be made
  10882. visible in ShowWindow.)
  10883. 2007-03-29 Mike Kestner <[email protected]>
  10884. * ImageList.cs : add internal Changed event.
  10885. * ListView.cs : hook up to StateImageList.Changed to perform
  10886. invalidations when the the state icon list changes. [Fixes #81191]
  10887. 2007-03-29 Jonathan Pobst <[email protected]>
  10888. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  10889. to prevent tooltips from stealing focus from the active form on Windows.
  10890. 2007-03-29 Everaldo Canuto <[email protected]>
  10891. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  10892. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  10893. 2007-03-29 Everaldo Canuto <[email protected]>
  10894. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  10895. balloons.
  10896. 2007-03-29 Jackson Harper <[email protected]>
  10897. * TextControl.cs: When deleting text from non multiline textboxes,
  10898. we need to update the entire document, because line offsets will
  10899. be shifting.
  10900. 2007-03-29 Everaldo Canuto <[email protected]>
  10901. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  10902. added to theme, now we can create themes that uses diferent notify engines
  10903. like notification-daemon from galago project or growl for Mac OS.
  10904. 2007-03-28 Everaldo Canuto <[email protected]>
  10905. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  10906. 2007-03-28 Everaldo Canuto <[email protected]>
  10907. * XplatUIX11.cs: Prevent system to open more than one balloon.
  10908. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  10909. some compiler warning messages.
  10910. 2007-03-28 Everaldo Canuto <[email protected]>
  10911. [Fixes #79149]
  10912. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  10913. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  10914. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  10915. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  10916. systems.
  10917. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10918. * ListViewItem.cs: Forgot to make Invalidate internal.
  10919. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10920. * ListView.cs: Add a InvalidateSelection method to
  10921. invalidate methods which are currently selected, and call
  10922. it when setting FullRowSelect and HideSelection, instead of
  10923. calling Redraw.
  10924. 2007-03-28 Chris Toshok <[email protected]>
  10925. * XplatUIX11.cs (UnmapWindow): reindent this block.
  10926. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  10927. the selection_start if we're moving the selection (that is, not
  10928. extending it). Fixes bug #80461.
  10929. 2007-03-28 Jonathan Pobst <[email protected]>
  10930. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  10931. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  10932. create private ControlCollection.
  10933. 2007-03-28 Jonathan Pobst <[email protected]>
  10934. * Control.cs: We need to call OnVisibleChanged for our implicit
  10935. children as well as our normal children. Fixes scrollbars in
  10936. comboboxes not showing up.
  10937. 2007-03-28 Jonathan Pobst <[email protected]>
  10938. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  10939. the check for IsHandleCreated first. The check in CreateHandle is not
  10940. good enough because CreateHandle can be overriden, and the override
  10941. should not be called if the handle is already created.
  10942. 2007-03-28 Jonathan Pobst <[email protected]>
  10943. * ToolStrip.cs: Remove MonoTODO for tooltips.
  10944. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  10945. * ToolStripContainer.cs: Add custom ControlCollection class.
  10946. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  10947. * ToolStripDropDown.cs: Add some missing properties/methods.
  10948. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  10949. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  10950. * ToolStripManager.cs: Add IsShortcutDefined.
  10951. * ToolStripOverflow.cs: Override LayoutEngine.
  10952. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  10953. * ToolStripSeparator.cs: Add ImageKey.
  10954. 2007-03-28 Jackson Harper <[email protected]>
  10955. * TextControl.cs: If a char delete removes a line ending, we need
  10956. to update the ending style.
  10957. - Make sure the line ending calcs get called.
  10958. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  10959. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  10960. it was making the new code not work. Fixed a typo in the new code
  10961. as well. Fixes #79826.
  10962. 2007-03-27 Everaldo Canuto <[email protected]>
  10963. * XplatUIWin32.cs:
  10964. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  10965. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  10966. - SystrayBalloon method implemented.
  10967. [Add support for notifyicon balloon on win32, #79149]
  10968. 2007-03-27 Mike Kestner <[email protected]>
  10969. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  10970. the ms behavior when only one image is added to the list.
  10971. [Fixes #81191]
  10972. 2007-03-27 Jackson Harper <[email protected]>
  10973. * TextControl.cs: Improvements to non multiline line ending
  10974. drawing/measuing.
  10975. 2007-03-27 Everaldo Canuto <[email protected]>
  10976. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  10977. 2007-03-27 Everaldo Canuto <[email protected]>
  10978. * NotifyIcon.cs:
  10979. - Balloon message handling added.
  10980. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  10981. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10982. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  10983. to SystrayBalloon to me like other Systray method, also a
  10984. handle parameter added.
  10985. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10986. * ListView.cs: Show scrollbars even when items.Count == 0
  10987. but the columns Width is bigger than the ListView.Width.
  10988. Also, when columns.Count == 0 set layout_wd and layout_ht
  10989. to the ClientRectangle values, so we don't show any scrollbar
  10990. in that case.
  10991. 2007-03-27 Everaldo Canuto <[email protected]>
  10992. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  10993. 2007-03-27 Jackson Harper <[email protected]>
  10994. * RichTextBox.cs: The RTF library decodes the text properly for us
  10995. now.
  10996. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10997. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  10998. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  10999. ListView header (HeaderControl), instead of Control.BackColor.
  11000. 2007-03-27 Jonathan Pobst <[email protected]>
  11001. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  11002. Fixes tab control issues where controls would not show up because they
  11003. never received their OnVisibleChanged call.
  11004. 2007-03-27 Everaldo Canuto <[email protected]>
  11005. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  11006. BalloonTipShown).
  11007. 2007-03-27 Jonathan Pobst <[email protected]>
  11008. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  11009. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  11010. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  11011. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  11012. the handle. Fix WindowState by using the internal variable until we are
  11013. sure that we've been shown.
  11014. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  11015. max or min.
  11016. [Fixes bug #81198]
  11017. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  11018. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  11019. (at least borders). Fixes #79386 on Linux (with a small difference
  11020. in behaviour: when trying to resize a caption-less window metacity
  11021. shows the sysmenu. Resizing is still possible though).
  11022. * XplatUIWin32.cs: When setting window styles send request an extra
  11023. WM_NCCALCSIZE when it's a form without title (due to no text and no
  11024. caption), since Win32 seems to calculate it wrong the first time we
  11025. get the message, though the second time things work as they should.
  11026. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  11027. newly reparented window might show up unparented. Update
  11028. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  11029. there's no title text. Fixes #79386.
  11030. 2007-03-27 Mike Kestner <[email protected]>
  11031. * ListBox.cs : don't perform invalidations if the handle hasn't been
  11032. created. [Fixes #80753]
  11033. 2007-03-27 Mike Kestner <[email protected]>
  11034. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  11035. [Fixes #80428]
  11036. 2007-03-26 Everaldo Canuto <[email protected]>
  11037. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  11038. needed to implement Balloon.
  11039. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  11040. * ListViewItem.cs: In the constructors that take
  11041. an array of strings, don't use ListViewSubItemCollection.AddRange
  11042. method to add items, since we need to have a different behaviour (in
  11043. the constructors we add an item for each null string, opposed to
  11044. the behaviour of AddRange, which adds nothing).
  11045. 2007-03-26 Andreia Gaita <[email protected]>
  11046. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  11047. 2007-03-26 Jackson Harper <[email protected]>
  11048. * TextControl.cs: Draw and measure line endings when in non
  11049. multiline mode.
  11050. - When searching the text, count the end of the last line as a
  11051. word boundary.
  11052. 2007-03-26 Jackson Harper <[email protected]>
  11053. * RichTextBox.cs: The selection_start and selection_end don't
  11054. really track the correct tags for the selection. So we'll manually
  11055. compute the correct tag here.
  11056. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  11057. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  11058. and Continuous styles. Fixes #79469.
  11059. 2007-03-26 Jonathan Pobst <[email protected]>
  11060. * ToolStrip.cs: Implement Tooltips.
  11061. * ToolStripItem.cs: Create internal method for determining tooltip.
  11062. 2007-03-26 Jonathan Pobst <[email protected]>
  11063. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  11064. 2007-03-26 Everaldo Canuto <[email protected]>
  11065. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  11066. it prevents a problem thak keeps icon visible after application
  11067. closes on win32.
  11068. 2007-03-26 Everaldo Canuto <[email protected]>
  11069. * NotifyIcon.cs: Balloon properties and methods created.
  11070. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11071. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  11072. 2007-03-25 Jonathan Pobst <[email protected]>
  11073. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  11074. 2007-03-24 Jonathan Pobst <[email protected]>
  11075. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  11076. parameter indicates which aspects were explicit/user-set.
  11077. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  11078. 2007-03-24 Jonathan Pobst <[email protected]>
  11079. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  11080. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  11081. SmallChange, and Value (2.0).
  11082. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  11083. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  11084. * ListView.cs: Always set item_control.Width in LayoutDetails
  11085. if View is Details. Setting it later in CalculateScrollBars
  11086. in a not-so-corner scenario (the sum of columns width is
  11087. not bigger than the ListView width when handle is created, and then
  11088. that sum gets bigger by increasing the width of the columns)
  11089. causes a very weird recursion path (which shouldn't be happening,
  11090. since header_control sets it in CalculateScrollBars too). This bug
  11091. appeared after Chris' fixes for handle created issues, so probably
  11092. it's related to some handle-creation time.
  11093. 2007-03-23 Chris Toshok <[email protected]>
  11094. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  11095. case where there's an add row, just so we don't end up in a case
  11096. where it's not displayed (this happens when the row is partially
  11097. obscured). Fixes bug #79574.
  11098. 2007-03-23 Jackson Harper <[email protected]>
  11099. * TextControl.cs:
  11100. * TextBoxBase.cs:
  11101. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  11102. also added an enum that represents the line ending type.
  11103. 2007-03-23 Andreia Gaita <[email protected]>
  11104. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  11105. messed with in every method call, but only from DownButton,
  11106. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  11107. 2007-03-23 Chris Toshok <[email protected]>
  11108. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  11109. format objects if the format spec is "". Fixes bug #80889.
  11110. 2007-03-22 Miguel de Icaza <[email protected]>
  11111. * ToolStripPanel.cs (Join): added stubs to build PDN3
  11112. * Control.cs (AutoScrollOffset): Add.
  11113. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  11114. property, its only implemented for Win32, on X11 it defaults to
  11115. some hardcoded value.
  11116. * ToolStripItem.cs (AllowDrop): Add property
  11117. 2007-03-22 Mike Kestner <[email protected]>
  11118. * ListView.cs : in FullRowSelect Details mode, only enable box
  11119. selection if the user clicks over the "item" column outside of the
  11120. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  11121. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  11122. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  11123. handle is not created yet.
  11124. * Form.cs: Select: Don't call CreateHandle if the handle is already
  11125. created, avoids a stack overflow on Windows when we are recreating
  11126. controls.
  11127. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  11128. they are made visible, and override AfterTopMostControl to keep
  11129. them on top when other controls are brought to front.
  11130. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  11131. or force_*scroll_visible is true (old implementation always shows
  11132. scrollbars when needed, no matter what auto_scroll was set to).
  11133. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  11134. IsHandleCreated check.
  11135. 2007-03-22 Andreia Gaita <[email protected]>
  11136. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  11137. row or col separator.
  11138. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  11139. 2007-03-22 Everaldo Canuto <[email protected]>
  11140. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  11141. 2007-03-22 Everaldo Canuto <[email protected]>
  11142. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  11143. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  11144. every time. Fixes #80410.
  11145. 2007-03-22 Chris Toshok <[email protected]>
  11146. * BindingSource.cs (AddNew): partially implement.
  11147. remove a couple of NotImplementedException's
  11148. to get bug #81148 closed.
  11149. 2007-03-22 Everaldo Canuto <[email protected]>
  11150. [Fixes #80380]
  11151. * Control.cs:
  11152. - UpdateCursor method added to update the screen cursor.
  11153. - GetAvailableCursor method added to return cursor for enabled tree,
  11154. it searches for cursor on control and it's parent's for enabled control.
  11155. - Call UpdateCursor method on setter of Cursor property.
  11156. - On setter of Enabled call UpdateCursor when it is false, we need to
  11157. change cursor to normal (or to this parent cursor) because cursor
  11158. setting theres no effect to disabled controls.
  11159. - Some minor source changes to follow the coding style guidelines.
  11160. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  11161. controls.
  11162. 2007-03-22 Chris Toshok <[email protected]>
  11163. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  11164. generates.
  11165. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  11166. * XplatUIX11.cs: Implement default locations for forms.
  11167. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  11168. * Hwnd.cs: Add previous_child_startup_location (to track the current
  11169. startup location for any child forms of the current form) and
  11170. previous_main_startup_location (to track the startup location for
  11171. the current toplevel form).
  11172. 2007-03-21 Jonathan Pobst <[email protected]>
  11173. * Control.cs: Don't trigger a layout if an implicit control is added
  11174. that isn't visible. Also, don't notify the owner when an implicit control
  11175. is added. (Owners shouldn't even know about their implicit controls.)
  11176. 2007-03-21 Jonathan Pobst <[email protected]>
  11177. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  11178. to save some re-layouts.
  11179. 2007-03-21 Everaldo Canuto <[email protected]>
  11180. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  11181. [Fixes #81203]
  11182. 2007-03-21 Jonathan Pobst <[email protected]>
  11183. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  11184. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  11185. 2007-03-21 Mike Kestner <[email protected]>
  11186. * ListView.cs : disable selection update for non-left button clicks
  11187. with mods and over selected items. [Fixes #80524]
  11188. 2007-03-20 Jackson Harper <[email protected]>
  11189. * TextControl.cs:
  11190. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  11191. \r\r\n, \n.
  11192. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  11193. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  11194. very probably a more complicated calculation there. Update the
  11195. textbox' ForeColor and BackColor when the ComboBox' colors are
  11196. changed. Change the border change in LayoutComboBox to only affect
  11197. the textbox, not all the calculations there. Seems to fix most of
  11198. #79436.
  11199. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  11200. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  11201. modifiers + navigation keys as input keys, enables advanced text
  11202. selection in the combobox (like Shift+Left Arrow for instance).
  11203. ComboTextBox now overrides Focused and returns whatever
  11204. ComboBox.Focused returns, since it really should be focused
  11205. whenever the ComboBox is. Fixes #80795. Also make the border around
  11206. the text box one pixel bigger, as mentioned in #79436.
  11207. 2007-03-20 Jackson Harper <[email protected]>
  11208. * TreeView.cs: Don't offset the images, this was causing some
  11209. artifacts when expanding/collapsing with images that were the
  11210. exact height of the treenode.
  11211. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  11212. * TrackBar.cs: Query the theme for the correct value when the mouse
  11213. moves and the thumb is pressed.
  11214. * Theme.cs: Added TrackBarValueFromMousePosition
  11215. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  11216. implementation was updating the trackbar value when drawing, now
  11217. the drawing methods only draw. Fixes #80900. Refactored the
  11218. calculations out to TrackBarValueFromMousePosition and
  11219. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  11220. according to the mouse position whenever it wants to. Changed the
  11221. light coloured pen when drawing the thumb from ControlLight to
  11222. ControlLightLight, because the ControlLight is the same colour as
  11223. the background so the 3D effect is lost.
  11224. 2007-03-20 Everaldo Canuto <[email protected]>
  11225. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  11226. defined. Fixes #80784.
  11227. 2007-03-20 Marek Habersack <[email protected]>
  11228. * ContextMenuStrip.cs: align with the change introduced in
  11229. revision 74664.
  11230. 2007-03-20 Everaldo Canuto <[email protected]>
  11231. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  11232. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  11233. in SetTopmost.
  11234. 2007-03-19 Chris Toshok <[email protected]>
  11235. * Control.cs (WmPaint): don't make use of the Handle property
  11236. after an event is emitted, as the user could have closed the
  11237. form/destroyed the control. Store the Handle in a local variable
  11238. and make use of that. Fixes bug #80768.
  11239. 2007-03-20 Everaldo Canuto <[email protected]>
  11240. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  11241. behavior in X11 environments.
  11242. 2007-03-20 Everaldo Canuto <[email protected]>
  11243. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  11244. because on setter of topmost we dont call SetTopmost when handle is not
  11245. created.
  11246. 2007-03-20 Jackson Harper <[email protected]>
  11247. * TextControl.cs: Need to use SelectionLength () not
  11248. selection_length, since that var is reset to -1.
  11249. - Draw the caret when we don't have focus.
  11250. * TextBox.cs: The selectall actually doesn't occur until the first
  11251. focus.
  11252. * TextBoxBase.cs: Need to update the caret position after a
  11253. selectall.
  11254. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  11255. * ListView.cs: Enable scrolling when using Tile view.
  11256. 2007-03-20 Everaldo Canuto <[email protected]>
  11257. [Fixes #80902]
  11258. * XplatUIDriver.cs: Abstract SetOwner method created.
  11259. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  11260. must be implemented and was masked as todo.
  11261. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  11262. GWL_HWNDPARENT.
  11263. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  11264. cheking for null owner to remove transient. The SetTopmost will be change
  11265. on a decond step.
  11266. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  11267. SetTopmost. Now owned forms will work properly in win32 and X11.
  11268. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  11269. * MdiWindowManager.cs: Update function name.
  11270. * Form.cs: After closing a form MdiParent is always null.
  11271. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  11272. better what it should do: necessary book-keeping when the form is
  11273. closed, it should not close the form itself.
  11274. 2007-03-19 Andreia Gaita <[email protected]>
  11275. * ListViewItem.cs: Fix back and fore color. The subitems only
  11276. use their own colors if they are set, otherwise use the listview's
  11277. colors. Don't set default colors on constructor for subitem.
  11278. Fixes #79315.
  11279. 2007-03-19 Mike Kestner <[email protected]>
  11280. * ListView.cs : make box selection for Details views with
  11281. FullRowSelect conform to MS behavior when clicking in the "item"
  11282. column and clicking outside the defined columns.
  11283. [Fixes case 5-6 of #80374]
  11284. 2007-03-19 Chris Toshok <[email protected]>
  11285. * ScrollableControl.cs: create the controls from within the ctor,
  11286. but don't actually add them until our handle is created. this
  11287. fixes a NRE possibility jpobst found (if you override OnLayout in
  11288. a subclass, it's called before your ctor). Also, add a
  11289. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  11290. 2007-03-19 Jackson Harper <[email protected]>
  11291. * TextBox.cs: Reduce the amount of invalidation we do.
  11292. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  11293. some of them are true by default on MS.
  11294. - Add some functions to reduce the amount of invalidates we do.
  11295. * TextControl.cs: Less invalidation.
  11296. 2007-03-19 Chris Toshok <[email protected]>
  11297. [ Fixes #81773, and *seems* to fix #81553 as well ]
  11298. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  11299. AccumulateDestroyedHandles. We need to do it *after* we send
  11300. WM_DESTROY, as the user's code can access Control.Handle in
  11301. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  11302. move the WM_DESTROY/zombie handling to before the call to
  11303. XDestroyWindow. For some reason without this ordering
  11304. FormTest.RecreateHandle hangs. This ordering is semantically
  11305. equivalent, however, as XDestroyWindow is async anyway.
  11306. 2007-03-19 Gert Driesen <[email protected]>
  11307. * RichTextBox.cs: Reset backcolor_set after setting default.
  11308. 2007-03-19 Chris Toshok <[email protected]>
  11309. * ScrollableControl.cs: the scroll position should not effect the
  11310. canvas size. commit patch from [email protected], which
  11311. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  11312. 2007-03-19 Chris Toshok <[email protected]>
  11313. * ScrollableControl.cs: clean this up a bit. create the
  11314. scrollbars in the ctor and just show/hide them as needed. Also,
  11315. make hscroll_visible/vscroll_visible internal to Recalculate, and
  11316. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  11317. everywhere else. This seems to fix the scrollbars appearing
  11318. beneath the content for me (i have *no* idea why that is,
  11319. however.)
  11320. 2007-03-19 Jonathan Pobst <[email protected]>
  11321. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  11322. some redundacy for stuff in Anchor and Dock that base will take care of.
  11323. [Fixes #80762]
  11324. 2007-03-19 Mike Kestner <[email protected]>
  11325. * ListView.cs : make box selection for Details views without
  11326. FullRowSelect dependent on the text bounds, not item bounds.
  11327. * ListViewItem.cs : add an internal property to obtain the TextBounds
  11328. in Details view. [Fixes case 1-4 of #80374]
  11329. 2007-03-19 Andreia Gaita <[email protected]>
  11330. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  11331. we're < 2.0. #78448 && #80316
  11332. 2007-03-19 Jonathan Pobst <[email protected]>
  11333. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  11334. have the same style available as the previously selected one. Also,
  11335. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  11336. 2007-03-19 Jackson Harper <[email protected]>
  11337. * TextControl.cs: Add an alignment property that all new lines
  11338. will be given.
  11339. - Make sure to use the align shift when calculating the line's X
  11340. position.
  11341. * TextBox.cs: Set the alignment on the document as well as on all
  11342. the document lines.
  11343. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  11344. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  11345. throw if setting the parent of an mdichild that already has an
  11346. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  11347. AssemblyProductAttribute in the assembly, use the type's namespace (as
  11348. MS seems to do). CreateControl: don't create the handle if the control
  11349. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  11350. create handle if the control is not a form. Change FocusInternal to
  11351. virtual so that it can be overriden by Form.
  11352. * TextBox.cs: Update call to FocusInternal.
  11353. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  11354. form is not a toplevel form when it's a mdi child, so update is_toplevel
  11355. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  11356. hasn't been created. Show (IWin32Window): Don't allow this overload for
  11357. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  11358. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  11359. parent isn't visible yet, save the visibility and restore it when the
  11360. parent is made visible.
  11361. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  11362. methods, since the visibility of the scrollbars can be changed from
  11363. several places, not only from AutoScroll.
  11364. [Fixes #81179]
  11365. 2007-03-19 Jackson Harper <[email protected]>
  11366. * RichTextBox.cs: Enable shortcuts by default.
  11367. * TextBoxBase.cs: Add conditional shortcuts.
  11368. 2007-03-19 Everaldo Canuto <[email protected]>
  11369. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  11370. 2007-03-19 Chris Toshok <[email protected]>
  11371. [ Fixes bug #80604]
  11372. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  11373. swallow the message we're waiting on, instead of delivering it, as
  11374. this is only used for the WM_SHOWWINDOW raised from
  11375. MapWindow/UnmapWindow, and the message needs to be generated
  11376. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  11377. before doing the Map/Unmap. Also make sure that the Hwnd is still
  11378. alive after the message has been handled.
  11379. *before* the window is shown.
  11380. * Control.cs (CreateControl): guard a few more things inside the
  11381. if (!is_created) block, as we might end up being called again -
  11382. yay .net.
  11383. (WmShowWindow): call CreateControl if we're showing the control.
  11384. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  11385. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  11386. controls without a handle if they have any parent with a handle. In
  11387. Dispose add a check whether the handle is created or not before
  11388. calling BeginInvoke, this removes the need of the extra disposing
  11389. parameter (which was bogus anyway since it didn't prevent the
  11390. invoke from happening, it only skipped the check for an existing
  11391. handle, meaning that the invoke would call on an inexistent
  11392. handle).
  11393. 2007-03-19 Everaldo Canuto <[email protected]>
  11394. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  11395. appears in taskbar.
  11396. 2007-03-18 Everaldo Canuto <[email protected]>
  11397. * MessageBox.cs:
  11398. - Fixed a problem that dont show help button for messages with 3 buttons.
  11399. - Refactory button size and position calculations, now dont use fixed
  11400. values, also fixed button sizes (#80043) and form's border space.
  11401. - AddButton method created, now all other AddButton methods call this one.
  11402. - Some other source code cosmetic changes.
  11403. 2007-03-18 Jackson Harper <[email protected]>
  11404. * RichTextBox.cs: Don't do this all fonts must match check if
  11405. there is only one char selected.
  11406. 2007-03-18 Jackson Harper <[email protected]>
  11407. * TreeView.cs: ScrollWindow works properly now, so we don't need
  11408. to screw around with the scroll area. This fixes some artifacts
  11409. when expanding and collapsing.
  11410. 2007-03-18 Jackson Harper <[email protected]>
  11411. * TextBoxBase.cs: Allow updating the selection position when the
  11412. cursor is outside the textarea, but we have a capture.
  11413. * TextControl.cs: A special case for when the cursor is outside
  11414. the bounds of the TB.
  11415. 2007-03-18 Jackson Harper <[email protected]>
  11416. * TextBoxBase.cs: Remove image pasting code for now. There is no
  11417. way to get an image on the clipboard right now anyways.
  11418. * TextControl.cs:
  11419. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  11420. 2007-03-18 Everaldo Canuto <[email protected]>
  11421. * MessageBox.cs:
  11422. - Set window properties in constructor intead of on CreateParams.
  11423. - Remove topmost from Window ExStyle.
  11424. - Set ShowInTaskbar to false.
  11425. - Set form border to FixedDialog.
  11426. - Some cosmetic changes and remove unneeded comments.
  11427. - It fixes itens 2,3 and 4 of bug #80043.
  11428. 2007-03-18 Gert Driesen <[email protected]>
  11429. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  11430. none was explicitly set. Fixes part of bug #79949.
  11431. 2007-03-16 George Giolfan <[email protected]>
  11432. * ToolStripComboBox.cs: Add AutoComplete*.
  11433. 2007-03-16 George Giolfan <[email protected]>
  11434. * ToolStripComboBox.cs: Add FlatStyle.
  11435. 2007-03-16 Jonathan Pobst <[email protected]>
  11436. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  11437. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  11438. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  11439. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  11440. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  11441. DataGridColumnStyle.cs: Remove warnings.
  11442. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  11443. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  11444. it.
  11445. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  11446. visibility of mdi child forms. FormSizeChangedHandler: update the
  11447. maximized size if size has changed while maximized.
  11448. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  11449. creating the handle.
  11450. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  11451. avoid creating the handle if not created.
  11452. * XplatUI.cs: Update debug output.
  11453. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  11454. 2007-03-16 Jonathan Pobst <[email protected]>
  11455. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  11456. ProcessCmdKey().
  11457. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  11458. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  11459. Implement keyboard shortcuts.
  11460. 2007-03-15 Everaldo Canuto <[email protected]>
  11461. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  11462. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  11463. ColorDialog and all derived classes.
  11464. 2007-03-15 Everaldo Canuto <[email protected]>
  11465. [ Fixes bug #79828 ]
  11466. * ToolBar.cs:
  11467. - Rename ToolBarButtonInfor to ToolBarItem.
  11468. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  11469. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  11470. collection to be able add same button more than one time on a toolbar.
  11471. - Refactory all properties and methods to use ToolBarItem.
  11472. * ToolBarButton.cs:
  11473. - Remove all propeties and methods that is now in ToolBarItem.
  11474. - Rectangle propery now gets the rectangle from first ToolBarItem to
  11475. mimic win32 behavior.
  11476. - Size calculation and layout methods also removed.
  11477. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  11478. ToolBarItem instead of ToolBarButton to right drawing buttons when
  11479. same button/separator was added more than one time to ToolBar.
  11480. * ThemeNice.cs: Same as above.
  11481. 2007-03-15 Andreia Gaita <[email protected]>
  11482. * XplatUIX11.cs: Fire extra MouseMove events right after
  11483. MouseDown and MouseUp, emulating win32's <censored> behaviour
  11484. for apps that rely on it.
  11485. 2007-03-15 Jackson Harper <[email protected]>
  11486. * TextControl.cs:
  11487. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  11488. it is drawn on the controls client window and there is no NC
  11489. area.
  11490. - Set the background color to gray on 2.0 when we are readonly.
  11491. 2007-03-15 Chris Toshok <[email protected]>
  11492. [ Fixes bug #81144 ]
  11493. * XplatUIX11.cs: implement VirtualScreen independently of
  11494. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  11495. property.
  11496. 2007-03-15 Chris Toshok <[email protected]>
  11497. * Hwnd.cs: add an internal field for the cached_window_state.
  11498. * XplatUIX11.cs: cache the window state, invalidating the cache
  11499. (and thus re-querying the X server) only when we see an update to
  11500. the _NET_WM_STATE property.
  11501. 2007-03-15 Chris Toshok <[email protected]>
  11502. * BindingSource.cs: get a lot of the unit tests working.
  11503. 2007-03-15 Jonathan Pobst <[email protected]>
  11504. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  11505. 0 instead of just bounds > 0. [Fixes bug #80912]
  11506. 2007-03-15 Jonathan Pobst <[email protected]>
  11507. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  11508. and methods.
  11509. 2007-03-15 Ivan N. Zlatev <[email protected]>
  11510. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  11511. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  11512. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  11513. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  11514. 2007-03-15 Chris Toshok <[email protected]>
  11515. [ Fixes #81101 ]
  11516. * Control.cs: add Ivan's fix for 81101, with a slight modification
  11517. - you can set control.Target to null.
  11518. 2007-03-14 Jonathan Pobst <[email protected]>
  11519. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  11520. HideDropDown, use Hide instead to prevent an NRE.
  11521. [Fixes bug #81147]
  11522. 2007-03-14 Jackson Harper <[email protected]>
  11523. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  11524. to calculate the document before the handle is created, in some
  11525. cases. (Actually just one case).
  11526. 2007-03-14 Jackson Harper <[email protected]>
  11527. * TextBoxBase.cs: Need to display the caret after letting the base
  11528. wndproc handle the focus methods, because the caret display
  11529. methods check the focus state.
  11530. - Try to display the caret after updating it's position with SelectWord.
  11531. - Don't need to do an immediate update on this recalc, since there
  11532. will be an invalidate anyways.
  11533. 2007-03-14 Jackson Harper <[email protected]>
  11534. * TreeView.cs: Some workarounds so that we can match event order a
  11535. little better.
  11536. 2007-03-14 Gert Driesen <[email protected]>
  11537. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  11538. #80803. Avoid NullReferenceException when Control does not have
  11539. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  11540. event a single time. Only draw error icon when control is created and
  11541. visible. Fixes failing unit tests.
  11542. 2007-03-14 Andreia Gaita <[email protected]>
  11543. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  11544. Selecting events. Fire Leave and Enter events when changing tabs.
  11545. 2007-03-14 George Giolfan <[email protected]>
  11546. * TreeView.cs: Add TreeViewNodeSorter.
  11547. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  11548. 2007-03-14 Chris Toshok <[email protected]>
  11549. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  11550. removed earlier and I had him add back it. It turns out metacity
  11551. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  11552. just doesn't redraw the window titlebar until you resize the
  11553. window. This also means we aren't recreating the entire window
  11554. hierarchy on X when you change this property. And it looks better
  11555. on windows, too.
  11556. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  11557. * ListViewItem.cs:
  11558. * ListView.cs: Collecting selection information
  11559. is now done in SelectedIndexCollection rather than in
  11560. SelectedListViewItemCollection. This is done so we can
  11561. have the selection information code in one single place
  11562. (virtual mode selection information entirely depends on
  11563. SelectedIndexCollection).
  11564. 2007-03-13 Miguel de Icaza <[email protected]>
  11565. * ErrorProvider.cs: Add stubs for ISupportInitialize
  11566. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  11567. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  11568. in the right order with the right values, from the Checked property,
  11569. just as MS does (instead of triggering them from ListView).
  11570. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  11571. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  11572. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  11573. the correct handler in OnItemCheck method (ItemCheckEventHandler
  11574. instead of EventHandler). This used to throw an InvalidCastException.
  11575. 2007-03-13 Jackson Harper <[email protected]>
  11576. * TextBoxBase.cs: Calculate the document before the handle is
  11577. created, so there isn't an extra invalidate called.
  11578. 2007-03-13 Jonathan Pobst <[email protected]>
  11579. * Form.cs: Don't set owner in ShowDialog until we are sure
  11580. that we aren't going to throw an exception. [Fixes bug #80773]
  11581. 2007-03-12 George Giolfan <[email protected]>
  11582. * TreeView.cs: Make it compile.
  11583. 2007-03-12 Jonathan Pobst <[email protected]>
  11584. * Control.cs: Another place we don't call SizeFromClientSize.
  11585. * Form.cs: Another place we don't call SizeFromClientSize.
  11586. [Fixes bug #81125]
  11587. 2007-03-12 Jackson Harper <[email protected]>
  11588. * TreeView.cs: Basically emulating some strangness here with
  11589. exanding nodes and setting node positions when windows aren't
  11590. created.
  11591. - Also attempting to walk the node tree less than previously, and
  11592. just use visible order calculations for determining offsets.
  11593. - oops made scrolling backwards.
  11594. * TreeNode.cs: We need to start nodes with a zero visible order,
  11595. because the order calcs are based on the first nodes order.
  11596. 2007-03-12 Jonathan Pobst <[email protected]>
  11597. * Form.cs: Don't exit the program if RecreateHandle is called on
  11598. the main form.
  11599. 2007-03-12 Chris Toshok <[email protected]>
  11600. * XEventQueue.cs: remove the use of PostQuitState.
  11601. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  11602. WM_QUIT message in GetMessage, return false (and if we're in the
  11603. nested WaitForHwndMessage, repost the WM_QUIT message).
  11604. 2007-03-12 Jonathan Pobst <[email protected]>
  11605. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  11606. or the MaximizeBox properties. [Part of bug #80640]
  11607. 2007-03-12 Everaldo Canuto <[email protected]>
  11608. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  11609. no links.
  11610. 2007-03-12 Jonathan Pobst <[email protected]>
  11611. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  11612. instead of visible.
  11613. 2007-03-12 Gert Driesen <[email protected]>
  11614. * FileDialog.cs: Use text of File name combobox to determine what
  11615. files the user selected. Added tokenizer to parse the file names.
  11616. Fixes bug #81123.
  11617. 2007-03-12 Jonathan Pobst <[email protected]>
  11618. * Control.cs: We can't call SizeFromClientSize in the constructor,
  11619. but we still need to do the same work, so make an internal version.
  11620. [Fixes bug #80621]
  11621. 2007-03-12 Jackson Harper <[email protected]>
  11622. * TreeView.cs:
  11623. * TreeNode.cs:
  11624. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  11625. IsExpanded.
  11626. 2007-03-12 Jackson Harper <[email protected]>
  11627. * TextBoxBase.cs: Now that the handles are being created a little
  11628. later, we need to make sure that the document is recalculated when
  11629. the handle is created.
  11630. 2007-03-11 Everaldo Canuto <[email protected]>
  11631. * Theme.cs: GetLinkFont abstract method added.
  11632. * LinkLabel.cs:
  11633. - Remove CalcTrimRectangle, no longer needed.
  11634. - Factor also remove, position issues must be fixed in libgdiplus.
  11635. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  11636. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  11637. care about font used to draw links.
  11638. - Set TabStop to true when control is "Selectable", control is selectable
  11639. when have one or more links. Fixes #80501 (test case is also added).
  11640. - Set the LinkArea values after links change, LinkArea values must be
  11641. based in first link position and size, a test case was created.
  11642. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  11643. the attribute must be true LinkArea.Length > 0. The same was applied to
  11644. TabStop.
  11645. * ThemeWin32Classic.cs:
  11646. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  11647. in draw method.
  11648. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  11649. color change.
  11650. - Draw focus rectangle for every parts focused, including parts that
  11651. is on another line, its because regions returns various rectangles
  11652. and not only one. Needed to mimic W32 look.
  11653. - Uses Graphics.Clip to delimite region painted, it mean that now
  11654. complete text is passed to DrawString, with this we solve layout
  11655. issues without create another text renderer.
  11656. - Uses Region.Intersect to fix some flickers problems, now only needed
  11657. parts will redrawed.
  11658. - This changes fixes #79614 and some other unreported issues, on Linux
  11659. some layout problems still remain, the problem is under
  11660. MeasureCharacterRanges but it is an libgdiplus bug.
  11661. 2007-03-10 Gert Driesen <[email protected]>
  11662. * TextBox.cs: Set for foreground color.
  11663. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  11664. this is already done in Control.
  11665. 2007-03-10 Jackson Harper <[email protected]>
  11666. * TextBox.cs: Set the background color, but reset the
  11667. backcolor_set flag which is just for the user setting the
  11668. background color.
  11669. 2007-03-09 Chris Toshok <[email protected]>
  11670. * Control.cs: really remove the call to XplatUI.SetVisible from
  11671. CreateHandle(), like I said I did when I merged the branch.
  11672. * BindingSource.cs: implement some more of this stuff.
  11673. 2007-03-09 Jackson Harper <[email protected]>
  11674. * TextBox.cs: Don't explicitly set our background colors.
  11675. * TextControl.cs:
  11676. * TextBoxBase.cs: Draw readonly text.
  11677. - Need to invalidate when backcolor or readonly are changed.
  11678. 2007-03-09 Jackson Harper <[email protected]>
  11679. * TextBoxBase.cs: Don't set the forecolor until the handle is
  11680. created.
  11681. - Do not raise OnPaint, and removed some old debug code.
  11682. 2007-03-09 George Giolfan <[email protected]>
  11683. * ScrollableControl.cs: Fix mouse wheel scrolling.
  11684. 2007-03-09 Jonathan Pobst <[email protected]>
  11685. * Control.cs: Wire up MouseDoubleClick event.
  11686. 2007-03-09 Jonathan Pobst <[email protected]>
  11687. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  11688. top or bottom.
  11689. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  11690. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  11691. item is added. This logic was moved to ToolStrip.OnItemAdded.
  11692. [Fixes bug #81090]
  11693. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11694. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  11695. 2007-03-08 Jackson Harper <[email protected]>
  11696. * TreeView.cs: Show the correct image for selected node (this used
  11697. to work, not sure how the code got deleted). Also implemented 2.0 feature
  11698. SelectedImageKey.
  11699. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11700. * ListView.cs:
  11701. * ListViewItem.cs: Cache index in items when retrieving them
  11702. in VirtualMode.
  11703. 2007-03-08 Jonathan Pobst <[email protected]>
  11704. * ToolStripItem.cs: Don't return the explicit_size if we are using
  11705. AutoSize. Fixes invalidation issue when user has explicitly set a
  11706. size and has AutoSize = true.
  11707. 2007-03-08 Jonathan Pobst <[email protected]>
  11708. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  11709. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11710. * DataGridView.cs: Remove event handler from DataView when a
  11711. DataTable is used as DataSource.
  11712. 2007-03-08 Jonathan Pobst <[email protected]>
  11713. * Control.cs: Create internal setter for client_size to allow it to be
  11714. set without triggering resizing code.
  11715. * Form.cs: Calculate client_size in constructor, only change client_size
  11716. in FormBorderStyle property if Handle has been created.
  11717. [Fixes #80574, #80791]
  11718. 2007-03-08 George Giolfan <[email protected]>
  11719. * SystemInformation.cs: Add TerminalServerSession.
  11720. 2007-03-07 Jonathan Pobst <[email protected]>
  11721. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  11722. TreeView code.
  11723. 2007-03-07 Jonathan Pobst <[email protected]>
  11724. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  11725. Handle before we were supposed to. Now checks ActivateOnShow property
  11726. in Control.
  11727. * Control.cs: Add internal ActivateOnShow property.
  11728. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  11729. for ActivateOnShow.
  11730. * Hwnd.cs Remove no longer needed no_activate field.
  11731. 2007-03-07 Jackson Harper <[email protected]>
  11732. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  11733. 2.0 properties
  11734. * DrawTreeNodeEventHandler.cs: Add
  11735. * DrawTreeNodeEventArgs.cs: Correct default value.
  11736. 2007-03-07 Chris Toshok <[email protected]>
  11737. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  11738. to be called before NativeWindow.WndProc. Put the HwndCreating
  11739. magic there to hook up our Hwnd's to handles.
  11740. 2007-03-07 Gert Driesen <[email protected]>
  11741. * DataGridView.cs: Comment out debug code.
  11742. 2007-03-07 Chris Toshok <[email protected]>
  11743. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  11744. to make the rest of the world happy]
  11745. * Control.cs (CreateHandle): there's no need to call
  11746. XplatUI.SetVisible here, it's effectively done by
  11747. XplatUI.CreateWindow on X now, and always was on windows.
  11748. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  11749. shortcircuit out of the loop if we have a message loop running on
  11750. this thread.
  11751. [Changelog from merge]
  11752. 2007-03-05 Chris Toshok <[email protected]>
  11753. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  11754. causes handle creation.
  11755. 2007-02-28 Chris Toshok <[email protected]>
  11756. * ApplicationContext.cs: Add a flag to make sure we only raise the
  11757. ThreadExit event once (ExitThreadCore can be indirectly called
  11758. from a few places.) I don't like the additional flag, but it
  11759. makes the event ordering/count correct.
  11760. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  11761. without locking the collection. An enumerator doesn't give us any
  11762. protection from modification anyway. Lock the thread hash and
  11763. replace the complicated enumerator loop with a foreach.
  11764. (Application.CloseForms): make internal so it can be called from
  11765. ApplicationContext. This should probably be moved to MWFThread.
  11766. (Application.ExitThread): don't call MWFThread.Current.Exit()
  11767. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  11768. when the runloop exits (in response to WM_QUIT.)
  11769. (Application.RunLoop): add a comment (and check) for
  11770. context.MainForm being null after setting context.MainForm.Visible
  11771. = true. This is because you're perfectly free to dispose of a
  11772. form in VisibilityChanged. Chalk this up to another case where we
  11773. need to synchronously generate WM_ACTIVATE from Control.Show.
  11774. Also, add handling for WM_QUIT here so we'll exit the loop.
  11775. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  11776. fact that we don't wait if we're only unmapping the whole_window
  11777. makes me a bit nervous, but it doesn't seem to cause any problems
  11778. yet.
  11779. also, add a comment about the stupid, broken and wrong resetting
  11780. of PostQuitState to false in GetMessage().
  11781. In PostQuitMessage, we need to add a WM_QUIT message to the
  11782. thread's queue. We use the FosterParent to get the right
  11783. handle/hwnd/queue.
  11784. Lastly, in SetVisible, we need to unmap both windows, since the
  11785. waiting only happens when we're unmapping the client window. So
  11786. now, the *only* time we unmap just the whole_window is in the hack
  11787. for resizing a control to 0,0.
  11788. 2007-02-21 Chris Toshok <[email protected]>
  11789. * Application.cs (CloseForms): rewrite this so that we don't
  11790. modify the list while we're traversing it.
  11791. 2007-02-20 Chris Toshok <[email protected]>
  11792. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  11793. of OnHandleCreated.
  11794. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  11795. handle is created. otherwise we'll create it here.
  11796. (VerticalScrollEvent): same here.
  11797. * Application.cs (CloseForms): call Form.Dispose, don't post
  11798. WM_CLOSE_INTERNAL.
  11799. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  11800. here. Application should Dispose() of the Form's.
  11801. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  11802. WM_DESTROY as well.
  11803. (MapWindow,UnmapWindow): only actually do the waiting for
  11804. SHOWWINDOW if the control we're dealing with is a Form.
  11805. (CreateWindow): if the control isn't a form, SendMessage
  11806. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  11807. * Control.cs (SetVisibleCore): always use is_visible here, not
  11808. value. If we use value, we can end up re-setting something
  11809. visible if, for instance, you do Control.Hide() in a delegate
  11810. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  11811. 2007-02-20 Chris Toshok <[email protected]>
  11812. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  11813. the message we need. PeekMessage returning false should not be a
  11814. condition under which we exit the loop.
  11815. 2007-02-15 Chris Toshok <[email protected]>
  11816. * Control.cs (Refresh): only refresh if we've got a handle and are
  11817. visible.
  11818. (CreateAccessibilityInstance): CreateControl() here.
  11819. (UpdateChildrenZOrder): complicate the code loop even more by
  11820. taking into account controls that haven't had their handle
  11821. created, and those that aren't visible. But on the flip side,
  11822. simplify the code by splitting it into two loops. one which
  11823. builds up the list of child controls we're interested in, and the
  11824. other that sets the z order of those children.
  11825. 2007-02-14 Chris Toshok <[email protected]>
  11826. * Control.cs: Control.AccessibilityObject causes the control to be
  11827. created, not just the handle.
  11828. 2007-02-14 Chris Toshok <[email protected]>
  11829. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  11830. problem on X where a window might have its handle created (and be
  11831. visible) while the window is unmapped. calling XConfigureWindow
  11832. on an unmapped window is bad, and generates X errors.
  11833. 2007-02-13 Chris Toshok <[email protected]>
  11834. * Control.cs (CreateHandle): don't loop over our children setting
  11835. their parent here. do it when in WndProc when we're shown.
  11836. (UpdateChildrenZOrder): make this internal so we can call it from
  11837. ScrollableControl.
  11838. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  11839. creating its handle. Also, remove the calls to PerformLayout from
  11840. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  11841. OnVisibleChanged only seems to be called directly here for the
  11842. toplevel control. It's propagated down the window hierarchy by
  11843. calls to child.OnParentVisibleChanged.
  11844. (OnVisibleChanged): don't do layout here - it's done (oddly
  11845. enough, according to a glance at stack traces on ms.net..) in
  11846. ScrollableControl.
  11847. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  11848. z order of our children before calling PerformLayout.
  11849. 2007-02-12 Chris Toshok <[email protected]>
  11850. [big change, fixes #80020]
  11851. * AccessibleObject.cs: we need to make owner internal again to fix
  11852. some of ControlAccessibleObject.
  11853. * Control.cs: lots of changes here. add support for WM_CREATE,
  11854. for which we generate OnHandleCreated. Remove the OnHandleCreated
  11855. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  11856. we create child controls. leave the MonoTODO's for the
  11857. accessibility calls, but fix the exceptions so the tests pass.
  11858. Add the InvalidOperationExceptions to Invoke methods, and remove a
  11859. couple of InvokeInternal methods we aren't using.
  11860. Also, add a couple of CreateHandle calls in places where we know
  11861. the handles are being created but our code doesn't reference
  11862. .Handle.
  11863. Make SetVisibleCore call OnVisibleChange if the handle isn't
  11864. created. If the handle is created, we rely on XplatUI.SetVisible
  11865. generating the event synchronously.
  11866. Lastly, make sure we don't use this.Handle inside CreateHandle,
  11867. because we can call back into client (and that code can dispose of
  11868. the control).
  11869. * XplatUIStructs.cs: misc/cleanup.
  11870. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  11871. although we don't populate the wParam properly.
  11872. (CreateWindow): generate WM_CREATE.
  11873. (MapWindow,UnmapWindow): make these calls synchronous, at great
  11874. performance expense (particularly in the unmap case), to match
  11875. win32 behavior.
  11876. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  11877. to call it.
  11878. (set_MdiParent): don't recreate the handle unless it's been
  11879. created already.
  11880. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  11881. it's created.
  11882. * NativeWindow.cs: this is probably the weirdest part of the
  11883. patch. We need a way to link up the window being created to the
  11884. WM_CREATE message. Since we can only be creating one window at a
  11885. time on a given thread, we keep track of a per-thread reference so
  11886. we can dispatch it properly. We also need to keep track of the
  11887. Hwnd currently being created so that the win32 backend doesn't
  11888. have problems.
  11889. * XplatUIWin32.cs: a similar change to the one we made in
  11890. NativeWindow.cs.
  11891. 2007-03-07 Jonathan Pobst <[email protected]>
  11892. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  11893. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  11894. to draw the menu shortcut string.
  11895. 2007-03-07 Jackson Harper <[email protected]>
  11896. * TreeNode.cs: Add the 2.0 collapse method.
  11897. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11898. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  11899. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11900. * DataGridView.cs: Change DataSource will clear column and row
  11901. lists. Call Invalidate() to reflect DataSource change.
  11902. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11903. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  11904. and a new row is added to it.
  11905. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11906. * DataGridView.cs: Add columns when DataSource is en empty list but
  11907. is a System.Data.DataView (from a System.Data.DataTable).
  11908. 2007-03-06 Andreia Gaita <[email protected]>
  11909. * Label.cs: Implement AutoEllipsis (2.0)
  11910. 2007-03-06 Jackson Harper <[email protected]>
  11911. * TreeView.cs: Implement 2.0 TopNode setter property.
  11912. - Use a local var instead of the skipped_nodes field for computing
  11913. how many nodes to skip. Otherwise we won't scroll because the
  11914. valuechanged handler checks if skipped_nodes is equal to the new
  11915. value.
  11916. - Implement 2.0 Sort method.
  11917. - Add useless 2.0 DoubleBuffer property
  11918. - Implement 2.0 LineColors property. Lets you change the color of
  11919. the lines in the tree. Terribly useful for creating non cohesive
  11920. desktops.
  11921. - Implement 2.0 image key feature.
  11922. 2007-03-06 Jackson Harper <[email protected]>
  11923. * TreeView.cs: We can't get the bounds of the nodes before raising
  11924. the AfterSelect event, because that event could change the node's
  11925. bounds (scrolling, font change, etc).
  11926. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11927. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  11928. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  11929. update window styles. In CreateParams us VisibleInternal instead of
  11930. VIsible to get the actual visible flag set for this form.
  11931. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  11932. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  11933. handle the case when the form is already maximized, in which case
  11934. it should be restored. Fixes #81043.
  11935. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11936. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  11937. 2007-03-05 Jackson Harper <[email protected]>
  11938. * TreeViewHitTestInfo.cs: implement.
  11939. 2007-03-05 Jackson Harper <[email protected]>
  11940. * InternalWindowManager.cs: class status fix.
  11941. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  11942. * InternalWindowManager.cs: All windows that have a parent
  11943. are confined to their parent when they're being moved.
  11944. Fixes #80822.
  11945. 2007-03-04 Gert Driesen <[email protected]>
  11946. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  11947. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  11948. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11949. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  11950. buttons invisible before deciding which ones should be visible
  11951. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  11952. an unused variable.
  11953. * InternalWindowManager.cs: Remove warning.
  11954. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  11955. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  11956. to throw an InvalidOperationException is virtual mode is being used.
  11957. 2007-03-02 Jonathan Pobst <[email protected]>
  11958. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  11959. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  11960. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  11961. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  11962. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  11963. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  11964. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11965. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  11966. driver.KeyboardDelay from XplatUI.KeyboardDelay
  11967. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  11968. (patch by Sergey Volk)
  11969. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11970. * ToolWindowManager.cs: Added, contains logic for
  11971. tool windows.
  11972. * CreateParams.cs: Add a few helper methods and an
  11973. internal variable to know which control the CreateParams belongs
  11974. to.
  11975. * Control.cs: Call Form.ChangingParent when the
  11976. parent is about to be changed.
  11977. * XplatUIX11.cs: DeriveStyles (): Set
  11978. caption_height for all windows that have captions and are children.
  11979. Update to use ToolWindowManager instead of InternalWindowManager
  11980. for ToolWindows.
  11981. * XplatUIWin32.cs: Set fake window styles for all
  11982. windows that have window managers.
  11983. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  11984. now duplicated for mdi windows when they are
  11985. maximized, first for the buttons the window itself has, then for
  11986. the buttons that appear in the menu bar. Makes things a little
  11987. easier). Updated UpdateWindowDecorations, SetWindowState and the
  11988. mouse eventhandlers accordingly.
  11989. * Form.cs: Add ChangingParent (), contains the
  11990. logic of what should happen when the parent changes. In MdiParent
  11991. don't set things that ChangingParent () is doing. When handling
  11992. WM_CLOSE, we can close the form if there are any other modal forms
  11993. and the current form is a descendent of the modal form.
  11994. * InternalWindowManager.cs: A lot of refactoring,
  11995. the title buttons are now extracted to a separate container class
  11996. that takes care of all button code (clicks, tooltips, etc). Moved
  11997. Iconic|Maximized|Normal Bounds properties to this class from
  11998. MdiWindowManager, so that the window state logic can succeed for
  11999. other than mdi wm's. Implemented general window state change logic.
  12000. Moved CreateButtons to ThemeWin32Classic, since the theme might
  12001. override which buttons are available when as well as the exact
  12002. location.
  12003. * FormWindowManager.cs: Added, contains logic for
  12004. normal forms.
  12005. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  12006. which buttons go where (and if they are at all visible).
  12007. Removed special handling of maximized windows, since they aren't special.
  12008. In DrawManagedWindowDecorations don't try to draw the text if it is
  12009. empty.
  12010. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  12011. use whatever the wm gives us.
  12012. 2007-03-02 Jonathan Pobst <[email protected]>
  12013. * ButtonBase.cs: Add 2.0 properties.
  12014. * Button.cs: Override Draw for 2.0.
  12015. * Control.cs: Add Entered and Selected properties.
  12016. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  12017. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  12018. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  12019. buttons.
  12020. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  12021. 2007-03-01 Jonathan Pobst <[email protected]>
  12022. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  12023. 2007-03-01 Jonathan Pobst <[email protected]>
  12024. * XplatUIWin32.cs: Register a new class with Windows each time we get
  12025. a new ClassStyle. [Fixes bugs #79432, #80817]
  12026. * Controls.cs: Set the correct ClassStyle in CreateParams.
  12027. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  12028. 2007-03-01 Gert Driesen <[email protected]>
  12029. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  12030. ColumnReordered event must not be signaled when modifying DisplayIndex
  12031. of a ColumnHeader. Added internal ReorderColumns method which takes
  12032. care of drawing, and updating the internal DisplayIndex of the
  12033. ColumnHeader. Added AddColumn method which is invoked from
  12034. ColumnHeaderCollection when adding or inserting columns, and which
  12035. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  12036. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  12037. Recalculated dispay indices after removing a ColumnHeader.
  12038. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  12039. match MS. Allows last display index to be returned after ListView
  12040. is disposed. Update actual location of ColumnHeader when DisplayIndex
  12041. is modified.
  12042. 2007-03-01 Everaldo Canuto <[email protected]>
  12043. * LinkLabel.cs: Improve CalcTrimRectangle.
  12044. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  12045. 2007-02-28 Everaldo Canuto <[email protected]>
  12046. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  12047. get rectangle as a result value.
  12048. 2007-02-28 Everaldo Canuto <[email protected]>
  12049. * LinkLabel.cs: Theres some diferences between rectangle return from
  12050. MeasureCharacterRanges and the area used for DrawString to fix this
  12051. CalcMeasurementFactor method was created, it calcules the diferences
  12052. to be use later to adjust rectangle in draw operations. Fixes #80473.
  12053. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  12054. to adjust draw rectangle.
  12055. 2007-02-27 Everaldo Canuto <[email protected]>
  12056. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  12057. text and some other changes to reduce and optimize source code.
  12058. 2007-02-27 Jonathan Pobst <[email protected]>
  12059. * RadioButton.cs: Implement 2.0 event.
  12060. * RelatedImageListAttribute.cs: Implement new class.
  12061. 2007-02-27 Everaldo Canuto <[email protected]>
  12062. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  12063. 2007-02-27 Jonathan Pobst <[email protected]>
  12064. * CheckBox.cs: Implement 2.0 functionality.
  12065. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  12066. * ListView.cs: Refactor Add and AddRange methods of
  12067. ListViewItemCollection, to not update the ListView
  12068. everytime an item is added in AddRange. Also move the update
  12069. code to a new CollectionChanged method, and call it
  12070. from other methods that need it as well (this should also fix some
  12071. bugs when Sorting is used).
  12072. 2007-02-27 Jackson Harper <[email protected]>
  12073. * TextControl.cs: Try to never let the caret stay in a non-text
  12074. tag.
  12075. * TextBoxBase.cs: Update the caret.
  12076. 2007-02-26 Jonathan Pobst <[email protected]>
  12077. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  12078. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  12079. delete POINT structure, duplicate of one in XplatUIStructs.
  12080. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  12081. 2007-02-26 Gert Driesen <[email protected]>
  12082. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  12083. edit box since otherwise the Label would immediately be set (even if
  12084. the user did not modify the label). In OnKeyDown set Handled to true
  12085. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  12086. columns that are to be removed. In ListViewItemCollection unlink items
  12087. that are to be removed.
  12088. 2007-02-24 Jonathan Pobst <[email protected]>
  12089. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  12090. it when we are done. [Fixes bug #80949]
  12091. 2007-02-23 Jonathan Pobst <[email protected]>
  12092. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  12093. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  12094. * ListView.cs: I forgot to commit the changes for ListView
  12095. in my previous patch.
  12096. 2007-02-23 Jonathan Pobst <[email protected]>
  12097. * Clipboard.cs: Partially implement an overload of SetDataObject.
  12098. * Form.cs: Implement ShowWithoutActivation.
  12099. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  12100. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  12101. This is a first set of changes to make the Virtual mode works,
  12102. by avoiding the retrieval of ListViewItem instances until
  12103. draw time.
  12104. * ListView.cs: Store item position in the ListView instead of the
  12105. ListViewItem, this way we don't request the Bounds property of
  12106. ListViewItem inside the ListView calculations, as well as cache the item
  12107. size in item_size field. Store indexes instead of ListViewItem
  12108. instances in the matrix used by icon view. Add a ItemMatrixLocation
  12109. struct to hold the row and col info of the matrix info.
  12110. * ListViewItem.cs: Don't store the location anymore, and only cache
  12111. the rectangles for GetBounds. Use the ListView.GetItemLocation
  12112. method to retrieve the actual location.
  12113. 2007-02-23 Jonathan Pobst <[email protected]>
  12114. * TextRenderer.cs: Add clipping support, thanks to George.
  12115. [Fixes bug #80949]
  12116. 2007-02-23 Gert Driesen <[email protected]>
  12117. * ListViewItem.cs: Cancel label edit when item is removed from
  12118. ListView.
  12119. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  12120. event before the edit textbox is displayed. Added CancelEdit method
  12121. which is used end to editing while ignoring the value set by the
  12122. user. In EndEdit, set focus to ListView to avoid losing focus to
  12123. other controls. In ListViewItemCollection.Clear, cancel editing of
  12124. any of the items. In Remove, cancel editing of item being removed.
  12125. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  12126. 2007-02-23 Gert Driesen <[email protected]>
  12127. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  12128. bug #80948.
  12129. 2007-02-23 Everaldo Canuto <[email protected]>
  12130. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  12131. compatible with non X11 systems. Fixes #80901.
  12132. 2007-02-23 Gert Driesen <[email protected]>
  12133. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  12134. whether the item should be unselected and reselect. We do no want this
  12135. when we're starting to edit the label. Do not fire the
  12136. SelectedIndexChanged event from ListView when its already been fired
  12137. by modifying ListViewItem.Selected. Fixes bug #80943.
  12138. 2007-02-23 Jonathan Pobst <[email protected]>
  12139. * TextRenderer.cs: Previos commit logic was backwards.
  12140. 2007-02-23 Jonathan Pobst <[email protected]>
  12141. * TextRenderer.cs: Don't add padding on MeasureText if we were
  12142. sent the NoPadding flag.
  12143. 2007-02-23 Everaldo Canuto <[email protected]>
  12144. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  12145. after DrawButton. To prevent image overlaps button borders SetClip and
  12146. ResetClip added before and after draw image. Fixes #79129.
  12147. 2007-02-23 Everaldo Canuto <[email protected]>
  12148. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  12149. window size, it fix problem when you run under win32 that theres
  12150. Size diferent than ClientSize. Also fix controls size and positions
  12151. to mimic Win32. Fixes #80837.
  12152. 2007-02-22 Everaldo Canuto <[email protected]>
  12153. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  12154. menu area to fix some problems for non X11 systems. Fixes #80613.
  12155. 2007-02-22 Jackson Harper <[email protected]>
  12156. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  12157. even if it doesn't have any children.
  12158. 2007-02-22 Jackson Harper <[email protected]>
  12159. * TreeView.cs: Calculate the top node 'on the fly', this
  12160. eliminates issues where you need to click on the tree before
  12161. scrolling it to get the top node computed correctly.
  12162. * TreeNodeCollection.cs: We don't need to mess with the top node
  12163. anymore.
  12164. 2007-02-22 Jackson Harper <[email protected]>
  12165. * DataGridViewRow.cs: Fix typo so height can actually be set.
  12166. Patch by Peter Grimm.
  12167. 2007-02-22 Gert Driesen <[email protected]>
  12168. * FileDialog.cs: Fixed support for renaming files and directories.
  12169. * ListView.cs: Do not lose focus when edit is canceled. Process
  12170. Escape as regular key (to prevent closing of dialogs).
  12171. 2007-02-22 Gert Driesen <[email protected]>
  12172. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  12173. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  12174. 2007-02-22 Gert Driesen <[email protected]>
  12175. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  12176. did not modify label.
  12177. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  12178. modified the text. Reset Label when user presses Escape in edit mode.
  12179. Move focus to ListView after having cancelled or finished editing the
  12180. label.
  12181. 2007-02-21 Gert Driesen <[email protected]>
  12182. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  12183. private. Clear textbox when Text is set to null and SelectedIndex is
  12184. already -1.
  12185. * FileDialog.cs: Removed unnecessary initializations. Removed
  12186. workarounds for ComboBox bugs that are now fixed. Modified
  12187. DefaultExt, InitialDirectory and Title property to change null to
  12188. zero-length string in getters. Avoid directly accessing fields.
  12189. 2007-02-20 Jackson Harper <[email protected]>
  12190. * TextControl.cs: Remove RecalAlignments call, that was some
  12191. debugging leftovers.
  12192. - Don't use the line indent when we shouldn't.
  12193. * RichTextBox.cs: Add support for paragraph left indents.
  12194. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  12195. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  12196. Seems like the class status pages doesn't catch params differences.
  12197. 2007-02-19 Gert Driesen <[email protected]>
  12198. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  12199. 2007-02-19 Gert Driesen <[email protected]>
  12200. * ComboBox.cs: Setting Text should have no effect if item text of
  12201. selected item exactly matches value. First lookup text using
  12202. case-sensitive comparison, and fallback to case-insensitive comparison.
  12203. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  12204. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  12205. paramname to match MS. Restart from first item if string is not found
  12206. after startIndex. Fixed paramname of ArgumentNullException that is
  12207. thrown for null value in ObjectCollection.Contains.
  12208. 2007-02-19 Everaldo Canuto <[email protected]>
  12209. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  12210. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  12211. * ListControl.cs: In SelectedValue use value.Equals to compare for
  12212. equality instead of ==, otherwise it will fail for strings.
  12213. Fixes #80794.
  12214. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  12215. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  12216. since the caret won't show up unless ShowSelection is true.
  12217. Fixes #80795.
  12218. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  12219. * Application.cs: When disabling all forms but the main form, do not
  12220. disable any descendants of the main form (such as mdi children or
  12221. other parented forms). Fixes #80822 on Windows.
  12222. * Form.cs: If we have a parent, set the WS_CHILD style.
  12223. * Control.cs: Update the window styles if the control whose parent has
  12224. changed is a form (the WS_CHILD style has to be switched).
  12225. 2007-02-19 Everaldo Canuto <[email protected]>
  12226. * XplatUIStructs.cs: MsgUIState structure added.
  12227. 2007-02-18 Gert Driesen <[email protected]>
  12228. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  12229. profile, do not check filename(s) for illegal character if filename(s)
  12230. were set non-interactively but always check on 1.0 profile. Fixed NRE
  12231. in DefaultExt and only strip off first leading dot. Improve exception
  12232. message when invalid Filter is set. Do not ignore InitialDirectory if
  12233. it does no exist. Store specified Title, and if empty use default
  12234. title (depending on type of dialog). Added an internal DialogTitle
  12235. property for retrieving dialog title. Fixed logic of displayed dir to
  12236. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  12237. string as its buggy.
  12238. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  12239. FileName is a zero-length string (it can never be null). Override
  12240. DialogTitle property to set default title of dialog box.
  12241. * SaveFileDialog.cs: Override DialogTitle property to set default
  12242. title of dialog box.
  12243. 2007-02-18 Gert Driesen <[email protected]>
  12244. * FileDialog.cs: Modify default text of filename and filetype labels
  12245. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  12246. after we've updated the SelectedIndex. Fixes part of bug #80887.
  12247. * SaveFileDialog.cs: Set text of filetype label.
  12248. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  12249. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  12250. label field. Needed by latest Jackson's fixes for ListView.
  12251. 2007-02-16 Andreia Gaita <[email protected]>
  12252. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  12253. print preview images.
  12254. 2007-02-16 Jackson Harper <[email protected]>
  12255. * ListView.cs: Make AfterLabelEdit work correctly.
  12256. * FileDialog.cs: After changing the name of the folder, we have to
  12257. make sure that it is created, or that we pop up an error because
  12258. it already exists.
  12259. 2007-02-16 Jackson Harper <[email protected]>
  12260. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  12261. System.String are mapped to text.
  12262. - Handle dataobjects, getting all the possible formats out of them
  12263. - We dont need the drag event args before we give feedback. This
  12264. allows feedback cursors to be immediate before selections have
  12265. been converted.
  12266. 2007-02-16 Jackson Harper <[email protected]>
  12267. * TextBoxBase.cs: Modified the method for inserting images to
  12268. taking a line and position instead of tag and position.
  12269. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  12270. into the RTF file.
  12271. * TextControl.cs: Allow images to be inserted as the first tag of
  12272. a line.
  12273. - Fix some off by one issues when we assume the first tag is a
  12274. text tag, not an image tag.
  12275. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  12276. * ListView.cs: Set focus to ListView when ItemControl gets a
  12277. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  12278. Fixes part of #80467.
  12279. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  12280. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  12281. validate Text input (if null or empty string reset Value to default
  12282. value). Fixes #80830.
  12283. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  12284. * ListView.cs: Set owner as null for columns and items when
  12285. Dispose is invoked. Fixes #80607.
  12286. 2007-02-14 Jonathan Pobst <[email protected]>
  12287. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  12288. showing DropDowns, don't show a Grip when doing Flow layout.
  12289. [This fixes the toolbox in PDN 2.72.]
  12290. * ToolStripItem.cs: Add Anchor property and some internal properties to
  12291. reduces needed changes to FlowLayout.
  12292. * ToolStripOverflow.cs: Remove unused variable.
  12293. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  12294. use it in the layout calculations.
  12295. 2007-02-13 Everaldo Canuto <[email protected]>
  12296. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  12297. reported in #79640.
  12298. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  12299. size calculation.
  12300. 2007-02-13 Everaldo Canuto <[email protected]>
  12301. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  12302. MeasureString format, it can make button very large in some cases, it is
  12303. strange but is what win32 do.
  12304. 2007-02-13 Everaldo Canuto <[email protected]>
  12305. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  12306. size calculation.
  12307. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  12308. rendering, the value is based on MenuAccessKeysUnderlined.
  12309. 2007-02-13 Everaldo Canuto <[email protected]>
  12310. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  12311. for most themes.
  12312. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  12313. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  12314. and use MenuAccessKeysUnderlined instead.
  12315. 2007-02-13 Andreia Gaita <[email protected]>
  12316. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  12317. A selected control would not get a Focus call if:
  12318. - the default active control of the container is the same as
  12319. the one that was selected
  12320. - we are switching from one container to another
  12321. Under these conditions, the container being selected already has
  12322. an active_control, which is the same as the one being activated,
  12323. so set_ActiveControl would always return and not send the Focus
  12324. call. Fix to check if the currently active control of the container
  12325. is actually focused.
  12326. 2007-02-13 Jonathan Pobst <[email protected]>
  12327. * StatusStrip.cs: Implement the spring layout.
  12328. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  12329. always matches the host.
  12330. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  12331. and TextAfterImage.
  12332. 2007-02-13 Andreia Gaita <[email protected]>
  12333. * Control.cs: Code reorganization only.
  12334. - Reorganize the WndProc cases so that each case has it's own handling method,
  12335. to help with the no-line-numbering stack traces.
  12336. - Formatting changes (it's vstudio's fault, really :p)
  12337. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  12338. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  12339. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  12340. behaviour.
  12341. 2007-02-12 Jackson Harper <[email protected]>
  12342. * RichTextBox.cs:
  12343. * TextBox.cs: By default we have a non multiline document
  12344. - use the multiline property instead of the internal variable
  12345. * TextBoxBase.cs: Treat multiline and non multiline the same in
  12346. most places.
  12347. - Use the documents multiline flag instead of tracking it ourself
  12348. * TextControl.cs: Attempt at getting multiline to match MS
  12349. behavior. Lines now track an offset, which is either their X or Y
  12350. offset depending on whether or not we are in multiline mode.
  12351. - Update all the methods to understand that lines have an X value.
  12352. - Fix crash in Undo::Duplicate when empty lines are deleted.
  12353. 2007-02-12 Everaldo Canuto <[email protected]>
  12354. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  12355. code moved to properties PreferredHeight and PreferredWidth. It solve the
  12356. all problems when preferred sizes must be recalculated. Fixes #80801.
  12357. 2007-02-12 Everaldo Canuto <[email protected]>
  12358. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  12359. font height when compatible_text_rendering is false. Partially fix #80801.
  12360. 2007-02-09 Gert Driesen <[email protected]>
  12361. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  12362. 2007-02-09 Gert Driesen <[email protected]>
  12363. * Form.cs: Improved exception messages in ShowDialog.
  12364. 2007-02-09 Gert Driesen <[email protected]>
  12365. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  12366. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  12367. if not set. Fixes bug #80764. Avoid accessing current_settings field
  12368. directly.
  12369. 2007-02-08 Everaldo Canuto <[email protected]>
  12370. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  12371. false.
  12372. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  12373. public in 2.0 and for easy maintenance and dont break compatibility it is
  12374. internal in 1.1.
  12375. 2007-02-08 Jonathan Pobst <[email protected]>
  12376. * ToolStripItem.cs: Implement using images from ImageList.
  12377. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  12378. * DateTimePicker.cs: Change default date-formatting culture from
  12379. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  12380. seems to be the way MS does it.
  12381. 2007-02-08 Andreia Gaita <[email protected]>
  12382. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  12383. (the 6 was cut off on the right side)
  12384. 2007-02-08 Jonathan Pobst <[email protected]>
  12385. * Form.cs: Tell MenuStrips to close when the form is clicked.
  12386. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  12387. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  12388. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  12389. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  12390. support for Overflow, where items that do not fit are automatically
  12391. reparented to a drop down menu.
  12392. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  12393. Also: fixes bug #80747.
  12394. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  12395. * ComboBox.cs: Remove warning (unused code).
  12396. * ScrollableControl.cs: Remove warning for 1.1 profile.
  12397. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  12398. * Form.cs: Remove a warning.
  12399. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  12400. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  12401. 'g' specifier, not documented anywhere, but seems to always show up
  12402. as a single space (might have something to do with the DateTime 'g'
  12403. specifier, which is the era format, but since DateTimePicker can't
  12404. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  12405. won't crash if the format has an unmatched quote. Now shows
  12406. single-character formats correctly. Fixes #80744.
  12407. 2007-02-08 Jonathan Pobst <[email protected]>
  12408. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  12409. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  12410. 2007-02-07 Chris Toshok <[email protected]>
  12411. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  12412. background color. it overwrites the background image we've
  12413. already painted. Fixes #80599.
  12414. 2007-02-07 Chris Toshok <[email protected]>
  12415. * DataGrid.cs: return immediately from Edit() when there are no
  12416. columns. Fixes #80662.
  12417. 2007-02-07 Chris Toshok <[email protected]>
  12418. * MessageBox.cs: fix #80625. don't always show the Help button in
  12419. 2.0. use the displayHelpButton parameter to determine if we
  12420. should show it. Also, make the internal show_help field private.
  12421. 2007-02-07 Chris Toshok <[email protected]>
  12422. * Control.cs (SetVisibleCore): check in the proposed patch for
  12423. 80604, and set is_visible before calling CreateControl.
  12424. 2007-02-07 Jonathan Pobst <[email protected]>
  12425. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  12426. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  12427. on it.
  12428. 2007-02-06 Everaldo Canuto <[email protected]>
  12429. * MenuAPI.cs: hotkey_active internal field added, it is required because
  12430. we need to know when hotkeys must be draw, before this change a keystate
  12431. Navigating was used but we can have menu in navigating state without
  12432. hotkeys. Fixes #80694.
  12433. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  12434. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  12435. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  12436. corresponding events and methods to be internal for 1.1 profile and
  12437. public for 2.0 profile (required by SizeGrip).
  12438. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  12439. implicit control list). Don't set the size nor the location of the
  12440. SizeGrip anymore as it's not needed.
  12441. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  12442. draw directly on the captured control (fixes #80656). Removed
  12443. ShowGrip (it wasn't used anywhere), redraw (always true), added
  12444. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  12445. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  12446. be called from SizeGrip.
  12447. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  12448. * Timer.cs: Throw ArgumentException if Interval <= 0.
  12449. 2007-02-05 Jackson Harper <[email protected]>
  12450. * TreeView.cs: We need to check scrollbar visibility when window
  12451. visibility is updated, because non visible trees don't ever add
  12452. scrollbars.
  12453. * Cursor.cs: We want the override cursor to be reset to NULL when
  12454. we set current cursor to the default cursor.
  12455. 2007-02-05 Jackson Harper <[email protected]>
  12456. * TextControl.cs: Don't have crlfs when we are non multiline.
  12457. - Consolidate the line position.
  12458. 2007-02-05 Jackson Harper <[email protected]>
  12459. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  12460. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  12461. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  12462. handling LeaveNotify->NotifyUngrab in order to send
  12463. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  12464. after calling XUngrabPointer, so we call WindowUngrabbed directly
  12465. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  12466. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  12467. MouseCaptureChanged correctly. Also create handles if changing
  12468. Capture (matches MS behaviour).
  12469. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  12470. * SizeGrip.cs: Make the last change 2.0 only.
  12471. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  12472. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  12473. changes to initial size (fixes #80597).
  12474. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  12475. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  12476. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  12477. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  12478. background) and only allow dragging if enabled. This way the
  12479. sizegrip can be used to fill the open square that otherwise would
  12480. have been shown in the bottom right corner of ScrollableControl
  12481. when ScrollableControl is not suppose to support sizing.
  12482. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  12483. sizegrip is shown and enabled, and hook up with necessary events.
  12484. 2007-02-01 Chris Toshok <[email protected]>
  12485. * DataGridTextBoxColumn.cs: clean up the
  12486. GetFormattedString/GetColumnValueAtRow combination of functions.
  12487. Also fix UpdateUI, and the initial state of
  12488. IsInEditOrNavigateMode.
  12489. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  12490. aren't supposed to scroll the textbox here, we're supposed to
  12491. scroll the datagrid.
  12492. 2007-02-01 Chris Toshok <[email protected]>
  12493. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  12494. setting the position.
  12495. 2007-02-01 Chris Toshok <[email protected]>
  12496. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  12497. here, since the most recent focus fixes keep us from generating
  12498. the Leave event when our textbox gets focus.
  12499. (Edit): we should be passing null for the column style's
  12500. instantText parameter.
  12501. 2007-02-01 Jonathan Pobst <[email protected]>
  12502. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  12503. raised. Fixes menu text/icons not showing up in PDN.
  12504. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  12505. * Control.cs: Remove code in constructor that makes every
  12506. control with WS_CHILD set have initial location -1, -1.
  12507. 2007-01-31 Jackson Harper <[email protected]>
  12508. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  12509. XplatUIX11.
  12510. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  12511. 2007-01-31 Jackson Harper <[email protected]>
  12512. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  12513. - Remove some debug code.
  12514. 2007-01-31 Jackson Harper <[email protected]>
  12515. * XplatUIX11.cs: If you set the override cursor during a grab, it
  12516. should actually override the grab cursor. This comes into play
  12517. when you are setting custom cursors in a DND feedback method.
  12518. 2007-01-31 Jackson Harper <[email protected]>
  12519. * X11Dnd.cs: Add support for handling the QueryContinue and
  12520. GiveFeedback events.
  12521. - Cancel drag and drop actions when the escape key is clicked.
  12522. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  12523. can handle the ESCAPE key.
  12524. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  12525. done when dnd events are continued after the button is released.
  12526. - Add a new helper method so that dnd can translate key events.
  12527. 2007-01-31 Alexander Olk <[email protected]>
  12528. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  12529. make it more obvious what is happening.
  12530. 2007-01-30 Jackson Harper <[email protected]>
  12531. * XplatUIX11.cs: Don't break when handling button release in drag
  12532. and drop operations. We need that BUTTONUP message to get through
  12533. so capture is released.
  12534. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  12535. this is handled automatically when the mouse is down.
  12536. 2007-01-30 Jackson Harper <[email protected]>
  12537. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  12538. is closed, so we need to make sure that we aren't changing the
  12539. dialog result when the OK (Open or Save) button has been clicked
  12540. and we are closing the window ourselves. Note we don't need to
  12541. worry about the cache being written in this case, because it was
  12542. already done in the previous FilOk call.
  12543. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  12544. * DateTimePicker.cs: Remove a warning.
  12545. * ComboBox.cs: Remove a couple of warnings.
  12546. 2007-01-29 Chris Toshok <[email protected]>
  12547. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  12548. set one, if SetIcon is passed a null icon.
  12549. 2007-01-29 Andreia Gaita <[email protected]>
  12550. * TextBox.cs: Redraw when the password characters changes
  12551. * TextControl.cs: Check if textbox has a password char and draw
  12552. a line of password chars instead of the text in the line. LineTag gets
  12553. an extra Draw() method which allows document.Draw to override the text
  12554. that will be drawn. Removes 1024 char limitation on length of passworded
  12555. lines.
  12556. 2007-01-29 Jackson Harper <[email protected]>
  12557. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  12558. single chars is not.
  12559. 2007-01-28 Jonathan Pobst <[email protected]>
  12560. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  12561. one pixel. Fix a StackOverflowException caused by an overload wrongly
  12562. calling itself.
  12563. 2007-01-26 Everaldo Canuto <[email protected]>
  12564. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  12565. also remove ProcessArrowKey and put the code inside ProcessKeys.
  12566. 2007-01-26 Jonathan Pobst <[email protected]>
  12567. * PaddingConverter.cs: Added.
  12568. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  12569. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  12570. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  12571. of text (fixes #80601). For panels clip the text to draw to the
  12572. panel (fixes #80603).
  12573. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  12574. * ComboBox.cs: Fixed implementation of ResetText.
  12575. 2007-01-25 Jackson Harper <[email protected]>
  12576. * TextControl.cs: For the last char of a line we need to use the
  12577. line size, not that chars width, since it won't actually be
  12578. computed since the right side of a char is based on the start of
  12579. the left side of the next char, and the next char does not exist.
  12580. 2007-01-25 Chris Toshok <[email protected]>
  12581. * Splitter.cs: fix the new unit tests, and reindent some switch
  12582. statements.
  12583. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12584. * ComboBox.cs: Implemented 2.0 methods and events.
  12585. * TextBoxBase.cs: Added OnTextUpdate, so that
  12586. ComboBox.ComboTextBox can inform ComboBox of it.
  12587. 2007-01-25 Jackson Harper <[email protected]>
  12588. * TextControl.cs: Respect ShowSelection when deciding whether or
  12589. not to display the caret, this allows comboboxes to have carets
  12590. when the combotextbox does not have focus.
  12591. 2007-01-25 Jackson Harper <[email protected]>
  12592. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  12593. same as the Suspend/Resume for recalc, except this will do actual
  12594. Invalidates.
  12595. - New Undo manager, works much like the MS version.
  12596. - Implemented Redo
  12597. * TextBoxBase.cs: The Cut operation is undoable.
  12598. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12599. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  12600. on Windows (no difference on Linux).
  12601. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12602. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  12603. we don't want to activate any windows. Fixes #79433.
  12604. 2007-01-25 Jonathan Pobst <[email protected]>
  12605. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  12606. [Fixes bug #80609]
  12607. 2007-01-25 Alexander Olk <[email protected]>
  12608. * FileDialog.cs:
  12609. - Move to using System.ComponentModel.EventHandlerList
  12610. - Replace Refresh with Invalidate
  12611. - Clear the mime filecache on closing
  12612. - Some other memory reducing work. After beeing closed FD now uses
  12613. only about 300 KB for the fdo mime stuff plus the memory of the
  12614. cached icons.
  12615. * Mime.cs: Changed coding style and removed unnecessary commented
  12616. code. Some more memory memory reducing work.
  12617. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12618. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  12619. a few other missing 2.0 properties.
  12620. * Theme.cs: Added DrawFlatStyleComboBox.
  12621. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  12622. 2007-01-24 Chris Toshok <[email protected]>
  12623. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  12624. wake_waiting flag, not just when there's data to be read. if we
  12625. don't, then future wakeup's won't reach us and we'll be doomed to
  12626. wait for the entire 1 second timeout forever (unless there are X
  12627. events to be had).
  12628. 2007-01-24 Jonathan Pobst <[email protected]>
  12629. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  12630. until you pass Items.Count, not Items.Count - 1 like 1.1.
  12631. 2007-01-24 Gert Driesen <[email protected]>
  12632. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  12633. 2007-01-24 Jonathan Pobst <[email protected]>
  12634. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  12635. adding the panels in the wrong order.
  12636. 2007-01-24 Jackson Harper <[email protected]>
  12637. * TextBoxBase.cs: When we move the caret we also need to move the
  12638. selection, this fixes some random crashing after doing select
  12639. text, unselect, delete a char, paste.
  12640. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  12641. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  12642. 2007-01-23 Everaldo Canuto <[email protected]>
  12643. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  12644. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  12645. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  12646. 2007-01-23 Everaldo Canuto <[email protected]>
  12647. * ToolBar.cs:
  12648. - Implement support for vertical toolbars. Fixes #80539;
  12649. - Call LayoutToolBar when resize, it fix some other problems in layout.
  12650. - Rename requested_height to requested_size, as we can have width on it
  12651. when toolbar is vertical.
  12652. - Create a private property "Vertical" that uses Dock to verify when
  12653. toolbar is vertical or not.
  12654. - Set ControlStyles when change Dock property.
  12655. - Refactory in LayoutToolBar to have better variables names and to support
  12656. vertical toolbars.
  12657. - Fixes default value for ButtonSize when button count is equal zero, size
  12658. must be (39, 36) test case writed.
  12659. 2007-01-23 Chris Toshok <[email protected]>
  12660. * Control.cs: fix the checks so that they work correctly for mdi
  12661. parents/children.
  12662. 2007-01-23 Chris Toshok <[email protected]>
  12663. * Control.cs: ControlCollection seems to have super-secret
  12664. abstraction breaking knowledge of Mdi containers. allow MdiClient
  12665. to add toplevel controls.
  12666. 2007-01-23 Chris Toshok <[email protected]>
  12667. * Control.cs: throw an ArgumentException if a toplevel control is
  12668. added to our control collection from ControlCollection.Add, as
  12669. well as from ControlCollection.IList.Add. This fixes the
  12670. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  12671. Also, in ControlCollection.IList.Add, don't through an
  12672. ArgumentNullException, throw an ArgumentException, when value ==
  12673. null. This matches MS.
  12674. 2007-01-23 Chris Toshok <[email protected]>
  12675. * BindingSource.cs: initial, incomplete, implementation of
  12676. BindingSource.
  12677. 2007-01-23 Jackson Harper <[email protected]>
  12678. * TextControl.cs:
  12679. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  12680. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  12681. 2007-01-23 Everaldo Canuto <[email protected]>
  12682. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  12683. 2007-01-23 Andreia Gaita <[email protected]>
  12684. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  12685. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  12686. IndexOfKey() for 2.0
  12687. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  12688. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  12689. to prevent it from changing z-order.
  12690. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  12691. leave UI updates in MdiWindowManager.
  12692. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  12693. 1 sized (NC handling goes weird on Linux otherwise).
  12694. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  12695. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  12696. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  12697. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  12698. and SetWindowState(s) to allow for changing the size of an activated child
  12699. before activating it (reduces a lot of flicker).
  12700. 2007-01-22 Jonathan Pobst <[email protected]>
  12701. * Form.cs: Changing FormBorderStyle has different semantics based
  12702. on whether the Form is visible or not. If not visible, don't change
  12703. the Size. But InvalidateNC needs to be called to force the window
  12704. to pick up the changes and redraw itself. [Fixes bug #80574]
  12705. 2007-01-22 Jonathan Pobst <[email protected]>
  12706. [Moma work]
  12707. * ContainerControl.cs: ProcessCmdKey.
  12708. * ErrorProvider.cs: new constructor.
  12709. * Form.cs: fix AutoValidateEvent compiler warning.
  12710. * Label.cs: fix OnAutoSizeChanged compiler warning.
  12711. * MenuStrip.cs: fix CanOverflow compiler warning.
  12712. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  12713. * TextBox.cs: Dispose.
  12714. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  12715. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  12716. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  12717. * ToolStripItem.cs: Overflow, RightToLeft properties.
  12718. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  12719. * Form.cs: Move the layout of the main form to MdiWindowManager.
  12720. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  12721. do a layout of the main window to update MdiClient's client area to
  12722. the right area. Fixes #80533. Remove the calculation of nc size,
  12723. it was just wrong and the correct one is the same as for
  12724. InternalWindowManager.
  12725. 2007-01-20 Jonathan Pobst <[email protected]>
  12726. * Control.cs: Setting Anchor or Dock needs to reset the other
  12727. to its default. [Fixes bug #80556]
  12728. 2007-01-20 Chris Toshok <[email protected]>
  12729. * CheckedListBox.cs: class status changes.
  12730. * ScrollableControl.cs: same.
  12731. * RichTextBox.cs: same.
  12732. * ContainerControl.cs: same.
  12733. * ListView.cs: same.
  12734. * NotifyIcon.cs: same.
  12735. * MenuStrip.cs: same.
  12736. * RadioButton.cs: same.
  12737. * CheckBox.cs: same.
  12738. * PrintPreviewDialog.cs: same.
  12739. * Form.cs: same.
  12740. 2007-01-19 Jonathan Pobst <[email protected]>
  12741. * TreeNode.cs: Apply Alan's patch for Name property.
  12742. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  12743. * Form.cs: Implemented SizeGripStyle.
  12744. * SizeGrip.cs: Check for minimum and maximum size for the
  12745. control being resized and only resize if size has actually
  12746. changed.
  12747. 2007-01-19 Chris Toshok <[email protected]>
  12748. * DataGridColumnStyle.cs: stop setting _readonly in the
  12749. PropertyDescriptor setter. fixes a unit test failure.
  12750. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  12751. just consult our table style (if we have one). We don't need to
  12752. consult the datagrid readonly attribute because that's passed in
  12753. as the _ro arg to Edit. this simplifies things a little.
  12754. * DataGrid.cs: use CurrentColumn instead of
  12755. current_cell.ColumnNumber just to simplify some of the code.
  12756. switch the order of some things in the CurrentCell setter to keep
  12757. the previous cell from getting a textbox again -
  12758. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  12759. So we need to set the new cell before calling it.
  12760. call Edit in OnEnter, as does Microsoft.
  12761. also, make sure the current table style isn't the one we create
  12762. initially when checking to see if it's different than the one
  12763. we're setting it to in BindColumns (this fixes #80421).
  12764. * GridTableStylesCollection.cs: table styles can have "" for a
  12765. mapping name. part of the fix for #80421.
  12766. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  12767. Edit significantly.
  12768. 2007-01-18 Jonathan Pobst <[email protected]>
  12769. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  12770. and less GDI object leaky-er.
  12771. 2007-01-18 Andreia Gaita <[email protected]>
  12772. * LinkLabel.cs: Add opaque control style
  12773. 2007-01-18 Jackson Harper <[email protected]>
  12774. * TextControl.cs: Calculate width properly.
  12775. - Don't store the tag's X offset, this can be figured out very
  12776. easily.
  12777. - When getting the caret tag make sure to get the last empty tag.
  12778. 2007-01-18 Jonathan Pobst <[email protected]>
  12779. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  12780. [Fixes bug #79959]
  12781. * Control.cs: Color.Empty shouldn't count for previous transparent
  12782. redraw changes.
  12783. 2007-01-18 Jackson Harper <[email protected]>
  12784. * TextBox.cs:
  12785. * RichTextBox.cs:
  12786. * TextControl.cs: Starting to merge in some pieces of my older
  12787. undo work. Basically just some slight cleanup of the undo API.
  12788. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  12789. * TrackBar.cs: Fix signature of RightToLeftLayout.
  12790. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  12791. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  12792. * Application.cs: Implemented UseWaitCursor.
  12793. 2007-01-18 Jackson Harper <[email protected]>
  12794. * TextControl.cs: We can't skip tags if any part of the tag is
  12795. visible.
  12796. 2007-01-18 Jonathan Pobst <[email protected]>
  12797. * ContainerControl.cs: Override OnLayout.
  12798. 2007-01-18 Jonathan Pobst <[email protected]>
  12799. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  12800. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  12801. everything else.
  12802. 2007-01-18 Chris Toshok <[email protected]>
  12803. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  12804. (leftover from the container_selected days, I'd wager). fixes bug
  12805. #80546.
  12806. 2007-01-18 Jonathan Pobst <[email protected]>
  12807. * Control.cs: Apply patch from George to fix the new testcase on
  12808. bug #80451. We can't just check for Color.Transparent, we need
  12809. to check if the back color's alpha channel is < 255.
  12810. 2007-01-18 Jonathan Pobst <[email protected]>
  12811. * Form.cs: Move setting show_icon = true to before the constructor
  12812. so that the base constructor has that information when it calculates
  12813. the form's size. Was causing forms to be (6, 6) bigger than they
  12814. were supposed to be. Thanks for catching this Rolf!
  12815. 2007-01-18 Jackson Harper <[email protected]>
  12816. * TextControl.cs: When replacing a selection we need to invalidate
  12817. from the initial selection start, because selection start is moved
  12818. to the end of the replacement.
  12819. 2007-01-18 Andreia Gaita <[email protected]>
  12820. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  12821. 2007-01-18 Chris Toshok <[email protected]>
  12822. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  12823. I just added.
  12824. 2007-01-17 Everaldo Canuto <[email protected]>
  12825. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  12826. layout methods and properties from ToolBarButton must be available
  12827. into ToolBarButtonInfo.
  12828. 2007-01-17 Jonathan Pobst <[email protected]>
  12829. * Control.cs: If the control has a transparent background, we
  12830. need to refresh it when it moves and when it's parent's background
  12831. image changes. [Fixes bug #80451]
  12832. 2007-01-17 Jonathan Pobst <[email protected]>
  12833. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  12834. 2007-01-17 Jonathan Pobst <[email protected]>
  12835. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  12836. [Fixes bug #80447, and probably speeds up things as well]
  12837. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12838. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  12839. * XplatUIWin32.cs: We need to recalculate NC size after changing
  12840. window style to toolwindow (otherwise the client rectangle will be
  12841. 3 pixels to small for some reason).
  12842. * MdiWindowManager.cs: Revert NC size calculations to match how
  12843. they are calculated only based on window styles (to match
  12844. Win32AdjustWindowRectEx, since otherwise when setting size or
  12845. location, Control will call Win32AdjustWindowRectEx to update client
  12846. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  12847. calculate a different value of client size causing another paint
  12848. (and flickering))
  12849. * InternalWindowManager.cs: When moving or resizing a window only
  12850. update size or location if they actually changed.
  12851. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  12852. (seems to match Windows behaviour better). Cleaned up
  12853. ManagedWindowDecorations to draw what's needed and nothing else
  12854. (was drawing borders and lines where they shouldn't be)
  12855. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  12856. (style = 0xFFFF) and takes into account caption height when
  12857. calculating window rectangle.
  12858. 2007-01-16 Everaldo Canuto <[email protected]>
  12859. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  12860. can be added to toolbar multiple times, we need to maintain a list of
  12861. button information for each positions.
  12862. 2007-01-16 Everaldo Canuto <[email protected]>
  12863. * ToolBar.cs: Some small stetic changes.
  12864. 2007-01-16 Jackson Harper <[email protected]>
  12865. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  12866. that allow us to have nested recalc = false blocks.
  12867. - Add paste support for images in the RichTextBox
  12868. * RichTextBox.cs: flush the text after the color is changed, so
  12869. the change takes effect.
  12870. - Use SuspendRecalc
  12871. - Some extra debugging info
  12872. * TextControl.cs: Tags no longer track their length, it is just
  12873. computed from the next tags length, this makes things a little
  12874. simpler and reduces places that we have to track length changes.
  12875. - Refactored the linetag class a little so we could make it
  12876. a base class for different kinds of tags
  12877. - Created a image tag, a tag that can have a single image inserted
  12878. into it
  12879. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  12880. that we can call suspend multiple times.
  12881. - Add some debugging methods
  12882. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12883. * MdiClient.cs: Add ActivatePreviousChild for
  12884. mdi child window navigation.
  12885. * Form.cs: Use MdiClient.ActivateNextChild/
  12886. ActivatePreviousChild instead of Form.SelectNextControl
  12887. to select the next/previous child since
  12888. SelectNextControl doesn't do it in the same order
  12889. as mdi children should do it.
  12890. 2007-01-16 Chris Toshok <[email protected]>
  12891. * Control.cs: remove container_selected field.
  12892. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12893. * MdiClient.cs: Update main form's ActiveChild when
  12894. updating keyboard focus for the mdi child.
  12895. 2007-01-16 Jonathan Pobst <[email protected]>
  12896. * Control.cs: PreferredSize fix.
  12897. * Form.cs: Add several 2.0 events, properties, and methods.
  12898. 2007-01-16 Gert Driesen <[email protected]>
  12899. * Form.cs: Provide meaningful message when MdiParent is assigned a
  12900. Form that is not an MdiContainer.
  12901. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12902. * MdiClient.cs: Update main form's ActiveChild when
  12903. activating a mdi child.
  12904. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12905. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  12906. doesn't have a menu.
  12907. * Form.cs: Request NCRecalc after creating a mdi child window.
  12908. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  12909. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  12910. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  12911. sends keyboard focus to the active child, or to the MdiClient
  12912. if there are no child forms.
  12913. 2007-01-15 Chris Toshok <[email protected]>
  12914. * ListView.cs: drop the *Internal overrides, just do our work in
  12915. ItemControl's WndProc instead.
  12916. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  12917. of the various controls, and forward the events properly (in the
  12918. same manner as MS) from the textbox to the UpDown. Also the
  12919. ActiveControl of the UpDownBase gets set properly now. Finally,
  12920. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  12921. * NumericUpDown.cs: set Text in the ctor.
  12922. * DomainUpDown.cs: call UpdateEditText in the ctor.
  12923. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  12924. so even a Selectable = false textbox can be focused if you click
  12925. in it. Go figure.
  12926. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  12927. just add their handling in their respective WndProc's. Also add
  12928. an explicit FocusInternal method that doesn't consult CanFocus
  12929. before calling Select(this).
  12930. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  12931. do our work in WndProc instead.
  12932. * TabControl.cs: same.
  12933. * ComboBox.cs: same.
  12934. 2007-01-15 Everaldo Canuto <[email protected]>
  12935. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  12936. Fixes #80006.
  12937. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  12938. * ListViewItem.cs:
  12939. * ThemeWin32Classic.cs: Don't draw the item text outside
  12940. item bounds in Details view, as well as use trimming.
  12941. Fixes bug #80376.
  12942. 2007-01-15 Jonathan Pobst <[email protected]>
  12943. * Form.cs: Implement Form.ShowIcon.
  12944. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  12945. null, which when combined with the DlgModalFrame window style removes
  12946. the icon from the title bar.
  12947. 2007-01-15 Jonathan Pobst <[email protected]>
  12948. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  12949. 2007-01-15 Everaldo Canuto <[email protected]>
  12950. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  12951. menu when mdi child windows theres a menu, uses insert to get icon
  12952. at first position. Partially fix #80006.
  12953. 2007-01-15 Jonathan Pobst <[email protected]>
  12954. * Clipboard.cs: Implement 2.0 methods.
  12955. 2007-01-15 Everaldo Canuto <[email protected]>
  12956. * Menu.cs: Implement Insert method of MenuItemCollection class
  12957. to fix MenuMerge.
  12958. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  12959. * ListView.cs: Implement 2.0 FindItemWithText method.
  12960. 2007-01-11 Everaldo Canuto <[email protected]>
  12961. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  12962. to calculate menu bar size. Fixes #80290.
  12963. 2007-01-11 Everaldo Canuto <[email protected]>
  12964. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  12965. 2007-01-11 Chris Toshok <[email protected]>
  12966. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  12967. initial form.
  12968. 2007-01-11 Chris Toshok <[email protected]>
  12969. * LinkLabel.cs: make sure to call base.Select in our Select method
  12970. if it turns out we're going to be selected (i.e. if we have a link
  12971. that is going to receive focus). That way our container's
  12972. ActiveControl is updated properly.
  12973. 2007-01-11 Chris Toshok <[email protected]>
  12974. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  12975. they have 1 or more links. this fixes the crash gert reported.
  12976. 2007-01-11 Andreia Gaita <[email protected]>
  12977. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  12978. anymore.
  12979. * Control.cs (Controls.Add): Check if control to be added to the collection
  12980. is a top level control, and throw an ArgumentException if it is.
  12981. Remove ContainerSelectedFlag, not needed anymore.
  12982. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  12983. top most control doesn't activate the form. This fixes a problem in the
  12984. MessageBox, where the default button wouldn't get focus because the form
  12985. was activated before being Loaded - when the Owner is set, SetTopMost is
  12986. called, and it would activate it.
  12987. 2007-01-11 Jonathan Pobst <[email protected]>
  12988. * Button.cs: When clicked and setting the parent form's DialogResult,
  12989. use FindForm instead of Parent, since parent could be a container
  12990. control and not the Form. Fixes bug #80495.
  12991. 2007-01-10 Chris Toshok <[email protected]>
  12992. * Form.cs: move the call to SendControlFocus into the same
  12993. is_loaded check.
  12994. 2007-01-10 Chris Toshok <[email protected]>
  12995. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  12996. It breaks in the face of the new ActiveControl stuff, and should
  12997. be unnecessary.
  12998. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  12999. activecontrol's focus if it's not already set, after we set
  13000. ActiveControl, but before we call OnActivated. Re-fixes #79667
  13001. after the previous focus/active control fixes regressed it.
  13002. * Control.cs: reindent some code.
  13003. 2007-01-10 Chris Toshok <[email protected]>
  13004. * Splitter.cs: clearing some outstanding changes from my tree.
  13005. Replace all accesses (not writes) to the internal dock_style field
  13006. with the Dock property.
  13007. 2007-01-10 Chris Toshok <[email protected]>
  13008. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  13009. FireValidated virtual.
  13010. * Form.cs: override and don't chain up calls to FireEnter and
  13011. FireLeave.
  13012. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  13013. * ListView.cs: Add more text padding space when using
  13014. auto resize for columns (the previous value didn't work fine).
  13015. * ThemeWin32Classic.cs: Update text position inside columns,
  13016. to match the appeareance of .Net.
  13017. * ColumnHeader.cs: When using auto resize, only the Width should
  13018. depend on the sub items, not the Height. Also, set width after
  13019. auto resizing (the value of Width should never remain as -1 or -2).
  13020. 2007-01-10 Chris Toshok <[email protected]>
  13021. * Application.cs: fix compilation errors when debug is enabled.
  13022. 2007-01-10 Chris Toshok <[email protected]>
  13023. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  13024. add some nice ascii art pictures and explanation of the process).
  13025. (GetMostDeeplyNestedActiveControl): new utility function we need
  13026. because our ActiveControl can refer to a child container with its
  13027. own ActiveControl.
  13028. * Form.cs (OnActivated): remove the call to SelectActiveControl
  13029. from here, since you can override this method and not chain up,
  13030. and winforms still sets the active control.
  13031. (OnCreateControl): also remove the unnecessary SelectActiveControl
  13032. call from here.
  13033. (WndProc): it's actually called from the WM_ACTIVATE block, just
  13034. before calling OnActivated.
  13035. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  13036. inside the else. the ActiveControl setter will end up setting
  13037. focus on @control. This keeps us from setting it again (and
  13038. generating an extra LostFocus/GotFocus pair).
  13039. (Select (bool, bool)): reindent.
  13040. 2007-01-10 Jonathan Pobst <[email protected]>
  13041. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  13042. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  13043. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  13044. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  13045. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  13046. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  13047. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  13048. ToolStripTextBox.cs: Another wave of corcompare work.
  13049. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  13050. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  13051. the Width property.
  13052. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  13053. methods by callling Column.AutoResize method on columns.
  13054. 2007-01-09 Jonathan Pobst <[email protected]>
  13055. * Control.cs: Provide proper implementations of PreferredSize
  13056. and GetPreferredSize (2.0).
  13057. 2007-01-09 Jonathan Pobst <[email protected]>
  13058. * Form.cs: Remove one character (!) to make my previous OnClosing
  13059. stuff work for modal windows like MessageBox.
  13060. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  13061. * ListView.cs:
  13062. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  13063. ListView.Columns to get the last displayed column. Fixes #80452.
  13064. 2007-01-09 Everaldo Canuto <[email protected]>
  13065. * Label.cs, LinkLabel.cs: Source code identation fixes.
  13066. 2007-01-08 Everaldo Canuto <[email protected]>
  13067. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  13068. we dont need to invalidate only borders because when we invalidate four
  13069. border lines the invalidate's generates a complete redraw of button,
  13070. because it now invalidate a complete rect some other redraws operations
  13071. are fixed. Fixes #80196.
  13072. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  13073. Remove ToolBarInvalidateEntireButton as it is not used.
  13074. 2007-01-08 Jonathan Pobst <[email protected]>
  13075. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  13076. called for 2.0 profile.
  13077. * CloseReason.cs: Make class internal for 1.1.
  13078. 2007-01-08 Jonathan Pobst <[email protected]>
  13079. * ToolStripManager.cs: Implement FindToolStrip functionality.
  13080. * ToolStrip.cs: Register and unregister with ToolStripManager.
  13081. 2007-01-07 Jonathan Pobst <[email protected]>
  13082. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  13083. to ArrangedElementCollection. Implemented this with as few #if's as
  13084. possible (which is still too many).
  13085. 2007-01-07 Jonathan Pobst <[email protected]>
  13086. * Control.cs: Implement SizeFromClientSize() [2.0].
  13087. 2007-01-07 Everaldo Canuto <[email protected]>
  13088. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  13089. use Theme.BorderSize to calculate area instead of static value 1,
  13090. by the way use new BorderStaticSize instead Border3DSize when
  13091. border_static is true. Fixes #79537.
  13092. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  13093. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  13094. it is not needed.
  13095. 2007-01-06 Everaldo Canuto <[email protected]>
  13096. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  13097. 2007-01-06 Everaldo Canuto <[email protected]>
  13098. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  13099. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  13100. * Hwnd.cs:
  13101. - border_static field added, it will used to define when a control
  13102. theres 3D border but it must be static (thin).
  13103. - In GetWindowRectangle use Theme.BorderSize to calculate area
  13104. instead of static value 1, by the way use new BorderStaticSize instead
  13105. Border3DSize when border_static is true.
  13106. * XplatUIX11.cs, XplatUIOSX.cs:
  13107. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  13108. * Theme.cs: BorderStaticSize field added.
  13109. 2007-01-05 Everaldo Canuto <[email protected]>
  13110. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  13111. 2007-01-05 Everaldo Canuto <[email protected]>
  13112. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  13113. mimic same behavior than win32 that set border only in CreateParams,
  13114. it fix problems under CreateParams overrides. Fix #79442 and partial
  13115. fix #79537.
  13116. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  13117. of thi control you must call recreate handle.
  13118. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  13119. need to do anything as RecreateHangle will take care about borders.
  13120. 2007-01-05 Mike Kestner <[email protected]>
  13121. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  13122. cycles between the ItemControl and parent. Fixes #80388.
  13123. 2007-01-05 Gert Driesen <[email protected]>
  13124. * Control.cs: Lazy init layout engine. Do not directly use
  13125. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  13126. 2007-01-05 Chris Toshok <[email protected]>
  13127. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  13128. unless our list manager has changed (i.e. unless we have reason to
  13129. believe our columns have changed). Fixes #80422.
  13130. also, disable the call do BindColumns in
  13131. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  13132. 1.1 the event isn't raised in response to a column addition on a
  13133. table.)
  13134. 2007-01-05 Jonathan Pobst <[email protected]>
  13135. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  13136. that inheritors can not call it if they choose. Fixes bug #80456.
  13137. 2007-01-05 Andreia Gaita <[email protected]>
  13138. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  13139. doesn't blow up with a null exception on marshalling.
  13140. 2007-01-05 Jonathan Pobst <[email protected]>
  13141. * Control.cs: Implement several 2.0 protected properties and methods.
  13142. Ensure that all necessary events are being called when properties
  13143. are set.
  13144. 2007-01-05 Mike Kestner <[email protected]>
  13145. * ListView.cs: implement PgUp/PgDn for Details view. Also
  13146. fixes First/LastVisibleIndex to use the item_control.ClientRect
  13147. instead of the parent control. Fixes #80378.
  13148. 2006-01-05 Atsushi Enomoto <[email protected]>
  13149. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  13150. determine whether to use yard-pound or not (bug #78399).
  13151. 2006-01-04 Alexander Olk <[email protected]>
  13152. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  13153. problems. So it is time to bring back the old popupbutton colors.
  13154. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  13155. * ColumnHeader.cs:
  13156. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  13157. property by using the internal information of the
  13158. columns order in ListView.
  13159. 2007-01-04 Jonathan Pobst <[email protected]>
  13160. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  13161. Add 2.0 Tag properties.
  13162. * LinkArea.cs: Add 2.0 ToString method.
  13163. 2007-01-03 Chris Toshok <[email protected]>
  13164. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  13165. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  13166. when we're editing, which fixes #80047.
  13167. 2007-01-03 Chris Toshok <[email protected]>
  13168. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  13169. #80404.
  13170. 2007-01-03 Jonathan Pobst <[email protected]>
  13171. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  13172. property and implementation.
  13173. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  13174. for MdiWindowListItem property.
  13175. * ToolStripDropDown.cs: Don't consider hidden menu items while
  13176. laying out the menu.
  13177. 2007-01-03 Andreia Gaita <[email protected]>
  13178. * SendKeys.cs: window handle is not needed in win32, so just
  13179. get the active window for X after parsing keys and don't use
  13180. it when building the message; it is passed by parameter to the
  13181. Xplat method and used there to build the message instead. Also,
  13182. wait for events to be processed on SendWait, as opposed to Send,
  13183. which doesn't wait :) Playing with threads and Send() completely
  13184. hangs on ms.net, only SendWait() works.
  13185. XplatUIX11.cs
  13186. X11Display.cs: Check for valid window handle.
  13187. 2007-01-03 Jackson Harper <[email protected]>
  13188. * TextControl.cs: Need to prevent wrap calculations when replacing
  13189. text (this was there before i removed it accidently).
  13190. - Don't update the cursor during the positioning, just set it to
  13191. selection_start at the end of the operaion.
  13192. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  13193. * Control.cs:
  13194. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  13195. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  13196. * MonthCalendar.cs: Added Click and DoubleClick events again,
  13197. but this time they only hide Control's Click and DoubleClick.
  13198. 2007-01-03 Gert Driesen <[email protected]>
  13199. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  13200. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  13201. 2007-01-02 Jackson Harper <[email protected]>
  13202. * TextBoxBase.cs: We move the caret with the split now, so we
  13203. don't need to explicitly move the caret after splitting. This
  13204. fixes the caret bumping down an extra line on Enter.
  13205. 2007-01-02 Miguel de Icaza <[email protected]>
  13206. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  13207. 2.72).
  13208. * ScrollableControl.cs: Add Scroll event.
  13209. 2007-01-02 Mike Kestner <[email protected]>
  13210. * ListView.cs: one more try with help from [email protected]
  13211. to fix all hdr height padding codepaths. Fixes #80207.
  13212. 2007-01-02 Chris Toshok <[email protected]>
  13213. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  13214. setting it to the Control defaults anyway, and it being after the
  13215. Dock set was screwing up layout.
  13216. (set_Dock): don't short circuit out of setting base.Dock. Also,
  13217. no need to call UpdateStatusBar here, as it'll be re-layed out if
  13218. it needs to be.
  13219. 2007-01-02 Mike Kestner <[email protected]>
  13220. * ListView.cs: patch from [email protected] to add padding
  13221. to header height for width == -1. Fixes the rest of #80207.
  13222. 2007-01-02 Mike Kestner <[email protected]>
  13223. * ListView.cs: rework the mouse event forwarding everaldo added
  13224. to translate the coordinates to the parent control not
  13225. raise the parent events until after we've done our work. Hover
  13226. needs more work, in the case where HoverSelection is on, because
  13227. the item control receives more than one MouseHover per Enter
  13228. event, so we need to ensure only the "first" hover gets forwarded.
  13229. Opening a minor bug for that.
  13230. 2007-01-02 Gert Driesen <[email protected]>
  13231. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  13232. * ListControl.cs: Implemented AllowSelection property. Removed extra
  13233. tabs.
  13234. * ListBox.cs: Implemented AllowSelection property.
  13235. 2007-01-02 Everaldo Canuto <[email protected]>
  13236. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  13237. SelectedItem, it prevent for errors when you must disable item
  13238. before perform click. Fixes #80409.
  13239. 2007-01-02 Everaldo Canuto <[email protected]>
  13240. * MenuAPI.cs: Prevent second level and beyond submenus to close
  13241. until first level when move out side of popup.
  13242. 2007-01-02 Everaldo Canuto <[email protected]>
  13243. * MenuAPI.cs:
  13244. - Down submenu positin in three pixels.
  13245. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  13246. 2007-01-02 Everaldo Canuto <[email protected]>
  13247. * ThemeWin32Classic.cs:
  13248. - Fix popup menu size adding one pixel on the top.
  13249. - Down menu item border from two to one to mimic Win32.
  13250. - Some source identation fixes.
  13251. 2007-01-01 Everaldo Canuto <[email protected]>
  13252. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  13253. position of menu arrows, it fix wrong arrow size.
  13254. 2007-01-01 Everaldo Canuto <[email protected]>
  13255. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  13256. instead of line, it simplify draw operation and fix it using 3D
  13257. borders to mimic Win32.
  13258. 2007-01-01 Jonathan Pobst <[email protected]>
  13259. * StatusStrip.cs: Add implementation of the sizing grip.
  13260. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  13261. StatusStrip rendering.
  13262. 2006-12-31 Chris Toshok <[email protected]>
  13263. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  13264. override the layout style (anchor/dock) of the control. assign to
  13265. Dock instead. Fixes bug #80416.
  13266. * ToolStrip.cs: same.
  13267. 2006-12-31 Andreia Gaita <[email protected]>
  13268. * ContainerControl.cs: Use ContainerSelected flag to check if
  13269. a Container is directly selected, or if Select is called on a
  13270. non-container. If a container is directly selected, focus events
  13271. should not be raised.
  13272. Apply #80411 patch to throw exception on set_ActiveControl if
  13273. control is the same as the current one.
  13274. * Control.cs: Use ContainerSelected flag (see above).
  13275. Add invalidation check to raise event but not invalidate if
  13276. dimensions are 0.
  13277. Apply #80411 patch.
  13278. 2006-12-31 Everaldo Canuto <[email protected]>
  13279. * MenuAPI.cs: After click, dont close popup menu when menu is
  13280. ContextMenu. Fixes #80399.
  13281. 2006-12-30 Chris Toshok <[email protected]>
  13282. * ContainerControl.cs: make sure we throw the exception if the
  13283. container control doesn't contain the control we're setting
  13284. ActiveControl to.
  13285. 2006-12-30 Chris Toshok <[email protected]>
  13286. * Control.cs (SetTopLevel): fix the exception raised by
  13287. SetTopLevel for child controls.
  13288. (set_Anchor): call UpdateDistances when setting the anchor type.
  13289. This fixes bug #80336.
  13290. 2006-12-29 Gert Driesen <[email protected]>
  13291. * Theme.cs: For now, revert back to 8pt font.
  13292. 2006-12-29 Everaldo Canuto <[email protected]>
  13293. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  13294. Fixes #80395.
  13295. 2006-12-29 Chris Toshok <[email protected]>
  13296. * Control.cs: reorder the code in OnResize to give the same event
  13297. ordering as MS.
  13298. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  13299. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  13300. TileHorizontally and TileVertically.
  13301. 2006-12-29 Alexander Olk <[email protected]>
  13302. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  13303. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  13304. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  13305. Corrected copyright and email adress.
  13306. 2006-12-29 Gert Driesen <[email protected]>
  13307. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  13308. of Exception in FullPath property if no TreeView is associated with
  13309. the TreeNode.
  13310. 2006-12-29 Gert Driesen <[email protected]>
  13311. * Theme.cs: Marked default_font as private, and initialize it in ctor
  13312. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  13313. on 2.0 profile.
  13314. * ThemeGtk.cs: Removed default_font intialization.
  13315. * ThemeWin32Classic.cs: Removed default_font initialization.
  13316. 2006-12-28 Chris Toshok <[email protected]>
  13317. * Control.cs: fix a couple of place where we were creating handles
  13318. more aggressively than we should be. Fixes ControlRefresh unit
  13319. tests.
  13320. 2006-12-28 Chris Toshok <[email protected]>
  13321. * Control.cs: contrary to what the comment said, Control.Dock does
  13322. not supercede Control.Anchor - the last one you assign to decides
  13323. the layout behavior. so we need to keep track of which was the
  13324. last set. Also, fix some of the affected property arguments in
  13325. PerformLayout calls, and remove an redundant parent.PerformLayout
  13326. call in OnResized.
  13327. Add a VisibleInternal property, which returns is_visible. We
  13328. can/should get rid of all the usage of this field elsewhere.
  13329. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  13330. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  13331. control style, not DoubleBuffer. Added UseDoubleBuffering property
  13332. that indicates whether doublebuffering is enabled and supported.
  13333. (comment from and code based on Gert Driesen's patch in #80324).
  13334. Fixes #80324.
  13335. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  13336. * Control.cs: Fixed a NRE.
  13337. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  13338. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  13339. for 2.0.
  13340. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  13341. * Control.cs: Rewrote double buffering, now a seperate
  13342. class handles all the buffering, no Graphics is disposed of
  13343. until the painting is finished (earlier implementation
  13344. would crash if the control was resized in the OnPaint,
  13345. since it would cause the double buffer to be recreated
  13346. and the old one disposed), a separate Graphics is
  13347. created for every paint (MS behaviour and anyways the state
  13348. of the Graphics would have to be saved and restored otherwise)
  13349. * XplatUIDriver.cs:
  13350. * XplatUIX11.cs:
  13351. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  13352. so that we can get the graphics for the back buffer without
  13353. having to create a new one and remove the offscreen_dc parameter
  13354. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  13355. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  13356. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  13357. Also make virtual all the key-related methods.
  13358. * ListViewItem.cs: Make virtual the key related methods for
  13359. ListViewSubItemCollection.
  13360. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  13361. * ListView.cs:
  13362. * ListViewItem.cs:
  13363. * ThemeWin32Classic.cs:
  13364. * Theme.cs: Initial support for Tile view in ListView,
  13365. as well as the implementation of the required bits for it (Item
  13366. and Subitem).
  13367. 2006-12-27 Gert Driesen <[email protected]>
  13368. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  13369. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  13370. Provide useful exception messages.
  13371. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  13372. * TrackBar.cs: Remove a warning.
  13373. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  13374. when used by DateTimePicker, fixes #80287. This also requires that
  13375. MonthCalendar implements it's own drawing for the yearly updown control,
  13376. otherwise the Capture tracking would be too complicated. Removed the Click
  13377. and DoubleClick events (according to comments they were hiding the base class
  13378. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  13379. raise these events, not that they cannot be raised. It is possible to raise
  13380. them by calling OnClick and OnDoubleClick). Added two internal fields in
  13381. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  13382. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  13383. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  13384. event, no longer needed.
  13385. 2006-12-27 Gert Driesen <[email protected]>
  13386. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  13387. true if new value differs from current value.
  13388. 2006-12-27 Gert Driesen <[email protected]>
  13389. * Control.cs: ControlCollection.Count must be public. Fixed build of
  13390. unit tests.
  13391. 2006-12-27 Gert Driesen <[email protected]>
  13392. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  13393. 2006-12-27 Gert Driesen <[email protected]>
  13394. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  13395. 2006-12-26 Everaldo Canuto <[email protected]>
  13396. * Control.cs: Invalidates control including when Width and Height is
  13397. equal zero or is not visible, only Paint event must be care about
  13398. this. Fixes #79913.
  13399. 2006-12-26 Chris Toshok <[email protected]>
  13400. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  13401. more corcompare work.
  13402. * DataGridView.cs: fix compiler warning.
  13403. * ColumnHeader.cs: some corcompare work, and also take the
  13404. opportunity to make the internal fields private.
  13405. * ListView.cs: fix the fallout from the above field change.
  13406. 2006-12-26 Jonathan Pobst <[email protected]>
  13407. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  13408. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  13409. ToolStripTextBox.cs: Fixes to events and corcompare.
  13410. 2006-12-26 Everaldo Canuto <[email protected]>
  13411. * ListView.cs: Call owner.OnMousexx event to propagate events from
  13412. item to ListView. Fixes #80367.
  13413. 2006-12-26 Gert Driesen <[email protected]>
  13414. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  13415. if value is less than one. ItemHeight should not be set to a value
  13416. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  13417. Removed extra tabs.
  13418. 2006-12-26 Jonathan Pobst <[email protected]>
  13419. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  13420. * ToolStripStatusLabel.cs: Add Spring for Moma.
  13421. 2006-12-26 Gert Driesen <[email protected]>
  13422. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  13423. Fixed code formatting. Removed debug code.
  13424. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  13425. 2006-12-26 Gert Driesen <[email protected]>
  13426. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  13427. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  13428. ArgumentOutOfRangeException if ColumnCount is negative. In
  13429. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  13430. less than 4 or higher than 32768.
  13431. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  13432. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  13433. Fixed IsFormatProviderDefault to return true if FormatProvider has
  13434. not been explicitly set.
  13435. 2006-12-25 Chris Toshok <[email protected]>
  13436. * Application.cs: add a couple of 2.0 events.
  13437. 2006-12-25 Chris Toshok <[email protected]>
  13438. * Control.cs: fix compiler warning.
  13439. * AxHost.cs: corcompare fixes.
  13440. * ApplicationContext.cs: corcompare fixes.
  13441. 2006-12-25 Chris Toshok <[email protected]>
  13442. * Control.cs: only update dist_right/dist_bottom if the
  13443. width/height is > 0. this fixes anchored controls being resized
  13444. smaller until they disappear and then resized larger again.
  13445. 2006-12-25 Chris Toshok <[email protected]>
  13446. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  13447. since they're nothing more than X/Left and Y/Top, respectively.
  13448. Also, move back to a per-control Bitmap/Graphics for
  13449. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  13450. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  13451. Height.
  13452. 2006-12-25 Miguel de Icaza <[email protected]>
  13453. * MessageBox.cs: Implemented overload that takes a new "bool
  13454. displayHelpButton" by adding a new internal field "show_help".
  13455. When clicked this will raise the HelpRequested on the owner or the
  13456. main form.
  13457. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  13458. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  13459. * ListView.cs: Add support ColumnWidthChanged and
  13460. ColumnWidthChanging.
  13461. Add support for ColumnReordered event.
  13462. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  13463. reorder.
  13464. Very nice codebase!
  13465. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  13466. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  13467. 2006-12-24 Chris Toshok <[email protected]>
  13468. * GridTablesFactory.cs: 2.0 corcompare work.
  13469. * ToolStripContainer.cs: add "override" to
  13470. ContextMenuStripChanged, and remove the local event object.
  13471. * ToolStripDropDown.cs: same with a couple properties.
  13472. * ToolStripPanel.cs: same with AutoSizeChanged event.
  13473. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  13474. * Form.cs: add the remaining 2.0 events, and do some corcompare
  13475. attribute work.
  13476. * DateTimePicker.cs: add "new" to padding.
  13477. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  13478. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  13479. * DataGridView.cs: PaddingChanged is overridden.
  13480. 2006-12-24 Chris Toshok <[email protected]>
  13481. * Control.cs: corecompare work here too.
  13482. * DataGridViewElement.cs, DataGridView.cs,
  13483. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  13484. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  13485. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  13486. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  13487. work.
  13488. 2006-12-24 Miguel de Icaza <[email protected]>
  13489. * Control.cs: Switched the error message on the console for a
  13490. todo. A review of the code will have to cope with this anyways
  13491. (since its a large feature, it is in our radar) and it was
  13492. producing too much output when running PDN.
  13493. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  13494. changes. Applications depend on this (PDN 2.72)
  13495. 2006-12-23 Chris Toshok <[email protected]>
  13496. * TableLayoutSettings.cs: finish up the corcompare work for this
  13497. class.
  13498. 2006-12-23 Chris Toshok <[email protected]>
  13499. * Control.cs: make SetImplicitBounds internal, do some futzing
  13500. with LayoutEngine so that it's available in 1.1, and remove the
  13501. entire duplicated code mess from PerformLayout. Use
  13502. System.Windows.Forms.Layout.DefaultLayout instead.
  13503. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  13504. 2006-12-23 Jonathan Pobst <[email protected]>
  13505. * Form.cs: Add MainMenuStrip property.
  13506. 2006-12-23 Jonathan Pobst <[email protected]>
  13507. * Control.cs: Add ContextMenuStrip property and implementation.
  13508. Fix ContextMenu implementation to show menu centered on control when
  13509. activated using the keyboard instead of showing at screen (0,0).
  13510. * ToolStripDropDown.cs: Fix needed overload of Show ().
  13511. 2006-12-23 Everaldo Canuto <[email protected]>
  13512. * Menu.cs: Name property added for 2.0 profile.
  13513. 2006-12-23 Everaldo Canuto <[email protected]>
  13514. * Menu.cs: Update information about FindMenuItem, method to be
  13515. implemented soon.
  13516. 2006-12-23 Everaldo Canuto <[email protected]>
  13517. * MenuAPI.cs: When deselect items deselect also selected subitems.
  13518. 2006-12-23 Everaldo Canuto <[email protected]>
  13519. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  13520. FindSubItemByCoord to found itens that is not active, also an
  13521. cheking added to FindSubItemByCoord to search for items only
  13522. in visible popup windows. Fixes #80274.
  13523. 2006-12-22 Everaldo Canuto <[email protected]>
  13524. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  13525. internal property, it be care about change ExStyle.
  13526. 2006-12-22 Andreia Gaita <[email protected]>
  13527. * ContainerControl.cs: set activeControl for parent forms up the
  13528. tree when the new activecontrol is a container.
  13529. When validating the active control, if it is a container, also
  13530. raise up the validation for it's active control. Fixes #80280
  13531. * Control.cs: Add internal property flag and check to prevent
  13532. Focus events from getting raised when Select() is called for
  13533. a ContainerControl. There are still too many focus events being
  13534. raised at the moment though.
  13535. Cleaned up the code a bit.
  13536. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  13537. * Control.cs: Added all missing 2.0 events.and
  13538. fixed a couple of corcompare issues.
  13539. * TrackBar.cs: Implemented missing 2.0 bits.
  13540. * MonthCalendar.cs,
  13541. * DateTimePicker.cs,
  13542. * MdiClient.cs: Fixed some corcompare issues.
  13543. 2006-12-21 Jonathan Pobst <[email protected]>
  13544. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  13545. SplitterPanel.cs: corecompare work.
  13546. 2006-12-21 Jonathan Pobst <[email protected]>
  13547. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  13548. Clean up warnings for BackgroundImageChanged and PaddingChanged
  13549. events now that they are implemented in Control.cs.
  13550. 2006-12-21 Jonathan Pobst <[email protected]>
  13551. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  13552. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  13553. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  13554. of TableLayoutPanel and supporting cast.
  13555. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  13556. * XplatUIWin32.cs:
  13557. - GrabWindow now confines the mouse pointer to the confine window.
  13558. - Added Win32ClipCursor and Win32GetClipCursor.
  13559. * Control.cs:
  13560. - Added CaptureWithConfine to be able to capture and confine
  13561. mouse pointer.
  13562. * InternalWindowManager.cs:
  13563. - Call CaptureWithConfine instead of Capture if we're an
  13564. MdiChild (fixes #79982).
  13565. 2006-12-21 Chris Toshok <[email protected]>
  13566. * DataGrid.cs: guard against the initial state of selection, where
  13567. selection_start == -1. make sure we only select from index >= 0.
  13568. Fixes bug #80291.
  13569. 2006-12-21 Chris Toshok <[email protected]>
  13570. * Control.cs: we don't need to be so draconian with
  13571. UpdateDistances, and we thusly don't need to call it before
  13572. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  13573. 2006-12-21 Daniel Nauck <[email protected]>
  13574. * ComboBox.cs,
  13575. TextBox.cs: Implemented AutoComplete properties.
  13576. 2006-12-20 Chris Toshok <[email protected]>
  13577. * DataGridView*.cs: some corecompare work.
  13578. 2006-12-20 Jackson Harper <[email protected]>
  13579. * XplatUIX11.cs: We need to hide the caret when deleting it,
  13580. otherwise you get carets left lying around everywhere.
  13581. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  13582. prevents getting some weird half drawn caret tracers when
  13583. scrolling.
  13584. * TextControl.cs: Attempt to reduce the number of times we need to
  13585. recreate the caret.
  13586. 2006-12-20 Gert Driesen <[email protected]>
  13587. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  13588. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13589. * DateTimePicker.cs:
  13590. - Implemented missing 2.0 bits.
  13591. - Changed some default values to match MS.
  13592. 2006-12-20 Jackson Harper <[email protected]>
  13593. * TextBoxBase.cs: When changing the font across the document we
  13594. can't recalculate after changing each line, since that will cahnge
  13595. the line count.
  13596. - PreferredHeight is a little different than i thought.
  13597. - When backspacing, move the caret before we do the actual char
  13598. delete, because when that delete crosses a wrap boundary the
  13599. positional information will change.
  13600. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13601. * Control.cs: Added some missing 2.0 bits:
  13602. BackgroundImageLayout, BackgroundImageLayoutChanged,
  13603. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  13604. add IBindableComponent and IDropTarget implementation.
  13605. * MonthCalendar.cs:
  13606. - Added all missing 2.0 features:
  13607. BackgroundImageLayout, RightToLeftLayout,
  13608. OnHandleDestroyed, RightToLeftLayoutChanged,
  13609. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  13610. PaddingChanged.
  13611. - Rewrote all the BoldDate code, it was completely broken.
  13612. - Fixed all the tests (the tests can now be re-enabled, the
  13613. problems were not with the tests, but with the control, it was
  13614. mostly broken).
  13615. * DateTimePicker.cs: Changed the location where the
  13616. MonthCalendar is shown.
  13617. 2006-12-19 Chris Toshok <[email protected]>
  13618. * DataGridView.cs: add IDropTarget implementation.
  13619. * ToolStripPanel.cs: add IDropTarget implementation.
  13620. 2006-12-19 Jackson Harper <[email protected]>
  13621. * TextControl.cs: soft now means something different than what it
  13622. used to mean, we want to move the caret regardless of whether or
  13623. not this break was soft (would we really have wanted the caret
  13624. to not move with the break in the old context?)
  13625. * TreeView.cs: Make sure we factor in the vert scrollbar when
  13626. calculating the horizontal scrollbar's maximum.
  13627. 2006-12-19 Andreia Gaita <[email protected]>
  13628. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  13629. check for keywords in alternate casing, close bug #80049.
  13630. 2006-12-19 Chris Toshok <[email protected]>
  13631. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  13632. methods (which all do nothing).
  13633. * IDropTarget.cs: add the 4 missing methods.
  13634. 2006-12-19 Chris Toshok <[email protected]>
  13635. * TableLayoutRowStyleCollection.cs: corcompare work.
  13636. * TableLayoutSettings.cs: same.
  13637. * TableLayoutStyle.cs: same.
  13638. * TableLayoutColumnStyleCollection.cs: same.
  13639. 2006-12-19 Jonathan Pobst <[email protected]>
  13640. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  13641. TableLayoutPanel I've had in my local tree for way too long.
  13642. 2006-12-19 Miguel de Icaza <[email protected]>
  13643. * TableLayoutSettings.cs: Finish the public API (still needs all
  13644. the logic to update on changes).
  13645. * TableLayoutPanelCellPosition.cs: new file.
  13646. * TableLayoutRowStyleCollection.cs,
  13647. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  13648. TableLayoutSettings.cs: Track the final 2.0 table api.
  13649. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13650. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  13651. and Image List 2.0 members for ColummnHeader.
  13652. * ListView.cs: Add key-related 2.0 methods for
  13653. ColumnHeaderCollection.
  13654. 2006-12-19 Gert Driesen <[email protected]>
  13655. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  13656. ArgumentNullException if items argument is null. Ignore null item in
  13657. arrays. Removed extra tabs.
  13658. 2006-12-19 Gert Driesen <[email protected]>
  13659. * MonthCalendar.cs: Fixed InvalidCastException.
  13660. 2006-12-19 Jackson Harper <[email protected]>
  13661. * TextControl.cs: Don't increment the position here.
  13662. - When calculating char positions only add in the line break size
  13663. for hard line breaks.
  13664. 2006-12-19 Andreia Gaita <[email protected]>
  13665. * SendKeys.cs: Changed some things to match ms.net behaviour
  13666. when parsing shifted capital letters.
  13667. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  13668. Add window handle as parameter to SendInput. X11 needs the
  13669. window handle, and the handle being passed to it in the keys
  13670. queue is the active control handle (which windows needs), not
  13671. the window handle.
  13672. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  13673. to support SendKeys on X.
  13674. * X11Keyboard: Implement helper method to lookup a linux keycode
  13675. given the virtual keycode. Added table of keycode-2-virtualkey
  13676. values to support this.
  13677. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13678. * ListView.cs: Add support for SelectedIndexCollection
  13679. and SelectedItemCollection 2.0 methods. Implement support
  13680. for ImageKey too.
  13681. * ListViewItem.cs: Add support for ListViewSubItemCollection
  13682. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  13683. (it shouldn't call Clear).
  13684. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  13685. 2006-12-19 Jackson Harper <[email protected]>
  13686. * RichTextBox.cs:
  13687. * TextBoxBase.cs: New args for FormatText
  13688. * TextControl.cs: Rewrote the main drawing method, this version
  13689. feels a little easier to understand and debug to me. Hopefully it
  13690. does to others also
  13691. - Fix FormatText to OR in the new formating values. Added
  13692. FormatSpecified param, basically this works in the same way as
  13693. BoundsSpecified in Control.
  13694. - Set the caret properties when the caret is positioned.
  13695. - When wrapping text make sure that we calculate the width of the
  13696. last character
  13697. - when calculating alignments we might have wrapped down to the
  13698. next line, so don't search for an individual tag, search for the
  13699. end of the line
  13700. - We need to invalidate the selection area when we replace the
  13701. selection.
  13702. 2006-12-19 Daniel Nauck <[email protected]>
  13703. * Application.cs: add Restart () 2.0 support
  13704. 2006-12-18 Everaldo Canuto <[email protected]>
  13705. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  13706. property. Fixes #80268.
  13707. 2006-12-18 Everaldo Canuto <[email protected]>
  13708. * MenuAPI.cs: Dont trigger select event when closes top menu
  13709. item. Fixes #80270.
  13710. 2006-12-18 Everaldo Canuto <[email protected]>
  13711. * MenuAPI.cs: When you click on menuitem only trigger onselect
  13712. event for top menu itens. Fixes #80271.
  13713. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13714. * MdiWindowManager.cs: Make IconicBounds depend on
  13715. the bottom of MdiClient, not the top (fixes #80267)
  13716. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13717. * MdiClient.cs: Added missing 2.0 attribute
  13718. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  13719. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  13720. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  13721. 2006-12-18 Everaldo Canuto <[email protected]>
  13722. * MenuAPI.cs: Fix click when menuitem is not popup,
  13723. this regression was caused by last commit (#80272).
  13724. 2006-12-17 Everaldo Canuto <[email protected]>
  13725. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  13726. fire click event or close menu. Fixes #80272.
  13727. 2006-12-17 Daniel Nauck <[email protected]>
  13728. * ListViewHitTestInfo.cs: add
  13729. 2006-12-17 Daniel Nauck <[email protected]>
  13730. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  13731. * FlatButtonAppearance.cs: add
  13732. * DockingAttribute.cs: add
  13733. 2006-12-17 Chris Toshok <[email protected]>
  13734. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  13735. and rebind our columns when it does - this way, if you make
  13736. changes to the DataTable (or set the Table attribute on a DataView
  13737. after setting it as the DataGrid's DataSource, the changes are
  13738. made visible.) Fixes bug #80107.
  13739. 2006-12-17 Daniel Nauck <[email protected]>
  13740. * ListViewGroup.cs: add internal Location property for layouting.
  13741. * Theme.cs: add abstract ListViewGroupHeight function.
  13742. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  13743. 2006-12-16 Andreia Gaita <[email protected]>
  13744. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  13745. Added reset of selected index to 0 when adding first tab page.
  13746. Fixes #80264
  13747. * NumericUpDown.cs: Fix NET_2_0 check
  13748. 2006-12-16 Daniel Nauck <[email protected]>
  13749. * ListViewGroup.cs: fixed DefaultValueAttribute value
  13750. 2006-12-16 Daniel Nauck <[email protected]>
  13751. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  13752. 2006-12-15 Miguel de Icaza <[email protected]>
  13753. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  13754. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  13755. ScrollableControl.cs: Add a handful of methods that are
  13756. overwritten in 2.0
  13757. 2006-12-15 Chris Toshok <[email protected]>
  13758. * XplatUIWin32.cs: initial implementation of the Reversible
  13759. drawing functions. there are some problems. DrawReversibleFrame
  13760. doesn't seem to work at all for Dashed FrameStyle, and in the
  13761. Thick case there are drawing errors at the corners (we probably
  13762. need to bind Rectangle instead of doing moveto/lineto's.)
  13763. 2006-12-16 Andreia Gaita <[email protected]>
  13764. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  13765. to send blocks of key messages. Send accumulates keys to send with Flush,
  13766. while SendWait sends all keys immediately.
  13767. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  13768. XplatUIX11.cs, XplatUIX11-new.cs:
  13769. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  13770. to Win32 SendInput.
  13771. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  13772. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  13773. testing for ms.net on this class is very tricky, as the tests run too fast
  13774. to allow the hook to release, essentially freezing the keyboard and the
  13775. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  13776. category :p
  13777. 2006-12-16 Daniel Nauck <[email protected]>
  13778. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  13779. added missing attributes.
  13780. 2006-12-15 Daniel Nauck <[email protected]>
  13781. * ListViewGroup.cs: Added missing attributes.
  13782. * ListViewGroupCollection.cs: Added missing attributes.
  13783. 2006-12-15 Daniel Nauck <[email protected]>
  13784. * ListViewItem.cs: fixed ListViewSubItem text property.
  13785. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13786. * Control.cs: Added missing 2.0 attributes
  13787. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13788. * MdiClient.cs: Added missing 2.0 attribute.
  13789. * MonthCalendar.cs: Added some missing 2.0 attributes
  13790. and properties.
  13791. 2006-12-15 Daniel Nauck <[email protected]>
  13792. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  13793. 2006-12-15 Jonathan Pobst <[email protected]>
  13794. * MainMenu.cs: Add the new 2.0 constructor to help out people
  13795. using the MainMenu in VS2005.
  13796. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13797. * MdiChildContext.cs: Removed it, no longer used.
  13798. * MdiClient.cs: Added missing 2.0 attributes.
  13799. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13800. * InternalWindowManager.cs: Fix a NullRef with previous
  13801. changes for toolwindows.
  13802. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13803. * Control.cs:
  13804. - Added AfterTopMostControl to allow for certain controls
  13805. to always stay on top when normal controls are brought to
  13806. front.
  13807. * XplatUIWin32.cs:
  13808. - (DrawInversibleRectangle): Get window rectangle from Win32
  13809. in stead of from control, since Win32 doesn't calculate
  13810. screen coords correctly from control's Location if it
  13811. have docked siblings.
  13812. * MdiWindowManager.cs:
  13813. - Correct the control menu popup location when clicked on
  13814. the maximized form icon. (fixes #80223.1)
  13815. - Don't show moving rectangle if mouse hasn't moved from
  13816. the original clicked point.
  13817. - Removed FormGotFocus handler (not used).
  13818. - Calculate the control buttons location from the main
  13819. window's size and not client size (fixes #79770).
  13820. - Form is now closed when the form icon is double-clicked
  13821. (fixes #79775).
  13822. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  13823. * InternalWindowManager.cs:
  13824. - Moved some MDI-only methods to MdiWindowManager.
  13825. - Removed unused properties and methods.
  13826. - Unified method naming for methods handling wm messages.
  13827. - Moved all message handling to seperate methods for
  13828. each message.
  13829. * ThemeWin32Classic.cs:
  13830. - DrawManagedWindowDecorations now draws the title bar
  13831. with a gradient brush.
  13832. - Add a CPDrawButtonInternal that allows us to specify
  13833. light, normal and dark colors for the buttons (control
  13834. buttons for MDI children were drawn with the same light
  13835. color as the background, therefore loosing the 3D effect).
  13836. * SizeGrip.cs:
  13837. - Add a CapturedControl property that is used to
  13838. determine the control to resize (defaults to parent).
  13839. Needed for MdiClient, since its SizeGrip's parent is
  13840. MdiClient, but the control to resize is the main form.
  13841. * MdiClient.cs:
  13842. - Set SizeGrip's CapturedControl to the main form in order
  13843. to resize the main form and not the MdiClient.
  13844. - Override AfterTopMostControl to leave the scrollbars
  13845. always on top.
  13846. 2006-12-15 Daniel Nauck <[email protected]>
  13847. * ListView.cs: fixed ListViewItemCollection AddRange and
  13848. implemented ListViewItemCollection AddRange 2.0 support.
  13849. 2006-12-15 Daniel Nauck <[email protected]>
  13850. * ListViewGroup.cs: Add.
  13851. * ListViewGroupCollection.cs: Add
  13852. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  13853. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  13854. stub for ImageKey 2.0 support.
  13855. 2006-12-14 Mike Kestner <[email protected]>
  13856. * ListView.cs: add text padding to the autocalculation for columns
  13857. of width -2. Fixes #80207.
  13858. 2006-12-14 Mike Kestner <[email protected]>
  13859. * ListView.cs: add some index guarding for partial row navigation
  13860. logic. Fixes #80250.
  13861. 2006-12-14 Mike Kestner <[email protected]>
  13862. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  13863. are added or inserted to the collection. Fixes #81099.
  13864. 2006-12-13 Everaldo Canuto <[email protected]>
  13865. * MenuAPI.cs: Closes menu when right click out side of popup
  13866. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  13867. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  13868. * ListViewItem.cs: Fix dumb error.
  13869. * ListView.cs: Add Find and ContainsKey methods in
  13870. ListViewItemCollection, and also return true for IsReadOnly
  13871. and IsFixedSize (changes for 2.0).
  13872. 2006-12-13 Gert Driesen <[email protected]>
  13873. * Control.cs: Allow Region to be set to null.
  13874. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  13875. * MdiWindowManager.cs: Remove unused (commented out) code.
  13876. * Form.cs: When the MdiChild is maximized, the form needs
  13877. WM_NCMOUSELEAVE, so request it.
  13878. * InternalWindowManager.cs:
  13879. - Added tooltips to control buttons.
  13880. - Removed duplicated control button handling code.
  13881. - Removed unused (commented out) code.
  13882. 2006-12-12 Everaldo Canuto <[email protected]>
  13883. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  13884. was used because we must set cursor without trigger ChangeCursor event
  13885. and without change Cursor control property. Fixes #79963.
  13886. 2006-12-12 Andreia Gaita <[email protected]>
  13887. * Control.cs: Check if Region setter value is null, and ignore
  13888. 2006-12-12 Jackson Harper <[email protected]>
  13889. * TextControl.cs: We were almost always drawing one more line then
  13890. needed, since the GetLineByPixel will return the last line found
  13891. at that pixel. In most cases though, we were invalidating up to
  13892. the junction between two lines.
  13893. - Improve debug code.
  13894. 2006-12-12 Chris Toshok <[email protected]>
  13895. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  13896. and FillReversibleRectangle.
  13897. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  13898. and FillReversibleRectangle.
  13899. * XplatUIWin32.cs: add stubs which do nothing for
  13900. DrawReversibleFrame, DrawReversibleLine, and
  13901. FillReversibleRectangle.
  13902. * XplatUIOSX.cs: add stubs which raise NIE for
  13903. DrawReversibleFrame, DrawReversibleLine, and
  13904. FillReversibleRectangle.
  13905. * XplatUIX11.cs: add working implementation for
  13906. DrawReversibleFrame, DrawReversibleLine, and
  13907. FillReversibleRectangle.
  13908. * ControlPaint.cs: implement DrawReversibleFrame,
  13909. DrawReversibleLine, and FillReversibleRectangle, by calling into
  13910. the appropriate XplatUI method.
  13911. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13912. * Form.cs: Make MdiClient have the focus even if it's
  13913. not selectable, since it should receive WM_KEY* and WM_MOUSE
  13914. messages. Fixes #79907.
  13915. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13916. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  13917. queried after the window is created.
  13918. * XplatUIX11.cs: Added SendParentNotify to implement
  13919. WM_PARENTNOTIFY logic. Fixes #79965.
  13920. * Control.cs: Added MakeParam.
  13921. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13922. * MdiClient.cs: Resume Layout before setting window
  13923. states (fixes #80201).
  13924. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13925. * MenuAPI.cs: Deselect a menu item after performing
  13926. the click (fixes #80197).
  13927. 2006-12-11 Jackson Harper <[email protected]>
  13928. * TextBoxBase.cs: We need to cap this value, since Maximum -
  13929. ViewPortHeight can be less than zero.
  13930. - Only do selection with the left mouse button.
  13931. * TextBox.cs: Don't tell the world that we have a context menu.
  13932. * Control.cs: New method so that we can control whether or not the
  13933. context menu is visible outside MWF.
  13934. 2006-12-11 Everaldo Canuto <[email protected]>
  13935. * ToolBarButton.cs: Fix text positon.
  13936. 2006-12-11 Miguel de Icaza <[email protected]>
  13937. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  13938. * Control.cs (DoubleBuffered): Add implementation.
  13939. * Application.cs (OpenForms): Add.
  13940. 2006-12-11 Jonathan Pobst <[email protected]>
  13941. * Form.cs: Use opacity instead of Opactiy to determine if we need
  13942. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  13943. 2006-12-11 Jonathan Pobst <[email protected]>
  13944. * Control.cs: Fix NRE if Control.Site was set to null.
  13945. 2006-12-11 Chris Toshok <[email protected]>
  13946. * Control.cs: ControlCollection.Remove should return if the arg is
  13947. null, and ControlCollection.SetChildIndex should raise a ANE.
  13948. 2006-12-11 Gert Driesen <[email protected]>
  13949. * Control.cs: Verify value set for Dock property. Code formatting
  13950. updates.
  13951. 2006-12-11 Jackson Harper <[email protected]>
  13952. * TextControl.cs: Draw the caret and the selection when a flag is
  13953. set on the owner.
  13954. * TextBoxBase.cs: We want to draw the caret and the selection for
  13955. TextBox but not for TextBoxBase.
  13956. - If the window is resized and scrolling is no longer needed (the
  13957. whole doc is visible) set the scroll position to zero.
  13958. - The default SelectWord (the one TextBox uses) should move the
  13959. caret to the end of the word.
  13960. - SelectAll moves the caret to the end of the selection.
  13961. * TextBox.cs: We don't selectall on focus, we just do it when the
  13962. control is created.
  13963. 2006-12-11 Mike Kestner <[email protected]>
  13964. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  13965. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  13966. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  13967. 2.0 support.
  13968. * ListViewItem.cs: Add Name 2.0 property.
  13969. 2006-12-11 Andreia Gaita <[email protected]>
  13970. * TabControl.cs: Set visibility on selected or default tab
  13971. when tabcontrol handle is created, so that it's contents
  13972. actually show up (duh). Fixes #80193
  13973. Don't redraw the control if there is no handle created, as
  13974. the selected index might be completely invalid. Added some tests
  13975. to check for this.
  13976. 2006-12-11 Everaldo Canuto <[email protected]>
  13977. * ToolBar.cs: Uses maximun width and height of all buttons as
  13978. button rectangle when ButtonSize specified, it looks strange but
  13979. is what happens in Win32. Fixes #80189.
  13980. 2006-12-11 Jackson Harper <[email protected]>
  13981. * TextControl.cs: Need to track undo levels ourself, since
  13982. compound actions will mess them up.
  13983. 2006-12-10 Andreia Gaita <[email protected]>
  13984. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  13985. SelectedIndex value is changed (even if it's not valid).
  13986. Reset SelectedIndex to 0 when the handle is created and if
  13987. the current index is invalid.
  13988. Fixes SelectdeIndex unit tests and #80128
  13989. 2006-12-08 Chris Toshok <[email protected]>
  13990. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  13991. calls EndEdit, it needs to be called before we set current_cell to
  13992. its new value. Otherwise, we end up committing the value in the
  13993. textbox to the new cell as well. Fixes bug #80160.
  13994. 2006-12-08 Chris Toshok <[email protected]>
  13995. * Form.cs (set_CancelButton): if the button's DialogResult is
  13996. None, set it to Cancel. Fixes bug 80180.
  13997. 2006-12-08 Jackson Harper <[email protected]>
  13998. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  13999. to watch ourselves when setting the canvas size and setting the
  14000. scrollbar values.
  14001. 2006-12-08 Chris Toshok <[email protected]>
  14002. * DataGrid.cs: comment out the two MakeTransparent calls for the
  14003. time being so people using trunk (and not 1.2.2) on windows can
  14004. actually use the datagrid. This deals with bug #80151.
  14005. 2006-12-08 Jonathan Pobst <[email protected]>
  14006. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  14007. Graphics.DrawImage (image, int, int, int, int) overload instead
  14008. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  14009. the dpi difference and was blurring images it drew.
  14010. [Fixes bug #79960]
  14011. 2006-12-08 Chris Toshok <[email protected]>
  14012. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  14013. rowcnt is 0 (such as with an empty datasource), and make sure we
  14014. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  14015. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  14016. 2006-12-08 Chris Toshok <[email protected]>
  14017. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  14018. grid.
  14019. 2006-12-08 Chris Toshok <[email protected]>
  14020. [ Fixes bug #80167 ]
  14021. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  14022. style is FlatStyle.System.
  14023. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  14024. ButtonBase.flat_style private, and switch uses of it to the public
  14025. property.
  14026. 2006-12-08 Chris Toshok <[email protected]>
  14027. [ Fixes bug #80121 ]
  14028. * ThemeWin32Classic.cs: center the caption text in the datagrid
  14029. when we draw it.
  14030. * DataGrid.cs: lessen the amount we add to the caption height from
  14031. 6 to 2. 6 was making it huge.
  14032. 2006-12-08 Andreia Gaita <[email protected]>
  14033. * UpDownBase: Handle MouseWheel call directly instead of capturing
  14034. the inner textbox's OnMouseWheel. Fixes #80166
  14035. 2006-12-08 Jackson Harper <[email protected]>
  14036. * TextControl.cs: We need to invalidate the textbox when we empty
  14037. it (how had this not been discovered before?)
  14038. 2006-12-08 Jackson Harper <[email protected]>
  14039. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  14040. to behave like MS, we now ignore the eventargs.Click and just
  14041. track state ourself, which we were already doing anyways.
  14042. - Constrain the double click handler to the double click size.
  14043. 2006-12-08 Chris Toshok <[email protected]>
  14044. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  14045. direction if that scrollbar isn't shown. fixes bug #80158.
  14046. 2006-12-08 Andreia Gaita <[email protected]>
  14047. * NumericUpDown.cs: Update value on getter. Fixes #79950
  14048. 2006-12-08 Chris Toshok <[email protected]>
  14049. * MenuItem.cs: add back in the event cloning code. I didn't know
  14050. how to do it in the face of the EventHandlerList work i'd done
  14051. last week. Fixes bug #80183.
  14052. 2006-12-08 Jonathan Pobst <[email protected]>
  14053. * Control.cs: Add an invalidate to the BackgroundImage setter.
  14054. [Fixes 80184]
  14055. 2006-12-07 Jonathan Pobst <[email protected]>
  14056. * ToolStrip*: Add some small properties reported by MoMA, fix event
  14057. firing and default properties based off of unit tests, and add some
  14058. attributes based off of the class status page.
  14059. 2006-12-07 Jackson Harper <[email protected]>
  14060. * TextBoxBase.cs: Take HideSelection into account when determining
  14061. whether or not to show the selection.
  14062. * RichTextBox.cs: After inserting the RTF into the document move
  14063. the cursor to the beginning of the document.
  14064. 2006-12-07 Jonathan Pobst <[email protected]>
  14065. * Control.cs: Remove static ArrayList "controls" which maintained
  14066. a reference to every control created.
  14067. * Application.cs: Create a static FormCollection to maintain a reference
  14068. to every form created. Use it in places that formerly enumerated through
  14069. the controls one looking for forms.
  14070. * Form.cs: Add and remove self from above FormCollection.
  14071. 2006-12-07 Alexander Olk <[email protected]>
  14072. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  14073. not libgdk (though it makes me wonder why I didn't have any
  14074. problems)
  14075. 2006-12-07 Chris Toshok <[email protected]>
  14076. [ you had to know this was coming after that last commit...]
  14077. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  14078. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  14079. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  14080. XCopyArea).
  14081. 2006-12-07 Chris Toshok <[email protected]>
  14082. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  14083. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  14084. all the behavior we need for double buffering.
  14085. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  14086. client side Bitmap, just like the old Control-based double buffer
  14087. code did. The methods are virtual, so each XplatUI driver
  14088. subclass can replace the implementation to use a faster, platform
  14089. specific approach.
  14090. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  14091. double buffer code, and clean things up a bit in the process.
  14092. 2006-12-06 Chris Toshok <[email protected]>
  14093. * Control.cs: reindent WndProc.
  14094. 2006-12-06 Chris Toshok <[email protected]>
  14095. [ I wanna be like BenM when I grow up ]
  14096. * Hwnd.cs: create a single static Graphics object on the static
  14097. Bitmap we create. use this for our text measurements.
  14098. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  14099. This was causing us to allocate a backbuffer for every control,
  14100. even when it wasn't flagged as double buffered. Instead use the
  14101. single graphics instance. This might have implications for
  14102. multithreaded applications. If we run into problems we can switch
  14103. to creating 1 Graphics per control, on the static Hwnd bitmap.
  14104. this change nets us a 7M savings in private dirty mappings when
  14105. running FormsTest.exe.
  14106. 2006-12-06 Chris Toshok <[email protected]>
  14107. * ListView.cs: the BackgroundImage override is just to set
  14108. attributes. chain up to base.BackgroundImage.
  14109. * RichTextBox.cs: same.
  14110. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  14111. changes, so instead a handler for BackgroundImageChanged.
  14112. * Control.cs: make background_image private.
  14113. 2006-12-06 Chris Toshok <[email protected]>
  14114. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  14115. sure we even need this assignment, but roll with it for now.
  14116. * Control.cs: make the cursor field private.
  14117. 2006-12-06 Chris Toshok <[email protected]>
  14118. * Form.cs: we don't need to explicitly set ImeMode to
  14119. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  14120. behavior in the face of ImeMode.Inherit.
  14121. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  14122. change the ctor's assignment to use ImeMode instead of ime_mode.
  14123. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  14124. ImeModeInherit. Only check for the parent's imemode (and return
  14125. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  14126. This fixes the button unit test, which sets both ImeMode and
  14127. DefaultImeMode to ImeMode.Disable.
  14128. also make the ime_mode field private.
  14129. 2006-12-06 Chris Toshok <[email protected]>
  14130. * Control.cs: make control_style private.
  14131. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  14132. setting the styles to true, then setting them to false instead of
  14133. reverting to their previous values.
  14134. also, call SetStyle on the scrollbars instead of using
  14135. control_style directly.
  14136. 2006-12-06 Jonathan Pobst <[email protected]>
  14137. * FormCollection.cs: Implement. [2.0]
  14138. 2006-12-06 Chris Toshok <[email protected]>
  14139. * Control.cs: make tab_stop private.
  14140. * Label.cs: set TabStop, not tab_stop. reformat some event
  14141. add/remove methods to make them more compact.
  14142. 2006-12-06 Chris Toshok <[email protected]>
  14143. * RadioButton.cs: fix TabStop handling.
  14144. 2006-12-06 Chris Toshok <[email protected]>
  14145. * TextBox.cs: remove the explicit assignments to has_focus.
  14146. Control does that.
  14147. * ButtonBase.cs: remove the assignment to has_focus. Control will
  14148. manage that.
  14149. 2006-12-06 Chris Toshok <[email protected]>
  14150. * ButtonBase.cs: remove all uses of is_enabled from this code.
  14151. it's always true when any of the code containing the checks is
  14152. executed.
  14153. 2006-12-06 Chris Toshok <[email protected]>
  14154. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  14155. with different semantics (some are present in both 1.1 and 2.0
  14156. profiles) so that we match MS's behavior in our unit tests.
  14157. 2006-12-06 Jackson Harper <[email protected]>
  14158. * TextControl.cs: Make this operation undoable.
  14159. * TextBoxBase.cs: Factor the border width into the preferred
  14160. height.
  14161. - implement Modified as per the spec.
  14162. 2006-12-06 Chris Toshok <[email protected]>
  14163. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  14164. 2006-12-06 Chris Toshok <[email protected]>
  14165. * Control.cs: make right_to_left and context_menu fields private.
  14166. 2006-12-06 Chris Toshok <[email protected]>
  14167. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  14168. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  14169. Control.child_controls private. switch all uses over to
  14170. Control.Controls.
  14171. 2006-12-06 Chris Toshok <[email protected]>
  14172. * System.Windows.Forms/GroupBox.cs,
  14173. System.Windows.Forms/AccessibleObject.cs,
  14174. System.Windows.Forms/ErrorProvider.cs,
  14175. System.Windows.Forms/Control.cs,
  14176. System.Windows.Forms/UpDownBase.cs,
  14177. System.Windows.Forms/ScrollBar.cs,
  14178. System.Windows.Forms/DateTimePicker.cs,
  14179. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  14180. System.Windows.Forms/ToolTip.cs,
  14181. System.Windows.Forms/RadioButton.cs,
  14182. System.Windows.Forms/LinkLabel.cs,
  14183. System.Windows.Forms/Splitter.cs,
  14184. System.Windows.Forms/TextBoxBase.cs,
  14185. System.Windows.Forms/ToolStripTextBox.cs,
  14186. System.Windows.Forms/ContainerControl.cs,
  14187. System.Windows.Forms/ThemeWin32Classic.cs,
  14188. System.Windows.Forms/SizeGrip.cs,
  14189. System.Windows.Forms/ToolStripDropDown.cs,
  14190. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  14191. private. switch all uses over to Control.Parent.
  14192. 2006-12-06 Chris Toshok <[email protected]>
  14193. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  14194. Control does this before calling emitting these events.
  14195. * TabControl.cs: same.
  14196. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  14197. Control.client_rect.
  14198. * ButtonBase.cs: use the ClientSize property instead of the
  14199. client_size field.
  14200. * ScrollableControl.cs: same.
  14201. * Control.cs: another pass at making properties private. also,
  14202. move the initialization of tab_stop to the ctor.
  14203. 2006-12-05 Andreia Gaita <[email protected]>
  14204. * TabControl.cs: Let the selected index be set freely if the
  14205. control handle is not yet created.
  14206. 2006-12-05 Jonathan Pobst <[email protected]>
  14207. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  14208. internal until I can rewrite DefaultLayout.
  14209. * ToolStrip.cs: Fix build error and some general cleaning.
  14210. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  14211. Fix build errors caused by making some of Control's fields private.
  14212. 2006-12-05 Jackson Harper <[email protected]>
  14213. * TextControl.cs: Redo Insert a little so that it use IndexOf
  14214. instead of Split, this prevents it from messing up on things like
  14215. \n\n\n. Also more effecient since the split array doesn't need to
  14216. be created.
  14217. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  14218. multiline text differently, this is the first of many fixes that
  14219. will make multiline/non-multiline the same thing as far as the
  14220. TextBoxBase is concerned.
  14221. - Don't split the text and insert lines, this can lose some line
  14222. endings (like is the last line a soft or hard break). Instead use
  14223. the new Insert.
  14224. - Fix an off by one when combining all the lines in the Text
  14225. getter.
  14226. - Remove separate multiline handling from the Text getter/setter.
  14227. 2006-12-05 Chris Toshok <[email protected]>
  14228. * ButtonBase.cs: a few changes:
  14229. - don't reinitialize internal Control fields in the ctor when they
  14230. have the same values as Control sets them.
  14231. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  14232. this before calling those methods.
  14233. - we don't need to call Refresh for anything. use Invalidate
  14234. instead.
  14235. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  14236. calls Refresh in its OnEnabledChanged.
  14237. - several of the events we were registered for in the ctor to
  14238. redraw ourselves already include calls to Invalidate in the
  14239. property setters that raise the events. remove the extra
  14240. invalidation.
  14241. - reformat a switch statement that was 83274658 columns wide.
  14242. 2006-12-05 Mike Kestner <[email protected]>
  14243. * ComboBox.cs: fix a unit test regression from a TextBox
  14244. SelectionLength return of -1 when there's no selection.
  14245. 2006-12-05 Chris Toshok <[email protected]>
  14246. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  14247. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  14248. cleaning up some of the internal Control fields being used by
  14249. subclasses.
  14250. 2006-12-05 Mike Kestner <[email protected]>
  14251. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  14252. listbox after AddImplicit calls since it defaults to hidden. Add a
  14253. hack to preserve requested heights across DropDownStyle changes.
  14254. 2006-12-05 Jonathan Pobst <[email protected]>
  14255. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  14256. 2006-12-05 Chris Toshok <[email protected]>
  14257. * DataGridView.cs: fix compiler warnings.
  14258. * PrintControllerWithStatusDialog.cs: same.
  14259. * ToolBar.cs: same.
  14260. * FolderBrowserDialog.cs: same.
  14261. * Splitter.cs: same.
  14262. * DataGridViewComboBoxCell.cs: same.
  14263. * XplatUIWin32.cs: same.
  14264. * PictureBox.cs: same.
  14265. * Win32DnD.cs: same.
  14266. * PageSetupDialog.cs: same.
  14267. * FileDialog.cs: same.
  14268. * PrintDialog.cs: same.
  14269. * DataGridTextBoxColumn.cs: same.
  14270. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  14271. 2006-12-05 Chris Toshok <[email protected]>
  14272. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  14273. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  14274. System.ComponentModel.EventHandlerList work.
  14275. 2006-12-05 Jonathan Chambers <[email protected]>
  14276. * DrawTreeNodeEventArgs.cs: Added.
  14277. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  14278. * InternalWindowManager.cs: Remove an unused field.
  14279. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  14280. * InternalWindowManager.cs:
  14281. - Save the point where the title bar is clicked.
  14282. * MdiWindowManager.cs:
  14283. - Only allow moving of the window as long as the
  14284. clicked point on the title bar does not get out of
  14285. MdiClient's rectangle. Fixes #79982.
  14286. * MdiClient.cs:
  14287. - Added Horizontal/VerticalScrollbarVisible.
  14288. - Simplified the scrollbar sizing algorithm.
  14289. - Cache the difference in scrolled value in
  14290. H/VBarValueChanged and move the calculation out
  14291. of the for loop.
  14292. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  14293. * Control.cs: Make the Console.WriteLine in WndProc
  14294. write more info.
  14295. 2006-12-05 Chris Toshok <[email protected]>
  14296. * ToolStripManager.cs, ToolStripButton.cs,
  14297. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  14298. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  14299. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  14300. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  14301. ToolStripProgressBar.cs, ToolStripContainer.cs,
  14302. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  14303. to using System.ComponentModel.EventHandlerList.
  14304. 2006-12-04 Chris Toshok <[email protected]>
  14305. * LinkLabel.cs: fix up compiler warnings.
  14306. * TableLayoutSettings.cs: same.
  14307. * TreeView.cs: same.
  14308. * ToolBar.cs: same.
  14309. * TabControl.cs: same.
  14310. * RichTextBox.cs: same.
  14311. * ListViewItem.cs: same.
  14312. * PropertyGrid.cs: same.
  14313. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  14314. * ToolTip.cs same.
  14315. * TextRenderer.cs: fix up compiler warnings.
  14316. * Label.cs: same.
  14317. * Form.cs: corcompare fixes.
  14318. * PictureBox.cs: fix up compiler warnings.
  14319. * ImageListStreamer.cs: same.
  14320. * TrackBar.cs: corcompare fix.
  14321. * Control.cs: fix up compiler warnings.
  14322. * SplitterPanel.cs: same.
  14323. * NumericTextBox.cs: same.
  14324. * ImageList.cs: same.
  14325. * StatusStrip.cs: same.
  14326. * ProgressBar.cs: corcompare fix.
  14327. * ToolStripButton.cs: fix up compiler warnings.
  14328. * ToolStripStatusLabel.cs: same.
  14329. * ToolStripSplitButton.cs: same.
  14330. * ToolStripSeparator.cs: same.
  14331. * ToolStripProgressBar.cs: same.
  14332. * ToolStripDropDownMenu.cs: same
  14333. * ToolStripDropDown.cs: same.
  14334. * ToolStripDropDownButton.cs: same.
  14335. * ToolStrip.cs: same.
  14336. * ToolStripControlHost.cs: same.
  14337. * ToolStripContentPanel.cs: same.
  14338. * ToolStripDropDown.cs: same.
  14339. * ToolStripContainer.cs: same.
  14340. * ToolStripPanel.cs: same, and add "new" where we need it to work
  14341. with the new ArrangedElementCollection.
  14342. * ToolStripItemCollection.cs: add "new" where we need it to work
  14343. with the new ArrangedElementCollection.
  14344. 2006-12-04 Andreia Gaita <[email protected]>
  14345. * TabControl.cs: Fix default tab selection to after TabControl
  14346. gets focus and not before. Fixes #80128
  14347. 2006-12-04 Chris Toshok <[email protected]>
  14348. * DataGridTableStyle.cs: remove the gross calling of
  14349. datagrid.Refresh from here. It's a broken idea and it doesn't
  14350. work anyway.
  14351. * DataGrid.cs: instead, just register/unregister from the
  14352. DataGridTableStyle events in CurrentTableStyle. we play it
  14353. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  14354. even though some would most likely not require it. Fixes bug
  14355. #80115 (and one portion of #80117 as a side effect).
  14356. 2006-12-04 Chris Toshok <[email protected]>
  14357. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  14358. so the textbox (if any) goes away. Fixes bug #80117.
  14359. 2006-12-04 Chris Toshok <[email protected]>
  14360. * DataGridColumnStyle.cs: set the column's readonly property
  14361. initially based on the property descriptor's IsReadOnly. Fixes
  14362. bug #80044.
  14363. 2006-12-04 Chris Toshok <[email protected]>
  14364. * ComboBox.cs: wrap the dropdown style changing work in
  14365. SuspendLayout/ResumeLayout. Fixes bug #79968.
  14366. 2006-12-04 Jackson Harper <[email protected]>
  14367. * TextBoxBase.cs: Fix off by one, since these are one-based.
  14368. * TextBox.cs: Select all the text when we get focus. The TextBox
  14369. does this but the RTB does not.
  14370. 2006-12-04 Chris Toshok <[email protected]>
  14371. * DataGridTextBoxColumn.cs: remove some spew.
  14372. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  14373. but some part of me is saying "it shouldn't be here.." At any
  14374. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  14375. setting the value.
  14376. 2006-12-04 Chris Toshok <[email protected]>
  14377. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  14378. to reassign the propertydescriptor.
  14379. 2006-12-04 Jackson Harper <[email protected]>
  14380. * TextBoxBase.cs:
  14381. * TextControl.cs: Remove some unused variables. Maybe this will
  14382. patch things up between mike and I.
  14383. - don't split lines less then one char wide, if the viewport is
  14384. that small text won't be visible anyways.
  14385. 2006-12-04 Jackson Harper <[email protected]>
  14386. * TextBoxBase.cs: Default selection length is -1, need to do some
  14387. more testing on windows to see when this is used for the property.
  14388. - Redid the Lines [] property to that we properly remove soft line
  14389. breaks
  14390. - added support for preserving carriage returns
  14391. - CanUndo is not a variable like 'is undo enabled' it just returns
  14392. true if there is undo operations available.
  14393. - AppendText doesn't need to grab the last tag itself anymore,
  14394. this happens automatically when we move the cursor.
  14395. * TextControl.cs: Add CompoundActions to the undo class. This
  14396. allows combining the other operations into one big option. ie a
  14397. paste will combine { delete old, insert new, move cursor }
  14398. - Add InsertString undo operation
  14399. - New method for deleting multiline text
  14400. - Add carriage returns to lines. So we can preserve carriage
  14401. returns when text is 'roundtripped'
  14402. 2006-12-04 Chris Toshok <[email protected]>
  14403. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  14404. minimum 0. Fixes the scrollbar exception in bug #80136.
  14405. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  14406. * MdiClient.cs:
  14407. * MdiWindowManager: Removed unused fields and methods.
  14408. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  14409. * StatusBar.cs: Update all panels when a AutoSize=Contents
  14410. panel needs updating.
  14411. * StatusBarPanel.cs: Remove twidth and only use initialize.
  14412. Fixes #80031.
  14413. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  14414. * Form.cs: When a form's MdiParent is set add it directly
  14415. on top of the z-order in stead of relying on MdiClient's
  14416. ActivateChild to do it. Fixes #80135.
  14417. * MdiClient.cs:
  14418. - Remove original_order, mdi_child_list is already doing
  14419. the same thing.
  14420. - Create mdi_child_list on construction in
  14421. stead of first use (avoids a few null checks).
  14422. * MenuItem.cs: Use an already existing list of mdi children
  14423. to get the correct order of children and remove the other
  14424. redundant list.
  14425. 2006-12-04 Chris Toshok <[email protected]>
  14426. * PropertyGridView.cs: cached_splitter_location is only used in
  14427. !DOUBLEBUFFER code.
  14428. * PropertyGrid.cs: implement the ComComponentNameChanged event
  14429. using Events, hoping that would fix the warning. Looks like a
  14430. compiler bug instead (#80144).
  14431. * PropertyManager.cs: remove unused method.
  14432. 2006-11-04 Everaldo Canuto <[email protected]>
  14433. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  14434. include parentesis to fix expression evaluation. Fixes #79634.
  14435. 2006-11-02 Everaldo Canuto <[email protected]>
  14436. * MenuAPI.cs:
  14437. - Changes to fix behavior in Menu control, some reported in #80097
  14438. and other detected during behavior refactory like a select event
  14439. problems.
  14440. - Remove unneded "if's" conditions.
  14441. - Created an internal to flag when popup is active in control, we need
  14442. it because in .NET you can have menu active but without popup active
  14443. when you active menu using popup without visible items.
  14444. - Mimic win32 behavior for Select and Popup events.
  14445. - Dont open popup menu when you dont have visible subitems.
  14446. - Do nothing when click on disabled menu item.
  14447. - Some small changes to follow the coding style guidelines.
  14448. - Unselect menu only when another control gives focus. Fixes #80097.
  14449. - Remove unused code.
  14450. * MenuItem.cs: internal VisibleItems method to check if menu
  14451. theres visible subitems, it will be usefull to fix some
  14452. behavior in Menu control.
  14453. 2006-11-01 Everaldo Canuto <[email protected]>
  14454. * Timer.cs: Tag property for 2.0 profile.
  14455. 2006-12-01 Chris Toshok <[email protected]>
  14456. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  14457. * Win32DnD.cs: comment out some unused fields.
  14458. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  14459. some unused properties/methods.
  14460. * XplatUIX11.cs: fix MousePosition so we override the base class's
  14461. property instead of conflicting with it.
  14462. * PictureBox.cs: comment out some unused fields
  14463. * OSXStructs.cs: make some struct fields public.
  14464. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  14465. MousePosition so we override the base class's property instead of
  14466. conflicting with it.
  14467. * X11Dnd.cs: comment out some unused fields
  14468. * X11DesktopColors.cs: fix some struct field visibility to quiet
  14469. the compiler.
  14470. * X11Dnd.cs: remove some debug code.
  14471. * ThemeClearlooks.cs: comment out unused field.
  14472. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  14473. * ThemeGtk.cs: comment out some unused pinvokes.
  14474. * Timer.cs: remove some unused fields.
  14475. * ThemeClearlooks.cs: comment out unused field.
  14476. * UpDownBase.cs: comment out unused field.
  14477. * DataObject.cs: comment out unused field.
  14478. * DataGridBoolColumn.cs: reomve unused field.
  14479. * DataGrid.cs: remove unused field.
  14480. * Cursor.cs: remove old ToBitmap code.
  14481. * ControlPaint.cs: remove unused method.
  14482. * ScrollBar.cs: remove unused fields.
  14483. * ComboBox.cs: remove unused field, and chain up to
  14484. AccessibleObject ctor.
  14485. * ListBox.cs: remove unused field.
  14486. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  14487. * GridEntry.cs: remove unused fields.
  14488. * Binding.cs: remove unused fields.
  14489. * AxHost.cs: remove unused method.
  14490. * ContainerControl.cs: remove unused field.
  14491. * ScrollableControl.cs: remove unused fields.
  14492. 2006-12-01 Chris Toshok <[email protected]>
  14493. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  14494. the Where/WhereString stuff. it's easy enough to CWL
  14495. Environment.StackTrace.
  14496. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  14497. unused private fields.
  14498. 2006-12-01 Jackson Harper <[email protected]>
  14499. * TextControl.cs: Do not update the view while inserting multiline
  14500. text. If we update the view we might wrap lines, before entering
  14501. the new lines, which causes the new line insertion calculations to
  14502. be totally fubared.
  14503. - Remove an old TODO
  14504. - Make debug output a little nicer
  14505. 2006-12-01 Chris Toshok <[email protected]>
  14506. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  14507. 2006-12-01 Chris Toshok <[email protected]>
  14508. [ fix the majority of the CS0108 warnings we've been suppressing ]
  14509. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  14510. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  14511. to "LayoutToolBar" to quiet mcs.
  14512. * TabControl.cs: mark our ControlCollection class as 'new'.
  14513. * TextBoxBase.cs: mark some events as 'new'.
  14514. * Splitter.cs: TabStop is 'new'.
  14515. * ControlBindingsCollection.cs: mark a few methods as new since
  14516. they change the visibility from protected to public.
  14517. * RadioButton.cs: DoubleClick -> base class, and remove unused
  14518. HaveDoubleClick.
  14519. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  14520. events as new.
  14521. * NumericUpDown.cs: TextChanged -> base class.
  14522. * CheckedListBox.cs: mark our ObjectCollection class as new to
  14523. quiet mcs.
  14524. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  14525. muck with the base class.
  14526. * StatusBar.cs: fix some mcs warnings about Update being the same
  14527. name as a base class method.
  14528. * RichTextBox.cs: mark some events as new, and make them do things
  14529. to the base class impl.
  14530. * UserControl.cs: mark TextChanged as new, and have it manipulate
  14531. base.TextChanged.
  14532. * UpDownBase.cs: mark some things new.
  14533. * CheckBox.cs: mark DoubleClick "new", and add some text about
  14534. what we need to look at.
  14535. * Panel.cs: make the events "new", and manipulate the base
  14536. version. these are just here for attributes.
  14537. * AccessibleObject.cs: make owner private.
  14538. * Control.cs: deal with AccessibleObject.owner being private.
  14539. cache our own copy if we need it.
  14540. * Button.cs: add "new" to the DoubleClickEvent.
  14541. * ListBox.cs: no need to track our own has_focus here. let
  14542. Control.has_focus do it for us. Also some other work to clear up
  14543. warnings about not overriding base class methods of the same name.
  14544. * ComboBox.cs: clear up some warnings about not override base
  14545. class methods of the same name.
  14546. 2006-12-01 Chris Toshok <[email protected]>
  14547. * Form.cs: flag a few things as "new" to quiet some of the mcs
  14548. warnings.
  14549. * AxHost.cs: same.
  14550. * PrintPreviewDialog.cs: same.
  14551. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  14552. now DGV isn't so horrible on the class status page. also, move
  14553. all events to using System.ComponentModel.EventHandlerList. my
  14554. wrists hurt.
  14555. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  14556. * MdiWindowManager.cs:
  14557. - Set form to active mdi child if shown,
  14558. and update the active mdi child to the next
  14559. remaining child in the z-order if the form is hidden.
  14560. * Form.cs:
  14561. - Track if the form has been visible and if its
  14562. visibility is beeing changed, so that the MdiClient
  14563. can properly decide the ActiveMdiChild. The MdiClient
  14564. cannot track this since the form can change visibility
  14565. before MdiClient is created.
  14566. * MdiClient.cs:
  14567. - Don't activate anything of the parent form is changing
  14568. its visibility.
  14569. - Rework ActiveMdiChild to only return visible mdi
  14570. children and take into account several other corner
  14571. cases.
  14572. 2006-12-01 Chris Toshok <[email protected]>
  14573. * IBindableComponent.cs: new 2.0 interface.
  14574. 2006-12-01 Gert Driesen <[email protected]>
  14575. * DataGrid.cs: Font for caption area is bold by default.
  14576. 2006-12-01 Everaldo Canuto <[email protected]>
  14577. * Menu.cs: Tag property for 2.0.
  14578. 2006-11-01 Everaldo Canuto <[email protected]>
  14579. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  14580. 2006-12-01 Chris Toshok <[email protected]>
  14581. * TreeView.cs: doh, the Begin* events should be
  14582. TreeViewCancelEventHandler.
  14583. 2006-12-01 Chris Toshok <[email protected]>
  14584. * Form.cs: Form.ControlCollection already stores off the
  14585. form_owner field. don't access the base class's internal "owner"
  14586. field.
  14587. * Control.cs: make all the fields in Control.ControlCollection
  14588. private. there's no need for any internal fields here.
  14589. 2006-12-01 Chris Toshok <[email protected]>
  14590. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  14591. OnHandleCreated. Fixes bug #80109.
  14592. 2006-12-01 Chris Toshok <[email protected]>
  14593. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  14594. SplitContainer.cs, Control.cs, StatusStrip.cs,
  14595. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  14596. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  14597. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  14598. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  14599. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  14600. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  14601. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  14602. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  14603. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  14604. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  14605. do most of the work to convert our code over to use
  14606. System.ComponentModel.Component.Events for
  14607. adding/removing/dispatching events.
  14608. 2006-11-30 Jonathan Pobst <[email protected]>
  14609. * DataGridView.cs: Fix an ArgumentNullException reported
  14610. twice today in IRC.
  14611. 2006-11-30 Mike Kestner <[email protected]>
  14612. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  14613. grabbed listbox. Fixes #80036 and #80101.
  14614. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14615. * Message.cs: Changed ToString() to match MS.
  14616. 2006-11-30 Jackson Harper <[email protected]>
  14617. * TextBoxBase.cs: You can still change the selected text on a read
  14618. only textbox.
  14619. * TextControl.cs: Lower magic number for wrap calculations. This
  14620. lets text get closer to the right (far) edge.
  14621. 2006-11-30 Jonathan Pobst <[email protected]>
  14622. * Control.cs: Tweak 2.0 layout properties.
  14623. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  14624. * TextRenderer.cs: Add a new overload.
  14625. * ToolStrip*: Huge amount of changes and new features.
  14626. 2006-11-30 Mike Kestner <[email protected]>
  14627. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  14628. scroll range correct. Fixes #79994.
  14629. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14630. * MdiWindowManager.cs: Update main form's text when
  14631. a form is closed. (fixes #80038)
  14632. 2006-11-30 Everaldo Canuto <[email protected]>
  14633. * ToolBar.cs:
  14634. - Fix an regression in ButtonSize.
  14635. - Get ImeMode default value change to "Disable".
  14636. - Get ShowTooltips default value change to true, default value is
  14637. "false" but after make a test in .NET we get "true" result as default.
  14638. 2006-11-29 Jonathan Pobst <[email protected]>
  14639. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  14640. 2006-11-29 Chris Toshok <[email protected]>
  14641. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  14642. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  14643. SetWindowTransparency hasn't been called.
  14644. 2006-11-29 Chris Toshok <[email protected]>
  14645. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  14646. if it's supported.
  14647. (set_AllowTransparency): reorder things a little so that the
  14648. WS_EX_LAYERED style is removed properly.
  14649. 2006-11-29 Chris Toshok <[email protected]>
  14650. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  14651. * Form.cs: only call the XplatUI transparency method (get/set) if
  14652. SupportsTransparency says it's supported. Otherwise fallback to
  14653. doing nothing (in the set case) or returning the instance field we
  14654. cache (in the get case).
  14655. * XplatUIStructs.cs: add TransparencySupport flag enum.
  14656. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  14657. change to SupportsTransparency.
  14658. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  14659. TransparencySupport.None from SupportsTransparency.
  14660. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  14661. TransparencySupport.Set from SupportsTransparency.
  14662. * XplatUIWin32.cs: implement GetWindowTransparency calling
  14663. GetLayeredWindowAttributes, and implement SupportsTransparency by
  14664. checking whether or not both
  14665. GetWindowTransparency/SetWindowTransparency are available
  14666. entrypoints. We need to do this since SetWindowTransparency is
  14667. available as of win2k, but GetWindowTransparency requires winxp.
  14668. yay win32 api.
  14669. * XplatUI.cs: Add GetWindowTransparency, and change
  14670. SupportsTransparency to allow for either/both Get/Set.
  14671. 2006-11-29 Chris Toshok <[email protected]>
  14672. * DataGrid.cs: keep from going into an infinite loop redrawing a
  14673. datagrid that has no datasource. Fixes bug #80033.
  14674. 2006-11-29 Chris Toshok <[email protected]>
  14675. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  14676. Invalidate) before the mainmenu has been assigned to a control.
  14677. 2006-11-29 Chris Toshok <[email protected]>
  14678. * DataGrid.cs: detect when we should be double the double click
  14679. row/column autosize stuff, although that codepath has yet to be
  14680. written. part of the work for bug #79891.
  14681. 2006-11-29 Chris Toshok <[email protected]>
  14682. * Binding.cs (SetControl): fix unit test.
  14683. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  14684. * PageSetupDialog.cs: Validate the margins and set them in
  14685. PageSettings.
  14686. * NumericTextBox.cs: New class to mimic the behavior of the
  14687. textboxes used in the printing dialogs.
  14688. 2006-11-29 Andreia Gaita <[email protected]>
  14689. * Form.cs: Revert previous change (remove call UpdateBounds
  14690. from form constructor), because it messes with the handle creation
  14691. order, and that one needs lots and lots of love.
  14692. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  14693. for valid printer and throw InvalidPrinterException if document
  14694. is set but printer not valid), adding a MonoTODO. Once
  14695. handle creation is done properly, we can put this back in.
  14696. 2006-11-28 Everaldo Canuto <[email protected]>
  14697. * MenuItem.cs: Create a invalidate method for menu item, to be
  14698. calling from set text, it make text changes to imadiate update
  14699. on screen. Fixes #80013.
  14700. 2006-11-28 Everaldo Canuto <[email protected]>
  14701. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  14702. fixes bug #80070 and some other problem on toolbar buttons
  14703. layout.
  14704. 2006-11-28 Everaldo Canuto <[email protected]>
  14705. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  14706. with dotted brush. Fixes #79564
  14707. 2006-11-28 Andreia Gaita <[email protected]>
  14708. * Form.cs: Removed call to UpdateBounds on Form
  14709. constructor, it was causing a call to CreateHandle
  14710. before it was supposed to.
  14711. * PrintControllerWithStatusDialog: Applied patch
  14712. by Chris Toshok to hide controller when there are
  14713. no printers available.
  14714. PrintDialog.cs: initialize printer settings to
  14715. null - correct DefaultValues test #5
  14716. * PrintPreviewControl.cs: Move PrintController
  14717. initialization to GeneratePreview
  14718. * PrintPreviewDialog.cs:
  14719. - Remove Preview generation from Document_set(). It is
  14720. called on OnPaint
  14721. - Throw InvalidPrinterException on CreateHandle if
  14722. a Document is set but there are no printers or
  14723. printer is not valid.
  14724. * ThemeWin32Classic: don't paint PrintPreviewControl
  14725. if there is nothing to paint
  14726. 2006-11-28 Miguel de Icaza <[email protected]>
  14727. * Form.cs: Add another popular method.
  14728. * TabPage.cs: ditto.
  14729. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14730. * MenuItem.cs: Fixed a warning.
  14731. * InternalWindowManager: Fixed a warning.
  14732. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14733. * MenuItem.cs:
  14734. - When cloning a menu also clone MdiList and clone the
  14735. window menu items properly (as the forms and menuitems
  14736. are kept in an internal hashtable, these need updating
  14737. as well)
  14738. - Rewrote the window menu code, menu items are added in the
  14739. order the forms were added to their parent, and they are
  14740. updated every time the window menu is shown (before the
  14741. list was only generated once, in the current order of the
  14742. forms, and would never be updated). A checkmark is shown
  14743. next to the item corresponding to the active mdi child.
  14744. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14745. * XplatUIStructs.cs:
  14746. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  14747. * XplatUIWin32.cs:
  14748. - Added TME_NONCLIENT to TMEFlags.
  14749. - Handles WM_NCMOUSEMOVE in GetMessage to
  14750. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  14751. * MdiWindowManager:
  14752. - Now merges mdi child menu to parent menu when maximized.
  14753. - Recalculate NC areas of both mdi child and mdi parent.
  14754. Fixes #79757 (4).
  14755. on window state and size changes.Fixes #79844 (3).
  14756. - Handle WM_NCCALCSIZE to properly calculate borders.
  14757. * Form.cs:
  14758. - Add/remove to the mdi containers list of mdi children
  14759. in the order they are added.
  14760. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  14761. to the maximized mdi child.
  14762. * InternalWindowManager.cs:
  14763. - Only execute a click on the control buttons on the mouse up,
  14764. not on the mouse down. Show the state of the button
  14765. (was only showing Normal state, never Pressed state). The
  14766. pressed button now follows the mouse (if you click the Close
  14767. button and move the mouse over the Maximize button, the
  14768. Maximize button will be shown as pressed). Since Win32 does
  14769. not generate WM_NCLBUTTONUP if you release the button outside
  14770. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  14771. it as a mouse up.
  14772. * ThemeWin32Classic.cs:
  14773. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  14774. * MdiClient.cs:
  14775. - Added a list of forms which contains the order the forms are
  14776. added to the mdi parent.
  14777. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  14778. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  14779. - If the active form changes set the scrollbars to the top
  14780. of the Z order, otherwise the form could hide them.
  14781. - Scrollbars are now sized according to ClientSize, not
  14782. to Size, and they take into account the other scrollbar
  14783. to determine maximum.
  14784. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14785. * XplatUI.cs:
  14786. * XplatUIDriver.cs:
  14787. * XplatUIX11.cs:
  14788. * XplatUIWin32.cs:
  14789. * XplatUIOSX.cs:
  14790. - Added RequestAdditionalWM_NCMessages for windows to
  14791. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  14792. Currently only implemented in XplatUIWin32.
  14793. 2006-11-27 Chris Toshok <[email protected]>
  14794. * Hwnd.cs: only add the hwnd to the windows hash in
  14795. set_WholeWindow and set_ClientWindow if whole_window/client_window
  14796. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  14797. 2006-11-27 Mike Kestner <[email protected]>
  14798. * ComboBox.cs: remove redundant OnDropDown call. It is called
  14799. from the ComboListBox.ShowWindow code. Fixes #79969.
  14800. 2006-11-27 Chris Toshok <[email protected]>
  14801. * Hwnd.cs: remove the setters for ExposePending and
  14802. NCExposePending - noone uses them.
  14803. 2006-11-27 Jackson Harper <[email protected]>
  14804. * TextControl.cs: new param for ReplaceSelection which determines
  14805. whether we select the new selection, or set the cursor to the end
  14806. of the new selection.
  14807. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  14808. pasting, select the new text.
  14809. * RichTextBox.cs: Use new param for ReplaceSelection.
  14810. 2006-11-27 Jackson Harper <[email protected]>
  14811. * TextBoxBase.cs: Set the selection to the caret after the caret
  14812. is moved, otherwise they get out of sync.
  14813. 2006-11-26 Everaldo Canuto <[email protected]>
  14814. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  14815. it fixes #80015
  14816. 2006-11-26 Everaldo Canuto <[email protected]>
  14817. * ThemeWin32Classic.cs:
  14818. - Fix toolbar drop down arrow position.
  14819. - Fix drop down appearance when ToolBar.Appearance is normal,
  14820. it fixes #80018.
  14821. 2006-11-26 Gert Driesen <[email protected]>
  14822. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  14823. * Control.cs: Same.
  14824. * UpDownBase.cs: Same.
  14825. * ButtonBase.cs: Same.
  14826. * ScrollBar.cs: Same.
  14827. * TrackBar.cs: Same.
  14828. * PictureBox.cs: Same.
  14829. * UserControl.cs: Same.
  14830. * Label.cs: Same.
  14831. * ListControl.cs: Same.
  14832. * TextBoxBase.cs: Same.
  14833. * ListView.cs: Same.
  14834. * RichTextBox.cs: Same.
  14835. * TreeView.cs: Same.
  14836. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  14837. * PrintDialog.cs:
  14838. - Text label for where
  14839. - Text label comment was not shown
  14840. 2006-11-23 Everaldo Canuto <[email protected]>
  14841. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  14842. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14843. * InternalWindowManager.cs:
  14844. - Handle WM_PARENTNOTIFY to activate the form
  14845. if any child control is clicked.
  14846. - The form is only sizable if not minimized.
  14847. * MdiWindowManager.cs:
  14848. - Save the IconicBounds if the form is moved.
  14849. - Rework SetWindowState, now the window bounds
  14850. are stored only if the old window state is Normal.
  14851. * MdiClient.cs:
  14852. - In SetWindowStates store the old window state if
  14853. the window is maximized and restore window state if
  14854. the window looses focus.
  14855. - Don't handle any scrollbar value changes if
  14856. initializing the scroll bars. Fixes #79771.
  14857. - Reworked ArrangeIconicWindows. Current algorithm
  14858. tests bounds agains all other minimized windows, if
  14859. any intersections create new bounds (going left to
  14860. right, bottom to top) and then test again. When
  14861. successful the bounds are saved and never computed
  14862. again. Fixes #79774.
  14863. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14864. * InternalWindowManager.cs: Added HandleTitleBarUp.
  14865. 2006-11-23 Gert Driesen <[email protected]>
  14866. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  14867. hexadecimal in ParseUserEdit.
  14868. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14869. * MdiWindowManager.cs:
  14870. - Handle a click on the form's icon to show the
  14871. system menu (when maximized). Fixes #79775.
  14872. - Change the existing click handler for the form's
  14873. icon when not maximized to show on MouseUp.
  14874. Fixes #79776.
  14875. * Form.cs: In OnResize only layout the mdi child's
  14876. parent if it actually has a parent. Might not if
  14877. the window is closing.
  14878. 2006-11-23 Gert Driesen <[email protected]>
  14879. * MdiClient.cs: Ignore active MDI client for text of parent, if
  14880. child has no text set.
  14881. 2006-11-23 Gert Driesen <[email protected]>
  14882. * ToolBar.cs: Fixed ToString to match MS.
  14883. 2006-11-22 Andreia Gaita <[email protected]>
  14884. * NumericUpDown:
  14885. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  14886. update inner values on set. Fixes #79966.
  14887. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  14888. - Fix hexadecimal parsing.
  14889. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  14890. parent. Fixes #79957
  14891. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  14892. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  14893. the actual size has to be queried, since if height /
  14894. width is negative Win32 changes it to 0.
  14895. Fixes #79999 on Windows.
  14896. * XplatUIX11.cs: Set height / width to 0 if negative
  14897. in SetWindowPos. Fixes #79999 on Linux.
  14898. 2006-11-22 Everaldo Canuto <[email protected]>
  14899. * ThemeWin32Classic.cs: Fix text redenring when button is
  14900. pressed.
  14901. 2006-11-22 Everaldo Canuto <[email protected]>
  14902. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  14903. and later navigate by mouse. Fixes #79528.
  14904. 2006-11-21 Everaldo Canuto <[email protected]>
  14905. * ToolBar.cs: Set default value for TabStop to false in
  14906. constructor, it fixes remaining behavior of bug #79863.
  14907. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  14908. * MdiWindowManager.cs:
  14909. * InternalWindowManager.cs:
  14910. - Moved a few methods specific to Mdi from
  14911. InternalWindowManager to MdiWindowManager.
  14912. Fixes #79996.
  14913. 2006-11-21 Chris Toshok <[email protected]>
  14914. * XplatUIOSX.cs: stub out InvalidateNC.
  14915. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  14916. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  14917. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  14918. * XplatUIDriver.cs: add InvalidateNC abstract method.
  14919. * XplatUI.cs: add InvalidateNC.
  14920. 2006-11-21 Everaldo Canuto <[email protected]>
  14921. * ToolBar.cs: Invalidate complete button area when pressed status
  14922. was changed.
  14923. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  14924. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  14925. by 1 when button is pressed.
  14926. 2006-11-20 Everaldo Canuto <[email protected]>
  14927. * ToolButton.cs: Invalidate middle of DropDown button when
  14928. ToolBar theres DropDownArrows.
  14929. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  14930. fix DropDown drawing operations.
  14931. 2006-11-20 Chris Toshok <[email protected]>
  14932. * NativeWindow.cs: fix the formatting of functions ('{' on the
  14933. following line), and enable the thread exception dialog.
  14934. * Application.cs: remove the duplicate exception catching from
  14935. here.
  14936. 2006-11-20 Everaldo Canuto <[email protected]>
  14937. * Toolbar.cs: Triggers button click event when click on icon
  14938. of dropdown ToolBarButton. Fixes #79912.
  14939. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14940. * Theme.cs:
  14941. * ThemeWin32Classic.cs:
  14942. - Added a property WindowBorderFont to enable themeing
  14943. of mdi child windows' Text.
  14944. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14945. * InternalWindowManager.cs:
  14946. * Form.cs:
  14947. * MdiClient.cs:
  14948. * MdiWindowManager.cs:
  14949. - If mdi child is maximized, set mdi parent's
  14950. text to "Parent - [Child]". Fixes #79770.
  14951. - If there is any maximized mdi child windows, only the active
  14952. window (and any new windows) is maximized, the rest are normal.
  14953. - On a WindowState change only save mdi child's window bounds
  14954. if the old window state was normal. Fixes #79774.
  14955. - The scroll bars are now calculated on hopefully all
  14956. necessary events. Fixed #79771 / #79844->6 / #79906.
  14957. - MdiClient.SizeScrollBars() now takes into account docked
  14958. controls in the parent when calculating available space.
  14959. - InternalWindowManager now always repaints the entire title
  14960. area. Fixes #79844->1/4/5.
  14961. - Added RequestNCRecalc on mdi child windowstate changes.
  14962. Fixes #79772.
  14963. 2006-11-20 Mike Kestner <[email protected]>
  14964. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  14965. in the MouseUp handler of the listbox and move the return handling
  14966. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  14967. 2006-11-20 Everaldo Canuto <[email protected]>
  14968. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  14969. 2006-11-17 Alexander Olk <[email protected]>
  14970. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  14971. working in 1.2.x anymore. So, updated.
  14972. 2006-11-19 Gert Driesen <[email protected]>
  14973. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  14974. NumberGroupSeparator of current culture instead of assuming en-US.
  14975. Fixed bug #79967.
  14976. 2006-11-17 Mike Kestner <[email protected]>
  14977. * Control.cs: Add the concept of implicit bounds setting so that
  14978. dock/undock round trips preserve explicitly set size/locations.
  14979. Fixes #79313.
  14980. 2006-11-17 Alexander Olk <[email protected]>
  14981. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  14982. can't handle those filters. (Fixes bug #79961)
  14983. 2006-11-17 Chris Toshok <[email protected]>
  14984. [ fixes the exit/crashes associated with #79835. it's clearly
  14985. suboptimal though, we need to figure out a better way to solve
  14986. this. ]
  14987. * PrintPreviewControl.cs: deal with the new invalid printer
  14988. exceptions.
  14989. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  14990. and return false (so CommonDialog.ShowDialog doesn't actually show
  14991. the form.)
  14992. * PrintDialog.cs: enable/disable the Ok button depending on
  14993. whether or not the printer is valid.
  14994. * CommonDialog.cs (ShowDialog): only actually show the form if
  14995. RunDialog returns true.
  14996. 2006-11-17 Jackson Harper <[email protected]>
  14997. * TextControl.cs: When soft splitting a line, mark it as a soft
  14998. split line. Also carry over the current line break to the next
  14999. line.
  15000. 2006-11-17 Chris Toshok <[email protected]>
  15001. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  15002. only want to shift the part of the invalid area that overlaps the
  15003. area we're scrolling. we also don't want to clear the invalid
  15004. area unless the invalid area was entirely contained within the
  15005. scrolling area.
  15006. 2006-11-16 Chris Toshok <[email protected]>
  15007. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  15008. also make sure to free the memory returned by XGetWindowProperty
  15009. in GetText().
  15010. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  15011. 2006-11-16 Chris Toshok <[email protected]>
  15012. * XplatUI.cs: add a new super secret way to get at the totally
  15013. unsupported X11 backend.
  15014. 2006-11-16 Gert Driesen <[email protected]>
  15015. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  15016. 2006-11-16 Jackson Harper <[email protected]>
  15017. * TreeView.cs: Allow more explicit setting of top node position
  15018. for scrollbars. Slower algo, but more accurate.
  15019. - CollapseAll should maintain the current top node.
  15020. * TextBoxBase.cs: When positioning the caret, use the line, pos
  15021. method, since the x, y method does not grab the correct tag, and
  15022. the caret height never gets set correctly. (Maybe I should just do
  15023. away with the caret having its own height, and always use the
  15024. carets current tag for height).
  15025. 2006-11-16 Jonathan Pobst <[email protected]
  15026. [Fixes 79778, 79923]
  15027. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  15028. Parent to the FosterParent instead.
  15029. 2006-11-16 Jackson Harper <[email protected]>
  15030. * TreeView.cs: Need to recalc the topnode when we expand or
  15031. collapse. The scrolling methods can't handle this on their own,
  15032. since they use differences between the last scroll position, and
  15033. those difference get completely messed up since we are expanding
  15034. nodes. This problem should probably be fixed in the scrolling
  15035. methods, so they can figure out exactly where they are, but this
  15036. will slow things down a little.
  15037. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  15038. strings, makes nunit-gui look a lot nicer.
  15039. 2006-11-16 Chris Toshok <[email protected]>
  15040. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  15041. the broken multithreaded event handling we have in here. File
  15042. this entry under "Why we should move to the new X11 backend".
  15043. Any thread can make it into UpdateMessageQueue, which gets events
  15044. from the X socket - some of which could belong to hwnds being
  15045. managed by a different thread. We can also have multiple threads
  15046. in UpdateMessageQueue at the same time, with each one reading from
  15047. the X socket. This leads to many problems, with the following
  15048. solutions:
  15049. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  15050. EnqueueLocked.
  15051. The MotionNotify compression we do can't work across threads
  15052. (without locking the entire queue, perhaps) since we call
  15053. hwnd.Queue.Peek, so we just punt and don't compress motion events
  15054. unless the owning thread is the one which got the X event.
  15055. ConfigureNotify is another fun one, since it modifies the hwnd's
  15056. bounds and then enqueues the event. We add a lock to Hwnd which
  15057. is held when setting configure_pending to true (and enqueuing the
  15058. event).
  15059. There is a race wrt the wake socket. we need to make sure that
  15060. only 1 thread is waiting on that socket, or else a thread could
  15061. sleep waiting for data that never comes. It's difficult (but not
  15062. impossible) to make happen, because it seems to require something
  15063. like the following:
  15064. 1. Thread 1 polls on wake_receive
  15065. 2. poll returns saying there's data to be read on
  15066. wake_receive.
  15067. 3. Thread 2 polls on wake_receive and immediately returns
  15068. saying there's data to be read.
  15069. 4. Thread 2 reads the wakeup byte from wake_receive
  15070. 5. Thread 1 attempts to read the wakeup byte from
  15071. wake_receive.
  15072. 6. Thread 2 exits (due to a form closing, perhaps).
  15073. 7. Thread 1 blocks forever.
  15074. Fun, eh?
  15075. Fixing the Expose handling isn't done yet, and the races inherent
  15076. in that piece of code are responsible for the drawing mistakes you
  15077. see when generating expose events in a MT app (like NPlot). This
  15078. one is the likely to be the hardest to bandaid, and it doesn't
  15079. appear to cause anything but drawing problems. The other issues
  15080. caused apps to exit or hang.
  15081. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  15082. called from a different thread than the one that should be calling
  15083. these functions.
  15084. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  15085. 2006-11-15 Chris Toshok <[email protected]>
  15086. * Application.cs: null out the context's MainForm when we exit
  15087. RunLoop. Fixes a newly checked in unit test as well as the last
  15088. ODE from bug #79933.
  15089. 2006-11-15 Chris Toshok <[email protected]>
  15090. * Form.cs (set_Owner): allow a null value so we can clear the
  15091. form's owner.
  15092. (Dispose): set all our owned_form's Owner properties to null, and
  15093. clear the owned_forms collection.
  15094. (WM_CLOSE): clean up this a little bit.. still not right though.
  15095. * ApplicationContext.cs: OnMainFormClosed should only call
  15096. ExitThreadCore if the main form isn't recreating. Fixes unit
  15097. test.
  15098. 2006-11-15 Jonathan Pobst <[email protected]>
  15099. [Fixes 78346]
  15100. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  15101. 2006-11-15 Jonathan Pobst <[email protected]>
  15102. [Fixes 79433]
  15103. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  15104. keep popup window types from stealing focus from the main form
  15105. on Windows.
  15106. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  15107. * MenuAPI.cs: Set above flag to true.
  15108. 2006-11-15 Chris Toshok <[email protected]>
  15109. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  15110. the button being released is not in wParam.
  15111. 2006-11-15 Jonathan Pobst <[email protected]>
  15112. * Form.cs: Add the released button to MouseEventArgs.Button
  15113. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  15114. on Win32.
  15115. 2006-11-15 Chris Toshok <[email protected]>
  15116. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  15117. GetText(). untested because it's unused in our implementation.
  15118. Control.Text always caches the text, even if
  15119. ControlStyles.CacheText is not set.
  15120. fixes bug #79939.
  15121. 2006-11-15 Chris Toshok <[email protected]>
  15122. [ fixes #79933 ]
  15123. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  15124. message. no hiding, no disposing.
  15125. in the WM_CLOSE handler, hide the form if it's modal.
  15126. 2006-11-15 Chris Toshok <[email protected]>
  15127. * XplatUIX11.cs: use AddExpose instead of sending a message.
  15128. fixes textbox border drawing.
  15129. 2006-11-15 Chris Toshok <[email protected]>
  15130. * PropertyGridView.cs: keep from crashing on mouse move/down when
  15131. the property grid is empty.
  15132. 2006-11-14 Jackson Harper <[email protected]>
  15133. * TextControl.cs: Make PageUp and PageDown more like the MS
  15134. versions.
  15135. * TextBoxBase.cs: When we set the text property position the
  15136. cursor at the beginning of the document.
  15137. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  15138. * Form.cs: if a mdi child's WindowState has changed
  15139. before it's creation, it would display wrong control
  15140. buttons.
  15141. 2006-11-14 Alexander Olk <[email protected]>
  15142. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  15143. (Fixes bug #79927)
  15144. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  15145. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  15146. the window gets to paint its borders even if the window is
  15147. getting smaller.
  15148. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  15149. otherwise the old control buttons would still be painted
  15150. if the window gets bigger.
  15151. * PaintEventArgs.cs: add an internal method so that the clip
  15152. rectangle can be changed.
  15153. 2006-11-13 Chris Toshok <[email protected]>
  15154. [ fixes bug #79745 ]
  15155. * NotifyIcon.cs: lots of cleanup.
  15156. * X11Structs.cs: add an enum for XEMBED messages.
  15157. * XplatUIX11.cs: reindent one of the giant switch statements, it
  15158. was taking up an additional tab stop, and this file is already way
  15159. too wide for my laptop's screen.
  15160. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  15161. we get it, resize the hwnd to the WMNormalHints max_width/height.
  15162. 2006-11-13 Jackson Harper <[email protected]>
  15163. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  15164. teh simple way.
  15165. 2006-11-13 Chris Toshok <[email protected]>
  15166. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  15167. #79898. force a reference to the Region to stick around so the
  15168. unmanaged object isn't collected (rendering our handle in the MSG
  15169. stale).
  15170. 2006-11-13 Chris Toshok <[email protected]>
  15171. * XplatUIX11.cs: fix #79917 for window managers which support
  15172. using XStoreName on the raw utf8, and we need to convert to
  15173. COMPOUND_TEXT if it's non-latin1.
  15174. 2006-11-13 Chris Toshok <[email protected]>
  15175. * Form.cs (set_DialogResult): we need to set closing to false if
  15176. we're setting our result to None. fixes bug #79908.
  15177. 2006-11-13 Jackson Harper <[email protected]>
  15178. * TextControl.cs: When formatting text, compute the adjusted tag
  15179. lengths correctly, using FindTag for the end tag instead of trying
  15180. to figure it out outselves.
  15181. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  15182. the item, ItemHeight doesn't work, because trees with large
  15183. imagelists use those for their height
  15184. * TreeView.cs: ActualItemHeight factors in the image height
  15185. - compute left edge of checkboxes correctly
  15186. - when expanding/collapsing move the bottom down one pixel, so we
  15187. aren't moving part of the node
  15188. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  15189. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  15190. stack in PaintEventStart so that it won't get disposed by the gc
  15191. before reaching PaintEventEnd.
  15192. 2006-11-13 Jackson Harper <[email protected]>
  15193. * TextBoxBase.cs: Don't select the word if we are on a line with
  15194. no text.
  15195. - We don't need to position the caret on mouse up, since the mouse
  15196. move handler should be doing this
  15197. - When double clicking a blank line, the caret is advanced to the
  15198. next line.
  15199. 2006-11-13 Gert Driesen <[email protected]>
  15200. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  15201. 2006-11-12 Gert Driesen <[email protected]>
  15202. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  15203. Fixes part of bug #79910.
  15204. 2006-11-11 Alexander Olk <[email protected]>
  15205. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  15206. (bug #79903). Some minor string updates to match ms.
  15207. 2006-11-10 Alexander Olk <[email protected]>
  15208. * FileDialog.cs: Don't add an extension if the filename
  15209. already ends with that extension.
  15210. 2006-11-10 Jackson Harper <[email protected]>
  15211. * TreeView.cs: Use the currently highlighted node for the
  15212. BeforeSelect event.
  15213. * TextBoxBase.cs: There is no need to expand selection on
  15214. MouseMove.
  15215. - CanUndo means 'is there any undo operations', not 'is undo
  15216. allowed on this textcontrol. Fixed ClearUndo unit test.
  15217. 2006-11-10 Andreia Gaita <[email protected]>
  15218. * Button.cs: only perform click when button is Selectable (so as
  15219. not to activate default buttons when they're disabled)
  15220. * Control.cs: Rewrite of the SelectNextControl and related
  15221. methods. HandleClick now selects next control if the current one
  15222. is being disabled.
  15223. * Form.cs: OnActivated selects next active control only if Load
  15224. has already occurred. If Load hasn't run, there's no point in
  15225. selecting here, Load might change the state of controls.
  15226. * FocusTest.cs: Tests marked as working again for these fixes
  15227. 2006-11-10 Chris Toshok <[email protected]>
  15228. * XplatUIX11.cs: a couple of fixes.
  15229. - use XInternAtoms with almost all the atoms we need to register,
  15230. instead of many, many calls to XInternAtom. should help a bit on
  15231. startup time, at the expense of making the code look a little
  15232. worse.
  15233. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  15234. isn't reparented (which seems to be a clue that we're running fon
  15235. compiz) and they have an Owner form. This fixes the tool windows
  15236. in paint.net when running under compiz.
  15237. - when setting the opacity of a window, support both the case
  15238. where the window has been reparented and also when it hasn't been.
  15239. Since compiz/beryl doesn't seem to reparent windows, and these are
  15240. the only window managers which support translucency, I'm not sure
  15241. why we need the hwnd.reparented case at all.. but leave it in.
  15242. now we get translucent windows in paint.net under compiz/beryl.
  15243. 2006-11-10 Alexander Olk <[email protected]>
  15244. * FileDialog.cs: Always return the value for FilterIndex that
  15245. was set. Internally convert it to values that make sense.
  15246. 2006-11-10 Everaldo Canuto <[email protected]>
  15247. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  15248. 2006-11-10 Everaldo Canuto <[email protected]>
  15249. * Toolbar.cs: Change default value of DropDownArrows to true, the
  15250. signature still using false to make it compatible with MS but the
  15251. initial value is true. Fixes #79855.
  15252. 2006-11-10 Alexander Olk <[email protected]>
  15253. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  15254. only available on Linux.
  15255. 2006-11-09 Everaldo Canuto <[email protected]>
  15256. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  15257. reduce number of calls to redraw method during toolbar creation.
  15258. 2006-11-09 Mike Kestner <[email protected]>
  15259. * ListView.cs : raise SelectedIndexChanged when an item is selected
  15260. programmatically via the Item.Selected property. Gert's nice
  15261. ListViewSelectedIndexChanged test fixture now runs clean.
  15262. 2006-11-09 Mike Kestner <[email protected]>
  15263. * ListView.cs : raise SelectedIndexChanged when a selected item is
  15264. removed from the item collection using Remove or RemoveAt.
  15265. 2006-11-09 Mike Kestner <[email protected]>
  15266. * ListView.cs : raise SelectedIndexChanged once per selected item
  15267. for compat with MS. Fixes #79849+.
  15268. 2006-11-09 Chris Toshok <[email protected]>
  15269. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  15270. we need to (if we have any tab pages). Fixes unit test.
  15271. 2006-11-09 Chris Toshok <[email protected]>
  15272. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  15273. width is 0, not 3. Fixes a unit test.
  15274. 2006-11-09 Mike Kestner <[email protected]>
  15275. * ListView.cs : use Implicit scrollbars so that focus isn't
  15276. stolen from the listview when they are clicked. Fixes #79850.
  15277. 2006-11-09 Chris Toshok <[email protected]>
  15278. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  15279. have a root item. Fixes #79879.
  15280. 2006-11-09 Alexander Olk <[email protected]>
  15281. * FileDialog.cs:
  15282. - Fix ToString ()
  15283. - An ArgumentException is now thrown if a wrong filter
  15284. is applied (matches ms). The previous filter doesn't change
  15285. anymore if an exception is thrown.
  15286. - Changing the FileName property also affects FileNames
  15287. * ColorDialog.cs: The length of the CustomColors array is always
  15288. 16. It doesn't matter if we use a smaller array or null to update
  15289. or change the custom colors property.
  15290. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  15291. for RootFolder if we get a undefined value.
  15292. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  15293. * StatusBarPanel.cs:
  15294. - Width is set to MinWidth if Width is smaller than
  15295. MinWidth. Fixes #79842.
  15296. - MinWidth now always overrides Width (MSDN says MinWidth
  15297. is set to Width when AutoSize = None, but they do not
  15298. behave like that).
  15299. - Style has now the the correct default value.
  15300. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  15301. * TrackBar.cs:
  15302. - The control is completely invalidated on
  15303. Got/LostFocus to draw the focus rectangle correctly.
  15304. - When AutoSize then height is always 45 (width for
  15305. vertical controls).
  15306. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  15307. on the mouse when moved and it doesn't move when grabbed
  15308. until the mouse moves as well. Also fixed some wrong
  15309. calculations when clicking on the thumb (control thought
  15310. click was outside of thumb and didn't grab it).
  15311. Fixes some of the issues in #79718.
  15312. 2006-11-08 Everaldo Canuto <[email protected]>
  15313. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  15314. 2006-11-08 Chris Toshok <[email protected]>
  15315. * PropertyGridView.cs: only call ToggleValue if the item is not
  15316. readonly.
  15317. 2006-11-08 Jackson Harper <[email protected]>
  15318. * TextBoxBase.cs: The RichTextBox and textbox have very different
  15319. word selection methods. Implement the textbox's simple word
  15320. selection here, and let the RichTextBox override and provide it's
  15321. own.
  15322. - Don't do extra selection on mouseup
  15323. * RichTextBox.cs: Use the documents word selection algorithm, I
  15324. think ideally, this function will be pulled into the
  15325. RichTextBox.cs code someday.
  15326. 2006-11-08 Chris Toshok <[email protected]>
  15327. * RootGridEntry.cs: new class to represent GridItemType.Root.
  15328. * CategoryGridEntry.cs: reformat, and add boilerplate.
  15329. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  15330. returns the UI parent anyway, and we need special handling to
  15331. implement the GetTarget method in the face of it. Also, implement
  15332. Select().
  15333. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  15334. a root grid item, and use that instead of PropertyGrid.grid_items.
  15335. Also, make use of TypeConverters (and add limitted support for
  15336. ICustomTypeDescriptors) when initially populating the grid.
  15337. Arrays now show up more or less properly.
  15338. 2006-11-08 Chris Toshok <[email protected]>
  15339. * Application.cs: set the modal dialog to non modal after we close
  15340. it. Fixes bug #79866.
  15341. 2006-11-08 Jackson Harper <[email protected]>
  15342. * TextControl.cs: When combining lines carry over the line end
  15343. style from the end line.
  15344. - Invalidate the selected area when setting it, if it is visible.
  15345. * TextBoxBase.cs: Only rich text box can do full line selects.
  15346. - Make sure to set the cursor position when there is a click,
  15347. otherwise two clicks in separate areas could cause a large chunk
  15348. to be selected.
  15349. 2006-11-07 Everaldo Canuto <[email protected]>
  15350. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  15351. Fixes #79863.
  15352. 2006-11-07 Everaldo Canuto <[email protected]>
  15353. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  15354. time. Remove tooltips when ToolButton click events. Fixes #79856.
  15355. 2006-11-07 Everaldo Canuto <[email protected]>
  15356. * MenuAPI.cs: Ignore right click for menu actions and fixes
  15357. menu border when clicked. Fixes #79846.
  15358. 2006-11-07 Everaldo Canuto <[email protected]>
  15359. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  15360. MouseState after create wParam for message, this fixes mouse button
  15361. equal none in mouse up events.
  15362. 2006-11-07 Andreia Gaita <[email protected]>
  15363. * Control.cs : Focus() now calls Select to set the Container's
  15364. Active Control and to give it focus. To avoid infinite recursion
  15365. (because ActiveControl also calls Focus at one point), a check
  15366. is made in Focus with the help of a new internal variable
  15367. is_focusing.
  15368. 2006-11-07 Mike Kestner <[email protected]>
  15369. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  15370. if there's a selection. Fixes #79849.
  15371. 2006-11-07 Gert Driesen <[email protected]>
  15372. * PropertyGrid.cs: Avoid fixed height of help description label.
  15373. Fixes part of bug #79829.
  15374. 2006-11-07 Chris Toshok <[email protected]>
  15375. * XplatUIX11.cs: fix #79790 again, by using the
  15376. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  15377. 2006-11-07 Everaldo Canuto <[email protected]>
  15378. * ToolBar.cs: Fix left click checking.
  15379. 2006-11-07 Chris Toshok <[email protected]>
  15380. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  15381. 2006-11-07 Chris Toshok <[email protected]>
  15382. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  15383. PropertyManager unit tests.
  15384. * PropertyManager.cs: make property_name internal.
  15385. 2006-11-07 Chris Toshok <[email protected]>
  15386. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  15387. pass a unit test. Also, don't set image_index to anything in
  15388. response to setting the ImageList property.
  15389. 2006-11-07 Everaldo Canuto <[email protected]>
  15390. * ToolBar.cs: Ignore click events when mouse button is not a
  15391. left button, only accepts other button for dropdown menus.
  15392. Fixes #79854.
  15393. 2006-11-07 Chris Toshok <[email protected]>
  15394. * DataGrid.cs: make the back and parent row buttons a little less
  15395. ugly.
  15396. 2006-11-07 Jackson Harper <[email protected]>
  15397. * TextBoxBase.cs: When converting to Text don't put line breaks in
  15398. for soft line breaks.
  15399. * TextControl.cs: There is an initial "fake" line in the document,
  15400. this is now a soft break line, so that an extra line feed doesn't
  15401. get added to the end of documents.
  15402. 2006-11-07 Chris Toshok <[email protected]>
  15403. [ fix bug #79778 ]
  15404. * CurrencyManager.cs: if the list is readonly, don't bother
  15405. checking if IBindingList.AllowNew is true.
  15406. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  15407. for non-DataRowView datasources.. or rather, make it not crash.
  15408. (DataGridPaintRelationRow): make sure we limit the row painting to
  15409. the area not covered by the row header, and make our cell width at
  15410. least large enough to cover the relation area. This allows grids
  15411. that have relations but no rows to render correctly.
  15412. (DataGridPaintRowContents): same type of changes here.
  15413. (SetDataSource): move back to always calling
  15414. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  15415. navigating back through relations.
  15416. (HitTest): handle the case where we have no cells but have
  15417. relations. Right now we generate a hit in cell 0 of whatever the
  15418. row is, not sure if this is strictly correct, but it works for our
  15419. purposes.
  15420. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  15421. bother doing anything.
  15422. 2006-11-07 Jonathan Pobst <[email protected]>
  15423. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  15424. early version of StatusStrip. Not responsible for eaten
  15425. application or firstborn children.
  15426. 2006-11-06 Chris Toshok <[email protected]>
  15427. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  15428. call GetTabRect with a -1 index. Fixes #79847.
  15429. 2006-11-06 Jackson Harper <[email protected]>
  15430. * TreeNodeCollection.cs: Update scrollbars after clearing.
  15431. 2006-11-06 Chris Toshok <[email protected]>
  15432. * NumericUpDown.cs: fix the ToString method for some unit test
  15433. love.
  15434. 2006-11-06 Chris Toshok <[email protected]>
  15435. * PropertyGrid.cs:
  15436. - set the initial SelectedGridItem if we can.
  15437. - Exclude non-mergable properties only if we're merging > 1
  15438. object. Merging 1 object isn't really merging, obviously.
  15439. - Handle PropertySort.NoSort just like Alphabetical, which is
  15440. wrong of course, but at least gets things on the screen.
  15441. * PropertyGridView.cs:
  15442. - Add method "FindFirstItem" which finds the first property grid
  15443. item, so we can select it by default.
  15444. - make use of GridEntry.CanResetValue.
  15445. - Don't call RedrawBelowItemOnExpansion here anymore, the
  15446. individual GridEntry's will do that.
  15447. - Remove the ITypeDescriptorContextImpl internal class.
  15448. * GridEntry.cs:
  15449. - this class needs to implement ITypeDescriptorContext, as it's
  15450. what MS's PropertyDescriptorGridEntry does, which means we can
  15451. remove the ITypeDescriptorContextImpl internal class from
  15452. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  15453. - keep a reference to our PropertyGridView, and move the call to
  15454. RedrawBelowItemOnExpansion here from PGV. This means
  15455. programmaticly setting Expanded actually does something visible.
  15456. - add a CanResetValue() function which takes into account our
  15457. possibly multiple "selected_objects" in the merged case. Shifting
  15458. PropertyGridView to use this method fixes another unreported
  15459. crasher found running the test for #79829.
  15460. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  15461. is updated to reflect this.
  15462. * CategoryGridEntry.cs: the ctor takes the PGV now.
  15463. 2006-11-06 Jackson Harper <[email protected]>
  15464. * TextControl.cs: These are 1 based.
  15465. * TextBoxBase.cs: When setting the selected text, don't change the
  15466. selected text tags, this is done by ReplaceText, just position the
  15467. cursor at the end of the new text.
  15468. 2006-11-06 Alexander Olk <[email protected]>
  15469. * ListView.cs: Allow label edit only when, when LabelEdit is
  15470. set to true.
  15471. 2006-11-06 Jackson Harper <[email protected]>
  15472. * TextControl.cs: If a suitable wrapping position isn't found,
  15473. just wrap right in the middle of a word.
  15474. 2006-11-06 Alexander Olk <[email protected]>
  15475. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  15476. bug #79820.
  15477. 2006-11-06 Jackson Harper <[email protected]>
  15478. * TreeView.cs: Can't use the VisibleCount property when setting
  15479. scrollbar heights, because this doesn't take into account whether
  15480. or not the horz scrollbar just came visible.
  15481. 2006-11-05 Everaldo Canuto <[email protected]>
  15482. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  15483. activated. Fixes #79369, #79832.
  15484. 2006-11-05 Alexander Olk <[email protected]>
  15485. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  15486. had to remove support for links that point to a directory. FileInfo
  15487. returns no usefull information (means, the directory they point to)
  15488. for such links. Replaced some empty string ("") with String.Empty.
  15489. 2006-11-04 Gert Driesen <[email protected]>
  15490. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  15491. NullReferenceException when attempting to remove node that is not in
  15492. collection. Throw NullReferenceException when null is passed to
  15493. Remove. Allow first element of the collection to be removed. Fixes
  15494. bug #79831. In GetEnumerator ().Current return null if positioned
  15495. before the first element of the collection. In GetEnumerator ().Reset,
  15496. position before first element of the collection.
  15497. 2006-11-04 Gert Driesen <[email protected]>
  15498. * PropertyGrid.cs: To match MS, remove default title and description
  15499. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  15500. buttons.
  15501. 2006-11-04 Chris Toshok <[email protected]>
  15502. * Theme.cs: add a Clamp method, just for kicks.
  15503. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  15504. 2006-11-04 Chris Toshok <[email protected]>
  15505. * Form.cs: if the form isn't visible, Close() does nothing.
  15506. 2006-11-03 Chris Toshok <[email protected]>
  15507. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  15508. Hide it.
  15509. (WndProc): don't Dispose after handling the WM_CLOSE message.
  15510. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  15511. them as such, instead of using casts from Control to Form. Also,
  15512. don't Dispose of the modal dialog when we fall out of the loop -
  15513. Close() it instead.
  15514. fixes bug #79813.
  15515. 2006-11-03 Chris Toshok <[email protected]>
  15516. * Control.cs (Dispose): only go through the dispose thing if we're
  15517. @disposing, and we haven't already been disposed. Fixes bug
  15518. #79814.
  15519. * Form.cs: no reason to call "base.Dispose()" here instead of
  15520. "Dispose()".
  15521. 2006-11-03 Mike Kestner <[email protected]>
  15522. * ComboBox.cs : use ToString instead of casts in AddItem for
  15523. sorting functionality. Fixes #79812.
  15524. 2006-11-03 Chris Toshok <[email protected]>
  15525. * Application.cs: pave the way for actually using the thread
  15526. exception dialog. it's ifdefed out at the moment.
  15527. 2006-11-03 Chris Toshok <[email protected]>
  15528. * ThreadExceptionDialog.cs: until we get a better layout, actually
  15529. hide the details textbox and label when we shouldn't see them.
  15530. 2006-11-03 Jackson Harper <[email protected]>
  15531. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  15532. multiline textboxes anymore. This method also determines the
  15533. width/height of a textboxes canvas area.
  15534. - Sorta a revert of the last patch. For multiline just position
  15535. the controls, then bail. This way the scrollbar width won't be
  15536. altered.
  15537. 2006-11-03 Everaldo Canuto <[email protected]>
  15538. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  15539. it dont need. Fixes #79537.
  15540. 2006-11-02 Jackson Harper <[email protected]>
  15541. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  15542. send the status after firing the DndOver event.
  15543. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  15544. * TrackBar.cs: Now orientation only switches height / width if
  15545. the control's handle is created (Win32 does it like this). Also
  15546. fixed a typo in ToString() for a test to pass, changed the
  15547. exception thrown in set_LargeChange and set_SmallChange to
  15548. match Win32 behaviour, and added TrackBar tests to the unit
  15549. tests.
  15550. 2006-11-02 Chris Toshok <[email protected]>
  15551. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  15552. not _NET_WM_STATE_NO_TASKBAR.
  15553. 2006-11-02 Jackson Harper <[email protected]>
  15554. * TextControl.cs: Increment count by one, since in the update view
  15555. count - 1 is used.
  15556. 2006-11-02 Jackson Harper <[email protected]>
  15557. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  15558. the mouse is in the client rectangle (duh).
  15559. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  15560. * TrackBar.cs: Fixed trackbar jumping around when clicking
  15561. on it - the trackbar was not detecting correctly at which
  15562. side of the thumb the click was done. (fixes #79718)
  15563. 2006-11-02 Everaldo Canuto <[email protected]>
  15564. * ListBox.cs: scroll visible area when change SelectedIndex to
  15565. a non visible area. Fixes #79481.
  15566. 2006-11-01 Jackson Harper <[email protected]>
  15567. * TextControl.cs: When replacing the selection move the selection
  15568. start/end/anchor to the end of the new text.
  15569. 2006-11-01 Jackson Harper <[email protected]>
  15570. * XplatUIWin32.cs: When setting the parent change the controls
  15571. visibility to it's visibility flag, not to it's old parents
  15572. visibility (.Visible walks the parent chain).
  15573. 2006-11-01 Chris Toshok <[email protected]>
  15574. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  15575. XSetTransientForHint fix breaks paint .net's tool windows. more
  15576. work needed for that one.
  15577. 2006-11-01 Chris Toshok <[email protected]>
  15578. * ScrollBar.cs: throw ArgumentException instead of Exception in
  15579. LargeChange/SmallChange setters. fixes unit tests.
  15580. 2006-10-31 Andreia Gaita <[email protected]>
  15581. * ContainerControl.cs: reverted rev.67183 (which was itself
  15582. a reversion of rev.66853... eh).
  15583. * Control.cs: Fixes Reflector hang by changing Focus() call
  15584. to what it was before rev.66643 (calling Select() here sets
  15585. ActiveControl, which in some situations calls back Focus and
  15586. eventually does a stack overflow). Temp fix.
  15587. Changes to GetNextControl() to not look for children to select when
  15588. parent cannot be selectable (so it looks for siblings instead)
  15589. 2006-10-31 Mike Kestner <[email protected]>
  15590. * CheckedListBox.cs : off by one error in returned index from
  15591. ObjectCollection.Add. Fixes #79758.
  15592. 2006-10-31 Chris Toshok <[email protected]>
  15593. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  15594. calls for the textbox/spinner, to keep from recursing to the point
  15595. where we crash. Fixes #79760.
  15596. 2006-10-31 Chris Toshok <[email protected]>
  15597. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  15598. null/"" value, just return. matches ms's behavior and fixes some
  15599. failing tests.
  15600. 2006-10-31 Chris Toshok <[email protected]>
  15601. * Control.cs (set_Capture): make a logic a little easier to
  15602. follow.
  15603. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  15604. if it's being destroyed. A necessary fix surely, but a bandaid
  15605. also, to fix the stuck capture problem in bug #78413.
  15606. 2006-10-31 Chris Toshok <[email protected]>
  15607. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  15608. convention of clearing hwnd.ClientRect when we set the
  15609. width/height (so it'll be recalculated by Hwnd).
  15610. 2006-10-31 Andreia Gaita <[email protected]>
  15611. * ContainerControl.cs: reversed Contains check from
  15612. ActiveControl due to hanging problems. This fix
  15613. partly regresses #79667 (button does not have
  15614. initial focus), so this might be a symptom for
  15615. a larger parenting problem (set_ActiveControl
  15616. is being called but the child control does
  15617. not have the parent set yet?)
  15618. 2006-10-31 Mike Kestner <[email protected]>
  15619. * MenuAPI.cs : fix keynav when menu is click activated.
  15620. 2006-10-31 Jonathan Pobst <[email protected]>
  15621. * ToolStrip*: Version 0.2.
  15622. * MenuStrip.cs: Version 0.1.
  15623. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  15624. 2006-10-30 Chris Toshok <[email protected]>
  15625. [ fixes the oversized notify icon issue in bug #79745 ]
  15626. * NotifyIcon.cs: scale the icon down to the size we're given by
  15627. the XplatUI layer (this would be faster if we did it once instead
  15628. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  15629. since it's never invoked.
  15630. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  15631. pixels high by default, so let's hardcode our systray icon to that
  15632. size. The SYSTEM_TRAY protocol should really have a way for
  15633. client apps to query for the correct icon size.. but oh well. A
  15634. couple of patches to deal with the screwy client_window ==
  15635. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  15636. instance, and also make sure we don't XSelectInput twice).
  15637. 2006-10-30 Chris Toshok <[email protected]>
  15638. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  15639. recreating forms. Control recreation is the bane of my existence.
  15640. Fix it in a way that keeps everyone happy.
  15641. 2006-10-30 Chris Toshok <[email protected]>
  15642. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  15643. just non-CHILD ones. otherwise sometimes scrollbars end up with
  15644. client_windows not being resized to the proper size (ReportBuilder
  15645. shows this extremely well).
  15646. 2006-10-30 Chris Toshok <[email protected]>
  15647. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  15648. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  15649. showing up in the gnome taskbar. Fixes bug #79790.
  15650. 2006-10-30 Chris Toshok <[email protected]>
  15651. * ApplicationContext.cs: guard against a NRE.
  15652. * Application.cs: null out the old MainForm for the context, so we
  15653. don't try to use it again once it's disposed. Fixes bug #79783.
  15654. 2006-10-30 Chris Toshok <[email protected]>
  15655. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  15656. BindingContext, set the data source directly, otherwise do the
  15657. lazy approach - the actual ListManager will be created when we get
  15658. a BindingContext. Fixes bug #79700.
  15659. 2006-10-30 Jonathan Pobst <[email protected]>
  15660. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15661. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  15662. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  15663. 2006-10-30 Jonathan Pobst <[email protected]>
  15664. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  15665. of SetVisible that allows a window to be shown, but not activated.
  15666. This is needed on Windows for MenuStrip, and can probably be used
  15667. with MainMenu and ComboBox to fix the focus stealing issues on
  15668. Windows.
  15669. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  15670. 2006-10-30 Alexander Olk <[email protected]>
  15671. * PictureBox.cs: Fix the output of the ToString method.
  15672. 2006-10-29 Chris Toshok <[email protected]>
  15673. * Control.cs (get_TopLevelControl): fix bug #79781.
  15674. 2006-10-29 Chris Toshok <[email protected]>
  15675. * ListControl.cs (set_DataSource): throw Exception here, not
  15676. ArgumentException, to match MS behavior.
  15677. 2006-10-29 Chris Toshok <[email protected]>
  15678. * Form.cs: remove the try-catch's around calls to GetWindowState.
  15679. We can just check the return value.
  15680. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  15681. Instead return -1.
  15682. * XplatUI.cs: Add note about additional return value for
  15683. GetWindowState.
  15684. 2006-10-29 Chris Toshok <[email protected]>
  15685. * Control.cs (CreateHandle): when we create our handle, we also
  15686. create the handles of our child controls. Fixes one of the
  15687. Control unit tests (CH11).
  15688. 2006-10-28 Alexander Olk <[email protected]>
  15689. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  15690. 2006-10-28 Alexander Olk <[email protected]>
  15691. * ThemeClearlooks.cs: A little speedup.
  15692. 2006-10-27 Chris Toshok <[email protected]>
  15693. * Control.cs: implement Control.FromChildHandle in a way that
  15694. matches the docs (and fixes the failed test.)
  15695. 2006-10-27 Chris Toshok <[email protected]>
  15696. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  15697. comments).
  15698. * DataGrid.cs: implement ResetForeColor such that the tests
  15699. succeed.
  15700. 2006-10-27 Chris Toshok <[email protected]>
  15701. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  15702. being set to "". Fixes bug #79759.
  15703. 2006-10-27 Jackson Harper <[email protected]>
  15704. * TextControl.cs: We need to clear the entire selection area when
  15705. setting the start, otherwise multiline selections are still
  15706. visible.
  15707. 2006-10-26 Chris Toshok <[email protected]>
  15708. * PropertyGridView.cs:
  15709. - ifdef all the code specific to the double
  15710. buffer case, and provide some alternatives in the non-doublebuffer
  15711. code, which makes heavy use of XplatUI.ScrollWindow to move things
  15712. around without having to invalidate (and cause flicker). There
  15713. are still some drawing problems in the non-doublebuffered case, so
  15714. DOUBLEBUFFER is defined by default.
  15715. - Fix the way dropdowns are handled. now we explicitly watch for
  15716. the events which might cause the dropdown to close, and break out
  15717. of the nested event loop there. This gets rid of all Capture
  15718. code, at the expense of the Msg special casing. Seems to work,
  15719. though, and fixes bug #79743.
  15720. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  15721. * Control.cs: SetIsRecreating now recreates implicitly added
  15722. child controls as well. Finally fixes #79629. The flag passed to
  15723. SetIsRecreating has also been removed since it wasn't used.
  15724. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  15725. * PageSetupDialog.cs: Clean some code, fix some bits,
  15726. add some checks, and add a printer sub-dialog.
  15727. 2006-10-26 Chris Toshok <[email protected]>
  15728. * PropertyGrid.cs: make set_SelectedObject call
  15729. set_SelectedObjects, and move the duplicate logic to the
  15730. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  15731. * PropertyGridView.cs: hide the textbox when we get a
  15732. SelectedObjectsChanged event.
  15733. Fixes bug #79748.
  15734. 2006-10-26 Chris Toshok <[email protected]>
  15735. * PropertyGridView.cs: deal with the type converter not supporting
  15736. GetStandardValues() or GetStandardValues() returning null, which
  15737. is does in the default case. Fixes #79742.
  15738. 2006-10-25 Andreia Gaita <[email protected]>
  15739. * CheckedListBox.cs: nunit no longer crashes when selecting
  15740. Project/Edit menu option
  15741. 2006-10-25 Andreia Gaita <[email protected]>
  15742. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  15743. is no menu selected. fixes #79739
  15744. 2006-10-25 Chris Toshok <[email protected]>
  15745. * PropertyGridView.cs: factor out the splitter invalidation code
  15746. into the SplitterPercent setter, and for kicks implement the
  15747. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  15748. amount in either direction.
  15749. 2006-10-25 Chris Toshok <[email protected]>
  15750. * PropertyGridView.cs: do some cleanup of the brush used to draw
  15751. text - read only fields should be grayed out. not sure how to do
  15752. this with the textbox, though. but the textbox's should also be
  15753. readonly now at least. Also, hide/show the textbox when resizing
  15754. the control.
  15755. * CursorConverter.cs: use System.Reflection when getting the
  15756. properties of Cursors, as TypeDescriptor.GetProperties isn't
  15757. returning static properties.
  15758. 2006-10-25 Chris Toshok <[email protected]>
  15759. * PropertyGridView.cs: factor out the up/down handling, and reuse
  15760. it for page up/down. also add End/Home support.
  15761. 2006-10-25 Chris Toshok <[email protected]>
  15762. * PropertyGridView.cs:
  15763. - ensure the selected grid item is visible in the scrolled area,
  15764. fixes bug #79572.
  15765. - fix Keys.Down handling when you're on the last item in the
  15766. propertygrid.
  15767. 2006-10-25 Mike Kestner <[email protected]>
  15768. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  15769. clicks too. Fixes #79725.
  15770. 2006-10-24 Chris Toshok <[email protected]>
  15771. * PropertyGrid.cs: use property.Converter instead of
  15772. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  15773. TypeConverters declared on the property as well as on the
  15774. PropertyType. Fixes bug #79678.
  15775. 2006-10-24 Alexander Olk <[email protected]>
  15776. * MimeIcon.cs, Mime.cs:
  15777. Fallback to the default platform handler if no shared mime info
  15778. stuff exists (fixes #79693).
  15779. 2006-10-20 Andreia Gaita <[email protected]>
  15780. * ContainerControl.cs: Incorrect contains check in ActiveControl
  15781. from previous fix (duh).
  15782. 2006-10-20 Chris Toshok <[email protected]>
  15783. * PropertyGridView.cs: the dropdown should be MIN(number of items
  15784. in list, 15). Fixes #79551.
  15785. 2006-10-20 Andreia Gaita <[email protected]>
  15786. Fixes #79384, #79394, #79652, #79667
  15787. * Application.cs:
  15788. - Modal windows are now destroyed in the proper order for windows
  15789. * ContainerControl.cs:
  15790. - ActiveControl setter has more conditions on when to return:
  15791. - if we're reselecting the active control, but it actually
  15792. didn't have focus (window hidden or some such), it runs
  15793. - if the active control being selected doesn't actually
  15794. exist in the container, it returns
  15795. * Form.cs
  15796. - The ShowDialog now gets the current form as the owner when
  15797. invoking without parameters, and correctly activates the owner
  15798. when returning
  15799. * MessageBox.cs
  15800. - MessageBox now catches the Escape key to exit
  15801. 2006-10-20 Chris Toshok <[email protected]>
  15802. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  15803. most of bug #79676):
  15804. - you can navigate around the property grid with the arrow keys.
  15805. - the dropdown is sized properly when the pg has a vertical
  15806. scrollbar.
  15807. - fix the indentation for subentries, and properly select the
  15808. entire label rect.
  15809. - fix the gray bar's drawing (only draw it to the last element,
  15810. not for the height of the control. Also make sure we draw that
  15811. last horizontal grid line.
  15812. - use the same mechanism the datagrid uses wrt the editing textbox
  15813. when scrolling/resizing/etc. Namely, we hide it first, do the
  15814. operation, then show it again (if it's still visible).
  15815. - aggressively remove a lot of unnecessary refreshes (and also
  15816. calls to Invalidate(). call more limited variants, and only redraw
  15817. what we need.)
  15818. * PropertyGrid.cs:
  15819. - when we're populating the merged collection, fill in the UI
  15820. parent with either the passed in item, or the category item we
  15821. create.
  15822. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  15823. * GridItem.cs: drop some fully qualified names.
  15824. * GridEntry.cs: add a "UIParent", which is basically the parent
  15825. treenode.
  15826. * GridItemCollection.cs: add an IndexOf method.
  15827. 2006-10-20 Mike Kestner <[email protected]>
  15828. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  15829. a working win32 NC invalidation mechanism, we can't invalidate
  15830. menus. [Fixes #79705]
  15831. 2006-10-20 Mike Kestner <[email protected]>
  15832. * ListBox.cs : don't update the VScrollbar if the list is empty,
  15833. just hide it. [Fixes #79692]
  15834. 2006-10-20 Jackson Harper <[email protected]>
  15835. * RichTextBox.cs: Handle some special chars better, and don't skip
  15836. the entire group when we encounter a special char that we don't
  15837. handle correctly.
  15838. 2006-10-18 Chris Toshok <[email protected]>
  15839. * PropertyGridView.cs: address a number of issues from bug #79676,
  15840. mostly of the cosmetic variety.
  15841. - The highlight rectangle for indented items not extends all the
  15842. way to the left.
  15843. - Indented items aren't indented so much.
  15844. - the dropdown is properly sized width-wise if the pg has a
  15845. vertical scrollbar.
  15846. 2006-10-18 Chris Toshok <[email protected]>
  15847. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  15848. systray stuff is rather convoluted to begin with.
  15849. systray icons are a single window for some reason (that I haven't
  15850. figured out yet), and for them, client_window == whole_window.
  15851. Given the way the tests are structured elsewhere to determine
  15852. which paints are pending (client vs. nc), that situation will
  15853. always yield PAINT, not NCPAINT. So, if we have a pending
  15854. nc_expose and no pending expose, remove the hwnd from the paint
  15855. queue, and also set nc_expose_pending to false, to keep us from
  15856. blocking further expose's adding the hwnd to the paint queue.
  15857. phew. like i said, a rather convoluted change. Fixes the
  15858. notifyicon repaint issues in bug #79645.
  15859. 2006-10-18 Chris Toshok <[email protected]>
  15860. * Form.cs: when getting the backcolor of the form, don't get
  15861. base.BackColor, as this allows parents to influence the background
  15862. color. This breaks mdi forms. Instead, if the background_color
  15863. is empty, return the default.
  15864. 2006-10-18 Chris Toshok <[email protected]>
  15865. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  15866. to being private instead of internal static.
  15867. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  15868. crap, it wasn't working for more deeply nested controls anyway,
  15869. and we already have the is_recreating flag - use that instead.
  15870. Before calling DestroyHandle in RecreateHandle, recurse through
  15871. the control tree setting it to true. this returns the recreate
  15872. code to much of its original simplicity, while now guaranteeing we
  15873. actually recreate everything we're supposed to. This change gets
  15874. fyireporting actually showing mdi children.
  15875. 2006-10-17 Chris Toshok <[email protected]>
  15876. * Form.cs: remove some debug spew, and collapse some duplicate
  15877. code at the end of SetClientSizeCore.
  15878. * XplatUIX11.cs:
  15879. - add some more debug spew here too wrt Destroy handling.
  15880. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  15881. in Control's handling of WM_DESTROY.
  15882. - Remove the handling of zombie window DestroyNotifies from the
  15883. event loop - we don't need it. Now the only DestroyNotifies we
  15884. actually handle are ones generated by X.
  15885. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  15886. match gtk's (functioning) handling of this. This keep metacity
  15887. from leaving droppings in the form of wm borders with no window
  15888. contents all over the place.
  15889. * Control.cs:
  15890. - add a bunch of debug spew wrt control recreation.
  15891. - fix a bug where we weren't tracking Visible properly on
  15892. recreated hwnds.
  15893. - fixed the WM_PAINT double buffer handling to support re-entrant
  15894. calls (yes, i know it's gross, but it's happening to us).
  15895. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  15896. * ThemeWin32Classic.cs: changed drawing of selected days
  15897. to make them look better.
  15898. 2006-10-16 Chris Toshok <[email protected]>
  15899. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  15900. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  15901. * XplatUIX11.cs: move away from using hwnd.client_dc and
  15902. hwnd.non_client_dc and on to a stack of dc's (and in window's
  15903. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  15904. without puking or not disposing of Graphics objects.
  15905. * XplatUIOSX.cs: same.
  15906. * XplatUIWin32.cs: same.
  15907. 2006-10-03 Alexander Olk <[email protected]>
  15908. * FileDialog.cs: Don't call on_directory_changed inside
  15909. OnSelectedIndexChanged (it changes the SelectedIndex too).
  15910. Instead move it to OnSelectionChangeCommitted.
  15911. 2006-10-13 Chris Toshok <[email protected]>
  15912. * XplatUIX11.cs: more Destroy work. the current code does the
  15913. following things, in order:
  15914. 1. Enumerates all handles of all controls at or below the one
  15915. being destroyed, in pre-order. As it is doing this, it marks the
  15916. handles as zombie and clears all references to them.
  15917. 2. calls XDestroyWindow on the window passed in.
  15918. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  15919. list.
  15920. 2006-10-13 Chris Toshok <[email protected]>
  15921. * XplatUIX11.cs: set hwnd.zombie to true before calling
  15922. SendMessage (WM_DESTROY). this keeps us from marking the new
  15923. window a zombie, and also keeps us from calling sendmessage at
  15924. all.
  15925. 2006-10-13 Jackson Harper <[email protected]>
  15926. * TextControl.cs: Do not show the caret and selection at the same
  15927. time. Reduces ugliness by 35%.
  15928. 2006-10-13 Chris Toshok <[email protected]>
  15929. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  15930. zombie after we do the recursive call, so we actually do call
  15931. SendMessage on the children controls.
  15932. (GetMessage): if we find a pending paint event for a zombie hwnd,
  15933. remove the hwnd from the paint queue, or else it will always be
  15934. there (and we'll effectively loop infinitely)
  15935. 2006-10-13 Mike Kestner <[email protected]>
  15936. * MenuItem.cs : add Selected format under keynav too.
  15937. Fixes #79528.
  15938. 2006-10-13 Gert Driesen <[email protected]>
  15939. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  15940. implementation and that of MS.
  15941. 2006-10-13 Chris Toshok <[email protected]>
  15942. * Control.cs (OnInvalidated) only futz with the invalid_region if
  15943. the control is double buffered. this fixes the apparent hang in
  15944. the ListView unit tests. Someone needs to make the
  15945. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  15946. 2006-10-13 Chris Toshok <[email protected]>
  15947. * PropertyGridView.cs:
  15948. - do a little refactoring so that only one place calls
  15949. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  15950. else call that. Also make it Refresh, since there are redraw bugs
  15951. otherwise (we should take a look at that...)
  15952. - do a little more refactoring work to share the body of code
  15953. involved with the drop down. it was duplicated in the code
  15954. dealing with the listbox handling and in the code dealing with the
  15955. UITypeEditors.
  15956. - add a Capture to the dropdown form's control once it's
  15957. displayed, and add a MouseDown handler that checks to make sure
  15958. the position is inside the control. If it's not, close the
  15959. dropdown. This fixes #78190.
  15960. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  15961. if the value is different than the initial value.
  15962. 2006-10-13 Andreia Gaita <[email protected]>
  15963. * Control.cs: see #78650
  15964. - Fixed GetNextControl for several cases:
  15965. - Changed FindFlatForward to return
  15966. correct sibling control when more than one
  15967. control has same TabIndex as the currently
  15968. focused one.
  15969. - Changed FindFlatBackward to loop children
  15970. from last to first and apply same logic as in
  15971. FindFlatForward
  15972. - Changed FindControlForward to search for
  15973. children when control is not a container
  15974. but has children, or search for siblings if
  15975. control is a container...
  15976. - Changed FindControlBackward to continue
  15977. searching for child controls when hitting
  15978. Panel-like parents
  15979. - Fixed Focus method to update ActiveControl
  15980. (FocusTest.FocusSetsActive failure)
  15981. * TabControl.cs:
  15982. - Focus rectangle now refreshes when gaining
  15983. or losing focus
  15984. - Removed grab for Tab key on IsInputKey that
  15985. was keeping tab navigation from working (#78650)
  15986. 2006-10-13 Chris Toshok <[email protected]>
  15987. * PropertyGridView.cs:
  15988. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  15989. SelectedObjects.
  15990. - Deal with GridItem.Value == null a few places.
  15991. * PropertyGrid.cs:
  15992. - replace the PopulateGridItemCollection with a pair of methods
  15993. which compute the intersection of all the properties in the
  15994. SelectedObjects array. Fixes #79615.
  15995. - Throw ArgumentException from set_SelectedObjects if there's a
  15996. null in the array.
  15997. - Add GetTarget method which can be used to traverse up the
  15998. GridItem.Parent chain. It depends on the assumption that
  15999. selected_objects for different GridEntries are always in the same
  16000. order (a safe assumption). Use this method and loop over all the
  16001. selected objects in the entry when calling RemoveValueChanged and
  16002. AddValueChanged.
  16003. * GridEntry.cs: Make this handle multiple selected objects.
  16004. .Value returns null if not all the selected objects share the same
  16005. value.
  16006. 2006-10-12 Jonathan Pobst <[email protected]>
  16007. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  16008. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  16009. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  16010. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  16011. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  16012. add additional functionality.
  16013. 2006-10-12 Mike Kestner <[email protected]>
  16014. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  16015. * HelpProvider.cs : new ToolTipWindow ctor sig.
  16016. * ToolTip.cs : remove ToolTip param from Window sig since it is
  16017. not used.
  16018. * ToolBar.cs : add tooltip support. Fixes #79565.
  16019. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  16020. * ComboBox.cs: move the events in set_SelectedIndex to
  16021. after the call to HighlightIndex in order to avoid
  16022. possible recursion and subsequent problems with the call
  16023. to HighlightIndex and include a range check in
  16024. set_HighlightIndex. Fixes #79588
  16025. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  16026. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  16027. to ui thread's settings instead of sunday.
  16028. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  16029. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  16030. * DateTimePicker.cs
  16031. * MonthCalendar.cs
  16032. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  16033. and implement missing functionality (selecting different parts
  16034. of the date and edit them individually with the keyboard).
  16035. 2006-10-11 Chris Toshok <[email protected]>
  16036. * Control.cs (OnInvalidated): fix NRE relating to last change.
  16037. 2006-10-11 Chris Toshok <[email protected]>
  16038. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  16039. atoms in _NET_WM_STATE here if the window is maximized. We need
  16040. to do this because we're *replacing* the existing _NET_WM_STATE
  16041. property, so those atoms will be lost otherwise, and any further
  16042. call to GetWindowState will return Normal for a window which is
  16043. actually maximized. Fixes #79338.
  16044. 2006-10-11 Jackson Harper <[email protected]>
  16045. * TextControl.cs: Special case for setting selection end to
  16046. selection start, we basically kill the anchor.
  16047. - some todo comments.
  16048. 2006-10-11 Chris Toshok <[email protected]>
  16049. * Control.cs: switch to using an "invalid_region" to track which
  16050. parts of the image buffer need updating. This is more code than
  16051. the simple fix from r66532. That version just attempted to always
  16052. fill the entire buffer on redraw, which turns out to be
  16053. inefficient when invalidating small rectangles. This version
  16054. simply adds the invalid rectangle to the invalid region. When we
  16055. get any WM_PAINT message we see if it can be filled using the
  16056. image buffer, and if it can't (if the paint event's clip rectangle
  16057. is visible in the invalid region) we first fill the image buffer.
  16058. So, the image buffer is still a cache, we just fill it lazily.
  16059. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  16060. need it any longer.
  16061. 2006-10-11 Chris Toshok <[email protected]>
  16062. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  16063. well as size after calling XMoveResizeWindow. This keeps us from
  16064. ignoring future SetWindowPos calls. Fixes the disappearing
  16065. DateTimePicker in the ToolBarDockExample from bug #72499.
  16066. 2006-10-11 Chris Toshok <[email protected]>
  16067. * TextBoxBase.cs: reorder things a bit when it comes to
  16068. resizing-causing-recalculation. we were recalculating the
  16069. document when our position was changed, which shouldn't happen.
  16070. We only care about size changes. Clear up some more redundant
  16071. recalculation calls while I'm at it. This makes the toolbar dock
  16072. example snappy when you're just dragging toolbars around (since it
  16073. causes a relayout whenever you move one.)
  16074. 2006-10-11 Chris Toshok <[email protected]>
  16075. * ToolBarButton.cs (get_Rectangle): this only returns
  16076. Rectangle.Empty if Visible == false, or Parent == null.
  16077. Parent.Visible doesn't matter.
  16078. 2006-10-10 Chris Toshok <[email protected]>
  16079. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  16080. by .net 1.1, so switch to an internal method instead.
  16081. 2006-10-10 Chris Toshok <[email protected]>
  16082. * Control.cs (WM_PAINT): when a control is double buffered we draw
  16083. initially to the ImageBuffer and then copy from there. But when a
  16084. parent control which has child controls is double buffered, the
  16085. initial drawing doesn't encompass the entire ClientRectangle of
  16086. the parent control, so we end up with uninitialized bits (this is
  16087. easily seen by dragging the top toolbar in
  16088. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  16089. manually set the ClipRectangle of the paint_event (only the one we
  16090. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  16091. of the nastiness in bug #72499.
  16092. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  16093. which we use in Control.cs's WM_PAINT handling.
  16094. 2006-10-10 Jackson Harper <[email protected]>
  16095. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  16096. 2006-10-10 Chris Toshok <[email protected]>
  16097. * Cursor.cs: Apply a slightly different patch to the one suggested
  16098. in #79609.
  16099. 2006-10-10 Jackson Harper <[email protected]>
  16100. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  16101. not the parent form.
  16102. * TextControl.cs: use difference in old line count vs new count to
  16103. calculate how many lines were added, this takes into account soft
  16104. line breaks properly.
  16105. 2006-10-10 Chris Toshok <[email protected]>
  16106. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  16107. rectangle located at 0,0 and the size of the text. Use
  16108. ClientRectangle instead. This fixes rendering of non-left aligned
  16109. link labels.
  16110. 2006-10-10 Jackson Harper <[email protected]>
  16111. * TextBoxBase.cs: When we set the selection start position the
  16112. caret.
  16113. * TextControl.cs: Need to update the caret when we decrement it to
  16114. zero.
  16115. - Make sure that the selection_visible flag gets reset to false if
  16116. the selection isn't visible. Before this you could get it set to
  16117. visible by changing the selection start, then changing the end to
  16118. equal the start.
  16119. 2006-10-09 Jackson Harper <[email protected]>
  16120. * TreeView.cs: Don't update scrollbars when we aren't visible.
  16121. * TreeNodeCollection.cs: Only need to update scrollbars if being
  16122. added to an expanded visible node or the root node.
  16123. 2006-10-09 Chris Toshok <[email protected]>
  16124. * XplatUIX11.cs (SendMessage): fix NRE.
  16125. 2006-10-09 Jackson Harper <[email protected]>
  16126. * TextBoxBase.cs: Implement horizontal autoscrolling.
  16127. * TextControl.cs: Add a movement types that allows moving forward
  16128. and backwards without wrapping.
  16129. 2006-10-09 Mike Kestner <[email protected]>
  16130. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  16131. with focus "expansion" of labels. Fixes #79532 and then some.
  16132. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  16133. when wrapping.
  16134. 2006-10-09 Jackson Harper <[email protected]>
  16135. * TextBoxBase.cs: Set the default max values to MaxValue since
  16136. we use the scrollbar for autoscrolling and the default value is
  16137. 100. If we don't do this the caret won't keep up with typing
  16138. after about 18 characters.
  16139. * TextControl.cs: Make sure the selection is offset by the
  16140. viewport x. This fixes selection when using auto scrolling.
  16141. 2006-10-07 Andreia Gaita <[email protected]>
  16142. * Form.cs: The active control should be selected after the
  16143. OnLoad so that any child control initialization that affects
  16144. the selection is done. Fixes #79406
  16145. 2006-10-06 Chris Toshok <[email protected]>
  16146. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  16147. to have no evil effects.
  16148. - Stop selecting StructureNotifyMask on non-toplevel windows.
  16149. The only way children should be resized is by using the SWF api,
  16150. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  16151. Toplevel windows can be interacted with via the window manager,
  16152. and so we keep the input mask there.
  16153. The other event StructureNotifyMask gives us (that we care
  16154. about) is DestroyNotify. The code is already structured such
  16155. that it assumes we won't be getting a DestroyNotify event for
  16156. the window we pass to XDestroyWindow (which is what
  16157. StructureNotifyMask is supposed to guarantee.) So, that code
  16158. shouldn't be affected by this either.
  16159. - Stop selecting VisibilityChangeMask altogether.
  16160. We weren't doing anything with the resulting events anyway.
  16161. This vastly reduces the number of X requests and events we see
  16162. when resizing/laying out a large ui.
  16163. 2006-10-06 Chris Toshok <[email protected]>
  16164. * ScrollableControl.cs (DisplayRectangle): we need to take into
  16165. account the DockPadding regardless of whether or not auto_scroll
  16166. == true. rework this slightly to this effect, and fix bug #79606,
  16167. and part of #72499 (you can now see the drag handles and drag
  16168. toolbars around).
  16169. 2006-10-06 Gert Driesen <[email protected]>
  16170. * ListViewItem.cs: Collections of selected and checked items are now
  16171. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  16172. we mark the collection "dirty".
  16173. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  16174. to only clear SelectedItems when a new item is selected and MultiSelect
  16175. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  16176. event of ListViewItemCollection, and mark its list dirty whenever
  16177. that event is fire. This allows us to return selected/checked items
  16178. in the same order as they are in the Items collection. This matches
  16179. the MS behavior.
  16180. 2006-10-06 Chris Toshok <[email protected]>
  16181. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  16182. right mouse clicks. Fixes bug #79593.
  16183. 2006-10-06 Chris Toshok <[email protected]>
  16184. * Splitter.cs: doh, fix splitters that don't want to cancel the
  16185. movement when you drag them. Also, impose the limits on the
  16186. values we send to the SplitterMovingEvent. Fixes #79598.
  16187. 2006-10-06 Jackson Harper <[email protected]>
  16188. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  16189. since we use this for auto scrolling also.
  16190. 2006-10-05 Chris Toshok <[email protected]>
  16191. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  16192. beginning to think that most datagrid column types don't need this
  16193. method. Fixes bug #79392.
  16194. 2006-10-05 Chris Toshok <[email protected]>
  16195. * DataGrid.cs: move back to a more lazy scheme for creating the
  16196. CurrencyManager, so we aren't updating it every time you set
  16197. either DataSource or DataMember. Also, don't call
  16198. RecreateDataGridRows if the currency manager hasn't changed.
  16199. 2006-10-05 Chris Toshok <[email protected]>
  16200. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  16201. emitted, SelectedIndex should already be updated. Fixes bug
  16202. #78929.
  16203. 2006-10-05 Jonathan Pobst <[email protected]>
  16204. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  16205. ToolStripTextBox.cs: Initial commit.
  16206. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  16207. 2006-10-05 Jackson Harper <[email protected]>
  16208. * TabControl.cs: We need to invalidate the tab control area when
  16209. new ones are added (duh).
  16210. 2006-10-03 Chris Toshok <[email protected]>
  16211. * Form.cs (ProcessDialogKey): if the focused control is in this
  16212. form and is a button, call its PerformClick method here. Fixes
  16213. #79534.
  16214. 2006-10-04 Jackson Harper <[email protected]>
  16215. * TabPage.cs: Ignore setting of Visible, and add an internal
  16216. method for setting the controls visibility. TabPage's Visible
  16217. property is a little strange on MS, this seems to make us
  16218. compatible, and fixes cases where people set all the tab pages to
  16219. visible.
  16220. * TabControl.cs: Use the new internal setting on tab pages
  16221. visibility.
  16222. 2006-10-03 Mike Kestner <[email protected]>
  16223. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  16224. 2006-10-03 Mike Kestner <[email protected]>
  16225. * ListView.cs : use is_visible instead of Visible to check if
  16226. scrollbars should be placed/sized. Also some max_wrap_width
  16227. love for LargeIcon view. [Fixes #79533]
  16228. 2006-10-03 Atsushi Enomoto <[email protected]>
  16229. * TextControl.cs :
  16230. Make set_TextAlign() do actually update the align. Fixed #78403.
  16231. 2006-10-03 Chris Toshok <[email protected]>
  16232. * DataGrid.cs: fix a crash when switching datasources if the
  16233. vertical scrollbar is at someplace other than Value = 0. Also,
  16234. reduce the number of recalculation passes we do in SetDataSource
  16235. from 2 to 1.
  16236. 2006-10-03 Jackson Harper <[email protected]>
  16237. * TextBoxBase.cs: Move the if value the same bail check up, we
  16238. don't want to empty the document if it is already empty, this
  16239. seems to severly mess up the caret. TODO: I should probably fix
  16240. the empty statement to update teh caret somehow.
  16241. 2006-10-03 Chris Toshok <[email protected]>
  16242. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  16243. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  16244. reflection, an internal row type, properties on said type, etc.)
  16245. will work with our datagrid. Fixes #79531.
  16246. 2006-10-03 Alexander Olk <[email protected]>
  16247. * FileDialog.cs: Don't crash if a path is not accessible
  16248. (System.UnauthorizedAccessException). Fixes #79569.
  16249. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  16250. a ':' too. Return unknown icon for those paths/files.
  16251. 2006-10-03 Sebastien Pouliot <[email protected]>
  16252. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  16253. GetContainerControl returns null.
  16254. 2006-10-02 Chris Toshok <[email protected]>
  16255. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  16256. call to XGetWindowAttributes instead of "handle". fixes an X
  16257. error using notifyicon after the NotifyIconWindow to Form base
  16258. class switch.
  16259. 2006-10-02 Chris Toshok <[email protected]>
  16260. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  16261. server grab and looping we need to do to get down to the most
  16262. deeply nested child window.
  16263. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  16264. QueryPointer again after the WarpPointer so we can generate a
  16265. proper (fake) MotionNotify event to be enqueued in the destination
  16266. window's queue.
  16267. (GetCursorPos): call QueryPointer.
  16268. Fixes #79556.
  16269. 2006-10-02 Jackson Harper <[email protected]>
  16270. * NotifyIcon.cs: Derive the notify icon from a form, so things
  16271. like FindForm work on it.
  16272. - Swallow the WM_CONTEXTMENU message, since that is generated on
  16273. mouse down, and context menu is a mouse up kinda guy. I believe
  16274. the correct fix here is probably to make the notify icon entirely
  16275. NC area, but this seems to work fine for anyone not manipulating
  16276. WndProc.
  16277. 2006-10-02 Jonathan Pobst <[email protected]>
  16278. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  16279. ToolStripItemCollection.cs, ToolStripLabel.cs,
  16280. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  16281. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  16282. Initial implementation.
  16283. * TextRenderer.cs: Provide padding to MeasureText.
  16284. 2006-10-02 Sebastien Pouliot <[email protected]>
  16285. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  16286. of ButtonBaseAccessibleObject. Fix bug #79552.
  16287. 2006-10-02 Jackson Harper <[email protected]>
  16288. * MdiWindowManager.cs: When maximizing use the containers client
  16289. rect, not it's bounds, so nc area is accounted correctly.
  16290. - Use the parent form's size for the menu position, since the
  16291. client isn't always the full form size.
  16292. 2006-10-01 Chris Toshok <[email protected]>
  16293. * ScrollableControl.cs: make sure neither right_edge or
  16294. bottom_edge are < 0, since they're used as LargeChange for the
  16295. horiz/vert scrollbars respectively. Fixes #79539.
  16296. 2006-10-01 Chris Toshok <[email protected]>
  16297. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  16298. the xplatuix11 code can cause us to destroy/recreate our handle.
  16299. * XplatUIX11.cs
  16300. (SystrayAdd):
  16301. - this code can be invoked many times for the same Hwnd. Make
  16302. sure we only destroy the client window once (the first time this
  16303. method is called). This fixes bug #79544.
  16304. - Remove the call to the improperly bound XSync. why we had two
  16305. bindings to this, I will never know, but this call resulted in
  16306. events being discarded from the queue(!).
  16307. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  16308. not our current state but the state we wish to be in. So, 0 if
  16309. we don't want to be mapped. Change it to 1.
  16310. (SystrayRemove): The XEMBED spec makes mention of the fact that
  16311. gtk doesn't support the reparent of client windows away from the
  16312. embedder. Looking at gtksocket-x11.c seems to agree with this.
  16313. The only avenue we have for removing systray icons is to destroy
  16314. them. We don't want the handle to go away for good, though, so
  16315. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  16316. #79545.
  16317. 2006-10-01 Chris Toshok <[email protected]>
  16318. * Form.cs (WndProc): inline the native_enabled variable usage into
  16319. the cases in which it's used. Fixes #79536.
  16320. 2006-09-29 Mike Kestner <[email protected]>
  16321. * ListView.cs : toggle the selection state for ctrl clicks in
  16322. multiselect mode. [Fixes #79417]
  16323. 2006-09-29 Mike Kestner <[email protected]>
  16324. * ListView.cs : kill CanMultiSelect and refactor the selection
  16325. code to support multiselection in the absence of mod keys. Steal
  16326. arrow/home/end keys by overriding InternalPreProcessMessage to
  16327. restore regressed keynav behavior.
  16328. [Fixes #79416]
  16329. 2006-09-29 Jackson Harper <[email protected]>
  16330. * MdiClient.cs: Repaint the titlebars when the active window is
  16331. changed.
  16332. 2006-09-29 Chris Toshok <[email protected]>
  16333. * Application.cs: when entering a runloop with a modal, make sure
  16334. the hwnd is enabled. Fixes #79480.
  16335. 2006-09-29 Chris Toshok <[email protected]>
  16336. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  16337. when ListManager.CanAddRows == false, bump us back one.
  16338. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  16339. listmanager.CanAddRows check. This makes ArrayLists uneditable
  16340. using a datagrid, which is not right.
  16341. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  16342. is an IEditable, but call property_descriptor.SetValue regardless.
  16343. fixes #79435.
  16344. 2006-09-29 Chris Toshok <[email protected]>
  16345. * DataGridBoolColumn.cs: we need to test equality in the face of
  16346. possible null values (as is the case with the default NullValue).
  16347. This patch keeps us from crashing in that case.
  16348. 2006-09-29 Jackson Harper <[email protected]>
  16349. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  16350. here, since it will get called for every node collection in the
  16351. tree. This is now done in the treeview once the sorting is
  16352. finished.
  16353. * TreeView.cs: Recalculate the visible order, and update the
  16354. scrollbars after sorting, set the top nope to the root so that the
  16355. recalc actually works.
  16356. 2006-09-29 Chris Toshok <[email protected]>
  16357. * LinkLabel.cs: more handling of the default link collection in
  16358. the face of LinkArea manipulation. The default link collection
  16359. contains 1 element (start=0,length=-1). If the user sets LinkArea
  16360. to anything and the links collection is the default, clear it.
  16361. Then only add the link if its nonempty. Fixes #79518.
  16362. 2006-09-29 Chris Toshok <[email protected]>
  16363. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  16364. piece correctly when we hit a '\n'. Fixes #79517.
  16365. 2006-09-29 Chris Toshok <[email protected]>
  16366. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  16367. change the binding of gdk_init_check to take two IntPtr's, and
  16368. pass IntPtr.Zero for both of them. Fixes #79520.
  16369. 2006-09-29 Mike Kestner <[email protected]>
  16370. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  16371. [Fixes #78779]
  16372. 2006-09-28 Jackson Harper <[email protected]>
  16373. * XplatUIX11.cs: When translating NC messages make sure we go from
  16374. whole window to screen, not client window to screen.
  16375. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  16376. method doesn't exist
  16377. - Skip over controls that aren't forms when arranging.
  16378. 2006-09-28 Jackson Harper <[email protected]>
  16379. * XplatUIWin32.cs: Clip the rect to the parent window.
  16380. * XplatUIStructs.cs: Add clipping modes struct.
  16381. * InternalWindowManager.cs: New private method that factors title
  16382. bar heights in when calculating the pos of an NC mouse message.
  16383. - Use SendMessage to force a paint when the form's size is changed
  16384. instead of painting the decorations immediately.
  16385. - Don't let the NC button click messages get to DefWndProc,
  16386. because they will attempt to handle windowing themself, and this
  16387. messes up z-order (it will put them in front of the scrollbars).
  16388. * XplatUIX11.cs: Make sure that we don't reset window managers if
  16389. we already have one (ie the window is an MDI window).
  16390. 2006-09-28 Chris Toshok <[email protected]>
  16391. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  16392. menu code really needs going over.
  16393. 2006-09-27 Chris Toshok <[email protected]>
  16394. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  16395. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  16396. window is maximizable. So, we need to make sure that even if we
  16397. clear the border/wm frame of those functions, they're still
  16398. available (basically, we remove the decoration without removing
  16399. the function). Half the fix for #79338.
  16400. 2006-09-27 Chris Toshok <[email protected]>
  16401. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  16402. Fixes bug #79515.
  16403. 2006-09-27 Chris Toshok <[email protected]>
  16404. * Splitter.cs: reorder things a bit so that we don't actually
  16405. draw/move the splitter until after calling OnSplitterMoving. This
  16406. lets users cancel/disallow the movement by explicitly setting
  16407. event.SplitX/SplitY. Fixes #79372.
  16408. 2006-09-27 Jackson Harper <[email protected]>
  16409. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  16410. because it is most likely on a window being destroyed, and that
  16411. will give us an X11 error.
  16412. 2006-09-27 Chris Toshok <[email protected]>
  16413. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  16414. the dropdown button now toggles between showing and hiding the
  16415. dropdown. Also, get rid of dropdown_form_showing and just use
  16416. dropdown_form.Visible. We still don't do a grab, but I'll leave
  16417. that part to someone who has handled Capture-fu before.
  16418. 2006-09-27 Chris Toshok <[email protected]>
  16419. * DataGrid.cs: return false if alt isn't pressed when '0' is
  16420. pressed. this keeps the '0' key from being swallowed, and fixes
  16421. bug #79350.
  16422. 2006-09-27 Chris Toshok <[email protected]>
  16423. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  16424. Calling Refresh (in response to a scrollbar event) screws up the
  16425. scrollbar painting. Fixes bug #78923.
  16426. 2006-09-27 Chris Toshok <[email protected]>
  16427. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  16428. then insert into hashtable" blocks threadsafe.
  16429. 2006-09-27 Chris Toshok <[email protected]>
  16430. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  16431. baseclass's, since otherwise the
  16432. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  16433. effect. This gets the close button back in messageboxes.
  16434. 2006-09-27 Chris Toshok <[email protected]>
  16435. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  16436. flag, not just != 0. this makes flags that are actually multiple
  16437. bits (like WS_CAPTION) work. fixes bug #79508.
  16438. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  16439. * PageSetupDialog.cs: add support for getting and settings the
  16440. paper size, source and orientation.
  16441. 2006-09-26 Chris Toshok <[email protected]>
  16442. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  16443. and caption == "", we need to remove the resize handles as well as
  16444. the title bar.
  16445. * Control.cs (set_Text): turns out that setting Text on a form
  16446. should change the WM styles on the window, since if ControlBox ==
  16447. false, the only way to get a window border is to have a non-""
  16448. Text property. check winforms/forms/text.cs for an example. so,
  16449. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  16450. update both window styles and title. This fixes a lot of dialogs
  16451. (including the preferences dialog in MonoCalendar.)
  16452. 2006-09-26 Chris Toshok <[email protected]>
  16453. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  16454. control isn't a Form), call Win32ShowWindow to hide the window,
  16455. but don't update the control Visible property. When we reparent
  16456. back to a parent control, call SetVisible in order for the
  16457. window's visibility to be reinstated.
  16458. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  16459. the FosterParent.
  16460. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  16461. call for good, since it breaks MonoCalendar (and other things I'm
  16462. sure.) Also, set all_controls to null *after* the owner calls,
  16463. which end up regenerating it.
  16464. (ChangeParent): allow new_parent to be == null, passing
  16465. IntPtr.Zero down to XplatUI.
  16466. this fixes #79294 the right way.
  16467. 2006-09-26 Mike Kestner <[email protected]>
  16468. * GridEntry.cs : internal SetParent method.
  16469. * PropertyGrid.cs : attach to property changed on the proper
  16470. target if we have a hierarchical grid with subobjects. Setup
  16471. GridItem.Parent for hierarchical items.
  16472. * PropertyGridView.cs : Set value on the correct target for
  16473. hierarchical grids. [Fixes #78903]
  16474. 2006-09-26 Chris Toshok <[email protected]>
  16475. * Control.cs (ChildNeedsRecreating): this should return true if
  16476. either we're being recreated and the child is in our list, or our
  16477. parent is waiting for our recreation.
  16478. 2006-09-26 Chris Toshok <[email protected]>
  16479. * Control.cs (ControlCollection.Remove): reinstate the
  16480. value.Hide() call as suggested in bug #79294.
  16481. 2006-09-26 Sebastien Pouliot <[email protected]>
  16482. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  16483. coordinates (versus a relative move).
  16484. 2006-09-26 Chris Toshok <[email protected]>
  16485. * Control.cs: rework child recreation a little bit. It turns out
  16486. that we race between the DestroyNotify the WM_DESTROY message. If
  16487. the parent gets its DestroyNotify before the child gets the
  16488. WM_DESTROY message, the child ends up not recreating (since the
  16489. parent finishes its recreation on DestroyNotify, and the child
  16490. checks ParentIsRecreating.)
  16491. So, instead we store off a list of all the child controls which
  16492. need to be recreated when the parent control starts to recreate
  16493. itself. Then, when child controls get their WM_DESTROY message we
  16494. check to see if they're in the parent's pending recreation list,
  16495. and if so, we recreate. This removes all dependency on ordering
  16496. from the code and fixes the initial MonoCalendar upgrade dialog.
  16497. 2006-09-26 Jackson Harper <[email protected]>
  16498. * TextControl.cs: Use the Line to get the length of the line,
  16499. since soft line breaks can change the end line.
  16500. 2006-09-26 Chris Toshok <[email protected]>
  16501. * Control.cs (ControlCollection.AddImplicit): don't add the
  16502. control again if it's already in one of our lists. This keeps us
  16503. from adding controls over and over again for comboboxes when their
  16504. handle gets recreated (as the combobox adds implicit controls in
  16505. OnHandleCreated). Fixes the X11 errors in bug #79480.
  16506. 2006-09-26 Jackson Harper <[email protected]>
  16507. * TextControl.cs: When deleting characters make sure that any
  16508. orphaned zero lengthed tags get deleted.
  16509. - Fix ToString for zero lengthed tags.
  16510. 2006-09-25 Jackson Harper <[email protected]>
  16511. * TextControl.cs: When getting a tag at the location there can be
  16512. multiple tags at the same spot, these are 0-lengthed tags that
  16513. appear when extra formatting has been stuck in a location. We
  16514. need to pull out the last of these 0 lengthed tags.
  16515. 2006-09-25 Jackson Harper <[email protected]>
  16516. * TextControl.cs: Fix print out in debug method.
  16517. * TextBoxBase.cs: When text is set bail if we are setting to the
  16518. previous value.
  16519. 2006-09-24 Alexander Olk <[email protected]>
  16520. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  16521. It is now possible to change the selected index in a FontXXXListBox
  16522. with the up and down arrow keys from the FontXXXTextBoxes.
  16523. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  16524. FontXXXListBoxes to match ms.
  16525. 2006-09-22 Sebastien Pouliot <[email protected]>
  16526. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  16527. anyone can dispose it, anytime. All other properties returns enums,
  16528. structs or basic types so they don't need such tricks.
  16529. 2006-09-22 Jackson Harper <[email protected]>
  16530. * XplatUI.cs:
  16531. * XplatUIWin32.cs:
  16532. * Clipboard.cs:
  16533. * DataFormats.cs:
  16534. * XplatUIOSX.cs:
  16535. * XplatUIDriver.cs: Update interface to add a primary selection
  16536. flag, so the driver can use the primary selection buffer if
  16537. needed.
  16538. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  16539. * RichTextBox.cs: We need to supply the data object to paste now
  16540. (so we can choose to supply CLIPBOARD or PRIMARY).
  16541. * TextBoxBase.cs: Supply data object to paste (see above).
  16542. - Middle click uses the primary selection data object.
  16543. 2006-09-21 Chris Toshok <[email protected]>
  16544. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  16545. of SetWMStyles. It's still a rat's nest and is largely
  16546. order-dependent which I dislike immensely. This also fixes the X
  16547. button disappearing from toplevel forms.
  16548. 2006-09-21 Mike Kestner <[email protected]>
  16549. * ListBox.cs: move Jordi's click/dblclick raising code to the
  16550. mouse up handler.
  16551. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  16552. * ListBox.cs: Fixes 79450
  16553. 2006-09-21 Mike Kestner <[email protected]>
  16554. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  16555. to deal with people updating the TreeNodeCollection after the tree
  16556. is disposed. "Fixes" 79330.
  16557. 2006-09-20 Jackson Harper <[email protected]>
  16558. * TextControl.cs: Push the cursor record onto the undo stack
  16559. before the delete action. This fixes 78651.
  16560. 2006-09-20 Jonathan Chambers <[email protected]>
  16561. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  16562. CreateParams. Fixes 79329.
  16563. 2006-09-19 Chris Toshok <[email protected]>
  16564. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  16565. things up a bit. First, get rid of the NetAtoms array (and the NA
  16566. enum), and just embed the atoms as static fields. Also, add a
  16567. couple of functions (StyleSet and ExStyleSet) to clean up all the
  16568. bitmask testing of styles.
  16569. * X11Structs.cs: remove the NA enum, not needed anymore.
  16570. 2006-09-19 Chris Toshok <[email protected]>
  16571. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  16572. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  16573. added cleanup to get MessageBox titles appearing again, which were
  16574. broken by my earlier fix for caption-less/ControlBox-less windows.
  16575. 2006-09-18 Jonathan Pobst <[email protected]>
  16576. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  16577. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  16578. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  16579. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  16580. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  16581. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  16582. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  16583. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  16584. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  16585. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  16586. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  16587. Inital import.
  16588. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  16589. ToolStripButton.cs: Stubs needed for above.
  16590. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  16591. 2006-09-15 Chris Toshok <[email protected]>
  16592. * XplatUIX11.cs:
  16593. - make the MessageQueues hashtable Synchronized.
  16594. - SendMessage: if the Hwnd is owned by a different thread, use the
  16595. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  16596. thread. Fixes bug #79201.
  16597. 2006-09-15 Chris Toshok <[email protected]>
  16598. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  16599. ControlBox == false, we disallow maximize/minimize/close. If the
  16600. form Caption is "" we also disallow move (and get rid of the Title
  16601. decoration). Unfortunately, regardless of how things are set,
  16602. we're stuck with the Title and WM menu.
  16603. 2006-09-15 Chris Toshok <[email protected]>
  16604. * Application.cs: add locking around the static message_filters
  16605. ArrayList, part of #79196.
  16606. 2006-09-15 Chris Toshok <[email protected]>
  16607. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  16608. Form.ControlBox == false, the window has no titlebar nor resize
  16609. handles. fixes bug #79368.
  16610. 2006-09-15 Chris Toshok <[email protected]>
  16611. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  16612. >= 0. Fixes bug #79370.
  16613. 2006-09-15 Jonathan Pobst <[email protected]>
  16614. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  16615. * Control.cs:
  16616. Add properties: LayoutEngine, Margin, DefaultMargin.
  16617. Add method: GetPreferredSize.
  16618. Move layout logic from PerformLayout to layout engines.
  16619. 2006-09-13 Chris Toshok <[email protected]>
  16620. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  16621. fix for #79326 broke #78718, so this change addresses that.
  16622. - in SendWMDestroyMessages remove the call to
  16623. CleanupCachedWindows, since we might be recreating the control and
  16624. need to maintain the references to right Hwnd handles. Also, set
  16625. the zombie flag to true for each of the children in the hierarchy
  16626. instead of calling hwnd.Dispose. This will cause GetMessage to
  16627. ignore all events for the window except for DestroyNotify.
  16628. - In GetMessage, ignore messages except for DestroyNotify for
  16629. zombie hwnds.
  16630. * Control.cs: revert the is_recreating fix from the last
  16631. ChangeLog. It's definitely "right", but it breaks switching from
  16632. an MDI form to a non-MDI form. Will need to revisit that.
  16633. * Hwnd.cs: add a zombie flag, which means "the
  16634. client_window/whole_window handles are invalid, but we're waiting
  16635. for the DestroyNotify event to come in for them". Set the flag to
  16636. false explicitly if setting WholeWindow/ClientWindow, and also
  16637. when Disposing.
  16638. 2006-09-13 Chris Toshok <[email protected]>
  16639. * XplatUIX11.cs: rework window destruction slightly.
  16640. - when destroying the windows associated with a control, we don't
  16641. need 2 separate XDestroyWindow calls. Just the one for the
  16642. whole_window (or for client_window if whole_window is somehow
  16643. IntPtr.Zero -- can this happen?) is enough.
  16644. - reworked SendWMDestroyMessages slightly, so we always dispose
  16645. the child control hwnd's after sending the messages.
  16646. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  16647. the two places it was used (one was even using hwnd.Handle and the
  16648. other hwnd.client_window. ugh), adding another call in
  16649. SendWMDestroyMessages. We need this new call because now the
  16650. DestroyNotify events in the queue will be ignored for the child
  16651. controls (as their hwnd's were disposed, and the window id's
  16652. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  16653. - this fixes bug #79326.
  16654. 2006-09-13 Chris Toshok <[email protected]>
  16655. * Control.cs: don't always set is_recreating to false at the end
  16656. of RecreateHandle, since sometimes we're not done (and won't be
  16657. until WndProc handles the WM_DESTROY message). Also, set
  16658. is_recreating to false in the WM_DESTROY handling code. Part of
  16659. the fix for bug #79326.
  16660. 2006-09-13 Miguel de Icaza <[email protected]>
  16661. * X11DesktopColors.cs: Start the droppage of debugging messages.
  16662. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  16663. 2006-09-13 Jonathan Pobst <[email protected]>
  16664. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  16665. 2006-09-12 Chris Toshok <[email protected]>
  16666. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  16667. to create it using SetDataSource. Fixes bug #79151.
  16668. 2006-09-11 Chris Toshok <[email protected]>
  16669. * XEventQueue.cs: add a DispatchIdle property.
  16670. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  16671. either the queue is null, or the queue has DispatchIdle set to
  16672. true.
  16673. (DoEvents): set queue.DispatchIdle to false around the
  16674. peek/translate/dispatch message loop in this method. This keeps
  16675. Application.Doevents from emitting idle events. Part of the fix
  16676. for #78823.
  16677. 2006-09-11 Chris Toshok <[email protected]>
  16678. * DataGrid.cs (set_DataSource): make this work for both the
  16679. winforms/datagrid test and ReportBuilder. It seems as though when
  16680. we've created a ListManager (or maybe it's if we have a
  16681. BindingContext?), when we set the DataSource it clears the
  16682. DataMember to "". otherwise we reuse the datamember. Fixes bug
  16683. #79333.
  16684. 2006-09-11 Chris Toshok <[email protected]>
  16685. * XplatUIX11.cs: deal with queue being null, which happens in all
  16686. the Clipboard functions. Fixes one of the two problems mentioned
  16687. in #78612.
  16688. 2006-09-11 Chris Toshok <[email protected]>
  16689. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  16690. button on various spots (including outside the menu) works closer
  16691. to MS, and doesn't crash. Fixes #79343.
  16692. 2006-09-11 Gert Driesen <[email protected]>
  16693. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  16694. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  16695. and the internal comparer is set. When a new ListViewItemSorter is set,
  16696. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  16697. was specified. No further processing is necessary if SortOrder is set
  16698. to it's current value. If Sorting is modified to None, and View is
  16699. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  16700. (either custom or our internal ItemComparer) to null, on 1.0 profile
  16701. only set item_sorter to null if its our internal IComparer. If Sorting
  16702. is modified to Ascending or Descending, then use our internal IComparer
  16703. if none is set, and if the current IComparer is our internal one then:
  16704. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  16705. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  16706. Enum.IsDefined to verify whether a valid View value is specified in
  16707. its setter. Automatically sort listview items when listview is
  16708. created. In Sort, do nothing if ListView is not yet created, or if
  16709. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  16710. to None or ListViewItemSorter was set to null). Added Sort overload
  16711. taking a bool to indicate whether the ListView should be redrawn when
  16712. items are sorted (we use this in ListViewItemCollection to avoid double
  16713. redraws). Modified our internal IComparer to take the sort order into
  16714. account. In Add and AddRange methods of ListViewItemCollection, also
  16715. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  16716. view), but use overload with noredraw option to avoid double redraw.
  16717. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  16718. true when View is Tile, and do the same when attempting to set View to
  16719. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  16720. for selected/checked indices, as it involves overhead when sorting is
  16721. done while these collections are not used all that often. Instead
  16722. we'll build the indices on demand. Modified IList implementation of
  16723. CheckedIndexCollection to use public methods if object is int.
  16724. Modified CheckedListViewItemCollection to hide checked items if
  16725. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  16726. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  16727. IList implementation in SelectedIndexCollection to use public methods
  16728. if object is int. Modified SelectedListViewItemCollection to hide
  16729. selected items if listview is not yet created.
  16730. * ListViewItem.cs: CheckedIndices list no longer needs to be
  16731. maintained separately (see ListView changes). Also clone font, fixes
  16732. test failure.
  16733. 2006-09-11 Mike Kestner <[email protected]>
  16734. * ComboBox.cs: if we are updating the contents of the currently
  16735. selected index, refresh the control or the textbox selection.
  16736. [Fixes #79066]
  16737. 2006-09-11 Mike Kestner <[email protected]>
  16738. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  16739. the 'specified' logic has been moved there. This seems like a bug
  16740. in Control.cs, since our current SetBoundsCore completely ignores
  16741. the specified parameter. Peter's commit seems to indicate that is
  16742. the way the MS control implementation works. [Fixes #79325]
  16743. 2006-09-10 Jonathan Chambers <[email protected]>
  16744. * XplatUI.cs: Set default_class_name to be composed
  16745. of current domain id. This allows MWF to be loaded in multiple
  16746. domains on Win32.
  16747. 2006-09-09 Miguel de Icaza <[email protected]>
  16748. * X11Keyboard.cs: If we are unable to obtain the input method, do
  16749. not call CreateXic to create the input context. Should fix
  16750. #78944/79276.
  16751. 2006-09-08 Alexander Olk <[email protected]>
  16752. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  16753. Simplified gnome support by adding more pinvokes to get the
  16754. icon for a file or mime type.
  16755. 2006-09-08 Jackson Harper <[email protected]>
  16756. * MenuAPI.cs: Deslect popup context menu items before closing the
  16757. window, so that you don't see the previously selected item
  16758. selected when you reopen the menu.
  16759. * TextControl.cs: Update the cursor position even if we don't have
  16760. focus. This fixes typing in things like the ComboBox. I'm not
  16761. totally sure we should always set the visibility if we don't have
  16762. focus, but couldn't find any corner cases where the cursor showed
  16763. up when it shouldn't.
  16764. 2006-09-08 Chris Toshok <[email protected]>
  16765. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  16766. our arrays are length 256. & 0xff before indexing. Fixes the
  16767. crash in bug #78077.
  16768. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  16769. * ThemeWin32Classic.cs:
  16770. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  16771. is true. Handle that check box too.
  16772. 2006-09-07 Chris Toshok <[email protected]>
  16773. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  16774. 79244.
  16775. 2006-09-07 Chris Toshok <[email protected]>
  16776. * Control.cs: in set_BackColor only do the work if
  16777. background_color != value.
  16778. * XplatUIX11.cs: move the clearing of invalid areas (both client
  16779. and nc) to the same block of code where we set (nc_)expose_pending
  16780. to false. That is, move it from PaintEventEnd to PaintEventStart,
  16781. so things that cause invalidates from within OnPaint will trigger
  16782. another call to OnPaint. Fixes bug #79262.
  16783. 2006-09-07 Alexander Olk <[email protected]>
  16784. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  16785. * FileDialog.cs: Fix typo
  16786. 2006-09-07 Jackson Harper <[email protected]>
  16787. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  16788. for tab pages if they have any.
  16789. 2006-09-06 Mike Kestner <[email protected]>
  16790. * Splitter.cs: use the "current" rect when finishing drag handle
  16791. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  16792. 2006-09-06 Mike Kestner <[email protected]>
  16793. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  16794. support offset splitters. [Fixes #79298]
  16795. 2006-09-06 Alexander Olk <[email protected]>
  16796. * Mime.cs: Fixed a bug that could override the global mime type
  16797. result.
  16798. 2006-09-05 Jackson Harper <[email protected]>
  16799. * TabControl.cs: Better calculation method for setting the slider
  16800. pos. Prevents crashes on really wide tabs.
  16801. - Draw Image on tab pages if an image list is used.
  16802. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  16803. * MonthCalendar.cs: When Font changes, the Size should be
  16804. updated to fit the new font's space requirements.
  16805. 2006-09-02 Alexander Olk <[email protected]>
  16806. * ListBox.cs: If the items are cleared with Items.Clear set
  16807. top_index to 0.
  16808. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16809. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  16810. fire DateChanged event instead of DateSelected event when
  16811. the date was changed by keyboard interaction.
  16812. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16813. * DateTimePicker.cs: Handle DateChanged for the associated
  16814. month_calendar control, and set month_calendar.Font from
  16815. OnFontChanged method, as well as resize the height of the
  16816. control when needed. Make PreferredHeight proportional.
  16817. 2006-09-01 Chris Toshok <[email protected]>
  16818. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  16819. properties.
  16820. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  16821. 2006-09-01 Peter Dennis Bartok <[email protected]>
  16822. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  16823. for decorations (Fixes #79219)
  16824. 2006-09-01 Mike Kestner <[email protected]>
  16825. * ComboBox.cs: first stab at sorting plus some selection handling
  16826. fixes to bring us more in line with MS behavior. Also switches back
  16827. to index based selection. Alternative patches for index-based
  16828. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  16829. and [email protected] on bug 78848. I assume they were similar to this
  16830. code I've had simmering in my tree forever.
  16831. [Fixes #78848]
  16832. 2006-09-01 Chris Toshok <[email protected]>
  16833. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  16834. when setting list position guard against ending up with a -1 index
  16835. (the other part of the fix for #78812). Should probably make sure
  16836. we don't need the analogous fix in the ItemDeleted case.
  16837. * DataGrid.cs:
  16838. - in SetDataSource, work around the fact that the way
  16839. OnBindingContextChanged is invoked will cause us to re-enter this
  16840. method. I'll remove the hack once I investigate
  16841. OnBindingContextChanged.
  16842. - fix the logic in set_DataSource and set_DataMember (basically
  16843. what to do if the other of the two is null.)
  16844. - in OnListManagerItemChanged, we need to take into account the
  16845. edit row when deciding whether or not to call RecreateDataGridRows
  16846. (part of the fix for #78812).
  16847. 2006-09-01 Jackson Harper <[email protected]>
  16848. * Splitter.cs: Don't do anything if there is no control to affect
  16849. (prevents us from crashing in weird tet cases).
  16850. * TreeView.cs: Bounding box for the mouse movement reverting
  16851. focus/selection back to previously selected node. This matches
  16852. MS, and makes the tree a lot more useable.
  16853. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  16854. use clipping so they are not drawn. This fixes when the control
  16855. is set to have a transparent background, or if it was over an
  16856. image.
  16857. 2006-09-01 Alexander Olk <[email protected]>
  16858. * MimeIcon.cs: Improved handling for reading default icons when
  16859. using gnome (2.16 made it necessary). Check and read svg icons
  16860. first, then 48x48 and then 32x32 icons.
  16861. 2006-08-31 Chris Toshok <[email protected]>
  16862. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  16863. visible.
  16864. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  16865. ProcessKeyPreview. Fixes part of #77806.
  16866. * DataGrid.cs: big patch.
  16867. - revert the queueing up of DataSource/DataMember if inside
  16868. BeginInit/EndInit calls. That's not the way the datagrid achieves
  16869. its delayed databinding. Instead, call SetDataSource in
  16870. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  16871. #78811.
  16872. - Also, it wasn't mentioned in #78811, but the test case exhibits
  16873. behavior that was lacking in our datagrid implementation - Columns
  16874. that have mapping names that don't exist in the datasource's
  16875. properties aren't shown. Yuck. To fix this I added the bound
  16876. field to the column style, and basically any calculation to figure
  16877. out anything about columns uses a loop to find the bound columns.
  16878. still need to investigate if I can cache an array of the bound
  16879. columns or if the indices must be the same.
  16880. - When setting CurrentCell, we no longer abort if the cell being
  16881. edited was in the add row. This fixes the other part of #77806.
  16882. - The new code also fixes #78807.
  16883. * ThemeWin32Classic.cs: perpetrate the same disgusting
  16884. column.bound field hack, and only render bound fields.
  16885. 2006-08-31 Chris Toshok <[email protected]>
  16886. * DataGridColumnStyle.cs: add bound field. this field is true if
  16887. the datasource has a property corresponding to the mapping name.
  16888. * DataGridTableStyle.cs: set the bound field on the column styles
  16889. depending on whether or not we have a column for that property.
  16890. 2006-08-31 Peter Dennis Bartok <[email protected]>
  16891. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  16892. splitter control (fixes #79228)
  16893. 2006-08-31 Chris Toshok <[email protected]>
  16894. * DataGridColumnStyle.cs: we need to delay the assignment of
  16895. property descriptor until the last possible moment due to the lazy
  16896. databinding stuff in the datagrid. Also, fix the exceptions
  16897. thrown by CheckValidDataSource to match MS.
  16898. 2006-08-31 Jackson Harper <[email protected]>
  16899. * Form.cs: When activated select the active control, if there is
  16900. no active control, we select the first control.
  16901. * XplatUIX11.cs: If there is no focus control when we get a
  16902. FocusIn event, find the toplevel form and activate it. This
  16903. occurs when you popup a window, it becomes the focus window, then
  16904. you close that window, giving focus back to the main window.
  16905. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  16906. * MonthCalendar.cs:
  16907. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  16908. as StringFormat with Center alignments in MonthCalendar,
  16909. instead of creating new ones when drawing the control.
  16910. Also, draw the month name in bold style.
  16911. 2006-08-30 Peter Dennis Bartok <[email protected]>
  16912. * Control.cs:
  16913. - PerformLayout(): It would seem MS performs the fill even if the
  16914. control is not visible (part of #79218 fix)
  16915. - ResetBackColor(): Use the setter to reset the color, to allow
  16916. overriders to catch the change.
  16917. * Form.cs:
  16918. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  16919. - CreateHandle(): dito (part of $79218 fix)
  16920. - Don't set an icon if we have a dialog
  16921. * ScrollableControl.cs:
  16922. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  16923. - ScrollIntoView(): No need to scroll if control is already visible
  16924. (resolves fixme and fixes #79218)
  16925. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  16926. * MonthCalendar.cs: Change proportions in SingleMonthSize
  16927. to match the aspect of the original control.
  16928. 2006-08-29 Alexander Olk <[email protected]>
  16929. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  16930. get updated when they get maximized.
  16931. 2006-08-29 Peter Dennis Bartok <[email protected]>
  16932. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  16933. 2006-08-29 Chris Toshok <[email protected]>
  16934. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  16935. 2006-08-29 Jackson Harper <[email protected]>
  16936. * TreeView.cs: Need to track selected node and highlighted node,
  16937. they aren't always the same thing, when the mouse is down on a
  16938. node it is hilighted, but not selected yet.
  16939. - Do the HideSelection stuff right
  16940. - Need to focus on rbutton mouse down. And redraw selection when
  16941. right click is mouse upped.
  16942. 2006-08-29 Mike Kestner <[email protected]>
  16943. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  16944. when SubItems.Count < Columns.Count. [Fixes #79167]
  16945. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16946. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  16947. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16948. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  16949. from X. Only send based on ConfigureNotify if we don't have the
  16950. correct location in hwnd (if the window manager moved us)
  16951. 2006-08-28 Mike Kestner <[email protected]>
  16952. * ListView.cs: remove a TODO.
  16953. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  16954. [Fixes ListView part of #79166]
  16955. 2006-08-28 Mike Kestner <[email protected]>
  16956. * ListView.cs: move wheel handler to parent since it is focused
  16957. instead of the item_control now. [Fixes #79177]
  16958. 2006-08-28 Mike Kestner <[email protected]>
  16959. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  16960. when the control is focused. [Fixes #79171]
  16961. 2006-08-28 Mike Kestner <[email protected]>
  16962. * ListView.cs: size the item and header controls for empty and
  16963. unscrollable views.
  16964. * ThemeWin32Classic.cs: draw disabled backgrounds.
  16965. [Fixes #79187]
  16966. 2006-08-28 Chris Toshok <[email protected]>
  16967. * Form.cs: remove unused "active_form" static field.
  16968. * Hwnd.cs: lock around accesses to static windows collection.
  16969. * Application.cs: lock threads in Exit ().
  16970. 2006-08-28 Chris Toshok <[email protected]>
  16971. * NativeWindow.cs: lock around accesses to window_collection.
  16972. 2006-08-28 Chris Toshok <[email protected]>
  16973. * Control.cs: err, fix this the right way, by locking on controls
  16974. when using it. not by making it synchronized.
  16975. 2006-08-28 Chris Toshok <[email protected]>
  16976. * Control.cs: make the static "controls" field synchronized, as it
  16977. gets updated from multiple threads.
  16978. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16979. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  16980. Prevent other threads from exiting when calling thread sets quit state.
  16981. * XEventQueue.cs: Added PostQuitState property
  16982. 2006-08-27 Chris Toshok <[email protected]>
  16983. * AsyncMethodData.cs: add a slot for the window handle.
  16984. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  16985. window (the destination control's window, not the foster window).
  16986. * Control.cs (BeginInvokeInternal): store the window's handle in
  16987. the AsyncMethodData.
  16988. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16989. * XplatUIX11.cs:
  16990. - PostQuitMessage: Removed resetting S.D display handle, we might have
  16991. another loop started after calling PostQuitMessage (Fixes #79119)
  16992. - Created destructor to reset S.D handle
  16993. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16994. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  16995. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16996. * TextControl.cs (Insert): Update the caret position even if we don't
  16997. have a handle yet, just don't call the driver in that case.
  16998. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  16999. to the end of the new selection text (Fixes #79184)
  17000. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17001. * Form.cs (Activate): Only activate if the handle is created)
  17002. * Control.c:
  17003. - Mark window as invisible when it's disposed
  17004. - Check if window handle is created when setting window visible,
  17005. instead of relying just on the is_created variable
  17006. - Check if object is disposed when creating the control (Fixes #79155)
  17007. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17008. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  17009. when allowing layout again. Otherwise we re-generate the anchoring
  17010. distance to the border again and actually alter what the user wanted
  17011. This is ugly, it'd be better if we used DisplayRectangle instead of
  17012. ClientRectangle for Control.UpdateDistances, but that causes us to
  17013. have other problems (initial anchoring positons would be wrong)
  17014. (Fixes #78835)
  17015. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17016. * Control.cs:
  17017. - The size and location setters shouldn't go directly to
  17018. SetBoundsCore, but to SetBounds, which triggers layout on the
  17019. parent, then calls SetBoundsCore. (Related to fix for #78835)
  17020. - SetBounds: Moved actual location update code into this function
  17021. from SetBoundsCore, to match MS. Added call to PerformLayout if
  17022. we have a parent (to trigger resizing of anchored parents if the
  17023. child size has changed (see testcase for #78835)
  17024. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  17025. new control code
  17026. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  17027. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17028. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  17029. System.Drawing when a toplevel window gets closed; there might
  17030. be other toplevel windows belonging to the same app (Fixes #78052)
  17031. 2006-08-26 Alexander Olk <[email protected]>
  17032. * FileDialog.cs: After reading FileDialog settings from mwf_config
  17033. use Desktop prefix only if a real folder doesn't exist anymore.
  17034. * FontDialog.cs: Added char sets.
  17035. It is now possible to select the font, size or style with the
  17036. textboxes.
  17037. 2006-08-25 Kornél Pál <[email protected]>
  17038. * PrintPreviewDialog.cs: Use assembly name constants.
  17039. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17040. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  17041. scrollbar from whacking it's buttons)
  17042. 2006-08-24 Chris Toshok <[email protected]>
  17043. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  17044. in this patch (aggregating setting Left/Top/Width/Height to
  17045. setting Bounds on the scrollbars), but the crux of the fix is in
  17046. Recalculate, where we scroll by the remaining scroll_position if
  17047. we're hiding a scrollbar. The 2*$5 reward in the comment is
  17048. serious.
  17049. 2006-08-24 Jackson Harper <[email protected]>
  17050. * MdiClient.cs:
  17051. * MdiWindowManager.cs: If the form is made a non-mdi window we
  17052. need to remove the form closed event so that closing forms works
  17053. correctly.
  17054. 2006-08-24 Jackson Harper <[email protected]>
  17055. * Control.cs: Make IsRecreating internal so that the driver can
  17056. check it
  17057. - Temporarily remove the Hide when controls are removed, its
  17058. making a whole bunch of things not work because visibility isn't
  17059. getting reset elsewhere correctly
  17060. * Form.cs: Need to do a full handle recreation when the mdi parent
  17061. is set.
  17062. * XplatUIX11.cs: If we are recreating handles don't dispose the
  17063. HWNDs. What was happening is the handles were being recreated in
  17064. SendWMDestroyMessages, but then flow continued on in that method
  17065. and destroyed the new handles.
  17066. 2006-08-23 Jackson Harper <[email protected]>
  17067. * Form.cs: MdiClient is always at the back of the bus
  17068. * Control.cs: When the order of items in the collection is changed
  17069. we need to reset the all_controls array
  17070. - do the same sorta setup thats done when adding a control when a
  17071. control is set on the collection.
  17072. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17073. * TextBoxBase.cs (get_Text): Return an empty array if our document
  17074. is empty (fixes #79052)
  17075. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17076. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  17077. on WM_SYSCHAR messages (fixes #79053)
  17078. 2006-08-23 Chris Toshok <[email protected]>
  17079. * DataGrid.cs: fix flickering when scrolling vertically.
  17080. 2006-08-23 Chris Toshok <[email protected]>
  17081. * DataGrid.cs (EndEdit): only invalidate the row header when we
  17082. need to.
  17083. 2006-08-23 Chris Toshok <[email protected]>
  17084. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  17085. methods. fixes the flicker when scrolling around.
  17086. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17087. * FileDialog.cs: Making sure the control is created before we get a
  17088. chance to use it with BeginInvoke (Fixes #79096)
  17089. 2006-08-23 Chris Toshok <[email protected]>
  17090. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  17091. width to use when painting the rows.
  17092. 2006-08-23 Peter Dennis Bartok <[email protected]>
  17093. * TextBoxBase.cs:
  17094. - Throw ArgumentException if a negative value is passed to SelectionLength
  17095. - Update the selection end if start is moved. end needs to be always
  17096. after start. (Fixes #79095)
  17097. - Track selection length; MS keeps the selection length even if start
  17098. is changed; reset on all other operations affection selection
  17099. 2006-08-22 Jackson Harper <[email protected]>
  17100. * TreeView.cs: Make sure both scrollbars get displayed and sized
  17101. correctly when the other bar is visible.
  17102. - Use the original clip rectangle for checking if the area between
  17103. the two scrollbars is visible, not the viewport adjusted clipping
  17104. rectangle.
  17105. 2006-08-22 Jackson Harper <[email protected]>
  17106. * Binding.cs: We don't use IsBinding because it requires the
  17107. control to be created, which really shouldn't be necessary just to
  17108. set a property on the control.
  17109. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  17110. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  17111. ArgumentNullReferenceException when the argument is null.
  17112. 2006-08-21 Jackson Harper <[email protected]>
  17113. * Timer.cs: Track the thread that the timer is started in (NOT
  17114. CREATED), this way messages for it will only be triggered on its
  17115. queue.
  17116. * XEventQueue.cs: Track the timers here, this makes timers per
  17117. thread, like MS.
  17118. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  17119. 2006-08-19 Chris Toshok <[email protected]>
  17120. * XplatUIX11.cs: after further communication with pdb, we get the
  17121. best of both worlds. SetZOrder working for un-Mapped windows, and
  17122. no X errors for un-mapped windows.
  17123. 2006-08-19 Chris Toshok <[email protected]>
  17124. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  17125. as it was causing pdn toolbars to not have the correct stacking.
  17126. 2006-08-18 Mike Kestner <[email protected]>
  17127. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  17128. calculation. Not sure why control should ever be setting a negative
  17129. width though. Fixes #78931.
  17130. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  17131. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  17132. null items in ObjectCollection class.
  17133. * ListBox.cs.: Likewise.
  17134. 2006-08-18 Atsushi Enomoto <[email protected]>
  17135. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  17136. as the base method in ThemeWin32Classic should work fine.
  17137. Fixed bug #78607.
  17138. 2006-08-18 Jackson Harper <[email protected]>
  17139. * Binding.cs: When validating if the value entered doesn't convert
  17140. properly reset to the old value.
  17141. * RadioButton.cs: Don't fire click when we get focus.
  17142. 2006-08-18 Jackson Harper <[email protected]>
  17143. * FileDialog.cs: Paint the selection on the directory combobox the
  17144. same way as on MS.
  17145. 2006-08-17 Jackson Harper <[email protected]>
  17146. * ErrorProvider.cs: Don't allow the error control to be selected.
  17147. * Control.cs: Don't send the SetFocus messages, the control
  17148. activation will do this, and if we do it blindly here validation
  17149. does not work.
  17150. 2006-08-17 Jackson Harper <[email protected]>
  17151. * Control.cs:
  17152. * ContainerControl.cs: Make validation events fire in the correct
  17153. order. TODO: For some reason the first validation event is not
  17154. getting fired.
  17155. 2006-08-17 Mike Kestner <[email protected]>
  17156. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  17157. 2006-08-17 Mike Kestner <[email protected]>
  17158. * ComboBox.cs : implement scroll wheel support for popped-down
  17159. state. Fixes #78945.
  17160. 2006-08-17 Jackson Harper <[email protected]>
  17161. * TreeView.cs: Specify treeview actions (old patch that didn't get
  17162. committed for some reason).
  17163. - Don't let the mouse wheel scroll us too far. Just want to make
  17164. the bottom node visible, not scroll it all the ways to the top.
  17165. 2006-08-17 Jackson Harper <[email protected]>
  17166. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  17167. 2006-08-17 Mike Kestner <[email protected]>
  17168. * ComboBox.cs : don't do mouseover selection in simple mode.
  17169. 2006-08-16 Jackson Harper <[email protected]>
  17170. * Form.cs: Fire the closing events for all the mdi child windows
  17171. when a window is closed. If the cancel args are set to true, the
  17172. main window still gets the event fired, but it doesn't not close.
  17173. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  17174. handler, instead of when the button is clicked, so cancelling the
  17175. close works correctly.
  17176. * ComboBox.cs: Send the mouse down to the scrollbar.
  17177. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  17178. * ListBox.cs: When passing 'null' to SelectedItem,
  17179. set SelectedIndex to -1, to unselect items. This is the
  17180. observed behaviour in .Net.
  17181. 2006-08-16 Peter Dennis Bartok <[email protected]>
  17182. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  17183. MS flags saying there won't be any. (fixes #78800)
  17184. * Control.cs (HandleClick): Made virtual
  17185. 2006-08-16 Atsushi Enomoto <[email protected]>
  17186. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  17187. cultures. Fixed bug #78399.
  17188. 2006-08-16 Jackson Harper <[email protected]>
  17189. * Form.cs: Use the MdiClients MdiChildren property to access
  17190. MdiChildren instead of creating the array from the child controls.
  17191. * MdiClient.cs: Maintain a separate array of the mdi children, so
  17192. that insertion order is maintained when the Z-order is changed.
  17193. 2006-08-16 Mike Kestner <[email protected]>
  17194. * ListView.cs : add an ItemComparer and default to it for sorting.
  17195. Fixes #79076, but sorting needs a complete overhaul to be compat with
  17196. MS.
  17197. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17198. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  17199. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17200. * Hwnd.cs (Mapped): Properly traverse the tree
  17201. 2006-08-15 Chris Toshok <[email protected]>
  17202. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  17203. pass manager.Current.GetType() to ParseData. It has to be the
  17204. property type. So, hold off doing the ParseData until we're in
  17205. SetPropertyValue where we know the type. This fixes the crash in
  17206. #78821 but the textbox is still empty.
  17207. 2006-08-15 Chris Toshok <[email protected]>
  17208. * DataGrid.cs:
  17209. - when we're scrolling, only call Edit() again if the
  17210. current cell is still unobscured. Fixes bug #78927.
  17211. - when handling mousedown on a cell, ensure the cell is visible
  17212. before calling Edit.
  17213. - remove the properties from DataGridRow, and remove the
  17214. DataGridParentRow class altogether.
  17215. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17216. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  17217. fire OnTextChanged by ourselves. There's no point calling base,
  17218. we don't set the base value anywhere else. Fixes #78773.
  17219. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  17220. * ListBox.cs: Call CollectionChanged when modifying
  17221. an item from Items indexer, to update the actual items
  17222. in the list box.
  17223. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  17224. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  17225. to match .Net behaviour.
  17226. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17227. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  17228. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17229. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  17230. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17231. * MessageBox.cs: Prevent potential NRE exception.
  17232. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  17233. 2006-08-14 Peter Dennis Bartok <[email protected]>
  17234. * MessageBox.cs: Calculate the owner of a messagebox, also make
  17235. it topmost. Fixes #78753
  17236. 2006-08-14 Chris Toshok <[email protected]>
  17237. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  17238. programmatically move windows. first, set the PPosition hint as
  17239. well as the USPosition hint. Second include some code from pdb
  17240. that sets the window type to NORMAL when we set the transient for
  17241. hint. This is because, in the absence of a window type, metacity
  17242. thinks any window with TransientFor set is a dialog, and refuses
  17243. to let us move it programmatically. fascists.
  17244. 2006-08-14 Peter Dennis Bartok <[email protected]>
  17245. * XplatUIX11.cs: When setting normal hints, take into consideration
  17246. an different hints previously set so we don't delete them (fixes #78866)
  17247. 2006-08-12 Chris Toshok <[email protected]>
  17248. * ToolBarButton.cs: make Layout return a boolean, if something to
  17249. do with the button's layout changed.
  17250. * ToolBar.cs:
  17251. - add another parameter to Redraw, @force, which all existing
  17252. calls set to true.
  17253. - make the Layout function return a boolean which is true if the
  17254. layout has actually changed. Redraw now uses this (and @force)
  17255. to determine when to invalidate. At present the only place
  17256. where @force can be false is the call from OnResize, when
  17257. background_image == null. So, resizing a toolbar when the
  17258. layout doesn't change results in no drawing.
  17259. 2006-08-12 Chris Toshok <[email protected]>
  17260. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  17261. the VScrollBar and HScrollbar reversed. oops.
  17262. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  17263. scrollbars. we were assigning them twice (once in
  17264. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  17265. therefore causing two scrollbar resizes (and redraws?) to happen
  17266. per grid resize.
  17267. 2006-08-12 Chris Toshok <[email protected]>
  17268. * ToolBarButton.cs: redraw the entire button if the theme tells us
  17269. to.
  17270. * Theme.cs: add ToolBarInvalidateEntireButton.
  17271. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  17272. buttons, just the border.
  17273. * ThemeNice.cs: redraw the entire toolbar button since we need to
  17274. draw the highlight image.
  17275. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  17276. we need to redraw the entire button (not just the border).
  17277. 2006-08-11 Peter Dennis Bartok <[email protected]>
  17278. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  17279. for vertical bars. Fixes the mismatches shown by #78513
  17280. 2006-08-11 Alexander Olk <[email protected]>
  17281. * FileDialog.cs: If a saved/remembered path doesn't exist
  17282. anymore, fall back to "Desktop".
  17283. 2006-08-11 Peter Dennis Bartok <[email protected]>
  17284. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  17285. parent. It's apparently legal to not have one
  17286. * XplatUIX11.cs:
  17287. - SetZOrder: Don't try to set Z-Order on an unmapped window
  17288. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  17289. it unless the coordinates are negative
  17290. 2006-08-10 Mike Kestner <[email protected]>
  17291. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  17292. when setting to null per msdn docs. Fixes #78854.
  17293. 2006-08-10 Chris Toshok <[email protected]>
  17294. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  17295. flickering by setting a clip rectangle on the Graphics when we
  17296. need to redraw just a particular menuitem. Also, rename "OnClick"
  17297. to "OnMouseDown" to reflect what it actually is.
  17298. * Form.cs: track the OnMouseDown change.
  17299. 2006-08-10 Peter Dennis Bartok <[email protected]>
  17300. * CommonDialog.cs: Properly inherit the CreateParams from the form
  17301. and only change what we need. Fixes #78865
  17302. 2006-08-10 Chris Toshok <[email protected]>
  17303. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  17304. flickering in flat mode (and most of the flickering in general) by
  17305. only invalidating the button border (and not the entire rectangle)
  17306. when the state changes. A couple of cases still flicker:
  17307. ToggleButtons, and the dropdown arrow case when the user mouse
  17308. ups.
  17309. 2006-08-10 Alexander Olk <[email protected]>
  17310. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  17311. for german keyboards. Numlock state shouldn't affect the behaviour
  17312. of the Del key. Fixes bug #78291.
  17313. 2006-08-10 Chris Toshok <[email protected]>
  17314. * ListControl.cs: remove the items.Clear line from BindDataItems,
  17315. as this is the first thing done by both subclasses in their
  17316. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  17317. passed -1, refresh the list. This gets databinding working when
  17318. the datasource is set on the list before the datasource is
  17319. populated (as in wf-apps/ReportBuilder.)
  17320. * ComboBox.cs: remove the argument to BindDataItems. This call
  17321. should really go away, and be initiated by the ListControl code.
  17322. * ListBox.cs: same.
  17323. 2006-08-09 Peter Dennis Bartok <[email protected]>
  17324. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  17325. if no data is in the document when the control is displayed
  17326. 2006-08-09 Peter Dennis Bartok <[email protected]>
  17327. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  17328. yes (fixes #78806)
  17329. * TextControl.cs:
  17330. - PositionCaret: Allow positioning of caret but don't call methods
  17331. requiring a handle if the window isn't created yet
  17332. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  17333. - owner_HandleCreated: Don't position the caret, just update it's
  17334. location. User might have already set a different position
  17335. 2006-08-09 Peter Dennis Bartok <[email protected]>
  17336. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  17337. windows. Screws up the returned coordinates for child windows.
  17338. Fixes #78825. I'm hoping this doesn't break something, since the
  17339. code was explicitly put in 8 months ago, but no bug was attached.
  17340. Menus still seem to work properly.
  17341. 2006-08-08 Chris Toshok <[email protected]>
  17342. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  17343. supposed to do - delay data binding until the EndInit call. Also,
  17344. make the table style collection's CollectionChangeAction.Refresh
  17345. work properly.
  17346. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  17347. (with action = Refresh) when a consituent table's MappingName is
  17348. changed.
  17349. 2006-08-08 Chris Toshok <[email protected]>
  17350. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  17351. Invalidate, since changing the text can change the size of the all
  17352. toolbar buttons.
  17353. 2006-08-08 Peter Dennis Bartok <[email protected]>
  17354. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  17355. we don't have it yet
  17356. 2006-08-08 Chris Toshok <[email protected]>
  17357. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  17358. dialog, as this causes X errors later on, since we actually
  17359. destroy the window. Instead, .Hide() it.
  17360. 2006-08-08 Peter Dennis Bartok <[email protected]>
  17361. * ComboBox.cs: Added focus reflection for popup window
  17362. * XplatUIX11.cs:
  17363. - Removed transient setting for non-app windows for now, not sure it
  17364. was needed
  17365. - Fixed logic checking if we have captions when deciding
  17366. override_redirect, WS_CAPTION is two bits and a 0 check was not
  17367. sufficient
  17368. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  17369. complicated
  17370. * Form.cs:
  17371. - AddOwnedForm: Don't just add the form to the list, call the property
  17372. to ensure the driver is informed about the ownership as well
  17373. - CreateHandle: Set the TopMost status in the driver if we have an owner
  17374. * XplatUI.cs: Fixed debug statement
  17375. 2006-08-08 Jonathan Pobst <[email protected]>
  17376. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  17377. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  17378. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  17379. TrackBarRenderer.cs: Make constructor private.
  17380. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  17381. * ProfessionalColorTable.cs: Make properties virtual.
  17382. 2006-08-06 Duncan Mak <[email protected]>
  17383. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  17384. is not changing.
  17385. 2006-08-04 Jonathan Pobst <[email protected]>
  17386. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  17387. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  17388. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  17389. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  17390. Initial import of new 2.0 classes.
  17391. 2006-08-04 Jonathan Pobst <[email protected]>
  17392. * Application.cs: Add 2.0 VisualStyles properties.
  17393. 2006-08-04 Jonathan Pobst <[email protected]>
  17394. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  17395. XplatUIX11.cs: Create property to allow access to existing private
  17396. variable "themes_enabled"
  17397. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  17398. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  17399. file size, as otherwise our class libraries fail using windows. Fixes
  17400. bug #78759.
  17401. 2006-08-04 Jackson Harper <[email protected]>
  17402. * Form.cs:
  17403. * XplatUIX11.cs: Move the toolwindow window manager creation into
  17404. the X11 driver, this way on win32 we can let windows create/handle
  17405. the toolwindows.
  17406. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  17407. * PrintDialog.cs: Remove some redundant checks, add some others,
  17408. clean some code, and move the focus to the text boxes when the
  17409. values are incorrect.
  17410. 2006-08-04 Alexander Olk <[email protected]>
  17411. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  17412. 2006-08-03 Alexander Olk <[email protected]>
  17413. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  17414. handled correctly. Fixes bug #79001.
  17415. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  17416. * PrintDialog.cs: The "Copies" numeric up down must have
  17417. set the Minimum property to 1; only if the value is bigger
  17418. than 1, activate "Collate" check box. This is the behaviour of .Net.
  17419. Also modify the Document elements only if it is not null.
  17420. 2006-08-03 Jackson Harper <[email protected]>
  17421. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  17422. length. (We have a larger array then actual node count).
  17423. 2006-08-03 Jackson Harper <[email protected]>
  17424. * ComboBox.cs: Don't show selection by default.
  17425. - The SelectAll isn't needed here, since the focus code should do
  17426. that
  17427. - DDL style lists to manual selection drawing, so when they
  17428. get/lose focus they have to invalidate.
  17429. 2006-08-03 Peter Dennis Bartok <[email protected]>
  17430. * TextBoxBase.cs: Don't always show all selections by default.
  17431. 2006-08-03 Jonathan Pobst <[email protected]>
  17432. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  17433. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  17434. Fixed various typos.
  17435. 2006-08-03 Alexander Olk <[email protected]>
  17436. * Control.cs: Removing the controls in a ControlCollection with
  17437. Clear now hides the controls as expected. Fixes bug #78804.
  17438. 2006-08-03 Jackson Harper <[email protected]>
  17439. * Control.cs: Revert previous focus patch, it breaks reflector.
  17440. 2006-08-03 Jackson Harper <[email protected]>
  17441. * ComboBox.cs: Cleanup selection and focus with the combobox.
  17442. This also eliminates some duplicated keyboard code, since now
  17443. everything is handled by the main class.
  17444. - Make list selection work on mouse up instead of down, to match
  17445. MS.
  17446. 2006-08-02 Jackson Harper <[email protected]>
  17447. * Control.cs: Setting focus needs to go through the whole
  17448. selection mechanism.
  17449. 2006-08-02 Chris Toshok <[email protected]>
  17450. * PrintPreviewDialog.cs: change MinimumSize to use
  17451. base.MinimumSize so it works.
  17452. 2006-08-02 Peter Dennis Bartok <[email protected]>
  17453. * TextControl.cs:
  17454. - UpdateCaret: Added sanity check in case caret isn't defined yet
  17455. - Line.Delete: Now updating selection and caret markers if we're
  17456. transfering a node (Properly fixes #78323)
  17457. - SetSelectionEnd: Added sanity check
  17458. * TextBoxBase.cs: Removed broken attempt to fix #78323
  17459. 2006-08-01 Chris Toshok <[email protected]>
  17460. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  17461. Close() call is handled in Form, not here.
  17462. 2006-08-01 Chris Toshok <[email protected]>
  17463. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  17464. layout/rendering.
  17465. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  17466. for sizes < 100% zoom. The code now aggressively attempts to keep
  17467. from calling document.Print (), and tries not to use the scaling
  17468. g.DrawImage whenever possible (it still does if you scale to >
  17469. 100%, since usually that involves huge images).
  17470. * PrintPreviewControl.cs: hook up the close button.
  17471. 2006-08-01 Jonathan Pobst <[email protected]>
  17472. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  17473. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  17474. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  17475. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  17476. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  17477. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  17478. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  17479. Removed [Serializable] for 2.0 Event Handlers.
  17480. 2006-07-31 Jackson Harper <[email protected]>
  17481. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  17482. * TextControl.cs: Uncomment out the body of this method.
  17483. 2006-07-31 Alexander Olk <[email protected]>
  17484. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  17485. standard cursors.
  17486. 2006-07-31 Peter Dennis Bartok <[email protected]>
  17487. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  17488. that embed TextBox and need selections visible even if textbox is not
  17489. focused to enforce that behaviour.
  17490. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  17491. selection drawing
  17492. 2006-07-31 Peter Dennis Bartok <[email protected]>
  17493. * TextControl.cs:
  17494. - Added new SetSelectionStart/SetSelectionEnd overloads
  17495. - Fixed viewport width assignment to be accurate
  17496. - Adjusted alignment line shift calculations to allow cursor on right
  17497. aligned lines to be always visible at the right border (like MS)
  17498. * TextBoxBase.cs:
  17499. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  17500. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  17501. - CalculateScrollBars: Use ViewPort size instead of window size, to
  17502. properly consider space occupied by the border and scrollbars
  17503. (Fixes #78661)
  17504. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  17505. calculations; no longer leaves artifacts
  17506. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  17507. calculation bugs (Still missing right/center align calculations)
  17508. 2006-07-31 Peter Dennis Bartok <[email protected]>
  17509. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  17510. use of both scroll rect and clip rect, as they do the same.
  17511. 2006-07-31 Peter Dennis Bartok <[email protected]>
  17512. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  17513. in the event handler (fixes #78912)
  17514. 2006-07-31 Chris Toshok <[email protected]>
  17515. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  17516. grid.ListManager.Count, since grid.ListManager might be null.
  17517. This of course begs the question "why are we drawing rows for a
  17518. grid with no list manager (and therefor no rows)?" Fixes the
  17519. crash in bug #78929.
  17520. 2006-07-31 Chris Toshok <[email protected]>
  17521. * RelatedPropertyManager.cs: Don't always chain up to the parent
  17522. ctor. instead, call SetDataSource if the parent's position is !=
  17523. -1. Fixes the crash in #78822.
  17524. 2006-07-31 Chris Toshok <[email protected]>
  17525. * DataGrid.cs (get_ListManager): use field instead of property
  17526. accessors for datasource and datamember.
  17527. (RowsCount): make internal again.
  17528. (OnMouseDown): end edits before resizing columns/rows.
  17529. (OnMouseUp): restart edits after resizing columns/rows.
  17530. 2006-07-30 Peter Dennis Bartok <[email protected]>
  17531. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  17532. This fixes the situation where the last set cursor is displayed
  17533. whenever the mouse is over scrollbars.
  17534. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  17535. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  17536. Document properties, as well as initial values.
  17537. 2006-07-29 Peter Dennis Bartok <[email protected]>
  17538. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  17539. and ClientEdge results in a 3-pixel border, which is
  17540. wrong.
  17541. 2006-07-28 Jackson Harper <[email protected]>
  17542. * TreeNodeCollection.cs: Fix the clear method.
  17543. - Fix the Shrink also
  17544. 2006-07-27 Jackson Harper <[email protected]>
  17545. * TreeView.cs: Make sure the visible order is computed when we
  17546. attempt to size the scrollbars (for trees that mess with the
  17547. scrolling when they shouldn't.
  17548. - Make sure to give the scrollbars valid values.
  17549. 2006-07-26 Peter Dennis Bartok <[email protected]>
  17550. * XplatUIX11.cs: Move motion compression code to where it
  17551. has less performance impact
  17552. 2006-07-26 Jackson Harper <[email protected]>
  17553. * UpDownBase.cs: When the control is selected make the child
  17554. controls non selectable, so that a click on them won't do a
  17555. focus/unfocus cycle.
  17556. - Don't give focus to the text box when the spinner is selected.
  17557. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  17558. 2006-07-26 Chris Toshok <[email protected]>
  17559. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  17560. satisfied with this solution. If the bitmaps are small, we should
  17561. just cache them in the PrintPreviewDialog and draw them here.
  17562. Also, the layout is broken for the 2-up and 3-up cases.
  17563. * Theme.cs: add PrintPReviewControlPaint.
  17564. * PrintPreviewDialog.cs: first pass implementation.
  17565. * PrintPreviewControl.cs: first pass implementation. No
  17566. scrollbars yet.
  17567. * PrintDialog.cs: only validate fields if that particular portion
  17568. of the UI is enabled. Also, set the document's controller to a
  17569. PrintControllerWithStatusDialog wrapping the document's print
  17570. controller.
  17571. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  17572. bring up a SaveFileDialog (i hope we don't want to match the
  17573. behavior of the crappy windows file entry) and set the
  17574. PrinterSettings.PrintFileName accordingly.
  17575. 2006-07-26 Jackson Harper <[email protected]>
  17576. * ContainerControl.cs: Add a field that disables auto selecting
  17577. the next control in a container when the container is activated.
  17578. * UpDownBase.cs: Don't select the text box when the up down is
  17579. selected.
  17580. 2006-07-26 Peter Dennis Bartok <[email protected]>
  17581. * XEventQueue.cs: Added methods for peeking (used for compression
  17582. of successive events)
  17583. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  17584. mouse move events (fixes #78732)
  17585. 2006-07-25 Jackson Harper <[email protected]>
  17586. * UpDownBase.cs: Use an internal class for the textbox so that we
  17587. can control focus. the updown control should always have focus,
  17588. if either the text area or the buttons are clicked.
  17589. - Send the key messages to the textbox, since it never actually
  17590. has focus
  17591. - Activate and decativate the textbox caret.
  17592. 2006-07-24 Jackson Harper <[email protected]>
  17593. * Control.cs: Use the directed select when selecting a control,
  17594. this way the container controls override will get called and the
  17595. whole ActiveControl chain will get triggered. TODO: probably need
  17596. to make sure this gets done everywhere instead of the old
  17597. Select(Control).
  17598. * ContainerControl.cs: Implement the directed Select method to
  17599. find and activate the correct child control.
  17600. 2006-07-22 Mike Kestner <[email protected]>
  17601. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  17602. menu handling code so that clicks without a grab work too.
  17603. [Fixes #78914]
  17604. 2006-07-22 Alexander Olk <[email protected]>
  17605. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  17606. Added some small optimizations.
  17607. 2006-07-21 Matt Hargett <[email protected]>
  17608. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  17609. 2006-07-21 Peter Dennis Bartok <[email protected]>
  17610. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  17611. tests pass and match MS in some strange border cases.
  17612. 2006-07-21 Chris Toshok <[email protected]>
  17613. * ThemeWin32Classic.cs: handle drawing of the relation links and
  17614. parent row buttons.
  17615. * Theme.cs: change args to DataGridPaintParentRow.
  17616. * DataGrid.cs: Don't use controls for the relation links and
  17617. parent buttons, so we have to handle all their interactions in
  17618. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  17619. when we're navigating through child tables, so we can reinstate
  17620. selection, expanded state, current cell, etc.
  17621. 2006-07-20 Chris Toshok <[email protected]>
  17622. * ToolBar.cs: When we redraw a button, for whatever reason,
  17623. there's no reason to redraw the entire toolbar. Also, don't call
  17624. Control.Refresh from within Redraw, as it's much heavier than
  17625. Invalidate (which is really what we want).
  17626. 2006-07-20 Chris Toshok <[email protected]>
  17627. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  17628. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  17629. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  17630. traces from within a debug IBindingList datasource
  17631. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  17632. to work in a similar fashion.
  17633. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17634. * ListBox.cs: Don't call Sort () when setting
  17635. the Sorted property to false (avoid an unnecessary sort).
  17636. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17637. * ListControl.cs: DataSource should throw an ArgumentException
  17638. instead of a normal exception when the argument is not of the
  17639. correct type.
  17640. 2006-07-20 Mike Kestner <[email protected]>
  17641. * Control.cs: add InternalPreProcessMessage to allow us to steal
  17642. key events before MWF gets its paws on them. Adapted from a
  17643. suggestion by eno.
  17644. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  17645. up/down/left/right navigation. Override the new internal control
  17646. method to steal the events since they never make it to WndProc.
  17647. * ToolBarButton.cs: don't worry about pushed when setting hilight
  17648. since the drawing code prefers pushed to hilight. Invalidate on
  17649. Hilight changes. Fixes #78547 and #78525.
  17650. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17651. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  17652. the canvas size. Fixes #78868
  17653. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17654. * Splitter.cs: Track requested split position until first layout
  17655. is performed. Fixes #78871
  17656. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17657. * Application.cs: Removed code that forces 1.x for the version
  17658. number if the version started with 0. Not sure why that code was
  17659. there and I couldn't find any bugs that indicated we needed it.
  17660. Fixes #78869
  17661. 2006-07-20 Alexander Olk <[email protected]>
  17662. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  17663. ResetDefaults(), just write some output to the console until it's
  17664. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  17665. 2006-07-19 Jonathan Chambers <[email protected]>
  17666. * PropertyGridView.cs: set StartPosition of drop down forms
  17667. so they appear in correct initial spot. Fixes #78190.
  17668. 2006-07-19 Mike Kestner <[email protected]>
  17669. * ThemeWin32Classic.cs: use parent background color when drawing
  17670. flat toolbars. Restructure the conditionals to make sure non-flat
  17671. non-Divider toolbars are filled too. Fixes #78837.
  17672. 2006-07-19 Mike Kestner <[email protected]>
  17673. * ListBox.cs: Sort on collection changes even if the handle
  17674. isn't created yet. Fixes #78813.
  17675. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  17676. * ListControl.cs: DisplayMember should never be null,
  17677. and now we assign String.Empty when null is passed to it (this
  17678. is the .Net way).
  17679. 2006-07-17 Mike Kestner <[email protected]>
  17680. * ListViewItem.cs: restructure Font and subitem Font handling
  17681. to hold a specific font and refer back to owner on null.
  17682. Fixes #78761.
  17683. 2006-07-17 Mike Kestner <[email protected]>
  17684. * ToolBar.cs: bandaid for side-effect of previous patch which was
  17685. discarding explicit heights for non-AutoSize toolbars. Need to
  17686. extend my format tester to deal with AutoSize=false. Fixes #78864.
  17687. 2006-07-15 Jackson Harper <[email protected]>
  17688. * LabelEditTextBox.cs:
  17689. * TreeView.cs: Use a new LabelEdit class for node editing, this
  17690. class automatically 'closes' itself when it gets the enter key or
  17691. loses focus.
  17692. - Use the client rectangle when setting the trees scrollbars, so
  17693. border style is taken into account.
  17694. 2006-07-14 Jackson Harper <[email protected]>
  17695. * TreeNode.cs:
  17696. * TreeView.cs: Make the editing work similar to MSs, firing the
  17697. events correctly and ending edits correctly.
  17698. 2006-07-14 Mike Kestner <[email protected]>
  17699. * ToolBarButton.cs:
  17700. * ToolBar.cs: layout restructuring and redraw enhancements to support
  17701. formatting changes gracefully, like setting TextAlign, ImageList,
  17702. ButtonSize, and Appearance. Handles explicit button sizing quirks
  17703. of the MS controls. Things like flat toolbars ignoring button size
  17704. but becoming constant sized at the largest button's size. Normal
  17705. toolbars with an image set cannot be shrunk smaller than the image,
  17706. but text can be clipped/ignored.
  17707. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  17708. is zero. Seems like DrawString should be smart enough to not put
  17709. anything on screen though. Also trim labels and ellipsize at the char
  17710. boundary, not word.
  17711. Fixes #78711 and #78483.
  17712. 2006-07-14 Alexander Olk <[email protected]>
  17713. * FolderBrowserDialog.cs: Disable "New Folder" button and
  17714. "New Folder" contextmenu menuitem if a folder like "My Computer"
  17715. is selected.
  17716. 2006-07-14 Alexander Olk <[email protected]>
  17717. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  17718. * FolderBrowserDialog.cs:
  17719. - Use MWFConfig to store and read size and position settings
  17720. - Added code to create a new folder (button or context menu).
  17721. Use TreeView labeledit to change the name of the new folder.
  17722. 2006-07-14 Jackson Harper <[email protected]>
  17723. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  17724. when the tree is scrolled we end editing.
  17725. 2006-07-14 Alexander Olk <[email protected]>
  17726. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  17727. Down arrows
  17728. 2006-07-14 Jonathan Pobst <[email protected]>
  17729. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  17730. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  17731. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  17732. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  17733. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  17734. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  17735. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  17736. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  17737. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  17738. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  17739. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  17740. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  17741. ListViewItemSelectionChangedEventHandler.cs,
  17742. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  17743. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  17744. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  17745. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  17746. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  17747. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  17748. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  17749. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  17750. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  17751. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  17752. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  17753. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  17754. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  17755. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  17756. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  17757. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  17758. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  17759. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  17760. WebBrowserNavigatingEventHandler.cs,
  17761. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  17762. 2006-07-14 Jonathan Pobst <[email protected]>
  17763. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  17764. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  17765. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  17766. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  17767. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  17768. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  17769. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  17770. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  17771. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  17772. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  17773. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  17774. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  17775. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  17776. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  17777. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  17778. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  17779. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  17780. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  17781. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  17782. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  17783. ListViewItemStates.cs, MaskFormat.cs: Added
  17784. 2006-07-13 Jonathan Chambers <[email protected]>
  17785. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  17786. Patch from eno for bug 78558.
  17787. 2006-07-13 Jackson Harper <[email protected]>
  17788. * TreeView.cs: When an edit is finished make sure that the
  17789. selected node is visible.
  17790. - When setting the top/bottom use the scrollbars is_visible, so
  17791. everything will be set correctly even if the tree isn't visible
  17792. yet.
  17793. 2006-07-13 Jackson Harper <[email protected]>
  17794. * ComboBox.cs: Revert the item->index part of my previous patch.
  17795. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  17796. the edit box has lost focus (duh).
  17797. - Just make the edit box not visible when we get return, that will
  17798. take the focus, which will call EndEdit
  17799. * TreeNode.cs When we start editing, notify the treeview.
  17800. 2006-07-12 Jackson Harper <[email protected]>
  17801. * ComboBox.cs: Clear out old items before setting the item list.
  17802. This prevents databound controls from having their items added
  17803. twice.
  17804. - Switch the combobox to use indices whereever possible instead of
  17805. using Item's. This allows usto navigate through lists that have
  17806. more then one item with the same string value (ie a, b, b, a).
  17807. - Scroll the listboxes scrollbar when a non visible item is
  17808. highlighted
  17809. - Allow keypress to cycle through all the possible values. For
  17810. example if you have b1, b2, b3 and hold down the B key all the
  17811. values will be cycled through.
  17812. 2006-07-12 Jackson Harper <[email protected]>
  17813. * TextBoxBase.cs:
  17814. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  17815. this using the internal methods.
  17816. * Control.cs: Add OnGotFocusInternal. A new method that allows
  17817. controls to "override" OnGotFocus and change focus behavior if
  17818. needed.
  17819. - Same thing for LostFocus
  17820. * ComboBox.cs: Pass off focus to the text control properly.
  17821. 2006-07-12 Alexander Olk <[email protected]>
  17822. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  17823. * FolderBrowserDialog.cs: Almost a complete rewrite.
  17824. - Better support for Environment.Specialfolders
  17825. - Added support for MWFVFS
  17826. - Made setting SelectedPath work
  17827. 2006-07-12 Jackson Harper <[email protected]>
  17828. * Control.cs: Optimze getting all the controls.
  17829. 2006-07-11 Jackson Harper <[email protected]>
  17830. * ContainerControl.cs: Override SETFOCUS in the container control,
  17831. so that it is not selected on mouse click.
  17832. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17833. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  17834. Hopefully we will have a better way once all of focus is complete.
  17835. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17836. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  17837. a compile error with csc.
  17838. 2006-07-11 Jackson Harper <[email protected]>
  17839. * Control.cs: When hiding a control only select the next control
  17840. if the current control was focused.
  17841. - Don't handle enter/leave when setting/killing focus, this is
  17842. done by the container control.
  17843. - Remove is_selected, it's not needed anymore.
  17844. - Add utility methods for selecting a child control, and for
  17845. firing the Enter/Leave events.
  17846. * ContainerControl.cs: When a control is activated fire the
  17847. enter/leave events.
  17848. - Don't wrap when processing the tab key, so that focus can be
  17849. moved outside of the container.
  17850. - Use the correct active control
  17851. 2006-07-11 Jackson Harper <[email protected]>
  17852. * ComboBox.cs: Remove some debug code that was blinding me.
  17853. * UpDownBase.cs: These controls actually aren't implicit, they are
  17854. visible to the user.
  17855. 2006-07-10 Chris Toshok <[email protected]>
  17856. * DataGrid.cs: move back to the is_adding boolean field. god i
  17857. hate this is_editing/is_adding/is_changing stuff.
  17858. 2006-07-10 Chris Toshok <[email protected]>
  17859. * DataGridTableStyle.cs: just check if the property type is bool.
  17860. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  17861. Don't use CanRenderType.
  17862. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  17863. if our text == NullText. Remove CanRenderType.
  17864. * DataGridBoolColumn.cs: nuke CanRenderType.
  17865. * DataGrid.cs: reenable some code to end the current edit inside
  17866. of set_CurrentCell. This fixes the other 1.1.16 regression.
  17867. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  17868. Also, remove the visible_row_count arg from CalcRowHeaders, since
  17869. we don't need to worry about the actual height of the area.
  17870. 2006-07-10 Chris Toshok <[email protected]>
  17871. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  17872. mode, just return.
  17873. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  17874. the real sense of the IsInEditOrNavigateMode property (true =
  17875. navigate, false = edit). Also, update OnKeyPress to reflect this.
  17876. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  17877. column style exists, we still need to set its property descriptor
  17878. to match up with our list manager.
  17879. 2006-07-10 Chris Toshok <[email protected]>
  17880. * ThemeWin32Classic.cs: implement the new row/header painting
  17881. approach. The parent row painting will likely go away and
  17882. replaced with label controls, but the rest seems to work ok (and
  17883. efficiently).
  17884. * Theme.cs: change the way we draw datagrid rows. we don't draw
  17885. the row headers as a block now. Instead we draw them in the
  17886. normal draw-row loop. Add some calls for drawing parent rows and
  17887. relation rows.
  17888. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  17889. a default table style. Set the defaults from ThemeEngine.Current,
  17890. not SystemColors. Fix lots of misc issues with property setters.
  17891. * DataGrid.cs: move loads of style information out of this class
  17892. as it's being duplicated with DataGridTableStyle. keep track of a
  17893. special DataGridTableStyle for the properties we used to mirror
  17894. here. Switch all the style properties to access this table style
  17895. instead of instance fields of this class. Also add a internal
  17896. class to represent parent rows (more needs to be stored here, like
  17897. the selection state from the parent table, as well as the
  17898. expansion state.) Also, for datasources with relations, do the
  17899. right thing for collapse/expand, and add support for the
  17900. navigation/parent row buttons.
  17901. Lastly, fix the crash in the 1.1.16 build.
  17902. * GridTableStylesCollection.cs: make the explicit interface
  17903. implementations call the class's methods as opposed to duplicating
  17904. them.
  17905. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  17906. 0 so the text doesn't jump around when we move the cursor.
  17907. 2006-07-10 Jackson Harper <[email protected]>
  17908. * TextBoxBase.cs:
  17909. * ListBox.cs: Match MS's ToString (this makes debugging focus
  17910. stuff infinitely easier).
  17911. 2006-07-10 Jackson Harper <[email protected]>
  17912. * Control.cs (SelectNextControl): When checking the control's
  17913. parent use this instead of ctrl.parent so that null can be passed
  17914. to SelectNextControl. (I have unit tests for this).
  17915. - Remove unused var.
  17916. 2006-07-10 Chris Toshok <[email protected]>
  17917. * CurrencyManager.cs: correct one regression, the removal of the
  17918. finalType field. Also, add a MonoTODO on CanAddRows, implement
  17919. Refresh() correctly, and fix some event emission in
  17920. ListChangedHandler.
  17921. 2006-07-07 Alexander Olk <[email protected]>
  17922. * FileDialog.cs: Don't use brackets for new folders if they exist
  17923. under *nix. Instead use -(number of existing folders +1).
  17924. 2006-07-07 Alexander Olk <[email protected]>
  17925. * FileDialog.cs:
  17926. - Fixed really nasty bug #78771
  17927. - Don't block the whole GUI when reading directories with a lot of
  17928. entries. Use an other thread instead and call BeginInvoke to
  17929. update the ListView in MWFFileView
  17930. 2006-07-07 Chris Toshok <[email protected]>
  17931. * Control.cs (Dispose): release any Capture when disposing.
  17932. 2006-07-07 Chris Toshok <[email protected]>
  17933. * LinkLabel.cs (Select): if we chain up to the parent, set
  17934. focused_index to -1 so we'll search for the first available link
  17935. the next time the user tabs into us. Also, if the direction is
  17936. backward and focused_index == -1, start the search from the last
  17937. element.
  17938. 2006-07-07 Chris Toshok <[email protected]>
  17939. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  17940. is beyond the end of the text, don't do anything.
  17941. (CreateLinkPieces): set our ControlStyles.Selectable based on
  17942. whether or not we have any links.
  17943. (Link.Invalidate): use a loop instead of foreach.
  17944. (Link.set_Start): null out owner.sorted_links so it'll be
  17945. recreated by CreateLinkPieces.
  17946. 2006-07-06 Chris Toshok <[email protected]>
  17947. * LinkLabel.cs: revert the SetStyle change.
  17948. 2006-07-06 Chris Toshok <[email protected]>
  17949. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  17950. (OnEnableChanged): s/Refresh/Invalidate
  17951. (OnGotFocus): if we have a focused index already, refocus it (so
  17952. if we mouse out/in to the window it'll focus the right link).
  17953. (OnKeyDown): move the tab handling out of here.
  17954. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  17955. when we lose focus.
  17956. (OnMouseDown): don't Capture here - Control handles it. Also,
  17957. focus the active link.
  17958. (OnMouseUp): don't deal with Capture.
  17959. (OnPaintBackgroundInternal): remove.
  17960. (OnTextAlignChanged): CreateLinkPieces before calling the
  17961. superclass's method.
  17962. (OnTextChanged): call CreateLinkPieces before calling superclass's
  17963. method.
  17964. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  17965. move around.
  17966. (Select): implement this, moving the selection between different
  17967. links, and call parent.SelectNextControl if we don't have another
  17968. link to focus in the given direction.
  17969. (CreateLinkPieces): call Invalidate instead of Refresh.
  17970. 2006-07-06 Chris Toshok <[email protected]>
  17971. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  17972. new LinkLabel internals.
  17973. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  17974. over pieces looking for active/focused/etc links. also, deal with
  17975. runs of text (and links) with embedded \n's in them, and use
  17976. MeasureCharacterRanges instead of MeasureString to figure out the
  17977. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  17978. two-step.
  17979. 2006-07-04 Jackson Harper <[email protected]>
  17980. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  17981. XKB or key auto repeat, do it manually. Without key auto repeat,
  17982. when a key is held down we get key press, key release, key press,
  17983. key release, ... with auto repeat we get key press, key press, key
  17984. press ..., and then a release when the key is actually released.
  17985. 2006-07-03 Jackson Harper <[email protected]>
  17986. * TabControl.cs:
  17987. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  17988. rules, they are always control color regardless of the background
  17989. color.
  17990. 2006-07-02 Alexander Olk <[email protected]>
  17991. * FileDialog.cs: Added internal class MWFConfig.
  17992. Removed Registry support and replaced it with support for the new
  17993. MWFConfig class. See MWFConfig comments for more information.
  17994. 2006-06-30 Alexander Olk <[email protected]>
  17995. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  17996. rectangle. Added some patches from eno from bug #78490 and fixed
  17997. the arrow position for small up and down CPDrawScrollButtons.
  17998. 2006-06-30 Jackson Harper <[email protected]>
  17999. * InternalWindowManager.cs: Remove some debug code.
  18000. * Form.cs: When an MdiParent is set to null, the window is
  18001. "detatched" and becomes a normal window.
  18002. * MdiClient.cs: Don't bring the new child form to the front until
  18003. it is activated (setting it as active does this), this makes the
  18004. previously active forms titlebar get redrawn as inactive.
  18005. 2006-06-29 Peter Dennis Bartok <[email protected]>
  18006. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  18007. with later controls
  18008. 2006-06-29 Mike Kestner <[email protected]>
  18009. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  18010. arrow in keynav state. Fixes #78682.
  18011. 2006-06-28 Atsushi Enomoto <[email protected]>
  18012. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  18013. order (fixes #78393)
  18014. 2006-06-28 Jonathan Pobst <[email protected]>
  18015. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  18016. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  18017. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  18018. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  18019. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  18020. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  18021. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  18022. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  18023. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  18024. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  18025. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  18026. values)
  18027. 2006-06-28 Mike Kestner <[email protected]>
  18028. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  18029. 2006-06-28 Atsushi Enomoto <[email protected]>
  18030. * PropertyGrid.cs,
  18031. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  18032. item lines from other area (It also makes BackColor consistent and
  18033. compatible with .NET). Fixed bug #78564.
  18034. 2006-06-28 Jonathan Chambers <[email protected]>
  18035. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  18036. Patch from Eno for #78555.
  18037. 2006-06-27 Chris Toshok <[email protected]>
  18038. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  18039. * DataGridColumnStyle.cs: same.
  18040. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  18041. * DataGridDrawingLogic.cs: nuke.
  18042. 2006-06-27 Chris Toshok <[email protected]>
  18043. * DataGridTableStyle.cs: clean up the constructors, and build the
  18044. list of child relations for this table. I have no idea if this is
  18045. where we should be doing it (it probably isn't), but since we're
  18046. already iterating over the properties..
  18047. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  18048. struct and array for keeping track of row information, similar to
  18049. what's shown in a hack on
  18050. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  18051. * Theme.cs: be consistent about the naming of DataGrid methods,
  18052. prefering ColumnWidths and RowHeights over columnsWidths and
  18053. RowsHeights.
  18054. * ThemeWin32Classic.cs: same, and also add support for variable
  18055. sized rows (and the +/- expansion icons for related rows).
  18056. 2006-06-27 Peter Dennis Bartok <[email protected]>
  18057. * TextBoxBase.cs: Applied Eno's patch from #78660
  18058. 2006-06-27 Peter Dennis Bartok <[email protected]>
  18059. * Form.cs (ScaleCore): We don't want to scale our form if it's
  18060. state is minimized or maximized, but we still need to scale our
  18061. child windows. Also, added try/finally block to ensure layout
  18062. gets reset (Fixes #78697)
  18063. 2006-06-27 Peter Dennis Bartok <[email protected]>
  18064. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  18065. 2006-06-27 Peter Dennis Bartok <[email protected]>
  18066. * Form.cs: Fixed c+p error and added check to resize form if minimum
  18067. size is bigger than current size (Fixes #78709)
  18068. 2006-06-26 Peter Dennis Bartok <[email protected]>
  18069. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  18070. 2006-06-26 Mike Kestner <[email protected]>
  18071. * ComboBox.cs: only do Keypress handling in the combo when there
  18072. are items in the collection. Fixes #78710.
  18073. 2006-06-26 Chris Toshok <[email protected]>
  18074. * Binding.cs: make this work bi-directionally. also, clear up
  18075. other mixups between Push/Pull Data (e.g. we're supposed to pull
  18076. data when validating).
  18077. * BindingManagerBase.cs: trim some fully qualified collection
  18078. types.
  18079. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  18080. 2006-06-23 Chris Toshok <[email protected]>
  18081. * PropertyManager.cs: It appears (according to the unit tests)
  18082. that PropertyManager doesn't use
  18083. PropertyDescriptor.AddValueChanged to track propery value changes
  18084. in its datasource, but uses the same scheme as Binding, where it
  18085. looks for a <Property>Changed event and binds to it.
  18086. Also, according to the docs, IsSuspended always returns false for
  18087. a property manager with a non-null datasource.
  18088. 2006-06-22 Peter Dennis Bartok <[email protected]>
  18089. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  18090. need to update the actual DialogResult. (Fixes #78613)
  18091. 2006-06-22 Peter Dennis Bartok <[email protected]>
  18092. * Form.cs (ShowDialog): Release any captures before running the
  18093. new message pump (fixes #78680)
  18094. 2006-06-22 Mike Kestner <[email protected]>
  18095. * ListView.cs: Layout column widths properly in details mode even
  18096. if HeaderStyle.None is set. Fixes #78691.
  18097. 2006-06-21 Peter Dennis Bartok <[email protected]>
  18098. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  18099. 2006-06-21 Peter Dennis Bartok <[email protected]>
  18100. * Control.cs (ContainsFocus): Using new driver method to get focused
  18101. window, instead of trying to use internal tracking var, which can
  18102. recursion issues (Fixes #78685)
  18103. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  18104. XplatUIWin32.cs: Added GetFocus method to return focused window
  18105. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  18106. * ColorDialog.cs: when the mouse button is pressed inside the color
  18107. matrix, don't let the cursor move out of it until the button is
  18108. released, which is the behavior on windows. Changed 'colours' by
  18109. 'colors' to use the same word consistently.
  18110. 2006-06-21 Chris Toshok <[email protected]>
  18111. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  18112. child relation and back, using a stack). Also, remove
  18113. GetDataSource and the code that calls it - it's not needed. Also,
  18114. track CurrencyManager.ListName's removal.
  18115. 2006-06-21 Chris Toshok <[email protected]>
  18116. * CurrencyManager.cs: push some of the original type checking from
  18117. BindingContext.CreateBindingManager to here, and remove some of
  18118. the finalType stuff. Need more tests to make sure I've got the
  18119. ListName part right, and we might need more in SetDataSource.
  18120. * PropertyManager.cs: add a ctor that takes just the datasource,
  18121. and no property name. Make SetDataSource work with a null
  18122. property_name, and make Current return the data_source if the
  18123. property descriptor is null. this makes 'string foo = "hi";
  18124. BindingContext[foo].Current' return "hi" as it should.
  18125. * RelatedCurrencyManager.cs: make this code more generic - there's
  18126. no reason the parent manager has to be CurrencyManager, and
  18127. there's no reason to pass the DataRelation. It suffices to use a
  18128. BindingManagerBase and PropetyDescriptor.
  18129. * RelatedPropertyManager.cs: make a similar change here.
  18130. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  18131. flower I knew it could be.
  18132. 2006-06-20 Chris Toshok <[email protected]>
  18133. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  18134. data in the source has changed and we need to update the control,
  18135. so s/PullData/PushData.
  18136. * CurrencyManager.cs: Refresh is meant to update the control from
  18137. data in the datasource. So, s/PullData/PushData.
  18138. * BindingContext.cs: add more ugliness (we weren't handling the
  18139. case where data_source = DataTable and data_member = column_name).
  18140. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  18141. from the perspective of the datasource. PullData pulls from the
  18142. control, PushData pushes to the control.
  18143. 2006-06-20 Chris Toshok <[email protected]>
  18144. * BindingContext.cs: rewrite the CreateBindingManager code to
  18145. handle navigation paths more or less properly. This could
  18146. definitely stand some more work, in particular to push the
  18147. recursion up to the toplevel. But that relies on fixes in other
  18148. places (System.Data comes to mind).
  18149. Also, move to a flat hashtable (and encode the twolevel nature of
  18150. the dictionary into the hash key). This lets us implement the
  18151. IEnumerable.GetEnumerator method.
  18152. * RelatedCurrencyManager.cs: new class. Update our view based on
  18153. our relation and our parent CurrencyManager's position.
  18154. * CurrencyManager.cs: split out some logic from the ctor into
  18155. SetView, so it can be called from the new RelatedCurrencyManager
  18156. subclass.
  18157. * RelatedPropertyManager.cs: new class. Update our datasource
  18158. based on the position of our parent CurrencyManager.
  18159. * PropertyManager.cs: split out some logic from the ctor into
  18160. SetDataSource, so it can be called from the new RelatedDataSource
  18161. subclass. Also, make the Current getter return the value
  18162. of the PropertyDescriptor, not the data_source.
  18163. * Binding.cs: no need to duplicate the string splitting code here.
  18164. 2006-06-19 Peter Dennis Bartok <[email protected]>
  18165. * Control.cs:
  18166. - set_Enabled: OnEnabledChanged is not called if the inherited state
  18167. of the control is not altered, even though we might be changing the
  18168. internal state of the control (#78458)
  18169. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  18170. OnEnabledChanged, to allow easy altering of any child window state
  18171. - OnEnabledChanged: Added code to enable/disable driver window state
  18172. - OnParentEnabledChanged: Instead of firing the event, call
  18173. OnEnabledChanged, which will fire the event and also a) set driver
  18174. window state and pass the enabled state to any grandchildren (#78458)
  18175. 2006-06-19 Jackson Harper <[email protected]>
  18176. * InternalWindowManager.cs: We don't set the cursor explicitly
  18177. thats done via the response to NCHITTESTs.
  18178. - Don't need to adjust for titlebar heights anymore, the
  18179. coordinates are coming in the correct coordinates now (see peters
  18180. last patch).
  18181. 2006-06-19 Peter Dennis Bartok <[email protected]>
  18182. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  18183. being translated relative to whole window, instead of client window.
  18184. That caused broken offsets on mouseclick (and caused gas for our
  18185. InternalWindowManager)
  18186. 2006-06-15 Peter Dennis Bartok <[email protected]>
  18187. * TextControl.cs:
  18188. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  18189. - Undo(): Added replay of cursor move on DeleteChars action; added
  18190. calling Undo() again if a recorded cursor move is invalid (to
  18191. ensure that some action is performed on Undo)
  18192. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  18193. 2006-06-16 Jackson Harper <[email protected]>
  18194. * MdiClient.cs: Instead of just sizing maximized windows when
  18195. there is a resize we also have to adjust the Y of minimized
  18196. windows, so they stay pinned to the bottom of the mdi container.
  18197. - Eliminate separate tracking of the active control, we can just
  18198. get this from the controls collection.
  18199. - Paint the decorations for the newly activated titlebar so we get
  18200. a pretty blue bar.
  18201. * InternalWindowManager.cs:
  18202. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  18203. even if they are a tool window.
  18204. 2006-06-15 Peter Dennis Bartok <[email protected]>
  18205. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  18206. undo buffer, these can happen when text was deleted and the cursor
  18207. was recorded first. Since we will also have a recorded cursor
  18208. after the delete this is not an issue. (Fixes #78651)
  18209. 2006-06-14 Peter Dennis Bartok <[email protected]>
  18210. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  18211. instead properly track control states internally (allows us to
  18212. remove is_selected from Control)
  18213. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  18214. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  18215. whose width is not a multiple of 8.
  18216. 2006-06-13 Jackson Harper <[email protected]>
  18217. * MdiClient.cs: Only maximize the next child if the current one
  18218. is maximized.
  18219. 2006-06-13 Chris Toshok <[email protected]>
  18220. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  18221. modified. Also, guard against grid or grid_drawing being null in
  18222. Invalidate.
  18223. * DataGrid.cs: Reformat tons of getters/setters. In the
  18224. DataMember setter, just call SetNewDataSource instead of
  18225. duplicating some of its functionality. In SetNewDataSource, don't
  18226. check ListManager for null, since the property getter creates the
  18227. object if needed.
  18228. * DataGridTableStyle.cs: don't set TableStyle or call
  18229. SetDataGridInternal on the column here, it's done in
  18230. GridColumnStylesCollection.Add.
  18231. * GridColumnStylesCollection.cs: fix all the explicit interface
  18232. implementations to just call our methods. Nuke AddInternal() and
  18233. move the body of it to Add(). Also, add a call to
  18234. column.SetDataGridInternal to Add().
  18235. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  18236. base()+duplicate code. Also, use the Format property instead of
  18237. format to generate an Invalidate ala MS. Lastly, create the
  18238. textbox here, unconditionally.
  18239. (set_Format): call Invalidate.
  18240. (get_TextBox): no need to call EnsureTextBox.
  18241. (Commit): remove the message box.
  18242. (Edit) remove the call to EnsureTextBox.
  18243. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  18244. (EnterNullValue): no need to check textbox for null.
  18245. (HideEditBox): no need to check textbox for null.
  18246. (SetDataGridInColumn): add the textbox to the grid's controls.
  18247. (EnsureTextBox): nuke.
  18248. 2006-06-13 Jackson Harper <[email protected]>
  18249. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  18250. and redraw the buttons when needed. Unhook when the window is
  18251. unmaximized.
  18252. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  18253. needs this so that it can redraw its buttons when the menu is
  18254. repainted.
  18255. * InternalWindowManager.cs:
  18256. * Form.cs: The method order has changed for DrawMaximizedButtons,
  18257. so that it can be a PaintEventHandler.
  18258. 2006-06-13 Jackson Harper <[email protected]>
  18259. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  18260. window is activated and maximized, even if it wasn't before.
  18261. - When a new window is activated repaint the decorations of the
  18262. old one, so that it no longer has the Active "look" (the blue
  18263. titlebar).
  18264. * InternalWindowManager.cs: Open up CreateButtons to base classes
  18265. so they can recreate the buttons on state changes.
  18266. - If a window is maximized give it all three buttons
  18267. * MdiWindowManager.cs: Create the titlebar buttons when the state
  18268. is changed, this is needed because a toolwindow will not have all
  18269. three buttons until it is maximized.
  18270. 2006-06-13 Atsushi Enomoto <[email protected]>
  18271. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  18272. Fixed bug #78609.
  18273. 2006-06-12 Jackson Harper <[email protected]>
  18274. * KeysConverter.cs: Make sure we handle the Ctrl special case
  18275. if its the only key.
  18276. 2006-06-12 Jackson Harper <[email protected]>
  18277. * Theme.cs: Add a method to get the size of a managed window
  18278. toolbar button.
  18279. * InternalWindowManager.cs: Remove the ButtonSize property, this
  18280. should be retrieved from the theme.
  18281. * MdiWindowManager.cs: Get the button size from the theme
  18282. * ThemeWin32Classic.cs: Make the method to get the managed window
  18283. titlebar button size public.
  18284. - Handle the different button sizes of maximized toolwindows
  18285. (should match any maximized window).
  18286. - Get the titlebar height from the theme, not the WM (which gets
  18287. it from the theme).
  18288. 2006-06-12 Jackson Harper <[email protected]>
  18289. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  18290. event down to the mdi window manager.
  18291. - Expose some extra stuff to base classes
  18292. - Make sure to end the Capture on an NC Mouse up, so that we can
  18293. get double clicks properly, and the sizing doens't stick.
  18294. - When doing PointToClient contain it in the workable desktop
  18295. area, this prevents windows from changing size when the cursor is
  18296. pulled outside of the working area while sizing.
  18297. * MdiWindowManager.cs: When we get a double click maximize the
  18298. window.
  18299. - Reset the cursor after handling mode changes.
  18300. 2006-06-12 Peter Dennis Bartok <[email protected]>
  18301. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  18302. current desktop, instead of just assuming a 0, 0 origin. This
  18303. is needed for our internal window manager, to know the top
  18304. margin of the desktop
  18305. 2006-06-12 Chris Toshok <[email protected]>
  18306. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  18307. we need this to get rid of the selected background in the bool
  18308. column.
  18309. (CancelEditing): move the ConcedeFocus call to above the Abort
  18310. call. Also, set is_changing to false and invalidate the row
  18311. header if we were changing before.
  18312. (ProcessKeyPreviewInternal): remove, since noone outside this
  18313. class calls it anymore. Roll the code into ProcessKeyPreview.
  18314. (EndEdit): remove the internal version.
  18315. (InvalidateCurrentRowHeader): make private.
  18316. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  18317. Keys.Escape handling (and with it the last call to
  18318. DataGrid.EndEdit from outside the class.)
  18319. 2006-06-12 Chris Toshok <[email protected]>
  18320. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  18321. (OnKeyPress): set isedit to true.
  18322. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  18323. already handled by the grid.
  18324. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  18325. right. ugh.
  18326. (set_DataSource): SetDataSource always returns true, so stop
  18327. putting it in an if statement.
  18328. (EndEdit): get rid of some {}'s
  18329. (ProcessGridKey): return true in case Keys.Escape.
  18330. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  18331. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  18332. PositionChanged, stopped connecting to CurrentChanged.
  18333. (GetDataSource): simplify this a bunch.
  18334. (SetDataSource): change return type from bool to void.
  18335. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  18336. to this, and make sure we don't set ListManager.Position inside
  18337. set_CurrentCell.
  18338. (OnListManagerItemChanged): if we're passed an actual index,
  18339. redraw that row.
  18340. * CurrencyManager.cs (set_Position): don't call PullData here.
  18341. 2006-06-09 Jackson Harper <[email protected]>
  18342. * TreeNode.cs: Recalculate the visible order before doing the
  18343. Expand/Collapse Below calls, because those calls generate an
  18344. expose.
  18345. - Reduce calls to the TreeView property, which is mildly expensive
  18346. by using a local var.
  18347. * Form.cs: Layout the MDI child windows when creating the parent
  18348. form.
  18349. - Don't use the internal constructor anymore
  18350. * MdiClient.cs: use the parent form width/height (if available)
  18351. when laying out the child windows, we do this because the
  18352. mdiclient isn't docked yet when the initial layout is done.
  18353. - Don't need an internal constructor anymore.
  18354. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  18355. * FileDialog.cs: handle access errors when trying to create a folder
  18356. or changing to a directory. No need to initialize out parameters.
  18357. 2006-06-08 Alexander Olk <[email protected]>
  18358. * FileDialog.cs: Append a number when creating a new folder if the
  18359. folder already exists (use parenthesis instead of square brackets)
  18360. 2006-06-08 Alexander Olk <[email protected]>
  18361. * FileDialog.cs:
  18362. - Disabled registry support for windows and added better registry
  18363. error checking for other systems (need to investigate why it
  18364. works perfectly on my system)
  18365. - If a folder already exist show an error MessageBox instead of
  18366. trying to create an indexed name.
  18367. - Fixed a non intentional typo.
  18368. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  18369. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  18370. 2006-06-08 Alexander Olk <[email protected]>
  18371. * FileDialog.cs: When creating a new folder don't crash if the
  18372. folder already exists.
  18373. 2006-06-08 Alexander Olk <[email protected]>
  18374. * FileDialog.cs: Allmost a complete rewrite.
  18375. - added a "virtual" file system that handles the differences
  18376. between unix and windows file systems (especially the directory
  18377. structure). Moved most of the directory and file handling code
  18378. into the vfs.
  18379. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  18380. UnixFileSystem and FSEntry.
  18381. - Recently used folder/directory, size, location and used file names
  18382. (file name ComboBox) are now stored in the registry and get read
  18383. before the dialog shows up (fixes part 6 of bug #78446).
  18384. - Creation of new folders/directories is now possible (context menu
  18385. or ToolBar). Added TextEntryDialog for this that fills in the gap
  18386. until ListView.LabelEdit works.
  18387. - Fixed cursor handling (bug #78527) and focus handling for
  18388. PopupButtonPanel
  18389. - Various "Search in" ComboBox enhancements. The content of the
  18390. dropdown listbox now almost matches ms.
  18391. - Changed the behaviour when the user switches to SpecialFolder
  18392. Recent to show the ListView in View.Details.
  18393. - Beside using the ToolBar to change the View property of the
  18394. file ListView it is now possible to use the context menu too.
  18395. 2006-06-08 Alexander Olk <[email protected]>
  18396. * ComboBox.cs: Don't create a new ObjectCollection when an item
  18397. gets inserted. Just insert the item in the existing object_items
  18398. ArrayList.
  18399. 2006-06-08 Jackson Harper <[email protected]>
  18400. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  18401. that the treeview and root node checks are done also, this fixes a
  18402. regression i caused in the unit tests.
  18403. 2006-06-07 Wade Berrier <[email protected]>
  18404. * RichTextBox.cs: More ISO8859-1 -> unicode
  18405. 2006-06-07 Mike Kestner <[email protected]>
  18406. * ComboBox.cs : use items to hold highlight/selection so that
  18407. collection insertions don't require synchronization.
  18408. 2006-06-07 Jackson Harper <[email protected]>
  18409. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  18410. routine. We now always keep the sized edge at the cursor instead
  18411. of computing movement and adjusting rects. There is one buglet
  18412. with this method though when the cursor is moved over area that
  18413. the window can not expand too (such as the toolbars on the desktop).
  18414. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  18415. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  18416. here. Fixes crash on startup in AlbumSurfer.
  18417. 2006-06-07 Peter Dennis Bartok <[email protected]>
  18418. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  18419. values
  18420. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  18421. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  18422. statement to avoid calling XNextEvent which will block if another thread
  18423. took the event that we were expecting. Fixes bug #78605.
  18424. 2006-06-07 Mike Kestner <[email protected]>
  18425. * ListView.cs : isolated checkbox clicking from the selection logic.
  18426. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  18427. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  18428. * Form.cs: Check that the value passed to Form.DialogResult
  18429. is a valid enum value.
  18430. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  18431. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  18432. Computer'. Clicking it in the network view goes to 'My Computer'.
  18433. Added CIFS filesystem type. Display the mount point of filesystems.
  18434. Avoid duplicate mount points (happens for me with CIFS);
  18435. 2006-06-06 Jackson Harper <[email protected]>
  18436. * InternalWindowManager.cs: Draw the maximized windows buttons
  18437. when resizing.
  18438. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  18439. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  18440. all other dialogs. Fixes bug #78585.
  18441. 2006-06-06 Mike Kestner <[email protected]>
  18442. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  18443. Only invalidate checkbox on checkstate changes to avoid flicker.
  18444. * ListBox.cs : avoid unselect/select when clicking selected item.
  18445. avoid reselection flicker for already multiselected items.
  18446. Fixes #78382.
  18447. 2006-06-06 Jackson Harper <[email protected]>
  18448. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  18449. the parent form so that the menu is removed if needed.
  18450. 2006-06-06 Mike Kestner <[email protected]>
  18451. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  18452. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  18453. 2006-06-06 Mike Kestner <[email protected]>
  18454. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  18455. 2006-06-06 Jackson Harper <[email protected]>
  18456. * Control.cs: Use the property (instead of the field) to get the
  18457. default cursor so it is instantiated correctly.
  18458. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  18459. resizes so we need to manually repaint the window decorations here.
  18460. - Set the titlebar button locations as soon as they are created,
  18461. otherwise they are not set correctly on win32.
  18462. 2006-06-06 Chris Toshok <[email protected]>
  18463. * CurrencyManager.cs (set_Position): call PullData before
  18464. OnCurrentChanged.
  18465. (AddNew): after calling IBindingList.AddNew, update our
  18466. listposition, and call OnCurrentChanged/OnPositionChanged (without
  18467. calling PullData).
  18468. (OnCurrentChanged): remove the call to PullData from here.
  18469. (OnItemChanged): remove the call to PushData from here.
  18470. (OnPositionChanged): change the test from == null to != null to
  18471. match the other methods.
  18472. (ListChangedHandler): the grossest part of the patch. Implement
  18473. this such that it passes the unit tests in CurrencyManagerTest and
  18474. the output more or less matches that of MS's implementation.
  18475. 2006-06-06 Mike Kestner <[email protected]>
  18476. * ListView.cs : only update check state on single click.
  18477. * ThemeWin32Classic.cs : fix focus drawing for details view without
  18478. fullrowselect. Fixes #78454.
  18479. * XplatUIX11.cs : fix for double click emission.
  18480. 2006-06-05 Jonathan Chambers <[email protected]>
  18481. * PropertyGridView.cs : Applied Atsushi's patch to fix
  18482. font dialog bug (#78197).
  18483. 2006-06-05 Jackson Harper <[email protected]>
  18484. * TreeNode.cs: Compute the next node for expanding/collapsing
  18485. correctly. We now factor in nodes without a NextNode
  18486. correctly. (Fixes somes cases in nunit-gui).
  18487. * InternalWindowManager.cs: Set the bounds when updating the
  18488. virtual position of a tool window.
  18489. 2006-06-05 Chris Toshok <[email protected]>
  18490. * DataGrid.cs: rename cached_currencymgr to list_manager.
  18491. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  18492. some.
  18493. (CurrentRow, CurrentColumn): single accessors so we can make the
  18494. cursor movement code a lot easier to understand.
  18495. (CurrentRowIndex): implement this in terms of CurrentRow.
  18496. (BeginEdit): clean this up a bit.
  18497. (CancelEditing): sort out the is_editing/is_changing/is_adding
  18498. stuff a little.
  18499. (EndEdit): minor changes.
  18500. (OnKeyDown): add a comment about a (most likely) unnecessary
  18501. check.
  18502. (OnMouseDown): cancel editing when we click on a row header. And
  18503. use the CurrentRow setter, not CurrentCell.
  18504. (ProcessDialogKey): directly call ProcessGridKey.
  18505. (UpdateSelectionAfterCursorMove): factor out this common block of
  18506. code (it's used everywhere that we move the cursor by updating row
  18507. or column).
  18508. (ProcessGridKey): pretty substantial overhaul. Use the
  18509. CurrentRow/CurrentColumn properties to make the code a lot more
  18510. readable. Only use the CurrentCell property when we have to
  18511. modify both row and column at once. Tab behavior is still broken,
  18512. and Delete is untested.
  18513. (Select): if we have no selected rows, set selection_start to
  18514. @row.
  18515. (EditCurrentCell): rename EditCell this. It was only ever invoked
  18516. with CurrentCell as the arg, so drop the arg and rename it.
  18517. * DataGridColumnStyle.cs: clean up the constructors a little, and
  18518. drop CommonConstructor().
  18519. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  18520. actually get notified when the user hits it.
  18521. (ProcessKeyMessage): *substantially* simplify this method.
  18522. There's no reason (that I can see) for the textbox to be making
  18523. calls into the datagrid at all. Remove all of them but the ones
  18524. for Enter handling. those will take some more work.
  18525. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  18526. calling HideEditBox.
  18527. (HideEditBox): if we have an active textbox, render it invisible
  18528. without causing a re-layout of the datagrid.
  18529. 2006-06-05 Mike Kestner <[email protected]>
  18530. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  18531. collection changes by resetting it to Items[0]. Fixes #78587.
  18532. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  18533. * MessageBox.cs: if the height of the text is larger than the icon_size,
  18534. use that. Fixes bug #78575.
  18535. 2006-06-05 Jackson Harper <[email protected]>
  18536. * TreeView.cs: Fix line drawing when scrolling. To do this each
  18537. node is basically responsible for drawing its entire horizontal
  18538. area. When drawing a node it draws its parent node lines if
  18539. needed.
  18540. - Adjust the clip area to the viewport rectangle
  18541. - Fix Left/Right key handling to match MS. (It expand/collapses
  18542. and moves to parents/first child but does not move selection to
  18543. sibling nodes).
  18544. - Fix SetTop to work with new bound calculation code
  18545. - When scrollbars are no longer needed we need to reset scrolling
  18546. vars and recalculate the visible order so the redraw is correct
  18547. * TreeNode.cs: We can't expand/collapse nodes with no children.
  18548. 2006-06-03 John Luke <[email protected]>
  18549. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  18550. so the colors work without dev packages
  18551. 2006-06-02 Peter Dennis Bartok <[email protected]>
  18552. * Control.cs
  18553. - Select: Implemented to just use activate. Seems to match MS
  18554. behaviour closest. Documented to only do actual control walking
  18555. based on it's parameters if in a container control so I moved
  18556. the code there.
  18557. - Removed selection check logic from our internal Select() method
  18558. * ContainerControl.cs:
  18559. - Select: Moved selection logic from Control here, since MS documents
  18560. that containers obey the bool arguments. No longer calling base
  18561. 2006-06-02 Jackson Harper <[email protected]>
  18562. * TreeView.cs: If the selected node isn't changed when we get
  18563. focus update the previously selected node so that we see the
  18564. selection box.
  18565. 2006-06-02 Mike Kestner <[email protected]>
  18566. * ComboBox.cs: restructure grab and general mouse event handling.
  18567. Make the composite control raise mouse events like it was a single
  18568. control for leaves/enters/motion/up/down events. fix dropdown list
  18569. coordinate mangling and refactor it into the scrollbar subclass to
  18570. reduce code duplication. Fixes #78282 #78361 and #78457.
  18571. 2006-06-02 Mike Kestner <[email protected]>
  18572. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  18573. automatically in the Control.WndProc.
  18574. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18575. * FileDialog.cs: fix crash when running SharpChess, which sets the
  18576. FilterIndex to 2 with only one Filter.
  18577. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18578. * ToolBar.cs: add SizeSpecified property.
  18579. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  18580. try to figure out our real size, otherwise fallback to what the
  18581. container says.
  18582. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18583. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  18584. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  18585. up the event
  18586. 2006-06-01 Mike Kestner <[email protected]>
  18587. * ListView.cs: revamp the focus management in ListView. It still
  18588. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  18589. better than not handling focus at all. Will revisit when pdb feels
  18590. the general focus handling is solid. Fixes #78526.
  18591. 2006-06-01 Jackson Harper <[email protected]>
  18592. * TreeView.cs: Set the default border style in the constructor.
  18593. - Move painting to use OnPaintInternal instead of capturing
  18594. WM_PAINT, this is the correct way of doing things
  18595. - UpdateBelow shouldn't invalidate the scrollbar area
  18596. - Cap the top on update below in case the node was above the top
  18597. of the viewport rectangle.
  18598. - ExpandBelow and Collapse below need to obey Begin/End Update.
  18599. * TreeNode.cs: Make is_expanded internal so the treenode
  18600. collection can change it without firing the whole event chain.
  18601. * TreeNodeCollection.cs: When clearing all the child nodes make
  18602. sure to recalc the visible order.
  18603. - Improve algo for remove the top node
  18604. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18605. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  18606. SendMessage directly calling window procedures, which in turn might
  18607. call SetFocus()
  18608. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18609. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  18610. has focus (works around X11 sending a FocusIn after our SetFocus)
  18611. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  18612. 2006-06-01 Alexander Olk <[email protected]>
  18613. * Mime.cs: Fix for the NET_2_0 build.
  18614. NameValueCollection needs StringComparer now.
  18615. 2006-05-31 Chris Toshok <[email protected]>
  18616. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  18617. return (via an out parameter) the starting X of the column.
  18618. (UpdateVisibleColumn): track change to FromPixelToColumn.
  18619. (HitTest): add a ColumnResize case here.
  18620. (DrawResizeLine): new function, probably poorly named.
  18621. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  18622. only need to keep one reference.
  18623. (set_ListManager): same.
  18624. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  18625. Also, add support for HitTestType.ColumnResize.
  18626. (OnMouseMove): add column resize behavior here, and change the
  18627. cursor to the correct one as we move around the datagrid.
  18628. (OnMouseUp): terminate the column resize if we're resizing.
  18629. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  18630. for the current cell.
  18631. (ConnectListManagerEvents): use cached_currencymgr.
  18632. (DisconnectListManagerEvents): fill this in, using
  18633. cached_currencymgr.
  18634. (SetCurrentCell): remove cached_currencymgr_events handling.
  18635. (SetDataMember): only call DisconnectListManagerEvents if
  18636. cached_currencymgr is != null.
  18637. (SetDataSource): same.
  18638. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  18639. cached_currencymgr.
  18640. 2006-05-31 Jackson Harper <[email protected]>
  18641. * BindingManagerBase.cs: Remove somedebug code that creeped into
  18642. SVN.
  18643. * TreeNode.cs: We get the indent level dynamically right now, so
  18644. don't track it as a member.
  18645. * TreeNodeCollection.cs: Make sure all nodes added to the list
  18646. have parents, treeviews/topnodes setup properly.
  18647. - Don't attempt to track indent level.
  18648. 2006-05-30 Jackson Harper <[email protected]>
  18649. * BindingContext.cs: Create the currency manager tables here.
  18650. This allows us to more easily create null tables (when bad data
  18651. members are used), and more easily create related currency
  18652. managers.
  18653. * CurrencyManager.cs: All the table creation stuff is done by the
  18654. binding context now.
  18655. - Current should throw an exception if listposition is -1.
  18656. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  18657. been bound yet.
  18658. 2006-05-30 Mike Kestner <[email protected]>
  18659. * ListView.cs: allow reexpansion of zero-width column headers.
  18660. Fixes #78528.
  18661. 2006-05-28 Chris Toshok <[email protected]>
  18662. * CurrencyManager.cs (get_Current): after the late binding
  18663. listposition = -1 fix, we need to guard against it here and return
  18664. null, otherwise we raise an exception (which is swallowed
  18665. elsewhere, and breaks datagrid databinding.)
  18666. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18667. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  18668. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  18669. 2006-05-26 Jackson Harper <[email protected]>
  18670. * ControlPaint.cs:
  18671. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  18672. values, it's faster and it's all we care about (we don't care if
  18673. the names aren't equal).
  18674. * KeyboardLayouts.cs: Eliminate some dead code.
  18675. - Lazy init things
  18676. * X11Keyboard.cs: Lazy init keyboard detection.
  18677. - Cleanup access modifiers a little.
  18678. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18679. * XplatUIX11.cs: Once again, attempting to get layout just right.
  18680. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18681. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  18682. the sizes of each link section, that will result in sizes that
  18683. match DrawString's layout (Fixes #78391)
  18684. 2006-05-27 Alexander Olk <[email protected]>
  18685. * FileDialog.cs: If AddExtension property is true autocomplete the
  18686. extensions in SaveFileDialog correctly. Fixes bug #78453.
  18687. Set MyNetwork and MyComputer to "C:\" for windows. This should
  18688. fix part 8 of bug #78446 for now.
  18689. 2006-05-26 Chris Toshok <[email protected]>
  18690. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  18691. invalidate the current row header if we need to, but presumably
  18692. we'll invalidate the row corrsponding to the bounds or
  18693. editingControl.
  18694. (GridHScrolled): switch back to this method, as it's part of the
  18695. public api. *sigh*.
  18696. (GridVScrolled): same.
  18697. (OnMouseWheel): hack up something that more or less works. Call
  18698. GridHScrolled/GridVScrolled directly, instead of duplicating much
  18699. of their code here.
  18700. (EnsureCellVisibility): reinstate a bunch of this code, since we
  18701. can't just set the scrollbar Value and expect to do all the work
  18702. in the ValueChanged handler. Also, Call Update() after scrolling
  18703. in one direction so the other XplatX11.ScrollWindow call has the
  18704. proper stuff in the proper places.
  18705. (EditCell): set is_editing to true before calling .Edit.
  18706. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  18707. don't bother comparing first.
  18708. (OnKeyPress): call grid.ColumnStartedEditing before calling
  18709. base.OnKeyPress. this will set is_changing and invalidate the row
  18710. header if necessary.
  18711. (ProcessKeyMessage): for WM_CHAR messages, call
  18712. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  18713. and WM_KEYDOWN.
  18714. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  18715. it's done in the DataGrid.
  18716. (NextState): call grid.ColumnStartedEditing, which takes care of
  18717. invalidating the row header (and setting is_changing).
  18718. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  18719. here. it's done in the DataGrid.
  18720. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18721. * Control.cs: allow changing the cursor when the mouse position is
  18722. out of bounds but Capture is set.
  18723. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  18724. linklabel but released somewhere else.
  18725. 2006-05-25 Jackson Harper <[email protected]>
  18726. * TreeView.cs: When we get focus if there is no selected node make
  18727. it the top node
  18728. - Remove some uneeded setup code from Draw.
  18729. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  18730. a new node is inserted make the new node the top.
  18731. * XplatUIX11.cs:
  18732. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  18733. be used (should be faster).
  18734. 2006-05-25 Chris Toshok <[email protected]>
  18735. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  18736. problem with the last commit.
  18737. 2006-05-25 Chris Toshok <[email protected]>
  18738. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  18739. need the invalidate call here, while scrolling right-to-left via
  18740. the left arrow key (i.e. moving the editing cell while scrolling).
  18741. * DataGrid.cs (.ctor): remove the initialization of
  18742. ctrl_pressed/shift_pressed. We no longer track them using key
  18743. up/down handlers, but by using Control.ModifierKeys. Also, switch
  18744. to using ValueChanged handlers on the scrollbars instead of
  18745. Scrolled event handlers. This simplifies a bunch of the scrolling
  18746. code.
  18747. (GridHValueChanged): rename from GridHScrolled, and change it to
  18748. work with the new event args.
  18749. (GridVValueChanged): same.
  18750. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  18751. (OnMouseWheel): actually scroll the datagrid. Don't change the
  18752. selected cell.
  18753. (ProcessGridKey): correct all the keyboard navigation stuff I
  18754. could find. Ctrl up/down/left/right/home/end work now.
  18755. (EnsureCellVisibility): correct method name spelling. Also,
  18756. simplify this a touch by not explicitly calling the
  18757. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  18758. scrollbar value.
  18759. (OnKeyUpDG): no need for this method now.
  18760. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18761. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  18762. Fixes bug #78392.
  18763. 2006-05-25 Chris Toshok <[email protected]>
  18764. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  18765. r61019.
  18766. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18767. * Application.cs: Moved setting of is_modal and closing to before
  18768. we create the control, to allow the event handlers called as a
  18769. result of creation affect closing. Also removed Gonzalo's previous
  18770. change to setting DialogResult, the behaviour has been moved to
  18771. Form.ShowDialog()
  18772. * Form.cs:
  18773. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  18774. handle it instead
  18775. - ShowDialog(): If no dialog result is set, we need to return Cancel
  18776. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  18777. the close is cancelled
  18778. 2006-05-25 Jackson Harper <[email protected]>
  18779. * StatusBar.cs: We only need to update the sizes of the other
  18780. panels when we have auto size contents. Also we are only updating
  18781. the contents of the panel, not the borders, so compensate for the
  18782. border width (TODO: get this width from the theme somehow).
  18783. * TreeView.cs: Scrollable is true by default
  18784. - Use invalidate instead of refresh where needed
  18785. - Factor the scrollable value into scrollbar updating
  18786. - Update the scrollbars if the Scrollable property is altered
  18787. - Update the selected node if its ImageIndex is changed
  18788. - Handle null nodes in UpdateNode (mainly so we don't have to
  18789. check if selected is null when updating it
  18790. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  18791. are factored into the visible count
  18792. - Use VisibleCount for clarity in the code
  18793. - When the font is changed we need to recurse through all the
  18794. nodes and invalidate their sizes
  18795. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18796. * Application.cs: set the DialogResult to fixed when the main form is
  18797. hidden or destroyed while being modal.
  18798. 2006-05-25 Miguel de Icaza <[email protected]>
  18799. * Theme.cs: Use Tangoified messagebox icons.
  18800. (GetSizedResourceImage): Also cope with width = 0 and do not
  18801. trigger a warning in that case (0 means "give me your icon from
  18802. the resouce, no special size needed).
  18803. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18804. * Application.cs: Leave runloop if the the main modal form is
  18805. hidden (fixes #78484)
  18806. 2006-05-25 Atsushi Enomoto <[email protected]>
  18807. * BindingContext.cs : reject null datasource in Contains() and
  18808. Item[].
  18809. * CurrencyManager.cs : check data_member validity when data_source
  18810. is dataset. When it is late binding, the initial position is -1.
  18811. 2006-05-24 Jackson Harper <[email protected]>
  18812. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  18813. inserted nodes that aren't visible. This changes the
  18814. max_visible_order which confuses scrollbar settings.
  18815. - Use the enumerator to get the prev node instead of duplicating
  18816. code.
  18817. * TreeView.cs: Use new method for setting scrollbar values
  18818. - Don't set the bounds every time the scrollbar is updated
  18819. - When updating below the root node use an invalidate instead of a
  18820. refresh to prevent the child controls (scrollbars) from being
  18821. refreshed. (UpdateBelow still needs to be reworked anyways).
  18822. - Reenable SetBottom now that visible orders are set correctly,
  18823. added some debug code incase we ever get bad values there again.
  18824. - Set the scrollbar max to 2 less then the max value, this
  18825. compensates for the max value being one above the node count, and
  18826. for scrollbars adding one extra "notch".
  18827. - When drawing image nodes if there is an imagelist we draw the
  18828. first image in the list if the supplied image index is out of the
  18829. image list's bounds.
  18830. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18831. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  18832. we receive a size change from the WM (Fixes #78503)
  18833. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18834. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  18835. rectangle (Fixes #78501)
  18836. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18837. * ButtonBase.cs:
  18838. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  18839. as a bitfield.
  18840. - Fixed MouseMove to no longer switch pressed state unless the left
  18841. mouse button is pressed. Atsushi provided the original patch (#78485)
  18842. 2006-05-24 Jackson Harper <[email protected]>
  18843. * ScrollBar.cs: New internal methods that allow us to change a
  18844. couple values on the scrollbar (the most common case is maximum
  18845. and large change) without getting multiple invalidates.
  18846. 2006-05-24 Chris Toshok <[email protected]>
  18847. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  18848. (Edit): save off the original state in oldState, and set
  18849. grid.is_editing to true.
  18850. (OnKeyDown): abort editing if escape is pressed. also, call
  18851. NextState if space is pressed.
  18852. (OnMouseDown): call NextState.
  18853. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  18854. here. Also, only invalidate the row header once (on the initial
  18855. is_changing switch) to save on redraws.
  18856. 2006-05-24 Chris Toshok <[email protected]>
  18857. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  18858. if the value in the cell is different than it was before. This
  18859. keeps us from triggering a layout when we move around a datarid
  18860. with a highlighted cell.
  18861. (Edit): suspend layout when creating/positining the text box, and
  18862. resume passing false so we don't ever actually re-layout.
  18863. (ReleaseHostedControl): same.
  18864. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  18865. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  18866. control-key sequences should go to the datagrid - remove that
  18867. lock. Also, modify the conditions under which we move between
  18868. cells when moving the cursor within a cell, and remove the "this"
  18869. and "base" from field accesses. We weren't even consistent, given
  18870. they all were in the base class.
  18871. 2006-05-24 Atsushi Enomoto <[email protected]>
  18872. * Binding.cs : (.ctor)
  18873. An obvious NRE fix for BindingTest.CtorNullTest().
  18874. 2006-05-23 Chris Toshok <[email protected]>
  18875. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  18876. them between lines. This fixes some quirks editing cells in the
  18877. datagrid.
  18878. 2006-05-23 Jackson Harper <[email protected]>
  18879. * TreeView.cs: Use begin/end update when doing expand/collapse all
  18880. so that we don't get flicker on the scrollbar.
  18881. 2006-05-23 Jackson Harper <[email protected]>
  18882. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  18883. treenode calculations to be independant of the painting code. To
  18884. do this nodes track a visible order which is calculated by the
  18885. treeview.
  18886. - Call new methods for expanding/collapsing nodes. These methods
  18887. use scrollwindow so we don't have to update everything below the
  18888. node.
  18889. * TreeView.cs: Refactored drawing and scrolling code. We don't
  18890. need to update nodes when drawing anymore or calculate scrollbar
  18891. stuff.
  18892. - Added new methods for expanding/collapsing nodes. These methods
  18893. use ScrollWindow so as to not have to redraw all the nodes below.
  18894. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  18895. we add/remove nodes or sort.
  18896. - Handle removing the selected and the top node properly.
  18897. 2006-05-23 Chris Toshok <[email protected]>
  18898. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  18899. maybe this should actually happen in the datagrid code?
  18900. (EndEdit): no need to invalidate anything, given that
  18901. ReleaseHostedControl causes the datagrid to relayout, which
  18902. invalidates everything anyway.
  18903. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  18904. in SetCurrentCell).
  18905. (set_SelectionBackColor): call InvalidateSelection instead of
  18906. Refresh.
  18907. (set_SelectionForeColor): same.
  18908. (BeginEdit): Flesh this out a bit.
  18909. (CancelEditing): only do any of this if we're editing/adding.
  18910. (EndEdit): same.
  18911. (OnMouseDown): there's no need to cancel editing here, it's done
  18912. in SetCurrentCell.
  18913. (SetCurrentCell): only invalidate the current row header if it's a
  18914. different row than the new one.
  18915. (ShiftSelection): fix this to work like MS does.
  18916. (ResetSelection): factor out the invalidation of selected_rows to
  18917. InvalidateSelection.
  18918. (SetDataSource): cancel any editing that's going on.
  18919. * DataGridColumnStyle.cs
  18920. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  18921. call the non-interface version.
  18922. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  18923. header rectangle with the clip rectangle so we don't redraw the
  18924. entire header for just a small area. Gets rid of the last flicker
  18925. when horizontally scrolling.
  18926. (DataGridPaintRow): same.
  18927. 2006-05-23 Mike Kestner <[email protected]>
  18928. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  18929. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  18930. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  18931. Critical bug report.
  18932. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18933. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  18934. and this fixes #78493
  18935. 2006-05-23 Miguel de Icaza <[email protected]>
  18936. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  18937. size is not found.
  18938. * FileDialog.cs: Do not change the background for the side bar as
  18939. it wont work nicely with the theme, and also reduces the artifacts
  18940. in rendering the icons (which I want to fix too).
  18941. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  18942. resources, not resgen resources.
  18943. (PlatformDefaultHandler): Pull images using the new API.
  18944. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18945. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  18946. a reference to the hwnd and will not remove it unless there are
  18947. no pending exposures (fixes #78341)
  18948. * XplatUI.cs: Improved debug
  18949. 2006-05-23 Atsushi Enomoto <[email protected]>
  18950. * MenuAPI.cs : don't handle OnClick event when it was not the left
  18951. button. Fixed bug #78487.
  18952. 2006-05-23 Mike Kestner <[email protected]>
  18953. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  18954. prefer submenus to the top menu for item lookup, to avoid popping down
  18955. top-row items.
  18956. 2006-05-23 Alexander Olk <[email protected]>
  18957. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  18958. Graphics.FillRectangle as the visual results are really bad (even
  18959. on win). We now draw perfect arrows (and perfect shadows when the
  18960. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  18961. Pen.DashPattern to draw the dots of each line.
  18962. 2006-05-22 Alexander Olk <[email protected]>
  18963. * FileDialog.cs: Update the filename combobox when navigating through
  18964. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  18965. 2006-05-22 Mike Kestner <[email protected]>
  18966. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  18967. Fixes #78463.
  18968. 2006-05-22 Mike Kestner <[email protected]>
  18969. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  18970. requests. Fix a misspelled parameter and a copy paste exception error
  18971. in Select.
  18972. 2006-05-22 Peter Dennis Bartok <[email protected]>
  18973. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  18974. to get the same width/height (5/13) on X11 as the default font has on
  18975. win32. This means that our DefaultFont emSize is smaller than the
  18976. the MS SWF equivalent (even thought the width/height stays the same)
  18977. 2006-05-20 Jackson Harper <[email protected]>
  18978. * MdiClient.cs:
  18979. * MdiWindowManager.cs:
  18980. * InternalWindowManager.cs: Make sure to use the border width from
  18981. the theme.
  18982. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  18983. * PrintDialog.cs: Implements printer details
  18984. 2006-05-19 Alexander Olk <[email protected]>
  18985. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  18986. Fixes part 1 and 2 of bug #78446
  18987. 2006-05-19 Peter Dennis Bartok <[email protected]>
  18988. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  18989. instead of sticking to the first ever calculated value
  18990. 2006-05-19 Mike Kestner <[email protected]>
  18991. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  18992. PointToClient, since Capture is set. Fixes #78344.
  18993. 2006-05-19 Mike Kestner <[email protected]>
  18994. * ListView.cs: match MS behavior in Details view where items are not
  18995. drawn if Columns.Count == 0.
  18996. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  18997. Use a separate pen to draw the check, since changing the width affects
  18998. the box as well. Fixes #78454.
  18999. 2006-05-18 Miguel de Icaza <[email protected]>
  19000. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  19001. exception should throw the name of the invalid argument.
  19002. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  19003. there are no files listed.
  19004. 2006-05-18 Jackson Harper <[email protected]>
  19005. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  19006. up.
  19007. 2006-05-18 Peter Dennis Bartok <[email protected]>
  19008. * Control.cs: Brought back our old UpdateZOrder method as a private
  19009. function and switched our calls from UpdateZOrder to the new one.
  19010. This fixes the Paint.Net canvas disappearing bug.
  19011. 2006-05-18 Jackson Harper <[email protected]>
  19012. * Theme.cs:
  19013. * ThemeWin32Classic.cs:
  19014. * InternalWindowManager.cs: Move the drawing into the theme,
  19015. expose everything the theme should need from the window manager.
  19016. 2006-05-18 Peter Dennis Bartok <[email protected]>
  19017. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  19018. from the call to NativeWindow to avoid walking up the parent chain
  19019. further than needed (speeds up setting cursors and avoids setting
  19020. the wrong cursor if a parent has another cursor defined)
  19021. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  19022. the icon as hotspot, not what's contained as hotspot in the icon
  19023. file. This fixes the perceived drawing offset seen with Paint.Net
  19024. 2006-05-18 Peter Dennis Bartok <[email protected]>
  19025. * XplatUIX11.cs:
  19026. - Store the calculated rectangle in Hwnd object and use it when
  19027. setting the client size
  19028. - Force Toolwindows to always be type Dock, to ensure they're on top
  19029. 2006-05-18 Mike Kestner <[email protected]>
  19030. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  19031. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  19032. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  19033. Substantial refactoring to remove confusing nested classes. Coding
  19034. standard and Get+Set->property refactorings. Shift to index based
  19035. highlighting in ComboListBox instead of constantly using IndexOf and
  19036. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  19037. in FileDialog growth. Draw borders manually since Simple mode needs
  19038. to look like two independent controls. Make listbox border
  19039. conditional to DropDownStyle. Improved OwnerDraw support.
  19040. 2006-05-18 Sebastien Pouliot <[email protected]>
  19041. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  19042. Don't set the disposed graphics to null, so we can throw the "right"
  19043. exception if the graphics is reused later (added a flag to avoid
  19044. double disposing). Some behaviours are different under 2.0 and are
  19045. filled under bug #78448.
  19046. 2006-05-18 Peter Dennis Bartok <[email protected]>
  19047. * Control.cs: When double-buffering is enabled, we need to reset
  19048. our graphics context between paint calls. Otherwise, any
  19049. transformations and other alterations on the context will
  19050. become cumulative (#77734)
  19051. 2006-05-18 Mike Kestner <[email protected]>
  19052. * ListView.cs: do focused item selection like MS on clicks.
  19053. Rework focus handling for ItemControl so LostFocus invalidates as
  19054. well.
  19055. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  19056. the ListView ItemControl has focus.
  19057. 2006-05-17 Peter Dennis Bartok <[email protected]>
  19058. * XplatUIX11.cs: If client_window ends up being width or height zero
  19059. due to border settings, move it off window inside whole_window (#78433)
  19060. 2006-05-17 Alexander Olk <[email protected]>
  19061. * Mime.cs: Shrink the mime file cache correctly.
  19062. 2006-05-17 Alexander Olk <[email protected]>
  19063. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  19064. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19065. * XplatUIX11.cs (AddExpose): More sanity checks
  19066. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19067. * XplatUIX11.cs:
  19068. - AddExpose: Don't add expose ranges outside the size of our
  19069. window
  19070. - Cast opacity values to Int32 to avoid crashes with certain
  19071. values
  19072. - Added disabled code paths that protect against illegal cross-
  19073. thread painting (Developers.exe)
  19074. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19075. * ProgressBar.cs: Invalidate the control when it's resized
  19076. since block size is based on control size. (#78388)
  19077. 2006-05-16 Miguel de Icaza <[email protected]>
  19078. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  19079. of setting the incoming argument to the "reset" value, we set the
  19080. this.datamember to string.empty (before we were invalidating the
  19081. incoming data).
  19082. Fixes 78420
  19083. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19084. * Form.cs: Only apply transparency settings after the form
  19085. is created. (Fixes #77800)
  19086. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19087. * ApplicationContext.cs: Grab the HandleDestroyed event so
  19088. we know when to fire OnMainFormClosed
  19089. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19090. * Application.cs: Introduced sub-class to allow tracking of
  19091. threads and centralized triggering of the event mess for
  19092. ThreadExit, AppExit, etc.. (#76156)
  19093. 2006-05-16 Alexander Olk <[email protected]>
  19094. * MimeIcon.cs:
  19095. - Do not return a null icon index value for a mime subclass.
  19096. Instead try the main mime type class too.
  19097. - Seems that some newer distributions don't have a link to some
  19098. gnome default icons anymore. So check the default gnome dir too.
  19099. 2006-05-16 Jackson Harper <[email protected]>
  19100. * MdiClient.cs: Don't paint the parent background image if we have
  19101. our own background image.
  19102. 2006-05-16 Peter Dennis Bartok <[email protected]>
  19103. * Control.cs:
  19104. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  19105. controls, all filled controls are supposed to overlap (#78080)
  19106. - UpdateZOrder is supposed to update the control's z-order in the
  19107. parent's z-order chain. Fixed to behave like that
  19108. - BringToFront: Removed obsolete code
  19109. - SendToBack: Simplyfied
  19110. - SetChildIndex: Trigger layout calculations when Z-order changes
  19111. since layout is done by z-order
  19112. 2006-05-16 Chris Toshok <[email protected]>
  19113. [ fixes bug #78410 ]
  19114. * DataGrid.cs (set_AlternatingBackColor): use
  19115. grid_drawing.InvalidateCells instead of Refresh().
  19116. (set_BackColor): call grid_drawing.InvalidateCells.
  19117. (set_BackgroundColor): use Invalidate instead of Refresh.
  19118. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  19119. invalidate the cell area.
  19120. 2006-05-15 Chris Toshok <[email protected]>
  19121. [ fixes bug #78011 ]
  19122. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  19123. on to DataGridPaintRow.
  19124. (DataGridPaintRow): take a clip argument, and only draw the cells
  19125. which intersect it. same with the not_usedarea.
  19126. * Theme.cs (DataGridPaintRow) add @clip parameter.
  19127. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  19128. XplatUI.ScrollWindow.
  19129. (ScrollToRow): same.
  19130. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  19131. with last column which was causing a gray swath to appear with the
  19132. XplatUI.ScrollWindow code.
  19133. 2006-05-15 Chris Toshok <[email protected]>
  19134. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  19135. use XplatUI.ScrollWindow.
  19136. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  19137. 2006-05-15 Peter Dennis Bartok <[email protected]>
  19138. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  19139. 2006-05-15 Peter Dennis Bartok <[email protected]>
  19140. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  19141. file since there are no equivalent X11 cursors
  19142. 2006-05-15 Atsushi Enomoto <[email protected]>
  19143. * MonthCalendar.cs : DateTimePicker should reflect selected date
  19144. on mouse*up*, not mouse*down*. Fixed originally reported part of
  19145. bug #76474.
  19146. 2006-05-15 Atsushi Enomoto <[email protected]>
  19147. * TabControl.cs : When argument index is equal or more than tab
  19148. count, just ignore. Fixed bug #78395.
  19149. 2006-05-15 Peter Dennis Bartok <[email protected]>
  19150. * Control.cs: Dispose all child controls when control is diposed (#78394)
  19151. 2006-05-14 Alexander Olk <[email protected]>
  19152. * ColorDialog.cs: Finally it is possible to select the color with
  19153. the text boxes
  19154. 2006-05-14 Alexander Olk <[email protected]>
  19155. * PrintDialog.cs: Fix typo
  19156. 2006-05-14 Alexander Olk <[email protected]>
  19157. * PrintDialog.cs: PrintDialog is not resizable
  19158. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  19159. color. Made some ToolBar drawing methods protected virtual.
  19160. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  19161. * PrintDialog.cs: Implementation of the PrintDialog
  19162. 2006-05-12 Chris Toshok <[email protected]>
  19163. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  19164. thumb, instead use MoveThumb. This has the side effect of making
  19165. most of the other thumb moving machinery use MoveThumb as well.
  19166. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  19167. need to actually invalidate the rectangle where the new thumb will
  19168. go.
  19169. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  19170. We force an Update() after, so it's not as fast as it could be,
  19171. but at least there's zero flicker and no droppings.
  19172. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  19173. (UpdateThumbPos): add another argument (dirty), which says whether
  19174. or not to calculate/add dirty regions which we later invalidate.
  19175. For cases where we know we're going to use MoveThumb, we pass
  19176. false for this. Otherwise, pass true.
  19177. 2006-05-12 Jackson Harper <[email protected]>
  19178. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  19179. the status bar.
  19180. 2006-05-12 Peter Dennis Bartok <[email protected]>
  19181. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  19182. and GetClipRegion methods and UserClipWontExposeParent property.
  19183. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  19184. overriding UserClipWontExposeParent property, setting to false, since
  19185. Win32 handles the required expose messages to draw our clipped parent
  19186. areas internally
  19187. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  19188. PaintEventStart to set the user clip region if set.
  19189. * Control.cs:
  19190. - Now internally tracking the Region for the control since we need to
  19191. store it if the handle is not yet created and only set it when it
  19192. becomes created. Before setting the region forced handle creation
  19193. - Added code to draw the parents underneath a user-clipped region
  19194. * Hwnd.cs: Added UserClip property
  19195. 2006-05-12 Chris Toshok <[email protected]>
  19196. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  19197. (set_Maximum): same.
  19198. (set_Minimum): same.
  19199. (set_SmallChange): same.
  19200. (OnMouseUpSB): remove the call to refresh when releasing the
  19201. thumb. We shouldn't need it.
  19202. 2006-05-12 Miguel de Icaza <[email protected]>
  19203. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  19204. AutoSize set to None, we do not need to relayout everything, we
  19205. just need to invalidate the current region.
  19206. (Draw): Do not draw the entire ClientArea, just redraw the
  19207. clip area being passed.
  19208. * MdiClient.cs: Make MdiClient constructor with the Form argument
  19209. internal.
  19210. 2006-05-12 Jackson Harper <[email protected]>
  19211. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  19212. parents background image, but strangely not their own.
  19213. - (DrawStatusBarPanel): Take into account horizontal alignment
  19214. when drawing the strings and icons.
  19215. 2006-05-12 Mike Kestner <[email protected]>
  19216. * ListBox.cs: avoid invalidations for focus when the collection is
  19217. empty.
  19218. 2006-05-12 Chris Toshok <[email protected]>
  19219. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  19220. invalidate the entire thumb area. Call InvalidateDirty which
  19221. limits the redraw to the thumb itself and surrounding pixels.
  19222. * XplatUIX11.cs (ScrollWindow): optimize copying.
  19223. 2006-05-12 Chris Toshok <[email protected]>
  19224. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  19225. Figure out the positioning/layout in a single pass instead of
  19226. multiple recursive invocations. Speeds up the initial display of
  19227. the data grid. Also, make many things private that were
  19228. originally public but unused outside this class.
  19229. 2006-05-11 Jackson Harper <[email protected]>
  19230. * MdiClient.cs: Improved layout code.
  19231. 2006-05-11 Jonathan Chambers <[email protected]>
  19232. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  19233. not SelectedObject.
  19234. 2006-05-11 Chris Toshok <[email protected]>
  19235. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  19236. union of that will always be {0,0,width,height}.
  19237. 2006-05-11 Jackson Harper <[email protected]>
  19238. * Form.cs: Match MS's DefaultSize for forms (they must have
  19239. changed the size in sp2).
  19240. 2006-05-11 Atsushi Enomoto <[email protected]>
  19241. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  19242. 2006-05-11 Atsushi Enomoto <[email protected]>
  19243. * TextControl.cs : Fixed bug #78109. This incorrect position
  19244. comparison caused crash on automatic line split.
  19245. * TextBoxBase.cs : reduce duplicate code.
  19246. 2006-05-10 Jackson Harper <[email protected]>
  19247. * MdiClient.cs: Active form is only sent to the back when using
  19248. the Next form functionality, when a form is clicked the current
  19249. active shouldn't be sent to the back.
  19250. - Layout the mdi windows when the container is first made visible.
  19251. * Form.cs: Give the MdiClient a ref to the containing form when we
  19252. create it.
  19253. 2006-05-10 Atsushi Enomoto <[email protected]>
  19254. * LinkLabel.cs : link_font could be uninitialized, so populate one
  19255. before actual use. Fixed bug #78340.
  19256. 2006-05-10 Atsushi Enomoto <[email protected]>
  19257. * XplatUIX11.cs : clipboard format native value is IntPtr.
  19258. Fixed bug #78283.
  19259. 2006-05-10 Peter Dennis Bartok <[email protected]>
  19260. * Control.cs:
  19261. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  19262. which is passed up the parent chain by DefWndProc
  19263. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  19264. to DefWndProc (#77956)
  19265. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  19266. 2006-05-10 Jackson Harper <[email protected]>
  19267. * MdiClient.cs: We need to remove the controls from the mdi
  19268. collection, when we close the window.
  19269. * MdiWindowManager.cs: Special handling of closing mdi windows.
  19270. * InternalWindowManager.cs: Make the close method virtual so the
  19271. mdi window manager can handle it specially.
  19272. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  19273. * DataGrid.cs:
  19274. - Recalculate grid when the data source has changed
  19275. - Matches styles provided by user from all data sources types
  19276. * DataGridTableStyle.cs: For columns that provided by the user set the
  19277. with the preferred value is there was unassigned.
  19278. * CurrencyManager.cs: throw OnItemChanged event
  19279. 2006-05-10 Peter Dennis Bartok <[email protected]>
  19280. * PictureBox.cs: Don't animate until handle is created. Start animation
  19281. when handle is created.
  19282. 2006-05-10 Peter Dennis Bartok <[email protected]>
  19283. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  19284. current codebase.
  19285. * XEventQueue.cs: We don't need to provide the extra info
  19286. 2006-05-10 Jackson Harper <[email protected]>
  19287. * MdiClient.cs: If the mdi clients parent form has a background
  19288. image set, we draw that background image for the mdi area's
  19289. background.
  19290. 2006-05-10 Peter Dennis Bartok <[email protected]>
  19291. * TextBoxBase.cs: Set IBeam cursor (#78347)
  19292. 2006-05-10 Mike Kestner <[email protected]>
  19293. * ToolBar.cs: fix some text padding issues with ButtonSize
  19294. calculation. Update the default size to match MS documentation.
  19295. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  19296. button size. Fixes #78296.
  19297. 2006-05-10 Mike Kestner <[email protected]>
  19298. * ListBox.cs: use is_visible for scrollbar positioning in case the
  19299. control isn't on screen yet. Fix off by one with Right vs Width
  19300. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  19301. 2006-05-10 Jackson Harper <[email protected]>
  19302. * X11Dnd.cs: Drop to a control with another control on top of it.
  19303. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  19304. be modified in click handlers. TODO: Look for similar problems in
  19305. other controls.
  19306. 2006-05-09 Jackson Harper <[email protected]>
  19307. * Form.cs: Window managers need the old window state when setting
  19308. window state now.
  19309. * InternalWindowManager.cs: Allow the base mdi window manager to
  19310. handle more of the MDI only stuff (like maximize buttons).
  19311. * MdiWindowManager.cs: Fix some snafus in changing the window
  19312. state. Add all the menu functionality, for both popup and
  19313. maximized menus.
  19314. * MdiClient.cs: When a new form is selected the currently
  19315. activated form is sent to the back, this matches MS.
  19316. - Implement a new method to activate the next mdi child window.
  19317. 2006-05-08 Peter Dennis Bartok <[email protected]>
  19318. * Control.cs:
  19319. - Added new InternalCapture method to allow controls to prevent
  19320. the capture behaviour on the click handlers
  19321. - Switched to use InternalCapture
  19322. * ComboBox.cs:
  19323. - Using InternalCapture to prevent mouse captures from being released
  19324. on mouse button release (Fixes #78100)
  19325. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  19326. returns Form borders if a caption is present. (Fixes #78310)
  19327. 2006-05-08 Peter Dennis Bartok <[email protected]>
  19328. * TreeNode.cs: Changed serialization .ctor to not require every field
  19329. to be present. (#78265)
  19330. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  19331. 2006-05-05 Alexander Olk <[email protected]>
  19332. * MimeIcon.cs: for is faster than foreach for strings.
  19333. 2006-05-05 Mike Kestner <[email protected]>
  19334. * CheckedListBox.cs: update check handling code to not use selected.
  19335. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  19336. behavior for visual feedback, motion response, shift/ctrl handling,
  19337. and properly deal with all 4 selection modes. Updates to bounds
  19338. handling logic. Add scroll wheel support. [Fixes #77842]
  19339. 2006-05-05 Peter Dennis Bartok <[email protected]>
  19340. * ListView.cs:
  19341. - Moved adding of Implicit controls into .ctor. That way, subsequent
  19342. creation of the controls will not cause them to think they are
  19343. toplevel windows (fixes #78200 header problem)
  19344. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  19345. - Switched visibility setting of header control to use internal field
  19346. to avoid triggering handle creation
  19347. - Now checking if handle is created before causing a refresh when items
  19348. are added (This makes us now match handle creation time with MS)
  19349. * Splitter.cs: Removed loading of private splitter cursor, switched to
  19350. Cursors version now that that is loading the right ones
  19351. * Cursors.cs: Load proper splitter cursors from resources
  19352. * Cursor.cs: Added second method of loading resource cursors for the
  19353. VS.Net users amongst us
  19354. 2006-05-05 Mike Kestner <[email protected]>
  19355. * ListView.cs: give header_control a minimum size based on the
  19356. ListView size.
  19357. 2006-05-05 Peter Dennis Bartok <[email protected]>
  19358. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  19359. window seems to do that with metacity, so set that type. (#78120)
  19360. 2006-05-05 Mike Kestner <[email protected]>
  19361. * ListViewItem.cs: fix Details mode checkbox layout bug.
  19362. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  19363. at the end of the header, if it exists. [Fixes for #78200]
  19364. 2006-05-04 Jackson Harper <[email protected]>
  19365. * MdiClient.cs: Add a helper property to get the container form.
  19366. * MdiWindowManager.cs: We have to make sure to use the menu origin
  19367. when drawing the icons and buttons, this fixes maximized window
  19368. icons/buttons on win32.
  19369. * InternalWindowManager.cs: Reset the restore captions when a
  19370. window goes from Maximized to Minimized and vice versa. Move the
  19371. DrawMaximizedButtons into the MdiWindowManager source, tool
  19372. windows can't be maximized. NOTE: This could use a little
  19373. refactoring if time ever permits.
  19374. 2006-05-03 Jonathan Chambers <[email protected]>
  19375. * TextBox.cs: Add MWFCategoryAttributes
  19376. * TextBoxBase.cs: Add MWFCategoryAttributes
  19377. * Form.cs: Add MWFCategoryAttributes
  19378. 2006-05-03 Jonathan Chambers <[email protected]>
  19379. * Control.cs: Add MWFCategoryAttributes
  19380. * ScrollableControl.cs: Add MWFCategoryAttributes
  19381. 2006-05-03 Alexander Olk <[email protected]>
  19382. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  19383. Divider is true. Fix a little glitch in PropertyToolBar
  19384. drawing code
  19385. 2006-05-02 Peter Dennis Bartok <[email protected]>
  19386. * Control.cs:
  19387. - Dispose: Call base.Dispose, this causes the disposed event
  19388. to be fired (and probably other, more important stuff)
  19389. - SetVisibleCore: Set is_visible to true after creating the
  19390. window so that the window still gets created invisible (if
  19391. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  19392. to generate a WM_ACTIVE message
  19393. * Form.cs: Call Dispose when we want to destroy the window, instead of
  19394. just destroying the handle (Dispose will do that for us)
  19395. * XplatUIX11.cs:
  19396. - RootWindow also needs a queue, so we can properly process the
  19397. property change events from RootWindow (like Activate)
  19398. - Generatic synthetic WM_ACTIVE message when the active window is
  19399. being destroyed
  19400. 2006-05-01 Peter Dennis Bartok <[email protected]>
  19401. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  19402. bounds are changed
  19403. 2006-05-01 Peter Dennis Bartok <[email protected]>
  19404. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  19405. for determining width and height (image might not be assigned if
  19406. we're drawing an imagelist)
  19407. 2006-05-01 Peter Dennis Bartok <[email protected]>
  19408. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  19409. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  19410. height from system
  19411. * Theme.cs: No longer returns hardcoded menu height, instead calls
  19412. new driver method
  19413. * Form.cs (OnLoad): Scaling happens before triggering Load events
  19414. on MS (# 78257)
  19415. 2006-05-01 Mike Kestner <[email protected]>
  19416. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  19417. 2006-04-30 Peter Dennis Bartok <[email protected]>
  19418. * TextBoxBase.cs: Removed Fixme
  19419. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  19420. 2006-04-30 Peter Dennis Bartok <[email protected]>
  19421. * XplatUIX11.cs:
  19422. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  19423. the rectangle relative to the parent, considering borders. We
  19424. don't really want that.
  19425. - ScrollWindow: Fixed warning to be more understandable
  19426. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  19427. scrollbars and scroll only the visible area
  19428. * RichTextBox.cs: Removed debug output
  19429. 2006-04-29 Peter Dennis Bartok <[email protected]>
  19430. * NumericUpDown.cs (Text): Just use base
  19431. * UpDownBase.cs: Ensure txtView is created before using it
  19432. 2006-04-29 Peter Dennis Bartok <[email protected]>
  19433. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  19434. casting to IntPtr to avoid 64bit overflow errors
  19435. 2006-04-29 Peter Dennis Bartok <[email protected]>
  19436. * Control.cs:
  19437. - AllowDrop: Don't force handle creation.
  19438. - CreateHandle: Added call to tell driver if we're allowed to drop
  19439. 2006-04-27 Alexander Olk <[email protected]>
  19440. * FileDialog.cs: Remember the last directory not only for the
  19441. current instance but also for new FileDialog instances.
  19442. 2006-04-29 Peter Dennis Bartok <[email protected]>
  19443. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  19444. broke sending async messages
  19445. 2006-04-29 Peter Dennis Bartok <[email protected]>
  19446. * XplatUIX11.cs:
  19447. - ScrollWindow: Fixed method. We finally generate expose events again
  19448. for scrolled areas. This was causing 'garbage' when scrolling
  19449. textbox and other controls that used ScrollWindow
  19450. - Switched from using the regular queue for paint events to the MS
  19451. model of 'generating' paint events when the queue is empty.
  19452. We use the new XQueueEvent.Paint subclass to store which windows
  19453. need painting.
  19454. - AddExpose now takes the x/y/width/height of the exposed area
  19455. and inserts the window into the paint queue if not already there
  19456. - InvalidateWholeWindow: Switched to use new AddExpose method
  19457. - UpdateMessageQueue: Added which queue to monitor for paint events
  19458. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  19459. the unlikely case nothing above handles it. We reset the expose
  19460. pending states to get them off the queue.
  19461. - GetMessage: Now pulls a paint event if no other events are in the
  19462. queue
  19463. - Invalidate: Switched to new AddExpose method
  19464. - PeekMessage: Updated to understand pending paint events
  19465. - UpdateWindow: Fixed logic bug. We were only updating if the window
  19466. didn't need updating. Also switched to sending WM_PAINT directly,
  19467. like MS does.
  19468. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  19469. and random access Remove(). The random access is needed to handle
  19470. UpdateWindow() where a WM_PAINT is sent directly without accessing
  19471. the queue.
  19472. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  19473. allow for better feedback when scrolling. Scrollbars are small and
  19474. the immediate update should make it 'feel' more responsive without
  19475. slowing things down. ScrollBar still needs it's invaliate logic
  19476. updated to not always invalidate the whole bar on certain changes.
  19477. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  19478. * Control.cs:
  19479. (BackColor): if the control does not support a transparent background,
  19480. return the default backcolor when the parent backcolor is transparent.
  19481. 2006-04-28 Peter Dennis Bartok <[email protected]>
  19482. * Application.cs: Updated to new StartLoop/GetMessage API
  19483. * RichTextBox.cs: Provide some output on RTF parsing errors
  19484. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  19485. new queue_id argument to GetMessage and PeekMessage to allow faster
  19486. handling of per-thread queues in drivers.
  19487. * Hwnd.cs: Added Queue tracking and property
  19488. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  19489. * XEventQueue.cs: Added thread trackingA
  19490. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  19491. * XplatUIX11.cs:
  19492. - Implemented new per-thread queue
  19493. - GetMessage: Fixed return/break behaviour on several cases. We were
  19494. returning stale messages in some cases, instead of just processing
  19495. the next message
  19496. 2006-04-27 Jonathan Chambers <[email protected]>
  19497. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  19498. 2006-04-27 Peter Dennis Bartok <[email protected]>
  19499. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  19500. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  19501. 2006-04-27 Jonathan Chambers <[email protected]>
  19502. * PropertyGridView.cs: Fix drop down width.
  19503. 2006-04-27 Alexander Olk <[email protected]>
  19504. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  19505. a mess in DrawToolBar, so I removed one of them.
  19506. 2006-04-27 Alexander Olk <[email protected]>
  19507. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  19508. needed (clip). Otherwise we get artifacts.
  19509. 2006-04-26 Peter Dennis Bartok <[email protected]>
  19510. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  19511. dimension is fixed
  19512. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  19513. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  19514. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  19515. if it matches the scale base font (avoids unneeded scaling)
  19516. 2006-04-26 Alexander Olk <[email protected]>
  19517. * X11DesktopColors.cs: One gtk_init_check should be enough
  19518. 2006-04-26 Peter Dennis Bartok <[email protected]>
  19519. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  19520. match MS behaviour
  19521. 2006-04-26 Peter Dennis Bartok <[email protected]>
  19522. * TextBoxBase.cs:
  19523. - Generate OnTextChanged for Backspace even if we're only deleting
  19524. the current selection
  19525. - When setting the Text property, only select all text if the
  19526. control does not have focus when it is being set. Otherwise
  19527. just place the cursor at the beginning of the control
  19528. 2006-04-26 Alexander Olk <[email protected]>
  19529. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  19530. Added a little helper to draw PropertyGrid ToolBar with a different
  19531. border and a different BackColor.
  19532. * PropertyGrid.cs: Some background parts didn't get painted with the
  19533. correct background color. Added a class that helps us to draw the
  19534. correct border for PropertyGridView and a class that helps us to
  19535. draw ToolBars with a different backcolor
  19536. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  19537. 2006-04-25 Jonathan Chambers <[email protected]>
  19538. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  19539. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  19540. 2006-04-25 Peter Dennis Bartok <[email protected]>
  19541. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  19542. into the palette entries. Also, since we're working on a copy
  19543. we needed to copy the palette back onto the bitmap.
  19544. * Cursor.cs: Same fix as XplatUIWin32.cs.
  19545. 2006-04-25 Peter Dennis Bartok <[email protected]>
  19546. * ImageListStreamer.cs: Need to read the var (or we're off)
  19547. 2006-04-25 Peter Dennis Bartok <[email protected]>
  19548. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  19549. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  19550. TextBoxBase.cs: Unused var fixes
  19551. * AxHost.cs: Small 2.0 fix
  19552. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  19553. as it seems that is what at least Metacity expects. This will make
  19554. icons show up on 64bit platforms. We still have some 64bit size
  19555. issues, though, since the startup app window size still won't match.
  19556. 2006-04-25 Mike Kestner <[email protected]>
  19557. * *.cs: cleanup newly reported exception var unused warnings.
  19558. 2006-04-25 Alexander Olk <[email protected]>
  19559. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  19560. ms
  19561. 2006-04-25 Alexander Olk <[email protected]>
  19562. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  19563. image. The image position is always the same, no matter if the
  19564. button is pressed or not.
  19565. 2006-04-25 Alexander Olk <[email protected]>
  19566. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  19567. selection and set the correct filename for SaveFileDialog.
  19568. Patch by Emery Conrad.
  19569. 2006-04-24 Mike Kestner <[email protected]>
  19570. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  19571. check for item.X outside the ClientRect instead of item.Y. Fixes
  19572. #78151.
  19573. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19574. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  19575. trust that value blindly and do some sanity check. Fixes bug #77814.
  19576. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19577. * ImageListStreamer.cs: save the mask as a 1bpp image.
  19578. 2006-04-21 Mike Kestner <[email protected]>
  19579. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  19580. pass Checked and Indeterminate to the Theme Engine. Improve
  19581. encapsulation with ListBox.
  19582. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  19583. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  19584. nested types. Move all CheckState functionality to CheckedListBox.
  19585. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  19586. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  19587. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  19588. single base list. Fix scrollbar sizing and placement to mirror MS.
  19589. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  19590. used.
  19591. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  19592. for CheckedListBox by using new DrawItemState info. Center the
  19593. checkboxes on the items. Use new StringFormat property.
  19594. 2006-04-18 Jackson Harper <[email protected]>
  19595. * Form.cs: MdiChildren don't do default locations the same way as
  19596. regular forms. This prevents a crash when trying to position the
  19597. mdi windows.
  19598. 2006-04-17 Jonathan Chambers <[email protected]>
  19599. * PropertyGridTextBox.cs: Formatting, copyright
  19600. * PropertiesTab.cs: Formatting
  19601. * PropertyGrid.cs: Formatting
  19602. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  19603. click toggling of values
  19604. 2006-04-17 Peter Dennis Bartok <[email protected]>
  19605. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  19606. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  19607. every time a control is created
  19608. * Application.cs: Removed obsolete EnableRTLMirroring method
  19609. 2006-04-18 Gert Driesen <[email protected]>
  19610. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  19611. SelectedIndex to -1. Fixes bug #78121.
  19612. 2006-04-17 Jackson Harper <[email protected]>
  19613. * Binding.cs: Handle null values for Current and BindingContext.
  19614. This occurs when binding is a little delayed.
  19615. * CurrencyManager.cs: return null for Current when there are no
  19616. items in the list.
  19617. - Hookup to the listchanged event on the DataView and update
  19618. bindings when the list is changed. This fixes late binding of
  19619. controls.
  19620. 2006-04-17 Jackson Harper <[email protected]>
  19621. * X11Dnd.cs:
  19622. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  19623. Ringenbach.
  19624. 2006-04-15 Alexander Olk <[email protected]>
  19625. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  19626. place
  19627. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  19628. with the correct ButtonState
  19629. 2006-04-14 Peter Dennis Bartok <[email protected]>
  19630. * XplatUIX11.cs: Improved distinguishing between window types to
  19631. tell the WM a type closer to what the app wants (Fixes #78107)
  19632. 2006-04-14 Alexander Olk <[email protected]>
  19633. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  19634. GrabHandle
  19635. 2006-04-14 Alexander Olk <[email protected]>
  19636. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  19637. drawing code to reflect the size grip changes
  19638. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  19639. * ImageListStreamer.cs: fix handling of the mask that follows the main
  19640. bitmap when deserializing and serialize it properly. The generated mask
  19641. should better be a 1bpp image, but I'll do that later.
  19642. 2006-04-13 Alexander Olk <[email protected]>
  19643. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  19644. path doesn't fit into some of our Current.Places
  19645. 2006-04-13 Jackson Harper <[email protected]>
  19646. * ComboBox.cs: Use borders instead of drawing our own decorations,
  19647. try to obey correct rules for heights.
  19648. * Theme.cs:
  19649. * ThemeNice.cs:
  19650. * ThemeClearLooks.cs:
  19651. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  19652. this is now handled by borders.
  19653. - Remove unused DrawListBoxDecorationSize method.
  19654. 2006-04-13 Mike Kestner <[email protected]>
  19655. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  19656. reported by Alex.
  19657. 2006-04-13 Alexander Olk <[email protected]>
  19658. * ThemeWin32Classic.cs:
  19659. - Fixed CPDrawStringDisabled
  19660. - Corrected drawing of disabled menu items
  19661. - Fixed drawing of disabled radio buttons (bug #78095)
  19662. - Draw check in a disabled CheckBox with color ControlDark
  19663. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19664. * Form.cs: Use the provided width when calculating the menu size;
  19665. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  19666. and ClientSize.Width won't be updated yet
  19667. * Application.cs: Use Visible instead of Show() to make form visible,
  19668. this way we create the handle later and menusize is considered
  19669. 2006-04-12 Mike Kestner <[email protected]>
  19670. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  19671. reporting.
  19672. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19673. * TextBox.cs: Implemented context menu
  19674. 2006-04-12 Mike Kestner <[email protected]>
  19675. * ListView.cs: implement box selection. fixes #77838.
  19676. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  19677. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19678. * XplatUIX11.cs: Added setting of window type when transient window
  19679. is created (metacity would move it otherwise)
  19680. * X11Structs.cs: Added WINDOW_TYPE atoms
  19681. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  19682. background (the control is Opaque but still wants transparent
  19683. backgrounds)
  19684. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19685. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  19686. that set Opaque but don't mean it (like all ButtonBase-derived
  19687. controls) to still draw their background
  19688. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  19689. the background
  19690. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19691. * Control.cs (PaintControlBackground): Set the graphics object
  19692. on our PaintEvent to null to prevent it from being disposed
  19693. when the PaintEvent gets disposed
  19694. 2006-04-12 Alexander Olk <[email protected]>
  19695. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  19696. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  19697. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19698. * Control.cs:
  19699. - Added transparency check to BackColor property. Transparent
  19700. backgrounds are only allowed if the control styles permit it
  19701. - Added recursive painting of parent control background and
  19702. foreground if a control with a transparent backcolor is drawn
  19703. (Thanks to Tim Ringenback for providing his 'hack' as a base
  19704. for this patch) Fixes #77985 and #78026.
  19705. - Added Opaque style check before calling OnPaintBackground, no
  19706. need to draw the background if the control is opaque
  19707. - Removed ControlAccessibleObject owner variable (inherited from
  19708. base, no need to define again)
  19709. - Added some documentation links explaining the drawing events
  19710. and styles
  19711. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19712. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  19713. that the affected control is the located at the left border of our
  19714. parent (Fixes #77936)
  19715. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19716. * TextBoxBase.cs: When rendering disabled or readonly controls,
  19717. draw the background with 'Control' instead of 'Window' color as
  19718. long as the user hasn't specifically set a color
  19719. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19720. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  19721. since that won't be updated if the user types text (only if it's
  19722. programatically set)
  19723. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19724. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  19725. layout changes do to app-triggered resizes will have the proper
  19726. display rectangle for layout
  19727. 2006-04-11 Alexander Olk <[email protected]>
  19728. * ThemeWin32Classic.cs:
  19729. - Make use of the SystemBrushes and SystemPens wherever possible
  19730. - Corrected some highlight colors
  19731. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  19732. drawing
  19733. * Theme.cs: Added Empty field to CPColor struct
  19734. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19735. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  19736. is displayed when calculating the display rectangle. Thanks to Mike
  19737. for teaching me the err of my ways.
  19738. 2006-04-10 Peter Dennis Bartok <[email protected]>
  19739. * ScrollableControl.cs:
  19740. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  19741. (instead of 0,0) and we now return the real width/height instead of
  19742. just the clientrectangle, adjusted for padding. The rectangle is
  19743. now cached and created by the new CalculateDisplayRectangle method.
  19744. - Created new CalculateDisplayRectange method, which basically does
  19745. what get_DisplayRectangle() did originally, but now using the
  19746. right edge instead of DisplayRectangle to determine the size of
  19747. our scrollbars
  19748. - get_Canvas(): Fixed it to properly calculate canvas for
  19749. right/bottom controls which seem to be placed to the right/bottom
  19750. of any controls that have a fixed location
  19751. - Removed TODO that's taken care of
  19752. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  19753. and SetDisplayRectLocation according to new MSDN2 docs
  19754. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  19755. event when that is called, this is added for compatibility
  19756. - ScrollControlIntoView(): Implemented.
  19757. - Switched scrollbars to be implicit, they shouldn't be selectable
  19758. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  19759. call it when the active control is set/changed
  19760. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  19761. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  19762. implicit_control variable (used for native Win32 message generation)
  19763. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  19764. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  19765. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  19766. * XplatUIStructs.cs: Added ScrollBarCommands enum
  19767. 2006-04-10 Jackson Harper <[email protected]>
  19768. * ButtonBase.cs:
  19769. * CheckedListBox.cs:
  19770. * ComboBox.cs:
  19771. * DataGrid.cs:
  19772. * DataGridView.cs:
  19773. * Form.cs:
  19774. * GroupBox.cs:
  19775. * ListBox.cs:
  19776. * PrintPreviewControl.cs:
  19777. * ProgressBar.cs:
  19778. * PropertyGrid.cs:
  19779. * Splitter.cs:
  19780. * StatusBar.cs:
  19781. * TrackBar.cs:
  19782. * UpDownBase.cs: Fixup base event overrides.
  19783. 2006-04-06 Mike Kestner <[email protected]>
  19784. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  19785. all user-initiated value changes to min <= value <= max-thumbsz+1.
  19786. (set_Value): check for vert/horiz when calculating new thumb position.
  19787. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  19788. like MS does.
  19789. (OnMouseMoveSB): refactor the thumb dragging code and refine
  19790. invalidation logic to reduce flicker.
  19791. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  19792. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  19793. (UpdateThumbPosition): small code readability cleanup
  19794. 2006-04-10 Alexander Olk <[email protected]>
  19795. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  19796. different
  19797. 2006-04-08 Alexander Olk <[email protected]>
  19798. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  19799. 2006-04-08 Alexander Olk <[email protected]>
  19800. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  19801. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  19802. This dramatically reduces the number of Pen.Dispose calls.
  19803. Where possible call ResPool methods only once instead of calling it
  19804. over and over again (for example for the same color).
  19805. 2006-04-06 Mike Kestner <[email protected]>
  19806. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  19807. Also remove an unused private field on the collection. Fixes #77972.
  19808. 2006-04-06 Alexander Olk <[email protected]>
  19809. * ThemeNice.cs: Added ToolBar drawing code
  19810. 2006-04-06 Mike Kestner <[email protected]>
  19811. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  19812. I'm assuming that means we need to look up the toplevel for the
  19813. provided control. Fixes the crash trace in #77911 but exposes another
  19814. crash in some strange reflection usage in NDocGui.
  19815. 2006-04-06 Alexander Olk <[email protected]>
  19816. * ThemeNice.cs: Gave it a little silver touch and added Images
  19817. method
  19818. * FontDialog.cs: FontDialog is not resizable
  19819. * FileDialg.cs: Added SizeGripStyle.Show
  19820. 2006-04-05 Jackson Harper <[email protected]>
  19821. * KeyboardLayouts.cs: Remove warning.
  19822. 2006-04-05 Jackson Harper <[email protected]>
  19823. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  19824. all of our controls instead of Paint +=.
  19825. * ListBox.cs:
  19826. * ListView.cs:
  19827. * MenuAPI.cs:
  19828. * MessageBox.cs:
  19829. * NotifyIcon.cs:
  19830. * ProgressBar.cs:
  19831. * ScrollBar.cs:
  19832. * Splitter.cs:
  19833. * StatusBar.cs:
  19834. * TabControl.cs:
  19835. * TextBoxBase.cs:
  19836. * ToolBar.cs:
  19837. * TrackBar.cs:
  19838. * UpDownBase.cs:
  19839. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  19840. use OnPaintInternal. Remove Width/Height and Visible checks in
  19841. paint handler, this is done at a higher level now.
  19842. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  19843. * PaintEventArgs.cs: Add a handled flag so controls that don't
  19844. want anymore painting after OnPaintInternal can make sure OnPaint
  19845. isn't called.
  19846. 2006-04-05 Mike Kestner <[email protected]>
  19847. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  19848. state of the form, so that we don't process events when Modal dialogs
  19849. are up. Fixes #77922.
  19850. 2006-04-05 Alexander Olk <[email protected]>
  19851. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  19852. checking is done.
  19853. 2006-04-05 Mike Kestner <[email protected]>
  19854. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  19855. 2006-04-05 Mike Kestner <[email protected]>
  19856. * ListView.cs (HeaderMouseMove): null guarding for the over column
  19857. when setting up the drag_to_index. Fixes #78015.
  19858. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19859. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  19860. in the taskbar. Transient windows seem to accomplish that.
  19861. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19862. * Form.cs:
  19863. - Re-enabled CreateParams.X/Y code for FormStartPosition
  19864. - Added code for manual placement when creating the Control
  19865. - Incomplete patch to treat MDI forms differently when
  19866. setting the ClientSizeCore. (Still need to figure out handling
  19867. x/y coords there)
  19868. * XplatUIX11.cs:
  19869. - When we're explicitly setting the X/Y position of a non-Child
  19870. window, let the WM know. Metacity really wants this.
  19871. 2006-04-04 Alexander Olk <[email protected]>
  19872. * ThemeNice.cs: Added CPDrawButton
  19873. 2006-04-04 Alexander Olk <[email protected]>
  19874. * ThemeNice.cs: Changed the color for focused buttons and activated
  19875. the arrows for small scroll buttons.
  19876. 2006-04-04 Alexander Olk <[email protected]>
  19877. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  19878. anymore. Changed some method modifiers to protected (virtual)
  19879. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  19880. changes
  19881. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  19882. Updated drawing of menus, buttons and progressbars; added
  19883. CPDrawBorder3D
  19884. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  19885. * ImageListStreamer.cs: implemented serialization/deserialization
  19886. of the images.
  19887. 2006-04-03 Alexander Olk <[email protected]>
  19888. * ThemeWin32Classic.cs:
  19889. - Removed all the DrawFrameControl stuff; CPDrawButton,
  19890. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  19891. inside the methods
  19892. - Updated and corrected the drawing code of CPDrawButton,
  19893. CPDrawCheckBox and CPDrawRadioButton to better match ms
  19894. - Updated theme checkbox and radiobutton code to use the CP*
  19895. methods
  19896. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19897. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  19898. bug is fixed
  19899. 2006-03-31 Jackson Harper <[email protected]>
  19900. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  19901. sometimes.
  19902. * UpDownBase.cs: Don't CreateGraphics manually, use a
  19903. Refresh. Ideally we would invalidate the correct areas here.
  19904. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19905. * XplatUIX11.cs:
  19906. - We now track the mapping state of windows. If a window (or
  19907. one of it's parents) is not mapped we no longer permit
  19908. WM_PAINT messages to be generated since we'd otherwise get
  19909. lots of BadMatch X errors. Jackson did all the work figuring
  19910. out the problem.
  19911. - Destroying the caret if the window it's contained in is
  19912. destroyed. Can't use regular DestroyCaret method since it
  19913. might fall into a drawing function (trying to remove the
  19914. caret) and with that generate new BadMatch errors. Again,
  19915. Jackson tracked this down.
  19916. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  19917. make sure we send the messages to all windows. (The old code
  19918. would send the WM_DESTROY to the window, and then all child
  19919. windows would be 'gone' because the WM_DESTROY handle lookup
  19920. would no longer find the destroyed window)
  19921. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  19922. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  19923. 2006-03-31 Jackson Harper <[email protected]>
  19924. * ScrollableControl.cs: Dont recalc if we are not visible.
  19925. 2006-03-31 Mike Kestner <[email protected]>
  19926. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  19927. the visibility branch.
  19928. 2006-03-31 Jackson Harper <[email protected]>
  19929. * ScrollBar.cs: Cap values when incrementing/decrementing.
  19930. 2006-03-31 Mike Kestner <[email protected]>
  19931. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  19932. * ToolTip.cs: guard against timer expirations with no active control.
  19933. Not sure why it happened.
  19934. 2006-03-31 Mike Kestner <[email protected]>
  19935. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  19936. text.
  19937. * ToolTip.cs: Position the tooltip based on where the cursor is at
  19938. popup time, not at MouseEnter time. Add a Down state so that we don't
  19939. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  19940. positioning offset. Lookup DisplaySize at positioning time, since it
  19941. can theoretically change during invocation.
  19942. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  19943. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  19944. 2006-03-31 Alexander Olk <[email protected]>
  19945. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  19946. Fixes behaviour when the Text property of the box is String.Empty
  19947. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19948. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  19949. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  19950. a window)
  19951. 2006-03-31 Alexander Olk <[email protected]>
  19952. * FileDialog.cs: Visual enhancement for the popup buttons in
  19953. PopupButtonPanel
  19954. 2006-03-31 Alexander Olk <[email protected]>
  19955. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  19956. code
  19957. 2006-03-30 Alexander Olk <[email protected]>
  19958. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  19959. highlighted menu items to match ms
  19960. 2006-03-30 Peter Dennis Bartok <[email protected]>
  19961. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  19962. 2006-03-30 Mike Kestner <[email protected]>
  19963. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  19964. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  19965. go active to account for HotLight to Selected transition.
  19966. * MenuItem.cs: add internal Selected prop. Fill out the Status
  19967. property by calculating it from item info. Add HotLight,
  19968. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  19969. 2006-03-30 Mike Kestner <[email protected]>
  19970. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  19971. 2006-03-29 Jackson Harper <[email protected]>
  19972. * Form.cs: Implement TODO.
  19973. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19974. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  19975. missing proper dialog setup in the constructor
  19976. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19977. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  19978. * Control.cs:
  19979. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  19980. - Fixed ResetBindings and removed TODO
  19981. - Added check for cross-thread calls to get_Handle()
  19982. - Added Marshaller attribute for set_Font to satisfy class status
  19983. * FontDialog.cs: Removed TODOs that seemed implemented
  19984. * UpDownBase.cs: Removed unneeded TODO and Fixme
  19985. * MessageBox.cs: Implemented support for Default button and removed TODO
  19986. * FileDialog.cs: Removed obsolete TODO
  19987. * DomainUpDown.cs: Removed obsolete TODO
  19988. * ButtonBase.cs: Removed obsolete TODO
  19989. * XplatUIWin32.cs: Removed obsolete TODO
  19990. * Form.cs:
  19991. - Removed obsolete TODO
  19992. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  19993. internal status updates
  19994. - Making sure the active control is selected when the control is created
  19995. * CurrencyManager.cs: Removed obsolete TODO
  19996. 2006-03-29 Mike Kestner <[email protected]>
  19997. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  19998. of PrintPreviewDialog and RichTextBox.
  19999. 2006-03-29 Alexander Olk <[email protected]>
  20000. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  20001. DarkDark, Light and LightLight colors for a specific color
  20002. * ThemeWin32Classic.cs:
  20003. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  20004. Appearance = Button
  20005. - Make use of the new ResPool helper CPColor
  20006. - Draw ProgressBar and StatusBar with correct 3D borders
  20007. 2006-03-29 Alexander Olk <[email protected]>
  20008. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  20009. 2006-03-28 Mike Kestner <[email protected]>
  20010. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  20011. calculating col/row counts.
  20012. 2006-03-28 Mike Kestner <[email protected]>
  20013. * ColumnHeader.cs:
  20014. * ListView.cs:
  20015. * ListViewItem.cs:
  20016. * Menu.cs:
  20017. switch to explicit interface method implementation for some methods
  20018. corcompare identifies as inconsistent with MS.
  20019. 2006-03-28 Mike Kestner <[email protected]>
  20020. * MainMenu.cs:
  20021. * Menu.cs:
  20022. add a few missing methods from the class status output.
  20023. 2006-03-28 Alexander Olk <[email protected]>
  20024. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  20025. correct.
  20026. 2006-03-28 Mike Kestner <[email protected]>
  20027. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  20028. 2006-03-27 Mike Kestner <[email protected]>
  20029. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  20030. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  20031. 2006-03-27 Alexander Olk <[email protected]>
  20032. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  20033. 2006-03-25 Alexander Olk <[email protected]>
  20034. * ThemeWin32Classic.cs:
  20035. - GroupBox: Inserted a little gap between the text and the lines
  20036. on the right side
  20037. - Made the code in CPDrawBorder3D more readable
  20038. - Corrected the drawing location of the up and down arrows in
  20039. CPDrawScrollButton
  20040. 2006-03-25 Alexander Olk <[email protected]>
  20041. * ControlPaint.cs: Corrected line widths in DrawBorder for
  20042. ButtonBorderStyle Inset and Outset
  20043. 2006-03-25 Alexander Olk <[email protected]>
  20044. * ThemeWin32Classic.cs:
  20045. - Rewrote the totally broken CPDrawBorder3D method. That was
  20046. one of the main problems for the terrific ThemeWin32Classic
  20047. look
  20048. - Updated and corrected Button drawing
  20049. - Correct the dimensions of the SizeGrip to match ms ones
  20050. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  20051. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  20052. Border3DStyle.Sunken to match ms.
  20053. 2006-03-25 Alexander Olk <[email protected]>
  20054. * ThemeWin32Classic.cs: First small part of the "de-uglify
  20055. ThemeWin32Classic" effort, SizeGrip
  20056. 2006-03-24 Jackson Harper <[email protected]>
  20057. * XplatUIX11.cs: Give a max idle time of one second, this matches
  20058. MS and forces an Idle event every second when there are no other
  20059. events in the queue.
  20060. 2006-03-24 Mike Kestner <[email protected]>
  20061. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  20062. * ListView.Item.cs: fix layout issues with null image lists and images
  20063. smaller than checkbox size.
  20064. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  20065. mode like MS does. It's weird, but consistent. ;-)
  20066. Fixes #77890.
  20067. 2006-03-24 Mike Kestner <[email protected]>
  20068. * ListView.cs: Scroll wheel support for the item control. Fixes
  20069. #77839.
  20070. 2006-03-23 Jackson Harper <[email protected]>
  20071. * ScrollableControl.cs: Special case negative sized areas, not
  20072. zero.
  20073. * MonthCalendar.cs: Save the rect of the clicked date so we can
  20074. use it for invalidation.
  20075. - Try to cut down on the number of invalidates
  20076. - Invalidate the rect the mouse is over and was over when moving
  20077. the mouse, so we get the focus box following the cursor.
  20078. 2006-03-23 Mike Kestner <[email protected]>
  20079. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  20080. focus rectangle drawing. Fixes #77835.
  20081. 2006-03-23 Mike Kestner <[email protected]>
  20082. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  20083. the if and else if and reverting back to the original == check on the
  20084. None conditional.
  20085. 2006-03-23 Alexander Olk <[email protected]>
  20086. * FontDialog.cs: Update the example panel if the selected index of
  20087. the fontListBox changes.
  20088. 2006-03-23 Alexander Olk <[email protected]>
  20089. * FileDialog.cs: Make FileDialog remember which directory it was in
  20090. last in the same execution.
  20091. 2006-03-22 Mike Kestner <[email protected]>
  20092. * FileDialog.cs: make the DropDownMenu on the toolbar display
  20093. RadioChecks since they are mutually exclusive and that's what MS does.
  20094. 2006-03-22 Mike Kestner <[email protected]>
  20095. * Theme.cs: add Color param to CPDrawMenuGlyph.
  20096. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  20097. checks and radio marks and arrows are visible on highlighted items.
  20098. * ControlPaint.cs: update to use new Theme signature.
  20099. 2006-03-22 Mike Kestner <[email protected]>
  20100. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  20101. is active. Fixes #77870.
  20102. 2006-03-22 Alexander Olk <[email protected]>
  20103. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  20104. to be focused/selected after startup
  20105. 2006-03-22 Alexander Olk <[email protected]>
  20106. * ColorDialog.cs:
  20107. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  20108. CustomColors and ShowHelp properties
  20109. - Some internal rewrites to get better results when using the
  20110. ColorMatrix
  20111. 2006-03-22 Mike Kestner <[email protected]>
  20112. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  20113. HoverSelection. Fixes #77836.
  20114. 2006-03-22 Mike Kestner <[email protected]>
  20115. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  20116. ToggleButtons. (De)Sensitize the Back button around a stack count of
  20117. 1, not 0. Update ButtonSize based on a pixel count of the win32
  20118. control. Adjust the toolbar size/location for new button size.
  20119. 2006-03-22 Jackson Harper <[email protected]>
  20120. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  20121. true.
  20122. * ScrollBar.cs: When doing increments and decrements we need to
  20123. set the Value property so that ValueChanged gets raised. A
  20124. possible optimization here would be to make an internal SetValue
  20125. that doesn't invalidate immediately.
  20126. * ToolTip.cs: Tooltips get added to their container (when
  20127. supplied) so they get disposed when the container is disposed.
  20128. - Don't create tooltips for String.Empty. This prevents all these
  20129. little 2-3 pixel windows from showing up when running nunit-gui
  20130. and driving me mad.
  20131. * Form.cs: Don't set topmost when setting the owner if the handles
  20132. haven't been created yet. The topmost set will happen when the
  20133. handles are created.
  20134. 2006-03-22 Peter Dennis Bartok <[email protected]>
  20135. * XplatUIX11.cs:
  20136. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  20137. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  20138. visible (to allow them to recalculate their sizes)
  20139. 2006-03-21 Mike Kestner <[email protected]>
  20140. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  20141. methods. Removed a ton of redundant code. Still not really happy with
  20142. the border rendering, but I think that's mainly because of the
  20143. ControlDarkDark being black instead of a dark grey. Depending on how
  20144. close we want to be, we might want to revisit those color choices.
  20145. Among the new features added during the refactor were DropDownArrow
  20146. pressed rendering, Disabled image rendering. Proper flat appearance
  20147. boundary rendering. Removed the Divider and Wrapping dividers since I
  20148. can't figure out any combination of themes and conditions to make the
  20149. MS control draw a horizontal line on a toolbar despite what the
  20150. Divider property docs indicate.
  20151. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  20152. conditions and incorrect layout. Updated to coding standard.
  20153. * ToolBarButton.cs: refactored layout and positioning code from
  20154. ToolBar to here. Invalidate wherever possible instead of forcing
  20155. redraws of the whole toolbar.
  20156. (Known remaining issues: explicit ButtonSize smaller than provided
  20157. images.)
  20158. 2006-03-21 Mike Kestner <[email protected]>
  20159. * ContextMenu.cs (Show): use the position parameter instead of just
  20160. showing at the MousePosition.
  20161. 2006-03-21 Jackson Harper <[email protected]>
  20162. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  20163. control handle this.
  20164. * TreeNodeCollection.cs: If we are clearing the root node we need
  20165. to reset top_node so calcs can still happen.
  20166. * ThemeWin32Classic.cs: This is a Flags so we need to check
  20167. properly.
  20168. 2006-03-21 Jackson Harper <[email protected]>
  20169. * DataGrid.cs: Create columns when the binding context has been
  20170. changed.
  20171. * X11Structs.cs: Keysyms are uints.
  20172. - Add size to fix build.
  20173. 2006-03-21 Peter Dennis Bartok <[email protected]>
  20174. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  20175. XplatUIOSX.cs:
  20176. - Added ResetMouseHover method to allow controls to retrigger
  20177. hovering if they need it more than once
  20178. - Implemented MouseHoverTime and MouseHoverSize properties
  20179. * Timer.cs: Start() must reset the interval
  20180. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  20181. properties
  20182. 2006-03-21 Jackson Harper <[email protected]>
  20183. * X11Keyboard.cs: improved layout detection. Move the nonchar
  20184. tables into this file.
  20185. * KeyboardLayouts.cs: Move the tables into resource files.
  20186. 2006-03-21 Mike Kestner <[email protected]>
  20187. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  20188. 2006-03-21 Alexander Olk <[email protected]>
  20189. * Mime.cs: Various speed optimizations. Looking up mime types
  20190. is now 2 times faster than before
  20191. 2006-03-17 Peter Dennis Bartok <[email protected]>
  20192. * CreateParams.cs: Added internal menu field
  20193. * Control.cs:
  20194. - Switched call order for UpdateBounds; now we always call
  20195. the one that also takes ClientSize, and we're calculating the
  20196. client size via driver method in the others. The previous
  20197. method of tracking client size by difference wasn't working
  20198. for forms where even the starting client size wouldn't match
  20199. the overall form size (due to borders) (Part of fix for #77729)
  20200. - CreateParams(): Do not use parent.Handle unless the handle is
  20201. already created. Causes havoc with Nexxia and throws off our
  20202. creation of controls
  20203. * XplatUIX11.cs:
  20204. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  20205. - Switched handling of ConfigureNotify over to new PerformNCCalc
  20206. method (consolidates code)
  20207. - Changed RequestNCRecalc to use new PerformNCCalc method
  20208. - Added calls to RequestNCRecalc when menus and borders are changed
  20209. to allow app to set NC size. (Part of fix for #77729) This matches
  20210. when MS send a WM_NCRECALC on Win32 windows.
  20211. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  20212. (Part of fix for #77729). This matches what MS does, they also
  20213. send that message when the form is made visible.
  20214. - XException.GetMessage: Improved usability of X errors by including
  20215. a translation of the window into Hwnd and Control class
  20216. - Improved debug info for window creation, reparenting and destruction
  20217. - Created helper method WindowIsMapped() [Currently not used]
  20218. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  20219. * Form.cs:
  20220. - CreateParams: Now setting our menu on the new internal menu field
  20221. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  20222. avoid calculating the same property twice
  20223. * Hwnd.cs:
  20224. - Improved usability of ToString() for debugging purposes
  20225. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  20226. determine the height of the menu, instead of just the font. This
  20227. required to also create a graphics context and to keep a bmp
  20228. around (for performance reasons)
  20229. 2006-03-17 Peter Dennis Bartok <[email protected]>
  20230. * MenuAPI.cs: Added OnMouseUp method
  20231. * Form.cs:
  20232. - Now remembering the requested client size, avoids size errors
  20233. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  20234. instead of base if the menu is active. This is required due to
  20235. control now capturing and releasing on down/up and it would
  20236. prematurely release our menu capture
  20237. 2006-03-17 Jackson Harper <[email protected]>
  20238. * KeyboardLayouts.cs: Add the czech layouts.
  20239. 2006-03-16 Jackson Harper <[email protected]>
  20240. * Control.cs: Use the viewport space when sizing not the controls
  20241. client size, so things like ScrollableControl that effect the
  20242. viewport size (when scrollbars are added) are computed correctly.
  20243. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  20244. of ManagerEntrys.
  20245. - Handle creating BindingManagers for null data sources.
  20246. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  20247. source, otherwise when rows are added they are added to the 'fake'
  20248. datasource and we will crash when trying to set the position in
  20249. those rows.
  20250. - Use Implicit scrollbars on the datagrid so they arent
  20251. selectable.
  20252. 2006-03-16 Jackson Harper <[email protected]>
  20253. * Binding.cs:
  20254. * InternalWindowManager.cs:
  20255. * MdiWindowManager.cs:
  20256. * X11Keyboard.cs: I really want Mike to love me again (fix
  20257. compiler warnings).
  20258. 2006-03-16 Peter Dennis Bartok <[email protected]>
  20259. * DataGrid.cs:
  20260. - OnMouseDown: Switch to editing mode when clicking on the cell
  20261. even if we're clicking on the cell that's currently
  20262. selected
  20263. - ProcessGridKey: Left/Right now wrap like MS.Net does
  20264. - ProcessGridKey: Tab now knows to add a new row when tab is
  20265. pressed in the cell of the last column of the
  20266. last row
  20267. - ProcessGridKey: Enter now adds another row if pressed in the last
  20268. row and selectes the new row, same column cell
  20269. - ProcessGridKey: Home/End navigate columns, not rows, like
  20270. originally implemented
  20271. - Broke ProcessKeyPreview code out into an extra Internal method
  20272. so it can be called from the edit code
  20273. * DataGridTextBox.cs (ProcessKeyMessage):
  20274. - Switched to accept Tab keypresses
  20275. - Added F2 handling to allow jumping to the end of the edited cell
  20276. - Added logic to allow moving caret left/right inside edited cell
  20277. and making the edited cell jump when the caret hits cell borders
  20278. - Tab and Enter are now passed to the datagrid after being handled
  20279. * TextBoxBase.cs:
  20280. - Removed capture code now that Control handles it
  20281. - set_SelectionStart now ensures caret is visible
  20282. 2006-03-16 Jackson Harper <[email protected]>
  20283. * TrackBar.cs: Debackwards the increment/decrement for handling
  20284. mouse clicks on the bar with vertical trackbars.
  20285. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  20286. bottom to match MS.
  20287. 2006-03-16 Mike Kestner <[email protected]>
  20288. * ListView.cs: make shift/ctrl keyboard and mouse selection
  20289. consistent with the MS control. Fix a bug in
  20290. SelectedListViewItemCollection.Clear that was pissing me off for the
  20291. better part of a day because the collection was being altered
  20292. underneath us as we walked the list.
  20293. 2006-03-16 Peter Dennis Bartok <[email protected]>
  20294. * Control.cs: Not sure how we could miss this so long, but it seems
  20295. that MS.Net has Capture set all the way from before calling
  20296. OnMouseDown through sending the mouse events until after
  20297. OnMouseUp. This will fix DataGrid's selection being set to end
  20298. at the location of the MouseUp.
  20299. 2006-03-15 Jackson Harper <[email protected]>
  20300. * BindingContext.cs: Check the binding after its added so that it
  20301. can initialize the binding managers and hookup to events.
  20302. * Binding.cs: Data members seem to sometimes include rows/cols in
  20303. the format Row.Column we now take this into account.
  20304. - Hookup to the position changed event so we can update the
  20305. control when the position has changed in the data set.
  20306. * CurrencyManager.cs: Take into account the row/col naming
  20307. convention when creating dataset tables.
  20308. * BindingContext.cs: Using a newer better way of storing
  20309. datasource/datamember pairs. Hopefully this better matches MS for
  20310. looking up binding managers.
  20311. 2006-03-15 Jackson Harper <[email protected]>
  20312. * BindingContext.cs: The currency manager needs the data member
  20313. name, if the member is a data set we use the name to find the
  20314. correct table.
  20315. * CurrencyManager.cs: When creating the list prefer an IList over
  20316. an IListSource.
  20317. - Attempt to create a DataTable from a DataSet (TODO: might need
  20318. some better error checking here, although MS doesn't seem to have much)
  20319. - If we have a DataTable create a view and use it as our list.
  20320. 2006-03-15 Mike Kestner <[email protected]>
  20321. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  20322. keyboard navigation. Support Up/Down/Left/Right selection correctly
  20323. for all 4 View modes.
  20324. * ListViewItem.cs: add internal row/col fields for icon layouts.
  20325. 2006-03-15 Jackson Harper <[email protected]>
  20326. * TabControl.cs: Redraw the tabs when we resize so their newly
  20327. calculated sizes are drawn on screen.
  20328. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  20329. composite characters.
  20330. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  20331. - filter events so that composite characters can be created
  20332. patches by peter
  20333. * X11Structs.cs: Add XIMProperties enum.
  20334. 2006-03-14 Peter Dennis Bartok <[email protected]>
  20335. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  20336. unless it's created
  20337. 2006-03-14 Peter Dennis Bartok <[email protected]>
  20338. * Control.cs (PerformLayout): We don't need to consider visiblity
  20339. for anchoring, only for docking. This fixes 'whacky' alignment
  20340. in listbox and other controls that use implicit scrollbars after
  20341. the previous PerformLayout patch
  20342. * ListBox.cs: Switched to use implicit scrollbars
  20343. 2006-03-14 Mike Kestner <[email protected]>
  20344. * ToolBar.cs:
  20345. * VScrollBar.cs:
  20346. - chain up the "new event" overrides to base and use
  20347. OnEvent to raise them. Part of fix for bug #76509.
  20348. 2006-03-14 Alexander Olk <[email protected]>
  20349. * FileDialog.cs: Do not select an item in the parent directory
  20350. on backspace
  20351. 2006-03-14 Peter Dennis Bartok <[email protected]>
  20352. * Control.cs (PerformLayout): It would seem that we considered
  20353. invisible windows for our layout. Not quite the right thing
  20354. to do. Now we don't any longer, thereby fixing bug #76889.
  20355. 2006-03-14 Peter Dennis Bartok <[email protected]>
  20356. * Control.cs (CanFocus): I goofed. A control can have focus
  20357. even though it's not selectable. Made it match MS docs.
  20358. 2006-03-13 Peter Dennis Bartok <[email protected]>
  20359. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  20360. center by default (fixes #76895)
  20361. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  20362. all uses of Border3DSides.All with the explicit ORd together
  20363. Left|Right|Top|Bottom because I assume that nobody was aware
  20364. that All also implies a center fill. Most places I checked had
  20365. a fill right above.
  20366. * ProgressBarStyle.cs: Added
  20367. 2006-03-13 Mike Kestner <[email protected]>
  20368. * ListView.cs: fix breakage in drag shadow header positioning
  20369. from Peter's csc compilation fix.
  20370. 2006-03-13 Mike Kestner <[email protected]>
  20371. * ListView.cs: fix NRE produced by backspacing twice in a focused
  20372. FileDialog.
  20373. 2006-03-13 Mike Kestner <[email protected]>
  20374. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  20375. 2006-03-13 Peter Dennis Bartok <[email protected]>
  20376. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  20377. be changed
  20378. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  20379. the allowed size before making programmatic size changes
  20380. 2006-03-13 Peter Dennis Bartok <[email protected]>
  20381. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  20382. set, metacity is broken and will still use the emty sizes in
  20383. the struct. (Fix for #77089)
  20384. 2006-03-13 Peter Dennis Bartok <[email protected]>
  20385. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  20386. WindowExStyles and marked both enums as Flags
  20387. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  20388. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  20389. to match WindowStyles split
  20390. * XplatUIX11.cs:
  20391. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  20392. - Updated to match WindowStyles split
  20393. * XplatUIWin32.cs:
  20394. - Fixed FosterParent creation, was using ExStyle on the Style field
  20395. (This should help with Popup focus issues)
  20396. - Updated to match WindowStyles split
  20397. 2006-03-13 Jackson Harper <[email protected]>
  20398. * MdiWindowManager.cs: Use the system menu height. Fixes some
  20399. strange sizing issues.
  20400. 2006-03-12 Peter Dennis Bartok <[email protected]>
  20401. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  20402. * TextBoxBase.cs:
  20403. - Scroll to caret after inserting text (#77672)
  20404. - Make scroll range one pixel higher, fixes off-by-one error (and
  20405. makes underlines visible on the last line)
  20406. 2006-03-12 Peter Dennis Bartok <[email protected]>
  20407. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  20408. the keyboard state from being stuck with keys in 'pressed' state when
  20409. focus is switched away via keyboard
  20410. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  20411. reset the keyboard if no X11 KeyUp events are expected to come
  20412. * X11Structs.cs: Switched type of Visible to bool to match driver
  20413. 2006-03-12 Peter Dennis Bartok <[email protected]>
  20414. * TextControl.cs:
  20415. - Switched caret to be just 1 pixel wide, matches MS and looks less
  20416. clunky
  20417. - Moved caret display 1 pixel down from the top of the control
  20418. to improve view
  20419. - InsertCharAtCharet: Update the selection start if moving the caret
  20420. (fixes bug #77696; based on patch suggested by [email protected])
  20421. - No longer always creating the caret when the caret methods are
  20422. called. Only the actual ShowCaret/HideCaret will do that now
  20423. - Only setting caret visible if the owner control has focus
  20424. - UpdateView: Added invalidation-shortcut logic for center and right
  20425. aligned text. Previously we'd update all according to the left
  20426. logic which caused drawing errors. Also fixed height of invalidated
  20427. areas, now properly invalidating the whole area (was off-by-one)
  20428. - owner_HandleCreated: Always generate the document when the
  20429. handle is created; this ensures that
  20430. * TextBoxBase.cs:
  20431. - Fixed situation where caret would disappear under the right
  20432. window border, also improved scrolling behaviour on left-
  20433. aligned textboxes
  20434. - Fixed right-aligned textboxes to have a border to the
  20435. right instead of the caret being under the right border
  20436. * XplatUIX11.cs:
  20437. - Switched from 'nested' to simple visible/not visible tracking
  20438. for caret (part of fix for #77671)
  20439. - No longer passing through translated FocusIn/FocusOut messages
  20440. since we were notifying too often and the wrong windows. Instead
  20441. we just notify our focussed window of receiving or loosing focus
  20442. * XplatUIWin32.cs: Switched from 'nested' show/hide
  20443. counting for caret to simple visible yes/no behaviour (part of
  20444. fix for #77671)
  20445. 2006-03-11 Alexander Olk <[email protected]>
  20446. * Mime.cs: Remove debug code...
  20447. 2006-03-11 Alexander Olk <[email protected]>
  20448. * MimeGenerated.cs: Removed
  20449. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  20450. and subclasses) from /usr/(local/)share/mime and
  20451. $HOME/.local/share/mime.
  20452. 2006-03-10 Jackson Harper <[email protected]>
  20453. * MdiWindowManager.cs: Recalc the NC area when a window is
  20454. maximized/restored so that the menu area is drawn on forms that
  20455. don't have a menu.
  20456. 2006-03-10 Peter Dennis Bartok <[email protected]>
  20457. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  20458. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  20459. us to force a WM_NCCALCRESIZE message being sent. This is needed
  20460. for MDI maximizing.
  20461. 2006-03-10 Jackson Harper <[email protected]>
  20462. * Form.cs: We need to use the ActiveMenu when calculating menu
  20463. height.
  20464. - Fix nullref when the window manager hasn't been created yet.
  20465. * Control.cs: Fix nullref when we try to bring a control to the
  20466. front that has no parent.
  20467. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  20468. height.
  20469. - Add a dummy item to the maximized menu so it always has the
  20470. correct height. Otherwise when there are no menus we don't get our
  20471. icon and buttons.
  20472. 2006-03-10 Jackson Harper <[email protected]>
  20473. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  20474. stuff.
  20475. * Form.cs: Make the window_state internal so the window managers
  20476. can track it.
  20477. - When an MDI child is maximized let its window manager create the
  20478. main menu (so it can add its icon).
  20479. - Notify the window managers of state changes
  20480. - Let the window manager paint its buttons and handle button
  20481. clicks on the menu when it is maximized.
  20482. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  20483. window manager, since tool windows don't use it, only mdi windows.
  20484. - Tell the main form that we don't want it to handle NCPAINT
  20485. itself to avoid extra painting.
  20486. - Handle clicks on a maximized windows menu.
  20487. - Handle window state changes
  20488. - Handle minimize/maximize clicks correctly by setting the window state.
  20489. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  20490. when clicking on the forms icon).
  20491. - New method to create a forms maximized menu. This is its normal
  20492. menu + an icon.
  20493. - Handle window state changes.
  20494. - Handle sizing of maximized windows. Maximized windows are just
  20495. drawn bigger then the parent visible area. All controls are still
  20496. there, they are just outside the visible area (this matches windows).
  20497. * MdiClient.cs: No scrollbars when a child window is maximized.
  20498. - Let the children windows figure out how big they should be when
  20499. sizing maximized windows.
  20500. - Implement a version of ArrangeIconicWindows somewhat similar to
  20501. Windows version. There are some little differences, but I don't
  20502. think any app will rely on the layout of minimized mdi windows.
  20503. 2006-03-10 Peter Dennis Bartok <[email protected]>
  20504. * Padding.cs: Several fixes to allow compiling with csc 2.0
  20505. 2006-03-09 Jackson Harper <[email protected]>
  20506. * Menu.cs:
  20507. * MenuItem.cs: Cheap hack so we can add items to the list without
  20508. the events being raised. This allows adding mdi items during
  20509. drawing. TODO: Should probably find a better time to add the items.
  20510. 2006-03-10 Peter Dennis Bartok <[email protected]>
  20511. * ThemeWin32Classic.cs:
  20512. - CheckBox_DrawText: Added logic to not wrap if not enough space
  20513. is available (Fix for bug #77727)
  20514. - RadioButton_DrawText: Added logic not to wrap if not enough
  20515. space is available (Fix for bug #77727). Also removed some
  20516. duplicate code, DrawString always drawing the regular text
  20517. before hitting the if statement.
  20518. 2006-03-10 Peter Dennis Bartok <[email protected]>
  20519. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  20520. 2006-03-10 Peter Dennis Bartok <[email protected]>
  20521. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  20522. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  20523. methods. Moved the new 2.0 properties into alphabetical order with
  20524. other properties and added MonoTODO tags
  20525. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20526. * AutoScaleMode.cs: Added. Fix build.
  20527. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20528. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  20529. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  20530. and was requiring premature handle creation for calls from above
  20531. * Form.cs, Control.cs: Removed handle arguments from calls to
  20532. CalculateClientRect()
  20533. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20534. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  20535. drag_column.column_rect is MarshalByRef and can't be used that way
  20536. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20537. * AxHost.cs: Added deserialization constructor for
  20538. AxHost+State (fixes 77743)
  20539. 2006-03-09 Mike Kestner <[email protected]>
  20540. * ListView.cs:
  20541. - Added column drag reordering for details view.
  20542. - fixed behavior when mouse is dragged off column and
  20543. AllowColumnReorder is false.
  20544. * ColumnHeader.cs: clone the format too in Clone.
  20545. * Theme.cs: add DrawListViewHeaderDragDetails method.
  20546. * ThemeWin32Classic.cs:
  20547. - impl new method for drawing drag column shadows and targets.
  20548. - support column offset for details mode in DrawListViewItem.
  20549. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20550. * TextControl.cs: Reset the char_count when the document is cleared
  20551. (Fixes bug reported on mono-winforms mailing list)
  20552. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20553. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  20554. of calling base we simply process the key ourselves, since both
  20555. DefWindowProc and the handled method would set m.Result.
  20556. (Fixes #77732)
  20557. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20558. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  20559. method also moves the window; instead implemented a copy of
  20560. Control.ScaleCore (Part of fix for #77456)
  20561. * TextBoxBase.cs:
  20562. - Created new CreateGraphicsInternal method to allow providing
  20563. a graphics context when no handle is created without triggering
  20564. handle creation. (Part of fix for #77456)
  20565. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  20566. * TextControl.cs:
  20567. - Switched Constructor to require TextBoxBase instead of Control (to
  20568. allow uncast access to CreateGraphicsInternal)
  20569. - Safeguarded use of owner.Handle property. No longer accessing it
  20570. unless the handle is already created.
  20571. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  20572. - Now triggering a recalc when owning control becomes visible
  20573. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  20574. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  20575. premature handle creation (Part of fix for #77456)
  20576. * Control.cs:
  20577. - We now only destroy our double-buffering buffers when the
  20578. control is resized or disposed, but not when visibility
  20579. changes. (The code even re-created them twice every time)
  20580. - Now requiring a redraw of the buffer on visibility changes
  20581. (fixes bug 77654 part 2)
  20582. - Not passing OnParentVisibleChanged up unless the control
  20583. is visible
  20584. - CanFocus: Fixed to match MS documentation
  20585. - Focus: Fixed to return actual focus state and to check if
  20586. setting focus is legal before setting it
  20587. 2006-03-08 Peter Dennis Bartok <[email protected]>
  20588. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  20589. when to draw focus rectangle by looking at parent focus and
  20590. selected state instead. This fixes TabPages on Linux sometimes
  20591. having none or multiple focus rectangles.
  20592. * XplatUIX11.cs (SetFocus):
  20593. - Don't set the focus if the same window already has focus
  20594. - Use SendMessage instead of PostMessage (like it's Win32
  20595. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  20596. to match MS behaviour
  20597. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  20598. are not selectable.
  20599. 2006-03-07 Jackson Harper <[email protected]>
  20600. * PictureBox.cs: Revert line I accidently committed last week.
  20601. 2006-03-07 Peter Dennis Bartok <[email protected]>
  20602. * Control.cs:
  20603. - Added new IsRecreating and ParentIsRecreating properties to
  20604. allow testing if RecreateHandle has been called on ourselves
  20605. or one of our parents
  20606. - WndProc(WM_DESTROY): If our control handle is being recreated
  20607. we immediately need to create the handle when receiving the
  20608. destroy, that way our child windows find a valid parent handle
  20609. when they themselves are being recreated upon WM_DESTROY receipt
  20610. (fix for bug #77654 part 1)
  20611. * XplatUIX11.cs:
  20612. - DestroyWindow: WM_DESTROY must be sent to our own window before
  20613. notifying any child windows. MS documents that child windows
  20614. are still valid when WM_DESTROY is received. (Control now relies on
  20615. this behaviour)
  20616. - Added some fine-grain debug options
  20617. 2006-03-06 Jackson Harper <[email protected]>
  20618. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  20619. box and base calculations off this.
  20620. * MdiChildContext.cs:
  20621. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  20622. anymore.
  20623. 2006-03-06 Peter Dennis Bartok <[email protected]>
  20624. * Splitter.cs: In situations where the affected control is added
  20625. to the parent's control list after the splitter, we would not
  20626. populate affected. Now we try populating it on mousedown, if
  20627. it's not already set, and force it to be re-set whenever our
  20628. parent changes.
  20629. 2006-03-03 Matt Hargett <[email protected]>
  20630. * Control.cs: implement Control.Padding
  20631. * Padding.cs: -Padding.All returns -1 when constructing with the
  20632. implicit default ctor
  20633. -Padding.ToString() matches MS.NET
  20634. * ContainerControl.cs: implement
  20635. ContainerControl.AutoScaleDimensions
  20636. * ListControl.cs: implement ListControl.FormattingEnabled
  20637. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  20638. * ButtonBase.cs:
  20639. * TabPage.cs: Implement UseVisualStyleBackColor.
  20640. * PictureBox.cs: Implement PictureBox.InitialImage.
  20641. 2006-03-03 Mike Kestner <[email protected]>
  20642. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  20643. event declarations to proxy to base event.
  20644. * ListViewItem.cs: update to use ItemControl.
  20645. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  20646. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  20647. column header label rendering for 0 width columns.
  20648. 2006-03-03 Peter Dennis Bartok <[email protected]>
  20649. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  20650. that causes the control to be created. Fixes #77476.
  20651. 2006-03-02 Jackson Harper <[email protected]>
  20652. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  20653. expose_pending.
  20654. 2006-03-02 Peter Dennis Bartok <[email protected]>
  20655. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  20656. passed in for the EventArgs (fixes #77690)
  20657. 2006-03-01 Jackson Harper <[email protected]>
  20658. * ScrollBar.cs: Refresh afterbeing resized.
  20659. 2006-02-28 Mike Kestner <[email protected]>
  20660. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  20661. Clean up a tracker compile warning.
  20662. * MenuItem.cs: add internal PerformPopup method.
  20663. [Fixes #77457]
  20664. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20665. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  20666. implicit expose) when the text is set to null
  20667. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20668. * RichTextBox.cs (FlushText): When newline is true, we always
  20669. need to split the line, even if no text is on it and we may
  20670. never eat newlines. (Fixes #77669)
  20671. 2006-02-28 Mike Kestner <[email protected]>
  20672. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  20673. and set Selected instead.
  20674. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  20675. collections.
  20676. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20677. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  20678. 2006-02-28 Alexander Olk <[email protected]>
  20679. * FontDialog.cs:
  20680. - Got rid of the panel. All controls are now directly added to
  20681. the dialog form
  20682. - It is now possible to set a font with the Font property
  20683. - MinSize and MaxSize property do now what they should
  20684. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  20685. - Searching and selecting a font with the font textbox works now,
  20686. the same applies to the style and size textbox
  20687. - Draw the correct 3D border in the example panel
  20688. - Fixed a little mem leak (unused fonts didn't get disposed)
  20689. - Many other internal updates/rewrites...
  20690. - Fix typo
  20691. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20692. * TextControl.cs:
  20693. - InsertRTFFromStream: Added 'number of characters inserted' argument
  20694. - set_SelectedRTF: Now using the number of characters to calculate
  20695. the new location for the selection and cursor (x/y cannot be used
  20696. due to potentially already wrapped text)
  20697. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20698. * TextControl.cs: Added property and implemented means to allow
  20699. disabling recalculation of a document (can be used to speed up
  20700. multiple inserts and is needed to make RTF inserts predictable, see
  20701. bug #77659)
  20702. * RichTextBox.cs: Using the new NoRecalc property of Document to
  20703. keep x/y insert locations predictable. Also makes it faster inserting
  20704. large chunks of RTF
  20705. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20706. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  20707. it's easier for a child control to handle the other messages without
  20708. having to duplicate the special functionality
  20709. * TextBoxBase.cs
  20710. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  20711. code to handle processing the key ourselves, in order to get
  20712. access to the result of KeyEventArgs.Handled. We now only call
  20713. ProcessKey if they key hasn't been handled already. Fixes #77526.
  20714. - set_Text: If null or empty string is given, just clear the
  20715. document. Fixes part of #77526
  20716. 2006-02-27 Jackson Harper <[email protected]>
  20717. * SizeGrip.cs: Paint the background color before painting the grip
  20718. so things look right.
  20719. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  20720. 2006-02-27 Mike Kestner <[email protected]>
  20721. * ListView.cs:
  20722. - Restructure layout and invalidation model to remove a ton of
  20723. flicker from the control and speed up performance in general.
  20724. - Add manual column resize, flickers like crazy, but I already have
  20725. some ideas on how I'll fix that. (#76822)
  20726. - Merge the three Icon-based views into a single layout method.
  20727. - Move item selection interaction logic from the item since
  20728. interaction with the collections is more appropriate to the view.
  20729. - Deselection on non-item clicks.
  20730. * ListViewItem.cs:
  20731. - Encapsulate most of the layout. Add some internal props to trigger
  20732. layout. Move to a model where Items invalidate themselves instead
  20733. of just invalidating the whole control every time something changes.
  20734. - Invalidate on Text/Caption changes.
  20735. - switch to an offset based layout model to avoid having to absolute
  20736. position every element on item moves.
  20737. - correct checkbox layout to conform to MS layout.
  20738. * ThemeWin32Classic.cs:
  20739. - refactor some column header drawing code.
  20740. - fix string justification for column headers (#76821)
  20741. - make SmallIcon labels top justified for compat with MS impl.
  20742. * ThemeClearlooks.cs:
  20743. - adjust to new ListViewItem internal checkbox bounds api.
  20744. 2006-02-27 Jackson Harper <[email protected]>
  20745. * Control.cs: Change where implicit controls fall in the zorder.
  20746. They are now on top of all children.
  20747. - Synced AddImplicit code with Add
  20748. - Removed unused enumerator.
  20749. * SizeGrip.cs: Remove the TODO as its been TODONE.
  20750. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20751. * TextControl.cs(Insert): Combine the last lines unless the insertion
  20752. string ends with \n\n, otherwise we leave one line too many (Fixes
  20753. something I noticed with the testapp for #77526; the bug itself was
  20754. already fixed in the previous checkin)
  20755. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20756. * RichTextBox.cs:
  20757. - SelectionColor and SelectionFont methods no longer set absolute
  20758. styles. Instead, the keep font or color respectively (This
  20759. resolves a long-standing FIXME in the code)
  20760. - When flushing RTF text, the insert code now considers text trailing
  20761. behind the insertion point (Fixes the bug where when replacing
  20762. the selected text via SelectedRTF the remainder of the line behind
  20763. the selection would stay on the first insertion line)
  20764. * TextBoxBase.cs:
  20765. - AppendText now updates the selection points after inserting text
  20766. - AppendText now ensures that the last tag (sometimes 0-length) of
  20767. the document is used for the style information (Fixes part of
  20768. bug #77220)
  20769. * TextControl.cs:
  20770. - Created new FontDefiniton class to allow describing partial style
  20771. changes
  20772. - StreamLine() now takes a lines argument, to allow it to decide
  20773. whether an encountered zero-length tag is the last in the document
  20774. (which must be kept to not loose the font/color contained in it,
  20775. for later appends)
  20776. - Created Combine() and Split() methods for Marker structs, to
  20777. support marker updates due to reformatted documents (soft line
  20778. wraps)
  20779. - Implemented Document.CaretTag setter
  20780. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  20781. of the last line (Not the cause, but also exposed by bug #77220)
  20782. - Added LineTag argument to InsertString method, to allow callers
  20783. to force a certain tag to be used (required to force use of the
  20784. trailing zero-length tag of a document)
  20785. - Now updating markers in Combine(), to avoid stale tag markers
  20786. - Added some method descriptions to aid maintenance
  20787. - Implemented new FormatText concept, allowing additive/subtractive
  20788. formatting by only specifying the components that are to be
  20789. changed. This was needed for resolving the RTB.SelectedColor/
  20790. RTB.SelectedFont fixmes
  20791. - Added Break() support method to allow breaking up linetags (used
  20792. for partial formatting)
  20793. - Added GenerateTextFormat() method. It is used for partial
  20794. formatting and allows to generate a full font/color from given
  20795. attributes and an existing tag.
  20796. 2006-02-26 Jackson Harper <[email protected]>
  20797. * XplatUIX11.cs: Use the correct caption height.
  20798. - Translate hittest coordinates to screen coords to match MS.
  20799. * XplatUIWin32.cs: When we create MDI windows we need to reset
  20800. some of the style flags, so we get a nice blank window, and can
  20801. draw all the decorations ourselves.
  20802. - Set a clipping rectangle on the non client paint event, the
  20803. window manager drawing code needs one.
  20804. * Form.cs: The window manager needs to know when the window state
  20805. has been updated.
  20806. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  20807. don't need to factor in border and title sizes in these
  20808. methods. TODO: Remove the args and fix the call points.
  20809. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  20810. properly.
  20811. - Let the driver set the cursors.
  20812. - Improve active window handling
  20813. - Correct sizes for title bars and buttons.
  20814. - Match MS drawing better
  20815. * MdiWindowManager.cs: We don't need to handle border style
  20816. updates specially anymore.
  20817. - Check for scrollbars when windows are done moving
  20818. - Handle Active properly.
  20819. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  20820. correctly. I am spewing the exception though, so we don't hide the
  20821. bugs.
  20822. 2006-02-26 Pedro Martinez Julia <[email protected]>
  20823. * DataGridViewRowPostPaintEventArgs.cs,
  20824. DataGridViewCellPaintingEventArgs.cs,
  20825. DataGridViewRowCollection.cs,
  20826. DataGridViewRowPrePaintEventArgs.cs,
  20827. DataGridViewCell.cs: Clear a few warnings and implement a few
  20828. exceptions that should be thrown.
  20829. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20830. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  20831. 'inheriting' our parent's (non-default) cursor. (Part of
  20832. the fix for #77479)
  20833. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20834. * XplatUIX11.cs: Fixed cast to make csc happy
  20835. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20836. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  20837. it's for the client area (part of fix for #77479 and needed
  20838. for MDI window cursor handling)
  20839. * XplatUIX11.cs
  20840. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  20841. the appropriate default cursors and also passing the message
  20842. up the parent chain
  20843. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  20844. for non-client areas
  20845. 2006-02-15 Jackson Harper <[email protected]>
  20846. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  20847. is a real MDI window
  20848. 2006-02-14 Alexander Olk <[email protected]>
  20849. * X11DesktopColors.cs: Instead of checking the desktop session
  20850. string for "KDE" check if it starts with "KDE"
  20851. 2006-02-10 Jackson Harper <[email protected]>
  20852. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  20853. systems).
  20854. 2006-02-10 Alexander Olk <[email protected]>
  20855. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  20856. errors
  20857. * ColorDialog.cs:
  20858. - Got rid of the panel. All controls are now directly added to
  20859. the dialog form
  20860. - Changed to mono coding style
  20861. 2006-02-10 Jackson Harper <[email protected]>
  20862. * InternalWindowManager.cs: We don't need the set visibility to
  20863. false hack anymore now that peter has written beautiful shutdown
  20864. code.
  20865. 2006-02-10 Peter Dennis Bartok <[email protected]>
  20866. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  20867. where already explicitly destroyed
  20868. 2006-02-10 Jackson Harper <[email protected]>
  20869. * MdiClient.cs: Handle the case where windows are too high or to
  20870. the left and we need scrollbars.
  20871. 2006-02-10 Alexander Olk <[email protected]>
  20872. * MimeIcon.cs: Added some icons
  20873. * FileDialog.cs:
  20874. - Fixed bug #77477
  20875. - Got rid of the panel. All controls are now directly added to
  20876. the dialog form
  20877. - Changed to mono coding style
  20878. - On Linux "My Computer" and "My Network" will now show some
  20879. more usefull information. A new class, MasterMount, gathers
  20880. this information from /proc/mount. Updated MWFFileView to make
  20881. use of this information
  20882. - Fixed a bug that caused FileDialog to crash when
  20883. ".recently_used" file had a zero size
  20884. - FilterIndex does now what it should
  20885. - Some Refactoring
  20886. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  20887. FileDialog changes
  20888. 2006-02-09 Jackson Harper <[email protected]>
  20889. * ComboBox.cs: Don't touch if null.
  20890. 2006-02-09 Peter Dennis Bartok <[email protected]>
  20891. * Cursor.cs: 64bit safeness fix
  20892. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  20893. 2006-02-09 Jackson Harper <[email protected]>
  20894. * Form.cs: If a form is made into an MDI form update the styles so
  20895. all the props can get set correctly.
  20896. - Kill the mdi_container when we dont need it anymore.
  20897. * InternalWindowManager.cs: Add missing NOT
  20898. 2006-02-08 Jackson Harper <[email protected]>
  20899. * InternalWindowManager.cs: Respek clipping when drawing MDi
  20900. decorations.
  20901. 2006-02-08 Jackson Harper <[email protected]>
  20902. * Hwnd.cs: Add bits to track non client expose events.
  20903. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  20904. gives us a proper invalid rect and will allow for some nice
  20905. optimizations with NC client drawing
  20906. - MDI windows are children windows, so move their style handling
  20907. into the child window block.
  20908. * InternalWindowManager.cs: Remove a state reset that was
  20909. getting invoked at the wrong time. Fixes managed windows getting
  20910. into a 'stuck' captured state.
  20911. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20912. * TextControl.cs (Document.ctor): Now initializing
  20913. selection_anchor. Fixes #77493
  20914. 2006-02-07 Jackson Harper <[email protected]>
  20915. * TrackBar.cs: The increment/decrements were backwards.
  20916. 2006-02-07 Mike Kestner <[email protected]>
  20917. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  20918. to the instance itself.
  20919. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20920. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  20921. on ulongs and pointers, the size differs between 32bit and 64bit
  20922. systems.
  20923. 2006-02-07 Mike Kestner <[email protected]>
  20924. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  20925. for 64 bit platforms to work around a metacity bug.
  20926. 2006-02-07 Jackson Harper <[email protected]>
  20927. * TrackBar.cs: Process the input keys we need, and hookup to
  20928. KeyDown instead of using WndProc, so we get key messages.
  20929. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20930. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  20931. machine we're on.
  20932. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  20933. we need to translate the XdndVersion atoms array before sending it
  20934. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20935. * XplatUIX11.cs:
  20936. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  20937. number of bits for the property, not the number of bytes. The
  20938. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  20939. but would not crash since it specified 8 bits instead of 4 bits)
  20940. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  20941. defined as XID -> long in the C headers)
  20942. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  20943. references since those are now IntPtr to begin with
  20944. - Switched all Atom.XXX 'int' casts to IntPtr casts
  20945. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  20946. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  20947. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  20948. * X11Structs.cs:
  20949. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  20950. - Changed atom in HoverStruct to be IntPtr
  20951. * X11DnD.cs:
  20952. - Removed local DllImports, switched code to use those from XplatUIX11
  20953. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  20954. 2006-02-06 Mike Kestner <[email protected]>
  20955. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  20956. method signatures in the import region. There may still be some
  20957. lingering struct marshaling issues, as I didn't drill down into those.
  20958. Yet.
  20959. 2006-02-06 Jackson Harper <[email protected]>
  20960. * ComboBox.cs: Dont manually set the top_item, this is computed
  20961. when the scrollbar position is set.
  20962. 2006-02-06 Mike Kestner <[email protected]>
  20963. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  20964. startup crashes on amd64. There's other fixes needed. All pinvoke
  20965. usage of Atom needs to be mapped to IntPtr for example. And there are
  20966. likely other int/long issues to be addressed.
  20967. 2006-02-04 Alexander Olk <[email protected]>
  20968. * FileDialog.cs: One more...
  20969. 2006-02-03 Alexander Olk <[email protected]>
  20970. * FileDialog.cs: Next try
  20971. 2006-02-03 Alexander Olk <[email protected]>
  20972. * FileDialog.cs: First part of fix for #77464
  20973. 2006-02-03 Alexander Olk <[email protected]>
  20974. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  20975. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  20976. AcceptButton border drawing.
  20977. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20978. * Form.cs: Moved positioning of form after auto scaling is applied,
  20979. otherwise it would possibly use wrong form size.
  20980. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20981. * Control.cs (RecreateHandle): No need to re-create any child
  20982. controls, the child windows will get destroyed automatically by
  20983. the windowing system or driver, and re-created when the handle
  20984. is being accessed the first time. Fixes #77456
  20985. * Form.cs: No longer setting the form to closing if the handle is
  20986. being recreated. This seems like the right thing to do, don't
  20987. have a bug or testcase for this, though.
  20988. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20989. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  20990. controls to avoid unwanted side effects
  20991. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20992. * Control.cs:
  20993. - ScaleCore needs to scale the bounds, not the ClientSize of the
  20994. control. Fixes #77416.
  20995. - DefaultSize is 0,0 for control
  20996. * TextBoxBase.cs:
  20997. - DefaultSize is 100, 20
  20998. - SetBoundsCore: Now enforcing the height, no matter if the provided
  20999. height is more or less than the preferred one, as long as AutoSize
  21000. is on
  21001. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  21002. 2006-02-02 Peter Dennis Bartok <[email protected]>
  21003. * Control.cs:
  21004. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  21005. call unless both performLayout is true *and* we have a pending
  21006. layout change
  21007. - ResumeLayout: MS does not completely nest Suspend and Resume,
  21008. they bottom out at 0, fixed our code to match that.
  21009. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  21010. SetBoundsCore, we were updating even when we shouldn't. This fixes
  21011. swf-anchors mis-anchoring when resizing the app fast and lots.
  21012. - UpdateDistances: Now only setting the left and top distance if
  21013. we have a parent and are not suspended, this is based on
  21014. a suggestion by Don Edvaldson in bug #77355.
  21015. - OnVisibleChanged: Fixed logic when to create the control. We may
  21016. not create the control if we have no parent or if it's not visible;
  21017. switched to using Visible property instead of is_visible field
  21018. since the property also considers parent states. This fixes a bug
  21019. when starting Paint.Net
  21020. 2006-02-02 Jackson Harper <[email protected]>
  21021. * Form.cs: If the forms handle hasn't been created yet don't call
  21022. into xplatui to make it top most, just set the topmost flag on the
  21023. form in CreateParams
  21024. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  21025. 2006-02-01 Jackson Harper <[email protected]>
  21026. * ScrollableControl.cs: Refactored the Recalculate method a
  21027. little, this wasn't handling all the variants of bottom and right
  21028. bars needed to be added and added/removed based on their
  21029. counterparts being added/removed (which changes the drawable
  21030. size). Also we special case client widths and heights of 0 and
  21031. don't add the scrollbar for those.
  21032. 2006-02-01 Peter Dennis Bartok <[email protected]>
  21033. * XplatUIX11.cs:
  21034. - Added method to get AbsoluteGeometry(); currently unused, but might
  21035. be used in the future, if we try again to figure out toplevel
  21036. coordinates with some more crappy window managers
  21037. - Added FrameExtents() method to retrieve the WM set decoration size
  21038. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  21039. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  21040. * Hwnd.cs:
  21041. - Added whacky_wm tracking var for metacity
  21042. - Added logic to have default menu height if the actual menu height
  21043. has not yet been calculated (part of fix for #77426)
  21044. * Form.cs: Keep track whether client size has been set and re-set
  21045. it if a menu is added/removed afterwards (Fixes #77426)
  21046. 2006-01-31 Jackson Harper <[email protected]>
  21047. * Control.cs: When a new Site is set on the component attempt to
  21048. pull the AmbientProperties from it.
  21049. 2006-01-31 Peter Dennis Bartok <[email protected]>
  21050. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  21051. in the background of the owning form. Fixes #77332
  21052. 2006-01-31 Alexander Olk <[email protected]>
  21053. * MimeIcon.cs: Fix for #77409
  21054. 2006-01-31 Alexander Olk <[email protected]>
  21055. * XplatUIX11GTK.cs: Initial import
  21056. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  21057. * FixedSizeTextBox: fixes class signature
  21058. 2006-01-30 Jackson Harper <[email protected]>
  21059. * FixedSizeTextBox.cs: New internal class that represents a
  21060. textBox that will not be scaled.
  21061. * TreeView.cs:
  21062. * ComboBox.cs:
  21063. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  21064. standard TextBox.
  21065. 2006-01-30 Peter Dennis Bartok <[email protected]>
  21066. * XplatUIX11.cs: Retrieve default screen number instead of
  21067. assuming 0. Attempted fix for #77318
  21068. 2006-01-30 Peter Dennis Bartok <[email protected]>
  21069. * XplatUIWin32.cs:
  21070. - GetWindowPos: When a window is parented by FosterParent, use
  21071. the desktop instead of FosterParent as the base to get coordinates
  21072. - CreateWindow: Don't make FosterParent the parent window for Popups
  21073. if we don't want a taskbar entry, Popups automatically don't get one
  21074. * Hwnd.cs: Need to call remove to actually remove the key from the
  21075. hash table
  21076. 2006-01-30 Mike Kestner <[email protected]>
  21077. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  21078. 2006-01-30 Jackson Harper <[email protected]>
  21079. * TreeView.cs:
  21080. * TreeNode.cs: Raise events no matter how the treenode is
  21081. checked. Patch by Don Edvalson.
  21082. 2006-01-30 Jackson Harper <[email protected]>
  21083. * TreeNode.cs: Signature fix.
  21084. 2006-01-29 Alexander Olk <[email protected]>
  21085. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  21086. 2006-01-20 Mike Kestner <[email protected]>
  21087. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  21088. event forwarding when menus are active.
  21089. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  21090. Most of the patch is pdb's with a little rework.
  21091. 2006-01-26 Peter Dennis Bartok <[email protected]>
  21092. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  21093. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  21094. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  21095. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  21096. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  21097. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  21098. the PaintWindowDecorations method
  21099. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  21100. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  21101. * MenuAPI.cs: Made tracker window invisible
  21102. * XplatUIWin32.cs:
  21103. - Removed GetMenuDC and ReleaseMenuDC methods
  21104. - Implemented the client=false path for PaintEventStart and
  21105. PaintEventEnd
  21106. 2006-01-26 Peter Dennis Bartok <[email protected]>
  21107. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  21108. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  21109. styles
  21110. * Form.cs:
  21111. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  21112. the style
  21113. - CreateParams: Reworked the styles to match MS look'n'feel,
  21114. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  21115. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  21116. 2006-01-26 Peter Dennis Bartok <[email protected]>
  21117. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  21118. window is not mapped, since otherwise every form that's being
  21119. created is considered minimized, which is wrong.
  21120. * Form.cs: Catching the exception and returning our internal value
  21121. instead
  21122. 2006-01-26 Peter Dennis Bartok <[email protected]>
  21123. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  21124. SetWindowMinMax() to have means to tell the driver about the minimum,
  21125. maximum and maximized state window sizes. (Part of the fix for #76485)
  21126. * Form.cs:
  21127. - Implemented tracking of minimum and maximum window size, now calling
  21128. new SetWindowMinMax() driver method to tell the driver (Part of the
  21129. fix for #76485)
  21130. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  21131. (Completes fix for #76485)
  21132. - Calling new SetWindowMinMax driver method when the handle for a
  21133. form is created, to make sure the driver knows about it even if
  21134. the values have been set before the window was created
  21135. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  21136. to avoid messing up our anchoring calculations (partial fix
  21137. for #77355)
  21138. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  21139. * XplatUIX11.cs:
  21140. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  21141. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  21142. (and presumably other freedesktop.org compliant WMs). Left the
  21143. assumption unmapped=minimized, needed for SetVisible to work.
  21144. - Now setting the window state when creating windows
  21145. - Fixed SetVisible to consider/set the window state when mapping
  21146. a Form. We cannot set the state before it's mapped, and we cannot
  21147. use Form.WindowState once it's mapped (since it would ask the
  21148. driver and get 'normal'. Therefore, we grab the state before
  21149. mapping, map, and then set state.
  21150. - Implmemented SetWindowMinMax method; Metacity does not seem to
  21151. honor the ZoomHints, though.
  21152. * XplatUIWin32.cs:
  21153. - Removed MINMAXINFO (moved to XplatUIStructs)
  21154. - Added SetWindowMinMax stub (on Win32 the only way to set that
  21155. information is in response to the WM_GETMINMAXINFO message, which
  21156. is handled in Form.cs)
  21157. - Added logic to SetVisible to set the proper window state when a
  21158. form is made visible (fixes #75720)
  21159. 2006-01-26 Jackson Harper <[email protected]>
  21160. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  21161. same way we handle them with Invoke.
  21162. 2006-01-25 Peter Dennis Bartok <[email protected]>
  21163. * Form.cs:
  21164. - Added tracking of window state so CreateParams can return
  21165. the appropriate style
  21166. - Moved setting of WS_CAPTION style in CreateParams to allow
  21167. styles without caption
  21168. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  21169. control if the TextBox property is accessed. Fixes #77345
  21170. * Control.cs:
  21171. - get_Created: now uses is_disposed and is_created to determine
  21172. return value (suggested by Jackson)
  21173. - CreateHandle: No longer exits if the handle is being recreated
  21174. - RecreateHandle: If the handle is not yet created call the
  21175. appropriate method to create either control or handle. If the
  21176. control is already created CreateHandle will simply exit instead
  21177. of just creating the handle
  21178. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  21179. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  21180. is called.
  21181. * XplatUIX11.cs:
  21182. - When DestroyWindow is called, instead of waiting for the
  21183. DestroyNotification from X11, we directly post it to the WndProc
  21184. and immediately dispose the hwnd object.
  21185. Same applies to DestroyChildWindows, and this obsoletes the
  21186. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  21187. child windows before our own, to avoid X11 errors.
  21188. - Removed the direct sending of WM_PAINT on UpdateWindow
  21189. * XplatUIWin32.cs:
  21190. - Reworked DoEvents and GetMessage to allow access to internal queue
  21191. even when trying non-blocking access to the queue. Fixes #77335.
  21192. Based on a patch suggestion by Don Edvalson. The new private
  21193. GetMessage can now also be used as a backend for a PeekMessage
  21194. frontend version.
  21195. * XplatUI.cs: Improved debug output for CreateWindow
  21196. 2006-01-25 Jackson Harper <[email protected]>
  21197. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  21198. 2006-01-24 Jackson Harper <[email protected]>
  21199. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  21200. when we have a MaxDropItems lower then the selected index.
  21201. 2006-01-24 Jackson Harper <[email protected]>
  21202. * Control.cs: Don't allow selection of non visible controls, allow
  21203. selection of controls without parents.
  21204. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  21205. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  21206. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  21207. 2006-01-23 Jackson Harper <[email protected]>
  21208. * UpDownBase.cs: Make the textbox handle all the selection and
  21209. tabbing. This fixes tabing to updown controls.
  21210. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  21211. * TextBoxBase.cs: fixes exception thown the object was null
  21212. 2006-01-23 Jackson Harper <[email protected]>
  21213. * ButtonBase.cs: Just use the base CreateParams. They set
  21214. visibility and enabled correctly.
  21215. * ComboBox.cs:
  21216. * TrackBar.cs:
  21217. * MonthCalendar.cs: Lets let the base set as much of the
  21218. createparams as possible so we don't have duplicate code all over
  21219. the place.
  21220. 2006-01-22 Alexander Olk <[email protected]>
  21221. * ThemeGtk.cs: Added TrackBar and some experimental code to
  21222. get double buffering back
  21223. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  21224. * DataGrid.cs: Allows row number set internally higher than the last
  21225. when creating a new row. Restores the editing functionality.
  21226. 2006-01-20 Mike Kestner <[email protected]>
  21227. * MimeIcon.cs: delay Image creation until the icons are accessed
  21228. instead of creating 190 scaled images on GnomeHandler startup.
  21229. 2006-01-19 Peter Dennis Bartok <[email protected]>
  21230. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  21231. first call base before processing the event. Fixes #77279
  21232. 2006-01-19 Peter Dennis Bartok <[email protected]>
  21233. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  21234. that the stride for the GDI bitmap would match the stride of
  21235. a DIB or a Cursor.
  21236. 2006-01-19 Alexander Olk <[email protected]>
  21237. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  21238. 2006-01-19 Jackson Harper <[email protected]>
  21239. * ComboBox.cs: Hookup the text controls keydown event so we get
  21240. those when the text control has the focus.
  21241. 2006-01-18 Peter Dennis Bartok <[email protected]>
  21242. * Label.cs: Now using the base events instead of defining new ones;
  21243. this allows us to just call the base properties without having to
  21244. duplicate all base property logic
  21245. 2006-01-18 Peter Dennis Bartok <[email protected]>
  21246. * Label.cs: A label by default is not a tabstop (Fixes one of our
  21247. failing nunit tests)
  21248. 2006-01-18 Peter Dennis Bartok <[email protected]>
  21249. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  21250. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  21251. 2006-01-18 Peter Dennis Bartok <[email protected]>
  21252. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  21253. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  21254. This fixes #77218
  21255. * XplatUIWin32.cs:
  21256. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  21257. constructor creates images that can't be saved. Part of the fix
  21258. for #76103
  21259. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  21260. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  21261. bug fix for handling window state in forms properly)
  21262. 2006-01-18 Alexander Olk <[email protected]>
  21263. * ThemeGtk.cs: Simplify ScrollBar drawing
  21264. 2006-01-18 Jackson Harper <[email protected]>
  21265. * Splitter.cs: Set the default dock style for the splitter control
  21266. in the constructor.
  21267. 2006-01-18 Alexander Olk <[email protected]>
  21268. * ThemeGtk.cs: Corrected StateType and ShadowType for
  21269. gtk_paint_box
  21270. 2006-01-18 Alexander Olk <[email protected]>
  21271. * Control.cs: Make use of Theme.DoubleBufferingSupported
  21272. * ThemeGtk.cs:
  21273. - Added drawing for flat style buttons
  21274. - Added ScrollBar drawing
  21275. 2006-01-18 Alexander Olk <[email protected]>
  21276. * ThemeClearlooks.cs: Removed some unneeded code.
  21277. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  21278. 2006-01-17 Peter Dennis Bartok <[email protected]>
  21279. * LinkLabel.cs: We need to update the hover drawing when
  21280. leaving the control as well.
  21281. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  21282. * DataGrid.cs: Clicking on non empty areas in the columns
  21283. area was giving an exception
  21284. 2006-01-17 Jackson Harper <[email protected]>
  21285. * ThemeWin32Classic.cs:
  21286. * ListView.cs: Do not draw/clip the headers when the header style
  21287. is None.
  21288. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  21289. * DataGrid.cs: Fixes 77260
  21290. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  21291. * DataGrid.cs: Clicking on a column on a empty grid was giving
  21292. an exception
  21293. 2006-01-17 Peter Dennis Bartok <[email protected]>
  21294. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  21295. or any keypress will crash the grid.
  21296. 2006-01-17 Mike Kestner <[email protected]>
  21297. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  21298. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  21299. invisible/previously-visible items.
  21300. [Fixes #76909]
  21301. 2006-01-17 Alexander Olk <[email protected]>
  21302. * ThemeClearlooks.cs:
  21303. - Added CL_Draw_Button method; now other theme controls that are
  21304. not derived from button or do not have a button can draw buttons
  21305. too
  21306. - Updated ComboBox drawing
  21307. - Beautified RadioButton drawing
  21308. - Corrected drawing of bottom and left tabs
  21309. - Beautified DateTimePicker and MonthCalendar
  21310. - Added CPDrawButton and CPDrawRadioButton
  21311. 2006-01-16 Jackson Harper <[email protected]>
  21312. * ComboBox.cs: Set the initial value of the scrollbar to the
  21313. current index. Reduce the numbers of refreshs and IndexOfs called.
  21314. 2006-01-14 Alexander Olk <[email protected]>
  21315. * FileDialog.cs: When the file listview is focused hitting the
  21316. backspace key moves the fileview to the parent directory
  21317. 2006-01-13 Peter Dennis Bartok <[email protected]>
  21318. * Form.cs:
  21319. - Added RecreateHandle call when changing taskbar visibility to
  21320. trigger reparenting in Win32 driver (Fixes #75719)
  21321. - If a window has minimize or maximize buttons, it cannot have
  21322. a help button
  21323. * XplatUIWin32.cs:
  21324. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  21325. the toplevel form with FosterParent (A toolwindow not on the
  21326. taskbar) (Fixes #75719)
  21327. - Made FosterParent a toolwindow
  21328. 2006-01-13 Alexander Olk <[email protected]>
  21329. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  21330. 2006-01-13 Alexander Olk <[email protected]>
  21331. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  21332. is currently over that control, make sure that tooltip_window.Text
  21333. gets updated
  21334. 2006-01-13 Mike Kestner <[email protected]>
  21335. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  21336. 2006-01-13 Jackson Harper <[email protected]>
  21337. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  21338. value passed. Also redraw the selected node when we recieve
  21339. focus, so tabbing between trees works correctly.
  21340. 2006-01-13 Alexander Olk <[email protected]>
  21341. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  21342. ~/.gconf/%gconf-tree.xml, so use
  21343. .gconf/desktop/gnome/interface/%gconf.xml
  21344. 2006-01-13 Peter Dennis Bartok <[email protected]>
  21345. * TextControl.cs: Draw text in gray if control is disabled
  21346. 2006-01-13 Peter Dennis Bartok <[email protected]>
  21347. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  21348. make sure it's always visible. Fixes #76680.
  21349. 2006-01-13 Peter Dennis Bartok <[email protected]>
  21350. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  21351. 2006-01-13 Jonathan Chambers <[email protected]>
  21352. * PageSetupDialog.cs: Added.
  21353. * PrintDialog.cs: Attributes.
  21354. * PrintPreviewControl.cs: Updates.
  21355. * PrintPreviewDialog.cs: Updates.
  21356. 2006-01-12 Peter Dennis Bartok <[email protected]>
  21357. * Control.cs: Undid my selection check fix, since it's not needed
  21358. * TextBoxBase.cs:
  21359. - Now considering the presence of hscroll/vscroll when sizing
  21360. vscroll/hscroll respectively. Fixed bug #77077
  21361. - Added Left/Up/Down/Right to IsInputKey list to prevent
  21362. ContainerControl from stealing them. This fixes what I broke
  21363. with my last checkin.
  21364. 2006-01-12 Peter Dennis Bartok <[email protected]>
  21365. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  21366. I finally understand how the property can be set without a setter :-)
  21367. 2006-01-12 Peter Dennis Bartok <[email protected]>
  21368. * Application.cs:
  21369. - Switched RunLoop to use static Message.Create to create a
  21370. Message object
  21371. - Added PreProcessMessage call in runloop for keyboard events; this
  21372. is part of the fix for #77219, I overlooked this originally in the
  21373. MSDN doc for PreProcessMessage
  21374. * Control.cs:
  21375. - Removed call to PreProcessMessage from handling of keyboard
  21376. messages; it's supposed to be done in the message pump
  21377. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  21378. per MSDN documentation.
  21379. - IsInputChar: All chars are input chars by default; removed the
  21380. parent calling chain, MS does not document that
  21381. - PreProcessMessage: If IsInputChar is true, we want to return false
  21382. to allow dispatching of the message
  21383. - When selecting the next control, now also check that we're not
  21384. selecting ourselves again and therefore return a false positive.
  21385. * TextBoxBase.cs:
  21386. - Tried to match return values for IsInputKey and ProcessDialogKey
  21387. to what MS returns; moved processing of our special keys outside
  21388. ProcessDialogKey since MS does not seem to return true on those.
  21389. - Moved code that previously was in ProcessDialogKey into new private
  21390. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  21391. - Reworked handling of WM_CHAR to not have to duplicate code from
  21392. Control.cs anymore, instead we simply call down to base.
  21393. 2006-01-12 Jackson Harper <[email protected]>
  21394. * ComboBox.cs: We always need to refresh the text area when
  21395. EndUpdate is called. Fixes the combobox in the file dialog.
  21396. * Control.cs: Don't create the creator_thread until the controls
  21397. handle is created. Also in InvokeRequired we check if the
  21398. creator_thread is null. This gives the effect of InvokeRequired
  21399. returning true if the controls handle is not created yet, and
  21400. matches MS.
  21401. 2006-01-12 Peter Dennis Bartok <[email protected]>
  21402. * XplatUI.cs:
  21403. - Added StartLoop() driver method. This is used to allow drivers to
  21404. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  21405. loop for a particular thread
  21406. - Added EndLoop() driver method. This is called once the message
  21407. pump for the thread is shut down
  21408. - Added SupportsTransparency method to allow the driver to indicate
  21409. opacity support for windows
  21410. * Form.cs:
  21411. - Removed TODO attribute, completed AllowTransparency property
  21412. - Added documented logic to Opacity
  21413. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  21414. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  21415. versions of CompatibleTextRendering
  21416. * X11Structs.cs: Added opacity atom to our atom enumeration
  21417. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  21418. of a form might be set before it's reparented by the WM, and we need
  21419. the opacity value without calling up to Form)
  21420. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  21421. SupportsTransparency() driver methods
  21422. * Application.cs: Now calling StartLoop and EndLoop driver methods
  21423. * XplatUIX11.cs:
  21424. - Added opacity atom registration
  21425. - Added StartLoop()/EndLoop() methods. They're empty right now but
  21426. will need to get implemented when we switch to a per-thread queue
  21427. - Implemented SupportsTransparency() method
  21428. - Implemented SetWindowTransparency() method
  21429. - Added support for setting the opacity value when a window is
  21430. reparented (since the opacity needs to be set on the WM frame)
  21431. * XplatUIOSX.cs, XplatUIWin32.cs:
  21432. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  21433. 2006-01-12 Alexander Olk <[email protected]>
  21434. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  21435. 2006-01-12 Alexander Olk <[email protected]>
  21436. * FileDialog.cs: Added ToolTip for MWFFileView
  21437. * MimeIcon.cs: Rewrote GnomeHandler.
  21438. - Get currently used gnome icon theme from
  21439. ($HOME)/.gconf/%gconf-tree.xml
  21440. - Make use of inherited icon themes
  21441. - Support SVG icon themes like Tango via librsvg
  21442. 2006-01-12 Miguel de Icaza <[email protected]>
  21443. Revert's Jackson's revert which broke 2.0 builds. Fix both
  21444. builds.
  21445. * Application.cs: Move the use_compatible_text_rendering outside
  21446. the NET_2_0 define. If we ever need to use the
  21447. use_compatible_text_rendering on the individual controls they will
  21448. access the variable from the common shared code paths.
  21449. 2006-01-12 Peter Dennis Bartok <[email protected]>
  21450. * XplatUI.cs:
  21451. - Added more granular debug options
  21452. - Added method to print both window text and id
  21453. - Switched debug output to use new Window() debug method
  21454. - Added IsEnabled() driver method
  21455. - Added EnableWindow() driver method
  21456. * Form.cs:
  21457. - Removed end_modal; no longer needed, new loop handles termination
  21458. via 'closing' variable
  21459. - If form is modal, setting DialogResult will now initiate loop
  21460. termination via 'closing' variable
  21461. - Added support for is_enabled/WS_DISABLED to CreateParams
  21462. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  21463. does all the work
  21464. - Removed code that's now in RunLoop from ShowDialog()
  21465. - Added various documented sanity checks to ShowDialog()
  21466. - Added handling of WM_DESTROY message; we set 'closing' on getting
  21467. the message to indicate the message pump to terminate
  21468. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  21469. send by the Application.ExitThread method. (We send the message
  21470. to destroy the window after all other events have been
  21471. processed through the queue, instead of destroying the handle
  21472. directly)
  21473. - Moved code from Close() method to WM_CLOSE handler; added logic
  21474. to only send close-related events if the form is not displayed
  21475. modal
  21476. * Splitter.cs (..ctor): Fixed typo in resource name
  21477. * Control.cs:
  21478. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  21479. brush now
  21480. - set_Cursor: Now only setting calling into XplatUI if the handle for
  21481. the control is already created; this avoids implict handle creation
  21482. or crashes if it's not created
  21483. - set_Enabled: Now setting the enabled state via the new driver method
  21484. instead of just tracking it
  21485. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  21486. - CreateControl: Reordered event firing and method calls to more
  21487. closely fire events in the order MS does. Now setting the
  21488. enabled state in the driver when creating the control.
  21489. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  21490. match MS order
  21491. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  21492. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  21493. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  21494. * Hwnd.cs:
  21495. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  21496. - Added EnabledHwnd property to easily allow a driver to find the
  21497. handle of the first enabled window in the parent chain (this is
  21498. used by drivers to pass up input events of disabled windows)
  21499. * XplatUIDriver.cs: Added IsEnabled() method
  21500. * Application.cs:
  21501. - Removed crude and obsolete exiting tracking variable
  21502. - Removed internal ModalRun(); replaced by RunLoop()
  21503. - Implemented private CloseForms() method to allow closing all
  21504. windows owned by a particular (or all) threads
  21505. - Exit() now properly closes all windows without forcing the message
  21506. pump to quit
  21507. - Removed obsolete InternalExit() method
  21508. - Changed Run() methods to use new RunLoop() message pump
  21509. - Implemented new RunLoop() method for both modal and non-modal forms
  21510. * CommonDialog.cs:
  21511. - get_CreateParams: Added setting of WS_DISABLED
  21512. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  21513. invoked via Form.ShowDialog()
  21514. * NativeWindow.cs: We don't remove the window from the collection when
  21515. the handle is destroyed; there might still be messages for it in the
  21516. queue (mainly the resulting WM_DESTROY); instead it will be removed
  21517. when Control calls InvalidateHandle in the WM_DESTROY handler
  21518. * XplatUIX11.cs:
  21519. - CreateWindow: Added logic to handle the WS_DISABLED window style
  21520. - EnableWindow: Implemented based on Hwnd.Enabled
  21521. - GetMessage: Reset PostQuitState so the method can be called again
  21522. - Implemented support for disabled windows (passing messages to the
  21523. first enabled parent) in handling all input messages
  21524. - Added optimizations for handling Expose events
  21525. - Implemeted new driver method IsEnabled()
  21526. - Now always resetting paint pending tracking vars when we start paint
  21527. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  21528. * XplatUIOSX.cs: Added IsEnabled method stub
  21529. * XplatUIWin32.cs: Implemented new IsEnabled() method
  21530. 2006-01-11 Jackson Harper <[email protected]>
  21531. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  21532. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  21533. variables a little.
  21534. * ColorDialog.cs: Clear out the old form before adding the new
  21535. panel.
  21536. 2006-01-11 Jackson Harper <[email protected]>
  21537. * X11Dnd.cs: Make sure to add all the text formats when adding
  21538. strings to the data object.
  21539. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  21540. do some redrawing too. Also change the UpdateNode to an
  21541. UpdateBelow so the newly added node gets painted.
  21542. 2006-01-11 Miguel de Icaza <[email protected]>
  21543. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  21544. LinkLabel.cs, PropertyGrid.cs: Implement the
  21545. UseCompatibleTextRendering property for 2.x
  21546. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  21547. 2006-01-11 Jackson Harper <[email protected]>
  21548. * TreeView.cs: Use the property for setting the selected node so
  21549. the correct events get raised.
  21550. * TreeNode.cs: Update the tree when the fore/back colours of a
  21551. node are set.
  21552. 2006-01-10 Jackson Harper <[email protected]>
  21553. * TreeView.cs: Allow setting SelectedNode to null.
  21554. 2006-01-9 Jonathan Chambers <[email protected]>
  21555. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  21556. 2006-01-9 Jonathan Chambers <[email protected]>
  21557. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  21558. 2006-01-9 Jonathan Chambers <[email protected]>
  21559. * PrintDialog.cs: Added attributes and set default property values.
  21560. 2006-01-9 Jonathan Chambers <[email protected]>
  21561. * PrintControllerWithStatusDialog.cs:
  21562. Added PrintControllerWithStatusDialog.
  21563. 2006-01-9 Jonathan Chambers <[email protected]>
  21564. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  21565. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  21566. 2006-01-9 Jonathan Chambers <[email protected]>
  21567. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  21568. 2006-01-09 Jonathan Chambers <[email protected]>
  21569. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  21570. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  21571. 2006-01-08 Alexander Olk <[email protected]>
  21572. * MimeIcon.cs: Added internal class SVGUtil.
  21573. 2006-01-08 Alexander Olk <[email protected]>
  21574. * FileDialog.cs: Don't crash if there are two files with the
  21575. same name but different locations.
  21576. 2006-01-08 John BouAntoun <[email protected]>
  21577. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  21578. dates across multiple month grids. Used to not highlight entire
  21579. month, but does now.
  21580. 2006-01-06 Jackson Harper <[email protected]>
  21581. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  21582. message loop. Change timer intervals to numbers that seem more
  21583. natural.
  21584. 2006-01-06 John BouAntoun <[email protected]>
  21585. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  21586. object for location info since screen object is now implemented.
  21587. 2006-01-05 Jackson Harper <[email protected]>
  21588. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  21589. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  21590. AsyncMethodResult, this is because we ALWAYS want the
  21591. ManualResetEvent to get set.
  21592. * Control.cs: When disposing use an async invoke to call shutdown
  21593. code, so that thigns don't block on the finalizer thread. Also
  21594. check if we even have a message loop before trying to send
  21595. messages, if we don't then don't bother sending messages.
  21596. - No more weak references for async methods
  21597. * XplatUIDriver.cs: No more weak references for async methods.
  21598. 2006-01-04 Alexander Olk <[email protected]>
  21599. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  21600. returns two FontFamily with the same name
  21601. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21602. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  21603. drawing disabled text. Instead using the ColorGrayText color
  21604. 2006-01-04 Jackson Harper <[email protected]>
  21605. * TreeNode.cs: redraw the node when its image index is changed.
  21606. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21607. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  21608. time I checked there are no others like it.
  21609. 2006-01-04 Jackson Harper <[email protected]>
  21610. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  21611. this gives the behavoir I was looking for.
  21612. * Control.cs: Special case Invoking EventHandlers, this matches MS
  21613. and fixes part of bug #76326.
  21614. 2006-01-04 Alexander Olk <[email protected]>
  21615. * ThemeClearlooks.cs, FileDialog.cs:
  21616. - Reflect the latest Theme class changes
  21617. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  21618. with DateTime
  21619. 2006-01-04 Alexander Olk <[email protected]>
  21620. * Theme.cs: Cache UI resource images and resize them if needed
  21621. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21622. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  21623. is called. This fixes the crash in Nexxia when setting the font
  21624. attributes in the chat. [However, RTF needs a look-over to make sure
  21625. that all SelectionXXX methods handle the special case that selection
  21626. is empty and therefore the change must be applied to all text starting
  21627. at the cursor/selection start]
  21628. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21629. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  21630. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  21631. * X11Keyboard.cs: Switched to new way of calling PostMessage
  21632. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21633. * Theme.cs: Added theme interface for images to allow the theme to
  21634. control what images are used for things like FileDialog, MessageBox
  21635. icons, etc.
  21636. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  21637. 2006-01-03 Alexander Olk <[email protected]>
  21638. * FileDialog.cs:
  21639. - Removed some dead code
  21640. - Opening a recently used file does work now
  21641. - Small UI enhancements
  21642. - Refactoring
  21643. 2006-01-02 Alexander Olk <[email protected]>
  21644. * FileDialog.cs: Forgot too add __MonoCS__
  21645. 2006-01-02 Alexander Olk <[email protected]>
  21646. * FileDialog.cs: We are able to read recently used files now let's
  21647. go on and write them.
  21648. 2006-01-01 Alexander Olk <[email protected]>
  21649. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  21650. button
  21651. * MimeIcon.cs: Do a check for the top level media type also
  21652. 2005-12-31 Alexander Olk <[email protected]>
  21653. * ThemeClearlooks.cs:
  21654. - Added CPDrawStringDisabled
  21655. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  21656. some chars if the text doesn't fit into text_rect
  21657. - DrawListViewItem: If View = View.LargeIcon center the image;
  21658. rewrote the drawing of ListViewItem.Text if View =
  21659. View.LargeIcon
  21660. 2005-12-31 Alexander Olk <[email protected]>
  21661. * MimeIcon.cs: Use default KDE icon theme if there is no
  21662. "48x48" directory for the current icon theme, fixes #77114
  21663. * Mime.cs: Disable not working and actually not used code.
  21664. * ThemeWin32Classic.cs:
  21665. - Replace "new SolidBrush" in GetControlBackBrush and
  21666. GetControlForeBrush with ResPool.GetSolidBrush
  21667. - Changed DrawListViewItem from private to protected virtual
  21668. * FileDialog.cs:
  21669. - Added form.MaximizeBox = true
  21670. - Don't throw an exception if there is a broken symbolic link
  21671. 2005-12-23 Jackson Harper <[email protected]>
  21672. * TabControl.cs: Give the panels focus, keyboard navigation is
  21673. fixed so this works correctly now.
  21674. - We need these key events also.
  21675. * ToolBar.cs: Remove some of the poor mans double buffering.
  21676. 2005-12-24 Alexander Olk <[email protected]>
  21677. * ComboBox.cs: The internal TextBox now returns the focus.
  21678. 2005-12-23 Jackson Harper <[email protected]>
  21679. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  21680. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21681. * Control.cs: Removed debug code
  21682. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  21683. implicit children
  21684. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21685. * Control.cs: When creating the control, update the Z-order after
  21686. all it's children are created, too. (Fixes nexxia not showing
  21687. picturebox bug)
  21688. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21689. * Control.cs: Do not update the anchoring distances if layout is
  21690. suspended, instead do it once layout is resumed
  21691. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21692. * Control.cs:
  21693. - After many hours of debugging, for both Jackson and
  21694. myself, it turns out that it helps to set the parent of a control
  21695. if you want to actually see it onscreen. In the spirit of that
  21696. discovery, we're now setting the parent of the control and
  21697. it's children when the control's handle is created. This fix
  21698. will make Lutz Roeder's Reflector run happily.
  21699. - now just creating the handle instead of the whole control when
  21700. getting a graphics context for the control.
  21701. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21702. * ScrollableControl.cs: When calculating the canvas, don't consider
  21703. the scrollbar widths. Instead, predict if horizontal scrollbar
  21704. will affect canvas when deciding on vertical display and vice versa.
  21705. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21706. * RichTextBox.cs: Set default RTF font for documents that don't
  21707. have a font table (Fixes #77076)
  21708. 2005-12-22 Jackson Harper <[email protected]>
  21709. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  21710. clipboard. This prevents a NullRef in that case.
  21711. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  21712. clipboard. PRIMARY is for the currently selected text only. (We
  21713. should implement PRIMARY at some point.
  21714. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21715. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  21716. a Unicode function with a structure that was defined in Ansi way.
  21717. This fixes #76942.
  21718. 2005-12-21 Jackson Harper <[email protected]>
  21719. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  21720. on. Because thats how it rolls. (and this avoids it using ambient
  21721. colours).
  21722. * ThemeWin32Classic.cs: Use the proper back color for filling.
  21723. * Menu.cs: Use the system menu bar color for drawing menu
  21724. bars. Using the window back color will bring ambient colours into
  21725. the picture.
  21726. 2005-12-21 Alexander Olk <[email protected]>
  21727. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  21728. Bitmaps were created and not disposed.
  21729. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21730. * Control.cs (CreateControl): Don't do anything if the control is
  21731. already created, otherwise we'd fire the OnCreated event more than
  21732. once
  21733. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21734. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  21735. will always match. Instead return -1. Fixes #76464.
  21736. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21737. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  21738. neither the beginning nor the end of the line (Fixes bug #76479)
  21739. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21740. * Control.cs:
  21741. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  21742. where handle is invalid
  21743. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  21744. instead of slower linear search
  21745. * NativeWindow.cs: Don't remove the window from the hashtable until
  21746. after the driver has destroyed it (since the driver might use
  21747. Control.FromHandle to lookup the control object
  21748. * Hwnd.cs: Added DestroyPending property to track if a window is
  21749. already destroyed as far as the driver is concerned and only hasn't
  21750. yet notified the control
  21751. * XplatUIX11.cs:
  21752. - Activate(): Check if the window is still valid before using the
  21753. handle
  21754. - Implemented DestroyChildWindow() method to mark child windows as
  21755. destroyed when a window is destroyed. This prevents situations
  21756. where we might call an X method based on queued events for a
  21757. window that already has been destroyed but we haven't yet pulled
  21758. the destroy method from the queue.
  21759. - Added a call to the new DestroyChildWindow() method to the drivers
  21760. DestroyWindow code. Also now marking the destroyed window itself
  21761. as pending
  21762. 2005-12-20 Jackson Harper <[email protected]>
  21763. * StatusBar.cs:
  21764. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  21765. anymore. Just do them when needed, also track the rects of panels
  21766. so that we can optimize refreshing more in the future.
  21767. 2005-12-20 Alexander Olk <[email protected]>
  21768. * ColorDialog.cs: Fixed focus drawing in small color controls
  21769. 2005-12-19 Jackson Harper <[email protected]>
  21770. * InternalWindowManager.cs:
  21771. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  21772. moving windows works properly.
  21773. 2005-12-19 Peter Dennis Bartok <[email protected]>
  21774. * Control.cs:
  21775. - Removed call to InitLayout() from SetBoundsCore(); doc says
  21776. it's only called when a control is added to a container
  21777. - Split InitLayout logic, moved to separate UpdateDistances() method
  21778. since we need to perform those calculations more often than just
  21779. when adding the control to a container. (Needed to fix #77022)
  21780. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  21781. - Reduced the OnBindingContextChanged events count, don't send them
  21782. unless the control is created, we still aren't totally matching
  21783. MS, but I can't quite figure out some of their rules
  21784. 2005-12-18 Alexander Olk <[email protected]>
  21785. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  21786. stripes
  21787. 2005-12-18 Alexander Olk <[email protected]>
  21788. * ThemeClearlooks.cs:
  21789. - Updated ProgressBar drawing
  21790. - Corrected drawing of ScrollBars and scroll buttons
  21791. - Some temporary fixes for minor pixel artefacts
  21792. 2005-12-18 Peter Dennis Bartok <[email protected]>
  21793. * Control.cs:
  21794. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  21795. cause events to be sent in the same order as MS does.
  21796. - Added ChangeParent() method to trigger various OnXXXChanged events
  21797. that need to be fired when a parent changes (This is a reworking
  21798. of the patch from r54254, with the X11 errors fixed)
  21799. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  21800. since on MS we get OnLayoutChanged events when calling Clear()
  21801. - Changed Enabled property to consider parent state as well, if a
  21802. parent is not enabled, the control will not be either
  21803. - Changed Parent property to simply call Controls.Add() since that
  21804. now does all the work required, this way we avoid code duplication
  21805. - Threw in a few OnBindingsContextChanged calls to try and match
  21806. when MS sends them. We seem to send a few too many, though.
  21807. - Added call to CreateControl when adding the control to a parent.
  21808. We were never calling CreateControl. Still needs some work, in
  21809. some places we treat HandleCreated and ControlCreated as equal,
  21810. which is wrong
  21811. - Removed obsolete commented out code from UpdateZOrder()
  21812. 2005-12-18 Alexander Olk <[email protected]>
  21813. * ThemeClearlooks.cs: Updated TrackBar drawing.
  21814. 2005-12-17 Alexander Olk <[email protected]>
  21815. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  21816. 2005-12-17 Alexander Olk <[email protected]>
  21817. * FileDialog.cs: Add the Help button and the open readonly
  21818. checkbox only if needed
  21819. 2005-12-16 Jackson Harper <[email protected]>
  21820. * Control.cs: Make sure we have an active menu before trying to
  21821. process commands on it. Prevents menu-less forms from crashing
  21822. when Alt is pressed.
  21823. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  21824. Dieter Bremes.
  21825. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  21826. 2.0 build.
  21827. 2005-12-16 Jackson Harper <[email protected]>
  21828. * InternalWindowManager.cs: Don't translate tool windows screen
  21829. coordinates. This fixes windows 'bouncing' around when being moved.
  21830. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21831. * TextBoxBase.cs:
  21832. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  21833. not quite MS compatible, MS uses that number only for single line
  21834. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  21835. the limit at 2GB)
  21836. - Now enforcing the MaxLength limit when entering characters
  21837. - Added argument to internal Paste() method to track if it's called
  21838. from programatically or via keyboard, since keyboard driven pastes
  21839. need to enforce max-length
  21840. - Added logic to Paste to only paste as many chars as MaxLength
  21841. allows
  21842. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  21843. * TextControl.cs:
  21844. - Added Length property to return number of characters in document
  21845. - Added private CharCount property which only tracks actual chars
  21846. in the document (no linefeeds) and fires event when CharCount
  21847. changes
  21848. - Added tracking of character count to all methods that alter it
  21849. - Added LengthChanged event to allow applications to subscribe
  21850. to any changes to the document
  21851. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21852. * TextBox.cs:
  21853. - Removed local password_char field (moved to TextBoxBase)
  21854. - Now setting the document's password var when password is
  21855. set
  21856. * TextBoxBase.cs:
  21857. - Added password_char field (needed here so MultiLine can
  21858. access it)
  21859. - Added logic to MultiLine property setter to set the document's
  21860. variable when password display is allowed
  21861. - Removed debug code and made some debug code conditional
  21862. * TextControl.cs:
  21863. - Added RecalculatePasswordLine() method to handle special password
  21864. char only lines
  21865. - Added PasswordChar property, also added related tracking vars
  21866. - Draw() method now uses local text var for grabbing text to draw,
  21867. this var is set to line.text unless we're doing password display,
  21868. then it is set to the pre-generated all-password-chars line
  21869. - Added calling RecalculatePasswordLine() method for password lines
  21870. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21871. * Hwnd.cs:
  21872. - Added Reparented property to allow tracking of Window Manager
  21873. reparenting actions (which affect X/Y calculations of toplevel
  21874. windows)
  21875. - Made ToString() print window handles in hex
  21876. * XplatUIX11.cs:
  21877. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  21878. determine if X/Y needs offsetting
  21879. - AddConfigureNotify(): Fixed offset calculations
  21880. - Now adds ReparentNotify messages into the queue
  21881. - Now processes ReparentNotify messages and causes a
  21882. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  21883. is reparented (as most likely it's X/Y coordinates are changed
  21884. due to that)
  21885. 2005-12-14 Jackson Harper <[email protected]>
  21886. * XplatUIX11.cs: Tool windows still need to respek focus.
  21887. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21888. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  21889. have a working release
  21890. 2005-12-13 Jackson Harper <[email protected]>
  21891. * Form.cs: Update styles after setting the border style regardless
  21892. of whether or not the window is using a window manager.
  21893. 2005-12-13 Jackson Harper <[email protected]>
  21894. * Form.cs: We now hook into an internal window manager instead of just an
  21895. MDI subsystem, this is so we can have properly behaving tool windows.
  21896. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  21897. * InternalWindowManager.cs: New internal class that acts as a
  21898. window manager for tool windows and as a base for mdi windows.
  21899. * MdiWindowManager.cs: New class that acts as a window manager for
  21900. mdi windows.
  21901. 2005-12-12 Jackson Harper <[email protected]>
  21902. * Control.cs: Updates so we match behavoir for for implicit
  21903. controls. Fixes explosions in MDI.
  21904. 2005-12-12 Jackson Harper <[email protected]>
  21905. * Control.cs: Implement Invalidate (Region).
  21906. 2005-12-12 Peter Dennis Bartok <[email protected]>
  21907. * Control.cs:
  21908. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  21909. the same events as MS does. MS fires events for each property
  21910. except, for unknown reasons, Cursor, when the control is reparented.
  21911. I can't seem to totally match add/remove since MS also fires some
  21912. VisibleChanged events, which makes no sense. Consolidated the
  21913. parenting code into a separate method so it can be called from
  21914. both Add and Remove. set_Parent no longer needs any special logic
  21915. as it calls the parent's add method which implicitly fires
  21916. all events
  21917. - Removed some obsolete code and debug output
  21918. - Enabled state is inherited from parents, if this is enabled
  21919. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21920. * Form.cs: Removed commented out code
  21921. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21922. * Control.cs:
  21923. - Added internal version of Invoke, with additional argument
  21924. indicating if we're calling it from a Dispose() handler. That
  21925. way we can avoid BeginInvoke throwing an exception if we're
  21926. calling for an already destroyed window.
  21927. - Added a dispose argument to BeginInvokeInternal, and made the
  21928. check if a valid window handle chain exists conditional on
  21929. it not being a dispose call
  21930. - Removed code in DestroyHandle to destroy our children. Since we
  21931. now handle the WM_DESTROY message we will catch all our children
  21932. being destroyed.
  21933. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  21934. * Form.cs:
  21935. - Added a field to track the application context of the form.
  21936. - No need to set closing variable as response to WM_CLOSE, instead
  21937. we destroy the window. We also call PostQuitMessage if the form
  21938. has an application context (which makes it the main app form,
  21939. which, when closed terminates the app)
  21940. * XplatUI.cs:
  21941. - Dropped Exit() method, it's naming was confusing
  21942. - Added PostQuitMessage() which causes GetMessage to return false
  21943. once the message queue is empty
  21944. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  21945. PostQuitMessage()
  21946. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  21947. no longer a valid XplatUI method, but left it in since it's used
  21948. internally. Added empty PostQuitMessage() method.
  21949. * MenuAPI.cs: Replaced call to Exit() with call to
  21950. PostQuitMessage, even though this is probably no longer needed.
  21951. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  21952. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  21953. * Application.cs:
  21954. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  21955. - Removed old debug code that would call XplatUI for exception
  21956. display, enabled standard exception handling (Still not enabled
  21957. though, until NativeWindow's ExternalExceptionHandler define
  21958. is removed
  21959. * NativeWindow.cs:
  21960. - Added internal method to allow control to update NativeWindow
  21961. after a window has been destroyed
  21962. - Added handling of already destroyed windows when calling i
  21963. DestroyWindow
  21964. - Added removal of handle from list on ReleaseHandle
  21965. * XplatUIX11.cs:
  21966. - Dropped GetMessageResult var and related code
  21967. - Added PostQuitState to field to track if PostQuitMessage has been
  21968. called
  21969. - Dropped Exit() method
  21970. - Added PostQuitMessage() method
  21971. - GetMessage now will return false if PostQuitState is set and no
  21972. more messages are in the queue.
  21973. - Expose handler will no longer generate WM_PAINT messages if we are
  21974. in PostQuitState since it's very likely any windows have already
  21975. been destroyed, and since Hwnd won't get updated until we have
  21976. processed the DestroyNotify we'd be causing X errors.
  21977. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21978. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  21979. Thanks to Mike for pointing out the err of my ways.
  21980. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21981. * Control.cs(PreProcessMessage): Moved menu handling back, but
  21982. after all other key handling, to match MS (who handles Menu in
  21983. DefWndProc)
  21984. * Menu.cs (WndProc): Removed my brainfart
  21985. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21986. * Control.cs(PreProcessMessage): Removed special menu handling
  21987. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  21988. 2005-12-07 Mike Kestner <[email protected]>
  21989. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  21990. state according in tracker.
  21991. * Menu.cs : promote tracker field to base class and provide a tracker
  21992. lookup capability. Add/Remove shortcuts dynamically if the top menu
  21993. has a tracker. Unparent items that are removed from the collection.
  21994. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  21995. * Theme*.cs: add always_show_hotkeys field to support configurability
  21996. of mnemonic display. win32 doesn't show mnemonics until Alt is
  21997. pressed.
  21998. 2005-12-07 Jackson Harper <[email protected]>
  21999. * MdiChildContext.cs: Use Control.ResetCursor.
  22000. * Control.cs: ResetCursor needs to set the property so that the
  22001. correct XplatUI call gets made.
  22002. 2005-12-07 Peter Dennis Bartok <[email protected]>
  22003. * Control.cs: More fixes to make our key events match MS. We
  22004. were not setting the modifier state on KeyData, and we were
  22005. not generating any events when Alt was pressed with a key
  22006. since handling of WM_SYSxxx was missing for the OnKey methods.
  22007. 2005-12-07 Jackson Harper <[email protected]>
  22008. * MdiChildContext.cs: reenable the sizing code.
  22009. - When the mouse leaves a window reset its cursor.
  22010. 2005-12-07 Alexander Olk <[email protected]>
  22011. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  22012. 2005-12-07 Peter Dennis Bartok <[email protected]>
  22013. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  22014. widths of Fixed3D borders
  22015. 2005-12-07 Jackson Harper <[email protected]>
  22016. * MdiClient.cs: Fix warnings. Earn Mike's love.
  22017. 2005-12-07 Alexander Olk <[email protected]>
  22018. * ThemeClearlooks.cs:
  22019. - Adjusted mouse over button color
  22020. - Added first parts of CheckBox drawing
  22021. - Added correct color for selected text background
  22022. - Fixed ComboBox drawing
  22023. - Added CPDrawBorder3D and CPDrawBorder
  22024. 2005-12-06 Peter Dennis Bartok <[email protected]>
  22025. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  22026. 2005-12-06 Peter Dennis Bartok <[email protected]>
  22027. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  22028. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  22029. alert users via sound. We could add an enum arg with different
  22030. types of alerts in the future
  22031. 2005-12-06 Peter Dennis Bartok <[email protected]>
  22032. * Control.cs: Fix behaviour problems pointed out by Mike
  22033. 2005-12-05 Mike Kestner <[email protected]>
  22034. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  22035. prop setters. Calls parent.Refresh for now, but could be maybe be
  22036. optimized with an internal method on StatusBar at some point.
  22037. [Fixes #76513]
  22038. 2005-12-05 Peter Dennis Bartok <[email protected]>
  22039. * RichTextBox.cs: Implemented get_SelectionColor
  22040. 2005-12-05 Alexander Olk <[email protected]>
  22041. * ThemeClearlooks.cs:
  22042. - Removed dead code
  22043. - Draw black button border only if button is Form.AcceptButton
  22044. - Draw correct button color for pressed RadioButton if the mouse
  22045. has entered the button
  22046. - Updated ProgressBar drawing!
  22047. - Updated CPDrawSizeGrip drawing
  22048. - Updated StatusBarPanel drawing
  22049. 2005-12-05 Mike Kestner <[email protected]>
  22050. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  22051. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  22052. 2005-12-04 Alexander Olk <[email protected]>
  22053. * ThemeClearlooks.cs: Initial check-in, activate with
  22054. export MONO_THEME=clearlooks
  22055. * ThemeEngine.cs: Added ThemeClearlooks
  22056. 2005-12-03 Mike Kestner <[email protected]>
  22057. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  22058. [Fixes #76897]
  22059. 2005-12-02 Jackson Harper <[email protected]>
  22060. * Form.cs: If the child form has no menu the default main menu is
  22061. used as the active menu.
  22062. 2005-12-02 Peter Dennis Bartok <[email protected]>
  22063. * ListBox.cs: Check if any items exist before trying to resolve
  22064. coordinates into items
  22065. 2005-12-02 Peter Dennis Bartok <[email protected]>
  22066. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  22067. as the second color for the background hatch
  22068. 2005-12-02 Peter Dennis Bartok <[email protected]>
  22069. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  22070. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  22071. sure that what we pass to FormatText is always 1-based. Fixes #76885
  22072. 2005-11-29 Miguel de Icaza <[email protected]>
  22073. * NumericUpDown.cs (EndInit): When we are done initializing,
  22074. reflect any updates on the UI.
  22075. 2005-12-02 Jackson Harper <[email protected]>
  22076. * ImplicitHScrollBar.cs:
  22077. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  22078. their container controls.
  22079. * TreeView.cs: Use the new implicit scrollbars.
  22080. 2005-12-02 Jackson Harper <[email protected]>
  22081. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  22082. can play with it.
  22083. * TreeNodeCollection.cs: If we remove the topnode we need to
  22084. update topnode to the next node in line.
  22085. - When clearing nodes go through the same process as removing
  22086. them, so they get depareneted and checked if they are top node.
  22087. 2005-12-01 Jackson Harper <[email protected]>
  22088. * TreeView.cs: When imagelists are used the image area is
  22089. selectable as well as the text.
  22090. - If there are no selected nodes select the first one.
  22091. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  22092. so don't do it more then we need to.
  22093. 2005-12-01 Jackson Harper <[email protected]>
  22094. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  22095. that arrows can be scaled.
  22096. 2005-12-01 Jackson Harper <[email protected]>
  22097. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  22098. fail. Patch by Dieter Bremes
  22099. 2005-11-30 Jackson Harper <[email protected]>
  22100. * Form.cs: Property is 2.0 only
  22101. * PrintDialog.cs: Signature fix.
  22102. 2005-11-30 Peter Dennis Bartok <[email protected]>
  22103. * TextControl.cs:
  22104. - No longer artificially moves text 2 pixels down (now that we have
  22105. borders this is no longer needed)
  22106. - Added calcs for left, hanging and right indent
  22107. 2005-11-23 Mike Kestner <[email protected]>
  22108. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  22109. 2005-11-30 Jackson Harper <[email protected]>
  22110. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  22111. get cloned as part of CloneMenu ().
  22112. * Menu.cs: Make sure the parent of the items get set correctly
  22113. when they are added. And the owners are notified of the changes.
  22114. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  22115. we can change the menu being displayed/handled by the form without
  22116. changing the menu assosciated with the form.
  22117. - Don't let Mdi children draw/handle menus.
  22118. 2005-11-30 Jackson Harper <[email protected]>
  22119. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  22120. a MenuChanged event. Just to make the API a little more
  22121. consistent.
  22122. * MainMenu.cs:
  22123. * MenuItem.cs: Use the new OnMenuChanged
  22124. * MdiChildContext.cs: Handle menu merging.
  22125. * Form.cs: Implement MergedMenu.
  22126. 2005-11-30 Jackson Harper <[email protected]>
  22127. * Menu.cs: We were misusing Add. Add goes behind the specified
  22128. index according to the docs, and does not replace the specified
  22129. index. So I added an Insert method.
  22130. 2005-11-30 Peter Dennis Bartok <[email protected]>
  22131. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  22132. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  22133. is for Jackson
  22134. * RichTextBox.cs: Added calls to base for DnD events
  22135. 2005-11-28 Peter Dennis Bartok <[email protected]>
  22136. * TextControl.cs:
  22137. - Fixed drag-selection related crash; style fixes
  22138. - Implemented undo class
  22139. o Implemented method to capture document state for specified
  22140. range in document tree
  22141. o Implemented method to restore captured document state
  22142. o Implemented cursor tracking
  22143. o Implemented basic undo stack
  22144. - Added undo cursor tracking to methods altering cursor location
  22145. - Added undo tracking to selection deletion (still missing
  22146. other text-altering hookups)
  22147. * RichTextBox.cs:
  22148. - Added SelectionLength property
  22149. - Implemented CanPaste()
  22150. - Implemented Paste()
  22151. - Added missing protected methods
  22152. - Fixed RTF->Document conversion; now uses font index 0 and color
  22153. index 0 as the default font for the parsed text
  22154. - Fixed RTF<->Document font size translation
  22155. - Fixed RTF generation, now properly handles cross-tag boundaries
  22156. for single line selection
  22157. - No longer always appends blank line to generated RTF
  22158. - Removed TODOs
  22159. - Added missing attributes
  22160. - Hooked up undo-related methods
  22161. * TextBoxBase.cs:
  22162. - Implemented Copy()
  22163. - Implemented Paste()
  22164. - Implemented Cut()
  22165. - Fixed caret mis-behaviour on backspace across line-boundaries
  22166. 2005-11-29 Jackson Harper <[email protected]>
  22167. * MdiClient.cs: Add a method for activating mdi children. Very
  22168. basic right now. I imagine someday it might need more girth.
  22169. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  22170. children windows names are added to the menu item.
  22171. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  22172. mdilist. This happens regardless of whether or not there are any
  22173. mdi windows to see in the list, and according to my tests happens
  22174. before the items are even added. Also happens if there isn't even
  22175. an mdi client to get windows from.
  22176. 2005-11-29 Alexander Olk <[email protected]>
  22177. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  22178. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  22179. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  22180. * DataGridTableStyle.cs:
  22181. - Create always the styles for the missing columns even if they are
  22182. provided by the user (not default table style)
  22183. * DataGrid.cs:
  22184. - Fixes bug 76770
  22185. - Fixes SetDataBinding (always re-attach source)
  22186. - Fixes SetNewDataSource (only clear styles if they are not for
  22187. this source)
  22188. - Expands OnTableStylesCollectionChanged to handle style refresh
  22189. and remove properly
  22190. 2005-11-29 Jackson Harper <[email protected]>
  22191. * FileDialog.cs: Implement missing bits, remove some dead
  22192. code.
  22193. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  22194. creation of the panel so that the options set on the dialog are
  22195. seen when the panel is created.
  22196. * TreeView.cs: raise a click when items are clicked.
  22197. 2005-11-29 Jackson Harper <[email protected]>
  22198. * MdiClient.cs: Pass some signature methods through to base.
  22199. 2005-11-28 Jackson Harper <[email protected]>
  22200. * ListView.cs: Raise the click event when items are clicked.
  22201. 2005-11-28 Jackson Harper <[email protected]>
  22202. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  22203. a nullref.
  22204. 2005-11-27 Alexander Olk <[email protected]>
  22205. * ThemeNice.cs: - Removed 1 pixel bitmaps
  22206. - Use SmoothingMode.AntiAlias where it makes sense
  22207. (ScrollButton arrow for example)
  22208. - Enhanced Button focus drawing
  22209. - Fixed ComboBox drawing (no artefacts anymore, focus
  22210. rectangle is back again, reduced size of ComboButton, etc.)
  22211. - Fixed RadioButton focus drawing for Appearence.Button
  22212. - Slight ScrollButton redesign
  22213. - Some LinearGradientBrush size fixes
  22214. - GroupBoxes have now rounded edges
  22215. - Fixed StatusBar drawing
  22216. 2005-11-25 Alexander Olk <[email protected]>
  22217. * ThemeNice.cs: - Remove dead code
  22218. - use correct background colors for menus, etc.
  22219. - Fake pixel drawing with 1 pixel bitmaps
  22220. 2005-11-24 Jackson Harper <[email protected]>
  22221. * MdiClient.cs: Size the scrollbars when resizing the window.
  22222. - Resize the maximized windows when the client is resized
  22223. * Form.cs: Make the child context available
  22224. 2005-11-23 Jackson Harper <[email protected]>
  22225. * MdiChildContext.cs: Don't size windows if they are maximized.
  22226. 2005-11-23 Mike Kestner <[email protected]>
  22227. * ContextMenu.cs: use MenuTracker.
  22228. * Control.cs: remove menu handle usage.
  22229. * Form.cs: remove menu handle usage.
  22230. * Hwnd.cs: remove menu handle usage.
  22231. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  22232. motion and clicks to the new Tracker handlers.
  22233. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  22234. and handle usage.
  22235. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  22236. Killed the MENU and MENUITEM data types and associated collections
  22237. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  22238. MenuTracker class that exposes the leftovers from the old MenuAPI
  22239. static methods. Restructured Capture handling so that only one grab is
  22240. done for the entire menu hierarchy instead of handing off grabs to
  22241. submenus. Tracker now has an invisible control to Capture when active.
  22242. * MenuItem.cs: add sizing accessors, kill Create
  22243. and handle usage.
  22244. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  22245. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  22246. MENU(ITEM). remove menu handle usage, use Menu directly.
  22247. * XplatUIDriver.cs: remove menu handle usage.
  22248. * XplatUIOSX.cs: remove menu handle usage.
  22249. * XplatUIWin32.cs: remove menu handle usage.
  22250. * XplatUIX11.cs: remove menu handle usage.
  22251. 2005-11-22 Jackson Harper <[email protected]>
  22252. * Hwnd.cs: Don't compute the menu size for
  22253. DefaultClientRectangle.
  22254. - Reenable menu sizes being computed for GetClienRectangle.
  22255. * Form.cs: Remove comment of trechery
  22256. 2005-11-22 Jackson Harper <[email protected]>
  22257. * Hwnd.cs: The adjustments for the menu bar are made when it is
  22258. attached to the form.
  22259. 2005-11-19 Jackson Harper <[email protected]>
  22260. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  22261. (just like on windows).
  22262. 2005-11-19 Jackson Harper <[email protected]>
  22263. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  22264. use real buttons anymore because they are in non client area. The
  22265. one TODO here is that I need to somehow invalidate a section of
  22266. the non client area.
  22267. 2005-11-18 Jackson Harper <[email protected]>
  22268. * Control.cs: Put the enum check back in now that MDI doesnt have
  22269. to use this to set border styles.
  22270. * Form.cs: Only set mdi child windows borders if the handle has
  22271. been created.
  22272. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  22273. this directly on to the driver.
  22274. - Get the move start position before adjusting for the titlebar
  22275. height, this fixes the windows "skipping" when they are first
  22276. moved.
  22277. 2005-11-18 Jackson Harper <[email protected]>
  22278. * XplatUIX11.cs: Just compute the mdi borders separately as they
  22279. don't totally match up with normal form borders.
  22280. 2005-11-18 Jackson Harper <[email protected]>
  22281. * Control.cs: Set WS_ styles for borders, so that the driver does
  22282. not have to retrieve the control instance to figure out what kind
  22283. of borders it should have.
  22284. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  22285. driver can know its an mdi child easily.
  22286. * XplatUIX11.cs: Get the border styles and whether the window is
  22287. MDI from the Styles and ExStyles params instead of having to get a
  22288. control. This prevents a chicken and egg problem.
  22289. 2005-11-18 Jackson Harper <[email protected]>
  22290. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  22291. 2005-11-18 Jackson Harper <[email protected]>
  22292. * MdiClient.cs: Calculate when to add and remove scrollbars
  22293. correctly.
  22294. * MdiChildContext.cs: Adjust the y position to take the titlebar
  22295. into account.
  22296. - No height for FormBorderStyle.None
  22297. 2005-11-18 Jackson Harper <[email protected]>
  22298. * Control.cs: Allow non enum values to be used for
  22299. InternalBorderStyle. MDI does this to set a special border style.
  22300. - New utility methods for converting points to/from client coords
  22301. - Add the newly created control to the Controls collection before
  22302. updating its style. This way UpdateStyle can walk the control
  22303. heirarchy to find the control if needed.
  22304. so I don't need to create a new Point object all the time.
  22305. * Form.cs: Let MDI windows handle their border styles.
  22306. - Set styles on MDI windows so the correct title style is derived.
  22307. * MdiChildContext.cs: Move all the painting and window handling
  22308. into the non client area.
  22309. - Use correct sizing and put correct buttons on frames based on
  22310. the FormBorderStyle.
  22311. - Notify the mdi client about scrolling
  22312. - Need to handle the buttons ourselves now, because they are all
  22313. in non client areas and we can't add controls there.
  22314. * MdiClient.cs: Halfway to scrolling, this implementation is
  22315. somewhat broken though, we need to check to make sure other
  22316. windows aren't causing scrolling before removing the bars. Also
  22317. the bars need to be drawn on top, maybe I can switch implicit
  22318. controls to be on top.
  22319. * Hwnd.cs: caption_height and tool_caption_height are now
  22320. properties of an hwnd, this way they can be set by the driver
  22321. based on the type of window they are. In X11 the window manager
  22322. handles the decorations so caption_height is zero unless its an
  22323. MDI window.
  22324. - Add 3 pixel borders for MDI windows (0xFFFF).
  22325. - Get rid of some code duplication, have DefaultClientRectanle
  22326. just call GetClientRectangle.
  22327. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  22328. Hwnd now.
  22329. - Set border styles differently for mdi windows.
  22330. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  22331. Hwnd now.
  22332. 2005-11-15 Mike Kestner <[email protected]>
  22333. * Menu.cs: when adding an item to the collection, if item is already
  22334. parented, remove it from the parent.
  22335. 2005-11-13 Alexander Olk <[email protected]>
  22336. * X11DesktopColors.cs: Added KDE support
  22337. 2005-11-11 Peter Dennis Bartok <[email protected]>
  22338. * XplatUIWin32.cs:
  22339. - Clipboard methods now can translate Rtf format
  22340. - No longer removes clipboard contents whenever a new format is added
  22341. to allow placing multiple formats on the clipboard
  22342. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  22343. will place all formats contained in it onto the clipboard. Also
  22344. now cleans the clipboard before placing a new object onto it
  22345. * RichTextBox.cs:
  22346. - Implemented set_Rtf
  22347. - Implemented set_SelectedRtf
  22348. - Created InsertRTFFromStream() method to allow single code base
  22349. for all properties and methods that insert RTF into document
  22350. - Removed debug output
  22351. * TextControl.cs:
  22352. - Fixed Delete(int) to fix up line numbers
  22353. - Fixed ReplaceSelection to combine start and end line
  22354. - Fixed serious DeleteChars bug that would leave the document tree
  22355. broken
  22356. - Improved DumpTree with several logic checks to detect broken
  22357. document trees
  22358. - Removed debug lines
  22359. - Fixed Caret.WordForward/WordBack moving code, now always also
  22360. updates caret.tag (fixes crash when word-selecting across tag
  22361. boundaries via keyboard)
  22362. - Added Insert() method for inserting multiline text into documents
  22363. - Fixed DeleteChars() calculation errors that would cause a broken
  22364. tag chain with multiple tag lines
  22365. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  22366. - Split() no longer moves caret if split is at caret location
  22367. - ReplaceSelection() now updates the cursor and re-displays it
  22368. - ReplaceSelection() now uses new Insert() method to avoid code
  22369. duplication
  22370. - FormatText() can now handle formatting partial lines
  22371. * TextBoxBase.cs:
  22372. - Append now uses new TextControl.Insert() method (this avoids
  22373. duplicate code)
  22374. - Implemented Ctrl-X (Cut) (
  22375. - Implemented Ctrl-C (Copy)
  22376. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  22377. regeneration when pasting text; roundtripping Copy&Paste within
  22378. edit control still fails due to some calculation bugs in GenerateRTF)
  22379. - The Delete key will now remove the current selection if it is visible
  22380. * TextBox.cs: Removed debug lines
  22381. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  22382. driver to be initialized and can't therefore be done via a static ctor)
  22383. 2005-11-10 Peter Dennis Bartok <[email protected]>
  22384. * TextControl.cs: Added backend code for finding char arrays and strings
  22385. * TextBoxBase.cs:
  22386. - Added mouse wheel scroll support
  22387. - Added support for VScroll and HScroll events
  22388. * RichTextBox.cs:
  22389. - Implemented all seven Find() variants
  22390. - Implemented GetCharFromPosition()
  22391. - Implemented GetCharIndexFromPosition()
  22392. - Implemented GetLineFromIndex()
  22393. - Implemented GetPositionFromCharIndex();
  22394. - Implemented SaveFile for PlainText and UnicodeText
  22395. - Fixed set_Font, now setting a new font applies that font to
  22396. the whole document
  22397. - Implemented generic Document to RTF converter
  22398. - Implemented SaveFile for RichText format (still missing unicode
  22399. conversion for non-ansi chars)
  22400. - Implemented get_Rtf
  22401. - Implemented get_SelectedRtf
  22402. 2005-11-09 Peter Dennis Bartok <[email protected]>
  22403. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  22404. to allow any captures to be released before triggering OnClick. This
  22405. way a click handler may capture the mouse without interference.
  22406. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  22407. This way we send them even though X may not allow a grab (if the window
  22408. isn't visible, for example)
  22409. 2005-11-08 Pedro Martinez Julia <[email protected]>
  22410. * DataGridViewRowEventArgs.cs: DataGridView implementation
  22411. * DataGridViewElement.cs: DataGridView implementation
  22412. * DataGridViewComboBoxCell.cs: DataGridView implementation
  22413. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  22414. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  22415. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  22416. * ImageLayout.cs: DataGridView implementation
  22417. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  22418. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  22419. * DataGridViewSelectionMode.cs: DataGridView implementation
  22420. * IDataGridViewEditingControl.cs: DataGridView implementation
  22421. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  22422. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  22423. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  22424. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  22425. * DataGridViewColumnSortMode.cs: DataGridView implementation
  22426. * DataGridView.cs: DataGridView implementation
  22427. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  22428. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  22429. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  22430. * Padding.cs: DataGridView implementation
  22431. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  22432. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  22433. * DataGridViewRowEventHandler.cs: DataGridView implementation
  22434. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  22435. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  22436. * DataGridViewButtonCell.cs: DataGridView implementation
  22437. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  22438. * DataGridViewEditMode.cs: DataGridView implementation
  22439. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  22440. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  22441. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  22442. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  22443. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  22444. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  22445. * DataGridViewCellEventHandler.cs: DataGridView implementation
  22446. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  22447. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  22448. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  22449. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  22450. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  22451. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  22452. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  22453. * QuestionEventArgs.cs: DataGridView implementation
  22454. * IDataGridViewEditingCell.cs: DataGridView implementation
  22455. * DataGridViewTriState.cs: DataGridView implementation
  22456. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  22457. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  22458. * DataGridViewColumnCollection.cs: DataGridView implementation
  22459. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  22460. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  22461. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  22462. * DataGridViewColumn.cs: DataGridView implementation
  22463. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  22464. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  22465. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  22466. * DataGridViewRow.cs: DataGridView implementation
  22467. * DataGridViewImageCellLayout.cs: DataGridView implementation
  22468. * DataGridViewImageCell.cs: DataGridView implementation
  22469. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  22470. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  22471. * DataGridViewHeaderCell.cs: DataGridView implementation
  22472. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  22473. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  22474. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  22475. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  22476. * QuestionEventHandler.cs: DataGridView implementation
  22477. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  22478. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  22479. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  22480. * DataGridViewCell.cs: DataGridView implementation
  22481. * DataGridViewCellEventArgs.cs: DataGridView implementation
  22482. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  22483. * DataGridViewCellStyle.cs: DataGridView implementation
  22484. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  22485. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  22486. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  22487. * TextFormatFlags.cs: DataGridView implementation
  22488. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  22489. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  22490. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  22491. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  22492. * DataGridViewButtonColumn.cs: DataGridView implementation
  22493. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  22494. * HandledMouseEventArgs.cs: DataGridView implementation
  22495. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  22496. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  22497. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  22498. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  22499. * DataGridViewRowCollection.cs: DataGridView implementation
  22500. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  22501. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  22502. * DataGridViewHitTestType.cs: DataGridView implementation
  22503. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  22504. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  22505. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  22506. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  22507. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  22508. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  22509. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  22510. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  22511. * DataGridViewContentAlignment.cs: DataGridView implementation
  22512. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  22513. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  22514. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  22515. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  22516. * DataGridViewPaintParts.cs: DataGridView implementation
  22517. * DataGridViewCellCollection.cs: DataGridView implementation
  22518. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  22519. * DataGridViewImageColumn.cs: DataGridView implementation
  22520. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  22521. * DataGridViewElementStates.cs: DataGridView implementation
  22522. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  22523. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  22524. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  22525. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  22526. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  22527. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  22528. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  22529. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  22530. * DataGridViewTextBoxCell.cs: DataGridView implementation
  22531. * DataGridViewBand.cs: DataGridView implementation
  22532. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  22533. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  22534. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  22535. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  22536. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  22537. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  22538. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  22539. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  22540. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  22541. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  22542. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  22543. 2005-11-08 Peter Dennis Bartok <[email protected]>
  22544. * ThemeWin32Classic.cs:
  22545. - Draw the outside focus rectangle around buttons
  22546. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  22547. doesn't use end caps for every dash of a line anymore. This
  22548. workaround ignores the forecolor.
  22549. 2005-11-08 Kornél Pál <[email protected]>
  22550. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  22551. endian safe.
  22552. 2005-11-07 Jackson Harper <[email protected]>
  22553. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  22554. 2005-11-07 Jackson Harper <[email protected]>
  22555. * ScrollableControl.cs: Calculate the maximum and change vars
  22556. (more) correctly so that scrollbars appear as a sensible size.
  22557. 2005-11-04 Jackson Harper <[email protected]>
  22558. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  22559. collection.
  22560. * TreeView.cs: When the tree is sorted null out the top_node so
  22561. that it is recalculated.
  22562. - Use dotted lines instead of dashed lines to match MS better.
  22563. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  22564. * ListView.cs:
  22565. - Implements key search for items. Useful when browsing files with FileDialog
  22566. - When changing view mode or when clear the items reset scrollbar positions
  22567. 2005-11-04 Jackson Harper <[email protected]>
  22568. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  22569. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  22570. as to what the method may do as there is no real way of creating a
  22571. derived CurrencyManager and calling the method.
  22572. 2005-11-03 Jackson Harper <[email protected]>
  22573. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  22574. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  22575. method which seems to just be used internally to refresh the tabs.
  22576. 2005-11-03 Jackson Harper <[email protected]>
  22577. * TabControl.cs: Implement the remove method. Fix some broken
  22578. comments.
  22579. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22580. * DateTimePicker.cs:
  22581. - Added missing DateTimePickerAccessibleObject class
  22582. - Added missing events
  22583. - Added OnFontChanged method
  22584. * Form.cs: Added missing attributes
  22585. * TreeView.cs: Added missing attributes
  22586. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22587. * GridItemCollection.cs: Fix signatures
  22588. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22589. * XplatUI.cs: Updated build rev/date
  22590. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  22591. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  22592. * Application.cs: Trigger context-specific ExitThread events
  22593. 2005-11-03 Jackson Harper <[email protected]>
  22594. * Menu.cs:
  22595. * MainMenu.cs:
  22596. * GridTableStylesCollection.cs:
  22597. * Timer.cs:
  22598. * TabPage.cs:
  22599. * HelpProvider.cs:
  22600. * StatusBar.cs:
  22601. * MonthCalendar.cs: Signature fixes
  22602. 2005-11-03 Jackson Harper <[email protected]>
  22603. * TreeNodeCollection.cs: Remove should not be virtual.
  22604. * TreeView.cs: Implement the last of the missing methods.
  22605. 2005-11-03 Jackson Harper <[email protected]>
  22606. * TreeNodeConverter.cs: Implement to get off my class-status back.
  22607. 2005-11-03 Jackson Harper <[email protected]>
  22608. * TreeView.cs: Hookup the bits for drag and drop.
  22609. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  22610. that nodes can be moved from tree to tree easily this just causes
  22611. all sorts of problems.
  22612. * TreeNodeCollection: Don't need to give treenodes an index and
  22613. treeview anymore when they are added, these are computed on the
  22614. fly. Also make sure to remove a node before its added.
  22615. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22616. * TextControl.cs:
  22617. - Added CaretSelection enum
  22618. - Added comparison methods to Marker struct, makes selection code
  22619. more readable
  22620. - Added SelectionStart and SelectionEnd as 'moveable' location for
  22621. the CaretDirection enum and handler
  22622. - Added selection_prev variable to track optimized invalidation for
  22623. word and line selection
  22624. - Added SelectionVisible property (returns true if there is a valid
  22625. selection)
  22626. - Switched CaretHasFocus to only display the caret if there is no
  22627. visible selection
  22628. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  22629. using the direct character index; should be much faster
  22630. - Added various conditional debug statements
  22631. - Fixed invalidation calculation for selection ranges
  22632. - Added ExpandSelection() method to support word and line selection
  22633. - Switched SetSelectionToCaret to use new Marker compare overloads
  22634. - Added central IsWordSeparator() method to determine word
  22635. separators/whitespace and FindWordSeparator() to streamline common
  22636. usage of IsWordSeparator()
  22637. * TextBoxBase.cs:
  22638. - Removed unneeded grabbed variable, it was just mirroring
  22639. Control.Capture
  22640. - No longer firing OnTextChanged event when Text setter is called,
  22641. since the base will fire the event for us
  22642. - Added handling of Ctrl-Up/Down selection
  22643. - Added handling of Shift-Cursorkey selection
  22644. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  22645. words
  22646. - Added handling of Shift and Ctrl-Shift-Home/End selection
  22647. - Removed some debug output
  22648. - Added handling for single/double/tripple-click to place caret/
  22649. select word/select line respectively (Fixes bug #76031)
  22650. - Added support for drag expansion of word/line selection
  22651. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  22652. current selection
  22653. 2005-11-02 Jackson Harper <[email protected]>
  22654. * X11Dnd.cs: If the drag is going to and from a MWF window just
  22655. copy the data instead of sending it out through the X Selection
  22656. mechanism.
  22657. 2005-11-02 Jackson Harper <[email protected]>
  22658. * X11Dnd.cs:
  22659. * XplatUIX11.cs: When in a drag we don't want motion notify
  22660. messages to get passed on to the other controls. This prevents
  22661. mouse move messages from showing up in the drag source.
  22662. 2005-11-02 Jackson Harper <[email protected]>
  22663. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  22664. the correct button is release to end a drag.
  22665. * XplatUIX11.cs: Make the button state internal so the drag system
  22666. can access it. Dragging needs to know about all button releases,
  22667. not just left button.
  22668. 2005-11-02 Miguel de Icaza <[email protected]>
  22669. * Form.cs (Icon): If the icon is null, reset the icon to the
  22670. default value.
  22671. * Cursor.cs: When writing the AND-mask bitmap do not include the
  22672. number of colors, but hardcode those to two (black and white),
  22673. fixes the loading of color cursors (Paint Dot Net).
  22674. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  22675. turn off autoscaling.
  22676. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  22677. 2005-11-02 Jackson Harper <[email protected]>
  22678. * X11Dnd.cs: Make sure to send a status message if the pointer
  22679. enters a control that can not accept a drop, otherwise the cursor
  22680. isn't updated correctly. Also tried to compress the lines of code
  22681. a bit.
  22682. 2005-11-02 Jackson Harper <[email protected]>
  22683. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  22684. set actions correctly. This isn't perfect as XDND and win32 have
  22685. some differences on how you allow actions. I'll clear this up by
  22686. adding a path for drag from MWF to MWF windows.
  22687. * XplatUIX11.cs: Hook into the dnd system.
  22688. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  22689. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  22690. previously shown but they are no longer need it. Very obvious when
  22691. browsing files with FileDialog.
  22692. 2005-11-01 Peter Dennis Bartok <[email protected]>
  22693. * Control.cs: We always need to call OnPaintBackground. We pretty much
  22694. ignore AllPaintingInWmPaint and always do the painting there, whether
  22695. it's set or not, since we always ignore the WM_ERASEBKGND message
  22696. (which we don't generate on X11). This fixes #76616.
  22697. * Panel.cs: Removed unneeded background painting. This happens properly
  22698. in Control.cs already
  22699. 2005-10-31 Mike Kestner <[email protected]>
  22700. * Menu.cs: Add items to collection before setting their index.
  22701. * MenuItem.cs : add range checking with ArgumentException like MS.
  22702. [Fixes #76510]
  22703. 2005-10-31 Jackson Harper <[email protected]>
  22704. * ListBox.cs: Invalidate if the area is visible at all not just
  22705. contained in the visible rect. Fixes unselection of semi visible
  22706. items.
  22707. 2005-10-31 Jackson Harper <[email protected]>
  22708. * Control.cs: Consistently name the dnd methods. Make them
  22709. internal so we can override them to match some MS behavoir
  22710. internally.
  22711. * Win32DnD.cs: Use the new consistent names.
  22712. 2005-10-31 Jackson Harper <[email protected]>
  22713. * TreeView.cs: Don't draw the selected node when we lose focus.
  22714. 2005-10-31 Jackson Harper <[email protected]>
  22715. * X11Dnd.cs: We still need to reset the state even though a full
  22716. reset isn't being done, otherwise status's still get sent all over
  22717. the place.
  22718. 2005-10-31 Jackson Harper <[email protected]>
  22719. * Control.cs: Make the dnd_aware flag internal so the dnd
  22720. subsystem can check it. Catch exceptions thrown in dnd handlers to
  22721. match MS behavoir.
  22722. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  22723. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  22724. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  22725. flags to reduce the number of dnd enters/status's sent.
  22726. 2005-10-31 Jackson Harper <[email protected]>
  22727. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  22728. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  22729. * PictureBox.cs: Fixes 76512
  22730. 2005-10-28 Jackson Harper <[email protected]>
  22731. * X11Dnd.cs: Early implementation to support winforms being a drag
  22732. source for data on X11. Also restructured the converters so they
  22733. can go both ways now.
  22734. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  22735. 2005-10-27 Peter Dennis Bartok <[email protected]>
  22736. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  22737. clipboard requests
  22738. 2005-10-27 Jackson Harper <[email protected]>
  22739. * TreeNode.cs: Implement serialization so my DnD examples will work.
  22740. 2005-10-24 Kornél Pál <[email protected]>
  22741. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  22742. TreeView.cs: Don't dispose objects that are not owned.
  22743. 2005-10-24 Peter Dennis Bartok <[email protected]>
  22744. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  22745. should retrieve the current cursor and report that, but XplatUI
  22746. doesn't (yet) have an interface for that (and I'm not sure I even
  22747. can, on X11)
  22748. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  22749. until any message loop processing is done (and the WM_SETCURSOR
  22750. replaces the cursor to the proper one)
  22751. * XplatUIX11.cs:
  22752. - Fixed override behaviour, we can't set the cursor globally on X11,
  22753. just for our windows.
  22754. - Invalidating the System.Drawing X11 display handle when we are
  22755. shutting down
  22756. * Control.cs: Fix to make csc happy
  22757. 2005-10-23 Peter Dennis Bartok <[email protected]>
  22758. * TextBoxBase.cs:
  22759. - get_Text: Add last line (without trailing newline) to returned
  22760. value (Fixes 76212)
  22761. - get_TextLength: Count last line in returned length
  22762. - ToString: Call Text property instead of duplicating code
  22763. 2005-10-23 Kornél Pál <[email protected]>
  22764. * ImageList.cs: Dispose ImageAttributes objects.
  22765. 2005-10-22 Kornél Pál <[email protected]>
  22766. * ImageList.cs: Use attribute constructors with less arguments where
  22767. possible.
  22768. 2005-10-22 Kornél Pál <[email protected]>
  22769. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  22770. Use typeof instead of strings when assembly is referenced. Added
  22771. some more comments.
  22772. 2005-10-21 Jackson Harper <[email protected]>
  22773. * ListView.cs: Raise a double click event. Also tried to somewhat
  22774. fix when the selectedindexchanged event is raised. Its still
  22775. broken though.
  22776. 2005-10-21 Jackson Harper <[email protected]>
  22777. * TreeView.cs: New method to invalidate the plus minus area of a
  22778. node without invalidating the whole node (maybe this can be used
  22779. in some more places).
  22780. * TreeNodeCollection.cs: When adding to an empty node we need to
  22781. invalidate its plus minus area so the little block shows up.
  22782. 2005-10-21 Jackson Harper <[email protected]>
  22783. * TreeView.cs: Make sure that when we invalidate a node the bounds
  22784. are big enough to cover the selected box and the focus
  22785. rectangle. Use a different colour for the lines connecting nodes
  22786. so they show up with all themes.
  22787. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22788. * NativeWindow.cs: Don't call anything that could call into the driver,
  22789. we might be on a different thread.
  22790. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22791. * Control.cs(Dispose): Since Dispose might run on a different thread,
  22792. make sure that we call methods that could call into the driver via
  22793. invoke, to avoid thread issues
  22794. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22795. * XplatUI.cs: Removed finalizer
  22796. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  22797. not allowing to be called on the finalizer thread.
  22798. 2005-10-21 Kornél Pál <[email protected]>
  22799. * ImageList.cs:
  22800. - Reverted r51889 and r51891.
  22801. - Added ImageListItem class that stores unmodified image items and image
  22802. properties required to create list images until handle is created.
  22803. - Added AddItem and moved image creation logic to AddItemInternal.
  22804. - Added CreateHandle method that creates images based on unmodified items.
  22805. - Added DestroyHandle that changes state to store unmodified items.
  22806. - Add and AddStrip methods no more create handle.
  22807. - ReduceColorDepth has no return value.
  22808. - Dispose destroys handle.
  22809. - Modified other methods to reflect the above changes.
  22810. - Implemented key support.
  22811. - Added profile 2.0 members and attributes.
  22812. - Added private Reset and ShouldSerialize methods that provide the same
  22813. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  22814. them as they are private.
  22815. - Added some more comments about implementation details.
  22816. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22817. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  22818. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22819. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  22820. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22821. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  22822. * DataGridColumnStyle.cs: Remove debug message
  22823. 2005-10-20 Jackson Harper <[email protected]>
  22824. * TreeView.cs: We can always get input keys regardless of whether
  22825. or not editing is enabled. They are used for navigation.
  22826. 2005-10-20 Jackson Harper <[email protected]>
  22827. * TreeNode.cs: Use the viewport rect for determining if a node
  22828. needs to be moved for visibility. Don't use Begin/End edit. This
  22829. calls a full refresh when its done.
  22830. * TreeView.cs: New SetBottom works correctly. Make the viewport
  22831. rect property internal so the treenodes can see it. When clicking
  22832. on a node we need to ensure that its visible because it might just
  22833. be partly visible when clicked.
  22834. 2005-10-20 Jackson Harper <[email protected]>
  22835. * TreeNodeCollection.cs: Remove debug code.
  22836. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22837. * Datagrid.cs: Implements column sorting in Datagrid
  22838. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  22839. 2005-10-20 Jackson Harper <[email protected]>
  22840. * TreeNodeCollection.cs: Remove items properly. Update the correct
  22841. area after removing them.
  22842. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22843. * Datagrid.cs: Should not call base.OnPaintBackground
  22844. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22845. * XplatUIX11.cs (GetMessage):
  22846. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  22847. window instead of client window
  22848. - Now properly calculates NC_xBUTTONUP message coordinates
  22849. - ScreenToMenu now properly calculates it's coordinates of whole
  22850. window, since menus are in the whole window, not in the client
  22851. window
  22852. - Added WholeToScreen coordinate translation method
  22853. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22854. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  22855. want to return a message, loop back to the beginning of the function
  22856. and grab the next real message to process instead.
  22857. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22858. * Splitter.cs: Properly set limits if no filler control is used
  22859. 2005-10-19 Jackson Harper <[email protected]>
  22860. * ColorDialog.cs: Don't show the help button if it is not enabled
  22861. instead of disabling it (this is what MS does). Don't create the
  22862. panel until the dialog is run, otherwise the vars (such as
  22863. ShowHelp) are not set yet.
  22864. 2005-10-19 Jackson Harper <[email protected]>
  22865. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  22866. are reduced when adding nodes.
  22867. * TreeNode.cs:
  22868. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  22869. tree.
  22870. 2005-10-19 Jackson Harper <[email protected]>
  22871. * FolderBrowserDialog.cs: End editing our treeview so the window
  22872. actually gets refreshed.
  22873. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22874. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  22875. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  22876. inside of WM_PAINT
  22877. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22878. * MenuAPI.cs: Returns after Hidding window
  22879. * XplatUIX11.cs: Added TODO found while debugging menu issues
  22880. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22881. * XplatUIX11.cs: Do not re-map the whole window when it's size
  22882. becomes non-zero unless it's supposed to be actually visible
  22883. 2005-10-18 Jackson Harper <[email protected]>
  22884. * TreeView.cs: We don't need to keep a count anymore.
  22885. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  22886. use the Grow method.
  22887. 2005-10-18 Jackson Harper <[email protected]>
  22888. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  22889. implement it manually here.
  22890. 2005-10-18 Jackson Harper <[email protected]>
  22891. * ImageList.cs: Dont kill the list when the colour depth is
  22892. changed, just change the colour depth of all the images.
  22893. - Same goes for setting the image size. Just resize them all
  22894. instead of killing the list softly.
  22895. 2005-10-18 Jackson Harper <[email protected]>
  22896. * Control.cs: Don't invalidate empty rectangles.
  22897. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22898. * ListViewItem.cs:
  22899. - Adds checked item to the Checked/Item lists (where empty before)
  22900. - Do not add items to the Selected lists if they are already present
  22901. * ListView.cs:
  22902. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  22903. - When deleting items make sure that we delete them for the Selected
  22904. and Checked list also.
  22905. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22906. * Label.cs: Dispose objects no longer used
  22907. * ThemeWin32Classic.cs: Dispose objects no longer used
  22908. 2005-10-18 Jackson Harper <[email protected]>
  22909. * TabControl.cs: Don't refresh the whole control when the tabs are
  22910. scrolled, we just need to refresh the tab area.
  22911. 2005-10-17 Jackson Harper <[email protected]>
  22912. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  22913. after handle when we need it.
  22914. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22915. * Control.cs: When the parent size changes, recalculate anchor
  22916. positions. Partial fix for #76462
  22917. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22918. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  22919. drawn. Fixes #76462
  22920. 2005-10-17 Jackson Harper <[email protected]>
  22921. * MonthCalendar.cs: Don't create the numeric up down until our
  22922. handle is created. Otherwise our handle is created in the
  22923. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  22924. yet.
  22925. 2005-10-17 Jackson Harper <[email protected]>
  22926. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  22927. correctly.
  22928. 2005-10-17 Rafael Teixeira <[email protected]>
  22929. * TreeNode.cs : small logical fix (was using local var instead of field)
  22930. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22931. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  22932. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22933. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  22934. 2005-10-16 Peter Dennis Bartok <[email protected]>
  22935. * Control.cs:
  22936. - Re-implemented anchoring code. My first version was really broken.
  22937. This fixes bug #76033. Unlike the previous implementation we will
  22938. no longer have round errors since all numbers are calculated from
  22939. scratch every time. Removed various anchor-related obsolete vars.
  22940. - InitLayout no longer causes layout event firing and layout to be
  22941. performed
  22942. 2005-10-16 Jackson Harper <[email protected]>
  22943. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  22944. which was broken).
  22945. 2005-10-16 Jackson Harper <[email protected]>
  22946. * TabControl.cs: Remove debug code.
  22947. 2005-10-16 Jackson Harper <[email protected]>
  22948. * XEventQueue.cs: Increase the default queue size (very simple
  22949. apps needed to grow the queue).
  22950. * Hwnd.cs: No finalizer so we don't need to suppress
  22951. finalization. Compute the invalid area manually so a new rectangle
  22952. does not newto be created.
  22953. * ScrollableControl.cs: Don't set any params (otherwise visibility
  22954. isn't set correctly).
  22955. * MdiChildContext.cs: New constructor takes the mdi parent so it
  22956. doesn't have to be computed and avoids a crash on windows. Draw
  22957. the window icon properly, and allow the text to be seen.
  22958. * Form.cs: Use new MdiChildContext constructor. Make sure the
  22959. child context isn't null in wndproc.
  22960. * TabControl.cs: Don't set focus, this is muddling keyboard
  22961. behavoir. Expand the tab rows when a window size increase will
  22962. allow extra tabs to be seen. Don't allow tabs smaller than the
  22963. width of a window to be scrolled out of view.
  22964. * TreeNode.cs:
  22965. * TreeView.cs: Use measure string to calculate a nodes width, the
  22966. width is cached and only updated when the text or the font is
  22967. changed. Don't check for expand/collapse clicks on the first level
  22968. nodes if root lines are disabled.
  22969. 2005-10-16 Ritvik Mayank <[email protected]>
  22970. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  22971. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22972. * DataGridBoolColumn.cs: fixes warning
  22973. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22974. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  22975. to match more to match more precisely the MS Net behavior
  22976. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22977. * Hwnd.cs: Added field to track if window is mapped
  22978. * XplatUIX11.cs:
  22979. - Unmap windows if they become 0-size, re-map when
  22980. they are >0 again; fixes #76035
  22981. - Re-set our error handler after initializing X11Desktop
  22982. to override any error handlers Gtk or whatever was called
  22983. may have set.
  22984. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22985. * CheckedListBox.cs: Removed unused vars
  22986. * ListView.cs: Fixed signatures
  22987. * RichTextBox.cs: Removed unused vars
  22988. * TextBoxBase.cs: Removed unused vars
  22989. * XplatUIWin32.cs: Removed unused vars
  22990. * XplatUIX11.cs: Removed unused vars
  22991. * XplatUI.cs: Updated version and date to latest published
  22992. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22993. * Cursor.cs: Added private .ctor to work around a bug in
  22994. resourceset (Thanks to Geoff Norton for the help on this)
  22995. * SplitterEventArgs.cs: Made fields accessible so we don't
  22996. waste boatloads of objects and can reuse the same one
  22997. in Splitter
  22998. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  22999. any captions and borders when generating screen coordinates
  23000. * Splitter.cs: Reimplemented control, now fully complete, uses
  23001. rubberband drawing, supports and obeys all properties, has
  23002. proper cursors
  23003. 2005-10-13 Miguel de Icaza <[email protected]>
  23004. * Form.cs (Form): Setup default values for autoscale and
  23005. autoscale_base_size; Make these instance variables, not static
  23006. variables.
  23007. (OnLoad): on the first load, adjust the size of the form.
  23008. 2005-10-13 Peter Dennis Bartok <[email protected]>
  23009. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  23010. width argument to DrawReversibleRectangle()
  23011. * XplatUIWin32.cs, XplatUIX11.cs:
  23012. - Implemented width for DrawReversibleRectangle()
  23013. - Added logic to DrawReversibleRectangle that recognizes a zero
  23014. width or height and only draws a line in that situation
  23015. 2005-10-12 Peter Dennis Bartok <[email protected]>
  23016. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  23017. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  23018. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  23019. method (it uses our FosterParent window to get a graphics context)
  23020. 2005-10-12 Peter Dennis Bartok <[email protected]>
  23021. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  23022. and SetWindowBackground methods
  23023. * Control.cs:
  23024. - Setting proper ControlStyles
  23025. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  23026. EraseWindowBackground, instead we draw the window background
  23027. ourselves in PaintControlBackground. This behaviour is
  23028. required to match MS, where, when OnPaintBackground is not
  23029. called, the background is not drawn.
  23030. - Removed unneeded Refresh() in set_Text
  23031. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  23032. * XplatUIX11.cs:
  23033. - Created DeriveStyles method to translate from CreateParams to
  23034. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  23035. matches FormBorderStyle enum values)
  23036. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  23037. style calculations into single DeriveStyles method
  23038. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  23039. from redrawing the whole window on any resize or expose.
  23040. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  23041. all styles were applied to our whole/client window appropriately
  23042. - Removed EraseWindowBackground() and SetWindowBackground() methods
  23043. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  23044. no longer clear/redraw the background through X
  23045. - Removed handling of erase_pending bit, we have no use for it (or
  23046. so it seems)
  23047. * XplatUIOSX.cs:
  23048. - Removed generation and handling of WM_ERASEBKGND message
  23049. - Removed EraseWindowBackground() and SetWindowBackground() methods
  23050. - Removed handling of hwnd.ErasePending flag
  23051. * XplatUIWin32.cs:
  23052. - Removed EraseWindowBackground() and SetWindowBackground() methods
  23053. - We no longer call EraseWindowBackground on PaintEventStart, we
  23054. ignore the fErase flag, erasing is handled in Control in the
  23055. background handler
  23056. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  23057. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  23058. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  23059. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  23060. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  23061. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  23062. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  23063. 2005-10-12 Jonathan Chambers <[email protected]>
  23064. * PropertyGrids.cs: Get sub properties
  23065. * PropertyGridView.cs: Fix drawing code
  23066. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  23067. * ListBox.cs: Fixes 76383
  23068. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  23069. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  23070. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  23071. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  23072. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  23073. * ComboBox.cs: Fixes border drawing
  23074. 2005-10-10 Miguel de Icaza <[email protected]>
  23075. * MimeIcon.cs: Ignore errors if the file can not be read.
  23076. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  23077. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  23078. - Fixed border calculations
  23079. - Fixed horizontal scrolling in single column listboxes
  23080. - Fixed drawing issues
  23081. 2005-10-10 Peter Dennis Bartok <[email protected]>
  23082. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  23083. FormBorderStyle enum
  23084. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  23085. code to determine FormBorderStyles from CreateParams
  23086. * Form.cs:
  23087. - Fixed bug where we'd set the wrong window styles if we were
  23088. not creating an MDI window
  23089. - Added call to XplatUI.SetBorderStyle when form borders are set
  23090. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  23091. * Hwnd.cs:
  23092. - Removed obsolete edge style
  23093. - Switched from BorderStyle to FormBorderStyle
  23094. 2005-10-10 Jackson Harper <[email protected]>
  23095. * Form.cs: Use the property to get the window handle instead of
  23096. accessing it directly. Prevents a null reference exception.
  23097. 2005-10-10 Jackson Harper <[email protected]>
  23098. * TreeView.cs: Don't adjust the rect given to DrawString now that
  23099. our libgdiplus draws correctly.
  23100. 2005-10-08 Jackson Harper <[email protected]>
  23101. * TreeView.cs: Don't try to find the clicked on node if there are
  23102. no nodes in the tree.
  23103. 2005-10-08 Alexander Olk <[email protected]>
  23104. * RichTextBox.cs:
  23105. restore
  23106. 2005-10-08 Alexander Olk <[email protected]>
  23107. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  23108. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  23109. ErrorProvider.cs:
  23110. Use ResPool for brushes and dispose System.Drawing objects that
  23111. are not used anymore.
  23112. 2005-10-07 Jackson Harper <[email protected]>
  23113. * MdiChildContext.cs: Use the new borders instead of drawing them
  23114. ourselves.
  23115. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  23116. * Calling UpdateBounds after changing the window's BorderStyle
  23117. since the style can change the ClientSize
  23118. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23119. * Control.cs: Made PaintControlBackground virtual
  23120. * Panel.cs: Overriding PaintControlBackground instead of using paint
  23121. event; paint event method was interfering with 'real' users of the
  23122. event.
  23123. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  23124. * ThemeWin32Classic.cs: remove border drawing since it is handled
  23125. by the base control class now and was causing double border drawing.
  23126. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23127. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  23128. but it does seem to match MS behaviour. This fixes bug #75324
  23129. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23130. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  23131. somewhat hackish looking
  23132. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23133. * TextBoxBase.cs:
  23134. - We now accept Enter even if AcceptEnter is false, if the containing
  23135. form does not have an AcceptButton configured (fixes bug #76355)
  23136. - Calculations are now fixed to no longer use Width/Height, but
  23137. ClientSize.Width/Height, since we now support borders (this was
  23138. a result of fixing borders and therefore bug #76166)
  23139. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  23140. true (fixes bug #76354)
  23141. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23142. * Control.cs:
  23143. - Defaulting BorderStyle and setting it in XplatUI when our window
  23144. is created
  23145. - Added enum check to InternalBorderStyle setter
  23146. * XplatUIX11.cs:
  23147. - Added drawing of window borders
  23148. - Now properly calculates WM decorations offset for toplevel
  23149. windows (fixes bug #74763)
  23150. * XplatUIWin32.cs:
  23151. - Implemented BorderStyles for windows (we're letting win32 draw
  23152. the border for us)
  23153. - Fixed the signature for SetWindowLong
  23154. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  23155. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  23156. setting borders
  23157. * UpDownBase.cs: Remove drawing of borders, this is handled by
  23158. the driver, outside the client area
  23159. * ListView.cs: Removed bogus border calculations. The control should
  23160. be oblivious to borders, since those are not part of the client
  23161. area.
  23162. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  23163. * ThemeWin32Classic.cs: Removed border calculations from ListView
  23164. drawing code
  23165. 2005-10-06 Jackson Harper <[email protected]>
  23166. * MdiChildContext.cs: Clear out the old virtual position remove
  23167. all the unneeded calls to CreateGraphics.
  23168. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23169. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  23170. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23171. * Form.cs:
  23172. - Added loading and setting of our new default icon
  23173. - Only set icon if window is already created
  23174. 2005-10-06 Peter Dennis Bartok <[email protected]>
  23175. * Label.cs:
  23176. - Do not explicitly set the foreground and background colors, to
  23177. allow inheriting from parents (fixes #76302)
  23178. - Use Control's InternalBorderStyle property to deal with borders
  23179. 2005-10-06 Jackson Harper <[email protected]>
  23180. * MdiChildContext.cs: Use the new xplatui function to draw a
  23181. reversible rect.
  23182. 2005-10-06 Jackson Harper <[email protected]>
  23183. * Form.cs: Add the parent before creating the child context cause
  23184. we need the parent when setting up the child.
  23185. 2005-10-06 Jackson Harper <[email protected]>
  23186. * FolderBrowserDialog.cs: redo the tree population code so a
  23187. second thread isn't used. Should be a lot faster and more stable
  23188. now.
  23189. 2005-10-05 Jackson Harper <[email protected]>
  23190. * TreeView.cs: There are no expand/collapse boxes if the node has
  23191. no children.
  23192. 2005-10-05 Jackson Harper <[email protected]>
  23193. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  23194. 2005-10-05 Alexander Olk <[email protected]>
  23195. * FileDialog.cs: Fix InitialDirectory
  23196. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  23197. * ComboBox.cs:
  23198. - Fixes changing between styles
  23199. - Fixes simple mode
  23200. - Fixes last item crashing when navigating with keyboard
  23201. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  23202. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  23203. 2005-10-05 Jackson Harper <[email protected]>
  23204. * TreeView.cs: If updating the root node do a full refresh.
  23205. * TreeNode.cs: The root node should be expanded by default. Also
  23206. added a utility prop to tell if we are the root node.
  23207. * TreeNodeCollection.cs: Only refresh if the node we are being
  23208. added to is expanded. Also added a comment on a potential
  23209. optimization.
  23210. 2005-10-04 Peter Dennis Bartok <[email protected]>
  23211. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  23212. in dispose method. Fixes #76330
  23213. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  23214. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  23215. - Implements vertical and horizontal scrolling using XplatUI
  23216. - Fixes keyboard navagation
  23217. - Fixes EnsureVisible
  23218. - Drawing fixes
  23219. - Handles and draws focus properly
  23220. 2005-10-04 Kornél Pál <[email protected]>
  23221. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  23222. Create handle. NET_2_0: Destroy handle when value is null.
  23223. 2005-10-03 Jackson Harper <[email protected]>
  23224. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  23225. revert and a new patch to prevent the thumb from refreshing so
  23226. much.
  23227. 2005-10-02 Jackson Harper <[email protected]>
  23228. * ScrollBar.cs: Don't update position if it hasn't actually
  23229. changed. This occurs when you hold down the increment/decrement
  23230. buttons and the thumb gets to the max/min.
  23231. 2005-10-01 Jackson Harper <[email protected]>
  23232. * Form.cs:
  23233. * MdiChildContext.cs:
  23234. * MdiClient.cs: Implement ActiveMdiChild in Form.
  23235. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  23236. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  23237. 2005-10-01 Peter Dennis Bartok <[email protected]>
  23238. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  23239. be found
  23240. 2005-09-30 Jackson Harper <[email protected]>
  23241. * ListBox.cs: Don't do a full refresh unless some data has
  23242. actually changed.
  23243. 2005-09-30 Jackson Harper <[email protected]>
  23244. * TreeView.cs: Make sure that the checkboxes size is factored in
  23245. even when not visible.
  23246. 2005-09-30 Peter Dennis Bartok <[email protected]>
  23247. * FileDialog.cs: Fix Jordi's build break
  23248. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  23249. * FileDialog.cs:
  23250. - Use standard the Windows colours for the combobox as espected
  23251. - Dispose objects that use resouces when no longer need them
  23252. 2005-09-30 Peter Dennis Bartok <[email protected]>
  23253. * X11DesktopColors.cs: Initial incomplete implementation
  23254. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  23255. 2005-09-30 Peter Dennis Bartok <[email protected]>
  23256. * Theme.cs:
  23257. - Switched Theme color names to match the names defined in
  23258. System.Drawing.KnownColors. Life's hard enough, no need to make
  23259. it harder.
  23260. - Added setters to all theme color properties so themes can set
  23261. their color schemes. The setters also propagate the color changes
  23262. to System.Drawing.KnownColors via reflection
  23263. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  23264. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  23265. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  23266. use the new, more logical theme color names
  23267. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  23268. post-NT colors
  23269. * ThemeWin32Classic.cs:
  23270. - Removed code to set the old classic Windows colors. Instead it
  23271. now relies on the colors returned by System.Drawing.KnownColors
  23272. which will be either modern static colors (Unix) or colors
  23273. read from the user's configuration (Win32)
  23274. - Updated to use the new, more logical theme color names
  23275. - Switched DataGrid drawing code to use only Theme colors instead of
  23276. a mix of System.Drawing.KnownColors and Theme colors
  23277. - DrawFrameControl(): Removed code that fills the button area, the
  23278. fill would overwrite any previous fill done by a control. This
  23279. fixes bug #75338
  23280. - Added DrawReversibleRectangle() stub
  23281. * ScrollableControl.cs: Set visible state to false when scrollbars
  23282. are removed (pdn fix)
  23283. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  23284. DrawReversibleRectangle() method to allow drawing primitive
  23285. 'rubber bands'
  23286. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  23287. 2005-09-30 Kornél Pál <[email protected]>
  23288. * ImageList.cs: Add(Icon): Create handle.
  23289. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  23290. * ListView.cs:
  23291. * ThemeWin32Classic.cs:
  23292. - Fixes detail mode
  23293. - Sets clippings
  23294. - Issues with drawing
  23295. 2005-09-30 Kornél Pál <[email protected]>
  23296. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  23297. source has to be the ImageList.
  23298. 2005-09-30 Kornél Pál <[email protected]>
  23299. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  23300. 2005-09-30 Kornél Pál <[email protected]>
  23301. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  23302. 2005-09-30 Kornél Pál <[email protected]>
  23303. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  23304. 2005-09-29 Jonathan Chambers <[email protected]>
  23305. * GridItem.cs: Fixed TODOs
  23306. * GridItemCollection.cs: Added ICollection interface
  23307. 2005-09-30 Kornél Pál <[email protected]>
  23308. * ImageList.cs: Resize icons when needed.
  23309. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  23310. * ListViewItem.cs
  23311. - Fixes GetBounds and returns on screen rects
  23312. * ListView.cs:
  23313. - Fixes vertical and horzintal scrolling of items
  23314. * ThemeWin32Classic.cs:
  23315. - Fixes drawing
  23316. 2005-09-29 Raja R Harinath <[email protected]>
  23317. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  23318. 2005-09-29 Kornél Pál <[email protected]>
  23319. * ImageList.cs: Added comments about handle creation. Moved Handle,
  23320. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  23321. Handle is created in Add methods.
  23322. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  23323. * DataGridDrawingLogic.cs:
  23324. - Takes rows into account on Colum calculations
  23325. - Returns the column when clickig
  23326. * DataGrid.cs:
  23327. - Fixes default HitTestInfo values
  23328. - Fixes HitTestInfo.ToString
  23329. - Fixes ResetBackColor
  23330. 2005-09-28 Jackson Harper <[email protected]>
  23331. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  23332. sizing or cursor changes). Also added some temp code to draw the
  23333. titlebars text (Makes dev a little easier).
  23334. 2005-09-28 Kornél Pál <[email protected]>
  23335. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  23336. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  23337. * ListBox.cs: Fixes bug 76253
  23338. 2005-09-28 Kornél Pál <[email protected]>
  23339. * ImageList.cs: Added comments about the current implementation. Added
  23340. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  23341. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  23342. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  23343. with Bitmap.LockBits for better performance. Revised the whole file to
  23344. match MS.NET behaviour and provide better performance. Non-public
  23345. interface members are calling public members even when they throw
  23346. NotSupportedException for better maintainability. Moved ColorDepth,
  23347. ImageSize, ImageStream and TransparentColor implementations to
  23348. ImageCollection for better performance as these properties are not used
  23349. by ImageList.
  23350. * ImageListStreamer.cs: Added a new internal constructor that takes an
  23351. ImageList.ImageCollection and serializes Images based on
  23352. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  23353. match ImageList property name.
  23354. 2005-09-28 Kazuki Oikawa <[email protected]>
  23355. * ListBox.cs: Fixes IndexFromPoint for last item
  23356. 2005-09-27 Jackson Harper <[email protected]>
  23357. * Form.cs: Set the position of new mdi children correctly.
  23358. 2005-09-27 Jackson Harper <[email protected]>
  23359. * MdiClient.cs: New mdi children need to be added to the back of
  23360. the controls collection so the zorder is set correctly. Also add a
  23361. count of all the child windows that have been created.
  23362. 2005-09-27 Jackson Harper <[email protected]>
  23363. * Form.cs (CreateParams): Setup MDI forms correctly.
  23364. 2005-09-27 Jackson Harper <[email protected]>
  23365. * MdiChildContext.cs:
  23366. * MonthCalendar.cs:
  23367. * UpDownBase.cs:
  23368. * ListBox.cs:
  23369. * ListView.cs:
  23370. * TextBoxBase.cs:
  23371. * TreeView.cs:
  23372. * ScrollableControl.cs:
  23373. * ComboBox.cs: Add implicit controls using the new implict control
  23374. functionality in ControlCollection. Also try to block multiple
  23375. control add in a suspend/resume layout to save some cycles.
  23376. 2005-09-27 Jackson Harper <[email protected]>
  23377. * Control.cs: Add functionality to the controls collection to add
  23378. 'implicit controls' these are controls that are created by the
  23379. containing control but should not be exposed to the user. Such as
  23380. scrollbars in the treeview.
  23381. * Form.cs: The list var of the ControlsCollection is no longer
  23382. available because of the potential of implicit controls getting
  23383. ignored by someone accessing the list directly.
  23384. 2005-09-26 Peter Dennis Bartok <[email protected]>
  23385. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  23386. loose it's parent. (Fixed bug introduced in r49103 when we added
  23387. setting the child parent to null on Remove)
  23388. 2005-09-26 Gert Driesen <[email protected]>
  23389. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  23390. * Splitter.cs: Added missing attributes for BorderStyle property.
  23391. * TextBoxBase.cs: Marked Calculate* methods internal.
  23392. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  23393. MS.NET.
  23394. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  23395. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  23396. 2005-09-25 Jackson Harper <[email protected]>
  23397. * TreeView.cs: Update the node bounds correctly regardless of
  23398. whether the node is visible.
  23399. 2005-09-25 Jackson Harper <[email protected]>
  23400. * ImageList.cs: Don't dispose the image after it is added to the
  23401. image list. Only reformat images that need to be resized.
  23402. 2005-09-25 Jackson Harper <[email protected]>
  23403. * ImageList.cs: Don't set the format when changing the image.
  23404. 2005-09-25 Jackson Harper <[email protected]>
  23405. * TreeView.cs: We can't just assume the node has a font. Use the
  23406. treeviews font if no node font is available.
  23407. 2005-09-25 Jackson Harper <[email protected]>
  23408. * TreeView.cs: Allow the scrollbars to be reset with negative
  23409. values.
  23410. - Don't add scrollbars to negative sized windows.
  23411. 2005-09-23 Jackson Harper <[email protected]>
  23412. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  23413. old Mono.Posix. Also remove some stray code that shouldn't have
  23414. been committed.
  23415. 2005-09-23 Jackson Harper <[email protected]>
  23416. * TreeView.cs: Attempt at proper sizing of the horizontal
  23417. scrollbar. Also don't resize the scrollbars unless they are
  23418. visible.
  23419. 2005-09-23 Jackson Harper <[email protected]>
  23420. * TreeView.cs: We don't need to expand the invalid area when the
  23421. selection changes, as this is all drawn in the node's bounding
  23422. box. The area needs to be expanded (previous typo was contracting
  23423. it) when the focus rect moves.
  23424. 2005-09-23 Jackson Harper <[email protected]>
  23425. * TreeView.cs: Display the selection box under the correct
  23426. circumstances. We were rendering white text with no selection box
  23427. before.
  23428. 2005-09-23 Peter Dennis Bartok <[email protected]>
  23429. * TextControl.cs(Split): Now updates selection start/end if it points
  23430. into a line that's being split. Fixes a FIXME and bug #75258
  23431. 2005-09-23 Jackson Harper <[email protected]>
  23432. * Binding.cs:
  23433. * ListControl.cs: Don't use the path when retrieving binding
  23434. managers from the binding context. My bat sense tells me that the
  23435. path is only used on insertion.
  23436. 2005-09-22 Jackson Harper <[email protected]>
  23437. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  23438. 2005-09-22 Jackson Harper <[email protected]>
  23439. * Splitter.cs: There are special cursors used for splitting.
  23440. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  23441. 2005-09-22 Jackson Harper <[email protected]>
  23442. * Splitter.cs: Change the cursor appropriately when the splitter
  23443. is moused over, so the user actually knows there is a splitter
  23444. there.
  23445. 2005-09-22 Hisham Mardam Bey <[email protected]>
  23446. * Label.cs : Fix ToString method to give same output as MS.NET
  23447. 2005-09-22 Jackson Harper <[email protected]>
  23448. * TreeView.cs: Create the scrollbars when the handle is created
  23449. and add them right away, just make them invisble. Also account for
  23450. the window being shrunk vertically to the point that the vert
  23451. scrollbar needs to be added.
  23452. - Remove some 0.5 adjustments to get around anti aliasing issues.
  23453. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  23454. * MainMenu.cs: Fixes default value
  23455. * MenuItem.cs: Fixes default value
  23456. 2005-09-22 Kazuki Oikawa <[email protected]>
  23457. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  23458. 2005-09-21 Jackson Harper <[email protected]>
  23459. * Control.cs: Don't try to set the border style on the window if
  23460. it hasn't been created. When the window is created the border
  23461. style will be used.
  23462. 2005-09-21 Peter Dennis Bartok <[email protected]>
  23463. * Control.cs (Update): Don't call XplatUI if we don't have a
  23464. window handle yet
  23465. 2005-09-21 Peter Dennis Bartok <[email protected]>
  23466. * ContainerControl.cs: Instead of throwing an exception, print
  23467. a one-time warning about Validate not being implemented
  23468. * XplatUIWin32.cs: Removed debug output
  23469. 2005-09-21 Peter Dennis Bartok <[email protected]>
  23470. * Control.cs: Only set XplatUI background if we expect the windowing
  23471. system to handle the background. This stops controls that draw their
  23472. own background from flickering
  23473. * XplatUIX11.cs: Support custom visuals and colormaps for window
  23474. creation. This allows, amongst other things, using MWF X11 windows
  23475. with OpenGL.
  23476. 2005-09-21 Peter Dennis Bartok <[email protected]>
  23477. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  23478. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  23479. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  23480. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  23481. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  23482. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  23483. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  23484. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  23485. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  23486. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  23487. GridColumnStylesCollection.cs,
  23488. IDataGridColumnStyleEditingNotificationService.cs,
  23489. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  23490. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  23491. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  23492. TreeNodeCollection.cs, AmbientProperties.cs,
  23493. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  23494. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  23495. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  23496. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  23497. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  23498. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  23499. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  23500. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  23501. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  23502. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  23503. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  23504. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  23505. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  23506. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  23507. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  23508. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  23509. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  23510. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  23511. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  23512. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  23513. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  23514. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  23515. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  23516. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  23517. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  23518. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  23519. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  23520. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  23521. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  23522. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  23523. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  23524. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  23525. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  23526. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  23527. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  23528. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  23529. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  23530. 2005-09-21 Jackson Harper <[email protected]>
  23531. * TreeNode.cs: Call Before/After Expand not Collapse when
  23532. expanding.
  23533. 2005-09-20 Jackson Harper <[email protected]>
  23534. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  23535. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  23536. * ListViewItem.cs:
  23537. - Fixes bug 76120
  23538. - Fixes proper storing of subitems
  23539. - Fixes not updated items
  23540. 2005-09-20 Peter Dennis Bartok <[email protected]>
  23541. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  23542. things if our window handle isn't created yet. Also disabled
  23543. debug for TextBoxBase
  23544. 2005-09-20 Peter Dennis Bartok <[email protected]>
  23545. * MenuAPI.cs: Remove filtering of events to allow menu usage
  23546. 2005-09-20 Miguel de Icaza <[email protected]>
  23547. * Cursor.cs: Allow null to be passed to Cursor.Current.
  23548. 2005-09-20 Alexander Olk <[email protected]>
  23549. * ThemeWin32Classic.cs:
  23550. - Change some private methods/fields to protected virtual so that
  23551. they can be accessed and overriden in derived classes
  23552. - First refactoring of some methods. Derived themes now don't
  23553. need to duplicate the complete code from ThemeWin32Classic
  23554. * ThemeNice.cs:
  23555. - Added nice StatusBar
  23556. - Derive from ThemeWin32Classic and not Theme
  23557. - Removed duplicate ThemeWin32Classic code
  23558. 2005-09-20 Miguel de Icaza <[email protected]>
  23559. * Control.cs (ControlCollection.Add): If the value null is passed
  23560. the control is ignored.
  23561. Optimize this loop.
  23562. 2005-09-19 Peter Dennis Bartok <[email protected]>
  23563. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  23564. PostQuitMessage state.
  23565. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  23566. 2005-09-19 Peter Dennis Bartok <[email protected]>
  23567. * Application.cs: Our constructor will never get called, move
  23568. initialization to fields; fixes bug #75933
  23569. 2005-09-19 Hisham Mardam Bey <[email protected]>
  23570. * FileDialog.cs :
  23571. - Allow files to be selected properly using file name
  23572. combo box.
  23573. - Add ability to change diretory (absolute / relative)
  23574. using file name combo box.
  23575. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  23576. * ListBox.cs:
  23577. - Fixes Multicolumn listboxes item wrong calculations
  23578. - Allows to click when only one item is in the listbox
  23579. - Fixes crash when no items using keyboard navigation
  23580. 2005-09-16 Alexander Olk <[email protected]>
  23581. * ComboBox.cs: Reverted almost everything from the latest patch which
  23582. broke ComboBox
  23583. 2005-09-16 Kazuki Oikawa <[email protected]>
  23584. * ToolTip.cs:
  23585. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  23586. * ComboBox.cs:
  23587. - When DropDownStyle is Simple, it does not show scrollbar
  23588. to the last item of the list.
  23589. - When DropDownStyle is Simple, it crashed when the list was
  23590. scrolled down with the down cursor key.
  23591. - Fixed a bug that when DropDownStyle is DropDownList, the
  23592. selected item was not shown.
  23593. - The position of the selected item was not preserved when
  23594. the next dropdown happened.
  23595. * ThemeWin32Classic.cs:
  23596. - Items were wrapped at the right end.
  23597. * CheckedListBox.cs:
  23598. - Fixed Add method
  23599. * ListBox.cs:
  23600. - Items should be fully shown.
  23601. - When resizing and vertical scrollbar disappeared, the item
  23602. of index 0 should be on the top of the list.
  23603. - GetItemRectangle should consider the size of ver. scrollbar
  23604. * StatusBar.cs:
  23605. - SizingGrip area should not be allocated when it is not
  23606. displayed.
  23607. - Now it reflects MinWidth of the containing panel and
  23608. fixed a crash that happens when its width becomes so small.
  23609. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23610. * CheckedListBox.cs: Fixes bug 76028
  23611. * ListBox.cs: Fixes bug 76028
  23612. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23613. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  23614. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  23615. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  23616. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  23617. 2005-09-09 Jonathan Chambers <[email protected]>
  23618. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  23619. 2005-09-09 Jonathan Chambers <[email protected]>
  23620. * IRootGridEntry.cs: Added
  23621. * PropertyGridCommands.cs: Added
  23622. * PropertiesTab.cs: Added missing methods and property
  23623. * PropertyGridView.cs: Made class internal
  23624. * PropertyGridTextBox.cs: Made class internal
  23625. 2005-09-09 Alexander Olk <[email protected]>
  23626. * MimeIcon.cs: Try to check some other environment variables
  23627. if "DESKTOP_SESSION" returns "default"
  23628. 2005-09-09 Alexander Olk <[email protected]>
  23629. * ThemeNice.cs: Corrected background colors (e.g. menus)
  23630. * ColorDialog.cs: Use correct background colors for controls
  23631. 2005-09-09 Alexander Olk <[email protected]>
  23632. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  23633. 2005-09-08 Peter Dennis Bartok <[email protected]>
  23634. * RichTextBox.cs: Added initial implementation
  23635. * lang.cs: Removed. Was accidentally checked in long time ago
  23636. * TODO: Removed. Contents were obsolete
  23637. 2005-09-06 Jonathan Chambers <[email protected]>
  23638. * PropertiesTab.cs : Added
  23639. 2005-09-06 Jonathan Chambers <[email protected]>
  23640. * PropertyGrid.cs : Update
  23641. * PropertyGridView.cs : Update
  23642. * System.Windows.Forms.resx : Added images and strings
  23643. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23644. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  23645. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23646. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  23647. a busy loop right after the Ungrab the X11 display is otherwise
  23648. blocked
  23649. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  23650. * ThemeWin32Classic.cs: Optimise the use of clipping
  23651. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  23652. * DataGrid.cs: fixes recursion bug
  23653. 2005-09-03 Alexander Olk <[email protected]>
  23654. * ThemeNice.cs:
  23655. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  23656. - Cleanup
  23657. 2005-09-02 Alexander Olk <[email protected]>
  23658. * ThemeNice.cs: Draw nice ProgressBars
  23659. 2005-09-01 Miguel de Icaza <[email protected]>
  23660. * VScrollBar.cs: Another buglet found by Aaron's tool.
  23661. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  23662. bug finder.
  23663. 2005-08-30 Alexander Olk <[email protected]>
  23664. * ThemeNice.cs:
  23665. - Added nicer menu drawing
  23666. - Updated DrawTab
  23667. - some refactoring
  23668. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23669. * CreateParams.cs (ToString): Made output match MS
  23670. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  23671. handle is already created (to avoid forcing window creation)
  23672. * XplatUIX11.cs: Set window text to caption after creating window,
  23673. in case Text was set before window was created
  23674. * Form.cs: Use this.Text instead of a static string as caption
  23675. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23676. * NotifyIcon.cs: Don't set the window to visible; this screws
  23677. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  23678. OnPaint without a bitmap)
  23679. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  23680. happen very often anyway; we could add the check to the WM_PAINT
  23681. event generation code
  23682. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23683. * NotifyIcon.cs: Fill the icon area with a background color, to
  23684. avoid 'residue' when transparent icons are drawn
  23685. * XplatUIX11.cs:
  23686. - Handle whole_window == client_window when destroying windows
  23687. - SystrayAdd(): Set client_window to whole_window value to
  23688. get mouse and other events passed to NotifyIcon
  23689. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23690. * Form.cs: Set proper default for Opacity property
  23691. * NotifyIcon.cs:
  23692. - ShowSystray(): Don't bother creating telling the OS
  23693. about the systray item if no icon is provided
  23694. - Now handles WM_NCPAINT message to deal with whole/client window
  23695. split
  23696. - Create window as visible to not get caught by Expose optimization
  23697. * Hwnd.cs: Removed debug message
  23698. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  23699. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  23700. PaintEventStart/End to use new client argument
  23701. * TextBoxBase.cs:
  23702. - Commented out debug messages
  23703. - Switched PaintEventStart/End to use new client argument
  23704. * XplatUI.cs: Added client window bool to PaintEventStart()/
  23705. PaintEventEnd() calls, to support drawing in non-client areas
  23706. * XplatUIDriver.cs:
  23707. - Added client window bool to PaintEventStart()/PaintEventEnd()
  23708. calls, to support drawing in non-client areas
  23709. - Added conditional compile to allow using MWF BeginInvoke
  23710. on MS runtime
  23711. * XplatUIX11.cs:
  23712. - Added some conditional debug output
  23713. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  23714. whole/client window split
  23715. - Implemented handling of client argument to PaintEventStart()/End()
  23716. * Control.cs:
  23717. - Throw exception if BeginInvoke() is called and the window handle
  23718. or one of the window's parent handles is not created
  23719. - Added conditional compile to allow using MWF BeginInvoke on
  23720. MS runtime
  23721. - get_Parent(): Only sets parent if handle is created. This avoids
  23722. forcing window handle creation when parent is set.
  23723. - Now fires Layout and Parent changed events in proper order
  23724. - Switched to use Handle instead of window.Handle for Z-Order setting,
  23725. the get_Parent() patch above causes us to possibly get null for 'window'
  23726. - Implemented handling of client argument to PaintEventStart()/End()
  23727. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  23728. default handling)
  23729. - Now sends a Refresh() to all child windows when Refresh() is called
  23730. 2005-08-29 Peter Dennis Bartok <[email protected]>
  23731. * Form.cs: Added (non-functional) Opacity property
  23732. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  23733. 2005-08-29 Alexander Olk <[email protected]>
  23734. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  23735. use export MONO_THEME=nice to activate it.
  23736. Currently supported controls:
  23737. - Button
  23738. - ComboBox
  23739. - ScrollBar
  23740. - TabControl (TabAlignment.Top only, other will follow)
  23741. * ThemeEngine.cs: Add theme nice
  23742. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  23743. if enabled
  23744. 2005-08-25 Jonathan Chambers <[email protected]>
  23745. * Splitter.cs: Resize docked control and its neighbor.
  23746. 2005-08-24 Rafael Teixeira <[email protected]>
  23747. -- Making Windows with Menus layout correctly --
  23748. * Form.cs : The first leg of the fix
  23749. Menu setter - adjust Client Size as needed to make space for the menu
  23750. SetClientSizeCore - doesn't call base version to be able to pass the
  23751. menu handle to XplatUI.CalculateWindowRect
  23752. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  23753. * XplatUIX11.cs: The critical second leg of the fix
  23754. GetWindowPos needs to use a recalculated client_rect
  23755. so that resizing the window doesn't break layout of child controls.
  23756. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  23757. Lots of \t\n killed
  23758. 2005-08-23 Peter Dennis Bartok <[email protected]>
  23759. * Label.cs: Now properly recalculates width and height on Font and Text
  23760. changes if AutoSize is set
  23761. 2005-08-19 Rafael Teixeira <[email protected]>
  23762. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  23763. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  23764. * ImageList.cs: Makes ToString method compatible with MS
  23765. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  23766. * MenuAPI.cs: fixes bug 75716
  23767. 2005-08-11 Umadevi S <[email protected]>
  23768. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  23769. 2005-08-11 Umadevi S <[email protected]>
  23770. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  23771. 2005-08-10 Umadevi S <[email protected]>
  23772. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  23773. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  23774. * Menu.cs: fixes bug 75700
  23775. * MenuAPI.cs: fixes navigation issues
  23776. 2005-08-09 Umadevi S <[email protected]>
  23777. * CheckedListBox.cs - simple fix for GetItemChecked.
  23778. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  23779. * ComboBox.cs: Serveral fixes
  23780. * ListBox.cs: Serveral fixes
  23781. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23782. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  23783. * ListBox.cs: Fixes FindString methods
  23784. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23785. * DataGrid.cs: fixes bugs exposed by new tests
  23786. 2005-08-04 Peter Dennis Bartok <[email protected]>
  23787. * Mime.cs: Compile Mono assembly references only if compiling
  23788. with Mono (Allows to build with VS.Net again)
  23789. 2005-07-28 Marek Safar <[email protected]>
  23790. * Control.cs (PaintControlBackground): Draw background image
  23791. corrrectly.
  23792. (CheckForIllegalCrossThreadCalls): Stubbed.
  23793. * Form.cs (OnCreateControl): Center when should be centered.
  23794. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  23795. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  23796. * Binding.cs: Binding to properties should be case unsensitive
  23797. 2005-07-18 [email protected]
  23798. * DataGrid.cs: fixes setmember order
  23799. 2005-07-07 Alexander Olk <[email protected]>
  23800. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  23801. * FileDialog.cs: FileDialog is now resizable and uses the new
  23802. MimeIconEngine
  23803. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  23804. * DataGridTextBoxColumn.cs: default value
  23805. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  23806. * GridTableStylesCollection.cs: fixes checking MappingName
  23807. * DataGridDrawingLogic.cs: fixes drawing logic issues
  23808. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  23809. * DataGrid.cs: fixes
  23810. 2005-07-06 Alexander Olk <[email protected]>
  23811. * MimeGenerated.cs: Use case sensitive comparer for
  23812. NameValueCollections
  23813. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  23814. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  23815. * ThemeWin32Classic.cs: bug fixes, code refactoring
  23816. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  23817. * DataGrid.cs: bug fixes, code refactoring
  23818. * DataGridTextBox.cs: bug fixes, code refactoring
  23819. * DataGridColumnStyle.cs: bug fixes, code refactoring
  23820. * Theme.cs: bug fixes, code refactoring
  23821. 2005-07-01 Peter Bartok <[email protected]>
  23822. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  23823. and other text box usage
  23824. 2005-07-01 Jackson Harper <[email protected]>
  23825. * TabControl.cs: Make sure the bottom of the tab covers the pages
  23826. border.
  23827. 2005-06-30 Peter Bartok <[email protected]>
  23828. * Form.cs (ShowDialog): Assign owner of the dialog
  23829. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  23830. might have been moved to a tag with different height
  23831. 2005-06-30 Jackson Harper <[email protected]>
  23832. * Form.cs: Don't create an infinite loop when setting focus
  23833. * MenuItem.cs: Don't dirty the parents if we don't have any
  23834. 2005-06-29 Ben Maurer <[email protected]>
  23835. * LibSupport.cs: Rename
  23836. 2005-06-29 Peter Bartok <[email protected]>
  23837. * TextBoxBase.cs: Re-align caret after deleting a character
  23838. * TextControl.cs:
  23839. - DeleteChars(): Ensure that tag covers the provided position
  23840. - StreamLine(): Drop reference for dropped tag
  23841. 2005-06-29 Peter Bartok <[email protected]>
  23842. * TextControl.cs:
  23843. - Selections now work properly, anchoring at the initial location
  23844. and properly extending in either direction (SetSelectionToCaret(),
  23845. SetSelectionStart() and SetSelectionEnd())
  23846. - No longer redraws the whole control on selection change, now
  23847. calculates delta between previous and new selection and only
  23848. invalidates/redraws that area
  23849. - Fixed FindPos() math off-by-one errors
  23850. - Changed DeleteChars() to verify the provided tag covers the
  23851. provided position, selections may have a tag that doesn't cover
  23852. the position if the selection is at a tag border
  23853. - Fixed off-by-one errors in DeleteChars()
  23854. - Added missing streamlining check in DeleteChars() to remove
  23855. zero-length tags
  23856. - Implemented Invalidate() method, now properly calculates exposures
  23857. between two given lines/positions
  23858. - Implemented SetSelection()
  23859. - Obsoleted and removed FixupSelection()
  23860. - Improved RecalculateDocument() logic, removing code duplication
  23861. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23862. * LibSupport.cs: changes to match different input/output arguments.
  23863. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23864. * LibSupport.cs: added libsupport.so init routine.
  23865. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  23866. * ControlBindingsCollection.cs
  23867. - Throws an exception on null datasource when adding
  23868. - Checks for duplicated bindings when adding
  23869. 2005-06-28 Jackson Harper <[email protected]>
  23870. * TreeView.cs (OnKeyDown): Support left and right properly
  23871. (navigates as well as expanding and collapsing.
  23872. - Add support for Multiply, this expands all the selected nodes
  23873. children.
  23874. - Fix some tabbing.
  23875. 2005-06-28 Jackson Harper <[email protected]>
  23876. * TreeView.cs: Implement keyboard navigation, currently supports,
  23877. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  23878. support for toggling checkboxes with the space bar.
  23879. 2005-06-28 Jackson Harper <[email protected]>
  23880. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  23881. tree.
  23882. 2005-06-28 Jackson Harper <[email protected]>
  23883. * TreeView.cs: Add missing event.
  23884. 2005-06-27 Peter Bartok <[email protected]>
  23885. * TextControl.cs:
  23886. - Made line ending size configurable (now allows for counting
  23887. lineendings as \n or \r\n)
  23888. - Added margin to viewport to keep caret visible on right side
  23889. - Fixed translation routines for line/pos to documentpos to consider
  23890. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  23891. - Fixed some line-endings to be unix style
  23892. - Fixed Document.FormatText to perform it's calculations 1-based
  23893. - Added descriptions for a few methods that might otherwise get
  23894. used wrong
  23895. - Added NOTE section with some basic conventions to remember at
  23896. the top of the file
  23897. - Major fixup for RichTextBox selection drawing:
  23898. * Fixed crashes when multiple tags on a single line were selected
  23899. * fixed selection box drawing not overlaying text
  23900. * fixed bogus offset calculation for tags not starting at index 1
  23901. * Switched behaviour from using multiple Substrings of a
  23902. StringBuilder.ToString() to using multiple
  23903. StringBuilder.ToString(start, length) statements, hoping this is
  23904. faster (kept original version commented out in the code, in case
  23905. original version was faster)
  23906. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  23907. alignment != Left
  23908. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  23909. call it as well
  23910. 2005-06-27 Jackson Harper <[email protected]>
  23911. * TabControl.cs: Move to the left and right with the arrow
  23912. keys. These keys don't cycle beyond first and last like
  23913. tab. Refresh all the tabs when scrolling them to the left or
  23914. right.
  23915. 2005-06-27 Jackson Harper <[email protected]>
  23916. * TabControl.cs:
  23917. - ToString: Added method
  23918. - CreateParams: Remove TODO and comment
  23919. - OnKeyDown: Cycle through bounds properly.
  23920. - SelectedIndex: Scroll to the right or left if we need to
  23921. display the newly selected tab.
  23922. 2005-06-23 Jackson Harper <[email protected]>
  23923. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  23924. set.
  23925. 2005-06-23 Jackson Harper <[email protected]>
  23926. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  23927. CTRL-SHIFT-TAB, and HOME, END are there any others?
  23928. 2005-06-23 Jackson Harper <[email protected]>
  23929. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  23930. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23931. * DataGridTextBoxColumn.cs: fixes and enhancements
  23932. * ThemeWin32Classic.cs: fixes and enhancements
  23933. * DataGridBoolColumn.cs: fixes and enhancements
  23934. * DataGridDrawingLogic.cs: fixes and enhancements
  23935. * CurrencyManager.cs: fixes and enhancements
  23936. * DataGrid.cs: fixes and enhancements
  23937. * DataGridColumnStyle.cs: fixes and enhancements
  23938. 2005-06-22 Jackson Harper <[email protected]>
  23939. * TabControl.cs: Add some missing methods that just call into the
  23940. base. Make the TabPageCollection's IList interface behave in the
  23941. same manner as the MS implementation.
  23942. 2005-06-22 Peter Bartok <[email protected]>
  23943. * TextControl.cs: Added sanity check
  23944. * TextBoxBase.cs:
  23945. - Fixed wrapping behaviour, don't set wrap on single line controls
  23946. (this fixes the breakage of colordialog introduced in an earlier
  23947. checkin)
  23948. - Added rudimentary support for autoscrolling right-aligned controls
  23949. (still needs fixing, also, center alignment scroll is missing)
  23950. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23951. * ScrollBar.cs: Fixes thumbpos on Maximum values
  23952. 2005-06-21 Jonathan Chambers <[email protected]>
  23953. * PropertyGridView.cs: Pass context information to UITypeEditors
  23954. 2005-06-21 Peter Bartok <[email protected]>
  23955. * TextBoxBase.cs:
  23956. - Now calling PositionCaret with absolute space coordinates
  23957. - Enabled vertical scrolling
  23958. - Better tracking of scrollbar changes, tied into WidthChange
  23959. event
  23960. - Improved cursor tracking
  23961. - Removed debug output
  23962. * TextControl.cs:
  23963. - PositionCaret coordinates are now works in absolute space, not
  23964. the canvas
  23965. - Improved tracking of document size
  23966. - Added events for width and height changes
  23967. 2005-06-21 Peter Bartok <[email protected]>
  23968. * Form.cs: Set focus to active control when form is activated
  23969. * TextControl.cs:
  23970. - Added word-wrap functionality to RecalculateLine()
  23971. - Added some short function descriptions for VS.Net to aid in
  23972. writing dependent controls
  23973. - Added Caret property, returning the current coords of the caret
  23974. - Added ViewPortWidth and ViewPortHeight properties
  23975. - Added Wrap property
  23976. - Added CaretMoved event
  23977. - Removed some old debug code
  23978. - Split() can now create soft splits
  23979. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  23980. - Added method to format existing text
  23981. - Fixed size/alignment calculations to use viewport
  23982. - RecalculateDocument now can handle changing line-numbers while
  23983. calculating lines
  23984. * TextBox.cs:
  23985. - Added some wrap logic, we don't wrap if alignment is not left
  23986. - Added casts for scrollbar var, base class switched types to
  23987. also support RichTextBoxA
  23988. - Implemented handling of scrollbar visibility flags
  23989. * TextBoxBase.cs:
  23990. - Switched scrollbars type to RichTextBoxScrollBars to support
  23991. RichTextBox
  23992. - Added tracking of canvas width/height
  23993. - Switched scrollbars to be not selectable (to keep focus on text)
  23994. - Added central CalculateDocument() method to handle all redraw
  23995. requirements
  23996. - Added ReadOnly support
  23997. - Added WordWrap support
  23998. - Fixed handling of Enter key (we now treat it as a DialogKey)
  23999. - Fixed caret positioning when h or v scroll is not zero
  24000. - Fixed placing/generation of vertical scrollbar
  24001. - Added CalculateScrollBars() method to allow updating scrollbar
  24002. limits and visibility
  24003. - Fixed handling of horizontal scroll
  24004. - Added handling of vertical scroll
  24005. - Implemented auto-'jump' when caret moves to close to a left or
  24006. right border and there is text to be scrolled into view (currently
  24007. there's the potential for a stack overflow, until a bug in
  24008. scrollbar is fixed)
  24009. 2005-06-21 Geoff Norton <[email protected]>
  24010. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  24011. 2005-06-19 Alexander Olk <[email protected]>
  24012. * Mime.cs:
  24013. - added inodes.
  24014. - return application/x-zerosize for files with size zero
  24015. (if no extension pattern matches).
  24016. - check matches collection for strings too.
  24017. - return only the first mime type if the name value
  24018. collection has more than one mime type.
  24019. 2005-06-18 Jonathan Chambers <[email protected]>
  24020. * PropertyGrid.cs: Cleaned up some TODOs
  24021. * PropertyGridView.cs: Added support for UITypeEditors
  24022. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  24023. * DataGrid.cs: clears cached value
  24024. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  24025. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  24026. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  24027. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  24028. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  24029. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  24030. * ThemeWin32Classic.cs: fixes colour
  24031. 2005-06-15 Peter Bartok <[email protected]>
  24032. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  24033. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  24034. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  24035. * Control.cs: Added some MWFCategory and MWFDescription attributes
  24036. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  24037. 2005-06-15 Alexander Olk <[email protected]>
  24038. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  24039. usage
  24040. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  24041. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  24042. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  24043. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  24044. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  24045. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  24046. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  24047. 2005-06-13 Jackson Harper <[email protected]>
  24048. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  24049. isn't printed when the user enables dropping. (X11 does accept
  24050. drops).
  24051. 2005-06-13 Jackson Harper <[email protected]>
  24052. * TreeView.cs: Remove some TODOS.
  24053. 2005-06-13 Jackson Harper <[email protected]>
  24054. * Form.cs: Hook into the mdi framework.
  24055. * MdiClient.cs: Use the base control collections add method so
  24056. parents get setup correctly. Set the default back colour and dock
  24057. style.
  24058. * MdiChildContext.cs: New class, this bad actor handles an
  24059. instance of an MDI window. Right now there is only basic
  24060. support. You can drag, close, and resize windows. Minimize and
  24061. Maximize are partially implemented.
  24062. 2005-06-13 Jackson Harper <[email protected]>
  24063. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  24064. freaky when both vals are negative. NOTE: There are probably other
  24065. places in XplatUIX11 that this needs to be done.
  24066. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  24067. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  24068. * DataGridColumnStyle.cs: fixes signature
  24069. 2005-06-12 Jackson Harper <[email protected]>
  24070. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  24071. windows.
  24072. 2005-06-11 Jackson Harper <[email protected]>
  24073. * StatusBarPanel.cs: Signature cleanups. Implement
  24074. BeginInit/EndInit.
  24075. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  24076. * DataGridTextBoxColumn.cs: Honors aligment
  24077. * GridColumnStylesCollection.cs: Contains is case unsensitive
  24078. * GridTableStylesCollection.cs: several fixes
  24079. * DataGridTableStyle.cs: default column creation
  24080. * DataGridDrawingLogic.cs: fixes
  24081. * CurrencyManager.cs: ListName property
  24082. * DataGrid.cs: multiple styles support
  24083. * DataGridColumnStyle.cs: fixes
  24084. 2005-06-10 Peter Bartok <[email protected]>
  24085. * Control.cs(Select): Moved SetFocus call to avoid potential
  24086. loops if controls change the active control when getting focus
  24087. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  24088. the up/down buttons
  24089. 2005-06-10 Matthias Felgner <[email protected]>
  24090. * ImageListConverter.cs: Implemented
  24091. 2005-06-10 John BouAntoun <[email protected]>
  24092. * MonthCalendar.cs: Wired in NumericUpDown control for year
  24093. 2005-06-10 John BouAntoun <[email protected]>
  24094. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  24095. DoubleClick events, since they are not meant to be fired.
  24096. 2005-06-09 Peter Bartok <[email protected]>
  24097. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  24098. Jonathan's standalone controls into MWF, implemented missing
  24099. events, attributes and methods; added xxxAccessible classes
  24100. * AccessibleObject.cs: Made fields internal so other classes
  24101. can change them if needed
  24102. 2005-06-09 Jonathan Gilbert <[email protected]>
  24103. * UpDownBase.cs: Complete implementation
  24104. * NumericUpDown.cs: Complete implementation
  24105. * DomainUpDown.cs: Complete implementation
  24106. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  24107. * DataGridTextBoxColumn.cs: drawing fixes
  24108. * DataGridCell.cs: fixes ToString method to match MSNet
  24109. * DataGridTableStyle.cs: fixes
  24110. * DataGridBoolColumn.cs: fixes, drawing
  24111. * DataGridDrawingLogic.cs: fixes, new methods
  24112. * DataGridTextBox.cs: Keyboard and fixes
  24113. * DataGrid.cs:
  24114. - Keyboard navigation
  24115. - Scrolling fixes
  24116. - Row selection (single, multiple, deletion, etc)
  24117. - Lots of fixes
  24118. 2005-06-07 Jackson Harper <[email protected]>
  24119. * ThemeWin32Classic.cs: Clear the background area when drawing
  24120. buttons.
  24121. 2005-06-06 Peter Bartok <[email protected]>
  24122. * ImageListStreamer.cs: Fixed signature for GetData
  24123. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  24124. * ComboBox.cs:
  24125. - Added missing ChildAccessibleObject class
  24126. - Added missing OnXXXFocus overrides, switched to using those
  24127. instead of the event handler
  24128. * Control.cs:
  24129. - Added Parent property for ControlAccessibleObject
  24130. - Fixed signatures
  24131. - Fixed attributes
  24132. - Added ResetBindings()
  24133. * ListBindingConverter.cs: Implemented some methods
  24134. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  24135. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  24136. * ContainerControl.cs: Fixed signature, now subscribing to the
  24137. ControlRemoved event instead of overriding the handler, LAMESPEC
  24138. * CurrencyManager.cs: Added missing attribute
  24139. * MonthCalendar.cs: Added missing properties
  24140. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  24141. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  24142. 2005-06-06 Gaurav Vaish and Ankit Jain
  24143. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  24144. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  24145. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  24146. * Control.cs: fixes CreateParams Width / Height.
  24147. 2005-06-05 Peter Bartok <[email protected]>
  24148. * Win32DnD.cs: Removed compilation warnings
  24149. 2005-06-05 Peter Bartok <[email protected]>
  24150. * Control.cs (CreateParams): Since we don't know if one of the
  24151. properties we use is overridden, lets make sure if we fail accessing
  24152. we continue with a backup plan
  24153. 2005-06-05 Peter Bartok <[email protected]>
  24154. * Win32DnD.cs:
  24155. - Removed debug output
  24156. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  24157. struct
  24158. - Plugged resource leak
  24159. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  24160. MS size
  24161. 2005-06-05 Peter Bartok <[email protected]>
  24162. * XplatUIWin32.cs: Removed DnD code
  24163. * Win32DnD.cs: Implemented drop source and drop target functionality
  24164. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  24165. * UpDownBase.cs: remove duplicate addition of event, enable some code
  24166. that was commented out.
  24167. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  24168. Validate input when a key is pressed. It works fine now for every
  24169. combination of Hexadecimal. Only missing some drawing love when sharing
  24170. space with other controls.
  24171. 2005-06-04 Peter Bartok <[email protected]>
  24172. * Control.cs:
  24173. - We need to pass a window for DragDrop, so enable callback events
  24174. - Added DnD callback events when being a DragSource
  24175. * XplatUI.cs (StartDrag): Added window handle argument
  24176. * XplatUIDriver.cs (StartDrag): Added window handle argument
  24177. * QueryContinueDragEventArgs: Made fields internally accessible so
  24178. drivers can set them
  24179. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  24180. can set them
  24181. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  24182. * DataGridTextBoxColumn.cs: column text editing
  24183. * DataGridTableStyle.cs: Respect columns styles created by the user
  24184. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  24185. * DataGridBoolColumn.cs: bool column editing
  24186. * DataGrid.cs: fixes to scrolling, properties, etc
  24187. * DataGridTextBox.cs: handle keyboard
  24188. * DataGridColumnStyle.cs: fixes
  24189. 2005-06-02 Jackson Harper <[email protected]>
  24190. * ImageListStreamer.cs: Somewhat broken implementation of
  24191. GetObjectData. The RLE needs some work to match MS properly.
  24192. 2005-06-02 Jackson Harper <[email protected]>
  24193. * X11Dnd.cs: Attempting to keep at least one file in MWF
  24194. monostyled.
  24195. 2005-06-02 Peter Bartok <[email protected]>
  24196. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  24197. that way
  24198. 2005-06-02 Peter Bartok <[email protected]>
  24199. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  24200. * XplatUI.cs: Added DoDragDrop() method
  24201. * XplatUIDriver.cs: Added DoDragDrop() method
  24202. 2005-06-02 Jackson Harper <[email protected]>
  24203. * Splitter.cs: Implement BorderStyle.
  24204. 2005-06-02 Jackson Harper <[email protected]>
  24205. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  24206. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  24207. X11 using XDND.
  24208. 2005-06-02 Peter Bartok <[email protected]>
  24209. * DataObject.cs:
  24210. - Added Data setter
  24211. - Fixed broken insertion code for SetData, now also
  24212. overwrites any existing entry of the same format name
  24213. * Hwnd.cs: Added list of pointers that automatically gets
  24214. freed when the window is disposed
  24215. * XplatUI.cs: Call driver initialization method when loading
  24216. a driver
  24217. * Control.cs:
  24218. - OnDragLeave takes EventArgs, not DragEventArgs
  24219. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  24220. supported
  24221. - Forces style update when drop state changes
  24222. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  24223. not perfect since we cannot (yet) call the IDataObject.GetData()
  24224. method, we keep getting 0x80004005 error, dunno why)
  24225. 2005-06-02 Peter Bartok <[email protected]>
  24226. * DragEventArgs.cs: Make fields internal so we can cache the
  24227. object and re-set the fields from XplatUI
  24228. 2005-06-02 Jackson Harper <[email protected]>
  24229. * Control.cs: Add some internal methods so the DnD subsystem can
  24230. raise DnD events. Also call into the driver when AllowDrop is set.
  24231. * XplatUI.cs:
  24232. * XplatUIDriver.cs: New method for setting whether or not a window
  24233. is allowed to accept drag and drop messages.
  24234. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  24235. * ScrollBar.cs: Make sure that values sent in Scroll events
  24236. are always between Maximum and Minimum.
  24237. 2005-06-01 Marek Safar <[email protected]>
  24238. * Menu.cs: Call MenuChanged when menuitem visibility has been
  24239. changed.
  24240. * MenuItem.cs: Rebuild menu when item is (not) visible.
  24241. * MainMenu.cs: MainMenu has special MenuChanged.
  24242. * Theme.cs: Caption and FrameBorderSize are not fixed.
  24243. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  24244. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  24245. * XplatUIX11.cs,
  24246. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  24247. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  24248. 2005-05-30 Jackson Harper <[email protected]>
  24249. * DataFormat.cs: We can't statically initialize this stuff because
  24250. it calls into the xplatui and could create a loop. So we lazy init
  24251. it.
  24252. 2005-05-28 Jackson Harper <[email protected]>
  24253. * Control.cs: Proper implementation of Product(Name/Version).
  24254. 2005-05-27 Jackson Harper <[email protected]>
  24255. * DataObject.cs: Dont crash if no data is found.
  24256. 2005-05-26 Rafael Teixeira <[email protected]>
  24257. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  24258. as per status page, guessing it should be set to true
  24259. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  24260. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  24261. * DataGridTableStyle.cs: set proper formatting text, def header text
  24262. * ThemeWin32Classic.cs: new themable paramaters
  24263. * DataGridBoolColumn.cs: paint check box, get data, fixes
  24264. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  24265. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  24266. * DataGridColumnStyle.cs: fixes
  24267. * Theme.cs: new themable paramaters
  24268. 2005-05-26 Peter Bartok <[email protected]>
  24269. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  24270. 2005-05-24 Jonathan S. Chambers <[email protected]>
  24271. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  24272. 2005-05-24 Peter Bartok <[email protected]>
  24273. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  24274. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  24275. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  24276. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  24277. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  24278. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  24279. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  24280. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  24281. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  24282. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  24283. missing attributes, etc
  24284. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  24285. 2005-05-24 Peter Bartok <[email protected]>
  24286. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  24287. when user tries to get help
  24288. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  24289. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  24290. to suppress warnings
  24291. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  24292. avoid unreachable code warning
  24293. 2005-05-20 Peter Bartok <[email protected]>
  24294. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  24295. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  24296. * DataGridTextBoxColumn.cs: Basic painting methods
  24297. * DataGridTableStyle.cs: Set table style in the column
  24298. * ThemeWin32Classic.cs: Use Theme for colors
  24299. * DataGridDrawingLogic.cs: Implement more drawing
  24300. * DataGrid.cs: drawing, theming, enhacements, fixes
  24301. * DataGridColumnStyle.cs: fixes, drawing
  24302. * Theme.cs: theming for Datagrid
  24303. 2005-05-20 Peter Bartok <[email protected]>
  24304. * Cursor.cs: Implemented GetObjectData() method
  24305. 2005-05-20 Peter Bartok <[email protected]>
  24306. * Cursors.cs: Added setting of cursor name
  24307. * Cursor.cs:
  24308. - Implemented constructors
  24309. - Implemented Draw and DrawStretched
  24310. - Implemented Current property
  24311. - Implemented == and != operators
  24312. - Implemented Dispose()
  24313. - Implemented ToString
  24314. - Added missing attributes
  24315. * XplatUIX11.cs:
  24316. - Added missing reset for OverrideCursor when DoEvents is called
  24317. - Fixed creation of cursor, logic was wrong
  24318. * XplatUIWin32.cs:
  24319. - Added missing reset for OverrideCursor when DoEvents is called
  24320. - Fixed creation of cursor, bit arrays were swapped
  24321. * Clipboard.cs: Removed obsolete MonoTODO attribute
  24322. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  24323. * ComboBox.cs: fixes OnSelectedItemChanged
  24324. * ControlBindingsCollection.cs: fixes item range check
  24325. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  24326. * UpDownBase.cs:
  24327. - Calc preferred height properly
  24328. - Implement missing properties
  24329. * NumericUpDown.cs: Implement missing events
  24330. 2005-05-19 Jackson Harper <[email protected]>
  24331. * TabControl.cs: New method that resizes the tab pages before
  24332. redrawing them. This as needed as the control is double buffered
  24333. and sizing will not be recalculated unless ResizeTabPages is
  24334. called.
  24335. * TabPage.cs: Set base.Text instead of Text in the constructor so
  24336. that UpdateOwner does not get called. Use the new Redraw method of
  24337. TabControl instead of Refresh so the sizing is recalculated.
  24338. * ThemeWin32Classic.cs: Draw the text for button tabs.
  24339. 2005-05-19 Jackson Harper <[email protected]>
  24340. * Control.cs: Paint control background images. Fix typo where
  24341. PaintControlBackground was not getting called correctly.
  24342. 2005-05-19 Peter Bartok <[email protected]>
  24343. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  24344. I can investigate, apparently I broke FileDialog
  24345. 2005-05-19 Marek Safar <[email protected]>
  24346. * AxHost.cs: Some simple properties.
  24347. * Control.cs: window must be accessible after ctor.
  24348. * Form.cs: Added TransparencyKey property.
  24349. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  24350. * XplatUIWin32.cs: SetBorderStyle implemented.
  24351. 2005-05-18 Peter Bartok <[email protected]>
  24352. * DataObject.cs: Entries are not global but particular to the
  24353. DataObject, now it behaves that way
  24354. * XplatUIWin32.cs: Implemented Clipboard methods
  24355. * Clipboard.cs: Implemented
  24356. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  24357. * XplatUIOSX.cs: Updated to final clipboard prototypes
  24358. * XplatUIX11.cs: Implemented Clipboard methods
  24359. * XplatUIDriver.cs: Updated to final clipboard prototypes
  24360. * XplatUIStructs.cs:
  24361. - Added BITMAPINFOHEADER struct
  24362. - Added ClipboardFormats enum
  24363. * X11Structs.cs:
  24364. - Added ClipboardStruct
  24365. - Added Atom enum items for clipboard types
  24366. - Fixed atom types for Selection event structures
  24367. * DataFormats.cs:
  24368. - Added internal properties and methods for drivers to enumerate
  24369. all known formats
  24370. - Switched initialization method to allow drivers to assign their
  24371. own IDs even for the MS predefined clipboard IDs
  24372. * XplatUI.cs: Updated to final clipboard interface
  24373. 2005-05-18 Jonathan S. Chambers <[email protected]>
  24374. * PropertyGridView.cs: Fixed compiler warnings.
  24375. 2005-05-18 Jonathan S. Chambers <[email protected]>
  24376. * PropertyGrid.cs: Added some event calls
  24377. * PropertyGridView.cs: Change drawing code to use double buffering
  24378. * PropertyGridTextBox.cs: Changed Text property name
  24379. * GridItem.cs: Added Bounds property.
  24380. * GridEntry.cs: Added Bounds property.
  24381. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  24382. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  24383. since GetType() may not return the correct type if the object is
  24384. a remoting proxy.
  24385. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  24386. * TreeNodeCollection.cs: fixes get/set item ranges
  24387. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  24388. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  24389. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  24390. * ComboBox.cs: Fix item range comparation
  24391. * ListView.cs: Fix item range comparation
  24392. 2005-05-03 Alexander Olk <[email protected]>
  24393. * FontDialog.cs:
  24394. - Clear example panel when OnPaint is called
  24395. - Better solution for displaying the example panel text
  24396. - Select default indexes in the ListBoxes
  24397. 2005-05-11 Geoff Norton <[email protected]>
  24398. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  24399. 2005-05-11 Peter Bartok <[email protected]>
  24400. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  24401. * SelectionRangeConverter.cs: Implemented
  24402. * PropertyGrid.cs: Fixed attribute value
  24403. * Control.cs:
  24404. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  24405. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  24406. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  24407. that's common to all drivers. First methods to go there are
  24408. Sebastien Pouliot's CAS Stack Propagation helper methods
  24409. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  24410. Sebastien Pouliot for CAS Stack Propagation
  24411. 2005-05-11 Geoff Norton <[email protected]>
  24412. * OSXStructs.cs:
  24413. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  24414. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  24415. * DataGridTextBoxColumn.cs: fixed some members
  24416. * GridColumnStylesCollection.cs: indexed column is case insensitive
  24417. * DataGridTableStyle.cs: fixes
  24418. * ThemeWin32Classic.cs: add new theme parameter
  24419. * Theme.cs: add new theme parameter
  24420. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  24421. * DataGrid.cs: fixes, new internal properties, etc.
  24422. * DataGridColumnStyle.cs: allows to set grid value
  24423. *
  24424. 2005-05-10 Peter Bartok <[email protected]>
  24425. * AccessibleObject.cs:
  24426. - Removed MonoTODO attribute on help, method is correct
  24427. - Fixed Bounds property
  24428. * AxHost.cs: Moved MonoTODO
  24429. * ButtonBase.cs: Now setting AccessibleObject properties
  24430. * RadioButton.cs: Setting proper AccessibleObject role
  24431. * CheckBox.cs: Setting proper AccessibleObject role
  24432. * ControlBindingsCollection.cs: Added properties, methods and attributes
  24433. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  24434. userdefined DataFormats.Format items as well
  24435. * ListControl.cs: Removed data_member from the public eye
  24436. * OpenFileDialog.cs:
  24437. - Made class sealed
  24438. - Added missing attributes
  24439. * SaveFileDialog.cs: Added missing attributes
  24440. * ImageListStreamer.cs: Fixed code that caused warnings
  24441. * LinkLabel.cs: Removed unreachable code
  24442. * TreeView.cs: Fixed code that caused warnings
  24443. * PropertyGridView.cs: Fixed code that caused warnings
  24444. * GridColumnStylesCollection.cs: Added missing attributes
  24445. * GridTableStylesCollection: Added missing attribute
  24446. * PropertyManager: Added .ctor
  24447. * SecurityIDType: Added
  24448. * DataObject.cs: Implemented class
  24449. * LinkArea.cs: Added missing attribute
  24450. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  24451. * RadioButton.cs: call base method to allow to fire OnClick event
  24452. * UpDownBase.cs: OnMouseUp call base method
  24453. * CheckedListBox.cs: call base method before returning
  24454. * TrackBar.cs: call base method before returning
  24455. 2005-05-10 Peter Bartok <[email protected]>
  24456. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  24457. for messages
  24458. 2005-05-10 Peter Bartok <[email protected]>
  24459. * DataFormats.cs: Implemented
  24460. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  24461. XplatUIX11.cs: Added Clipboard APIs
  24462. * XplatUIWin32.cs: Implemented Clipboard APIs
  24463. * FolderBrowserDialog.cs: Added missing event, attributes
  24464. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  24465. * CheckBox.cs: call base method to allow to fire OnClick event
  24466. 2005-05-09 Sebastien Pouliot <[email protected]>
  24467. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  24468. 2005-05-06 Peter Bartok <[email protected]>
  24469. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  24470. * Screen.cs: Implemented
  24471. * HelpNavigator.cs: Added
  24472. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  24473. property
  24474. * HelpProvider.cs: Implemented all we can do until we have a CHM
  24475. help library (which means that "What's This" does work now)
  24476. 2005-05-06 Jackson Harper <[email protected]>
  24477. * XplatUIX11.cs: Fix waking up the main loop.
  24478. 2005-05-05 Peter Bartok <[email protected]>
  24479. * XplatUI.cs: Updated revision
  24480. * Form.cs: Removed enless loop
  24481. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  24482. * Label.cs (OnPaint): Added call to base.OnPaint()
  24483. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  24484. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  24485. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  24486. * AxHost.cs: Added
  24487. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  24488. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  24489. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  24490. reuse of ToolTipWindow by other controls
  24491. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  24492. * XplatUIX11.cs: Now clipping drawing area (experimental)
  24493. * PictureBox.cs: Moved base.OnPaint() call to end of method
  24494. * Theme.cs: Fixed ToolTip abstracts to match new format
  24495. * ErrorProvider.cs: Implemented
  24496. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  24497. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  24498. * LinkLabel.cs:
  24499. - Adds cursors
  24500. - Handles focus
  24501. - Implements LinkBehavior
  24502. - Fixes many issues
  24503. 2005-05-03 Jackson Harper <[email protected]>
  24504. * ListView.cs: Calculate the scrollbar positioning on resize and
  24505. paint, so they get put in the correct place.
  24506. 2005-05-03 Alexander Olk <[email protected]>
  24507. * ColorDialogs.cs: The small color panels are now handled by
  24508. SmallColorControl. This fixes drawing of the focus rectangle
  24509. and adds a 3D border.
  24510. 2005-05-03 Peter Bartok <[email protected]>
  24511. * Control.cs: Modified version of Jonathan Chamber's fix for
  24512. double-buffering
  24513. 2005-05-03 Jackson Harper <[email protected]>
  24514. * ListView.cs: Remove redraw variable. Control now handles whether
  24515. or not a redraw needs to be done, and will only raise the paint
  24516. event if redrawing is needed.
  24517. 2005-05-03 Jackson Harper <[email protected]>
  24518. * Splitter.cs: No decorations for the splitter form. Cache the
  24519. hatch brush.
  24520. 2005-05-03 Jackson Harper <[email protected]>
  24521. * TreeView.cs: Use dashed lines to connect nodes. Use the
  24522. ControlPaint method for drawing the focus rect instead of doing
  24523. that in treeview.
  24524. 2005-05-02 Peter Bartok <[email protected]>
  24525. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  24526. 2005-04-29 Jackson Harper <[email protected]>
  24527. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  24528. entire image buffer. Just clear the clipping rectangle.
  24529. 2005-04-29 Jackson Harper <[email protected]>
  24530. * ThemeWin32Classic.cs: Don't draw list view items that are
  24531. outside the clipping rectangle.
  24532. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  24533. * ListBox.cs: added horizontal item scroll
  24534. 2005-04-29 Jackson Harper <[email protected]>
  24535. * ThemeWin32Classic.cs: Remove some old debug code that was
  24536. causing flicker with the new double buffering code.
  24537. 2005-04-29 John BouAntoun <[email protected]>
  24538. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  24539. behave like combobox and comboboxlist (still not sure if this is
  24540. correct though).
  24541. 2005-04-28 Jackson Harper <[email protected]>
  24542. * ThemeWin32Classic.cs: Don't fill the middle of progress
  24543. bars. This fills areas outside of the clip bounds that don't need
  24544. to be filled.
  24545. 2005-04-28 Jackson Harper <[email protected]>
  24546. * Control.cs: Don't expose functionality to touch the image buffers.
  24547. * ProgressBar.cs:
  24548. * ListView.cs: We do not need to (and no longer can) manipulate
  24549. the image buffers directly. All of this is handled by Control.
  24550. 2005-04-28 Peter Bartok <[email protected]>
  24551. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  24552. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  24553. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  24554. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  24555. * Combobox:
  24556. - Adjust control's height for non-simple comboboxes (bug fix)
  24557. - Remove dead code
  24558. * MenuAPI.cs: remove unused var
  24559. * ScrollBar.cs: remove unsed var
  24560. * ListBox.cs: unselect items when clearing
  24561. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  24562. * ListControl.cs: honors OnPositionChanged and default Selected Item
  24563. * ListBox.cs: unselect items when clearing
  24564. 2005-04-27 Jackson Harper <[email protected]>
  24565. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  24566. if a "correct" keyboard is not found. This will make us not crash,
  24567. but might give some users bad keyboard layouts...seems to be the
  24568. same thing rewind does.
  24569. 2005-04-27 Jackson Harper <[email protected]>
  24570. * BindingManagerBase.cs: Attach the current/position changed
  24571. handlers to their respective events.
  24572. 2005-04-27 Jackson Harper <[email protected]>
  24573. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  24574. not just a blit.
  24575. * ThemeWin32Classic.cs: Don't fill the background for picture
  24576. boxes. This could overright user drawing.
  24577. * ComboBox.cs: Just fill the clipping rect not the entire client
  24578. rect when drawing the background. This prevents pieces of the
  24579. image buffer from getting overwritten and is theoretically faster.
  24580. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  24581. * ComboBox.cs: Databinding support fixes, fire missing events
  24582. * ListControl.cs: implement missing methods and properties, fixes
  24583. * ThemeWin32Classic.cs: Databiding support on Drawing
  24584. * CheckedListBox.cs: Databinding support fixes, fire missing events
  24585. * ListBox.cs: Databinding support fixes, fire missing events
  24586. 2005-04-25 Peter Bartok <[email protected]>
  24587. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  24588. 2005-04-25 Jackson Harper <[email protected]>
  24589. * TreeView.cs: Use the horizontal scrollbars height not width when
  24590. determining how much of the client area is available.
  24591. 2005-04-25 Jackson Harper <[email protected]>
  24592. * Control.cs: Double buffering is handled differently now. As per
  24593. the spec, the extra buffer is created in the WM_PAINT message and
  24594. passed down to the control's drawing code.
  24595. * GroupBox.cs:
  24596. * Label.cs:
  24597. * CheckBox.cs:
  24598. * ProgressBar.cs:
  24599. * RadioButton.cs:
  24600. * ColorDialog.cs:
  24601. * ComboBox.cs:
  24602. * PropertyGridView.cs:
  24603. * UpDownBase.cs:
  24604. * MessageBox.cs:
  24605. * MenuAPI.cs:
  24606. * ListView.cs:
  24607. * ButtonBase.cs:
  24608. * SizeGrip.cs:
  24609. * ScrollBar.cs:
  24610. * ListBox.cs:
  24611. * TrackBar.cs:
  24612. * ToolBar.cs:
  24613. * PictureBox.cs:
  24614. * DateTimePicker.cs:
  24615. * StatusBar.cs:
  24616. * TreeView.cs: Update to new double buffering system.
  24617. * MonthCalendar.cs: Uncomment block, as Capture is now
  24618. working. Update to new double buffering
  24619. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  24620. * PaintEventArgs.cs: New internal method allows us to set the
  24621. graphics object. This is used for double buffering.
  24622. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  24623. rectangle. The internal paint_area var has been removed from
  24624. StatusBar. The clipping rect should be used instead.
  24625. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  24626. * TabPage.cs: The RefreshTabs method was removed, so just call the
  24627. tab controls Refresh method now.
  24628. * TabControl.cs: Update to new double buffering. Make sure the
  24629. handle is created before sizing the tab pages, otherwise we will
  24630. get stuck in a loop.
  24631. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  24632. * LinkLabel.cs: Fix typo, bug #74719; patch
  24633. from Borja Sanchez Zamorano
  24634. 2005-04-22 Jackson Harper <[email protected]>
  24635. * TreeNode.cs: Implement Handle stuff.
  24636. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  24637. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  24638. * DataGridTextBoxColumn.cs: call base constructors, fixes
  24639. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  24640. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  24641. * DataGridTableStyle.cs: implements create default column styles
  24642. * DataGridBoolColumn.cs: which types can handle
  24643. * DataGrid.cs: missing methods, fixes, new functionality
  24644. * DataGridColumnStyle.cs: fixes
  24645. 2005-04-20 Alexander Olk <[email protected]>
  24646. * FolderBrowserDialog.cs:
  24647. - Use a thread to fill the TreeView
  24648. - Adjusted some sizes
  24649. 2005-04-19 Peter Bartok <[email protected]>
  24650. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  24651. property. Fixes #74360.
  24652. 2005-04-19 Jackson Harper <[email protected]>
  24653. * XEventQueue.cs: Lock when getting the lockqueue size.
  24654. * PictureBox.cs: Call base OnPaint
  24655. 2005-04-19 Peter Bartok <[email protected]>
  24656. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  24657. messages were no longer being processed (this broke BeginInvoke)
  24658. 2005-04-18 Jackson Harper <[email protected]>
  24659. * TreeView.cs: buglet that caused node images to get drawn
  24660. regardless of whether or not they were in the clipping rectangle.
  24661. 2005-04-18 Jackson Harper <[email protected]>
  24662. * CurrencyManager.cs: There are four rules for GetItemProperties:
  24663. - If the type is an array use the element type of the array
  24664. - If the type is a typed list, use the type
  24665. - If the list contains an Item property that is not an object, use
  24666. that property
  24667. - use the first element of the list if there are any elements in
  24668. the list.
  24669. 2005-04-17 Jackson Harper <[email protected]>
  24670. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  24671. click. This handles offsets for scrolling properly and reduces
  24672. memory. Also fixed GetNode to not offset now that TopNode works
  24673. properly.
  24674. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  24675. 2005-04-17 Jackson Harper <[email protected]>
  24676. * CursorConverter.cs: Initial implementation.
  24677. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24678. * ListControl.cs: work towards complex data binding support on ListControl
  24679. * CurrencyManager.cs: work towards complex data binding support on ListControl
  24680. * ListBox.cs: work towards complex data binding support on ListControl
  24681. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24682. * GridTableStylesCollection.cs: fixes name and constructor
  24683. * DataGridTableStyle.cs: fixes
  24684. * DataGridBoolColumn.cs: fixes names and constructors
  24685. * DataGrid.cs: define methods and properties. Some init implementations
  24686. * DataGridCell.cs: define methods and properties. Some init implementations
  24687. * GridTablesFactory.cs: Define methods and properties
  24688. 2005-04-15 Geoff Norton <[email protected]>
  24689. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  24690. graphics port changes. We still want the coordinates in global screen
  24691. coordinates.
  24692. 2005-04-14 Jackson Harper <[email protected]>
  24693. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  24694. check plus minus or checkbox clicks unless those features are enabled.
  24695. 2005-04-14 Jackson Harper <[email protected]>
  24696. * TreeView.cs: Add methods for setting the top and bottom visible
  24697. nodes. TreeNode::EnsureVisible uses these methods.
  24698. * TreeNode.cs: Implement EnsureVisible
  24699. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  24700. * Form.cs: Pospone menu assignation if the window has not been created yet
  24701. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  24702. size and position
  24703. 2005-04-12 Jackson Harper <[email protected]>
  24704. * TreeView.cs: Set the TopNode properly when scrolling
  24705. occurs. This has the added benifit of reducing the amount of
  24706. walking that needs to be done when drawing. Also removed an old
  24707. misleading TODO.
  24708. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  24709. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  24710. * Timer.cs: fixes interval setting when the timer is already enabled
  24711. 2005-04-10 Alexander Olk <[email protected]>
  24712. * FolderBrowserDialog.cs: First approach
  24713. 2005-04-09 Peter Bartok <[email protected]>
  24714. * FolderBrowserDialog: Added
  24715. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  24716. * LinkLabel.cs: move drawing code into the theme
  24717. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  24718. * Theme.cs: define DrawLinkLabel method
  24719. 2005-04-05 Jackson Harper <[email protected]>
  24720. * BindingContext.cs: Use weak references so these bad actors don't
  24721. stay alive longer then they need to.
  24722. 2005-04-05 Jackson Harper <[email protected]>
  24723. * ListControl.cs: Basic implementation of complex databinding.
  24724. * ComboBox.cs:
  24725. * ListBox.cs: Add calls to ListControl databinding methods.
  24726. 2005-04-05 Alexander Olk <[email protected]>
  24727. * FileDialog.cs:
  24728. - Don't change PopupButtonState to Normal when the
  24729. PopupButton gets pressed several times.
  24730. - Renamed ButtonPanel to PopupButtonPanel
  24731. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  24732. * ColorDialog.cs: Use cached objects instead of creating them
  24733. * LinkLabel.cs: Use cached objects instead of creating them
  24734. * Splitter.cs: Use cached objects instead of creating them
  24735. * FontDialog.cs: Use cached objects instead of creating them
  24736. * PropertyGridView.cs: Use cached objects instead of creating them
  24737. * MessageBox.cs: Use cached objects instead of creating them
  24738. * FileDialog.cs: Use cached objects instead of creating them
  24739. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  24740. * TreeView.cs: Use cached objects instead of creating them
  24741. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  24742. * Control.cs: use Equals to compare the font since no == op
  24743. * ScrollBar.cs: use Equals to compare the font since no == op
  24744. 2005-04-04 Alexander Olk <[email protected]>
  24745. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  24746. 2005-04-01 Jackson Harper <[email protected]>
  24747. * Binding.cs: Implement IsBinding.
  24748. * BindingManagerBase.cs:
  24749. * PropertyManager.cs:
  24750. * CurrencyManager.cs: Add IsSuspended property.
  24751. 2005-04-01 Jackson Harper <[email protected]>
  24752. * Binding.cs: Had some IsAssignableFrom calls backwards.
  24753. 2005-04-01 Jackson Harper <[email protected]>
  24754. * Binding.cs: Handle null data members when pulling data.
  24755. * PropertyManager.cs: Handle the data member being a property that
  24756. does not exist.
  24757. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24758. * DataGridTextBoxColumn.cs: fixes signature
  24759. * DataGrid.cs: calls right constructor
  24760. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24761. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  24762. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  24763. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  24764. * DataGridTableStyle.cs: implements DataGridTableStyle
  24765. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  24766. * DataGridTextBox.cs: implements DataGridTextBox
  24767. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  24768. 2005-03-31 Alexander Olk <[email protected]>
  24769. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  24770. 2005-03-29 Peter Bartok <[email protected]>
  24771. * Application.cs:
  24772. - Properly implemented CompanyName property
  24773. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  24774. returns a path that includes CompanyName, ProductName and
  24775. Version (fixes bug #70330)
  24776. 2005-03-29 Stefan Buehler <[email protected]>
  24777. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  24778. fixes bug #72588.
  24779. 2005-03-28 Alexander Olk <[email protected]>
  24780. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  24781. - Added ReadOnly CheckBox
  24782. - Further refactoring: moved some code from Open-/SaveFileDialog
  24783. to FileDialog
  24784. 2005-03-28 Alexander Olk <[email protected]>
  24785. * OpenFileDialog.cs: Fixed CheckFileExists
  24786. * FileDialog.cs:
  24787. Moved FileView and DirComboBox outside FileDialog class.
  24788. They can now be used outside FileDialog
  24789. 2005-03-27 Alexander Olk <[email protected]>
  24790. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  24791. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  24792. 2005-03-27 Alexander Olk <[email protected]>
  24793. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24794. - Added missing CreatePrompt property in SaveDialog
  24795. - Overall SaveDialog handling should be better now
  24796. - Added non standard ShowHiddenFiles property
  24797. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  24798. - Added InitialDirectory and RestoreDirectory support
  24799. 2005-03-26 Alexander Olk <[email protected]>
  24800. * FileDialog.cs: Made dirComboBox usable
  24801. 2005-03-24 Alexander Olk <[email protected]>
  24802. * FileDialog.cs: Added Filter support (case sensitiv)
  24803. 2005-03-24 Jackson Harper <[email protected]>
  24804. * TabControl.cs: Need a couple more pixels for the lines.
  24805. 2005-03-23 Jackson Harper <[email protected]>
  24806. * TabControl.cs: Give the tab page focus when it is selected.
  24807. 2005-03-23 Jackson Harper <[email protected]>
  24808. * TabControl.cs: Account for the drawing of tabs borders when
  24809. invalidating. If the slider was clicked dont do click detection on
  24810. the tabs.
  24811. 2005-03-23 Jackson Harper <[email protected]>
  24812. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  24813. 2005-03-22 Jonathan Chambers <[email protected]>
  24814. * CategoryGridEntry.cs: Added
  24815. * GridItem.cs: Added helper properties
  24816. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  24817. * GridEntry.cs: Updated code for collection
  24818. * PropertyGrid.cs: Cleaned up some formatting
  24819. * PropertyGridView.cs: Added drop down functionality for enums.
  24820. * GridItemCollection.cs: Added enumerator logic
  24821. * PropertyGridEntry.cs: Added
  24822. 2005-03-19 Alexander Olk <[email protected]>
  24823. * FileDialog.cs:
  24824. - Removed unnecessary commented code
  24825. - Fixed handling for entering the filename manually in the combobox
  24826. 2005-03-19 Alexander Olk <[email protected]>
  24827. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  24828. 2005-03-18 Peter Bartok <[email protected]>
  24829. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  24830. them being touching the border
  24831. 2005-03-18 Peter Bartok <[email protected]>
  24832. * TextControl.cs: Quick hack to center text better
  24833. 2005-03-18 Peter Bartok <[email protected]>
  24834. * ControlPaint.cs:
  24835. - Don't throw NotImplemented exceptions, just print a notice once
  24836. instead (requested by Miguel). This makes running existing SWF
  24837. apps a bit easier
  24838. * Control.cs:
  24839. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  24840. - Added context menu trigger on right click
  24841. * Panel.cs: Trigger invalidate on resize
  24842. * StatusBar.cs:
  24843. - Removed old double-buffer drawing
  24844. - Added ResizeRedraw style to force proper update of statusbar
  24845. * ListView.cs:
  24846. - Removed debug output
  24847. * ThemeWin32Classic.cs:
  24848. - Fixed drawing of status bar, now draws Text property if there
  24849. are no defined panels
  24850. 2005-03-18 Jackson Harper <[email protected]>
  24851. * ImageList.cs: When the image stream is set pull all the images
  24852. from it.
  24853. * ImageListStreamer.cs: Implement reading image list streams.
  24854. 2005-03-18 Peter Bartok <[email protected]>
  24855. * ThemeWin32Classic.cs (DrawPictureBox):
  24856. - Fixed calculations for centered drawing
  24857. - Fixed drawing for normal mode, not scaling the image on normal
  24858. 2005-03-18 Peter Bartok <[email protected]>
  24859. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  24860. textbox
  24861. * FileDialog.cs:
  24862. - Made Open/Save button the accept button for FileDialog
  24863. - Tied the cancel button to the IButtonControl cancel button
  24864. - Save/Open now properly builds the pathname
  24865. - Now handles user-entered text
  24866. - Preventing crash on right-click if no item is selected
  24867. - Fixed Text property, now uses contents of textbox
  24868. - Fixed SelectedText property, now just returns the text part that
  24869. is selected in the text box
  24870. 2005-03-18 Jackson Harper <[email protected]>
  24871. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  24872. rect, make sure to de-adjust the interior rect after drawing the
  24873. tab text.
  24874. 2005-03-18 Peter Bartok <[email protected]>
  24875. * MenuAPI.cs: Remove menu *before* executing selected action to
  24876. prevent the menu from 'hanging around'
  24877. 2005-03-17 Geoff Norton <[email protected]>
  24878. * XplatUIOSX.cs: Implemented WorkingArea property
  24879. 2005-03-17 Peter Bartok <[email protected]>
  24880. * XplatUIX11.cs: Fixed menu coord calculations
  24881. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  24882. for calculating offsets
  24883. 2005-03-17 Peter Bartok <[email protected]>
  24884. * Hwnd.cs: Do not consider menu presence for default client
  24885. rectangle location/size
  24886. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  24887. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  24888. translation functions
  24889. * FileDialog.cs: Fixed (what I presume is a) typo
  24890. 2005-03-17 Jonathan Gilbert <[email protected]>
  24891. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  24892. X access (avoids X-Async errors)
  24893. 2005-03-16 Jackson Harper <[email protected]>
  24894. * TabControl.cs: Raise the SelectedIndexChanged event.
  24895. 2005-03-16 Alexander Olk <[email protected]>
  24896. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24897. - Removed vertical ToolBar and replaced it with a custom panel
  24898. (desktop and home button already work)
  24899. - Added Help button (some controls get resized or relocated then)
  24900. - Draw correct text depending on Open or Save.
  24901. - Fixed some typos...
  24902. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  24903. * ScrollBar.cs:
  24904. - Only change Maximum and Minimum when need it (bug fix)
  24905. 2005-03-15 Peter Bartok <[email protected]>
  24906. * Form.cs: Use Handle for icon, to trigger creation if
  24907. the window does not yet exist
  24908. * Control.cs:
  24909. - CanSelect: Slight performance improvement
  24910. - Focus(): Preventing possible recursion
  24911. - Invalidate(): Removed ControlStyle based clear flag setting
  24912. - WM_PAINT: fixed logic for calling OnPaintBackground
  24913. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  24914. EraseWindowBackground if the control doesn't paint background
  24915. * XplatUIWin32.cs:
  24916. - Moved EraseWindowBackground() method to internal methods
  24917. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  24918. is sent via SendMessage on BeginPaint call on Win32
  24919. * XplatUIX11.cs:
  24920. - Added EraseWindowBackground() method
  24921. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  24922. PaintEventStart, which more closely matches Win32 behaviour
  24923. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  24924. - Fixed SetFocus() to properly deal with client and whole windows
  24925. * Hwnd.cs: Added ErasePending property
  24926. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  24927. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  24928. 2005-03-12 Geoff Norton <[email protected]>
  24929. * XplatUIOSX.cs:
  24930. - Fix hard loop when timers exist.
  24931. - Fix bugs with middle and right click for 3 button mice.
  24932. 2005-03-11 Peter Bartok <[email protected]>
  24933. * XplatUIX11.cs:
  24934. - get_WorkingArea: Need to call X directly, GetWindowPos only
  24935. returns cached data now
  24936. - Added sanity check to GetWindowPos hwnd usage
  24937. 2005-03-11 Jackson Harper <[email protected]>
  24938. * BindingManagerBase.cs: This method isn't used anymore as
  24939. PullData now updates the data in the control.
  24940. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  24941. * Form.cs: fixes menu drawing on X11
  24942. * MenuAPI.cs: fixes menu drawing on X11
  24943. 2005-03-11 Peter Bartok <[email protected]>
  24944. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  24945. from Jonathan Gilbert; should fix bug #73606
  24946. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  24947. in Screen coordinates. Thanks, Jordi.
  24948. * Form.cs: Added missing attribute
  24949. 2005-03-11 Peter Bartok <[email protected]>
  24950. * Form.cs:
  24951. - Rudimentary Mdi support
  24952. - Removed outdated FormParent code
  24953. - Implemented lots of missing properties and methods, still missing
  24954. transparency support
  24955. - Added missing attributes
  24956. - Implemented support for MaximumBounds
  24957. - Added firing of various events
  24958. * XplatUI.cs: Added SetIcon() method
  24959. * XplatUIDriver.cs: Added SetIcon() abstract
  24960. * XplatUIOSX.cs: Stubbed out SetIcon() method
  24961. * XplatUIX11.cs:
  24962. - Implemented SetIcon() support
  24963. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  24964. - Switched to unix line endings
  24965. * XplatUIWin32.cs:
  24966. - Made POINT internal so for can access it as part of MINMAX
  24967. - Implemented SetIcon() support
  24968. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  24969. native Mdi support again, might have to go managed)
  24970. * Control.cs: Now fires the StyleChanged event
  24971. * MdiClient.cs: Added; still mostly empty
  24972. 2005-03-10 Peter Bartok <[email protected]>
  24973. * SaveFileDialog.cs: Added emtpy file
  24974. 2005-03-08 Peter Bartok <[email protected]>
  24975. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  24976. in turn triggers OnCreateContro) when creating a handle for the
  24977. first time.
  24978. * TextControl.cs: Fixed endless loop in certain cases when
  24979. replacing the current selection
  24980. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  24981. * ScrollBar.cs:
  24982. - Honors NewValue changes in Scroll events allowing apps to change it
  24983. - Adds First and Last Scroll events
  24984. - Fixes Thumb events
  24985. 2005-03-07 Peter Bartok <[email protected]>
  24986. * Hwnd.cs: Added DefaultClientRectangle property
  24987. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  24988. more detailed debug information
  24989. * XplatUIX11.cs:
  24990. - Fixed size-change feedback loop, where we would pull an old size
  24991. off the queue and mistakenly change our window's size to an
  24992. earlier value
  24993. - Now compressing ConfigureNotify events, to reduce looping and
  24994. redraw issues
  24995. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  24996. is called
  24997. 2005-03-07 Jackson Harper <[email protected]>
  24998. * Binding.cs: Push data pushes from data -> property. Check if the
  24999. property is readonly when attempting to set it.
  25000. 2005-03-07 Jackson Harper <[email protected]>
  25001. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  25002. instead of IsSubclassOf. Pulling data now sets the value on the
  25003. control.
  25004. * PropertyManager.cs:
  25005. * CurrencyManager.cs: Just need to pull data when updating now,
  25006. because PullData will set the value on the control.
  25007. 2005-03-04 Jackson Harper <[email protected]>
  25008. * Binding.cs: Implement data type parsing and converting on pulled
  25009. data. TODO: Are there more ways the data can be converted?
  25010. 2005-03-04 Jackson Harper <[email protected]>
  25011. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  25012. controls Validating method so we can repull the data when the
  25013. control loses focus.
  25014. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  25015. * ColumnHeader.cs:
  25016. - Fixes null string format
  25017. * ListView.cs:
  25018. - Adds enum type checks
  25019. - Fixes redrawing and recalc need after changing some properties
  25020. - Fixes on focus_item set after the event
  25021. - Fixes adding columns after the control has been created
  25022. * ThemeWin32Classic.cs:
  25023. - Fixes CheckBox focus rectangle
  25024. - Fixes ColumnHeader drawing
  25025. 2005-03-03 Jackson Harper <[email protected]>
  25026. * Binding.cs: Bind to <Property>Changed events so we can detect
  25027. when properties are changed and update the data.
  25028. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  25029. * ImageList.cs:
  25030. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  25031. - Fixes ImageList constructor with ImageList container
  25032. - Fixes image scaling (wrong parameters at DrawImage)
  25033. 2005-02-02 Jackson Harper <[email protected]>
  25034. * Binding.cs: Make property searches case-insensitive. Eliminate
  25035. some duplicated code.
  25036. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  25037. * ComboBox.cs:
  25038. - Handle focus event
  25039. - Fix scrollbar events
  25040. - Discard highlighted item if remove it
  25041. - Fixes SelectedItem with strings
  25042. 2005-03-01 Peter Bartok <[email protected]>
  25043. * Control.cs:
  25044. - Fixed Visible property, now follows (once again) parent chain
  25045. to return false if any control in the chain is visible=false
  25046. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  25047. - Fixed several places where is_visible instead of Visible was used
  25048. - Implemented FIXME related to focus selection when setting focused
  25049. control to be invisible
  25050. * XplatUIWin32.cs: Now using proper method to find out if window is
  25051. visible. Thanks to Jordi for pointing it out
  25052. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  25053. * ComboBox.cs: show/hide scrollbar instead of creating it
  25054. 2005-02-27 Jackson Harper <[email protected]>
  25055. * CurrencyManager.cs: Add PositionChanged stuff.
  25056. 2005-02-27 Peter Bartok <[email protected]>
  25057. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  25058. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  25059. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  25060. * XplatUIX11.cs:
  25061. - Implemented GetMenuDC()
  25062. - Implemented GetMenuOrigin()
  25063. - Implemented ReleaseMenuDC()
  25064. - Implemented generation of WM_NCPAINT message
  25065. - Implemented generation and handling of WM_NCCALCSIZE message
  25066. * Form.cs: Added debug helper message for Jordi's menu work
  25067. * Hwnd.cs:
  25068. - Modified ClientRect property; added setter, fixed getter to handle
  25069. setting of ClientRect
  25070. - Added MenuOrigin property
  25071. 2005-02-26 Peter Bartok <[email protected]>
  25072. * XplatUIX11.cs:
  25073. - Destroys the caret if a window that's being destroyed contains it
  25074. - Ignores expose events coming from the X11 queue for windows that
  25075. already are destroyed
  25076. - Now uses the proper variable for handling DestroyNotify, before we
  25077. marked the wrong window as destroyed
  25078. - Improved/added some debug output
  25079. 2005-02-26 Peter Bartok <[email protected]>
  25080. * X11Keyboard.cs: Fixes to work on 64bit systems
  25081. 2005-02-26 Peter Bartok <[email protected]>
  25082. * Control.cs:
  25083. - Now calling OnHandleDestroyed from DestroyHandle()
  25084. instead of Dispose()
  25085. - Removed bogus call to controls.Remove() from DestroyHandle()
  25086. 2005-02-26 Peter Bartok <[email protected]>
  25087. * Control.cs: Properly destroy child windows when our handle is
  25088. destroyed
  25089. 2005-02-25 Peter Bartok <[email protected]>
  25090. * XplatUI.cs:
  25091. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  25092. - Alphabetized Static Methods and Subclasses
  25093. * XplatUIX11.cs:
  25094. - Added XException class to allow custom handling of X11 exceptions
  25095. - Created custom X11 error handler, tied into XException class
  25096. - Added support for MONO_XEXCEPTIONS env var to allow the user
  25097. to either throw an exception on X errors or continue running
  25098. after displaying the error
  25099. - Added handling of DestroyNotify message
  25100. - Added handler for CreateNotify message (still disabled)
  25101. - Improved (tried to at least) Where method to provide file and lineno
  25102. * X11Structs.cs:
  25103. - Added XErrorHandler delegate
  25104. - Added XRequest enumeration (to suppor translation of errors)
  25105. 2005-02-25 Jackson Harper <[email protected]>
  25106. * PropertyManager.cs: Implement editing features
  25107. * CurrencyManager.cs:
  25108. * Binding.cs: First attempt at UpdateIsBinding
  25109. * BindingManagerBase.cs: Call UpdateIsBinding before
  25110. pushing/pulling data.
  25111. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  25112. * MenuAPI.cs: Respect disabled items
  25113. * ThemeWin32Classic.cs
  25114. - Caches ImageAttributes creation for DrawImageDisabled
  25115. - Fixes vertical menu line drawing
  25116. - Draws disabled arrows in disable menu items
  25117. 2005-02-24 Peter Bartok <[email protected]>
  25118. * Hwnd.cs:
  25119. - Added UserData property to allow associating arbitrary objects
  25120. with the handle
  25121. - Fixed leak; now removing Hwnd references from static windows array
  25122. * XplatUIWin32.cs:
  25123. - Fixed Graphics leak in PaintEventEnd
  25124. - Removed usage of HandleData, switched over to Hwnd class
  25125. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  25126. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  25127. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  25128. * ScrollBar.cs: Fixes bug
  25129. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  25130. keyboard navigation enhancements
  25131. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  25132. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  25133. * GroupBox.cs: Add control styles
  25134. * Label.cs: Add control styles
  25135. * UpDownBase.cs: Add control styles
  25136. * ListBox.cs: Add control styles
  25137. * XplatUIWin32.cs: Fixes wrong parameter order
  25138. 2005-02-23 Chris Bacon <[email protected]>
  25139. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  25140. 2005-02-23 Jackson Harper <[email protected]>
  25141. * PropertyManager.cs: Implement property binding. This doesn't
  25142. seem to work yet though as (I think) there are some bugs in
  25143. System.ComponentModel.PropertyDescriptor.
  25144. * BindingContext.cs: Use new PropertyManager constructor.
  25145. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  25146. * ProgressBar.cs: use clip region in ProgressBar
  25147. * ThemeWin32Classic.cs: use clip region in ProgressBar
  25148. 2004-02-22 Jackson Harper <[email protected]>
  25149. * BindingsCollection.cs: Remove some debug code.
  25150. 2005-02-22 Jackson Harper <[email protected]>
  25151. * BindingContext.cs:
  25152. * ControlBindingsCollection.cs:
  25153. * CurrencyManager.cs:
  25154. * Binding.cs:
  25155. * BindingManagerBase.cs: Initial implementation
  25156. * BindingsCollection.cs: Add an internal contains method that the
  25157. BindingManagerBase uses to ensure bindings aren't added twice to
  25158. the collection.
  25159. * PropertyManager.cs: Stubbed out.
  25160. * Control.cs:
  25161. * ContainerControl.cs: Hook up databinding
  25162. 2005-02-22 Geoff Norton <[email protected]>
  25163. * XplatUIOSX.cs:
  25164. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  25165. Fixed Invalidate/Update chain.
  25166. Fixed tons of other minor bugs (this is almost a complete rewrite).
  25167. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  25168. * ComboBox.cs: do subcontrol creation when the control is created
  25169. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  25170. * Label.cs: fixes image drawing (image and imagelist)
  25171. * ThemeWin32Classic.cs: cache brushes
  25172. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  25173. * Form.cs: Move menu drawing code to Theme class
  25174. * ComboBox.cs: Move ComboBox drawing code to Theme class
  25175. * MenuItem.cs: Move menu drawing code to Theme class
  25176. * MenuAPI.cs: Move menu drawing code to Theme class
  25177. * ThemeWin32Classic.cs: New methods
  25178. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  25179. * ListBox.cs: Move Listbox drawing code to Theme class
  25180. * Theme.cs: New methods
  25181. 2005-02-20 Peter Bartok <[email protected]>
  25182. * Control.cs:
  25183. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  25184. only process mnemonics on those)
  25185. - Fixed event sequence for key handling; first calling
  25186. ProcessKeyEventArgs now
  25187. * TextBoxBase.cs:
  25188. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  25189. for processing non-character keys
  25190. - Fixed WM_CHAR to generate proper event sequence before processing
  25191. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  25192. generation
  25193. 2005-02-19 Peter Bartok <[email protected]>
  25194. * UserControl.cs: Added TextChanged event; added attributes
  25195. * SizeGrip.cs: Implemented resizing and optional display of grip
  25196. * Form.cs: Fixed attribute
  25197. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  25198. Changed meaning of ScrollWindow bool argument; instead of the
  25199. clear attribute (which will be true usually anyway), it gives the
  25200. option of moving child controls as well.
  25201. * XplatUIX11.cs:
  25202. - Changed to match new ScrollWindow argument
  25203. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  25204. now handles the implicit parent window a WM puts around us
  25205. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  25206. to work)
  25207. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  25208. * TreeView.cs: Adjusted to new ScrollWindow arguments
  25209. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  25210. * Form.cs: Menu integration with non-client area
  25211. * MenuItem.cs: Menu integration with non-client area
  25212. * MenuAPI.cs: Menu integration with non-client area
  25213. 2005-02-18 Peter Bartok <[email protected]>
  25214. * MethodInvoker.cs: Added
  25215. * MdiLayout.cs: Added
  25216. * SendKeys.cs: Started implementation
  25217. * ErrorIconAlignment.cs: Added
  25218. 2005-02-18 Peter Bartok <[email protected]>
  25219. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  25220. * Form.cs: Added handling for Menu-related Non-client messages
  25221. 2005-02-17 Peter Bartok <[email protected]>
  25222. * UpDownBase.cs: Fixed typo, compilation errors
  25223. * DomainUpDown.cs: Fixed attribute value
  25224. 2005-02-16 Miguel de Icaza <[email protected]>
  25225. * UpDownBase.cs: Attach entry events.
  25226. Propagate events.
  25227. Add ForeColor property, Focused, InterceptArrowKeys (interception
  25228. does not work yet).
  25229. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  25230. * Form.cs:
  25231. - Redraw non client are on Setmenu
  25232. - Calc proper menu starting point
  25233. 2005-02-17 Peter Bartok <[email protected]>
  25234. * Application.cs: Fixed message_filter check
  25235. 2005-02-17 Peter Bartok <[email protected]>
  25236. * Application.cs: Now calls registered message filters
  25237. * DockStyle.cs: Fixed attribute
  25238. * Form.cs: Fixed attribute
  25239. * Menu.cs: Fixed attribute
  25240. * ToolTip.cs: Fixed attribute
  25241. * TreeNode.cs: Added missing attributes and arranged in regions
  25242. * PropertyGrid.cs: Fixed signatures
  25243. * TreeNodeCollection.cs: Added attributes
  25244. * Splitter.cs: Added missing attributes; arranged into regions
  25245. * TabPage.cs: Added missing attributes; arranged into regions
  25246. * TextBoxBase.cs: Added missing attributes
  25247. * TextBox.cs: Added missing attributes
  25248. * ArrangeDirection.cs: Added missing attributes
  25249. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  25250. * ToolBarButton.cs: Fixed attributes
  25251. * AnchorStyles.cs: Fixed attribute
  25252. * TrackBar.cs: Fixed attributes
  25253. * TabControl.cs: Added missing attributes and arranged into regions
  25254. * ToolBar.cs: Fixed attribute
  25255. * StatusBar.cs: Fixed signature, organized into regions and added
  25256. attributes
  25257. * StatusBarPanel.cs: Fixed attributes
  25258. * ContentsResizedEventArgs.cs: Implemented
  25259. * ContentsResizedEventHandler.cs: Implemented
  25260. * DateBoldEventArgs.cs: Implemented
  25261. * DateBoldEventHandler.cs: Implemented
  25262. * UpDownEventArgs.cs: Implemented
  25263. * UpDownEventHandler.cs: Implemented
  25264. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  25265. * Form.cs: first Menu NC refactoring
  25266. * MenuAPI.cs: first Menu NC refactoring
  25267. 2005-02-16 Peter Bartok <[email protected]>
  25268. * ImeMode.cs: Added missing attributes
  25269. * Menu.cs: Fixed attribute
  25270. * GroupBox.cs: Fixed attribute
  25271. * Label.cs: Fixed attribute
  25272. * ColorDialog.cs (RunDialog): Removed TODO attribute
  25273. * ComboBox.cs: Fixed attributes
  25274. * ListControl.cs: Added missing attributes
  25275. * PropertyGrid.cs: Fixed attributes
  25276. * Control.cs: Fixed attributes
  25277. * ListViewItem.cs: Added TypeConverter attribute
  25278. * NotifyIcon.cs: Fixed attributes
  25279. * ListView.cs: Fixed attributes
  25280. * ButtonBase.cs: Fixed attribute
  25281. * ImageList.cs: Added missing attributes
  25282. * ContainerControl.cs: Fixed signature
  25283. * CheckedListBox.cs: Fixed attribute; added missing attributes
  25284. * Panel.cs: Fixed attributes
  25285. * PropertyTabChangedEventArgs.cs: Added missing attribute
  25286. * PropertyValueChangedEventArgs.cs: Added missing attribute
  25287. * Binding.cs: Fixed attribute
  25288. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  25289. * ListBox.cs: Fixed attribute; added missing attributes;
  25290. * ScrollableControl.cs: Added missing attributes
  25291. * PictureBox.cs: Added missing attributes; implemented missing property
  25292. * DateTimePicker.cs: Added missing attributes
  25293. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  25294. * MonthCalendar.cs: Fixed attributes
  25295. * StatusBarPanel.cs: Added missing attributes
  25296. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  25297. 2005-02-16 Peter Bartok <[email protected]>
  25298. * TextBoxBase.cs: The previous method to enforce height yet remember
  25299. the requested high was less than ideal, this is an attempt to do
  25300. it better.
  25301. * Control.cs: Added comment about possible problem
  25302. * Copyright: Updated format
  25303. * GridItemType.cs: Fixed swapped values
  25304. 2005-02-15 Jackson Harper <[email protected]>
  25305. * BaseCollection.cs: Use property so we never access an
  25306. uninitialized list. Also initialize the list in the property.
  25307. 2005-02-15 Peter Bartok <[email protected]>
  25308. * GroupBox.cs (ProcessMnemonic): Implemented
  25309. * Label.cs (ProcessMnemonic): Implemented
  25310. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  25311. hotkeys
  25312. 2005-02-15 Peter Bartok <[email protected]>
  25313. * RadioButton.cs (ProcessMnemonic): Implemented
  25314. * CheckBox.cs (ProcessMnemonic): Implemented
  25315. * Control.cs:
  25316. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  25317. handling
  25318. - Added internal method to allow calling ProcessMnemonic from other
  25319. controls
  25320. * ContainerControl.cs:
  25321. - Started support for handling validation chain handling
  25322. - Implemented ProcessMnemonic support
  25323. - Added Select() call to Active, to make sure the active control
  25324. receives focus
  25325. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  25326. FormParent rewrite)
  25327. * ThemeWin32Classic.cs:
  25328. - DrawCheckBox(): Fixed stringformat to show hotkeys
  25329. - DrawRadioButton(): Fixed stringformat to show hotkeys
  25330. * CommonDialog.cs: Removed WndProc override, not needed
  25331. 2005-02-14 Peter Bartok <[email protected]>
  25332. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  25333. missed those in the rewrite
  25334. 2005-02-14 Miguel de Icaza <[email protected]>
  25335. * NumericUpDown.cs (Increment, ToString): Add.
  25336. (DecimalPlaces): implement.
  25337. Add attributes.
  25338. * UpDownBase.cs: Add the designer attributes.
  25339. 2005-02-13 Peter Bartok <[email protected]>
  25340. * Panel.cs: Removed border_style, now in Control
  25341. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  25342. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  25343. 2005-02-13 Peter Bartok <[email protected]>
  25344. * MouseButtons.cs: Added missing attributes
  25345. * XplatUIStructs.cs: Added enumeration for title styles
  25346. * LeftRightAlignment.cs: Added missing attributes
  25347. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  25348. it compatible with Graphics.FromHwnd()
  25349. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  25350. * Keys.cs: Added missing attributes
  25351. * SelectionRange.cs: Added missing attributes
  25352. * SelectionRangeConverter.cs: Added
  25353. * XplatUI.cs:
  25354. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  25355. ReleaseMenuDC methods
  25356. - Renamed ReleaseWindow to UngrabWindow
  25357. - Added proper startup notice to allow version identification
  25358. * Form.cs:
  25359. - Added missing attributes
  25360. - Removed FormParent concept
  25361. * Label.cs: Removed border_style field, now in Control
  25362. * RadioButton.cs: Now properly selects RadioButton when focus is
  25363. received
  25364. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  25365. * Control.cs:
  25366. - Added missing attributes
  25367. - Added borderstyle handling
  25368. - Removed FormParent concept support
  25369. - Fixed calls to XplatUI to match changed APIs
  25370. - Fixed bug that would case us to use disposed Graphics objects
  25371. - Removed unneeded internal methods
  25372. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  25373. - SelectNextControl(): Fixed to properly check common parents
  25374. * TextBoxBase.cs: Removed border_style field (now in Control)
  25375. * MessageBox.cs:
  25376. - Patch by Robert Thompson ([email protected]): Added icon support,
  25377. fixed calculations for form size
  25378. - Added support for localized strings and icons
  25379. - Improved form size calculations, added border
  25380. * ListView.cs: Removed border_style field (now in Control)
  25381. * X11Structs.cs: Moved several structs from X11 driver here
  25382. * X11Keyboard.cs: Changed debug message
  25383. * Application.cs: Removed FormParent concept support
  25384. * CommonDialog.cs:
  25385. - Resetting end_modal flag
  25386. - Removed FormParent concept support
  25387. * NativeWindow.cs: Removed FormParent concept support
  25388. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  25389. Client area and Non-Client whole window to allow support for WM_NC
  25390. messages
  25391. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  25392. prevent using it until it supports Hwnd as per Geoff Norton's request
  25393. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  25394. * PictureBox.cs: Removed border_style field, now in Control
  25395. * XplatUIWin32.cs: Added new driver methods
  25396. 2005-02-12 Peter Bartok <[email protected]>
  25397. * OpacityConverter.cs: Implemented
  25398. * Hwnd.cs: Internal class to support drivers that need to emulate
  25399. client area/non-client area window behaviour
  25400. 2005-02-11 Peter Bartok <[email protected]>
  25401. * KeysConverter.cs: Implemented
  25402. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  25403. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  25404. * LinkLabel: Added missing attributes
  25405. * MainMenu.cs: fixes ToString
  25406. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  25407. * ListBox.cs: fixes event position
  25408. * TrackBar.cs: adds missing attributes and events
  25409. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  25410. * MenuItem.cs: Use SystemInformation and bug fixes
  25411. * MenuAPI.cs: Use SystemInformation and bug fixes
  25412. 2005-02-09 Jackson Harper <[email protected]>
  25413. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  25414. their keystate otherwise things like VK_MENU get stuck "on".
  25415. 2005-02-09 Kazuki Oikawa <[email protected]>
  25416. * ListBox.cs: Fixes AddRange bug
  25417. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  25418. * ProgressBar.cs
  25419. - Add missing attributes
  25420. - Add missing method
  25421. * CheckedListBox.cs: Added missing attributes
  25422. - Add missing attributes
  25423. - Remove extra method
  25424. * ComboBox.cs: Added missing attributes
  25425. * VScrollBar.cs: Added missing attributes
  25426. * ScrollBar.cs: Added missing attributes
  25427. * ListBox.cs: Fixes signature, add missing consts
  25428. * LinkArea.cs: Added missing attributes
  25429. 2005-02-08 Peter Bartok <[email protected]>
  25430. * Menu.cs: Added missing attributes
  25431. * MainMenu.cs: Added missing attributes
  25432. * GroupBox.cs: Added missing attributes
  25433. * Label.cs: Added missing attributes
  25434. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  25435. * ColorDialog.cs:
  25436. - Added Instance and Options properties
  25437. - Added missing attributes
  25438. * Cursor.cs: Made Serializable
  25439. * NotifyIcon: Added missing attributes
  25440. * MenuItem.cs: Added missing attributes
  25441. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  25442. * Panel.cs: Added Missing attributes
  25443. * MonthCalendar.cs: Fixed CreateParams
  25444. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  25445. * LinkLabel.cs:
  25446. - Fixes signature
  25447. - Fixes issues with links
  25448. - Adds the class attributes
  25449. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  25450. * ComboBox.cs:
  25451. - Fixes button when no items available in dropdown
  25452. - Fixes repainting problems
  25453. - Adds the class attributes
  25454. 2005-02-07 Geoff Norton <[email protected]>
  25455. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  25456. the current theme. Cache these on startup.
  25457. 2005-02-07 Jackson Harper <[email protected]>
  25458. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  25459. the scrollbar buttons when they are depressed.
  25460. 2005-02-07 Geoff Norton <[email protected]>
  25461. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  25462. Get the display size from the main displayid. We currently dont
  25463. support multiple display configurations.
  25464. 2005-02-07 Geoff Norton <[email protected]>
  25465. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  25466. 2005-02-07 Miguel de Icaza <[email protected]>
  25467. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  25468. 2005-02-05 Jonathan Chambers <[email protected]>
  25469. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  25470. 2005-02-04 Jackson Harper <[email protected]>
  25471. * ThemeWin32Classic.cs: Respect the clipping rect when
  25472. drawing. Only fill the intersection of clips and rects so there
  25473. isn't a lot of large fills.
  25474. * ScrollBar.cs: Pass the correct clipping rect to the theme
  25475. engine. Remove some debug code.
  25476. 2005-02-05 John BouAntoun <[email protected]>
  25477. * DateTimePicker.cs:
  25478. - Fixed crash on DateTime.Parse, use Constructor instead
  25479. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  25480. * MenuItem.cs:
  25481. * MenuAPI.cs:
  25482. - Owner draw support (MeasureItem and DrawItem)
  25483. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  25484. * Menu.cs:
  25485. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  25486. - Fixes MenuItems.Add range
  25487. * MenuItem.cs:
  25488. - MergeMenu and Clone and CloneMenu functions
  25489. 2005-02-03 Jackson Harper <[email protected]>
  25490. * ScrollBar.cs: Make abstract
  25491. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  25492. is abstract.
  25493. 2005-02-03 Jackson Harper <[email protected]>
  25494. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  25495. all the unneeded refreshes and uses invalidates with properly
  25496. computed rects.
  25497. 2005-02-03 Peter Bartok <[email protected]>
  25498. * ComponentModel.cs: Added
  25499. * IDataGridEditingService.cs: Added
  25500. * Timer.cs: Added missing attributes
  25501. * ToolTip.cs: Added missing attributes
  25502. 2005-02-03 Jonathan Chambers <[email protected]>
  25503. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  25504. 2005-02-03 Peter Bartok <[email protected]>
  25505. * ListBox.cs: Added missing attributes
  25506. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  25507. * ListBox.cs:
  25508. - Fixes font height after font change
  25509. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  25510. 2005-02-02 Peter Bartok <[email protected]>
  25511. * HandleData.cs: Introduced static methods to allow class
  25512. to be more self-contained and track it's own HandleData objects
  25513. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  25514. HandleData to use new static methods
  25515. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  25516. * Combobox.cs:
  25517. - Fixes default size and PreferredHeight
  25518. - Missing events
  25519. - ObjectCollection.Insert implementation
  25520. * ListControl.cs
  25521. - Fixes signature
  25522. * ListBox.cs:
  25523. - Several fixes
  25524. - ObjectCollection.Insert implementation
  25525. - No selection after clean
  25526. - Small fixes
  25527. 2005-01-31 John BouAntoun <[email protected]>
  25528. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  25529. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  25530. * Combobox.cs:
  25531. - Caches ItemHeight calculation for OwnerDrawVariable
  25532. - Handles dropdown properly
  25533. - Fixes several minor bugs
  25534. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  25535. * ListBox.cs:
  25536. - Fixes 71946 and 71950
  25537. - Fixes changing Multicolumn on the fly
  25538. - Fixes keyboard navigation on Multicolumn listboxes
  25539. 2005-01-31 Geoff Norton <[email protected]>
  25540. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  25541. crash reporter log.
  25542. 2005-01-31 Geoff Norton <[email protected]>
  25543. * XplatUIOSX.cs: Allow applications to actually exit.
  25544. 2005-01-31 Geoff Norton <[email protected]>
  25545. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  25546. their parent at creation time rather than lazily later. Fixes a major
  25547. regression we were experiencing.
  25548. 2005-01-31 John BouAntoun <[email protected]>
  25549. * ThemeWin32Classic.cs: more date time picker painting fixes
  25550. * DateTimePicker.cs: more monthcalendar drop down fixes
  25551. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  25552. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  25553. * ScrollBar.cs:
  25554. - When moving the thumb going outside the control should stop the moving
  25555. - Adds the firing of missing events
  25556. - Fixes no button show if Size is not specified
  25557. - End / Home keys for keyboard navigation
  25558. 2005-01-30 Peter Bartok <[email protected]>
  25559. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  25560. sanity check to prevent theoretical loop
  25561. * XplatUIWin32.cs (SetVisible): Removed debug output
  25562. * XplatUIX11.cs (SystrayChange): Added sanity check
  25563. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  25564. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  25565. behaviour, valid until the X11 client window rewrite is done
  25566. * TextBox.cs (ctor): Setting proper default foreground and background
  25567. colors
  25568. 2005-01-30 John BouAntoun <[email protected]>
  25569. * Theme: Added DrawDateTimePicker to interface
  25570. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  25571. * DateTimePicker.cs: Created (still needs keys and painting code)
  25572. * DateTimePickerFormat.cs: added
  25573. * MonthCalendar.cs: fixed CreateParams for popup window mode
  25574. 2005-01-29 Peter Bartok <[email protected]>
  25575. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  25576. this should also the calculations for ligher/darker
  25577. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  25578. 2005-01-29 Peter Bartok <[email protected]>
  25579. * ArrangeDirection.cs: Added
  25580. * ArrangeStartingPositon.cs: Added
  25581. * SystemInformation.cs: Implemented
  25582. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25583. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  25584. used by SystemInformation class
  25585. * X11Strucs.cs: Added XSizeHints structure
  25586. * MenuAPI.cs:
  25587. - Fixed CreateParams to make sure the menu window is always visible
  25588. - TrackPopupMenu: Added check to make sure we don't draw the
  25589. menu offscreen
  25590. 2005-01-29 Peter Bartok <[email protected]>
  25591. * HandleData.cs: Added method for altering invalid area
  25592. * TextBoxBase.cs: Implemented TextLength
  25593. 2005-01-28 Peter Bartok <[email protected]>
  25594. * XplatUIX11.cs: Improvement over last patch, not sending
  25595. the WM_PAINT directly anymore, instead we scroll any pending
  25596. exposed areas and let the system pick out the WM_PAINT later
  25597. 2005-01-28 Peter Bartok <[email protected]>
  25598. * SWF.csproj: Deleted, no longer used. Instead,
  25599. Managed.Windows.Forms/SWF.csproj should be used
  25600. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  25601. directly, to avoid a potential race condition with the next
  25602. scroll
  25603. 2005-01-28 Peter Bartok <[email protected]>
  25604. * XplatUI.cs: Made class internal
  25605. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  25606. * CheckedListBox.cs:
  25607. - Draw focus
  25608. - Fixed Drawing
  25609. - Missing methods and events
  25610. 2005-01-27 Peter Bartok <[email protected]>
  25611. * Application.cs (Run): Don't use form if we don't have one
  25612. 2005-01-27 Peter Bartok <[email protected]>
  25613. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  25614. 2005-01-27 Peter Bartok <[email protected]>
  25615. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  25616. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  25617. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  25618. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  25619. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  25620. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  25621. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25622. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25623. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25624. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25625. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25626. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25627. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25628. * Combobox.cs:
  25629. - Draw focus on Simple Combobox
  25630. - Fixes drawing issues
  25631. - fixes 71834
  25632. 2005-01-27 Peter Bartok <[email protected]>
  25633. * Form.cs:
  25634. - Place window in default location, instead of hardcoded 0/0
  25635. - Send initial LocationChanged event
  25636. * Control.cs:
  25637. - UpdateBounds after creation to find out where the WM placed us
  25638. - Make sure that if the ParentForm changes location the Form
  25639. is notified
  25640. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  25641. to the root, but to whatever the WM placed around us.
  25642. Translate to root coordinates before returning toplevel
  25643. coordinates
  25644. * XplatUIWin32.cs: Removed debug output
  25645. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  25646. flag to GetWindowPos, to allow translation of coordinates on X11
  25647. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25648. * ListBox.cs: connect LostFocus Event
  25649. 2005-01-27 Peter Bartok <[email protected]>
  25650. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  25651. XplatUIX11.cs: Extended the Systray API
  25652. * Form.cs: Removed debug output
  25653. * Application.cs: Fixed focus assignment, always need to call
  25654. XplatUI.Activate() since Form.Activate() has rules that may
  25655. prevent activation
  25656. * NotifyIcon.cs: Should be complete now
  25657. * ToolTip.cs: Worked around possible timer bug
  25658. 2005-01-27 Jackson Harper <[email protected]>
  25659. * TabControl.cs:
  25660. - Only invalidate the effected tabs when the
  25661. selected index changes. This reduces drawing and gets rid of some
  25662. flicker.
  25663. - Only refresh if the tabs need to be shifted, otherwise only
  25664. invalidate the slider button.
  25665. - On windows the tabs are not filled to right if the slider is
  25666. visible.
  25667. 2005-01-27 Jackson Harper <[email protected]>
  25668. * TabControl.cs: Only refresh on mouseup if we are showing the
  25669. slider. Also only invalidate the button whose state has changed.
  25670. 2005-01-26 Peter Bartok <[email protected]>
  25671. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  25672. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  25673. and SystrayRemove() methods
  25674. * XplatUIOSX.cs: Stubbed Systray methods
  25675. * XplatUIX11.cs:
  25676. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  25677. methods
  25678. - Fixed broken XChangeProperty calls (marshalling messed up things)
  25679. * X11Structs.cs: Added enums and structs required for Size hinting
  25680. * NotifyIcon.cs: Added & implemented
  25681. 2005-01-26 Jackson Harper <[email protected]>
  25682. * TabControl.cs: Space vertically layed out tabs properly.
  25683. 2005-01-26 Peter Bartok <[email protected]>
  25684. * Form.cs (CreateClientParams): Always set the location to 0,0
  25685. since we're a child window.
  25686. * Control.cs (SetVisibleCore): Always explicitly setting the location
  25687. of a toplevel window, apparently X11 doesn't like to move windows
  25688. while they're not mapped.
  25689. 2005-01-26 Jackson Harper <[email protected]>
  25690. * TabControl.cs: Implement FillToRight size mode with vertically
  25691. rendered tabs.
  25692. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25693. * ControlPaint.cs, ThemeWin32Classic.cs
  25694. - Fixes DrawFocusRectangle
  25695. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25696. * MenuAPI.cs:
  25697. - MenuBar tracking only starts when item is first clicked
  25698. - Fixes menu hidding for multiple subitems
  25699. - Unselect item in MenuBar when item Executed
  25700. - Fixes bug 71495
  25701. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  25702. * ListControl.cs:
  25703. - IsInputKey for ListBox
  25704. * ListBox.cs:
  25705. - Focus item
  25706. - Shift and Control item selection
  25707. - Implement SelectionMode.MultiExtended
  25708. - Fixes RightToLeft
  25709. * ComboBox.cs:
  25710. - IsInputKey implemented
  25711. - Do not generate OnTextChangedEdit on internal txt changes
  25712. 2005-01-23 Peter Bartok <[email protected]>
  25713. * AccessibleObject.cs: Partially implemented Select()
  25714. * MonthCalendar.cs: Added missing attributes and events
  25715. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  25716. form can properly override CreateParams.
  25717. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25718. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  25719. Control performs Invalidate & Update
  25720. * NativeWindow (CreateHandle): Added special handling for Form
  25721. and Form.FormParent classes to allow overriding of From.CreateParams
  25722. * Control.cs:
  25723. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  25724. name 'owner'
  25725. - ControlNativeWindow: Added Owner property
  25726. - Removed usage of Refresh() on property changes, changed into
  25727. Invalidate(), we need to wait until the queue is processed for
  25728. updates, direct calls might cause problems if not all vars for
  25729. Paint are initialized
  25730. - Added call to UpdateStyles() when creating the window, to set any
  25731. styles that CreateWindow might have ignored.
  25732. - Added support for Form CreateParent overrides to UpdateStyles()
  25733. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  25734. CreateParams are now properly overridable
  25735. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  25736. CreateParams are now properly overridable
  25737. 2005-01-23 Miguel de Icaza <[email protected]>
  25738. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  25739. OnTextBoxChanged.
  25740. Capture LostFocus and OnTextBoxChanged. The later introduces a
  25741. recursive invocation that I have not figured out yet.
  25742. Reset the timer when not using (it was accumulating).
  25743. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  25744. user has made changes that require validation.
  25745. Reset changing to avoid loops.
  25746. 2005-01-22 Miguel de Icaza <[email protected]>
  25747. * NumericUpDown.cs: Display value at startup.
  25748. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  25749. ValidateEditText.
  25750. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  25751. filled in. Added some basic parsing of text.
  25752. Still missing the OnXXX method overrides, and figuring out the
  25753. events that must be emitted.
  25754. * UpDownBase.cs: Handle UserEdit on the Text property.
  25755. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  25756. * ComboBox.cs:
  25757. - Fixes IntegralHeight
  25758. - ToString method
  25759. 2005-01-21 Jackson Harper <[email protected]>
  25760. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  25761. is set so that the page visibility is updated and the tabs are
  25762. sized correctly.
  25763. 2005-01-21 Jackson Harper <[email protected]>
  25764. * TabControl.cs: Use cliping rectangle for blitting. Give the
  25765. theme the clipping rect so we can do clipping while
  25766. drawing. Remove some debug code.
  25767. 2005-01-21 Jackson Harper <[email protected]>
  25768. * TabPage.cs: Add a new method so tab pages can force the tab
  25769. control to recalculate the tab page sizes.
  25770. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  25771. sizes.
  25772. 2005-01-20 Jackson Harper <[email protected]>
  25773. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  25774. 2005-01-20 Jackson Harper <[email protected]>
  25775. * TreeView.cs: Set the bounds for nodes properly. They were
  25776. getting screwed up when checkboxes were not enabled, but images
  25777. were.
  25778. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  25779. * ListBox.cs:
  25780. - Owner draw support
  25781. - Fixes
  25782. 2005-01-20 Jackson Harper <[email protected]>
  25783. * XplatUIStructs.cs: More misc keys
  25784. * X11Keyboard.cs: Ignore some control keys.
  25785. 2005-01-20 Jackson Harper <[email protected]>
  25786. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  25787. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  25788. 2005-01-19 Peter Bartok <[email protected]>
  25789. * Control.cs: Un-selecting the control when it is loosing focus
  25790. 2005-01-19 Jackson Harper <[email protected]>
  25791. * TreeView.cs: Hook up to the text controls leave event so we can
  25792. end editing when the users clicks outside the text box.
  25793. 2005-01-19 Jackson Harper <[email protected]>
  25794. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  25795. get set in the conversion array.
  25796. 2005-01-19 Peter Bartok <[email protected]>
  25797. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  25798. focus is properly set
  25799. * Button.cs:
  25800. - Added missing attributes
  25801. - removed styles, those are already set in the base class
  25802. * ButtonBase.cs:
  25803. - Added missing attributes
  25804. - Added clip window styles
  25805. * CheckBox.cs: Added missing attributes
  25806. * CommonDialog.cs:
  25807. - FormParentWindow.CreateParams: Added required clip styles
  25808. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  25809. also filters modifier keys
  25810. * MessageBox.cs:
  25811. - Added assignment of Accept and Cancel button to enable Enter
  25812. and Esc keys in MessageBox dialogs
  25813. - FormParentWindow.CreateParams: Added required clip styles
  25814. * RadioButton.cs: Added missing attributes
  25815. * TextControl.cs: No longer draws selection if control does not
  25816. have focus
  25817. * TextBoxBase.cs:
  25818. - Now draws simple rectangle around test area to make it obvious
  25819. there's a control. This is a hack until we properly support borders
  25820. - A few simple fixes to support selections better, now erases selected
  25821. text when typing, and resets selection when using movement keys
  25822. 2005-01-19 Miguel de Icaza <[email protected]>
  25823. * UpDownBase.cs: Added some new properties.
  25824. * DomainUpDown.cs: Implement a lot to get my test working.
  25825. 2005-01-19 Geoff Norton <[email protected]>
  25826. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  25827. 2005-01-19 Geoff Norton <[email protected]>
  25828. * OSXStructs (WindowAttributes): Fixed csc complaints
  25829. 2005-01-19 Geoff Norton <[email protected]>
  25830. * XplayUIOSX.cs:
  25831. OSXStructs.cs: Initial refactor to move enums and consts into
  25832. OSXStructs and use them in the driver for greater readability.
  25833. 2005-01-19 Geoff Norton <[email protected]>
  25834. * XplatUIOSX.cs: Initial support for Standard Cursors.
  25835. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  25836. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  25837. * ComboBox.cs: ability to change style when the ctrl is already
  25838. created, missing methods and events, bug fixes, signature fixes
  25839. 2005-01-19 Peter Bartok <[email protected]>
  25840. * Cursors.cs (ctor): Added ctor to fix signature
  25841. 2005-01-18 Peter Bartok <[email protected]>
  25842. * Button.cs: Implemented DoubleClick event
  25843. * ButtonBase.cs:
  25844. - Fixed keyboard handling to behave like MS, where the press of
  25845. Spacebar is equivalent to a mousedown, and the key release is
  25846. equivalent to mouseup. Now a spacebar push will give the same
  25847. visual feedback like a mouse click.
  25848. - Added missing attributes
  25849. - Added ImeModeChanged event
  25850. - Added support for generating DoubleClick event for derived classes
  25851. * CheckBox.cs:
  25852. - Implemented DoubleClick event
  25853. - Added missing attributes
  25854. * CommonDialog.cs: Added missing attribute
  25855. * ContextMenu.cs: Added missing attributes
  25856. * RadioButton.cs:
  25857. - AutoChecked buttons do not allow to be unselected when clicked
  25858. (otherwise we might end up with no selected buttons in a group)
  25859. - Added missing attributes
  25860. - Implemented DoubleClickEvent
  25861. * ThreadExceptionDialog.cs: Enabled TextBox code
  25862. 2005-01-18 Peter Bartok <[email protected]>
  25863. * Form.cs: Removed debug output
  25864. * Button.cs: Added support for DoubleClick method
  25865. 2005-01-18 Peter Bartok <[email protected]>
  25866. * Form.cs:
  25867. - Added method to parent window that allows triggering size
  25868. calculations when a menu is added/removed
  25869. - set_Menu: Cleaned up mess from early days of Form and Control,
  25870. now properly triggers a recalc when a menu is added/removed
  25871. - Added case to select form itself as focused form if no child
  25872. controls exist
  25873. - Added PerformLayout call when showing dialog, to ensure properly
  25874. placed controls
  25875. * Control.cs:
  25876. - Select(): Made internal so Form can access it
  25877. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  25878. status
  25879. * Application.cs (Run): Removed hack and calls PerformLayout instead
  25880. to trigger calculation when Form becomes visible
  25881. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  25882. * ComboBox.cs: fixes for ownerdraw
  25883. 2005-01-18 Peter Bartok <[email protected]>
  25884. * TextControl.cs:
  25885. - Sentinel is no longer static, each Document gets it's own, this
  25886. avoids locking or alternatively overwrite problems when more
  25887. than one text control is used simultaneously.
  25888. - Switched to use Hilight and HilightText brushes for text selection
  25889. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  25890. 2005-01-18 Peter Bartok <[email protected]>
  25891. * Control.cs:
  25892. - Hooked up the following events:
  25893. o ControlAdded
  25894. o ControlRemoved
  25895. o HandleDestroyed
  25896. o ImeModeChanged
  25897. o ParentChanged
  25898. o TabStopChanged
  25899. o Invalidated
  25900. o SystemColorsChanged
  25901. o ParentFontChanged
  25902. o Move
  25903. - Removed debug output
  25904. - Added a call to the current theme's ResetDefaults when a color change
  25905. is detected
  25906. * Form.cs: Now setting the proper ImeMode
  25907. * Theme.cs: Defined a method to force recreation of cached resources
  25908. and rereading of system defaults (ResetDefaults())
  25909. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  25910. 2005-01-17 Peter Bartok <[email protected]>
  25911. * Control.cs: Added missing attributes
  25912. 2005-01-17 Jackson Harper <[email protected]>
  25913. * TreeNode.cs: Implement editing. Add missing properties selected
  25914. and visible.
  25915. * TreeView.cs: Implement node editing. Also some fixes to use
  25916. Invalidate (invalid area) instead of Refresh when selecting.
  25917. 2005-01-17 Peter Bartok <[email protected]>
  25918. * Control.cs:
  25919. - Implemented InvokeGotFocus() method
  25920. - Implemented InvokeLostFocus() method
  25921. - Implemented InvokePaint() method
  25922. - Implemented InvokePaintBackground() method
  25923. - Implemented InvokeClick() method
  25924. - Implemented FindForm() method
  25925. - Implemented RectangleToClient() method
  25926. - Implemented ClientToRectangle() method
  25927. - Implemented ResetBackColor() method
  25928. - Implemented ResetCursor() method
  25929. - Implemented ResetFont() method
  25930. - Implemented ResteForeColor() method
  25931. - Implemented ResetImeMode() method
  25932. - Implemented ResetLeftToRight() method
  25933. - Implemented ResetText() method
  25934. - Implemented Scale() methods
  25935. - Implemented ScaleCore() method
  25936. - Implemented Update() method
  25937. - Removed unused variables
  25938. - Stubbed AccessibilityNotifyClients and
  25939. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  25940. with those yet)
  25941. - Now setting proper default for RightToLeft property
  25942. - Fixed bug in SetClientSizeCore that would cause windows to get
  25943. really big
  25944. - Now sending Click/DoubleClick events
  25945. - Now selecting controls when left mouse button is clicked on
  25946. selectable control
  25947. * AccessibleEvents.cs: Added
  25948. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  25949. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  25950. * XplatUIWin32.cs: Implemented UpdateWindow() method
  25951. * XplatUIX11.cs: Implemented UpdateWindow() method
  25952. * Form.cs: Removed stray semicolon causing CS0162 warning
  25953. * ThemeWin32Classic.cs: Fixed unused variable warnings
  25954. * ScrollableControl.cs: Now calls base method for ScaleCore
  25955. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  25956. style to avoid interference with internal click handler (which is
  25957. different than standard Control click handling)
  25958. * RadioButton.cs:
  25959. - Now unchecks all sibling radio buttons when control is
  25960. selected (Fixes #68756)
  25961. - Removed internal tabstop variable, using the one inherited from
  25962. Control
  25963. 2005-01-17 Jackson Harper <[email protected]>
  25964. * NavigateEventArgs.cs: Fix base type.
  25965. * LinkLabel.cs: Sig fix
  25966. 2005-01-17 Jackson Harper <[email protected]>
  25967. * TreeView.cs: Only invalidate the effected nodes bounds when
  25968. selecting nodes.
  25969. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25970. * XplatUIWin32.cs: fixes Win32 marshaling
  25971. * XplatUIX11.cs: fixes method signature
  25972. 2005-01-17 Peter Bartok <[email protected]>
  25973. * XplatUIX11.cs: Clean up resources when we no longer need them
  25974. 2005-01-17 Peter Bartok <[email protected]>
  25975. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  25976. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  25977. and DestroyCursor() methods.
  25978. * Cursor.cs: Partially implemented, now supports standard cursors;
  25979. still contains some debug code
  25980. * Cursors.cs: Implemented class
  25981. * Control.cs:
  25982. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  25983. appropriate cursor
  25984. - Implemented Cursor property
  25985. - Replaced break; with return; more straightforwar and possibly
  25986. faster
  25987. - Now properly setting the result for WM_HELP
  25988. * X11Structs.cs: Added CursorFontShape enum
  25989. * XplatUIStructs.cs:
  25990. - Added StdCursor enum (to support DefineStdCursor() method)
  25991. - Added HitTest enum (to support sending WM_SETCURSOR message)
  25992. * XplatUIX11.cs:
  25993. - Now sends the WM_SETCURSOR message
  25994. - Implemented new cursor methods
  25995. * XplatUIOSX.cs: Stubbed new cursor methods
  25996. * XplatUIWin32.cs:
  25997. - Implemented new cursor methods
  25998. - Added GetSystemMetrics function and associated enumeration
  25999. 2005-01-15 Peter Bartok <[email protected]>
  26000. * Control.cs:
  26001. - WndProc(): Now handles EnableNotifyMessage
  26002. - SelectNextControl(): Fixed bug where if no child or sibling
  26003. controls exist we looped endlessly
  26004. 2005-01-14 Jackson Harper <[email protected]>
  26005. * TreeView.cs: Recalculate the tab pages when a new one is added
  26006. so that the proper bounding rects are created.
  26007. 2005-01-14 Jackson Harper <[email protected]>
  26008. * TreeView.cs: Draw a gray box instead of a grip in the lower
  26009. right hand corner when there are both horizontal and vertical
  26010. scroll bars.
  26011. 2005-01-14 Jackson Harper <[email protected]>
  26012. * Control.cs: When erasing backgrounds use FromHwnd instead of
  26013. FromHdc when there is a NULL wparam. This occurs on the X driver.
  26014. * XplatUIX11.cs: Set the wparam to NULL.
  26015. 2005-01-13 Jackson Harper <[email protected]>
  26016. * PictureBox.cs: Implement missing methods (except ToString, need
  26017. to test that on windows) and events. When visibility is changed we
  26018. need to redraw the image because the buffers are killed. When size
  26019. is changed refresh if the sizemode needs it.
  26020. 2005-01-13 Peter Bartok <[email protected]>
  26021. * Control.cs (SelectNextControl): Was using wrong method to select
  26022. a control
  26023. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  26024. * ComboBox.cs: fixes dropstyle
  26025. 2005-01-13 Peter Bartok <[email protected]>
  26026. * Form.cs:
  26027. - Implemented Select() override
  26028. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  26029. - Now sets keyboard focus on startup
  26030. * Control.cs (SelectNextControl): Now properly handles directed=true
  26031. * TextBoxBase.cs:
  26032. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  26033. - Added (really bad) focus rectangle (mostly for testing)
  26034. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  26035. to enforce redraw on focus changes
  26036. * ContainerControl.cs:
  26037. - Fixed detection of Shift-Tab key presses
  26038. - Fixed traversal with arrow keys
  26039. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  26040. gonna keep this or if it's complete yet
  26041. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  26042. * ComboBox.cs: missing properties, fixes
  26043. 2005-01-13 Peter Bartok <[email protected]>
  26044. * Panel.cs (ctor): Setting Selectable window style to off
  26045. * Splitter.cs (ctor): Setting Selectable window style to off
  26046. * GroupBox.cs (ctor): Setting Selectable window style to off
  26047. * Label.cs (ctor): Setting Selectable window style to off
  26048. 2005-01-12 Miguel de Icaza <[email protected]>
  26049. * UpDownBase.cs (InitTimer): If the timer has been already
  26050. created, enable it.
  26051. Use a TextBox instead of a Label.
  26052. 2005-01-12 Jackson Harper <[email protected]>
  26053. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  26054. draw the connecting node lines (when ShowLines is true).
  26055. * TreeNode.cs: The nodes index can now be updated. This is used
  26056. when a node collection is sorted.
  26057. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  26058. insert or an existing unsorted node collection can be sorted.
  26059. 2005-01-12 Peter Bartok <[email protected]>
  26060. * ContainerControl.cs: Implemented ProcessDialogKeys()
  26061. 2005-01-12 Peter Bartok <[email protected]>
  26062. * Control.cs:
  26063. - Implemented SelectNextControl() method
  26064. - Several focus related bug fixes
  26065. - Fixed Docking calculations to match MS documentation and
  26066. behaviour
  26067. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  26068. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  26069. bug fixes
  26070. 2005-01-12 Peter Bartok <[email protected]>
  26071. * Control.cs:
  26072. - Fixed broken Contains() method
  26073. - Implemented GetNextControl() method. Finally. This is the pre-
  26074. requisite for focus handling.
  26075. 2005-01-12 Peter Bartok <[email protected]>
  26076. * OSXStrucs.cs: Added
  26077. 2005-01-12 Peter Bartok <[email protected]>
  26078. * XplatUIWin32.cs:
  26079. - Removed PeekMessageFlags
  26080. - Implemented SetWindowStyle() method
  26081. * XplatUIStructs.cs: Added PeekMessageFlags
  26082. * X11Structs: Added missing border_width field to XWindowChanges struct
  26083. * XplatUIX11.cs:
  26084. - PeekMessage: Now throws exception if flags which are not yet
  26085. supported are passed
  26086. - Implemented SetWindowStyle() method
  26087. - Fixed SetZOrder to handle AfterHwnd properly
  26088. * XplatUI.cs: Added SetWindowStyle() method
  26089. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  26090. * Control.cs:
  26091. - Implemented UpdateStyles() method
  26092. - Implemented UpdateZOrder() method
  26093. * XplatUIOSX.cs: Added SetWindowStyle() stub
  26094. 2005-01-12 Geoff Norton <[email protected]>
  26095. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  26096. button mouse).
  26097. 2005-01-11 Jackson Harper <[email protected]>
  26098. * TreeView.cs: Still need to draw lines to siblings even if out of
  26099. the current node is out of the clip.
  26100. 2005-01-11 Jackson Harper <[email protected]>
  26101. * TreeView.cs: When setting the hbar/vbar/grip position use
  26102. SetBounds so that perform layout is only called once. Also suspend
  26103. and resume layout so layout is only done once for all controls.
  26104. - Removed some debug fluff
  26105. * SizeGrip.cs: Call base implmentation in overriding methods.
  26106. - When visibility is changed the drawing buffers are killed so we
  26107. need to redraw.
  26108. 2005-01-11 Jackson Harper <[email protected]>
  26109. * TreeView.cs: Calculate the open node count while drawing. This
  26110. saves us an entire tree traversal for every paint operation. Use
  26111. a member var for the open node count so less vars are passed around.
  26112. 2005-01-11 John BouAntoun <[email protected]>
  26113. * MonthCalendar.cs:
  26114. - fixed selection to use mousemove, not mouse polling on timer
  26115. * ThemeWin32Classic.cs
  26116. - removed redundant unused variable "no_more_content"
  26117. 2005-01-11 Peter Bartok <[email protected]>
  26118. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  26119. are pending, so it now calls PeekMessage instead of GetMessage;
  26120. implemented a incomplete version of PeekMessage
  26121. 2005-01-11 Peter Bartok <[email protected]>
  26122. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  26123. I18n issues
  26124. * TextBoxBase.cs: Added sending of TextChanged event
  26125. 2005-01-10 Jackson Harper <[email protected]>
  26126. * TreeView.cs: Try not to draw outside the clipping rectangle on
  26127. each node element.
  26128. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  26129. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  26130. 2005-01-10 Jackson Harper <[email protected]>
  26131. * TreeView.cs:
  26132. - Implement fast scrolling. Now only the newly
  26133. exposed nodes are drawn and the old image is moved using the
  26134. XplatUI::ScrollWindow method.
  26135. - Factor in height of nodes when calculating whether or not the
  26136. node is in the clipping rect.
  26137. 2005-01-10 Jackson Harper <[email protected]>
  26138. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  26139. 2005-01-10 Peter Bartok <[email protected]>
  26140. * Application.cs: Added temporary hack to resolve all our resize
  26141. required issues on startup. This will get fixed properly at
  26142. some point in the future
  26143. 2005-01-10 Jackson Harper <[email protected]>
  26144. * SizeGrip.cs: New internal class that is used as a sizing
  26145. grip control...hence the name.
  26146. 2005-01-10 Peter Bartok <[email protected]>
  26147. * Control.cs: Implemented proper TabIndex handling, now assigning
  26148. a tabindex when a control is added to a container
  26149. * GroupBox.cs (ctor): Now sets the Container style bit, required
  26150. for Control.GetNextControl()
  26151. 2005-01-09 Jackson Harper <[email protected]>
  26152. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  26153. 2005-01-09 Peter Bartok <[email protected]>
  26154. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  26155. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  26156. an overload for ScrollWindow to allow only scrolling a rectangle
  26157. 2005-01-09 Peter Bartok <[email protected]>
  26158. * Form.cs:
  26159. - Implemented SetDesktopBounds method
  26160. - Implemented SetDesktopLocation method
  26161. 2005-01-08 Jackson Harper <[email protected]>
  26162. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  26163. the node count has changed, this removes to VScroll::Refresh calls
  26164. when drawing.
  26165. 2005-01-08 Geoff Norton <[email protected]>
  26166. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  26167. 2005-01-07 Jackson Harper <[email protected]>
  26168. * TreeNode.cs: Just update the single node when it is
  26169. checked. Don't refresh after toggling, the Expand/Collapse already
  26170. handles this.
  26171. * TreeView.cs: Respect clipping a little more when drawing. Try
  26172. not to redraw things that don't need to be redrawn. Just hide the
  26173. scrollbars when they are no longer needed instead of removing
  26174. them, so they don't have to be created again and again.
  26175. 2005-01-07 Geoff Norton <[email protected]>
  26176. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  26177. coordinates to window space to place the caret properly, FIXED.
  26178. Implement GetWindowState & SetWindowState
  26179. 2005-01-06 Peter Bartok <[email protected]>
  26180. * Form.cs:
  26181. - Implemented ClientSize property
  26182. - Implemented DesktopBounds property
  26183. - Implemented DesktopLocation property
  26184. - Implemented IsRestrictedWindow property
  26185. - Implemented Size property
  26186. - Implemented TopLevel property
  26187. - Implemented FormWindowState property
  26188. * Control.cs:
  26189. - Implemented GetTopLevel() method
  26190. - Implemented SetTopLevel() method
  26191. * X11Structs.cs (Atom):
  26192. - Added AnyPropertyType definition
  26193. - Added MapState definiton and updated XWindowAttribute struct
  26194. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  26195. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  26196. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  26197. * XplatUIWin32.cs:
  26198. - Implemented GetWindowState() and SetWindowState() methods
  26199. - Fixed Win32GetWindowLong return type
  26200. * XplatUIX11.cs:
  26201. - Introduced central function for sending NET_WM messages
  26202. - Implemented GetWindowState() and SetWindowState() methods
  26203. * TextBoxBase.cs (set_Lines):
  26204. - Now uses Foreground color for text added via Text property (Duh!)
  26205. - Added code to remember programmatically requested size (fixes
  26206. behaviour when Multiline is set after Size)
  26207. - Added AutoSize logic
  26208. 2005-01-06 Jackson Harper <[email protected]>
  26209. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  26210. 2005-01-06 Jackson Harper <[email protected]>
  26211. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  26212. set to less then 0.
  26213. 2005-01-06 Jackson Harper <[email protected]>
  26214. * ScrollableControl.cs: Lazy init the scrollbars.
  26215. 2005-01-06 Jackson Harper <[email protected]>
  26216. * Theme.cs: Speed up getting pens and solid brushes, by using
  26217. their ARGB as a hash instead of tostring and not calling Contains.
  26218. 2005-01-06 Peter Bartok <[email protected]>
  26219. * Form.cs:
  26220. - Implemented OnActivated and OnDeactivate event trigger
  26221. - Implemented Activate() method
  26222. - Fixed ShowDialog() to activate the form that was active before
  26223. the dialog was shown
  26224. * XplatUIX11.cs:
  26225. - Added global active_window var that tracks the currently active
  26226. X11 window
  26227. - Now always grabs Property changes from the root window to always
  26228. catch changes on the active window property
  26229. - Added code to PropertyNotify handler to send Active/Inactive
  26230. messages when state changes. This puts X11 and Win32 en par on
  26231. WM_ACTIVATE notifications (except for double notifications when
  26232. the user clicks away from our modal window to another one of our
  26233. windows)
  26234. 2005-01-05 Jackson Harper <[email protected]>
  26235. * ImageList.cs: Implment ctor
  26236. 2005-01-05 Geoff Norton <[email protected]>
  26237. * XplatUIOSX.cs: Implement Activate/SetTopmost
  26238. 2005-01-05 Geoff Norton <[email protected]>
  26239. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  26240. 2005-01-05 Geoff Norton <[email protected]>
  26241. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  26242. 2005-01-05 Peter Bartok <[email protected]>
  26243. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  26244. XplatUIOSX.cs: Added GetActive method to return the currently
  26245. active window for the application (or null, if none is active)
  26246. * Form.cs:
  26247. - Implemented ActiveForm
  26248. - Commented out owner assignment for modal dialogs (causes problems
  26249. on Win32, since the owner will be disabled)
  26250. - Reworked some Active/Focus handling (still incomplete)
  26251. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  26252. (causes problems on Win32, since the owner will be disabled)
  26253. * IWin32Window: Added ComVisible attribute
  26254. 2005-01-05 Peter Bartok <[email protected]>
  26255. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  26256. required XplatUI functions.
  26257. 2005-01-05 Peter Bartok <[email protected]>
  26258. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  26259. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  26260. to implement focus and activation handling; still incomplete and
  26261. with debug output
  26262. 2005-01-04 Peter Bartok <[email protected]>
  26263. * TextBoxBase.cs: Changed access level for Document property to
  26264. match switch to internal for TextControl
  26265. 2005-01-04 Peter Bartok <[email protected]>
  26266. * AccessibleObject: Added ComVisible attribute
  26267. 2005-01-04 Jackson Harper <[email protected]>
  26268. * X11Keyboard.cs: Remove unneeded var.
  26269. 2005-01-04 Jackson Harper <[email protected]>
  26270. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  26271. but PAINT.
  26272. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  26273. ClientMessage. This makes apps exit cleanly (more often).
  26274. 2005-01-04 Jackson Harper <[email protected]>
  26275. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  26276. handling focus, return correct colors and fonts,
  26277. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  26278. handle selection, horizontal scrolling, and mouse interaction.
  26279. 2005-01-04 Peter Bartok <[email protected]>
  26280. * ICommandExecutor.cs: Added
  26281. * IDataGridColumnStyleEditingNotificationService.cs: Added
  26282. * IFeatureSupport.cs: Added
  26283. * IFileReaderService.cs: Added
  26284. * IDataObject.cs: Added ComVisible attribute
  26285. * AmbientProperties.cs: Added
  26286. * BaseCollection.cs: Added missing attributes
  26287. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  26288. * BaseCollection.cs: Added missing attributes
  26289. * Binding.cs: Added TypeConverter attribute
  26290. * BindingContext.cs: Added DefaultEvent attribute
  26291. * BindingsCollection.cs: Added DefaultEvent attribute
  26292. * Button.cs: Added DefaultValue attribute
  26293. * DragEventArgs.cs: Added ComVisible attribute
  26294. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  26295. * KeyEventArgs.cs: Added ComVisible attribute
  26296. * KeyPressEventArgs.cs: Added ComVisible attribute
  26297. * MouseEventArgs.cs: Added ComVisible attribute
  26298. * NavigateEventArgs.cs: Added
  26299. * NavigateEventHandler.cs: Added
  26300. * FeatureSupport.cs: Added
  26301. * OSFeature.cs: Added
  26302. * Theme.cs: Added abstract Version property to support OSFeature
  26303. * ThemeWin32Classic.cs: Added Version property to
  26304. support OSFeature.Themes
  26305. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  26306. the proper styles to avoid background drawing are set, also doesn't
  26307. match MS signature
  26308. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  26309. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  26310. * ScrollEventArgs.cs: Added ComVisible attribute
  26311. * SplitterEventArgs.cs: Added ComVisible attribute
  26312. * AccessibleSelection.cs: Added Flags attribute
  26313. * Appearance.cs: Added ComVisible attribute
  26314. * Border3DSide.cs: Added ComVisible attribute
  26315. * Border3DStyle.cs: Added ComVisible attribute
  26316. * BorderStyle.cs: Added ComVisible attribute
  26317. * DragAction.cs: Added ComVisible attribute
  26318. * ErrorBlinkStyle.cs: Added
  26319. * ScrollEventType.cs: Added ComVisible attribute
  26320. * AnchorStyles.cs: Added Editor attribute
  26321. * DockStyle.cs: Added Editor attribute
  26322. * HorizontalAlignment.cs: Added ComVisible attribute
  26323. * HelpEventArgs.cs: Added ComVisible attribute
  26324. * PaintEventArgs.cs: Added IDisposable
  26325. 2005-01-04 Peter Bartok <[email protected]>
  26326. * TextControl.cs: Switched Line, LineTag and Document classes to
  26327. internal
  26328. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  26329. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  26330. Simple mode, fixes, IntegralHeight, etc.
  26331. 2005-01-04 Peter Bartok <[email protected]>
  26332. * TextBoxBase.cs: Using proper font variable now
  26333. 2005-01-04 Peter Bartok <[email protected]>
  26334. * Form.cs (ShowDialog): Set parent to owner, if provided
  26335. * GroupBox.cs: Removed unused vars
  26336. * TextControl.cs:
  26337. - Added GetHashCode() for Document and LineTag classes
  26338. - Removed unused variables
  26339. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  26340. to allow translation between continuous char position and line/pos
  26341. * CheckBox.cs: Removed vars that are provided by base class
  26342. * RadioButton.cs: Removed vars that are provided by base class, added
  26343. new keyword where required
  26344. * LinkLabel.cs: Added new keyword where required
  26345. * Control.cs (WndProc): Removed unused variable
  26346. * TextBoxBase.cs:
  26347. - Finished SelectionLength property
  26348. - Implemented SelectionStart property
  26349. - Implemented Text property
  26350. - Removed unused vars
  26351. * MessageBox.cs: Added new keyword where required
  26352. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  26353. WndProc signature
  26354. * MenuAPI.cs: Added new keyword where required
  26355. * ButtonBase.cs: Removed vars that are provided by base class, added
  26356. new keyword where required
  26357. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  26358. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  26359. into this)
  26360. * Application.cs (Run): Now triggers the ThreadExit event
  26361. * CommonDialog.cs: Added new keyword where required; now properly sets
  26362. parent (owner) for dialog
  26363. * XplatUIX11.cs: Commented out unused vars
  26364. * StatusBar.cs: Fixed signature for Text property
  26365. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  26366. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  26367. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  26368. TrackBar.cs, MonthCalendar.cs: remove unused vars
  26369. 2005-01-03 Jackson Harper <[email protected]>
  26370. * ThemeWin32Classic.cs:
  26371. * X11Keyboard.cs: Remove unused vars.
  26372. 2005-01-03 Peter Bartok <[email protected]>
  26373. * TextBox.cs:
  26374. - set_Text: Tied into TextControl
  26375. - set_TextAlignment: Tied into TextControl
  26376. * TextControl.cs:
  26377. - Added alignment properties and implemented alignment handling
  26378. and drawing (still has a bug, not generating proper expose events)
  26379. - Added new Line() constructor to allow passing the line alignment
  26380. - Fixed selection setting, properly handling end<start now
  26381. - Added aligment considerations to RecalculateDocument()
  26382. * TextBoxBase.cs:
  26383. - Now properly enforces control height for single line controls
  26384. - Added support for CharacterCasing
  26385. - Added IsInputKey override
  26386. - Fixed Keys.Enter logic
  26387. - Added SetBoundsCore override
  26388. - Fixed mouse selection handling
  26389. 2005-01-03 Jackson Harper <[email protected]>
  26390. * TreeView.cs:
  26391. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  26392. - Checkboxes are always aligned to the bottom of the node,
  26393. regardless of item height.
  26394. - Use the node bounds to draw the text so we can center it when
  26395. the item height is greater then the font height.
  26396. - Node::Bounds are only the text part of the node.
  26397. * TreeNode.cs: New method to combine collapsing and unchecking all
  26398. nodes recursively.
  26399. 2005-01-02 Jackson Harper <[email protected]>
  26400. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  26401. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  26402. tree when a check is changed. TODO: Only refresh the checked node.
  26403. 2004-12-30 Jackson Harper <[email protected]>
  26404. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  26405. * TreeNode.cs: When collapsing make sure to never collapse the
  26406. root node.
  26407. 2004-12-29 Jackson Harper <[email protected]>
  26408. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  26409. 2004-12-28 Zoltan Varga <[email protected]>
  26410. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  26411. 2004-12-28 Peter Bartok <[email protected]>
  26412. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  26413. not yet assigned
  26414. 2004-12-28 Peter Bartok <[email protected]>
  26415. * Control.cs (WndProc): Added WM_HELP handler, now generates
  26416. HelpRequested event
  26417. * Form.cs: Added HelpButton property and required support code
  26418. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  26419. 2004-12-28 Peter Bartok <[email protected]>
  26420. * CommonDialog.cs:
  26421. - Made DialogForm.owner variable internal
  26422. - Added check to ensure owner form is set before setting
  26423. owner properties in CreateParams
  26424. 2004-12-28 Geoff Norton <[email protected]>
  26425. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  26426. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  26427. GetCursorPos. Fix major visibility issues. Rework the windowing
  26428. system to support borderless/titleless windows (implements menus).
  26429. Fix GetWindowPos. Implement initial background color support for
  26430. views.
  26431. 2004-12-28 Peter Bartok <[email protected]>
  26432. * Form.cs (get_CreateParams): Make sure we have an owner before using
  26433. the owner variable. Implement proper default if no owner exists
  26434. 2004-12-28 Peter Bartok <[email protected]>
  26435. * In preparation for making Managed.Windows.Forms the default build target
  26436. for System.Windows.Forms, the following stubbed files were added.
  26437. Dialogs are currently being implemented by contributors and are only
  26438. short-term place holders.
  26439. * ColorDialog.cs: Initial check-in (minmal stub)
  26440. * DataGrid.cs: Initial check-in (minimal stub)
  26441. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  26442. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  26443. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  26444. * FontDialog.cs: Initial check-in (minimal stub)
  26445. * FileDialog.cs: Initial check-in (minimal stub)
  26446. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  26447. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  26448. * OpenFileDialog: Initial check-in (minimal stub)
  26449. * IComponentEditorPageSite.cs: Initial check-in
  26450. * Splitter.cs: Initial check-in (for Jackson)
  26451. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  26452. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  26453. * TextBox.cs: Initial check-in; still needs some wiring to
  26454. TextControl backend
  26455. * Form.cs: Implemented ControlBox property
  26456. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  26457. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  26458. * TextControl.cs: Added selection functionality; added todo header
  26459. * TextBoxBase.cs:
  26460. - Implemented Lines property
  26461. - Implemented TextHeight property
  26462. - Implemented SelectedText property
  26463. - Implemented SelectionLength property
  26464. - Implemented SelectAll method
  26465. - Implemented ToString method
  26466. - Removed and cleaned up some debug code
  26467. - Implemented (still buggy) mouse text selection
  26468. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  26469. * ComboBox.cs: Complete DropDownList implementation, fixes.
  26470. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  26471. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  26472. * ComboBoxStyle.cs: ComboBoxStyle enum
  26473. * ComboBox.cs: Initial work on ComboBox control
  26474. 2004-12-21 Peter Bartok <[email protected]>
  26475. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  26476. forward so that anything that creates a window gets the default,
  26477. also no longer uses Visible property in CreateParams to avoid
  26478. walking up the parent chain and possibly get the wrong visible
  26479. status. Fixed IsVisible to no longer walk up to the parent.
  26480. 2004-12-21 Peter Bartok <[email protected]>
  26481. * Form.cs (ShowDialog): Unset modality for the proper window
  26482. 2004-12-20 Peter Bartok <[email protected]>
  26483. * CommonDialog.cs: Initial check-in
  26484. 2004-12-20 Peter Bartok <[email protected]>
  26485. * Control.cs (Visible): Now uses the parent window instead of the
  26486. client area window for the property
  26487. * Form.cs
  26488. - ShowDialog(): Now uses the proper window for modality
  26489. - The default visibility state for the form parent is now false. This
  26490. will prevent the user from seeing all the changes to the form and
  26491. its controls before the application hits Application.Run()
  26492. - Removed some stale commented out code
  26493. * NativeWindow.cs:
  26494. - Added FindWindow() method to have a method to check for existence
  26495. of a window handle
  26496. - Added ability to override default exception handling (for example
  26497. when debugging with VS.Net; to do this the ExternalExceptionHandler
  26498. define must be set
  26499. - Removed some useless debug output
  26500. * XplatUIX11.cs:
  26501. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  26502. not working as expected
  26503. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  26504. property to allow switching back to the modal window if focus is
  26505. given to another one of our windows (Application Modal)
  26506. - Now only sets override_redirect if we create a window
  26507. without WS_CAPTION
  26508. - Moved EventMask selection before mapping of newly created window
  26509. so we can catch the map event as well
  26510. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  26511. - Added various Atom related DllImports
  26512. - Implemented Exit() method
  26513. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  26514. in the CreateParams
  26515. * MessageBox.cs: Now properly deals with the FormParent window by
  26516. providing an override the FormParent CreateParams property to
  26517. set as POPUP instead of OVERLAPPED window.
  26518. 2004-12-19 Geoff Norton <[email protected]>
  26519. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  26520. Minor code cleanup.
  26521. 2004-12-19 Geoff Norton <[email protected]>
  26522. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  26523. 2004-12-18 Peter Bartok <[email protected]>
  26524. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  26525. implementing SetModal() method
  26526. 2004-12-18 Peter Bartok <[email protected]>
  26527. * X11Structs.cs (XGCValues): Fixed type of function element
  26528. * XplatUI.cs: Added ScrollWindow() method
  26529. * XplatUIDriver.cs: Added ScrollWindow() abstract
  26530. * XplatUIWin32.cs: Implemented ScrollWindow() method
  26531. * XplatUIX11.cs: Implemented ScrollWindow() method
  26532. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  26533. 2004-12-17 Geoff Norton <[email protected]>
  26534. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  26535. Some more keyboard support (INCOMPLETE)
  26536. 2004-12-17 Peter Bartok <[email protected]>
  26537. * TextControl.cs:
  26538. - Added color attribute to line tags.
  26539. - Added color argument to all functions dealing with tags
  26540. - Added color argument support to various functions
  26541. - Fixed miss-calculation of baseline/shift in certain circumstances
  26542. * TextBoxBase.cs: Added new color option to test code
  26543. 2004-12-17 Jackson Harper <[email protected]>
  26544. * TreeNode.cs:
  26545. * MonthCalendar.cs: Signature fixes
  26546. 2004-12-17 Geoff Norton <[email protected]>
  26547. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  26548. keyboard event moved it. Create a new graphics context for each paint resolves this
  26549. 2004-12-17 Geoff Norton <[email protected]>
  26550. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  26551. Make caret exist and go blink blink. Initial keyboard support.
  26552. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  26553. works.
  26554. 2004-12-17 Jackson Harper <[email protected]>
  26555. * XplatUIStructs.cs: Updated set of virtual keycodes.
  26556. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  26557. 2004-12-17 Jackson Harper <[email protected]>
  26558. * XplatUIX11.cs: Prune old keyboard code.
  26559. 2004-12-17 Jackson Harper <[email protected]>
  26560. * XplatUIX11.cs: When generating mouse wparams get the modifier
  26561. keys from the ModifierKeys property.
  26562. 2004-12-17 Jackson Harper <[email protected]>
  26563. * X11Keyboard.cs: Send up/down input when generating
  26564. messages. Remove some unused vars.
  26565. 2004-12-17 Jackson Harper <[email protected]>
  26566. * TabControl.cs:
  26567. * TreeView.cs: get rid of warnings.
  26568. 2004-12-17 Jackson Harper <[email protected]>
  26569. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  26570. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  26571. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  26572. CheckedListBox.cs: Implementation
  26573. 2004-12-17 Peter Bartok <[email protected]>
  26574. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  26575. 2004-12-16 Peter Bartok <[email protected]>
  26576. * TextControl.cs:
  26577. - InsertCharAtCaret(): Fixed start pos fixup
  26578. - CaretLine_get: No longer derives the line from the tag, the tag
  26579. could be stale if lines in the document have been added or deleted
  26580. - RebalanceAfterDelete(): Fixed bug in balancing code
  26581. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  26582. - Line.Streamline(): Now can also elminate leading empty tags
  26583. - DumpTree(): Added a few more tests and prevented exception on
  26584. uninitialized data
  26585. - Added Debug section for Combining lines
  26586. - Delete(): Now copies all remaining properties of a line
  26587. * TextBoxBase.cs:
  26588. - Left mousebutton now sets the caret (and middle button still acts
  26589. as formatting tester, which must go away soon)
  26590. - Added Debug section for Deleting/Combining lines
  26591. - Fixed calculations for UpdateView after Combining lines
  26592. 2004-12-16 Peter Bartok <[email protected]>
  26593. * TextControl.cs: Now properly aligns text on a baseline, using the
  26594. new XplatUI.GetFontMetrics() method. Simplified several calculations
  26595. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  26596. defined
  26597. 2004-12-16 Peter Bartok <[email protected]>
  26598. * XplatUI.cs: Added GetFontMetrics() method
  26599. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  26600. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  26601. into libgdiplus, our private GetFontMetrics function
  26602. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  26603. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  26604. 2004-12-16 Jackson Harper <[email protected]>
  26605. * XplatUIStruct.cs: Add enum for dead keys
  26606. * X11Keyboard.cs: Map and unmap dead keys.
  26607. 2004-12-16 Jackson Harper <[email protected]>
  26608. * X11Keyboard.cs: Detect and use the num lock mask.
  26609. 2004-12-16 Peter Bartok <[email protected]>
  26610. * Control.cs (CreateGraphics): Added check to make sure the
  26611. handle of the window exists before calling Graphics.FromHwnd()
  26612. 2004-12-16 Peter Bartok <[email protected]>
  26613. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  26614. contains a lot of code that's not supposed to be there for the
  26615. real thing, but required for developing/testing the textbox
  26616. backend.
  26617. 2004-12-16 Peter Bartok <[email protected]>
  26618. * TextControl.cs:
  26619. - Fixed Streamline method
  26620. - Added FindTag method to Line
  26621. - Added DumpTree method for debugging
  26622. - Added DecrementLines() method for deleting lines
  26623. - Fixed UpdateView to update the cursor to end-of-line on single-line
  26624. updates
  26625. - Added PositionCaret() method
  26626. - Fixed MoveCaret(LineDown) to move into the last line, too
  26627. - Added InsertChar overload
  26628. - Fixed InsertChar tag offset calculations
  26629. - Added DeleteChar() method
  26630. - Added Combine() method for folding lines
  26631. - Fixed Delete() method, no longer allocates wasted Line object and
  26632. now copies all properties when swapping nodes
  26633. - Delete() method now updates document line counter
  26634. 2004-12-15 Jackson Harper <[email protected]>
  26635. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  26636. * X11Keyboard.cs: Expose the currently selected modifier keys
  26637. through a property.
  26638. 2004-12-15 Peter Bartok <[email protected]>
  26639. * TextControl.cs: Initial check-in. Still incomplete
  26640. 2004-12-15 Jackson Harper <[email protected]>
  26641. * TreeNode.cs:
  26642. * TreeView.cs: Fix build on csc (second time today ;-))
  26643. 2004-12-15 Jackson Harper <[email protected]>
  26644. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  26645. is calculated and use this for click testing.
  26646. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  26647. 2004-12-15 Jackson Harper <[email protected]>
  26648. * TreeView.cs: Pass the nodes image index to the image list when
  26649. drawing that image.
  26650. 2004-12-15 Jackson Harper <[email protected]>
  26651. * X11Keyboard.cs: Set messages hwnd.
  26652. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  26653. post_message calls.
  26654. 2004-12-15 Jackson Harper <[email protected]>
  26655. * X11Keyboard.cs: Fix to compile with csc.
  26656. 2004-12-15 Jackson Harper <[email protected]>
  26657. * X11Structs.cs: Add key mask values
  26658. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  26659. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  26660. down/up foo into WM_CHAR foo
  26661. * KeyboardLayouts.cs: Common keyboard layouts
  26662. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  26663. post messages into the main queue.
  26664. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  26665. * Button.cs: implement ProcessMnemonic
  26666. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  26667. brushes everytime
  26668. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  26669. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  26670. 2004-12-12 John BouAntoun <[email protected]>
  26671. * MonthCalendar.cs: Implemented click-hold for next/previous month
  26672. and date selection
  26673. 2004-12-11 Peter Bartok <[email protected]>
  26674. * X11Structs.cs:
  26675. - Added XKeyboardState (moved from XplatUIX11.cs)
  26676. - Added XCreateGC related enums and structures
  26677. - Added GXFunction for XSetFunction
  26678. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  26679. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  26680. CaretVisible() calls
  26681. * ToolTip.cs: Added code to prevent stealing focus from app windows
  26682. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  26683. DestroyCaret, SetCaretPos and CaretVisible)
  26684. * XplatUIX11.cs:
  26685. - Added implementation for caret functions
  26686. - Moved hover variables into a struct, to make it a bit easier
  26687. on the eyes and to debug
  26688. - Removed XKeyboardState (moved to XplatUIX11.cs)
  26689. - Moved Keyboard properties into the properties region
  26690. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  26691. call to get a graphics context for our control
  26692. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  26693. * TreeView.cs: Fixed bug. No matter what color was set it would always
  26694. return SystemColors.Window
  26695. * XplatUIWin32.cs: Implemented caret overrides
  26696. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  26697. * ListBox.cs: fire events, implement missing methods and properties,
  26698. sorting.
  26699. 2004-12-10 John BouAntoun <[email protected]>
  26700. * MonthCalendar.cs: invalidation bug fixing
  26701. * ThemeWin32Classic.cs: paint fixing
  26702. 2004-12-09 Geoff Norton <[email protected]>
  26703. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  26704. prepare the CGContextRef there now.
  26705. 2004-12-09 John BouAntoun <[email protected]>
  26706. * MonthCalendar.cs:
  26707. - optimisationL only invalidate areas that have changed
  26708. * ThemeWin32Classic.cs:
  26709. - only paint parts that intersect with clip_area
  26710. 2004-12-09 Peter Bartok <[email protected]>
  26711. * Application.cs: Undid changes from r37004 which cause problems
  26712. on X11
  26713. 2004-12-09 Ravindra <[email protected]>
  26714. * ToolBar.cs: Added support for displaying ContextMenu
  26715. attached to a button on ToolBar.
  26716. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  26717. property.
  26718. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26719. * Label.cs: autosize works in text change and removes unnecessary
  26720. invalidate
  26721. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26722. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  26723. remove warnings
  26724. 2004-12-08 Geoff Norton <[email protected]>
  26725. * XplatUIOSX.cs: Added mouse move/click/grab support
  26726. Remove some debugging WriteLines not needed anymore.
  26727. Add window resizing/positioning.
  26728. Fix visibility on reparenting.
  26729. 2004-12-08 Peter Bartok <[email protected]>
  26730. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  26731. 2004-12-07 Geoff Norton <[email protected]>
  26732. * XplatUIOSX.cs: Initial checkin
  26733. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  26734. 2004-12-03 Ravindra <[email protected]>
  26735. * ListView.cs: Added some keybindings and fixed scrolling.
  26736. ScrollBars listen to ValueChanged event instead of Scroll
  26737. Event. This would let us take care of all changes being
  26738. done in the scrollbars' values programmatically or manually.
  26739. * ListView.cs (CanMultiselect): Added a check for shift key.
  26740. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  26741. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  26742. of ListViewSubItemCollection as well.
  26743. 2004-12-06 Peter Bartok <[email protected]>
  26744. * Control.cs (Parent): Added check and exception to prevent
  26745. circular parenting
  26746. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  26747. * ListBox.cs: implemented clipping, selection single and multiple,
  26748. bug fixing
  26749. 2004-12-03 Ravindra <[email protected]>
  26750. * ListView.cs (ListView_KeyDown):
  26751. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  26752. when CTRL key is pressed.
  26753. * ListViewItem.cs (Selected): Fixed setting the property.
  26754. 2004-12-03 Marek Safar <[email protected]>
  26755. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  26756. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  26757. MinimizeBox, ShowInTaskbar, TopMost properties.
  26758. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  26759. will be implemented).
  26760. 2004-12-03 Marek Safar <[email protected]>
  26761. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  26762. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  26763. tests.
  26764. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  26765. * TreeView.cs: BackColor is Colors.Window.
  26766. 2004-12-01 Jackson Harper <[email protected]>
  26767. * TreeView.cs: When resizing the tree if the user is making it
  26768. smaller we don't get expose events, so we need to handle adding
  26769. the horizontal scrollbar in the size changed handler as well as
  26770. the expose handler.
  26771. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  26772. * DrawItemState.cs: fixes wrong enum values
  26773. 2004-12-01 Jackson Harper <[email protected]>
  26774. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  26775. 2004-12-01 Jackson Harper <[email protected]>
  26776. * NodeLabelEditEventArgs.cs:
  26777. * NodeLabelEditEventHandler.cs:
  26778. * OpenTreeNodeEnumerator.cs:
  26779. * TreeNode.cs:
  26780. * TreeNodeCollection.cs:
  26781. * TreeView.cs:
  26782. * TreeViewAction.cs:
  26783. * TreeViewCancelEventArgs.cs:
  26784. * TreeViewCancelEventHandler.cs:
  26785. * TreeViewEventArgs.cs:
  26786. * TreeViewEventHandler.cs: Initial implementation.
  26787. 2004-12-01 Ravindra <[email protected]>
  26788. * ListView.cs (CalculateListView): Fixed scrolling related
  26789. calculations. Also, removed some debug statements from other
  26790. places.
  26791. * ListViewItem.cs: Changed access to 'selected' instance variable
  26792. from private to internal.
  26793. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  26794. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  26795. * ThemeWin32Classic.cs: remove cache of brush and pens for
  26796. specific controls and use the global system, fixes scrollbutton
  26797. bugs (for small sizes, disabled, etc)
  26798. * ScrollBar.cs: does not show the thumb for very small controls
  26799. (as MS) and allow smaller buttons that the regular size
  26800. 2004-12-01 Miguel de Icaza <[email protected]>
  26801. * UpDownBase.cs: Add abstract methods for the interface.
  26802. Add new virtual methods (need to be hooked up to TextEntry when it
  26803. exists).
  26804. Add override methods for most features.
  26805. Computes the size, forces the height of the text entry.
  26806. * NumericUpDown.cs: Put here the current testing code.
  26807. * Set eol-style property on all files that do not have mixed line
  26808. endings, to minimize the future problems. There are still a few
  26809. files with mixed endings, and someone should choose whether they
  26810. want to move it or not.
  26811. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  26812. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  26813. System.Colors
  26814. 2004-11-30 Ravindra <[email protected]>
  26815. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  26816. drawing and replaced use of SystemColors by theme colors.
  26817. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  26818. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  26819. same ListViewItem is being added more than once.
  26820. 2004-11-30 John BouAntoun <[email protected]>
  26821. * MonthCalendar.cs:
  26822. - ControlStyles love to make the control not flicker
  26823. 2004-11-30 Peter Bartok <[email protected]>
  26824. * CharacterCasing.cs: Added
  26825. 2004-11-29 Peter Bartok <[email protected]>
  26826. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26827. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  26828. I am removing these files as they conflict with already completed
  26829. work. While it is fantastic to get contributions to MWF, I
  26830. respectfully ask that everyone please coordinate their contributions
  26831. through mono-winforms-list or #mono-winforms at this time. We're
  26832. explicitly avoiding stubbing and don't want controls that don't have
  26833. their basic functionality implemented in svn. Please also see
  26834. http://www.mono-project.com/contributing/winforms.html
  26835. 2004-11-29 Marek Safar <[email protected]>
  26836. * Application.cs (ModalRun): Don't hang after exit.
  26837. * Theme.cs: New TreeViewDefaultSize property.
  26838. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  26839. with less hardcoded SystemColors constant.
  26840. Implemented TreeViewDefaultSize.
  26841. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26842. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  26843. 2004-11-29 John BouAntoun <[email protected]>
  26844. * MonthCalendar.cs:
  26845. - Fix NextMonthDate and PrevMonthDate click moving calendar
  26846. 2004-11-26 John BouAntoun <[email protected]>
  26847. * MonthCalendar.cs:
  26848. - Fix usage of ScrollChange Property when scrolling months
  26849. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  26850. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  26851. - Fixes menu destroying
  26852. - Support adding and removing items on already created menus
  26853. 2004-11-26 John BouAntoun <[email protected]>
  26854. * MonthCalendar.cs:
  26855. - Re-worked all bolded dates handling to match win32
  26856. * ThemeWin32Classic.cs:
  26857. - Fixed rendering with bolded dates
  26858. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  26859. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  26860. - Horizontal scroolbar
  26861. - Multicolumn
  26862. - Fixes
  26863. 2004-11-25 John BouAntoun <[email protected]>
  26864. * MonthCalendar.cs:
  26865. - Fix Usage of MaxSelectionCount from SelectionRange
  26866. - Fixed Shift + Cursor Selection
  26867. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  26868. - Fixed normal cursor selection to be compat with win32
  26869. - Fixed Shift + Mouse Click selection
  26870. 2004-11-24 Peter Bartok <[email protected]>
  26871. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  26872. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  26873. * XplatUIX11.cs:
  26874. - CreatedKeyBoardMsg now updates keystate with Alt key
  26875. - Added workaround for timer crash to CheckTimers, Jackson will
  26876. develop a proper fix and check in later
  26877. - Implemented DispatchMessage
  26878. - Removed calling the native window proc from GetMessage (call
  26879. now moved to DispatchMessage)
  26880. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  26881. the keydata (Fixes bug #69831)
  26882. * XplatUIWin32.cs:
  26883. - (DispatchMessage): Switched to return IntPtr
  26884. - Added DllImport for SetFocus
  26885. 2004-11-24 Ravindra <[email protected]>
  26886. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  26887. background drawing.
  26888. * ListViewItem.cs: Fixed various properties, calculations
  26889. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  26890. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  26891. and some internal properties. Fixed MouseDown handler and Paint
  26892. method.
  26893. 2004-11-24 John BouAntoun <[email protected]>
  26894. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  26895. 2004-11-24 John BouAntoun <[email protected]>
  26896. * ContainerControl.cs: correct accidental check in of local changes
  26897. 2004-11-24 John BouAntoun <[email protected]>
  26898. * ThemeWin32Classic.cs:
  26899. - Fixed Drawing Last month in grid (sometimes not showing)
  26900. * MonthCalendar.cs:
  26901. - Fixed title width calculation bug (makeing title small)
  26902. 2004-11-23 Peter Bartok <[email protected]>
  26903. * XplatUIX11.cs:
  26904. - Added generation of WM_MOUSEHOVER event
  26905. - Added missing assignment of async_method atom
  26906. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  26907. 2004-11-23 John BouAntoun <[email protected]>
  26908. * ThemeWin32Classic.cs:
  26909. - Fixed Drawing of today circle when showtodaycircle not set
  26910. - fixed drawing of first and last month in the grid (gay dates)
  26911. * MonthCalendar.cs:
  26912. - Fixed Drawing of today circle
  26913. - Fixed drawing of grady dates
  26914. - Fixed HitTest for today link when ShowToday set to false
  26915. - Fixed DefaultSize to obey ShowToday
  26916. 2004-11-23 John BouAntoun <[email protected]>
  26917. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  26918. * System.Windows.Forms/Theme.cs
  26919. * MonthCalendar.cs: added for MonthCalendar
  26920. * SelectionRange.cs: added for MonthCalendar
  26921. * Day.cs: added for MonthCalendar: added for MonthCalendar
  26922. * DateRangeEventArgs.cs: added for MonthCalendar
  26923. * DateRangeEventHandler.cs: added for MonthCalendar
  26924. 2004-11-22 Ravindra <[email protected]>
  26925. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  26926. property.
  26927. 2004-11-22 Miguel de Icaza <[email protected]>
  26928. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  26929. event handler.
  26930. * NumericUpDown.cs: Added new implementation.
  26931. * UpDownBase.cs: Added new implementation.
  26932. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  26933. implementations.
  26934. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  26935. implementations.
  26936. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  26937. methods.
  26938. 2004-11-21 Miguel de Icaza <[email protected]>
  26939. * Timer.cs (Dispose): Should call the base dispose when
  26940. overriding.
  26941. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26942. * ScrollBar.cs: updates thumb position when max, min or increment
  26943. is changed
  26944. 2004-11-21 Ravindra <[email protected]>
  26945. * ListView.cs: Implemented item selection, activation and
  26946. column header style. Fixed properties to do a redraw, if
  26947. required. Added support for MouseHover, DoubleClick, KeyDown
  26948. and KeyUp event handling and some minor fixes.
  26949. * ListViewItem.cs: Fixed constructor.
  26950. * ThemeWin32Classic.cs: Improved drawing for ListView.
  26951. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26952. * ThemeWin32Classic.cs: initial listbox drawing code
  26953. * DrawMode.cs: new enumerator
  26954. * ListControl.cs: stubbed class
  26955. * ListBox.cs: initial implementation
  26956. * Theme.cs: new methods definitions
  26957. * SelectionMode.cs: new enumerator
  26958. 2004-11-17 Peter Bartok <[email protected]>
  26959. * XplatUIWin32.cs: Added double-click events to the class style
  26960. * Control.cs (WndProc):
  26961. - Added handling of click-count to MouseDown/ MouseUp events.
  26962. - Added handling of middle and right mouse buttons
  26963. - Removed old debug code
  26964. 2004-11-17 Jackson Harper <[email protected]>
  26965. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  26966. 2004-11-17 Ravindra <[email protected]>
  26967. * ListView.cs: Added event handling for MouseMove/Up/Down.
  26968. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  26969. * ThemeWin32Classic.cs: We need to clear the graphics context and
  26970. draw column header in a proper state.
  26971. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  26972. * Menu.cs: fixes signature
  26973. 2004-11-16 Peter Bartok <[email protected]>
  26974. * XplatUIX11.cs (GetMessage): Implemented generation of
  26975. double click mouse messages
  26976. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  26977. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  26978. not by menu
  26979. 2004-11-11 Peter Bartok <[email protected]>
  26980. * HandleData.cs: Added Visible property
  26981. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  26982. HandleData
  26983. * XplatUIX11.cs: Removed old debug leftovers
  26984. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  26985. * Control.cs (WndProc): Removed old debug leftovers,
  26986. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  26987. needed WM_SIZE handling
  26988. 2004-11-11 Jackson Harper <[email protected]>
  26989. * OwnerDrawPropertyBag.cs:
  26990. * TreeViewImageIndexConverter.cs: Initial implementation
  26991. 2004-11-10 Jackson Harper <[email protected]>
  26992. * ThemeWin32Classic.cs:
  26993. * TabControl.cs: instead of moving tabs by the slider pos just
  26994. start drawing at the tab that is offset by the slider. This way
  26995. scrolling always moves by exactly one tab.
  26996. 2004-11-10 Jackson Harper <[email protected]>
  26997. * TabControl.cs: You can only scroll left when the slider has
  26998. already ben moved right.
  26999. 2004-11-10 Jackson Harper <[email protected]>
  27000. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  27001. the clip area.
  27002. 2004-11-10 Jackson Harper <[email protected]>
  27003. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  27004. clip area.
  27005. 2004-11-09 Jackson Harper <[email protected]>
  27006. * TabControl.cs (CalcXPos): New helper method so we can determine
  27007. the proper place to start drawing vertical tabs.
  27008. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  27009. 2004-11-09 Jackson Harper <[email protected]>
  27010. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  27011. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  27012. and Bottom, left and right are illegal values for this and
  27013. multiline is enabled when the alignment is set to left or right.
  27014. (DrawTab): Each alignment block should draw the text itself now
  27015. because Left requires special love. Also add rendering for Left
  27016. aligned tabs.
  27017. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  27018. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  27019. does not destroy the windows, removes debugging messages
  27020. 2004-11-09 jba <[email protected]>
  27021. * ThemeWin32Classic.cs
  27022. (DrawButtonBase): Fix verticle text rect clipping in windows
  27023. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  27024. rendering and incorrect text rect clipping
  27025. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  27026. rendering and incorrect text rect clipping
  27027. 2004-11-08 Jackson Harper <[email protected]>
  27028. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  27029. bottom when they are bottom aligned so the bottoms of the tabs get
  27030. displayed.
  27031. * TabControl.cs (DropRow): Move rows up instead of down when the
  27032. tab control is bottom aligned.
  27033. 2004-11-08 13:59 pbartok
  27034. * XplatUIX11.cs:
  27035. - Added handling for various window styles
  27036. - Added handling for popup windows
  27037. - Added SetTopmost handling
  27038. 2004-11-08 13:55 pbartok
  27039. * XplatUIWin32.cs:
  27040. - Added argument to SetTopmost method
  27041. - Fixed broken ClientToScreen function
  27042. 2004-11-08 13:53 pbartok
  27043. * XplatUIStructs.cs:
  27044. - Added missing WS_EX styles
  27045. 2004-11-08 13:53 pbartok
  27046. * XplatUI.cs, XplatUIDriver.cs:
  27047. - Added argument to SetTopmost
  27048. 2004-11-08 13:52 pbartok
  27049. * X11Structs.cs:
  27050. - Added XSetWindowAttributes structure
  27051. - Improved XWindowAttributes structure
  27052. - Added SetWindowValuemask enum
  27053. - Added window creation arguments enum
  27054. - Added gravity enum
  27055. - Added Motif hints structure
  27056. - Added various Motif flags and enums
  27057. - Added PropertyMode enum for property functions
  27058. 2004-11-08 13:50 pbartok
  27059. * Form.cs:
  27060. - Fixed arguments for updated SetTopmost method
  27061. 2004-11-08 13:49 pbartok
  27062. * ToolTip.cs:
  27063. - Fixed arguments for updated SetTopmost function
  27064. - Fixed usage of PointToClient
  27065. 2004-11-08 13:44 pbartok
  27066. * MenuAPI.cs:
  27067. - Added Clipping of children and siblings
  27068. 2004-11-08 13:41 pbartok
  27069. * MainMenu.cs:
  27070. - Removed SetMenuBarWindow call. We do this in Form.cs
  27071. 2004-11-08 13:40 jackson
  27072. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  27073. scrolling jimmi in the correct location with bottom aligned tabs
  27074. 2004-11-08 13:36 pbartok
  27075. * ContainerControl.cs:
  27076. - Implemented BindingContext
  27077. - Implemented ParentForm
  27078. 2004-11-08 12:46 jackson
  27079. * TabControl.cs: Put bottom rendered tabs in the right location
  27080. 2004-11-08 07:15 jordi
  27081. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  27082. removes dead code
  27083. 2004-11-05 17:30 jackson
  27084. * TabControl.cs: When selected tabs are expanded make sure they
  27085. don't go beyond the edges of the tab control
  27086. 2004-11-05 14:57 jackson
  27087. * TabControl.cs: Reset show_slider so if the control is resized to
  27088. a size where it is no longer needed it's not displayed anymore
  27089. 2004-11-05 13:16 jackson
  27090. * TabControl.cs: Make tab pages non visible when added to the
  27091. control
  27092. 2004-11-05 12:42 jackson
  27093. * TabControl.cs: Implement SizeMode.FillToRight
  27094. 2004-11-05 12:16 jackson
  27095. * Control.cs: Do not call CreateHandle if the handle is already
  27096. created
  27097. 2004-11-05 11:46 jackson
  27098. * TabControl.cs: Remove superflous call to CalcTabRows
  27099. 2004-11-05 09:07 jackson
  27100. * XplatUIX11.cs: Update for Mono.Posix changes
  27101. 2004-11-05 07:00 ravindra
  27102. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  27103. scrolling.
  27104. 2004-11-04 22:47 jba
  27105. * ThemeWin32Classic.cs:
  27106. - Fix Button rendering for FlatStyle = Flat or Popup
  27107. - Fix RadioButton and CheckBox rendering when Appearance = Button
  27108. (normal and flatstyle).
  27109. - Correct outer rectangle color when drawing focus rectangle
  27110. - Adjust button bounds to be 1 px smaller when focused
  27111. - Make button not draw sunken 3d border when pushed (windows compat)
  27112. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  27113. - Offset the text in RadioButton and Checkbox when being rendered as
  27114. a button.
  27115. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  27116. radiobuttons
  27117. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  27118. - Fixed disabled text rendering for normally rendered radiobuttons
  27119. 2004-11-04 10:26 jackson
  27120. * TabControl.cs: Recalculate tab rows when resizing
  27121. 2004-11-04 07:47 jordi
  27122. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  27123. collection completion, drawing issues, missing features
  27124. 2004-11-04 05:03 ravindra
  27125. * ScrollBar.cs:
  27126. - We need to recalculate the Thumb area when
  27127. LargeChange/maximum/minimum values are changed.
  27128. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  27129. than minimum. This is required to handle the case if large_change is
  27130. more than max, and use LargeChange property instead of large_change
  27131. variable.
  27132. - We return max+1 when large_change is more than max, like MS does.
  27133. 2004-11-04 04:29 ravindra
  27134. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  27135. - Changed default value signatures (prefixed all with ListView).
  27136. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  27137. ListView.
  27138. - Fixed calculations for ListViewItem and implemented Clone()
  27139. method.
  27140. 2004-11-04 04:26 ravindra
  27141. * Theme.cs, ThemeWin32Classic.cs:
  27142. - Changed default ListView values signatures (prefixed all with
  27143. ListView).
  27144. - Fixed default size values for VScrollBar and HScrollBar.
  27145. - Fixed DrawListViewItem method.
  27146. 2004-11-04 04:05 ravindra
  27147. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  27148. 2004-11-04 04:04 ravindra
  27149. * ImageList.cs: Implemented the missing overload for Draw method.
  27150. 2004-11-03 19:29 jackson
  27151. * TabControl.cs: Handle dropping rows on selection properly
  27152. 2004-11-03 11:59 jackson
  27153. * TabControl.cs: remove debug code
  27154. 2004-11-03 11:52 jackson
  27155. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  27156. the scrolly widgerywoo
  27157. 2004-11-02 13:52 jackson
  27158. * TabControl.cs: Resize the tab pages and tabs when the tab control
  27159. is resized
  27160. 2004-11-02 13:40 jackson
  27161. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  27162. selected tab to the bottom
  27163. 2004-11-02 13:39 jackson
  27164. * TabPage.cs: Store the tab pages row
  27165. 2004-11-02 12:33 jordi
  27166. * MenuItem.cs: fixes handle creation
  27167. 2004-11-02 11:42 jackson
  27168. * TabControl.cs: signature fix
  27169. 2004-11-02 08:56 jackson
  27170. * TabControl.cs: Calculate whether the tab is on an edge properly.
  27171. Remove top secret debugging code
  27172. 2004-11-01 19:57 jackson
  27173. * TabControl.cs: Add click handling, and proper sizing
  27174. 2004-11-01 19:47 jackson
  27175. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  27176. tab controls
  27177. 2004-11-01 19:39 jackson
  27178. * TabPage.cs: add internal property to store the bounds of a tab
  27179. page
  27180. 2004-10-30 04:23 ravindra
  27181. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  27182. values.
  27183. 2004-10-30 04:21 ravindra
  27184. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  27185. fixed calculations.
  27186. 2004-10-30 03:06 pbartok
  27187. * XplatUIX11.cs:
  27188. - Removed extension of DllImported libs
  27189. 2004-10-29 09:55 jordi
  27190. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  27191. navigation, itemcollection completion, menu fixes
  27192. 2004-10-27 22:58 pbartok
  27193. * XplatUIX11.cs:
  27194. - Now throws a nice error message when no X display could be opened
  27195. 2004-10-26 13:51 jordi
  27196. * ListView.cs: removes warning
  27197. 2004-10-26 03:55 ravindra
  27198. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  27199. ThemeWin32Classic.cs: Some formatting for my last checkins.
  27200. 2004-10-26 03:36 ravindra
  27201. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  27202. control and default values.
  27203. 2004-10-26 03:35 ravindra
  27204. * Theme.cs: Added some default values for ListView control.
  27205. 2004-10-26 03:33 ravindra
  27206. * ToolBar.cs: ToolBar should use the user specified button size, if
  27207. there is any. Added a size_specified flag for the same.
  27208. 2004-10-26 03:33 ravindra
  27209. * ColumnHeader.cs: Added some internal members and calculations for
  27210. ColumnHeader.
  27211. 2004-10-26 03:32 ravindra
  27212. * ListViewItem.cs: Calculations for ListViewItem.
  27213. 2004-10-26 03:31 ravindra
  27214. * ListView.cs: Added some internal members and calculations for
  27215. ListView.
  27216. 2004-10-22 13:31 jordi
  27217. * MenuAPI.cs: speedup menus drawing
  27218. 2004-10-22 13:16 jackson
  27219. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  27220. expose event
  27221. 2004-10-22 11:49 jackson
  27222. * Control.cs: oops
  27223. 2004-10-22 11:41 jackson
  27224. * Control.cs: Check to see if the window should have its background
  27225. repainted by X when drawing.
  27226. 2004-10-22 11:31 jackson
  27227. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  27228. clear is true, this way we do not get flicker from X repainting the
  27229. background
  27230. 2004-10-22 11:28 jackson
  27231. * XEventQueue.cs: Queue properly
  27232. 2004-10-21 09:38 jackson
  27233. * XEventQueue.cs: Fix access modifier
  27234. 2004-10-21 09:36 jackson
  27235. * XEventQueue.cs: Don't loose messages
  27236. 2004-10-21 09:22 jackson
  27237. * XEventQueue.cs: Don't loose messages
  27238. 2004-10-20 04:15 jordi
  27239. * BootMode.cs: enum need it by SystemInfo
  27240. 2004-10-19 21:58 pbartok
  27241. * XplatUIWin32.cs:
  27242. - Small sanity check
  27243. 2004-10-19 21:56 pbartok
  27244. * Form.cs:
  27245. - Added private FormParentWindow class which acts as the container
  27246. for our form and as the non-client area where menus are drawn
  27247. - Added/Moved required tie-ins to Jordi's menus
  27248. - Fixed/Implemented the FormStartPosition functionality
  27249. 2004-10-19 21:52 pbartok
  27250. * Control.cs:
  27251. - Removed unneeded locals
  27252. - Added code to all size and location properties to understand and
  27253. deal with the parent container of Form
  27254. 2004-10-19 21:33 pbartok
  27255. * Application.cs:
  27256. - Fixed to deal with new Form subclasses for menus
  27257. 2004-10-19 17:48 jackson
  27258. * XEventQueue.cs: commit correct version of file
  27259. 2004-10-19 16:50 jackson
  27260. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  27261. 2004-10-19 16:15 jordi
  27262. * MenuAPI.cs: MenuBarCalcSize returns the height
  27263. 2004-10-19 08:31 pbartok
  27264. * Control.cs:
  27265. - Added missing call to PreProcessMessage before calling OnXXXKey
  27266. methods
  27267. 2004-10-19 00:04 ravindra
  27268. * ToolTip.cs: Fixed constructor.
  27269. 2004-10-18 09:31 jordi
  27270. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  27271. 2004-10-18 09:26 jordi
  27272. * MenuItem.cs: fixes MenuItem class signature
  27273. 2004-10-18 08:56 jordi
  27274. * MenuAPI.cs: prevents windows from showing in the taskbar
  27275. 2004-10-18 00:28 ravindra
  27276. * ToolTip.cs: Suppressed a warning message.
  27277. 2004-10-18 00:27 ravindra
  27278. * Control.cs: Default value of visible property must be true.
  27279. 2004-10-17 23:19 pbartok
  27280. * ToolTip.cs:
  27281. - Complete implementation
  27282. 2004-10-17 23:19 pbartok
  27283. * XplatUIX11.cs:
  27284. - Added EnableWindow method
  27285. - Added SetModal stub
  27286. - Added generation of WM_ACTIVATE message (still needs testing)
  27287. - Added SetTopMost stub
  27288. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  27289. 2004-10-17 23:17 pbartok
  27290. * XplatUIWin32.cs:
  27291. - Removed VirtualKeys to XplatUIStructs
  27292. - Implemented SetTopMost method
  27293. - Implemented EnableWindow method
  27294. - Bugfix in ScreenToClient()
  27295. - Bugfixes in ClientToScreen()
  27296. 2004-10-17 22:51 pbartok
  27297. * XplatUIStructs.cs:
  27298. - Added WS_EX styles to WindowStyles enumeration
  27299. 2004-10-17 22:50 pbartok
  27300. * XplatUI.cs, XplatUIDriver.cs:
  27301. - Added method for enabling/disabling windows
  27302. - Added method for setting window modality
  27303. - Added method for setting topmost window
  27304. 2004-10-17 22:49 pbartok
  27305. * ThemeWin32Classic.cs:
  27306. - Added ToolTip drawing code
  27307. 2004-10-17 22:49 pbartok
  27308. * Theme.cs:
  27309. - Added ToolTip abstracts
  27310. 2004-10-17 22:47 pbartok
  27311. * Form.cs:
  27312. - Fixed Form.ControlCollection to handle owner relations
  27313. - Added Owner/OwnedForms handling
  27314. - Implemented Z-Ordering for owned forms
  27315. - Removed unneeded private overload of ShowDialog
  27316. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  27317. so I hope)
  27318. - Fixed Close(), had wrong default
  27319. - Added firing of OnLoad event
  27320. - Added some commented out debug code for Ownership handling
  27321. 2004-10-17 22:16 pbartok
  27322. * Control.cs:
  27323. - Fixed/implemented flat list of controls
  27324. 2004-10-17 22:14 pbartok
  27325. * Application.cs:
  27326. - Added code to simulate modal dialogs on Win32
  27327. 2004-10-17 16:11 jordi
  27328. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  27329. mouse event
  27330. 2004-10-17 13:39 jordi
  27331. * MenuAPI.cs: menu drawing fixes
  27332. 2004-10-15 09:10 ravindra
  27333. * StructFormat.cs: General Enum.
  27334. 2004-10-15 09:09 ravindra
  27335. * SizeGripStyle.cs: Enum for Form.
  27336. 2004-10-15 09:08 ravindra
  27337. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  27338. in Theme for ListView.
  27339. 2004-10-15 09:06 ravindra
  27340. * ColumnHeader.cs: Flushing some formatting changes.
  27341. 2004-10-15 09:05 ravindra
  27342. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  27343. style.
  27344. 2004-10-15 09:03 ravindra
  27345. * ListView.cs: Implemented Paint method and fixed coding style.
  27346. 2004-10-15 07:34 jordi
  27347. * MenuAPI.cs: fix for X11
  27348. 2004-10-15 07:32 ravindra
  27349. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  27350. - Renamed Paint() method to Draw() for clarity. Also, moved
  27351. DrawImage() to OnPaint().
  27352. 2004-10-15 07:25 ravindra
  27353. * CheckBox.cs, RadioButton.cs:
  27354. - Removed Redraw (), we get it from ButtonBase.
  27355. - Implemented Paint (), to do class specific painting.
  27356. 2004-10-15 07:16 ravindra
  27357. * ButtonBase.cs:
  27358. - Redraw () is not virtual now.
  27359. - Added an internal virtual method Paint (), so that
  27360. derived classes can do their painting on their own.
  27361. - Modified OnPaint () to call Paint ().
  27362. 2004-10-15 06:43 jordi
  27363. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  27364. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  27365. 2004-10-15 00:30 ravindra
  27366. * MessageBox.cs:
  27367. - MessageBox on windows does not have min/max buttons.
  27368. This change in CreateParams fixes this on Windows. We
  27369. still need to implement this windowstyle behavior in
  27370. our X11 driver.
  27371. 2004-10-14 05:14 ravindra
  27372. * ToolBar.cs:
  27373. - Changed Redraw () to do a Refresh () always.
  27374. - Fixed the MouseMove event handling when mouse is pressed,
  27375. ie drag event handling.
  27376. - Replaced the usage of ToolBarButton.Pressed property to
  27377. ToolBarButton.pressed internal variable.
  27378. 2004-10-14 05:10 ravindra
  27379. * ToolBarButton.cs:
  27380. - Added an internal member 'inside' to handle mouse move
  27381. with mouse pressed ie mouse drag event.
  27382. - Changed 'Pressed' property to return true only when
  27383. 'inside' and 'pressed' are both true.
  27384. - Some coding style love.
  27385. 2004-10-14 00:17 ravindra
  27386. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  27387. public method.
  27388. 2004-10-14 00:15 ravindra
  27389. * ButtonBase.cs: Redraw () related improvements.
  27390. 2004-10-14 00:14 ravindra
  27391. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  27392. removed unnecessary calls to Button.Show () method.
  27393. 2004-10-13 17:50 pbartok
  27394. * XplatUIX11.cs:
  27395. - Formatting fix
  27396. - Removed destroying of window until we solve the problem of X
  27397. destroying the window before us on shutdown
  27398. 2004-10-13 16:32 pbartok
  27399. * ButtonBase.cs:
  27400. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  27401. 2004-10-13 14:18 pbartok
  27402. * XplatUIX11.cs:
  27403. - Added code to destroy the X window
  27404. 2004-10-13 14:18 pbartok
  27405. * XplatUIWin32.cs:
  27406. - Added code to destroy a window
  27407. 2004-10-13 14:12 pbartok
  27408. * ButtonBase.cs:
  27409. - Added the Redraw on Resize that got dropped in the last rev
  27410. 2004-10-13 09:06 pbartok
  27411. * ThemeWin32Classic.cs:
  27412. - Path from John BouAntoun:
  27413. * Fix check rendering (centre correctly for normal style, offset
  27414. correctly for FlatStyle).
  27415. * Fix border color usage (use backcolor) for FlatStyle.Popup
  27416. * Use checkbox.Capture instead of checkbox.is_pressed when
  27417. rendering flatstyle states.
  27418. 2004-10-12 21:48 pbartok
  27419. * ThemeWin32Classic.cs:
  27420. - Removed all occurences of SystemColors and replaced them with the
  27421. matching theme color
  27422. 2004-10-12 21:41 pbartok
  27423. * ThemeWin32Classic.cs:
  27424. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  27425. him using the function for flatstyle drawing
  27426. - Changed functions to use the new version of CPDrawBorder3D
  27427. 2004-10-12 21:15 pbartok
  27428. * ControlPaint.cs:
  27429. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  27430. match MS documentation. They need to return defined colors if the
  27431. passed color matches the configured control color. Thanks to John
  27432. BouAntoun for pointing this out.
  27433. 2004-10-12 20:57 pbartok
  27434. * Control.cs:
  27435. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  27436. color is changed
  27437. 2004-10-12 20:46 pbartok
  27438. * CheckBox.cs:
  27439. - Fix from John BouAntoun: Now properly sets the Appearance property
  27440. 2004-10-12 20:45 pbartok
  27441. * ThemeWin32Classic.cs:
  27442. - Fixes from John BouAntoun: now handles forecolors and backcolors
  27443. for flatstyle rendered controls much better; It also fixes normal
  27444. checkbox rendering when pushed or disabled.
  27445. 2004-10-08 02:50 jordi
  27446. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  27447. work
  27448. 2004-10-07 08:56 jordi
  27449. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  27450. 2004-10-06 03:59 jordi
  27451. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  27452. XplatUIWin32.cs: removes warnings from compilation
  27453. 2004-10-05 12:23 jackson
  27454. * RadioButton.cs: Fix ctor
  27455. 2004-10-05 11:10 pbartok
  27456. * MessageBox.cs:
  27457. - Partial implementation by Benjamin Dasnois
  27458. 2004-10-05 10:15 jackson
  27459. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  27460. by John BouAntoun
  27461. 2004-10-05 03:07 ravindra
  27462. * ToolBar.cs:
  27463. - Removed a private method, Draw ().
  27464. - Fixed the ButtonDropDown event handling.
  27465. - Fixed MouseMove event handling.
  27466. 2004-10-05 03:04 ravindra
  27467. * ThemeWin32Classic.cs:
  27468. - Added DrawListView method and ListViewDefaultSize property.
  27469. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  27470. - Changed DOS style CRLF to Unix format (dos2unix).
  27471. 2004-10-05 03:03 ravindra
  27472. * Theme.cs:
  27473. - Added DrawListView method and ListViewDefaultSize property.
  27474. 2004-10-05 02:42 ravindra
  27475. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  27476. clicks on DropDown arrow.
  27477. 2004-10-04 22:56 jackson
  27478. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  27479. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  27480. Control handle the buffers, derived classes should not have to
  27481. CreateBuffers themselves.
  27482. 2004-10-04 21:20 jackson
  27483. * StatusBar.cs: The control handles resizing the buffers now.
  27484. 2004-10-04 21:18 jackson
  27485. * Control.cs: When resizing the buffers should be invalidated. This
  27486. should be handled in Control not in derived classes.
  27487. 2004-10-04 14:45 jackson
  27488. * TabPage.cs: oops
  27489. 2004-10-04 02:14 pbartok
  27490. * LeftRightAlignment.cs:
  27491. - Initial check-in
  27492. 2004-10-04 01:09 jordi
  27493. * ThemeWin32Classic.cs: fixes right button position causing right
  27494. button not showing on horizontal scrollbars
  27495. 2004-10-02 13:12 pbartok
  27496. * XplatUIX11.cs:
  27497. - Simplified the Invalidate method by using an X call instead of
  27498. generating the expose ourselves
  27499. - Added an expose when the window background is changed
  27500. - Implemented ClientToScreen method
  27501. 2004-10-02 13:08 pbartok
  27502. * XplatUIWin32.cs:
  27503. - Added Win32EnableWindow method (test for implementing modal
  27504. dialogs)
  27505. - Added ClientToScreen method and imports
  27506. 2004-10-02 13:07 pbartok
  27507. * XplatUI.cs, XplatUIDriver.cs:
  27508. - Added ClientToScreen coordinate translation method
  27509. 2004-10-02 13:06 pbartok
  27510. * KeyPressEventArgs.cs:
  27511. - Fixed access level for constructor
  27512. 2004-10-02 13:06 pbartok
  27513. * NativeWindow.cs:
  27514. - Changed access level for the window_collection hash table
  27515. 2004-10-02 13:05 pbartok
  27516. * Form.cs:
  27517. - Added KeyPreview property
  27518. - Added Menu property (still incomplete, pending Jordi's menu work)
  27519. - Implemented ProcessCmdKey
  27520. - Implemented ProcessDialogKey
  27521. - Implemented ProcessKeyPreview
  27522. 2004-10-02 13:02 pbartok
  27523. * Control.cs:
  27524. - Added private method to get the Control object from the window
  27525. handle
  27526. - Implemented ContextMenu property
  27527. - Implemented PointToScreen
  27528. - Implemented PreProcessMessage
  27529. - Implemented IsInputChar
  27530. - Implemented IsInputKey
  27531. - Implemented ProcessCmdKey
  27532. - Completed ProcessKeyEventArgs
  27533. - Fixed message loop to call the proper chain of functions on key
  27534. events
  27535. - Implemented ProcessDialogChar
  27536. - Implemented ProcessDialogKey
  27537. - Implemented ProcessKeyMessage
  27538. - Implemented ProcessKeyPreview
  27539. - Added RaiseDragEvent stub (MS internal method)
  27540. - Added RaiseKeyEvent stub (MS internal method)
  27541. - Added RaiseMouseEvent stub (MS Internal method)
  27542. - Added RaisePaintEvent stub (MS Internal method)
  27543. - Added ResetMouseEventArgs stub (MS Internal method)
  27544. - Implemented RtlTranslateAlignment
  27545. - Implemented RtlTranslateContent
  27546. - Implemented RtlTranslateHorizontal
  27547. - Implemented RtlTranslateLeftRight
  27548. - Added generation of KeyPress event
  27549. 2004-10-02 05:57 ravindra
  27550. * ListViewItem.cs: Added attributes.
  27551. 2004-10-02 05:32 ravindra
  27552. * ListView.cs: Added attributes.
  27553. 2004-10-01 11:53 jackson
  27554. * Form.cs: Implement the Close method so work on MessageBox can
  27555. continue.
  27556. 2004-09-30 14:06 pbartok
  27557. * XplatUIX11.cs:
  27558. - Bug fixes
  27559. 2004-09-30 11:34 jackson
  27560. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  27561. 2004-09-30 07:26 ravindra
  27562. * ListViewItemConverter.cs: Converter for ListViewItem.
  27563. 2004-09-30 07:26 ravindra
  27564. * SortOrder.cs: Enum for ListView control.
  27565. 2004-09-30 07:25 ravindra
  27566. * ColumnHeader.cs: Supporting class for ListView control.
  27567. 2004-09-30 07:24 ravindra
  27568. * ListView.cs, ListViewItem.cs: Initial implementation.
  27569. 2004-09-30 07:20 ravindra
  27570. * ItemActivation.cs: Enum for ListView Control.
  27571. 2004-09-29 20:29 pbartok
  27572. * XplatUIX11.cs:
  27573. - Added lookup of pixel value for background color; tries to get a
  27574. color 'close' to the requested color, it avoids having to create a
  27575. colormap. Depending on the display this could mean the used color
  27576. is slightly off the desired color. Might have to change it to a more
  27577. resource intensive colormap approach, but it will work as a
  27578. workaround to avoid red screens.
  27579. 2004-09-29 14:27 jackson
  27580. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  27581. 2004-09-28 12:44 pbartok
  27582. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  27583. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  27584. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  27585. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  27586. TrackBar.cs, VScrollBar.cs:
  27587. - Streamlined Theme interfaces:
  27588. * Each DrawXXX method for a control now is passed the object for
  27589. the control to be drawn in order to allow accessing any state the
  27590. theme might require
  27591. * ControlPaint methods for the theme now have a CP prefix to avoid
  27592. name clashes with the Draw methods for controls
  27593. * Every control now retrieves it's DefaultSize from the current
  27594. theme
  27595. 2004-09-28 12:17 jackson
  27596. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  27597. drawing
  27598. 2004-09-24 14:57 jackson
  27599. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  27600. Gives us a nice little performance boost.
  27601. 2004-09-24 12:02 jackson
  27602. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  27603. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  27604. Control and supporting classes. Initial checkin
  27605. 2004-09-23 13:08 jackson
  27606. * Form.cs: Temp build fixage
  27607. 2004-09-23 01:39 ravindra
  27608. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  27609. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  27610. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  27611. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  27612. EventHandlers needed by ListView Control.
  27613. 2004-09-22 14:12 pbartok
  27614. * ScrollableControl.cs:
  27615. - Implemented DockPadding property
  27616. - Implemented AutoScroll property
  27617. - Implemented AutoScrollMargin property
  27618. - Implemented AutoScrollMinSize property
  27619. - Implemented AutoScrollPosition property
  27620. - Implemented DisplayRectangle property (still incomplete)
  27621. - Implemented CreateParams property
  27622. - Implemented HScroll property
  27623. - Implemented VScroll property
  27624. - Implemented OnVisibleChanged property
  27625. 2004-09-22 14:09 pbartok
  27626. * Form.cs:
  27627. - Added Form.ControllCollection class
  27628. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  27629. RemoveOwnedForm (still incomplete, missing on-top and common
  27630. minimize/maximize behaviour)
  27631. - Added StartPosition property (still incomplete, does not use when
  27632. creating the form)
  27633. - Added ShowDialog() methods (still incomplete, missing forcing the
  27634. dialog modal)
  27635. 2004-09-22 14:05 pbartok
  27636. * Application.cs:
  27637. - Added message loop for modal dialogs
  27638. 2004-09-22 14:02 pbartok
  27639. * GroupBox.cs:
  27640. - Fixed wrong types for events
  27641. 2004-09-22 14:00 pbartok
  27642. * Shortcut.cs, FormWindowState.cs:
  27643. - Fixed wrong values
  27644. 2004-09-22 12:01 jackson
  27645. * Control.cs: Text is never null
  27646. 2004-09-20 22:14 pbartok
  27647. * XplatUIWin32.cs:
  27648. - Fixed accessibility level for Idle handler
  27649. 2004-09-20 18:54 jackson
  27650. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27651. XplatUIX11.cs: New message loop that uses poll so we don't get a
  27652. busy loop
  27653. 2004-09-17 10:43 pbartok
  27654. * ScrollBar.cs:
  27655. - Fixed behaviour of arrow buttons. Now properly behaves like
  27656. Buttons (and like Microsoft's scrollbar arrow buttons)
  27657. 2004-09-17 10:14 pbartok
  27658. * ScrollBar.cs:
  27659. - Added missing release of keyboard/mouse capture
  27660. 2004-09-17 06:18 jordi
  27661. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  27662. Theme.cs: Very early menu support
  27663. 2004-09-16 17:45 pbartok
  27664. * XplatUIWin32.cs:
  27665. - Fixed sending a window to the front
  27666. - Added overload for SetWindowPos to avoid casting
  27667. 2004-09-16 17:44 pbartok
  27668. * Control.cs:
  27669. - Added SendToBack and BringToFront methods
  27670. 2004-09-16 07:00 ravindra
  27671. * Copyright: Added Novell URL.
  27672. 2004-09-16 07:00 ravindra
  27673. * ToolBar.cs: Invalidate should be done before redrawing.
  27674. 2004-09-15 21:19 ravindra
  27675. * ColumnHeaderStyle.cs: Enum for ListView Control.
  27676. 2004-09-15 21:18 ravindra
  27677. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  27678. ListView Control.
  27679. 2004-09-13 18:26 jackson
  27680. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  27681. properly
  27682. 2004-09-13 18:13 jackson
  27683. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  27684. a second thread and post messages into the main threads message
  27685. queue. This makes timing much more consistent. Both win2K and XP
  27686. have a minimum timer value of 15 milliseconds, so we now do this
  27687. too.
  27688. 2004-09-13 15:18 pbartok
  27689. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27690. XplatUIX11.cs:
  27691. - Added Z-Ordering methods
  27692. 2004-09-13 10:56 pbartok
  27693. * Form.cs:
  27694. - Fixed #region names
  27695. - Moved properties and methods into their proper #regions
  27696. 2004-09-13 10:51 pbartok
  27697. * Form.cs:
  27698. - Added Accept and CancelButton properties
  27699. - Added ProcessDialogKey() method
  27700. 2004-09-13 08:18 pbartok
  27701. * IWindowTarget.cs:
  27702. - Initial check-in
  27703. 2004-09-10 21:50 pbartok
  27704. * Control.cs:
  27705. - Added DoDragDrop() [incomplete]
  27706. - Properly implemented 'Visible' handling
  27707. - Added SetVisibleCore()
  27708. - Implemented FindChildAtPoint()
  27709. - Implemented GetContainerControl()
  27710. - Implemented Hide()
  27711. 2004-09-10 19:28 pbartok
  27712. * Control.cs:
  27713. - Moved methods into their appropriate #regions
  27714. - Reordered methods within regions alphabetically
  27715. 2004-09-10 18:57 pbartok
  27716. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27717. - Added method to retrieve text from window
  27718. 2004-09-10 18:56 pbartok
  27719. * Control.cs:
  27720. - Moved some internal functions into the internal region
  27721. - Implemented FontHeight
  27722. - Implemented RenderRightToLeft
  27723. - Implemented ResizeRedraw
  27724. - Implemented ShowFocusCues
  27725. - Implemented ShowKeyboardCues
  27726. - Implemented FromChildHandle
  27727. - Implemented FromHandle
  27728. - Implemented IsMnemonic
  27729. - Implemented ReflectMessage
  27730. - All public and protected Static Methods are now complete
  27731. 2004-09-10 16:54 pbartok
  27732. * Control.cs:
  27733. - Implemented remaining missing public instance properties
  27734. - Alphabetized some out of order properties
  27735. 2004-09-10 05:51 ravindra
  27736. * PictureBox.cs: Added a check for null image.
  27737. 2004-09-10 00:59 jordi
  27738. * GroupBox.cs: remove cvs tag
  27739. 2004-09-09 05:25 ravindra
  27740. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  27741. 2004-09-09 05:23 ravindra
  27742. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  27743. parent redraw.
  27744. 2004-09-09 02:28 pbartok
  27745. * ThemeWin32Classic.cs:
  27746. - Improve disabled string look
  27747. 2004-09-09 01:15 jordi
  27748. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  27749. args and handler
  27750. 2004-09-08 23:56 ravindra
  27751. * ItemBoundsPortion.cs: It's enum, not a class!
  27752. 2004-09-08 23:47 ravindra
  27753. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  27754. Enums for Form.
  27755. 2004-09-08 21:13 ravindra
  27756. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  27757. ListView control.
  27758. 2004-09-08 21:03 ravindra
  27759. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  27760. avoid crash.
  27761. 2004-09-08 21:01 ravindra
  27762. * ScrollableControl.cs: Removed unreachable code.
  27763. 2004-09-08 06:45 jordi
  27764. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  27765. 2004-09-08 01:00 jackson
  27766. * XplatUIX11.cs: Only run the timers when updating the message
  27767. queue. This effectively gives X messages a higher priority then
  27768. timer messages. Timers still need love though
  27769. 2004-09-07 14:01 jackson
  27770. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  27771. this for us and the handle is no longer valid.
  27772. 2004-09-07 13:59 jackson
  27773. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  27774. loop that manages to not crash. TODO: Add poll and cleanup timers
  27775. 2004-09-07 11:12 jordi
  27776. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  27777. 2004-09-07 03:40 jordi
  27778. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  27779. fixes, methods, multiple links
  27780. 2004-09-06 06:55 jordi
  27781. * Control.cs: Caches ClientRectangle rectangle value
  27782. 2004-09-05 02:03 jordi
  27783. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  27784. certain situations
  27785. 2004-09-04 11:10 jordi
  27786. * Label.cs: Refresh when font changed
  27787. 2004-09-02 16:24 pbartok
  27788. * Control.cs:
  27789. - Added sanity check to creation of double buffer bitmap
  27790. 2004-09-02 16:24 pbartok
  27791. * ButtonBase.cs:
  27792. - Fixed selection of text color
  27793. - Fixed handling of resize event; now properly recreates double
  27794. buffering bitmap
  27795. - Added missing assignment of TextAlignment
  27796. - Added proper default for TextAlignment
  27797. 2004-09-02 14:26 pbartok
  27798. * RadioButton.cs:
  27799. - Added missing RadioButton.RadioButtonAccessibleObject class
  27800. 2004-09-02 14:26 pbartok
  27801. * Control.cs:
  27802. - Added missing Control.ControlAccessibleObject class
  27803. - Started to implement Select()ion mechanisms, still very incomplete
  27804. 2004-09-02 14:25 pbartok
  27805. * AccessibleObject.cs:
  27806. - Added missing methods
  27807. 2004-09-02 14:23 pbartok
  27808. * AccessibleNavigation.cs, AccessibleSelection.cs:
  27809. - Initial check-in
  27810. 2004-09-02 10:32 jordi
  27811. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  27812. pool for pens, brushes, and hatchbruses
  27813. 2004-09-01 15:30 jackson
  27814. * StatusBar.cs: Fix typo
  27815. 2004-09-01 14:44 pbartok
  27816. * RadioButton.cs:
  27817. - Fixed state
  27818. 2004-09-01 14:39 pbartok
  27819. * Button.cs, RadioButton.cs:
  27820. - Functional initial check-in
  27821. 2004-09-01 14:01 pbartok
  27822. * CheckBox.cs:
  27823. - Added missing default
  27824. - Added missing region mark
  27825. 2004-09-01 09:10 jordi
  27826. * Label.cs: fixes method signatures, new methods, events, fixes
  27827. autosize
  27828. 2004-09-01 07:19 jordi
  27829. * Control.cs: Init string variables with an empty object
  27830. 2004-09-01 04:20 jordi
  27831. * Control.cs: fires OnFontChanged event
  27832. 2004-08-31 20:07 pbartok
  27833. * ButtonBase.cs:
  27834. - Enabled display of strings
  27835. 2004-08-31 20:05 pbartok
  27836. * Form.cs:
  27837. - Added (partial) implementation of DialogResult; rest needs to be
  27838. implemented when the modal loop code is done
  27839. 2004-08-31 19:55 pbartok
  27840. * CheckBox.cs:
  27841. - Fixed to match the removal of the needs_redraw concept
  27842. 2004-08-31 19:55 pbartok
  27843. * ButtonBase.cs:
  27844. - Removed the rather odd split between 'needs redraw' and redrawing
  27845. - Now handles the events that require regeneration (ambient
  27846. properties and size)
  27847. 2004-08-31 19:41 pbartok
  27848. * Control.cs:
  27849. - Added firing of BackColorChanged event
  27850. - Added TopLevelControl property
  27851. - Fixed handling of WM_ERASEBKGRND message
  27852. 2004-08-31 12:49 pbartok
  27853. * ButtonBase.cs:
  27854. - Removed debug
  27855. - Minor fixes
  27856. 2004-08-31 12:48 pbartok
  27857. * CheckBox.cs:
  27858. - Finished (famous last words)
  27859. 2004-08-31 04:35 jordi
  27860. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  27861. scrolling bugs, adds new methods
  27862. 2004-08-30 14:42 pbartok
  27863. * CheckBox.cs:
  27864. - Implemented CheckBox drawing code
  27865. 2004-08-30 14:42 pbartok
  27866. * ButtonBase.cs:
  27867. - Made Redraw() and CheckRedraw() virtual
  27868. - Improved mouse up/down/move logic to properly track buttons
  27869. 2004-08-30 09:44 pbartok
  27870. * CheckBox.cs:
  27871. - Updated to fix broken build. Not complete yet.
  27872. 2004-08-30 09:28 pbartok
  27873. * CheckState.cs:
  27874. - Initial checkin
  27875. 2004-08-30 09:17 pbartok
  27876. * Appearance.cs:
  27877. - Initial check-in
  27878. 2004-08-27 16:12 ravindra
  27879. * ToolBarButton.cs: Added TypeConverter attribute.
  27880. 2004-08-27 16:07 ravindra
  27881. * ImageIndexConverter.cs: Implemented.
  27882. 2004-08-27 14:17 pbartok
  27883. * Control.cs:
  27884. - Removed unneeded stack vars
  27885. - First attempt to fix sizing issues when layout is suspended
  27886. 2004-08-25 15:35 jordi
  27887. * ScrollBar.cs: more fixes to scrollbar
  27888. 2004-08-25 14:04 ravindra
  27889. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  27890. Added the missing divider code and grip for ToolBar Control.
  27891. 2004-08-25 13:20 pbartok
  27892. * Control.cs:
  27893. - Control now properly passes the ambient background color to child
  27894. controls
  27895. 2004-08-25 13:20 jordi
  27896. * ScrollBar.cs: small bug fix regarding bar position
  27897. 2004-08-25 12:33 pbartok
  27898. * Timer.cs:
  27899. - Now only calls SetTimer or KillTimer if the enabled state has
  27900. changed
  27901. 2004-08-25 12:33 pbartok
  27902. * XplatUIWin32.cs:
  27903. - Fixed timer handling, now seems to work
  27904. - Improved error message for window creation
  27905. 2004-08-25 12:32 pbartok
  27906. * Control.cs:
  27907. - Fixed generation of MouseUp message
  27908. 2004-08-25 12:29 jordi
  27909. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  27910. and fixes for progressbar
  27911. 2004-08-24 18:43 ravindra
  27912. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  27913. in ToolBar control.
  27914. 2004-08-24 17:15 pbartok
  27915. * Panel.cs:
  27916. - Added #region
  27917. - Added missing events
  27918. - Alphabetized
  27919. 2004-08-24 17:14 pbartok
  27920. * StatusBar.cs, PictureBox.cs:
  27921. - Now uses Control's CreateParams
  27922. 2004-08-24 16:36 pbartok
  27923. * XplatUIX11.cs:
  27924. - Fixed background color handling
  27925. - Fixed sending of enter/leave events on a grab
  27926. 2004-08-24 16:35 pbartok
  27927. * X11Structs.cs:
  27928. - Refined definitions for CrossingEvent
  27929. 2004-08-24 12:37 jordi
  27930. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  27931. formmating, methods signature, and adds missing events
  27932. 2004-08-24 12:24 jordi
  27933. * Control.cs: fire OnEnabledChanged event
  27934. 2004-08-24 11:17 pbartok
  27935. * XplatUIWin32.cs:
  27936. - Implemented SetTimer() and KillTimer()
  27937. 2004-08-24 11:16 pbartok
  27938. * XplatUIX11.cs:
  27939. - Now uses Remove instead of Add to kill the timer
  27940. 2004-08-24 10:16 jackson
  27941. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  27942. picture boxes in the theme now. Draw picture box borders and obey
  27943. sizing modes
  27944. 2004-08-24 05:49 jackson
  27945. * Timer.cs: Remove top secret debugging code
  27946. 2004-08-24 05:34 jackson
  27947. * PictureBox.cs: Temp hack to make picture boxes draw their full
  27948. image
  27949. 2004-08-24 05:29 jackson
  27950. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27951. XplatUIX11.cs: Move timers to the driver level. On X they are
  27952. queued by the driver and checked on idle.
  27953. 2004-08-24 01:07 jackson
  27954. * XplatUIX11.cs: Use a queue for async messages instead of passing
  27955. them as ClientMessages since that was totally broken. Also simply
  27956. check for events and return an idle message if none are found. This
  27957. gives us an idle handler, and prevents deadlocking when no messages
  27958. are in the queue.
  27959. 2004-08-23 18:19 ravindra
  27960. * XplatUIWin32.cs: Removed the unwanted destructor.
  27961. 2004-08-23 17:27 pbartok
  27962. * ButtonBase.cs:
  27963. - Finishing touches. Works now, just needs some optimizations.
  27964. 2004-08-23 16:53 jordi
  27965. * ScrollBar.cs: small fix
  27966. 2004-08-23 16:45 pbartok
  27967. * Application.cs:
  27968. - Removed debug output
  27969. - Simplifications
  27970. 2004-08-23 16:43 jordi
  27971. * ScrollBar.cs: [no log message]
  27972. 2004-08-23 16:10 pbartok
  27973. * Form.cs:
  27974. - Fixed handling of WM_CLOSE message
  27975. - Removed debug output
  27976. 2004-08-23 16:09 pbartok
  27977. * Application.cs:
  27978. - Added handling of Idle event
  27979. - Added handling of form closing
  27980. - Fixed reporting of MessageLoop property
  27981. - Removed some unneeded code, should provide a bit of a speedup
  27982. 2004-08-23 15:22 pbartok
  27983. * Control.cs:
  27984. - Added InitLayout() method
  27985. - Added code to properly perform layout when Anchor or Dock property
  27986. is changed
  27987. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  27988. LAMESPEC, tried to do it in a way that makes sense
  27989. 2004-08-23 14:10 jordi
  27990. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  27991. properties and methods
  27992. 2004-08-23 13:55 pbartok
  27993. * Control.cs:
  27994. - Properly fixed Jordi's last fix
  27995. - Now uses Cursor's Position property instead of calling XplatUI
  27996. directly
  27997. 2004-08-23 13:44 jordi
  27998. * PaintEventHandler.cs: Adding missing attribute
  27999. 2004-08-23 13:39 pbartok
  28000. * Cursor.cs:
  28001. - Implemented Position property
  28002. 2004-08-23 13:39 pbartok
  28003. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  28004. - Added method to move mouse cursor
  28005. 2004-08-23 13:39 pbartok
  28006. * XplatUIX11.cs:
  28007. - Fixed setting of background color
  28008. - Added method to move mouse cursor
  28009. 2004-08-23 13:16 jordi
  28010. * Control.cs: avoids null exception
  28011. 2004-08-22 17:46 jackson
  28012. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  28013. PictureBox
  28014. 2004-08-22 17:40 jackson
  28015. * XplatUIX11.cs: Add some missing locks
  28016. 2004-08-22 15:10 pbartok
  28017. * Control.cs, Form.cs:
  28018. - Removed OverlappedWindow style from Control, instead it's default
  28019. now is child
  28020. - Made form windows OverlappedWindow by default
  28021. 2004-08-22 13:34 jackson
  28022. * ScrollBar.cs: Update the position through the Value property so
  28023. the OnValueChanged event is raised.
  28024. 2004-08-22 12:04 pbartok
  28025. * SWF.csproj:
  28026. - Added Cursor.cs and UserControl.cs
  28027. 2004-08-22 12:03 pbartok
  28028. * Cursor.cs:
  28029. - Started implementation, not usable yet
  28030. 2004-08-22 12:00 pbartok
  28031. * UserControl.cs:
  28032. - Implemented UserControl (complete)
  28033. 2004-08-21 19:20 ravindra
  28034. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  28035. 2004-08-21 18:49 ravindra
  28036. * ToolBar.cs: Probably this completes the missing attributes in
  28037. toolbar control.
  28038. 2004-08-21 18:03 ravindra
  28039. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  28040. Fixed toolbar control signatures.
  28041. 2004-08-21 16:32 pbartok
  28042. * LinkLabel.cs:
  28043. - Signature Fixes
  28044. 2004-08-21 16:30 pbartok
  28045. * Label.cs:
  28046. - Signature fixes
  28047. 2004-08-21 16:19 pbartok
  28048. * Control.cs, Label.cs:
  28049. - Signature fixes
  28050. 2004-08-21 15:57 pbartok
  28051. * ButtonBase.cs:
  28052. - Added loads of debug output for development
  28053. - Fixed typo in method name
  28054. 2004-08-21 15:52 pbartok
  28055. * ToolBarButtonClickEventArgs.cs:
  28056. - Added missing base class
  28057. 2004-08-21 14:53 pbartok
  28058. * Control.cs:
  28059. - Updated to match new GrabWindow signature
  28060. 2004-08-21 14:51 pbartok
  28061. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28062. - Added method to get default display size
  28063. 2004-08-21 14:23 pbartok
  28064. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28065. - Added method to query current grab state
  28066. - Added argument to allow confining a grab to a window
  28067. 2004-08-21 14:22 pbartok
  28068. * Keys.cs:
  28069. - Added [Flags] attribute so that modifiers can be used in bitwise
  28070. ops
  28071. 2004-08-21 14:21 pbartok
  28072. * TrackBar.cs, ScrollBar.cs:
  28073. - Replaced direct XplatUI calls with their Control counterpart
  28074. 2004-08-21 13:32 pbartok
  28075. * Control.cs:
  28076. - Implemented Created property
  28077. 2004-08-21 13:28 pbartok
  28078. * Control.cs:
  28079. - Implemented ContainsFocus
  28080. 2004-08-21 13:26 pbartok
  28081. * Control.cs:
  28082. - Implemented CausesValidation
  28083. 2004-08-21 13:21 pbartok
  28084. * Control.cs:
  28085. - Implemented CanFocus
  28086. - Implemented CanSelect
  28087. - Implemented Capture
  28088. 2004-08-21 12:35 pbartok
  28089. * XplatUIWin32.cs:
  28090. - Fixed bug with Async message handling
  28091. - Implemented getting the ModifierKeys
  28092. 2004-08-21 12:32 jackson
  28093. * AsyncMethodResult.cs: Make sure we have the mutex before we
  28094. release it. Fixes BeginInvoke on windows
  28095. 2004-08-21 11:31 pbartok
  28096. * XplatUIWin32.cs, XplatUIX11.cs:
  28097. - Drivers now return proper mouse state
  28098. 2004-08-21 10:54 jackson
  28099. * Control.cs: Implement EndInvoke
  28100. 2004-08-21 10:48 jackson
  28101. * Timer.cs: Remove unneeded finalizer
  28102. 2004-08-20 19:52 ravindra
  28103. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  28104. in mouse event handling in the ToolBar control.
  28105. 2004-08-20 19:50 ravindra
  28106. * ImageList.cs: Changed draw method to use the arguments passed in
  28107. to draw the image.
  28108. 2004-08-20 18:58 pbartok
  28109. * XplatUIStructs.cs:
  28110. - Added private message for async communication
  28111. 2004-08-20 17:38 ravindra
  28112. * Control.cs: Made RightToLeft property virtual and removed a
  28113. Console.WriteLine.
  28114. 2004-08-20 14:39 jordi
  28115. * ThemeGtk.cs: use style_attach
  28116. 2004-08-20 14:39 pbartok
  28117. * XplatUIWin32.cs:
  28118. - Added jackson's Async code from X11 to Win32
  28119. 2004-08-20 14:09 pbartok
  28120. * SWF.csproj:
  28121. - Added all new files
  28122. 2004-08-20 14:09 pbartok
  28123. * Control.cs:
  28124. - Added call to set window background color
  28125. 2004-08-20 14:03 pbartok
  28126. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  28127. - Added method for setting the window background
  28128. 2004-08-20 14:02 pbartok
  28129. * XplatUIWin32.cs:
  28130. - Added method for setting the background color
  28131. - Added handling for erasing the window background
  28132. 2004-08-20 13:45 jordi
  28133. * TrackBar.cs: fixes timer, new properties and methods
  28134. 2004-08-20 13:34 jackson
  28135. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  28136. correct thread
  28137. 2004-08-20 13:22 jackson
  28138. * Timer.cs: Timer Tick events are now handed through Controls Async
  28139. mechanism so the callbacks are executed in the same thread as X
  28140. 2004-08-20 13:19 jackson
  28141. * XplatUIDriver.cs: Expose functionality to send async messages
  28142. through the driver
  28143. 2004-08-20 13:18 jackson
  28144. * Control.cs: Implement Begininvoke
  28145. 2004-08-20 13:14 jackson
  28146. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  28147. messages through the driver
  28148. 2004-08-20 13:12 jackson
  28149. * XplatUIX11.cs: Lock before all X operations. Also added Async
  28150. method functionality through XSendEvent
  28151. 2004-08-20 13:11 jackson
  28152. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  28153. This will screw up on 64 bit systems)
  28154. 2004-08-20 13:10 jackson
  28155. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  28156. Async messages through X/Win32
  28157. 2004-08-19 19:39 pbartok
  28158. * XplatUIX11.cs:
  28159. - Updated code to match new HandleData.DeviceContext type
  28160. 2004-08-19 19:38 pbartok
  28161. * HandleData.cs:
  28162. - Made DeviceContext a generic object to allow usage from various
  28163. drivers
  28164. - Added support for queueing Windows messages
  28165. 2004-08-19 19:37 pbartok
  28166. * XplatUIWin32.cs:
  28167. - Added generation of MouseEnter, MouseLeave and MouseHover events
  28168. - Added cleanup on EndPaint
  28169. 2004-08-19 19:17 pbartok
  28170. * Control.cs:
  28171. - Added handling of WM_MOUSEHOVER
  28172. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  28173. code
  28174. 2004-08-19 18:55 jordi
  28175. * ThemeGtk.cs: fixes button order
  28176. 2004-08-19 18:12 jordi
  28177. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  28178. 2004-08-19 17:09 pbartok
  28179. * Control.cs:
  28180. - Added Right property
  28181. - Added RightToLeft property
  28182. 2004-08-19 16:27 jordi
  28183. * ThemeGtk.cs: experimental GTK theme support
  28184. 2004-08-19 16:26 jordi
  28185. * ITheme.cs, Theme.cs: move themes from an interface to a class
  28186. 2004-08-19 16:25 jordi
  28187. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  28188. theme enhancaments
  28189. 2004-08-19 16:04 pbartok
  28190. * XplatUIX11.cs:
  28191. - Added colormap basics
  28192. - Added a way to re-initialize with a different display handle
  28193. - Fixed setting of the window background color
  28194. - Added various X11 imports related to colors and colormaps
  28195. 2004-08-19 15:51 pbartok
  28196. * X11Structs.cs:
  28197. - Removed packing hints (Paolo suggested this a while back)
  28198. - fixed colormap type
  28199. - Added default Atom types
  28200. - Added Screen and color structs and enums
  28201. 2004-08-19 15:39 pbartok
  28202. * ImageList.cs:
  28203. - Added missing Draw() method
  28204. - Added missing RecreateHandle event
  28205. 2004-08-19 15:30 pbartok
  28206. * Form.cs:
  28207. - Added handling of WM_CLOSE
  28208. 2004-08-18 13:16 jordi
  28209. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  28210. a table
  28211. 2004-08-18 09:56 jordi
  28212. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  28213. 2004-08-17 15:31 ravindra
  28214. * SWF.csproj: Updated project.
  28215. 2004-08-17 15:25 pbartok
  28216. * Control.cs:
  28217. - Drawing improvement; don't call UpdateBounds if we are not visible
  28218. (or have been minimized)
  28219. 2004-08-17 15:24 pbartok
  28220. * XplatUIWin32.cs:
  28221. - Finished IsVisible
  28222. - Added Win32GetWindowPlacement
  28223. 2004-08-17 15:08 jackson
  28224. * Panel.cs: Initial checkin of the Panel
  28225. 2004-08-17 14:25 pbartok
  28226. * Control.cs:
  28227. - Fixed broken handling of default window sizes
  28228. 2004-08-17 13:29 jackson
  28229. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  28230. has a large startup time.
  28231. 2004-08-17 10:25 jackson
  28232. * HandleData.cs: union areas properly
  28233. 2004-08-17 10:12 jackson
  28234. * HandleData.cs: union areas properly
  28235. 2004-08-16 20:00 ravindra
  28236. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  28237. 2004-08-16 18:48 ravindra
  28238. * ToolBar.cs: Added attributes.
  28239. 2004-08-16 17:17 ravindra
  28240. * SWF.csproj: Updated project.
  28241. 2004-08-16 17:16 jackson
  28242. * XplatUIX11.cs: Check for more expose events before sending a
  28243. WM_PAINT so they can all be grouped together. This makes dragging a
  28244. window across another window redraw in a sane way.
  28245. 2004-08-16 15:47 pbartok
  28246. * Control.cs:
  28247. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  28248. support OnMouseEnter/Leave()
  28249. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  28250. exposure handling
  28251. 2004-08-16 15:46 pbartok
  28252. * XplatUIStructs.cs, XplatUIX11.cs:
  28253. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  28254. OnMouseEnter/Leave()
  28255. 2004-08-16 15:34 jackson
  28256. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  28257. sure messages get the message field set to WM_NULL if they are not
  28258. handled.
  28259. 2004-08-16 15:24 jackson
  28260. * HandleData.cs: HandleData is used for storing message information
  28261. for window handles
  28262. 2004-08-15 17:23 ravindra
  28263. * ColorDepth.cs: Added attribute.
  28264. 2004-08-15 17:23 ravindra
  28265. * SWF.csproj: Updated project for ToolBar Control.
  28266. 2004-08-15 17:20 ravindra
  28267. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  28268. control and also dos2unix format.
  28269. 2004-08-15 17:13 ravindra
  28270. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  28271. ToolBarButtonClickEventArgs.cs,
  28272. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  28273. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  28274. 2004-08-15 15:31 pbartok
  28275. * ButtonBase.cs:
  28276. - First (mostly) working version
  28277. 2004-08-13 16:15 pbartok
  28278. * Control.cs:
  28279. - Fixed Anchor default
  28280. 2004-08-13 15:43 pbartok
  28281. * Control.cs:
  28282. - Changed GetCursorPos signature
  28283. 2004-08-13 15:42 pbartok
  28284. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  28285. - Changed signature for GetCursorPos
  28286. 2004-08-13 15:25 pbartok
  28287. * XplatUIX11.cs:
  28288. - Cleanup
  28289. - Fixed resizing/exposure handling
  28290. 2004-08-13 15:22 jordi
  28291. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  28292. with tickposition
  28293. 2004-08-13 14:55 jordi
  28294. * TrackBar.cs: change from wndproc to events
  28295. 2004-08-13 13:00 jordi
  28296. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  28297. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  28298. 2004-08-13 12:53 pbartok
  28299. * XplatUIWin32.cs:
  28300. - Changed GetWindowPos to also provide client area size
  28301. - Fixed broken prototypes for several win32 functions
  28302. 2004-08-13 12:53 pbartok
  28303. * XplatUI.cs, XplatUIDriver.cs:
  28304. - Changed GetWindowPos to also provide client area size
  28305. 2004-08-13 12:52 pbartok
  28306. * XplatUIX11.cs:
  28307. - Added generation of WM_POSCHANGED
  28308. - Changed GetWindowPos to also provide client area size
  28309. 2004-08-13 12:52 pbartok
  28310. * Control.cs:
  28311. - Added Dispose() and destructor
  28312. - Fixed resizing and bounds calculation
  28313. - Fixed Layout
  28314. - Added memory savings for invisible windows
  28315. 2004-08-13 12:46 jordi
  28316. * TrackBar.cs: adds timer and grap window
  28317. 2004-08-13 10:25 jackson
  28318. * Timer.cs: SWF Timer
  28319. 2004-08-12 16:59 pbartok
  28320. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28321. - Implemented method to get current mouse position
  28322. 2004-08-12 14:29 jordi
  28323. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  28324. enhancement, fix mouse problems, highli thumb, etc
  28325. 2004-08-12 13:31 pbartok
  28326. * Control.cs:
  28327. - Fixed Anchoring bugs
  28328. 2004-08-12 13:01 jackson
  28329. * StatusBar.cs: Don't forget things
  28330. 2004-08-12 12:54 jackson
  28331. * ThemeWin32Classic.cs: Handle owner draw status bars
  28332. 2004-08-12 12:54 jackson
  28333. * StatusBar.cs: Implement missing properties, events, and methods.
  28334. Handle mouse clicking
  28335. 2004-08-12 10:19 jackson
  28336. * StatusBarPanelClickEventArgs.cs,
  28337. StatusBarPanelClickEventHandler.cs: Classes for handling status
  28338. bar panel click events
  28339. 2004-08-12 10:10 jackson
  28340. * Control.cs: Add missing properties
  28341. 2004-08-12 09:46 pbartok
  28342. * BindingsManagerBase.cs:
  28343. - Name changed to BindingManagerBase.cs
  28344. 2004-08-12 09:25 jordi
  28345. * ScrollableControl.cs: calls ctrlbase instead of exeception
  28346. 2004-08-11 16:28 pbartok
  28347. * InputLanguageChangingEventArgs.cs:
  28348. - Never check in before compiling. Fixes the last check-in
  28349. 2004-08-11 16:26 pbartok
  28350. * InputLanguageChangingEventArgs.cs:
  28351. - More signature fixes
  28352. 2004-08-11 16:20 pbartok
  28353. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  28354. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  28355. ImageListStreamer.cs, InputLanguage.cs,
  28356. InputLanguageChangedEventArgs.cs,
  28357. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  28358. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  28359. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  28360. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28361. - Signature fixes
  28362. 2004-08-11 16:16 pbartok
  28363. * Application.cs:
  28364. - Fixed Signature
  28365. - Added .Net 1.1 method
  28366. 2004-08-11 15:25 pbartok
  28367. * SWF.csproj:
  28368. - Fixed BindingManagerBase.cs filename
  28369. 2004-08-11 15:22 pbartok
  28370. * BindingManagerBase.cs:
  28371. - Was checked in with wrong filename
  28372. 2004-08-11 14:50 pbartok
  28373. * SWF.csproj:
  28374. - Updated
  28375. 2004-08-11 13:41 jordi
  28376. * XplatUIWin32.cs: Fixes ClientRect
  28377. 2004-08-11 13:19 pbartok
  28378. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  28379. XplatUIX11.cs:
  28380. - We had SetWindowPos and MoveWindow to set window positions and
  28381. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  28382. keep SetWindowPos as matching counterpart
  28383. - Added some X11 sanity checking
  28384. 2004-08-11 12:59 pbartok
  28385. * Control.cs:
  28386. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  28387. (It seems that SetBounds is just a front for SetBoundsCore and
  28388. SetBoundsCore updates the underlying window system and
  28389. UpdateBounds is responsible for updating the variables associated
  28390. with the Control and sending the events)
  28391. - Major cleanup of Size handling; we now have two sizes, client_size
  28392. and bounds. Bounds defines the window with decorations, client_size
  28393. without them.
  28394. 2004-08-11 12:55 pbartok
  28395. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28396. - Added method to calculate difference between decorated window and
  28397. raw client area
  28398. 2004-08-11 12:54 pbartok
  28399. * Label.cs:
  28400. - Forcing redraw on resize
  28401. 2004-08-11 11:43 pbartok
  28402. * ImageList.cs:
  28403. - Removed disposing of the actual images when the list is disposed
  28404. 2004-08-11 09:13 pbartok
  28405. * Control.cs:
  28406. - Now properly reparents windows
  28407. 2004-08-11 08:37 pbartok
  28408. * Control.cs:
  28409. - Duh!
  28410. 2004-08-11 07:47 pbartok
  28411. * Control.cs:
  28412. - Rewrote the collection stuff. Might not be as fast now, not
  28413. keeping the number of children around and accessible directly, but
  28414. it's more straightforward
  28415. 2004-08-11 07:44 pbartok
  28416. * AccessibleObject.cs:
  28417. - Fixed to match ControlCollection rewrite
  28418. 2004-08-11 07:43 pbartok
  28419. * ImageList.cs:
  28420. - Added missing creation of the collection list
  28421. 2004-08-10 20:08 jackson
  28422. * StatusBar.cs: Get the paint message from WndProc
  28423. 2004-08-10 19:31 jackson
  28424. * ThemeWin32Classic.cs: Create Brushes as little as possible
  28425. 2004-08-10 19:20 jackson
  28426. * UICues.cs: Add Flags attribute
  28427. 2004-08-10 19:19 jackson
  28428. * StatusBarPanel.cs: Signature cleanup
  28429. 2004-08-10 19:10 jackson
  28430. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  28431. Initial implementation of status bar item drawing
  28432. 2004-08-10 17:27 jordi
  28433. * TrackBar.cs: add missing methods, properties, and restructure to
  28434. hide extra ones
  28435. 2004-08-10 16:24 jackson
  28436. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  28437. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  28438. attribute
  28439. 2004-08-10 13:21 jordi
  28440. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  28441. enhancements and standarize on win colors defaults
  28442. 2004-08-10 12:52 jackson
  28443. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  28444. ThemeWin32Classic.cs: Implement DrawItem functionality
  28445. 2004-08-10 12:47 jordi
  28446. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  28447. 2004-08-10 12:32 jordi
  28448. * Control.cs: throw ontextchange event
  28449. 2004-08-10 11:43 pbartok
  28450. * Control.cs:
  28451. - Added more to the still unfinished Dock/Anchor layout code
  28452. 2004-08-10 11:39 pbartok
  28453. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  28454. - Added GetWindowPos method
  28455. 2004-08-10 11:36 pbartok
  28456. * XplatUIWin32.cs:
  28457. - Implemented several methods
  28458. 2004-08-10 09:47 jackson
  28459. * TrackBar.cs: Allow control to handle buffering
  28460. 2004-08-10 09:41 jackson
  28461. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  28462. 2004-08-10 09:24 jackson
  28463. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  28464. 2004-08-10 09:09 jackson
  28465. * StatusBar.cs: Let Control handle all the buffering.
  28466. 2004-08-10 09:08 jackson
  28467. * Control.cs: Control will now handle the buffering code, so each
  28468. control does not have to implement this.
  28469. 2004-08-10 08:34 jackson
  28470. * XplatUIDriver.cs: Use default colors from the theme
  28471. 2004-08-09 17:12 pbartok
  28472. * ImageList.cs:
  28473. - Fixed several bugs Ravindra pointed out
  28474. 2004-08-09 16:11 pbartok
  28475. * Control.cs:
  28476. - Added incomplete dock layout code
  28477. - Added support for mouse wheel
  28478. 2004-08-09 16:09 pbartok
  28479. * XplatUIX11.cs:
  28480. - Added handling for middle and right mousebutton
  28481. - Added handling for mouse wheel
  28482. - Added handling for key state and mouse state and position
  28483. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  28484. messages
  28485. 2004-08-09 15:40 jackson
  28486. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  28487. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  28488. checkin
  28489. 2004-08-09 15:37 jackson
  28490. * StatusBar.cs: Initial implementation of StatusBar
  28491. 2004-08-09 15:36 jackson
  28492. * ITheme.cs: Add support for drawing status bar and getting status
  28493. bar item sizes
  28494. 2004-08-09 15:35 pbartok
  28495. * MouseButtons.cs:
  28496. - Fixed values
  28497. 2004-08-09 15:34 jackson
  28498. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  28499. status bar item sizes
  28500. 2004-08-09 15:21 jackson
  28501. * ThemeWin32Classic.cs: Use known colors for default control
  28502. colours
  28503. 2004-08-09 15:12 jackson
  28504. * ThemeWin32Classic.cs: Make the default font static, it is static
  28505. in control so this doesn't change functionality and creating fonts
  28506. is sloooooow.
  28507. 2004-08-09 14:56 pbartok
  28508. * X11Structs.cs:
  28509. - Added GrabMode enum
  28510. 2004-08-09 14:55 pbartok
  28511. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28512. - Removed Run method, was only required for initial development
  28513. 2004-08-09 14:51 pbartok
  28514. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  28515. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  28516. capture
  28517. 2004-08-09 13:48 pbartok
  28518. * XplatUIX11.cs:
  28519. - Fixed default sizing for child windows
  28520. 2004-08-09 12:56 pbartok
  28521. * XplatUIX11.cs:
  28522. - Added generation of WM_DESTROY message
  28523. - Added handling of window manager induced shutdown
  28524. 2004-08-09 11:31 jackson
  28525. * ThemeWin32Classic.cs: New names for control properties
  28526. 2004-08-09 11:25 jackson
  28527. * Control.cs: Use new color names
  28528. 2004-08-09 11:02 jackson
  28529. * XplatUI.cs: Get default window properties from the theme
  28530. 2004-08-09 11:01 jackson
  28531. * ITheme.cs: The theme engine now controls default window
  28532. properties
  28533. 2004-08-09 11:00 jackson
  28534. * ThemeWin32Classic.cs: Add default window color properties
  28535. 2004-08-09 10:17 jackson
  28536. * ThemeWin32Classic.cs: Use correct default back color
  28537. 2004-08-09 10:05 jackson
  28538. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  28539. the theme now.
  28540. 2004-08-09 09:56 jackson
  28541. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  28542. 2004-08-09 09:54 jackson
  28543. * Control.cs: Get default properties from the theme.
  28544. 2004-08-09 09:53 jackson
  28545. * ITheme.cs: Themes now handle default control properties
  28546. 2004-08-09 09:53 jackson
  28547. * ThemeWin32Classic.cs: Themes now handle default control
  28548. properties so coloring will be consistent
  28549. 2004-08-08 16:54 jordi
  28550. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  28551. 2004-08-08 15:08 jordi
  28552. * XplatUIX11.cs: fixes keyboard crash
  28553. 2004-08-08 13:47 jordi
  28554. * Label.cs: add cvs header info
  28555. 2004-08-08 12:09 jackson
  28556. * ThemeWin32Classic.cs: Add pen_buttonface
  28557. 2004-08-08 11:52 jordi
  28558. * Label.cs, LinkLabel.cs: [no log message]
  28559. 2004-08-08 11:34 jordi
  28560. * ThemeWin32Classic.cs: Use Windows Standard Colours
  28561. 2004-08-07 17:32 jordi
  28562. * TrackBar.cs: throw exceptions of invalid enums values
  28563. 2004-08-07 17:31 jordi
  28564. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  28565. draw method name
  28566. 2004-08-07 16:56 jackson
  28567. * HorizontalAlignment.cs: Initial checkin
  28568. 2004-08-07 13:16 jordi
  28569. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  28570. methods
  28571. 2004-08-07 13:05 jordi
  28572. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  28573. GetSysColor defines
  28574. 2004-08-06 18:01 pbartok
  28575. * ThemeWin32Classic.cs:
  28576. - Fixed some rounding issues with float/int
  28577. 2004-08-06 18:00 jackson
  28578. * DockStyle.cs, AnchorStyles.cs:
  28579. Add flags and serializable attributes.
  28580. 2004-08-06 17:46 pbartok
  28581. * XplatUIX11.cs:
  28582. - Implemented GetParent
  28583. 2004-08-06 17:18 pbartok
  28584. * TrackBar.cs:
  28585. - Fixed some rounding issues with float/int
  28586. 2004-08-06 17:17 pbartok
  28587. * X11Structs.cs, XplatUIX11.cs:
  28588. - Fixed Refresh and Invalidate
  28589. 2004-08-06 15:30 pbartok
  28590. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  28591. - Fixed recursive loop when resizing
  28592. - Improved/fixed redrawing on expose messages
  28593. 2004-08-06 09:53 jordi
  28594. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  28595. keyboard navigation
  28596. 2004-08-06 08:02 pbartok
  28597. * X11Structs.cs, XplatUIX11.cs:
  28598. - Fixed reparenting
  28599. - Fixed window border creation
  28600. 2004-08-05 15:38 pbartok
  28601. * XplatUIX11.cs:
  28602. - Attempted fix for reparenting problems
  28603. 2004-08-04 15:14 pbartok
  28604. * Control.cs:
  28605. - Fixed Invalidation bug (calculated wrong client area)
  28606. - Added ClientSize setter
  28607. 2004-08-04 15:13 pbartok
  28608. * Form.cs:
  28609. - Added AutoScale properties
  28610. 2004-08-04 15:13 pbartok
  28611. * SWF.csproj:
  28612. - Added latest files
  28613. 2004-08-04 14:11 pbartok
  28614. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  28615. XplatUIX11.cs:
  28616. - Added Invalidate handling
  28617. 2004-08-03 17:09 jordi
  28618. * XplatUIDriver.cs: fixes spelling mistake
  28619. 2004-07-27 09:53 jordi
  28620. * TrackBar.cs: fixes trackbar events, def classname, methods
  28621. signature
  28622. 2004-07-27 09:29 jordi
  28623. * ScrollBar.cs: fixes scrollbar events
  28624. 2004-07-27 04:38 jordi
  28625. * Control.cs: changes to be able to run winforms samples
  28626. 2004-07-26 11:42 jordi
  28627. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  28628. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  28629. 2004-07-26 05:41 jordi
  28630. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  28631. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  28632. implementation
  28633. 2004-07-22 09:22 jordi
  28634. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  28635. check link overlapping, implement events, and fixes
  28636. 2004-07-21 10:28 jordi
  28637. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  28638. 2004-07-21 10:19 jordi
  28639. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  28640. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  28641. LinkLabelLinkClickedEventArgs.cs,
  28642. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  28643. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  28644. implementation
  28645. 2004-07-19 13:09 jordi
  28646. * Control.cs, Label.cs: label control re-written: added missing
  28647. functionlity, events, and properties
  28648. 2004-07-19 10:49 jordi
  28649. * Control.cs: fixes SetBounds logic
  28650. 2004-07-19 01:29 jordi
  28651. * Control.cs: Call RefreshWindow only if the window has created
  28652. 2004-07-15 14:05 pbartok
  28653. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  28654. - Implemented ImageList and ImageList.ImageCollection classes
  28655. - Added ColorDepth enumeration
  28656. - Updated SWF VS.Net project
  28657. 2004-07-15 11:06 jordi
  28658. * XplatUIStructs.cs: added MsgButons enum
  28659. 2004-07-15 11:03 jordi
  28660. * Control.cs: added basic mouse handeling events
  28661. 2004-07-15 03:38 jordi
  28662. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  28663. Vertical TrackBar control implementation
  28664. 2004-07-13 09:33 jordi
  28665. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  28666. 2004-07-13 09:31 jordi
  28667. * Control.cs, Form.cs: commit: new properties and fixes form size
  28668. problems
  28669. 2004-07-09 14:13 miguel
  28670. * ProgressBar.cs: Spelling
  28671. 2004-07-09 11:25 pbartok
  28672. * ProgressBar.cs:
  28673. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  28674. faster
  28675. 2004-07-09 11:17 miguel
  28676. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  28677. * ProgressBar.cs: Fixed spelling for `block'
  28678. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  28679. style guidelines.
  28680. Avoid using the += on rect.X, that exposed a bug in the compiler.
  28681. 2004-07-08 23:21 pbartok
  28682. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  28683. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  28684. BaseCollection.cs, Binding.cs, BindingContext.cs,
  28685. BindingMemberInfo.cs, BindingsCollection.cs,
  28686. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  28687. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  28688. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  28689. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  28690. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  28691. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  28692. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  28693. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  28694. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  28695. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  28696. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  28697. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  28698. InputLanguageChangedEventArgs.cs,
  28699. InputLanguageChangedEventHandler.cs,
  28700. InputLanguageChangingEventArgs.cs,
  28701. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  28702. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  28703. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  28704. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  28705. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  28706. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  28707. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  28708. QueryAccessibilityHelpEventArgs.cs,
  28709. QueryAccessibilityHelpEventHandler.cs,
  28710. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  28711. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  28712. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  28713. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  28714. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  28715. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  28716. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  28717. XplatUIX11.cs, lang.cs:
  28718. - Initial check-in