ChangeLog 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228
  1. 2008-12-17 Bill Holmes <[email protected]>
  2. * ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
  3. SubItemStyle member field.
  4. Contributed under MIT/X11 license.
  5. 2008-12-16 Carlos Alberto Cortez <[email protected]>
  6. * ListBox.cs: In MultiColumn mode don't use top_index to calculate the
  7. y coord, since it's useless in this case, and we need to rely only on
  8. the number of rows and ItemHeight to compute this value.
  9. Fixes part of #257471.
  10. 2008-12-15 Mike Gorse <[email protected]>
  11. * StatusBar.cs: Send OnUIACollectionChanged in Remove().
  12. 2008-12-15 Mario Carrion <[email protected]>
  13. * Control.cs: Accessibility properties instantiate AccessibilityObject when
  14. needed.
  15. [Fixes Bug #459223]
  16. 2008-12-15 Brad Taylor <[email protected]>
  17. * ToolStripItem.cs: Add a UIA specific event for listening for when a
  18. ToolStripItem becomes selected or deselected.
  19. 2008-12-15 Carlos Alberto Cortez <[email protected]>
  20. * MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
  21. .net does. Use the date in the point of the mouse move coords as the
  22. new range as well, if the left button of the mouse is being pressed.
  23. Fixes #364914.
  24. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  25. * MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
  26. MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
  27. effectively repaint the control.
  28. Fixes the remaining bits of #417961.
  29. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  30. * MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
  31. range to contain only dates within the new possible range.
  32. Fixes part of #417961.
  33. 2008-12-11 Carlos Alberto Cortez <[email protected]>
  34. * MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
  35. length of the text, but the end position, so we need to substract 1 to
  36. have a valid value. Also, in the same InputText method, don't use
  37. SelectionLength as the length of the text, since the selected text
  38. could actually be empty, but we need to set the value anyway.
  39. Fixes #457370.
  40. 2008-12-10 Carlos Alberto Cortez <[email protected]>
  41. * TextBox.cs: Don't do any auto complete task if the custom source is
  42. null or empty. Also avoid duplication of code.
  43. Fixes #457743.
  44. 2008-12-09 Ivan N. Zlatev <[email protected]>
  45. * DataGridView.cs: Refresh column sizes when new rows are added.
  46. [Fixes bug #457050]
  47. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  48. * RichTextBox.cs: When parsing the contents of a rtf file, don't call
  49. Split to create a line - we are already doing this, by _adding_ a new
  50. one when rtf_cursor_x is 0 (this field gets this value just after we
  51. receive the newline param as true). This avoids having a proportional number
  52. of empty lines in the end of the rich text box.
  53. Fixes #396664.
  54. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  55. * RichTextBox.cs: When saving the contents as a plain text, don't add
  56. a new line for every Line structure, since the data in Document
  57. already contains the new line characters. This avoids duplicated new
  58. lines using the Save methods.
  59. Fixes #445618.
  60. 2008-12-09 Sandy Armstrong <[email protected]>
  61. * TreeView.cs: Expose ScrollBars as internal properties, for use by UIA
  62. framework. Fixes bug #457678.
  63. 2008-12-08 Ivan N. Zlatev <[email protected]>
  64. * DataGridViewRow.cs: Prevent an exception on a not yet databound grid,
  65. where datasource is null.
  66. [Fixes exception reported in bug 441240]
  67. 2008-12-08 Ivan N. Zlatev <[email protected]>
  68. * DataGridView.cs: EndEdit validation fixes.
  69. 2008-12-08 Ivan N. Zlatev <[email protected]>
  70. * DataGridView.cs: This is the cool patch that adds support for
  71. actually updating the data in the databinding backend after editing.
  72. With bonus firing and handling the DataError event.
  73. 2008-12-08 Carlos Alberto Cortez <[email protected]>
  74. * Line.cs: When calculating the text tags's Shift value, store it as
  75. pixels instead of points. This way we can actually handle different
  76. fonts in the same RichTextBox, as well as the right size of the caret.
  77. Fixes part of #351938.
  78. 2008-12-08 Ivan N. Zlatev <[email protected]>
  79. * DataGridViewCheckBoxCell.cs: Fix to make it work. Wrong value was
  80. casted to CheckState causing InvalidCastExceptions.
  81. 2008-12-08 Ivan N. Zlatev <[email protected]>
  82. * DataGridView.cs: Fix the DataGridViewEditMode.EditOnEnter behavior
  83. to not depend on the item being clicked.
  84. 2008-12-08 Ivan N. Zlatev <[email protected]>
  85. * DataGridView.cs: Implement NotifyCurrentCellDirty, so that it no
  86. longer throws a NotImplementedException.
  87. 2008-12-08 Ivan N. Zlatev <[email protected]>
  88. * DataGridView.cs: Set EditingControlFormattedValue when preparing an
  89. IDataGridViewEditingControl for editing.
  90. 2008-12-08 Ivan N. Zlatev <[email protected]>
  91. * DataGridViewComboBoxCell.cs: Implement data binding support.
  92. 2008-12-08 Ivan N. Zlatev <[email protected]>
  93. * DataGridView.cs: Use the CurrencyManager to update the data source
  94. binding position instead of casting the data sourcde to BindingSource.
  95. This enables position updating for other type of data sources.
  96. 2008-12-08 Ivan N. Zlatev <[email protected]>
  97. * ComboBox.cs: Update the SelectedIndex before updating the Text
  98. in OnDisplayMemberChanged.
  99. 2008-12-07 Ivan N. Zlatev <[email protected]>
  100. * DataGridView.cs: Fix our support for IDataGridViewEditingControl.
  101. [Fixes bug #457112]
  102. 2008-12-06 Ivan N. Zlatev <[email protected]>
  103. * DataGridView.cs: Sorting fixes:
  104. - Be strict when sorting is enabled.
  105. - If there is a data source delegate the sorting request.
  106. 2008-12-06 Ivan N. Zlatev <[email protected]>
  107. * Binding.cs: When converting the data also try with the destination
  108. type typeconverter. This indirectly adds support for Nullable types
  109. in our databinding layer.
  110. 2008-12-06 Ivan N. Zlatev <[email protected]>
  111. * DataGridView.cs: When cell editing is finished focus back the
  112. DataGridView. Fixes keyboard navigation post-editing.
  113. 2008-12-06 Ivan N. Zlatev <[email protected]>
  114. * DataGridView.cs: Fix the cell editing by delaying the currentCell
  115. setting to after EndEdit is called for the old cell.
  116. 2008-12-06 Ivan N. Zlatev <[email protected]>
  117. * BindingSource.cs: Reset the bindings. Fixes a NotWorking test.
  118. 2008-12-06 Ivan N. Zlatev <[email protected]>
  119. * XplatUIX11.cs: Send WM_HELP only to the focused window.
  120. 2008-12-05 Ivan N. Zlatev <[email protected]>
  121. * CurrencyManager.cs: Fix exceptions when resetting the data source
  122. for the same time (e.g. in ComboBox):
  123. - Do not set the list position if we are still transferring data
  124. - When resetting the list firstly push the data then update the
  125. binding.
  126. * Binding.cs: Check BindingManager.Position == -1 instead of
  127. BindingManager.Current == null in order to avoid unexpected
  128. exceptions.
  129. 2008-12-05 Brad Taylor <[email protected]>
  130. * MonthCalendar.cs: Add UIA specific events so that we can know when
  131. the selection changes, and when MaxSelectedCount changes.
  132. 2008-12-05 Ivan N. Zlatev <[email protected]>
  133. * DataGridView.cs: Cleanup rows_displayed out of OnPaint. It's not
  134. used for anything.
  135. 2008-12-05 Ivan N. Zlatev <[email protected]>
  136. * DataGridView.cs: Fix scrolling and selection of cells/rows prior
  137. to the control being drawn for the first time by:
  138. - Implement DisplayedRowsCount to not rely on the control being
  139. already painted. Also added support for the partial row flag.
  140. - Fix scrolling to take into account partial rows and scroll to
  141. them.
  142. [Fixes bug #456527]
  143. 2008-12-05 Ivan N. Zlatev <[email protected]>
  144. * DataGridView.cs: Do not reset the CurrentCell when the handle is
  145. created if the user has already set it.
  146. 2008-12-05 Ivan N. Zlatev <[email protected]>
  147. * DataGridView.cs: Fix CurrentCell to actually select the cell.
  148. 2008-12-01 Carlos Alberto Cortez <[email protected]>
  149. * XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
  150. text and then let the underneath users of IDataObject interpret and
  151. parse by themselves.
  152. Fixes #439251.
  153. 2008-12-01 Ivan N. Zlatev <[email protected]>
  154. * DataGridView.cs: Fix my previous commit to actually update what it
  155. was supposed to.
  156. 2008-12-01 Ivan N. Zlatev <[email protected]>
  157. * DataGridView.cs: Ensure that when a row is removed the all the
  158. current row/column/cell get updated. Fixes multiple exceptions.
  159. 2008-12-01 Ivan N. Zlatev <[email protected]>
  160. * DataGridView.cs: Fix scrolling to the current cell when key navigation
  161. is used.
  162. [Fixes bug #443560]
  163. 2008-12-01 Ivan N. Zlatev <[email protected]>
  164. * DataGridView.cs, DataGridViewCell.cs: Fire CellStateChanged events.
  165. * DataGridViewCell.cs: Set the cell as selected prior to setting the
  166. new state.
  167. [Fixes issue 1 in bug #443560]
  168. 2008-12-01 Ivan N. Zlatev <[email protected]>
  169. * DataGridView.cs: Invalidate after the current row/column seletion
  170. chagnes.
  171. [Fixes bug #438434]
  172. 2008-12-01 Ivan N. Zlatev <[email protected]>
  173. * DataGridView.cs: Refresh the data if the data list is reset, etc.
  174. 2008-12-01 Ivan N. Zlatev <[email protected]>
  175. * DataGridView.cs: Handle datasource state changes:
  176. - IBindingList - list changes
  177. - BindingSource - list changed and datasource changes
  178. 2008-11-30 Ivan N. Zlatev <[email protected]>
  179. * DataGridView.cs: Select the first cell when databound.
  180. Visually select when CurrentCell is set.
  181. 2008-11-30 Ivan N. Zlatev <[email protected]>
  182. * DataGridView.cs: Set the current cell before raising CellClick.
  183. 2008-11-30 Ivan N. Zlatev <[email protected]>
  184. * DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
  185. CellLeave events as this is already done in SetCurrentCellAddressCore.
  186. 2008-11-30 Ivan N. Zlatev <[email protected]>
  187. * DataGridView.cs: Set the minimum size for the columns to be the
  188. width of their header, so that the columns don't get squashed
  189. all together.
  190. 2008-11-30 Ivan N. Zlatev <[email protected]>
  191. * DataGridView.cs: After the data is bound PerformLayout, so that
  192. the columns get autosized.
  193. 2008-11-30 Ivan N. Zlatev <[email protected]>
  194. * DataGridView.cs: Move all currentCell setting code into
  195. one central place - SetCurrentCellAddressCore. That way the
  196. current cell is properly updated when programatically set.
  197. Fire RowEnter/Leave events.
  198. 2008-11-30 Ivan N. Zlatev <[email protected]>
  199. * DataGridView.cs: Update the CurrencyManager.Position, so that
  200. when a BindingSource is used BindingSource.Current will be correct.
  201. 2008-11-30 Ivan N. Zlatev <[email protected]>
  202. * GroupBoxRenderer.cs: Fix when VisualStyles disabled:
  203. - No caption text is drawn because Color.Empty is used.
  204. - Fix top and height off by 1.
  205. 2008-11-30 Ivan N. Zlatev <[email protected]>
  206. * DataGridViewRow.cs: Implement DataBoundItem.
  207. 2008-11-30 Ivan N. Zlatev <[email protected]>
  208. * BindingSource.cs: Return null for Current if there is no data present.
  209. 2008-11-29 Carlos Alberto Cortez <[email protected]>
  210. * MenuAPI.cs: Add a Menu.SelectedItem null check when navigating the
  211. menus using the arrow keys. Also when handling the left arrow key, don't
  212. assign the current menu to the parent one, if the parent is null.
  213. Fixes #446392.
  214. 2008-11-24 Everaldo Canuto <[email protected]>
  215. * PrintPreviewDialog.cs: Fix toolbar size, height must be 26. Fixes bug
  216. #413501.
  217. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  218. * Scrollbar.cs:
  219. * ScrollableControl.cs: Simplify the code to manually set the size of
  220. the thum area, avoiding duplication of code, and also preserving the
  221. right value for different code paths - this can happen when size
  222. changes are made to the scrollbar after setting LargeChange, Maximum
  223. or related properties for the ScrollBar.
  224. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  225. * ScrollableControl.cs: When scrolling, don't invalidate the entire
  226. area, and call to XplatUIX11.ScrollWindow instead. This is exactly
  227. what .Net does: copy the visible area, and only invalidate the part of
  228. the area that wasn't visible before scrolling.
  229. Fixes #441738.
  230. 2008-11-24 Jonathan Pobst <[email protected]>
  231. * DataGridView.cs: Listen for a DataTable's TableCleared event so we
  232. can clear ourselves when it is raised, we don't have a newrowindex
  233. if we don't have any columns.
  234. * DataGridViewRowCollection.cs: Ensure we always delete all the rows,
  235. re-index after each delete so the NewRow will have the correct index.
  236. [Fixes bug #448005]
  237. 2008-11-24 Jonathan Pobst <[email protected]>
  238. * Form.cs: Don't change min/max size if it is empty.
  239. [Fixes bug #447873]
  240. 2008-11-23 Carlos Alberto Cortez <[email protected]>
  241. * ScrollBar.cs:
  242. * ScrollableControl.cs: When the manual thumb size is used, the
  243. maximum allowed value should depend on that thumb size, instead of
  244. LargeChange (using the maximum - LargeChange + 1 value). But
  245. LargeChange should be used normally when incrementing/decrementing.
  246. Fixes the remaining part of #441546.
  247. 2008-11-23 Andreia Gaita <[email protected]>
  248. * WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
  249. until an about:blank has been loaded (according to spec). Fix
  250. ScrollbarsEnabled to set when a document is loaded (since we use js
  251. for it). Fix url so it reflects the current loading document and not
  252. the previous one. Send StatusChanged events.
  253. 2008-11-23 Andreia Gaita <[email protected]>
  254. * Application.cs: If a message comes in for an embedded control
  255. (like webbrowser) when we're capturing the keyboard, release the
  256. capture and continue.
  257. [fixes #429462]
  258. 2008-11-22 Andreia Gaita <[email protected]>
  259. * XplatUI.cs: Only use PlatformID.MacOSX enum when not building on VS
  260. 2008-11-21 Andreia Gaita <[email protected]>
  261. * WebBrowser.cs, HtmlDocument.cs: Fixes for #428172
  262. 2008-11-21 Carlos Alberto Cortez <[email protected]>
  263. * ScrollBar.cs:
  264. * ScrollableControl.cs: Set manually the thumb size for the
  265. ScrollableControl scrollbars, so any further changes to the underneath
  266. scrollbars respect the original size.
  267. Fixes part of #441546.
  268. 2008-11-21 Geoff Norton <[email protected]>
  269. * XplatUI.cs: Ensure that we can run on .net 2.0 with mono 2.2 where
  270. PlatformID.MacOSX now exists.
  271. 2008-11-20 Jonathan Pobst <[email protected]>
  272. * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
  273. Having something internal abstract isn't very nice for people who want
  274. to inherit from this class.
  275. 2008-11-20 Jonathan Pobst <[email protected]>
  276. * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
  277. invalid value. Just return null for the Image, and use the ImageList's
  278. ImageSize for calculations.
  279. 2008-11-20 Jonathan Pobst <[email protected]>
  280. * ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
  281. through DroppedDown so the proper events get called and state gets reset.
  282. [Fixes bug #446805]
  283. 2008-11-18 Jonathan Pobst <[email protected]>
  284. * DataGridViewColumnCollection.cs: Make sure we re-index the columns after
  285. the collection is modified.
  286. 2008-11-17 Jonathan Pobst <[email protected]>
  287. * DomainUpDown.cs: Remove string cache and reflection optimizations. They
  288. aren't always correct, and fixing them for every case is not worth the
  289. negligible benefit they provide.
  290. [Fixes bug #445713]
  291. 2008-11-17 Jonathan Pobst <[email protected]>
  292. * DataGridView.cs: We should never add actual cells to the RowTemplate.
  293. Internally, use RowTemplateFull to give us a new row with cells.
  294. * DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
  295. * DataGridViewRowCollection.cs: Use RowTemplateFull.
  296. 2008-11-17 Carlos Alberto Cortez <[email protected]>
  297. * XplatUIX11.cs: Forms without borders should be able to change its
  298. size - specially they should be able to be maximized, adding the
  299. respective MotifFunctions.Resize bit when setting window properties as
  300. well as *not* marking the Hwnd as size fixed.
  301. Fixes #444347.
  302. 2008-11-12 Jonathan Pobst <[email protected]>
  303. * DataGridViewCellStyle.cs: Allow SelectionBackColor to have
  304. an alpha value.
  305. [Fixes bug #444348]
  306. 2008-11-11 Jonathan Pobst <[email protected]>
  307. * DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
  308. * DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
  309. AutoSizeColumnModeChanged.
  310. [Fixes bug #443609]
  311. 2008-11-11 Jonathan Pobst <[email protected]>
  312. * DataGridViewRowCollection.cs: Guard against the user deleting the
  313. NewRow. Add an internal delete so we can still delete it.
  314. * DataGridView.cs: Use the new internal delete when deleting the NewRow.
  315. [Fixes bug #442181]
  316. 2008-11-10 Jonathan Pobst <[email protected]>
  317. * TextControl.cs: Add some order of operation to our math so
  318. we don't end up with a negative height for our invalidate rect.
  319. [Fixes bug #381889]
  320. 2008-11-10 Jonathan Pobst <[email protected]>
  321. * Control.cs: When our enabled changes, notify our implicit children
  322. controls as well as our regular controls.
  323. [Fixes bug #441523]
  324. 2008-11-08 Andreia Gaita <[email protected]>
  325. * HtmlElement.cs: Small code cleanup
  326. 2008-11-06 Carlos Alberto Cortez <[email protected]>
  327. * BindingNavigator.cs: MoveFirstItem should be enabled only if
  328. position is larger than 0, not only different than 0. Also Position
  329. and Count items should be enabled if the BindingSource is non null and
  330. non empty.
  331. Fixes #439961.
  332. 2008-11-05 Jonathan Pobst <[email protected]>
  333. * TabControl.cs: Don't raise SelectedIndexChanged until we have
  334. actually modified the tab collection, so TabCount will be correct.
  335. [Fixes bug #441896]
  336. 2008-11-05 Sandy Armstrong <[email protected]>
  337. * ListViewItem.cs: Mark ListViewSubItem.UIATextChanged event as
  338. NonSerialized to fix serialization of ListViewItem.
  339. 2008-11-04 Mike Gorse <[email protected]>
  340. * ListView.cs: Call OnUIAFocusedItemChanged after completing the
  341. focus change, and always call in SetFocusedItem.
  342. * ListBox.cs: Add UIAFocusedItemChanged as in ListView.
  343. 2008-11-04 Jonathan Pobst <[email protected]>
  344. * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
  345. mode. Based on a patch by John Mortlock.
  346. [Fixes bug #436790]
  347. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  348. * ListView.cs: Use the UsingGroups property where needed, instead of
  349. duplicating the check in other places.
  350. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  351. * ListView.cs: When calculating layout, refresh the count of items
  352. belonging to the default item, insteas of doing it only one time. This
  353. was already working fine for icon views, not not for details.
  354. Fixes #438948.
  355. 2008-11-03 Carlos Alberto Cortez <[email protected]>
  356. * ListView.cs:
  357. * ListViewItem.cs:
  358. * ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
  359. to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
  360. does.
  361. Fixes #437933.
  362. 2008-11-03 Sandy Armstrong <[email protected]>
  363. * ListView.cs: Wrap call to OnUIAFocusedItemChanged with #if NET_2_0.
  364. 2008-11-03 Sandy Armstrong <[email protected]>
  365. * ListView.cs: Add internal UIAFocusedItemChanged event. Fixes bug
  366. #441280, patch by Mike Gorse <[email protected]>.
  367. 2008-11-03 Jonathan Pobst <[email protected]>
  368. * TreeView.cs: When doing ExpandAll, don't scroll to the bottom
  369. if there is no scrollbar.
  370. [Fixes bug #440885]
  371. 2008-11-03 Jonathan Pobst <[email protected]>
  372. * ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
  373. patch from Andy Hume that fixes many issues with ProgressBar.
  374. [See bug #440220]
  375. 2008-11-03 Jonathan Pobst <[email protected]>
  376. * Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
  377. [Fixes bug #438866]
  378. 2008-11-03 Sandy Armstrong <[email protected]>
  379. * UpDownBase.cs:
  380. * DomainUpDown.cs:
  381. * NumericUpDown.cs: Internal events added to UpDownBase:
  382. UIAUpButtonClick and UIADownButtonClick. Patch by Neville Gao
  383. <[email protected]>.
  384. 2008-11-03 Sandy Armstrong <[email protected]>
  385. * ToolStripLabel.cs: Internal event added: UIAIsLinkChanged.
  386. 2008-11-02 Carlos Alberto Cortez <[email protected]>
  387. * ListView.cs:
  388. * ThemeWin32Classic.cs: Don't use groups nor insertion mark in
  389. Application.EnableVisualStyles hasn't been called.
  390. Fixes part of #437933.
  391. 2008-10-31 Andreia Gaita <[email protected]>
  392. * Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  393. if the container is not focused already, we need to specifically set
  394. focus to the first available control, or to the form itself if there
  395. are no controls.
  396. 2008-10-31 Andreia Gaita <[email protected]>
  397. activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
  398. WM_ACTIVATE have been processed before returning, so it is guaranteed that
  399. once it returns and the form is visible, it is actually on the screen on X11
  400. * ContainerControl.cs: Only send focus to the control if the top container
  401. is already focused. This is so that, when a form is first shown, all
  402. the enter/leave events are done first before any focus stuff comes in.
  403. If a control has no top container, there's an extra check on Control.Focus
  404. to make sure it gets focused in this particular case.
  405. * Control.cs: Force focus if the control is active but did not receive
  406. focus after being set as active.
  407. * MdiClient.cs: Dispose the form when closing
  408. * XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  409. doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  410. if the window is a top Form.
  411. Reset all hwnd properties when the window has been destroyed so that
  412. we don't land in any codepaths that might try to do something with it.
  413. Added a bunch of debugging messages. If TRACE is defined, all X calls
  414. are logged through DebugHelper. Set a few missing EntryPoint attributes.
  415. 2008-10-29 Mario Carrion <[email protected]>
  416. * ListViewItem.cs: Control enabled to support Accessibility:
  417. - Internal events: UIATextChanged, UIASubItemTextChanged.
  418. - Internal event UIATextChanged in ListViewSubItem that triggers
  419. UIASubItemTextChanged.
  420. * ListView.cs: Control enabled to support Accessibility:
  421. - Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  422. UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
  423. - Internal event UIACollectionChanged in ColumnHeaderCollection.
  424. - Internal event UIACollectionChanged in ListViewItemCollection.
  425. - Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  426. UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
  427. - Internal methods: UIAGetHeaderBounds.
  428. 2008-10-25 Carlos Alberto Cortez <[email protected]>
  429. * ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
  430. the event from the respective scrollbars.
  431. Fixes #436709.
  432. 2008-10-24 Carlos Alberto Cortez <[email protected]>
  433. * ComboBox.cs: Use the new CanNavigateAutoCompleteList property of the
  434. textbox to know whether any navigation key will be handled or not. If
  435. not, don't pass the message to the textbox, and use it here instead.
  436. * TextBox.cs: Define a new CanNavigateAutoCompleteList property -which
  437. is more precise- than the previous AutoCompleteMatches one.
  438. This should the keyboard navigation in ComboBox when using auto
  439. complete modes.
  440. 2008-10-24 Jonathan Pobst <[email protected]>
  441. * ComboBox.cs: Fix item height calculation based off Font to match .Net.
  442. [Fixes bug #436730]
  443. 2008-10-24 Jonathan Pobst <[email protected]>
  444. * ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
  445. overridden methods will get called.
  446. * ToolStripItem.cs: Raise Click before MouseUp.
  447. * ToolStripSplitButton.cs: Fix up some bounding rectangles to take
  448. the item's location into account.
  449. [Fixes bug #437683]
  450. 2008-10-24 Neville Gao <[email protected]>
  451. * NumericUpDown.cs: Control enabled to support accessibility.
  452. [Fiexes bug #438135]
  453. 2008-10-23 Carlos Alberto Cortez <[email protected]>
  454. * TextBox.cs: Check that we actually have items no navigate, select
  455. text when pressing enter, as well as handle direction keys only if
  456. mode is different to Suggest or the suggest listbox is visible.
  457. 2008-10-23 Andreia Gaita <[email protected]>
  458. * WebBrowser.cs: Use the new ContentStream property to retrieve
  459. a stream encoded from the document content
  460. 2008-10-23 Andreia Gaita <[email protected]>
  461. * HtmlDocument.cs,
  462. HtmlElement.cs,
  463. HtmlWindow.cs: Fix GetHashcode for null objects
  464. 2008-10-22 Andreia Gaita <[email protected]>
  465. * HtmlDocument.cs,
  466. HtmlElement.cs,
  467. HtmlWindow.cs: Fix equality operators (fixes #428173)
  468. 2008-10-21 Jonathan Pobst <[email protected]>
  469. * XplatUIWin32.cs: Apply patch from John Mortlock that ensures
  470. mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
  471. [Fixes bug #436772]
  472. 2008-10-21 Jonathan Pobst <[email protected]>
  473. * ComboBox.cs: Fire SelectedIndexChanged when the user selects the
  474. same item with the mouse as was already selected.
  475. [Fixes bug #436789]
  476. 2008-10-21 Brad Taylor <[email protected]>
  477. * TextControl.cs: Break out code to get the visible range into
  478. GetVisibleLineIndexes to be used in UIA code.
  479. * Line.cs:
  480. * TextControl.cs:
  481. * TextBoxBase.cs: Add comments indicating that the method or property
  482. is used via reflection from UIA code.
  483. 2008-10-20 Carlos Alberto Cortez <[email protected]>
  484. * ListViewItem.cs: Match .net serialization.
  485. Fixes remaining part of #417520.
  486. 2008-10-20 Jonathan Pobst <[email protected]>
  487. * ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
  488. 2008-10-20 Mario Carrion <[email protected]>
  489. * ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
  490. added: UIAToolTipRectangle.
  491. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  492. * ListViewItem.cs: When deserializing enumerate over the data, instead
  493. of accessing the data directly. This way we handle much better the
  494. cases were we lack information.
  495. Fixes #417520.
  496. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  497. * ListView.cs: When removing an item from a main ListView.Items
  498. collection (and not a ListViewGroupCollection.Items one), remove it
  499. also from the group, as .net does. Patch by Mario Carrion (mario at
  500. novell dot com).
  501. Fixes #436653.
  502. 2008-10-19 Andreia Gaita <[email protected]>
  503. * Form.cs: Forms that get closed without a handle being created are
  504. disposed in 2.0. Fixes failing FormTest.FormClose and
  505. FormTest.FormClose2 on windows.
  506. 2008-10-18 Carlos Alberto Cortez <[email protected]>
  507. * ListView.cs: If both scrollbars are visible, the vertical one
  508. shouldn't extend too far down.
  509. Fixes #435771.
  510. 2008-10-17 Jonathan Pobst <[email protected]>
  511. * DataGridView.cs: Add the ability to resize columns and rows with
  512. the mouse. Also support double-clicking to autoresize.
  513. * DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
  514. * DataGridViewRow.cs: Invalidate the grid if a row's height changes.
  515. * DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
  516. isn't shown on autoresize.
  517. [Fixes bug #420193]
  518. 2008-10-17 Mario Carrion <[email protected]>
  519. * ComboBox.cs: Remove UIAListbox.
  520. 2008-10-17 Mario Carrion <[email protected]>
  521. * ComboBox.cs, ListBox.cs: Using added/removed item in
  522. OnUIACollectionChangedEvent instead of index.
  523. 2008-10-17 Jonathan Pobst <[email protected]>
  524. * ComboBox.cs: When we are sorting the items, if the item's type
  525. doesn't support IComparer, use a default one that compares based
  526. off the item's visible text.
  527. [Fixes bug #436328]
  528. 2008-10-17 Carlos Alberto Cortez <[email protected]>
  529. * ColumnHeader.cs: Invalidate ListView.header_control when setting
  530. ImageIndex/ImageKey.
  531. * ThemeWin32Classic.cs: When drawing the column header, draw a image
  532. for the column if available, and make the required adjustments to the
  533. text location.
  534. Fixes #435105.
  535. 2008-10-17 Neville Gao <[email protected]>
  536. * StatusBarPanel.cs: Control enabled to support accessibility.
  537. [Fixes bug #435988]
  538. 2008-10-16 Jonathan Pobst <[email protected]>
  539. * DataGridView.cs: When a user begins an edit in the 'new row',
  540. make that a real row, and add a new 'new row'. If the user
  541. cancels the edit, remove the new 'new row' and reset everything.
  542. Also, ensure UserAddedRow and UserRemovedRow events are raised.
  543. [Fixes bug #430954]
  544. 2008-10-16 Ivan N. Zlatev <[email protected]>
  545. * TableLayoutSettings.cs: Fix NREs when deserializing and
  546. panel is not yet set.
  547. [Fixes bug #436199]
  548. 2008-10-16 Jonathan Pobst <[email protected]>
  549. * DataGridView.cs: Invalidate after deleting a row.
  550. 2008-10-16 Jonathan Pobst <[email protected]>
  551. * DataGridView.cs: Handle Enter and Escape keys.
  552. - Move call to EndEdit to MoveCurrentCell.
  553. - Remove call to EndEdit from navigation key routines.
  554. - Fire CellLeave and CellEnter.
  555. 2008-10-16 Jonathan Pobst <[email protected]>
  556. * DataGridViewCell.cs: Some fixes to the new cell border
  557. painting code.
  558. 2008-10-16 Jonathan Pobst <[email protected]>
  559. * ThemeEngine.cs: Enable visualstyles rendering by default
  560. (on platforms that support it).
  561. 2008-10-15 Ivan N. Zlatev <[email protected]>
  562. * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
  563. MainForm.OnLoad has completed unless DoEvents is forced.
  564. [Fixes bug #412536]
  565. 2008-10-15 Jonathan Pobst <[email protected]>
  566. * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
  567. 2008-10-15 Jonathan Pobst <[email protected]>
  568. * Control.cs: Make our implementation of DrawToBitmap better
  569. match WmPaint. [Fixes bug #435579]
  570. 2008-10-14 Andreia Gaita <[email protected]>
  571. * WebBrowser.cs: Use DocumentElement as the document's root for the
  572. whole content. Should fix DocumentText and DocumentStream problems.
  573. 2008-10-14 Jonathan Pobst <[email protected]>
  574. * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
  575. these will get called in DGV.OnCollectionChanged. Make sure
  576. OnCollectionChanged always gets called.
  577. * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
  578. from every row. Call this in OnCollectionChanged.
  579. [Fixes bug #433669]
  580. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  581. * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
  582. textbox if auto complete is used, since we need to navigate over it.
  583. And in this case don't pass this messages to the base impl. Also hide
  584. the auto complete list box when displaying the drop down listbox.
  585. * TextBox.cs: new internal members to expose some of the auto complete
  586. functionality to combobox.
  587. 2008-10-13 Ivan N. Zlatev <[email protected]>
  588. * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
  589. MainForm.OnLoad has completed.
  590. [Fixes bug #412536]
  591. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  592. * TextBox.cs: Apply an old-approved patch that adds autocomplete's
  593. Append support to this controls. We need it to apply new patches.
  594. 2008-10-12 Carlos Alberto Cortez <[email protected]>
  595. * Control.cs: When updating z order in child controls, send to back
  596. the implicit controls. Also, do it explicitly, instead of making
  597. GetAllControls return the implicit controls in a specific order, and
  598. thus avoid depending on that, which could change in the future.
  599. Fixes #434304.
  600. 2008-10-11 Carlos Alberto Cortez <[email protected]>
  601. * X11Dnd.cs: Try to call Application.DoEvents before returning in a
  602. call to StartDrag, since we must fire DragDrop/DragLeave *before*
  603. that, as .net does - instead of firing DragDrop/DragLeave *after* the
  604. call to Control.DoDragDrop has completed. This is needed since at the
  605. point of returning, we have sent related dnd ClientMessages, but we
  606. need to wait for them to fire the wmf respective ones.
  607. Fixes #325076.
  608. 2008-10-09 Everaldo Canuto <[email protected]>
  609. * LinkLabel.cs: Recreate link pieces when change Padding.
  610. 2008-10-09 Everaldo Canuto <[email protected]>
  611. * LinkLabel.cs: Take Padding into account when recreate link pieces.
  612. [Fixes bug #412530]
  613. 2008-10-08 Everaldo Canuto <[email protected]>
  614. * Control.cs: Implement internal property PaddingClientRectangle, it will be
  615. useful for drawing controls that must take care about Padding property.
  616. 2008-10-08 Jonathan Pobst <[email protected]>
  617. * BindingSource.cs: Make item_type internal so we can access it in DGV.
  618. * DataGridView.cs: Add support for autogenerating columns from a
  619. BindingSource.
  620. 2008-10-07 Jonathan Pobst <[email protected]>
  621. * DataGridView.cs: Comment out an exception that is getting thrown
  622. too often currently.
  623. 2008-10-07 Jonathan Pobst <[email protected]>
  624. * DataGridView.cs: Always rebind to the datasource, as things may
  625. have changed in it that we aren't capturing yet.
  626. 2008-10-07 Jonathan Pobst <[email protected]>
  627. * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
  628. drawing mode. If we are top aligned, give ourselves some top padding.
  629. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  630. * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
  631. events on the control under the mouse pointer, instead of firing them
  632. on the window generating the dnd operation. To achieve this re-use the
  633. code used to get the window under the pointer when getting MouseMove
  634. events.
  635. Fixes #381876.
  636. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  637. * X11Dnd.cs: Don't check that that the window sending the dnd events
  638. is the owner of the selection. Although Gtk+ sets it that way, it's
  639. not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
  640. So, just as Gtk+ does, we set our window sending the dnd events as the
  641. owner of the selection, but don't check it when receiving them. This
  642. should fix interoperability with Qt/Kde.
  643. Fixes #324251.
  644. 2008-10-06 Jonathan Pobst <[email protected]>
  645. * DataGridView.cs: Make sure we take the vertical scrollbar into
  646. account when autosizing columns.
  647. 2008-10-06 Jonathan Pobst <[email protected]>
  648. * DataGridView.cs: Handle sorting datetimes.
  649. 2008-10-04 Ivan N. Zlatev <[email protected]>
  650. * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
  651. TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
  652. compilation warnings.
  653. 2008-10-03 Ivan N. Zlatev <[email protected]>
  654. * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
  655. ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
  656. ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
  657. ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
  658. compilation warnings.
  659. 2008-10-03 Ivan N. Zlatev <[email protected]>
  660. * DataGridView.cs, DataGridViewCell.cs,
  661. DataGridViewCellValidatingEventArgs.cs,
  662. DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
  663. DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  664. DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
  665. 2008-10-03 Ivan N. Zlatev <[email protected]>
  666. * HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
  667. Cleanup compilation warnings.
  668. 2008-10-03 Ivan N. Zlatev <[email protected]>
  669. * XplatUIWin32.cs: Cleanup compilation warnings.
  670. 2008-10-03 Ivan N. Zlatev <[email protected]>
  671. * PropertyGrid.cs: Cleanup compilation warnings.
  672. 2008-10-02 Jonathan Pobst <[email protected]>
  673. * DataGridViewRow.cs: Only clear the row background if we
  674. are going to paint a new background.
  675. 2008-10-02 Jonathan Pobst <[email protected]>
  676. * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
  677. DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
  678. use PaintBorder instead.
  679. 2008-10-02 Jonathan Pobst <[email protected]>
  680. * DataGridView.cs: When CellBorderStyle is set, update the
  681. AdvancedCellBorderStyle to match.
  682. 2008-10-02 Jonathan Pobst <[email protected]>
  683. * DataGridViewCell.cs: Add helper methods to convert Alignment
  684. to TextFormatFlags and align rectangles.
  685. * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
  686. * DataGridViewImageCell.cs: Use Alignment when painting the image.
  687. 2008-10-02 Ivan N. Zlatev <[email protected]>
  688. * ToolTip.cs: Display tooltips only for controls on the active form.
  689. [Fixes bug #428115]
  690. 2008-10-02 Jonathan Pobst <[email protected]>
  691. * DataGridView.cs: Make OnCellValueNeeded internal.
  692. * DataGridViewCell.cs: Raise the CellValueNeeded event so the
  693. user can supply their own value if they choose.
  694. 2008-10-02 Jonathan Pobst <[email protected]>
  695. * DataGridViewColumnHeaderCell.cs: Create a new style object
  696. so the DefaultCellStyle doesn't get changed.
  697. 2008-10-02 Jonathan Pobst <[email protected]>
  698. * ToolStripItem.cs: Check to make sure the owner is actually
  699. changing in InternalOwner before doing any work. Fixes some
  700. failing tests.
  701. 2008-10-01 Jonathan Pobst <[email protected]>
  702. * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
  703. * DataGridView.cs: Use a column header's inherited style instead
  704. of just using the default.
  705. 2008-10-01 Jonathan Pobst <[email protected]>
  706. * SplitContainer.cs: Raise SplitterMoved when the splitter is
  707. moved through code.
  708. 2008-10-01 Mario Carrion <[email protected]>
  709. * ScrollBar.cs: Internal property added: UIAThumbPosition.
  710. 2008-10-01 Jonathan Pobst <[email protected]>
  711. * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
  712. 2008-10-01 Jonathan Pobst <[email protected]>
  713. * ToolStripItem.cs: When the user sets Owner, we need to remove
  714. it from its previous owner and then add it to the new owner's
  715. item collection. Also, create InternalOwner, so we can set the owner
  716. that doesn't do this new stuff.
  717. * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
  718. 2008-10-01 Jonathan Pobst <[email protected]>
  719. * ToolStripItem.cs: When our parent changes, recalculate our text
  720. size, since we may be getting our Font from our parent. When our
  721. owner's Font changes, recalculate ourselves as we may be using
  722. that font.
  723. 2008-10-01 Everaldo Canuto <[email protected]>
  724. * MenuAPI.cs: Select the first option of a popup when opening the popup via
  725. return key. [Fixes bug #413792].
  726. 2008-10-01 Jonathan Pobst <[email protected]>
  727. * ToolStripItem.cs: Make Font, BackColor, and ForeColor be
  728. ambient properties. (Get their value from their parents if
  729. values haven't been set.)
  730. 2008-10-01 Jonathan Pobst <[email protected]>
  731. * ToolStripSystemRenderer.cs: Call overridden methods' bases
  732. after our logic, so users can do painting by handling the events.
  733. Currently, we draw over any user painting.
  734. 2008-10-01 Jonathan Pobst <[email protected]>
  735. * ToolStripProfessionalRenderer.cs: Call overridden methods' bases
  736. after our logic, so users can do painting by handling the events.
  737. Currently, we draw over any user painting.
  738. 2008-09-30 Everaldo Canuto <[email protected]>
  739. * MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
  740. 2008-09-30 Jonathan Pobst <[email protected]>
  741. * TreeNode.cs, TreeView.cs: Move logic that determines the node
  742. image to draw to TreeNode. Give Index/Keys put on the node
  743. precedence over the global one for the TreeView.
  744. 2008-09-30 Jonathan Pobst <[email protected]>
  745. * TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
  746. 2008-09-29 Mario Carrion <[email protected]>
  747. * ListBox.cs: Index fixed.
  748. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  749. * TabControl.cs: When expanding the tab -because it's selected now-,
  750. using Right alignment, instead of adding some selected delta value to
  751. the X origin, substract it, so it gets a location adjacent to the panel,
  752. instead of be more separated.
  753. Fixes #409170.
  754. 2008-09-29 Jonathan Pobst <[email protected]>
  755. * MessageBox.cs: Use SystemIcons for graphics instead of keeping our
  756. own copies of them.
  757. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  758. * X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
  759. as well as the other static fields, to avoid using their previous
  760. values my mistake when handling the dnd events. This should avoid
  761. handling any status event after the drop has been finalized/cancelled.
  762. 2008-09-28 Carlos Alberto Cortez <[email protected]>
  763. * X11Dnd.cs: We have to send a dnd enter event as soon as we start the
  764. operation, instead of waiting until we get any movement - this will
  765. help us to have the data available in case no movement was detected
  766. and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
  767. Finally add a windows.forms-only fallback to fire the mentioned events
  768. if no movement at all was detected, just like .net does.
  769. Fixes #381876.
  770. 2008-09-27 Jonathan Pobst <[email protected]>
  771. * ThemeWin32Classic.cs: When drawing a status bar panel, don't
  772. return early if the text is empty because the icon doesn't get
  773. drawn then. [Fixes bug #428113]
  774. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  775. * FileDialog.cs: Implement basic support for sorting by columns in
  776. Details view. Patch by Eric Petit.
  777. Fixes #428006.
  778. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  779. * ThemeWin32Classis.cs: When drawing gridlines take into account the
  780. case where ListView.ItemSize hasn't been computed, and provide a
  781. fallback as well. This prevents a division by 0.
  782. 2008-09-24 Jonathan Pobst <[email protected]>
  783. * ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
  784. correctly draw tooltip backgrounds.
  785. 2008-09-24 Jonathan Pobst <[email protected]>
  786. * ImageList.cs: Change CopyTo implementation to ensure clones are
  787. created of our images.
  788. [Fixes bug #409169]
  789. 2008-09-24 Jonathan Pobst <[email protected]>
  790. * Control.cs: When setting fonts, we need to ensure we change our
  791. reference to the new font object, even if it represents the same
  792. font as before. If we don't, the original font can get disposed
  793. and we will still try to use it.
  794. [Fixes bug #386450]
  795. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  796. * FileDialog.cs: Take into account Tile view when selecting the view
  797. (2.0 profile).
  798. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  799. * ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
  800. the item bounds, since we can't iterate over them in virtual mode.
  801. Also fix wrong calculation of the gridlines when using scrolling.
  802. Fixes #400390.
  803. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  804. * XplatUIX11.cs: When handling EnterNotify events, take into account
  805. both the public and implicit controls when trying to detect the
  806. grab/ungrab process. This should fix ListView selection in Details
  807. view.
  808. 2008-09-23 Jonathan Pobst <[email protected]>
  809. * TreeView.cs: Redraw the whole node area when the selected node changes.
  810. Things like state images were not getting redrawn because the invalid
  811. rectangle was too small.
  812. [Fixes bug #428211]
  813. 2008-09-23 Mario Carrion <[email protected]>
  814. * ListBox.cs: UIA Selection Pattern fully supported in ListBox control.
  815. [Fixes bug #428993]
  816. 2008-09-23 Jonathan Pobst <[email protected]>
  817. * Form.cs: Do not set the Form's icon in the backend if showicon = false.
  818. [Fixes bug #428114]
  819. 2008-09-23 Jonathan Pobst <[email protected]>
  820. * ThemeWin32Classic.cs: Allow tooltips to be multiline.
  821. [Fixes bug #427884]
  822. 2008-09-23 Jonathan Pobst <[email protected]>
  823. * StatusBar.cs: Add tooltip support.
  824. [Fixes bug #428113]
  825. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  826. * ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
  827. alignments of sub items in Details view. Patch by John Mortlock (johnm at
  828. hlaustralia.com.au).
  829. Fixes #425360.
  830. 2008-09-23 Neville Gao <[email protected]>
  831. * StatusBar.cs: Add UIA event in AddInternal () to support accessibility.
  832. [Fixes bug #419079]
  833. 2008-09-22 Jonathan Pobst <[email protected]>
  834. * TextBoxBase.cs: Set Text to "" instead of null in Clear().
  835. [Fixes bug #428107]
  836. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  837. * ListView.cs: Don't do anything when EnsureVisible is called inside a
  838. BeginUpdate/EndUpdate block.
  839. Fixes #425049.
  840. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  841. * ListViewItem.cs: The semantics for the public .ctor of
  842. ListViewSubItemCollection need us to already have a Text value for the
  843. item, which in our implementation have as available *after* adding the
  844. first sub item. So create an internal .ctor that satisfies our needs
  845. and let the public .ctor have the same semantics as .net.
  846. Fixes #427561.
  847. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  848. * ListControl.cs: Changes in Formatting related values should call
  849. RefreshItems, as .net does.
  850. * ComboBox.cs:
  851. * ListBox.cs: In the respective overrides of RefreshItems calculate
  852. layout as well as refreshing - again, this is what .net does.
  853. Fixes #426168.
  854. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  855. * ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
  856. since we are already doing that when we change the value of the
  857. scrollbar or force the call to ScrollWindow in the same method. This
  858. way we don't cause a Invalidate call for all the listbox bounds for
  859. methods calling UpdateTopItem with an already updated top item. This
  860. was happening specially calling EnsureVisible with already visible
  861. items.
  862. 2008-09-18 Mike Gorse <[email protected]>
  863. * Application.cs, IKeyFilter.cs, X11Keyboard.cs, XplatUI.cs,
  864. XplatUIStructs.cs: Added KeyFilter
  865. [Fixes bug #427039]
  866. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  867. * RelatedPropertyManager.cs: The properties returned by
  868. GetItemProperties should be that ones of the *actual* object returned
  869. by the property, not the property type - this is very special when the
  870. property exposes a type, but the returned object actually is a child
  871. class and implements more functionality and properties.
  872. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  873. * Binding.cs: Don't look for the property in the data source if the
  874. passed string is empty.
  875. 2008-09-18 Ivan N. Zlatev <[email protected]>
  876. * XplatUIX11.cs: Comment out _NET_WM_WINDOW_TYPE_DIALOG in order to
  877. fix unused variable warnings.
  878. 2008-09-18 Ivan N. Zlatev <[email protected]>
  879. * XplatUIX11.cs: Send WM_HELP when F1 is pressed.
  880. [Fixes bug #427073]
  881. 2008-09-18 Ivan N. Zlatev <[email protected]>
  882. * XplatUIX11.cs:
  883. - Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
  884. leads to the window manager overriding our border style and zorder.
  885. - Allow the activation of non-modal forms, which are children of a
  886. modal form.
  887. [Fixes bug #423417]
  888. 2008-09-17 Ivan N. Zlatev <[email protected]>
  889. * XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
  890. ask the window manager to do the work instead of changing the property
  891. directly.
  892. [Fixes bug #423417]
  893. 2008-09-17 Everaldo Canuto <[email protected]>
  894. * CurrencyManager.cs: Check for positon before call ChangeRecordState in
  895. AddNew to fix some navigation for empty datasets. [Fixes #323053]
  896. 2008-09-17 Everaldo Canuto <[email protected]>
  897. * FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
  898. InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
  899. border and fixes some drawing issues when resize form.
  900. 2008-09-17 Everaldo Canuto <[email protected]>
  901. * FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
  902. * ThemeWin32Classic.cs: We don't need to reduce button size when it is
  903. AcceptButton.
  904. 2008-09-17 Ivan N. Zlatev <[email protected]>
  905. * TextBoxBase.cs: For standard textbox the scrollbars are always
  906. visible if Multiline is true.
  907. [Fixes bug #426896]
  908. 2008-05-12 Everaldo Canuto <[email protected]>
  909. * DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
  910. patch.
  911. 2008-05-12 Everaldo Canuto <[email protected]>
  912. [Fixes most od DBNull and HeadersVisible problems]
  913. * DataGrid.cs:
  914. - ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
  915. returns the value that we need.
  916. - Fixed FromPixelToColumn method that return zero for first column and for
  917. row header cell, now it returns -1 for row header cell.
  918. - Fixed HitTest to check row header cell in column header area, it now
  919. returns HitTestType.None. [Fixes #322864]
  920. - Fixed the calculation of visible columns in UpdateVisibleColumn, now it
  921. checks for RowHeadersVisible and other things.
  922. - If an exception occurs when setting CurrentCell and user type 'yes' in
  923. message dialog, invalidade current and new cell and set setting_current_cell
  924. to false to prevent future errors. [Partially fixes #323050]
  925. * DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
  926. value (SetColumnValueAtRow), it must be done by grid to properly show
  927. messages. [Fixes #323050]
  928. * ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
  929. better draw column and row header. Also dont draw anything when column
  930. headers is not visible.
  931. 2008-09-16 Jonathan Pobst <[email protected]>
  932. * ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
  933. logic.
  934. 2008-09-16 Jonathan Pobst <[email protected]>
  935. * TreeView.cs: Don't start editing a node on right click, only
  936. left click.
  937. 2008-09-16 Jonathan Pobst <[email protected]>
  938. * NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
  939. disabled over a year ago.
  940. * Form.cs: Wrap calling Load in a try/catch because it can happen
  941. before the catch-all one in NativeWindow.
  942. [Fixes bug #425414]
  943. 2008-09-16 Jonathan Pobst <[email protected]>
  944. * ToolStripDropDownMenu.cs: Calculate the connected area better
  945. to take into account when the drop down is not directly under the
  946. owner item.
  947. * ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.
  948. 2008-09-16 Mario Carrion <[email protected]>
  949. * ScrollBar.cs: New event added: UIAValueChanged, generated when
  950. LargeChange, SmallChange, Maximum or Minimum values are changed.
  951. [Fixes bug #426464]
  952. 2008-09-16 Mario Carrion <[email protected]>
  953. * ErrorProvider.cs: Component enabled to support accessibility.
  954. * Application.cs: Updated to Initialize UIA in ErrorProvider.
  955. [Fixes bug #426459]
  956. 2008-09-16 Jonathan Pobst <[email protected]>
  957. * TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
  958. so we don't highlight on first focus.
  959. [Fixes bug #360869]
  960. 2008-09-16 Jonathan Pobst <[email protected]>
  961. * TextControl.cs: Correctly calculate the height of the area we
  962. need to invalidate when we have started scrolling and viewport_y
  963. is used. [Fixes bug #387608]
  964. 2008-09-16 Jonathan Pobst <[email protected]>
  965. * TextControl.cs: When getting the SelectedText, don't add in
  966. NewLine characters, as they are already contained in the lines.
  967. [Fixes bug #388115]
  968. 2008-09-16 Jonathan Pobst <[email protected]>
  969. * TextBoxBase.cs: Replace the buggy Lines setter with one that
  970. simply concats the lines and send it to the Text setter.
  971. [Fixes issue #2 and #3 of 388115]
  972. 2008-09-16 Carlos Alberto Cortez <[email protected]>
  973. * Binding.cs: The default value of DataSourceNullValue should be
  974. Convert.DBNull actually. Also, the NullValue should only be used *if*
  975. itself is not null, and use the null/Convert.DBNull value instead.
  976. 2008-09-15 Jonathan Pobst <[email protected]>
  977. * TextControl.cs: Add a method to convert a string newline to the
  978. newline enum.
  979. * TextBoxBase.cs: When the user hits enter, insert a native newline.
  980. [Fixes part 1 of bug #388115]
  981. 2008-09-15 Mario Carrion <[email protected]>
  982. * ToolTip.cs: UnPopup event set to internal to match public API.
  983. 2008-09-15 Jonathan Pobst <[email protected]>
  984. * TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
  985. have to remove the Ctrl in order for the focus moving code to kick in.
  986. [Fixes bug #426170]
  987. 2008-09-15 Jonathan Pobst <[email protected]>
  988. * CheckedListBox.cs: Return the real item index from Add. It may not be
  989. the last item if the list is sorted. The user can change the NewValue in
  990. the ItemCheck event, we need to use that value if so.
  991. * ListBox.cs: Return the real item index from a sorted Add.
  992. [Fixes bug #426166]
  993. 2008-09-15 Ivan N. Zlatev <[email protected]>
  994. * MimeIcon.cs: Add null checks in the GnomeHandler, because it might
  995. happen that the icons from the theme is missing or the particular size
  996. unavailable.
  997. [Fixes bug #424981]
  998. 2008-09-15 Carlos Alberto Cortez <[email protected]>
  999. * Binding.cs: When assigning null or DBNull depending on value/ref type,
  1000. use IsValueType instead to get the precise desired value.
  1001. Fixes #424276.
  1002. 2008-09-12 Jonathan Pobst <[email protected]>
  1003. * TreeNodeCollection.cs: When adding a new node to an opened node,
  1004. we have to invalidate everything below the parent node because
  1005. every node scoots down and we have to repaint them.
  1006. [Fixes bug #411386]
  1007. 2008-09-12 Jonathan Pobst <[email protected]>
  1008. * ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
  1009. property into account when drawing.
  1010. [Fixes bug #416064]
  1011. 2008-09-12 Carlos Alberto Cortez <[email protected]>
  1012. * ListBox.cs: When calling Items.Clear(), call
  1013. SelectedIndexCollection.ClearCore instead of normal Clear method, to
  1014. not fire any Selected*Changed event - this is done to match .net and
  1015. don't have invalid values when changing the DataSourceProperty.
  1016. Fixes #424273.
  1017. 2008-09-12 Mario Carrion <[email protected]>
  1018. * HelpProvider.cs: Control enabled to support accessibility.
  1019. * Application.cs: Updated to Initialize UIA in HelpProvider.
  1020. [Fixes bug #425988]
  1021. 2008-09-12 Jonathan Pobst <[email protected]>
  1022. * Form.cs: When we are showing a dialog box, if its owner is TopMost,
  1023. make the dialog TopMost as well.
  1024. [Fixes bug #425984]
  1025. 2008-09-12 Jonathan Pobst <[email protected]>
  1026. * Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
  1027. clipboard data better.
  1028. [Fixes bug #414446]
  1029. 2008-09-12 Jonathan Pobst <[email protected]>
  1030. * TextBoxBase.cs: Applied patch from John Mortlock that ensures
  1031. TextChanged and SelectionChanged events fire in the same order as .Net.
  1032. [Fixes bug #425725]
  1033. 2008-09-12 Jonathan Pobst <[email protected]>
  1034. * DataGridView.cs: When sorting a column, if it only contains numbers,
  1035. do a numeric sort instead of a string sort.
  1036. [Fixes bug #425849]
  1037. 2008-09-12 Jonathan Pobst <[email protected]>
  1038. * TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
  1039. against NRE's when the settings have a null panel.
  1040. * TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
  1041. the panel gets set.
  1042. [Fixes bug #425647]
  1043. 2008-09-11 Mario Carrion <[email protected]>
  1044. * ToolTip.cs: Control enabled to support accessibility.
  1045. * Application.cs: Updated to Initialize UIA in ToolTip.
  1046. [Fixes bug #425277]
  1047. 2008-09-11 Jonathan Pobst <[email protected]>
  1048. * Control.cs: Make the custom Enumerator internal to fix build.
  1049. 2008-09-11 Jonathan Pobst <[email protected]>
  1050. * DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
  1051. already in edit mode, begin edit mode. Generally edit mode isn't
  1052. started until the second click, but CheckBoxes are special.
  1053. 2008-09-11 Jonathan Pobst <[email protected]>
  1054. * ErrorProvider.cs: Never try to add our icons to ContainerControl,
  1055. since that can be set to anything. Always add them to the Control's
  1056. parent. [Fixes bug #416058]
  1057. 2008-09-11 Jonathan Pobst <[email protected]>
  1058. * ListView.cs: Use a custom enumerator for ListViewItemCollection
  1059. so items can be deleted in a foreach.
  1060. [Fixes bug #425342]
  1061. 2008-09-11 Jonathan Pobst <[email protected]>
  1062. * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
  1063. Store the user set explicit height so that the row can be AutoSized
  1064. and then when AutoSize is turned off, it can get its original size back.
  1065. * DataGridView.cs: Use the Row's GetPreferredHeight instead of
  1066. duplicating the logic. When setting AutoSizeRowsMode to None, reset
  1067. rows' heights back to their explicit values.
  1068. [Fixes bug #415780]
  1069. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  1070. * DateTimePicker.cs: When getting focus, select the checkbox if we are
  1071. already showing it. Also, don't change its value when pressing space
  1072. if the checkbox is not visible (ShowCheckBox as false). Finally, the
  1073. checkbox should remain selected as long as Checked is false, and the
  1074. other parts are disabled.
  1075. Fixes #424267.
  1076. 2008-09-11 Jonathan Pobst <[email protected]>
  1077. * MessageBox.cs: Handle shortcut keys to dialog buttons.
  1078. [Fixes bug #425425]
  1079. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  1080. * Binding.cs: When the value retrieved from the control property is
  1081. null, don't return Convert.DBNull for Nullable instances, since they
  1082. can *actually* get a null value.
  1083. Fixes #424265.
  1084. 2008-09-10 Jonathan Pobst <[email protected]>
  1085. * Control.cs: Add an internal field to force doublebuffering regardless
  1086. of what the public mechanisms are set to. This is because MS's native
  1087. controls are doublebuffered even though their .Net bits are set to false.
  1088. * ProgressBar.cs: Set force_double_buffer to true.
  1089. [Fixes bug #406595]
  1090. 2008-09-10 Jonathan Pobst <[email protected]>
  1091. * DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
  1092. the cell template.
  1093. * DataGridViewCheckBoxCell.cs: Add proper support for threestate.
  1094. * DataGridViewCell.cs: Implement GetEditedFormattedValue for types
  1095. without EditingControls, paint background selection for types without
  1096. EditingControls, reset the EditingCellValueChanged flag when the
  1097. cell's value is committed.
  1098. * DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
  1099. have EditingControls, remove a double call to a cell's OnContentClickInternal,
  1100. don't do cell changing logic in OnMouseDown if the cell didn't change.
  1101. [Fixes bug #420351]
  1102. 2008-09-10 Carlos Alberto Cortez <[email protected]>
  1103. * DateTimePicker.cs: Fix the edition of am/pm specifier.
  1104. 2008-09-09 Jonathan Pobst <[email protected]>
  1105. * TextControl.cs: Add "&" to the list of valid characters in a URL.
  1106. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  1107. * DateTimePicker.cs: Before incrementing or decrementing any part in
  1108. the textbox, end any current edit. Also when ending the current edit
  1109. use the editing_part_index field instead of the current selected
  1110. value, since they can be out of synch, and we really need to work on
  1111. the *real* current edit part. Finally when PartData.Selected changes,
  1112. always try to end any ongoing edit.
  1113. This should fix some small errors handling mouse navigation and
  1114. increase/decrease operations.
  1115. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  1116. * DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
  1117. respectively) should handled different, since the 12 hours format
  1118. needs the value typed by the user to be adjusted depending on the
  1119. a.m/p.m value, so it is preserved, and only changed when the value
  1120. reaches the 12 value (when it changes from a.m to p.m).
  1121. Fixes part of #416555.
  1122. 2008-09-08 Jonathan Pobst <[email protected]>
  1123. * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
  1124. * ToolStripDropDownItem.cs: Don't fire events and such again if
  1125. ShowDropDown is called on an already dropped down item.
  1126. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
  1127. subitems, the user may add some in the DropDownOpening event.
  1128. [Fixes bug #417877]
  1129. 2008-09-08 Jonathan Pobst <[email protected]>
  1130. * ComboBox.cs: Fix IOORE when setting SelectedItem to null.
  1131. [Fixes bug #424270]
  1132. 2008-09-08 Jonathan Pobst <[email protected]>
  1133. * MdiClient.cs: When looking for menustrips on a child form to merge,
  1134. look inside ToolStripContainers.
  1135. [Fixes bug #424264]
  1136. 2008-09-08 Ivan N. Zlatev <[email protected]>
  1137. * ErrorProvider.cs: Unbreak my previous commit.
  1138. 2008-09-08 Ivan N. Zlatev <[email protected]>
  1139. * ErrorProvider.cs: Icon should always be 16x16.
  1140. [Fixes bug #424380]
  1141. 2008-09-07 Ivan N. Zlatev <[email protected]>
  1142. * GridEntry.cs: Invalidate the child items cache when the property
  1143. value changes.
  1144. 2008-09-07 Ivan N. Zlatev <[email protected]>
  1145. * GridEntry.cs, PropertyGridView.cs:
  1146. - Update the ReadOnly detection and rendering to finally hopefully
  1147. match the one of MSFT.
  1148. - Niceify and move the debug CWLS.
  1149. [Fixes bug #409028]
  1150. 2008-09-05 Carlos Alberto Cortez <[email protected]>
  1151. * ListView.cs: Don't call Invalidate at all from SetItemLocation,
  1152. since we are already calling Invalidate for the entire control when
  1153. needed - and call Redraw() when size changes, since we need to paint
  1154. there by ourselved and not anymore from the mentioned method.
  1155. This should improve the layout process. Also clean some not needed calls
  1156. here and there.
  1157. 2008-09-05 Jonathan Pobst <[email protected]>
  1158. * MenuAPI.cs: Add a null check to the Alt-F4 code.
  1159. [Fixes bug #420309]
  1160. 2008-09-05 Jonathan Pobst <[email protected]>
  1161. * ThreadExceptionDialog.cs: Disable AutoScaling for this dialog.
  1162. [Fixes bug #423040]
  1163. 2008-09-04 Ivan N. Zlatev <[email protected]>
  1164. * GridEntry.cs, CategoryGridEntry.cs, RootGridEntry.cs, PropertyGrid.cs,
  1165. PropertyGridView.sc: Implement lazy/delayed propertygrid population
  1166. on item expansion. Improves performance and fixes bug #417955.
  1167. [Fixes bug #417955]
  1168. 2008-09-05 Stephane Delcroix <[email protected]>
  1169. * Control.cs: only check for OptimizedDoubleBuffer in NET_2_0.
  1170. fix the build.
  1171. 2008-09-04 Jonathan Pobst <[email protected]>
  1172. * TextControl.cs: Add "_" to the list of valid characters in a URL.
  1173. [Fixes bug #423408]
  1174. 2008-09-04 Jonathan Pobst <[email protected]>
  1175. * Control.cs: If using OptimizedDoubleBuffer, ensure the clip
  1176. region gets set.
  1177. [Fixes bug #414166]
  1178. 2008-09-04 Jonathan Pobst <[email protected]>
  1179. * FontDialog.cs: When storing our font size from the starting font,
  1180. use SizeInPoints instead of Size in case Size is a different unit
  1181. from Points.
  1182. [Fixes bug #416489]
  1183. 2008-09-04 Jonathan Pobst <[email protected]>
  1184. * FileDialog.cs: When enter is pressed on a SaveFileDialog and we
  1185. don't use it for anything else, check if a directory is highlighted.
  1186. If it is, navigate into it.
  1187. [Fixes bug #422087]
  1188. 2008-09-04 Carlos Alberto Cortez <[email protected]>
  1189. * Binding.cs: When acquiring a BindingManagerBase for the first time,
  1190. check that the specified property actually exists in the data source,
  1191. and throw an ArgumentException if that's not the case - this is only
  1192. done for this scenario, since for later cases (such Position changes)
  1193. we throw different exceptions (match .Net).
  1194. 2008-09-03 Ivan N. Zlatev <[email protected]>
  1195. * ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  1196. FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  1197. PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  1198. TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  1199. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  1200. ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  1201. properties.
  1202. [Fixes bug #418684]
  1203. 2008-09-03 Neville Gao <[email protected]>
  1204. * StatusBar.cs: Control enabled to support accessibility.
  1205. [Fixes bug #419079]
  1206. 2008-09-02 Carlos Alberto Cortez <[email protected]>
  1207. * Binding.cs: When connecting the event handler for the "Changed"
  1208. event for the property, only do it for PropertyManager, and not for
  1209. CurrencyManager - this is exactly what does .Net, totally ignoring any
  1210. change in the property of the elements of a list.
  1211. Fixes the tests.
  1212. 2008-09-02 Jonathan Pobst <[email protected]>
  1213. * XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
  1214. to Windows when creating a window, as we fake MDI stuffs.
  1215. [Fixes bug #421858]
  1216. 2008-09-01 Ivan N. Zlatev <[email protected]>
  1217. * TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
  1218. change takes effect.
  1219. 2008-08-24 Ivan N. Zlatev <[email protected]>
  1220. * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
  1221. [Fixes bug #419001]
  1222. 2008-08-27 Jonathan Pobst <[email protected]>
  1223. * DataGridView.cs: Raise CellContentClick event.
  1224. [Fixes part of bug #420351]
  1225. 2008-08-27 Mario Carrion <[email protected]>
  1226. * ScrollBar.cs: Control enabled to support accessibility.
  1227. [Fixes bug #416759]
  1228. 2008-08-27 Mario Carrion <[email protected]>
  1229. * ComboBox.cs: Control enabled to support accessibility.
  1230. [Fixes bug #416663]
  1231. 2008-08-27 Mario Carrion <[email protected]>
  1232. * ListBox.cs: Control enabled to support accessibility.
  1233. [Fixes bug #416640]
  1234. 2008-08-27 Jonathan Pobst <[email protected]>
  1235. * ComboBox.cs: Don't suppress the TextChanged event when changing
  1236. the SelectedIndex.
  1237. * ToolStripComboBox.cs: Listen to the ComboBox's TextChanged event
  1238. and re-raise it.
  1239. [Fixes bug #420673]
  1240. 2008-08-26 Jonathan Pobst <[email protected]>
  1241. * ErrorProvider.cs: Fix a regression NRE when setting properties
  1242. for a control before it has a parent.
  1243. [Fixes bug #420305]
  1244. 2008-08-25 Carlos Alberto Cortez <[email protected]>
  1245. * Binding.cs: Use the BindingManagerBase.Current value to obtain
  1246. connect the property "Changed" event, instead of using the data
  1247. sources - this is useful when the property specifies actually a
  1248. multiple objects path.
  1249. Fixes part of #417973.
  1250. 2008-08-24 Carlos Alberto Cortez <[email protected]>
  1251. * RelatedPropertyManager.cs: PropertyManager instances associated to a
  1252. nested properties should return not the properties of the data source
  1253. itself, but the properties of the type of a specific property in the
  1254. data source - match .net.
  1255. 2008-08-24 Gert Driesen <[email protected]>
  1256. * ListBox.cs (IntegerCollection): To avoid duplication, moved code for
  1257. AddRange overloads into AddItems method, and added missing NULL check.
  1258. Added extra argument check to RemoveAt for compatibility with MS.
  1259. Modified IList implementation of Add, Contains, IndexOf and Remove to
  1260. throw an ArgumentException if item is not an int. Modified IList.Insert
  1261. to throw a NotSupportException instead of an Exception. Implemented
  1262. ICollection.
  1263. (ObjectCollection): To avoid duplication, use AddItems method from
  1264. AddRange overloads. On 1.0 profile, first perform NULL check on items
  1265. in AddItems.
  1266. 2008-08-23 Gert Driesen <[email protected]>
  1267. * Control.cs: Do not modify bounds directly in .ctor's. Fixes bug
  1268. #419087.
  1269. 2008-08-22 Atsushi Enomoto <[email protected]>
  1270. * X11Keyboard.cs : comment out some Console.WriteLine().
  1271. 2008-08-22 Atsushi Enomoto <[email protected]>
  1272. * X11Keyboard.cs : fixed wrong call to XOpenIM() which happened
  1273. even if premises are not filled. Also XLookupString() was not
  1274. receiving correct input, which blocked precise input handling
  1275. on non-XIM mode.
  1276. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1277. * ListView.cs: When calling OnCacheVirtualItems, cast to the right
  1278. type of delegate, instead of EventHandler - this was causing a type
  1279. cast exception in all apps handling this event.
  1280. Fixes #417876.
  1281. 2008-08-20 Jonathan Pobst <[email protected]>
  1282. * ToolStripDropDownItem.cs: Always raise DropDownOpening in
  1283. ShowDropDown to give the user a chance to dynamically add
  1284. drop down items. [Step 1 of fixing bug #417877]
  1285. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1286. * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
  1287. had any mouse motion since the call to StartDrag, to match the dnd
  1288. behaviour of .net.
  1289. Fixes part of #381876.
  1290. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1291. * XplatUIX11.cs: Only do the children control bounds check for EnterNotify
  1292. if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
  1293. Also, if we are actually moving into a different window after
  1294. grabbing, generate a LeaveNotify event for the previous window, since
  1295. we need to fire the leave events until the grab ends, not when
  1296. actually moving outside of the control.
  1297. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  1298. * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
  1299. events only for client windows was wrong - we need to compare the
  1300. client window against the window receiving the EnterNotify event, not
  1301. against zero (since client window is never Zero, btw).
  1302. This prevents having unnecessary handling of EnterNotify events for
  1303. non-client windows when a gran begins.
  1304. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  1305. * XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
  1306. MouseMove/MotionNotify events at all (which should only happen after
  1307. MouseUp/ButtonRelease, as .Net does).
  1308. This avoids firing an extra and unnecessary MouseMove event just after
  1309. every MouseDown event.
  1310. 2008-08-19 Jonathan Pobst <[email protected]>
  1311. * LinkLabel.cs: Always clear any previous links when LinkArea
  1312. is set. [Fixes bug #410709]
  1313. 2008-08-19 Jonathan Pobst <[email protected]>
  1314. * ToolStripProfessionalRenderer.cs: Revert last change.
  1315. * ProfessionalColorTable.cs: For Classic, use SystemColors.Window
  1316. for ToolStripDropDownBackground.
  1317. 2008-08-19 Jonathan Pobst <[email protected]>
  1318. * ToolStripProfessionalRenderer.cs: Use Window color for the
  1319. background of dropdowns to match .Net when the user is not
  1320. using the default white. [Fixes bug #418108]
  1321. 2008-08-19 Atsushi Enomoto <[email protected]>
  1322. * XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  1323. it caused timer registration twice. Fixed bug #418107.
  1324. 2008-08-18 Carlos Alberto Cortez <[email protected]>
  1325. [Correction: This is the actual change to X11Dnd issue, not the
  1326. previous one, which was actually a different issue.]
  1327. * X11Dnd.cs: Increase the interval for the Timer, to not fire our
  1328. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  1329. when the pointer is actually in motion, but only when the pointer
  1330. seems to stop (as .net does).
  1331. Fixes part of #381876.
  1332. 2008-08-18 Jonathan Pobst <[email protected]>
  1333. * ListBox.cs: Fix CopyTo implementation.
  1334. [Fixes bug #409169]
  1335. 2008-08-18 Jonathan Pobst <[email protected]>
  1336. * ThemeWin32Classic.cs: Use ClientRectangle instead of Bounds when
  1337. drawing a ComboBox's background. Fixes bad disabled rendering when
  1338. the control is not at 0,0.
  1339. [Fixes bug #416063]
  1340. 2008-08-16 Ivan N. Zlatev <[email protected]>
  1341. * GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
  1342. ComponentModel layer, which will properly prioritize the attributes.
  1343. Avoids wrong prioritization of duplicate attributes when retrieving
  1344. the converter and editor.
  1345. [Fixes bug #417729]
  1346. 2008-08-15 Carlos Alberto Cortez <[email protected]>
  1347. * XplatUIX11.cs: Increase the interval for the Timer, to not fire our
  1348. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  1349. when the pointer is actually in motion, but only when the pointer
  1350. seems to stop (as .net does).
  1351. Fixes part of #381876.
  1352. 2008-08-15 Ivan N. Zlatev <[email protected]>
  1353. * GridEntry.cs: Perform stricter check for the ParentEntry's
  1354. PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
  1355. implementation.
  1356. [Fixes bug #417567]
  1357. 2008-08-14 Geoff Norton <[email protected]>
  1358. * XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
  1359. Fixes #396983. Properly fix ActiveWindow trackin and do not
  1360. prematurely show POPUP windows.
  1361. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  1362. * XplatUIX11.cs: Handle the obscured regions while scrolling using
  1363. GraphicsExpose event, processing it just after we copy the scrolled
  1364. area. This ensures that the next calls to ScrollWindow will copy
  1365. regions already updated, and the scrolling will be smooth. Also remove
  1366. the code that was trying to detect the obscured regions, since we are
  1367. not using it anymore (too slow).
  1368. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  1369. * ListBox.cs: Fix the -temporary- broken selection in ListBox for
  1370. MultiExtended mode, by separating some logic between the ctrl/shift
  1371. handling. Also ignore any MouseMove events generated together with
  1372. MouseDown events - we are only interested in the real motion event.
  1373. Fixes part of #414963.
  1374. 2008-08-08 Jonathan Pobst <[email protected]>
  1375. * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
  1376. is selected. [Fixes bug #414143]
  1377. 2008-08-07 Ivan N. Zlatev <[email protected]>
  1378. * GridEntry.cs: Check if current property is a ICustomTypeDescriptor
  1379. and not the parent one (the propertyowner). Fixes the behavior of
  1380. GetConverter/GetEditor.
  1381. [Fixes bug #415452]
  1382. 2008-08-07 Ivan N. Zlatev <[email protected]>
  1383. * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
  1384. [Fixes part of bug #415452]
  1385. 2008-08-05 Ivan N. Zlatev <[email protected]>
  1386. * GridEntry.cs: ITypeDescriptorContext should be relative to the parent
  1387. GridEntry, not the current.
  1388. [Fixes bug #413896]
  1389. 2008-08-04 Ivan N. Zlatev <[email protected]>
  1390. * TextBoxBase.cs: De-internalize max_length field.
  1391. * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
  1392. share the same logic.
  1393. [Fixes bug #414454]
  1394. 2008-08-03 Carlos Alberto Cortez <[email protected]>
  1395. * ListBox.cs: Selection changes made in the MouseDown handler should
  1396. use the *Core versions of selection in SelectedIndices collection,
  1397. since the SelectedIndexChanged/SelectedValueChanged events are fired
  1398. until we get a MouseUp event, and thus we need to separate the logic
  1399. from the events, as done in the keyboard navigation. Also, fire those
  1400. selection events from keyboard navigation in SelectionMode.None, even
  1401. if we don't have a selection, as .Net does.
  1402. 2008-08-01 Jonathan Pobst <[email protected]>
  1403. * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
  1404. last change introduced when an item is clicked but isn't on a toolstrip.
  1405. 2008-07-31 Carlos Alberto Cortez <[email protected]>
  1406. * ListBindingHelper.cs: When looking for an object's properties, check
  1407. if it implements ICustomTypeDescriptor, in which case we should
  1408. resolve the propertu based on its GetProperties method, not in its
  1409. actual properties. This is what .Net seems to do.
  1410. Fixes a UsingWebBrowser problem during initialization.
  1411. 2008-07-31 Jonathan Pobst <[email protected]>
  1412. * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
  1413. sitting on a MenuStrip.
  1414. 2008-07-31 Jonathan Pobst <[email protected]>
  1415. * ToolStripButton.cs: If we "click" a top button on a menustrip that has
  1416. no children with the keyboard, we need to release the keyboard capture.
  1417. [Fixes bug #413567]
  1418. 2008-07-31 Jonathan Pobst <[email protected]>
  1419. * ToolStripMenuItem.cs: If we "click" a top level menu item that has
  1420. no children with the keyboard, we need to release the keyboard capture.
  1421. [Fixes bug #413567]
  1422. 2008-07-31 George Giolfan <[email protected]>
  1423. * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
  1424. the GTK+-based implementation of VisualStyles.
  1425. * ThemeWin32Classic.cs: Exposed various layout values for use in the
  1426. GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
  1427. ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
  1428. ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
  1429. TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
  1430. TrackBarHorizontalTrackHeight.
  1431. 2008-07-31 George Giolfan <[email protected]>
  1432. * TabControl.cs: Added hot style handling for the scroll buttons.
  1433. right_slider_state, left_slider_state are now of type PushButtonState to
  1434. allow for a hot state. Added tracking of the mouse button being held down
  1435. on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
  1436. LeftScrollButtonArea.
  1437. * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
  1438. TabControlGetRightScrollRect.
  1439. 2008-07-30 Everaldo Canuto <[email protected]>
  1440. * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent
  1441. runtime errors.
  1442. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1443. * Form.cs: Ensure that we reset the shown_raised flag after
  1444. the form is closed, so that we raise the show events the next
  1445. time the form is shown.
  1446. [Fixes bug #413141]
  1447. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1448. * Form.cs: Ensure closing events are raised only once.
  1449. [Fixes bug #413143]
  1450. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1451. * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode,
  1452. so that we can successfully generate the LParam in-place instead of
  1453. in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard
  1454. navigation for menus.
  1455. 2008-07-30 Everaldo Canuto <[email protected]>
  1456. * MenuAPI.cs: When montion don't set the keyboard navigation state to
  1457. 'navigating'. Fixes bug #411356.
  1458. 2008-07-30 Everaldo Canuto <[email protected]>
  1459. [Fixed remaining issues of #406773 (#1)]
  1460. * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
  1461. * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
  1462. MainMenu (already done) and ContextMenu creation.
  1463. * ContextMenu.cs: Create tracker on construction.
  1464. 2008-07-30 Everaldo Canuto <[email protected]>
  1465. * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
  1466. possible to instantiate MenuTracker without GrabControl.
  1467. 2008-07-30 Everaldo Canuto <[email protected]>
  1468. * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
  1469. * MainMenu.cs: Set GrabControl on SetForm using current form.
  1470. 2008-07-30 Everaldo Canuto <[email protected]>
  1471. * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
  1472. 2008-07-30 Everaldo Canuto <[email protected]>
  1473. * MenuAPI.cs: Check if menu is activated before deactivate it in
  1474. ProcessShortcut.
  1475. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1476. * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
  1477. ColumnStyle.cs:
  1478. Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
  1479. - One style instance can only participate in a single style collection.
  1480. - Styles can request their owner to layout whenever their properties
  1481. change.
  1482. [Fixes bugs #412583 and #412582]
  1483. 2008-07-29 Ivan N. Zlatev <[email protected]>
  1484. * X11Keyboard.cs: Implement the generation of the LParam for
  1485. all keyboard messages.
  1486. [Fixes bug #378728]
  1487. 2008-07-29 Jonathan Pobst <[email protected]>
  1488. * ListBox.cs: Don't let the user set TopIndex so high that it
  1489. scrolls up far enough to show empty items.
  1490. [Fixes bug #412728]
  1491. 2008-07-29 Carlos Alberto Cortez <[email protected]>
  1492. * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
  1493. (I'm an idiot and forgot to commit the actual changes, as well as
  1494. specify the right file, which is this one, not ListView.cs).
  1495. 2008-07-28 Carlos Alberto Cortez <[email protected]>
  1496. * ListView.cs: Don't draw ListViewSubItem instances from
  1497. DrawListViewItem - we need to reuse the main item's drawing for the
  1498. first sub item in case owner draw is true, but wants the system to
  1499. do the default draw for the first sub item, without incurring in a
  1500. recursion problem.
  1501. Fixes #410880.
  1502. 2008-07-28 Jonathan Pobst <[email protected]>
  1503. * ToolStripButton.cs: Update Checked for CheckOnClick before
  1504. raising the Click event. [Fixes bug #412505]
  1505. 2008-07-28 Ivan N. Zlatev <[email protected]>
  1506. * Form.cs: Remove some seems leftover code for non-TopLevel's
  1507. CreateParams, which is breaking ClientSize sizing, because it
  1508. removes the border window styles.
  1509. 2008-07-27 Ivan N. Zlatev <[email protected]>
  1510. * PropertyGrid.cs: Invalidate the View when the PropertyTab
  1511. changes.
  1512. 2008-07-25 Gert Driesen <[email protected]>
  1513. * WebBrowser.cs: Removed debug output.
  1514. 2008-07-25 Jonathan Pobst <[email protected]>
  1515. * FileDialog.cs: Apply patch from Ernesto to clean up some
  1516. dialog messages.
  1517. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1518. * TableLayoutPanel.cs: Perform layout on GrowStyle change, so
  1519. that the change has an immediate effect.
  1520. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1521. * ScrollableControl.cs: Update PerformLayout calls to include
  1522. provide the name of the property that changed.
  1523. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1524. * TableLayoutPanel.cs: Draw relative to the DisplayRectangle
  1525. location. Fixes drawing of border and cell borders if scrollable.
  1526. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1527. * ScrollableControl.cs: Perform layouting after the AutoScroll
  1528. properties have changed, so that the changes have immediate
  1529. effect.
  1530. [Fixes bug #409090]
  1531. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1532. * XplatUIX11.cs: Non Client area is actually Client such in the
  1533. case of NotifyIcon, so double check WholeWindow == ClientWindow
  1534. when adding an expose.
  1535. [Fixes bugs #324237 and #357022]
  1536. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1537. * TableLayoutPanel.cs: Invalidate after layouting, so that we
  1538. repaint the cell borders.
  1539. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1540. * PropertyGridTextBox.cs: Stop filtering messages prior to our
  1541. disposal to avoid unexpected ObjectDisposedExceptions.
  1542. 2008-07-24 Ivan N. Zlatev <[email protected]>
  1543. * TableLayoutPanel.cs: Layout on Row/Column count change.
  1544. 2008-07-22 Gert Driesen <[email protected]>
  1545. * ListViewItem.cs: Changed binary serialization to match MS. Fixes
  1546. bug #409351.
  1547. * PictureBox.cs: When ImageLocation is set to null or an empty string,
  1548. only set image to null if it was previously initialized from an url
  1549. (or using ImageLocation). In ImageLocation, load specified image
  1550. asynchronously if WaitOnLoad is false. Added support for local file
  1551. paths to LoadAsync, and added missing argument check.
  1552. 2008-07-22 Carlos Alberto Cortez <[email protected]>
  1553. * DateTimePicker.cs:
  1554. * ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
  1555. order to set the value as required (which means: when selection
  1556. changes for a part being edited, and not before that if not needed).
  1557. Also use an enum to describe which part are we using, and use the
  1558. selection as a property in PartData, in order to notify the
  1559. DateTimePicker owner that we need to end the current edit.
  1560. Fixes #383462.
  1561. 2008-07-17 Ivan N. Zlatev <[email protected]>
  1562. * PropertyGridTextBox.cs: Validation should be performed only if we
  1563. are focused. We can lose focus for example if the Return key is used
  1564. to set the entry and there is an error. When the message box is
  1565. displayed we would have validate on click in the message box.
  1566. 2008-07-16 Ivan N. Zlatev <[email protected]>
  1567. * GridEntry.cs: Checking for DesignerSerializaitonVisibility.Content
  1568. in order to determine that we are expandable is wrong. There was a bug,
  1569. now fixed, in TypeDescriptor that was causing the wrong converter to be
  1570. returned which caused GetPropertiesSupported == false in most cases.
  1571. [Fixes bug #409027]
  1572. 2008-07-15 Jonathan Pobst <[email protected]>
  1573. * ImageList.cs: Fix ICollection.CopyTo implementation for
  1574. ImageListCollection. [Fixes bug #409169]
  1575. 2008-07-14 Jonathan Pobst <[email protected]>
  1576. * MenuAPI.cs, ToolStripDropDown.cs: Use VirtualScreen instead of
  1577. WorkingArea so that menus can appear on the second monitor
  1578. when one has dual monitors.
  1579. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1580. * TextBox.cs: Auto complete stuff in WndProc should be 2.0 only.
  1581. Fixes build.
  1582. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1583. * TextBox.cs: Implement navigation support for auto complete in
  1584. TextBox, as well as refactor the code to show the auto complete window
  1585. when receiving a WM_CHAR message, instead of TextChanged, since
  1586. autocomplete itself should be able to set the Text a lot of times and
  1587. finally only typing should show it, not changes from code.
  1588. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1589. * TabControl.cs: When expanding the selected tab, don't adjust the
  1590. width if alignment is Right, since it has a different offset than 0,
  1591. as opposed to the other alignments.
  1592. Fixes the selected tab not being painted at all with alignment = Right
  1593. and using FillToRight size mode.
  1594. 2008-07-14 Jonathan Pobst <[email protected]>
  1595. * TreeView.cs: Fix ToString to match MS. [Fixes bug #409029]
  1596. 2008-07-14 Jonathan Pobst <[email protected]>
  1597. * NumericUpDown.cs: Apply patch from Andy Hume to clamp out of range
  1598. values from the textbox to the boundary values. [Fixes bug #409026]
  1599. 2008-07-14 Jonathan Pobst <[email protected]>
  1600. * TreeNodeCollection.cs: We were copying one too many elements when
  1601. doing our array copy. Fixes a crash when RemoveAt is called.
  1602. [Fixes bug #408999]
  1603. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1604. * TabControl.cs: When doing the layout and need to call FillRow -using
  1605. FillToRight size mode-, use the overload receiving a bool param
  1606. indicating whether we need to do a vertical or horizontal calculation.
  1607. Fixes part of #399583.
  1608. 2008-07-13 Carlos Alberto Cortez <[email protected]>
  1609. * TextBox.cs: When painting, use the value returned by
  1610. GetLastVisibleItem instead of using the cached last_item field, since
  1611. there could be a desynchronization between the layout and the
  1612. painting. Fixes a AOOR exception in auto complete mode.
  1613. 2008-07-12 George Giolfan <[email protected]>
  1614. * ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
  1615. NonClientAreaEnabled until our VisualStyles is modified to allow it.
  1616. 2008-07-12 Gert Driesen <[email protected]>
  1617. * TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
  1618. 2008-07-11 Carlos Alberto Cortez <[email protected]>
  1619. * TextBox.cs: When focus is lost, if the auto complete listbox is
  1620. visible, hide it.
  1621. 2008-07-11 George Giolfan <[email protected]>
  1622. * InternalWindowManager.cs: HandleSizing: Implemented a better minimum
  1623. tracking size for tool windows.
  1624. * Theme.cs, ThemeWin32Classic.cs : Extracted
  1625. ManagedWindowSpacingAfterLastTitleButton.
  1626. 2008-07-11 Jonathan Pobst <[email protected]>
  1627. * ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
  1628. They are bit-rotted and have always been listed as "unsupported".
  1629. 2008-07-11 Jonathan Pobst <[email protected]>
  1630. * PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
  1631. 2008-07-11 George Giolfan <[email protected]>
  1632. * ThemeVisualStyles.cs: Fixed minimized window height adjustment.
  1633. 2008-07-10 Jonathan Pobst <[email protected]>
  1634. * ListBox.cs: Make sure last_item_visible gets reset before we try
  1635. to do a layout due to scrollbars appearing or disappearing.
  1636. [Fixes bug #408139]
  1637. 2008-07-10 Jonathan Pobst <[email protected]>
  1638. * XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
  1639. for different window themes. [Fixes bug #339140]
  1640. 2008-07-10 George Giolfan <[email protected]>
  1641. * ThemeWin32Classic.cs: Implemented minimized window border width properly,
  1642. in ManagedWindowBorderWidth.
  1643. 2008-07-10 Jonathan Pobst <[email protected]>
  1644. * InternalWindowManager.cs: Change MouseMove to take a point, so
  1645. we can use the same point later on.
  1646. * MdiWindowManager.cs: Store point sent to MouseMove so we can
  1647. later reset to it. On Windows, the Cursor.Position had already
  1648. changed by the time we were resetting to it.
  1649. [Fixes bug #363239]
  1650. 2008-07-10 Jonathan Pobst <[email protected]>
  1651. * InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
  1652. are inactive.
  1653. * ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
  1654. user requested it.
  1655. [Fixes bug #398686]
  1656. 2008-07-10 Jonathan Pobst <[email protected]>
  1657. * MdiWindowManager.cs: Double-clicking on the title bar should not
  1658. maximize a MDI form if MaximizeBox = false.
  1659. 2008-07-10 George Giolfan <[email protected]>
  1660. * ThemeVisualStyles.cs: Fixed a warning.
  1661. 2008-07-10 George Giolfan <[email protected]>
  1662. * ThemeVisualStyles.cs: Fixed warnings and formatted.
  1663. 2008-07-10 George Giolfan <[email protected]>
  1664. * ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
  1665. implementation produces a better result.
  1666. 2008-07-10 George Giolfan <[email protected]>
  1667. * ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
  1668. windows.
  1669. 2008-07-10 George Giolfan <[email protected]>
  1670. * Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
  1671. cannot be used from the ThemeEngine constructor.
  1672. * ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
  1673. Application.VisualStylesEnabled because it does not work on X11.
  1674. 2008-07-09 Jonathan Pobst <[email protected]>
  1675. * StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
  1676. that we did not always check for, as well as fixes to the IList
  1677. implementations. [Fixes bug #402703]
  1678. 2008-07-09 George Giolfan <[email protected]>
  1679. * IDeviceContext.cs: Added Dispose.
  1680. 2008-07-09 George Giolfan <[email protected]>
  1681. * Control.cs: Added OnSizeInitializedOrChanged.
  1682. * Form.cs: OnLoadInternal: Added a call to
  1683. Control.OnSizeInitializedOrChanged.
  1684. * InternalWindowManager.cs:
  1685. * HandleTitleBarMouseMove: No longer invalidates the parent window.
  1686. * DrawTitleButton: Extracted Theme.ManagedWindowDrawMenuButton.
  1687. * TitleButton: Added Entered.
  1688. * TitleButtons.MouseMove: Added handling of TitleButton.Entered.
  1689. * MdiWindowManager.cs:
  1690. * HandleTitleBarMouseMove: Now invalidates the parent window when a mouse
  1691. move over the maximized title buttons causes a change.
  1692. * IsActive: Can now be called before the window is added to a MDI parent.
  1693. * Theme.cs: Added ManagedWindowTitleButtonHasHotElementStyle,
  1694. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  1695. * ThemeVisualStyles.cs: Implemented proper managed window rendering.
  1696. * ThemeWin32Classic.cs:
  1697. * Extracted ManagedWindowDrawTitleBarAndBorders, ManagedWindowDrawTitleButton.
  1698. * DrawTitleButton takes a new form parameter.
  1699. * Added ManagedWindowTitleButtonHasHotElementStyle,
  1700. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  1701. 2008-07-09 George Giolfan <[email protected]>
  1702. * ThemeEngine.cs: ThemeVisualStyles is now selected if
  1703. Application.EnableVisualStyles has been called, even if the current system
  1704. configuration does not support rendering with Visual Styles.
  1705. * ThemeVisualStyles.cs: Now falls back to ThemeWin32Classic when Visual
  1706. Styles should not be used.
  1707. 2008-07-08 Jonathan Pobst <[email protected]>
  1708. * ComboBox.cs: PreferredHeight is not tied to ItemHeight. Fixes 3rd
  1709. ComboBox in FormsTest.
  1710. 2008-07-08 Ivan N. Zlatev <[email protected]>
  1711. * ThemeWin32Classic.cs: (ManagedWindowBorderWidth): width 3 is only
  1712. for fixed toolwindows.
  1713. 2008-07-08 George Giolfan <[email protected]>
  1714. * Form.cs: SetBoundsCore: Added minimum size for minimized windows.
  1715. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1716. * Control.cs: CreateControl just returns if the Control is diposed
  1717. and doesn't throw ObjectDisposedException.
  1718. [Fixes bug #406566]
  1719. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1720. * Control.cs: Do not create the control if the parent isn't created
  1721. yet, e.g in the case of a parented form on which .Show is called.
  1722. It will be created when the parent is made visible/created.
  1723. Improves #402446.
  1724. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1725. * Form.cs: Avoid recursively calling OnSizeChanged due to recursive
  1726. WM_WINDOWPOSCHANGED caused by the layouting code on win32.
  1727. [Fixes bug #406786]
  1728. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1729. * Form.cs: When disposed set owner to null. Improves #402446.
  1730. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1731. * Form.cs, FlowLayoutPanel.cs: When calculating the PreferredSize
  1732. use children's PreferredSize if in AutoSize mode and ExplicitBounds
  1733. if not.
  1734. * Form.cs: Take the Padding into account for the PreferredSize.
  1735. [Fixes bug #402849]
  1736. 2008-07-07 Carlos Alberto Cortez <[email protected]>
  1737. * TabControl.cs: Since we don't support more than one direction in
  1738. TabControl rows alignment (this is, the row becomes the
  1739. bottom row when selected), make Direction return always 1. This way
  1740. the layout doesn't get confused about a bad calculation.
  1741. Fixes #399582.
  1742. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1743. * XplatUIX11.cs: Implement NC hit-testing for mouse down/up messages,
  1744. so that the wparam is properly set.
  1745. Fixes form moving in the test case in bug 402446.
  1746. 2008-07-07 Jonathan Pobst <[email protected]>
  1747. * FolderBrowserDialog.cs: If we can't find the SelectedPath, display
  1748. the full tree instead of nothing. [Improves bug #406584]
  1749. 2008-07-07 George Giolfan <[email protected]>
  1750. * ThemeWin32Classic.cs: Adjusted minimized window painting.
  1751. 2008-07-07 George Giolfan <[email protected]>
  1752. * InternalWindowManager.cs: No longer draws decorations for maximized MDI
  1753. children.
  1754. 2008-07-04 Jonathan Pobst <[email protected]>
  1755. * TreeView.cs: Add a null check when using CollapseAll on an
  1756. empty tree. [Fixes bug #406449]
  1757. 2008-07-03 Jonathan Pobst <[email protected]>
  1758. * Form.cs: Make OnMenuComplete internal so we can call it.
  1759. * MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
  1760. [Fixes bug #399321]
  1761. 2008-07-03 Jonathan Pobst <[email protected]>
  1762. * TabControl.cs: Handle Up and Down keys when TabControl is in
  1763. vertical alignment.
  1764. [Fixes bug #399585]
  1765. 2008-07-03 Jonathan Pobst <[email protected]>
  1766. * TabControl.cs: Invalidate when we remove a tab. Guard against
  1767. an AOORE when trying to remove a tabpage that is not owned by the
  1768. parent control.
  1769. [Fixes bug #399927]
  1770. 2008-07-03 Jonathan Pobst <[email protected]>
  1771. * ScrollBar.cs: Change the LargeChange calculation to be correct.
  1772. Ensure we are using LargeChange instead of large_change so we our
  1773. calculations are correct.
  1774. [Fixes bug #403122]
  1775. 2008-07-03 Jonathan Pobst <[email protected]>
  1776. * TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
  1777. we need to ensure the ColumnCount/RowCount gets set.
  1778. [Fixes bug #404851]
  1779. 2008-07-02 Carlos Alberto Cortez <[email protected]>
  1780. * ListBox.cs: When handling item navigation, if selection mode is
  1781. None, call EnsureVisible, since scrolling is normally handled by
  1782. selection, that we are not calling in this case.
  1783. Fixes #398345.
  1784. 2008-07-02 Jonathan Pobst <[email protected]>
  1785. * ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
  1786. a null check to our focus walking code. [Fixes bug #394332]
  1787. 2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
  1788. * ComboBox.cs: Case missed in bug 379596 "Support item
  1789. navigation by entering text": On _close_ drop-down select
  1790. the first item matching the text in the textbox. [Fixes bug #397265]
  1791. 2008-07-02 Jonathan Pobst <[email protected]>
  1792. * DataGridView.cs: Fix a crash when sorting by column headers,
  1793. mentioned in bug #404841. Remove some dead switch cases.
  1794. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  1795. * ComboBox.cs:
  1796. * TextBox.cs: Implement AutoComplete support for ComboBox, which just
  1797. uses the AutoComplete support in the internal TextBox. Also TextBox
  1798. can store a reference to ComboBox, in case AutoCompleteSource is set
  1799. to ListItems (this is, ComboBox's items, and we don't want to pass an
  1800. additional collection).
  1801. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  1802. * ListViewItem.cs: Restore the initial value of bounds rect to
  1803. Rectangle.Empty, and is this value for Layout detection in virtual
  1804. mode. Fixes the tests.
  1805. 2008-06-30 Jonathan Pobst <[email protected]>
  1806. * XPlatUI.cs: Remove references to "new" X11 backend.
  1807. 2008-06-28 Ivan N. Zlatev <[email protected]>
  1808. * Control.cs: Add an internal virtual OnDragDropEnd method
  1809. to allow controls such as ListBox, which depend on a sequence
  1810. of MouseDown+Move+End events, to handle the lack of a MouseUp
  1811. when a DnD operation is started in MouseDown.
  1812. * ListBox.cs: If a DnD operation is started in MouseDown we won't
  1813. get a MouseUp, so reset our state whenever a DnD operation ends.
  1814. 2008-06-28 Ivan N. Zlatev <[email protected]>
  1815. * PropertyGrid.cs: Clear the root griditem first thing when
  1816. new object/s is/are selected. Fixes some rare cases where
  1817. the View will get a paint request and won't know that the
  1818. grid is in the process of repopulating.
  1819. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1820. * XplatUIX11.cs, InternalWindowManager.cs:
  1821. If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
  1822. doesn't automagically update the FormBorderStyle, so we must
  1823. double check the CreateParams explicitly to determine if the
  1824. window is a toolwindow.
  1825. * ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
  1826. instead of doing custom checks.
  1827. Fixes toolwindows for the test case in bug #402446
  1828. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1829. * Control.cs: Visibility of the control should be false
  1830. when the handle is destroyed in WmDestroy and not immediately
  1831. in Dispose(). This is effectively where the disposing process
  1832. ends even though the control is marked as Disposed immediately
  1833. after calling Dispose().
  1834. [Fixes bug #402446]
  1835. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1836. * PropertyGridTextBox.cs: Start monitoring the mouse clicks
  1837. when the textbox gets focus.
  1838. [Fixes bug #402704]
  1839. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1840. * PropertyGridTextBox.cs, PropertyGridView.cs:
  1841. - Alt + Down should show the drop down editor.
  1842. - Focus the editor when showing it
  1843. [Fixes bug #402710]
  1844. 2008-06-25 Jonathan Pobst <[email protected]>
  1845. * ThemeWin32Classic.cs: Fix from Andy for panel text for panels
  1846. that are not the first panel.
  1847. * StatusBar.cs: Ensure that the X coordinate of panels is always
  1848. stored. Fix IList implementation of StatusBarPanelCollection to
  1849. call the regular methods.
  1850. [Fixes bug #403599, #402165]
  1851. 2008-06-23 Jonathan Pobst <[email protected]>
  1852. * ThemeWin32Classic.cs: Fix position calculation for centered
  1853. text on status bar panels. [Fixes bug #402165]
  1854. 2008-06-22 Ivan N. Zlatev <[email protected]>
  1855. * Splitter.cs: Fix Splitter to:
  1856. - Work for arbitrary splitter size
  1857. - Handle MinSize and MinExtra properly
  1858. - Get rid of absolute positioning during drag and use relative
  1859. - Multiple other fixes
  1860. [Fixes bug #338966]
  1861. 2008-06-22 Ivan N. Zlatev <[email protected]>
  1862. * Cursor.cs: Show shouldn't hide the cursor.
  1863. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  1864. * ListViewItem.cs: When invalidating, add some extra space to bounds,
  1865. since focus rectangle and selection can add some space and need to
  1866. take into account those small offsets - specially in Details view.
  1867. * ListView.cs: Instead of invalidate using item Bounds directly, call
  1868. item.Invalidate, to have the code centralized.
  1869. Fixes focused/selection garbage when selecting and deselecting items
  1870. that are close.
  1871. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  1872. * ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
  1873. mode we can check whether we have to force a Layout or not, and can
  1874. cache based on this, instead of avoiding caching all the the time. Do
  1875. this check in GetBounds and TextBounds.
  1876. Fixes selection in Details view.
  1877. 2008-06-20 Carlos Alberto Cortez <[email protected]>
  1878. * ListView.cs: Make HeaderControl internal, thus the theme engine can
  1879. get its *real* height instead of trying to infere it.
  1880. * ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
  1881. get the position of them, since it's in general a bad idea in general,
  1882. and because we can't do that in virtual mode. Instead get the first
  1883. visible item as well as item height, and draw them.
  1884. Fixes #400390.
  1885. 2008-06-20 Jonathan Pobst <[email protected]>
  1886. * ToolStripSplitButton.cs: We can't add in extra width if
  1887. the button is not AutoSize. [Fixes bug #401279]
  1888. 2008-06-20 Ivan N. Zlatev <[email protected]>
  1889. * PaddingConverter.cs:
  1890. - Implement conversion to InstanceDescriptor
  1891. - Handle "All" in CreateInstance by using the supplied
  1892. ITypeDescriptorContext.
  1893. [Fixes bugs #396076 and #396078]
  1894. Patch by Andy Hume <[email protected]>
  1895. Code contributed under MIT/X11 license.
  1896. 2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
  1897. * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
  1898. ButtonBase.cs:
  1899. Add Category attributes.
  1900. Code is contributed under the MIT/X11 license.
  1901. 2008-06-18 Ivan N. Zlatev <[email protected]>
  1902. * Form.cs:
  1903. - Fix a NRE when unparenting a form.
  1904. - Do not recreate or destroy a parented form when
  1905. unparenting.
  1906. 2008-06-18 Carlos Alberto Cortez <[email protected]>
  1907. * TextBox.cs: Implement basic support for AutComplete with custom
  1908. sources.
  1909. 2008-06-18 Jonathan Pobst <[email protected]>
  1910. * ToolStripSplitButton.cs: Left and Top of ButtonBounds, SplitterBounds,
  1911. DropDownButtonBounds should be from the origin of the button, not the
  1912. ToolStrip. [Fixes bug #401279]
  1913. 2008-06-16 Sandy Armstrong <[email protected]>
  1914. * X11DesktopColors.cs: Clear GTK_MODULES environment variable before
  1915. running gtk_init_check. This prevents GAIL from loading
  1916. unnecessarily, which was breaking UIA support. Initial fix for bug
  1917. #375987.
  1918. * Application.cs: Add UIA support to Winforms. New static constructor
  1919. uses reflection to initialize UIAutomationWinforms assembly. Added
  1920. PreRun event so UIA can initialize before the mainloop starts, and
  1921. FormAdded event so UIA can provide a11y support for new Forms in an
  1922. Application.
  1923. 2008-06-16 Jonathan Pobst <[email protected]>
  1924. * DataGridView.cs: When binding to a dataset, subscribe to table
  1925. and column change events. Unsubscribe to these when we clear bindings.
  1926. [Fixes bug #399601]
  1927. 2008-06-14 Everaldo Canuto <[email protected]>
  1928. [DataGrid drawing refactory]
  1929. * DataGrid.cs: Fix the caption size, we need one pixel more for divider.
  1930. * DataGridColumnStyle.cs: Removing PaintHeader code, the draw operations
  1931. must be handle by Theme, now it call DataGridPaintColumnHeader.
  1932. * DataGridTextBoxColumn.cs: Fix the textbox size. It must be one pixel less,
  1933. test cases must be also fixed because it checks for wrong size.
  1934. * ThemeWin32Classic.cs:
  1935. - Draw the bottom line of grid caption.
  1936. - Prevent to draw caption text when it is empty.
  1937. - Use CPDrawBorder3D for 3D efects to simplify code.
  1938. - Uses 3D (when not flat) to paint corner shared between row and column
  1939. header.
  1940. - Fix header drawing issues on win32, now borders are drawing.
  1941. - Fix column header paint issues to mimic win32.
  1942. - Adjust header drawing for last column, like first one it must be draw
  1943. different.
  1944. - Added DataGridPaintRowHeaderStar to draw star like .net does, it is
  1945. not an character.
  1946. - DataGridPaintColumnHeader created to draw column headers, it also
  1947. paint stuff right on Win32.
  1948. - Use DataGridPaintColumnHeader method instead of DataGridColumnStyle
  1949. class.
  1950. * Theme.cs:
  1951. - DataGridPaintRowHeaderStar method added.
  1952. - DataGridPaintColumnHeader method added.
  1953. 2008-06-13 Jonathan Pobst <[email protected]>
  1954. * Control.cs: Don't reset to Dock style layout if DockStyle is
  1955. set to none. [Fixes bug #399316]
  1956. 2008-06-12 Everaldo Canuto <[email protected]>
  1957. * Win32DnD.cs: Fix the check for control not equal null.
  1958. Fixes bug #341420 and #381886.
  1959. 2008-06-12 Jonathan Pobst <[email protected]>
  1960. * DataGridViewRowCollection.cs: Update the indexes of rows after
  1961. one has been removed.
  1962. * DataGridViewSelectedRowCollection.cs: Add internal clear method.
  1963. * DataGridViewSelectedColumnCollection.cs: Add internal clear method.
  1964. * DataGridView.cs: Add support for deleting rows via Delete key, deleting
  1965. rows for the Rows collection, or deleting rows from the bound DataSet.
  1966. 2008-06-12 Jonathan Pobst <[email protected]>
  1967. * DataGridView.cs: Listen to a DataSet's changed event even
  1968. when autogeneratecolumns is false. Refactor the changed event's
  1969. add row code to use the same as the existing add row code.
  1970. [Fixes bug #399601]
  1971. 2008-06-11 Jonathan Pobst <[email protected]>
  1972. * TextBoxBase.cs: We need to call RaiseSelectionChanged pretty
  1973. much any time the caret moves and there is text, not just when
  1974. the selection changes as one would think.
  1975. * RichTextBox.cs: Override RaiseSelectionChanged and fire
  1976. SelectionChanged.
  1977. [Fixes bug #397271]
  1978. 2008-06-11 Jonathan Pobst <[email protected]>
  1979. * FontDialog.cs: Forward ListBox keyboard events to the ListBox
  1980. instead of trying to duplicate the code.
  1981. * ListBox.cs: Make method internal so we can send keyboard events.
  1982. [Fixes bug #398344]
  1983. 2008-06-11 Jonathan Pobst <[email protected]>
  1984. * TextBoxBase.cs: When pasting and checking the max length,
  1985. subtract the selected text length (the text we will be replacing) from
  1986. the document length.
  1987. * TextControl.cs: Ensure every character insertion is reflected in
  1988. charcount, so max length will work properly.
  1989. [Fixes bug #398605]
  1990. 2008-06-11 Jonathan Pobst <[email protected]>
  1991. * ListBox.cs: Ensure scrollbars are updated when a single
  1992. column listbox with an already set top-index is created.
  1993. [Fixes bug #398342]
  1994. 2008-06-11 Jonathan Pobst <[email protected]>
  1995. * FontDialog.cs: Typing in the font/style textboxes should search
  1996. the list boxes case-insensitively. [Fixes bug #398343]
  1997. 2008-06-11 George Giolfan <[email protected]>
  1998. * ThemeWin32Classic.cs: Managed window title bar layout now uses actual
  1999. widths of icon and buttons instead of hard coded values.
  2000. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  2001. * ListBox.cs: When SelectionMode is None, clicking an item should move focus
  2002. as well as generating a SelectedIndexChanged event, just like .Net does
  2003. -surprise-.
  2004. Fixes #398345.
  2005. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  2006. * ListBox.cs: When navigating items visually, use FocusedItem as the
  2007. reference point instead of SelectedIndex, since even in
  2008. SelectionMode.None we need to support navigation, and in that case we
  2009. just can't use SelectedIndex.
  2010. Fixes part of #398345.
  2011. 2008-06-10 Jonathan Pobst <[email protected]>
  2012. * Control.cs: Make a SetBoundsInternal that avoids the new
  2013. SetBounds code.
  2014. * ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
  2015. SetBoundsInternal instead of SetBoundsCoreInternal.
  2016. 2008-06-10 Ivan N. Zlatev <[email protected]>
  2017. * ScrollableControl.cs: Use SetBoundsCoreInternal instead of
  2018. SetBounds for the scrollbars.
  2019. 2008-06-10 Andreia Gaita <[email protected]>
  2020. * HtmlDocument.cs: Implement RightToLeft, ContextMenuShowing,
  2021. FocusingEvent, LosingFocusEvent, OnMouseDown, OnMouseLeave,
  2022. OnMouseMove, OnMouseOver, OnMouseUp
  2023. * HtmlElement.cs: Optimize InsertBefore. Implement RemoveFocus,
  2024. ScrollIntoView, Focusing, GotFocus, LosingFocus, LostFocus.
  2025. * HtmlElementCollection.cs, HtmlWindowCollection.cs: Keep a reference
  2026. to the WebControl object to pass to new collection objects
  2027. * HtmlHistory.cs: Implement support for individual window histories.
  2028. * HtmlWindow.cs: Implement History, Position, Size, WindowFrameElement,
  2029. AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
  2030. GotFocus, LostFocus, OnLoad, OnUnload
  2031. * WebBrowser.cs: Implement EncryptionLevel, ScrollBarsEnabled,
  2032. ContextMenu
  2033. * WebBrowserBase.cs: Implement Cursor, Enabled, UseWaitCursor, Add
  2034. security level changes and context menu event support.
  2035. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  2036. * ComboBox.cs: Pressing Enter should close the dropdown listbox, just
  2037. as happens with Esc, patch my Andy Hume.
  2038. Fixes #396294.
  2039. 2008-06-10 George Giolfan <[email protected]>
  2040. * MdiWindowManager.cs: DrawMaximizedButtons now uses
  2041. ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
  2042. * Theme.cs: Made MenuButtonSize platform dependent. Added
  2043. ManagedWindowButtonSize.
  2044. * ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
  2045. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
  2046. 2008-06-10 George Giolfan <[email protected]>
  2047. * DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
  2048. Added support for rendering with VisualStyles.
  2049. 2008-06-10 George Giolfan <[email protected]>
  2050. * ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  2051. support for rendering the border with VisualStyles.
  2052. 2008-06-10 George Giolfan <[email protected]>
  2053. * InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
  2054. the icon is not shown.
  2055. * ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
  2056. its own logic.
  2057. 2008-06-10 George Giolfan <[email protected]>
  2058. * InternalWindowManager.cs: Draw minimized windows even if they don't have
  2059. borders.
  2060. 2008-06-09 Jonathan Pobst <[email protected]>
  2061. * ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
  2062. 2008-06-09 Jonathan Pobst <[email protected]>
  2063. * Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
  2064. [Fixes bug #397943]
  2065. 2008-06-06 Carlos Alberto Cortez <[email protected]>
  2066. * ComboBox.cs: When snaping height -because of IntegralHeight set to
  2067. true- with ComboBoxStyle.Simple, set the height to PreferredHeight
  2068. if the requested height leaves the listbox area with *less* than the
  2069. required are to see one item. We were setting it to PreferredHeight
  2070. even for values matching the height for a single item.
  2071. Fixes #396297.
  2072. 2008-06-06 Jonathan Pobst <[email protected]>
  2073. * DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.
  2074. 2008-06-06 Jonathan Pobst <[email protected]>
  2075. * DataGridViewCell.cs: Use property instead of field.
  2076. 2008-06-06 George Giolfan <[email protected]>
  2077. * InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
  2078. null checks.
  2079. 2008-06-06 George Giolfan <[email protected]>
  2080. * Theme.cs: Added #region around the managed window code. Made the managed
  2081. window methods abstract.
  2082. * ThemeWin32Classic.cs: Added #region around the managed window code.
  2083. 2008-06-06 George Giolfan <[email protected]>
  2084. * InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
  2085. if it has borders.
  2086. * ThemeWin32Classic.cs: Removed HasBorders checks in
  2087. DrawManagedWindowDecorations.
  2088. 2008-06-06 George Giolfan <[email protected]>
  2089. * InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  2090. Extracted ManagedWindowGetTitleBarIconArea.
  2091. 2008-06-05 Jonathan Pobst <[email protected]>
  2092. * DataGridViewCellStyle.cs: Don't clone the font.
  2093. 2008-06-05 Jonathan Pobst <[email protected]>
  2094. * DataGridViewCell.cs: Ensure we don't pass null to GetConverter.
  2095. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  2096. * XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
  2097. also on 64 bit machinges. Fixes the BadWindow errors while scrolling
  2098. in 64 bit machines.
  2099. 2008-06-05 Jonathan Pobst <[email protected]>
  2100. * DataGridViewCell.cs: Correctly get converters for FormattedValue.
  2101. Use Format/FormatProvider before trying converters.
  2102. * DataGridViewCellStyle.cs: ApplyStyle should only apply things that
  2103. are 'set'. Change constructor to not use ApplyStyle since it wants
  2104. everything applied. Clone the Font.
  2105. * DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
  2106. ApplyStyle the rest.
  2107. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  2108. * ListView.cs: We need to calculate the scrollbars even if the handle
  2109. hasn't been created - this is needed when methods using scrollbars
  2110. info, such EnsureVisible, are called before control has been created.
  2111. Fixes #397272.
  2112. 2008-06-05 George Giolfan <[email protected]>
  2113. * ThemeVisualStyles.cs: ScrollBar is now rendered with the VisualStyles API
  2114. only if the elements are defined.
  2115. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  2116. * ComboBox.cs: I'm an idiiot - forgot to commit the last ComboBox
  2117. section. Also, when setting bounds, snap height as well as save the
  2118. requested height if Dock has any value affecting the height: Left,
  2119. Right and Bottom - important if using IntegralHeight as true.
  2120. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  2121. * ComboBox.cs: When calling UpdateComboBoxBounds, adjust the height
  2122. passed to SetBounds to reflect the new adjusted height (Integral-wise),
  2123. instead of doing that only in our SetBoundsCore override, since the
  2124. bounds cached can be the same as saved one and we could not get the
  2125. new height applied.
  2126. Fixes #396297.
  2127. 2008-06-04 George Giolfan <[email protected]>
  2128. * Theme.cs: Made ToolWindowCaptionButtonSize platform dependent.
  2129. * XplatUI.cs: Added ToolWindowCaptionButtonSize.
  2130. * XplatUIDriver.cs: Changed SmallCaptionButtonSize to 15,15. Added
  2131. ToolWindowCaptionButtonSize.
  2132. * XplatUIWin32.cs: Added ToolWindowCaptionButtonSize.
  2133. 2008-06-04 George Giolfan <[email protected]>
  2134. * MdiWindowManager.cs: Now uses SystemInformation.DoubleClickTime instead of
  2135. hard coded values.
  2136. * Theme.cs: Made DoubleClickTime plaform dependent.
  2137. 2008-06-04 George Giolfan <[email protected]>
  2138. * Theme.cs: Made ToolWindowCaptionHeight platform dependent.
  2139. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  2140. ToolWindowCaptionHeight.
  2141. 2008-06-04 George Giolfan <[email protected]>
  2142. * InternalWindowManager.cs: The adjustment to ensure positive client area
  2143. sizes is now platform dependent (disabled on Windows).
  2144. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  2145. RequiresPositiveClientAreaSize.
  2146. 2008-06-04 George Giolfan <[email protected]>
  2147. * Form.cs: Fixed null handling in Icon (see SettingIconToNull in the tests).
  2148. 2008-06-04 George Giolfan <[email protected]>
  2149. * InternalWindowManager.cs: Changed IconicSize to use
  2150. SystemInformation.MinimizedWindowSize.
  2151. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinimizedWindowSize.
  2152. * XplatUIDriver.cs: Changed MinimizedWindowSize to provide a default value.
  2153. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  2154. * ComboBox.cs: If the combobox is anchored both on top and bottom,
  2155. adjust height if IntegralHeight is true when calling SetBoundsCore (as
  2156. likely the height was modified even if Height wasn't specified in
  2157. BoundsSpecified parameter).
  2158. Fixes part of #396297.
  2159. 2008-06-04 George Giolfan <[email protected]>
  2160. * InternalWindowsManager.cs: Changed minimum window size while resizing to
  2161. SystemInformation.MinWindowTrackSize.
  2162. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinWindowTrackSize.
  2163. * XplatUIDriver.cs: Changed MinWindowTrackSize to provide a default value.
  2164. 2008-06-03 George Giolfan <[email protected]>
  2165. * MenuItem.cs: Fixed Dispose.
  2166. 2008-06-03 George Giolfan <[email protected]>
  2167. * ColumnHeader.cs: CalcColumnHeader now uses the theme to get the height.
  2168. * DataGridView.cs: * EnableHeadersVisualStyles: Fixed default value.
  2169. EnteredHeaderCell, PressedHeaderCell: Added.
  2170. * DataGridViewCell.cs: Refactored: Extracted GetBorderPen.
  2171. * DataGridViewColumnHeaderCell.cs, DataGridViewRowHeaderCell.cs: Gave the
  2172. theme a chance to override default painting.
  2173. * ListView.cs: Added EnteredColumnHeader. Refactored: Extracted
  2174. GetColumnHeaderInvalidateArea, Invalidate(ColumnHeader).
  2175. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added members for
  2176. ListView and DataGridView header rendering.
  2177. 2008-06-03 Ivan N. Zlatev <[email protected]>
  2178. * RichTextBox.cs: GetPositionFromCharIndex should return the
  2179. visual position of the character relative to the viewport.
  2180. [Fixes part of bug #396664]
  2181. 2008-06-03 Ivan N. Zlatev <[email protected]>
  2182. * GridEntry.cs: Make HasCustomEditor check for EditStyle != None
  2183. and not just for the existance of an UITypeEditor. In some cases
  2184. there is an editor associated just to do PaintValue, but which
  2185. doesn't actually support editing.
  2186. [Fixes bug #396632]
  2187. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  2188. * ComboBox.cs: page_size as well as vscrollbar.LargeChange should be 1
  2189. if needed, instead of 0 - this should help us in the corner case where
  2190. we have more than one item but we are only partially showing 1 item.
  2191. Fixes part of #374713.
  2192. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  2193. * XplatUiX11.cs: When scrolling and detecting the obscured areas in a
  2194. control, return immediately if the any parent control's handle hasn't
  2195. been created or isn't visible, as well as avoiding creating the parent
  2196. Form if the handle hasn't been previously created.
  2197. Fixes tests.
  2198. 2008-06-02 Jonathan Pobst <[email protected]>
  2199. * TableLayoutPanel.cs: Use border sizes when calculating the
  2200. panel's preferred size. [Fixes part of bug #396433]
  2201. 2008-06-02 Ivan N. Zlatev <[email protected]>
  2202. * SplitContainer.cs:
  2203. - Fix SplitterDistance to update only if needed.
  2204. - Make it force min and max validation.
  2205. - Handle properly mouse moves outside the resizeable area.
  2206. [Fixes bug #396232]
  2207. 2008-06-02 Andreia Gaita <[email protected]>
  2208. * WebBrowserBase.cs: Implement support for ScriptErrorsSuppressed
  2209. (which also suppresses all popup dialogs). Throw NotSupported
  2210. exceptions for activex getters/setters.
  2211. * WebBrowser.cs: Implement DocumentStream, DocumentType, IsBusy,
  2212. IsOffline, ReadyState, ScriptErrorsSuppressed, ScrollbarsEnabled,
  2213. StatusText, Version, GoSearch
  2214. * HtmlDocument.cs: Add DocType support
  2215. 2008-06-02 Andy Hume <[email protected]>
  2216. * TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
  2217. [Fixes bug 396124]
  2218. 2008-06-02 Ivan N. Zlatev <[email protected]>
  2219. * GridEntry.cs: Pass the ITypeDescriptorContext everywhere.
  2220. 2008-06-02 Jonathan Pobst <[email protected]>
  2221. * TableLayoutPanel.cs: When calculating preferred size, use the
  2222. actual number of columns and rows, not what the user set them to.
  2223. [Fixes bug #396141]
  2224. 2008-06-02 George Giolfan <[email protected]>
  2225. * Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
  2226. 394311.
  2227. 2008-06-01 Carlos Alberto Cortez <[email protected]>
  2228. * XplatUIX11.cs: When detecting areas obscured in a control by other
  2229. toplevel windows while scrolling, return if the control hasn't a
  2230. container form.
  2231. Fixes some tests.
  2232. 2008-05-01 Carlos Alberto Cortez <[email protected]>
  2233. * XplatUIX11.cs: Properly detect the visible area of a control being
  2234. scrolled (obscured by other winforms controls and any X toplevel
  2235. windows), to mark as invalid the requested area to be scrolled that
  2236. isn't visible and thus can't be copied.
  2237. Fixes #324513.
  2238. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  2239. * ListBox.cs: Compute the precise amount to vertically scroll when
  2240. using DrawMode.OwnerDrawVariable.
  2241. Patch by jkeymer ([email protected]).
  2242. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  2243. * ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
  2244. to avoid setting an invalid value for the verticall scrollbar
  2245. when navigating items. And, duh, also remove my silly debug messages
  2246. from previous commits.
  2247. Fixes #374713.
  2248. 2008-05-30 Ivan N. Zlatev <[email protected]>
  2249. * FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
  2250. make it MS compatible.
  2251. 2008-05-30 Ivan N. Zlatev <[email protected]>
  2252. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
  2253. - Allow the editing of entries even if their parent is read-only.
  2254. - Do not render expandable properties read-only.
  2255. - Refactor expansion checks form PropertyGrid into PropertyGrid.
  2256. 2008-05-30 George Giolfan <[email protected]>
  2257. * ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  2258. support for the hover style.
  2259. 2008-05-29 Andreia Gaita <[email protected]>
  2260. * ContainerControl.cs: Check for null dead-end when traversing the tree
  2261. of parent controls.
  2262. [Fixes #394332, patch by Ernesto Carrea]
  2263. 2008-05-29 Geoff Norton <[email protected]>
  2264. * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
  2265. constant that it is. Fixes #393981
  2266. 2008-05-29 Jonathan Pobst <[email protected]>
  2267. * Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
  2268. that the user probably doesn't want to set this.
  2269. 2008-05-29 Jonathan Pobst <[email protected]>
  2270. * ThemeWin32Classic.cs: Don't let the text size be bigger than
  2271. the control size for CheckBox/RadioBox.
  2272. [Fixes part of bug #394645]
  2273. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2274. * PropertyGrid.cs: Update the state of the sorting buttons in
  2275. the toolbar if PropertySort is set programatically.
  2276. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2277. * GridItemCollection.cs: Add multiple items with conflicting names
  2278. support and also preserve name ordering.
  2279. [Fixes #395345]
  2280. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2281. * GridItemCollection.cs: Revert my multiple items with same
  2282. name patch.
  2283. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  2284. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  2285. or middle ones.
  2286. Fixes part of #393908.
  2287. 2008-05-28 Jonathan Pobst <[email protected]>
  2288. * ToolStripDrowDown.cs: When using the Show () methods that have a
  2289. Control parameter, set the menu owner to that Control.
  2290. [Fixes bug #394345]
  2291. 2008-05-28 Ivan N. Zlatev <[email protected]>
  2292. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  2293. [Fixes bug #362756]
  2294. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2295. * GridItemCollection.cs: Refactor to support multiple items with the
  2296. same name.
  2297. [Fixes bug #394314]
  2298. 2008-05-27 Jonathan Pobst <[email protected]>
  2299. * Control.cs: The 2.0 check for illegal cross thread calls in
  2300. Control.Handle were throwing an exception when we were getting
  2301. the Handle in order to invoke correctly. Created a private
  2302. version that does not contain this check.
  2303. [Fixes bug #394531]
  2304. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2305. * PropertyGrid.cs: Respect DefaultTabType.
  2306. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2307. * ListView.cs: SPACE selects an item.
  2308. [Fixes bug #393023]
  2309. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2310. * ListView.cs: Reset the search string whenever the items are
  2311. modified.
  2312. [Fixes bug #393020]
  2313. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  2314. * ListControl.cs: For the first added item PositionChanged is fired
  2315. _before_ ItemChanged, which leave us in a temporary invalid state - so
  2316. we need to set the selected index from ItemChanged handler *if* we
  2317. know that the first item has just been added *and* the items have been
  2318. actually added to the ListControl.
  2319. Fixes #369048.
  2320. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  2321. * TabControl.cs: Only clicks with the left button should be
  2322. handled.
  2323. Fixes #393908.
  2324. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  2325. * ComboBox.cs:
  2326. * FIleDialog.cs:
  2327. * TextBox.cs: Expose an internal method in TextBox to restore the
  2328. original context menu, and call it from ComboBox to re-use it in the
  2329. combobox containing the file name in FileDialog.cs.
  2330. Fixes part of #393775.
  2331. 2008-05-24 George Giolfan <[email protected]>
  2332. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  2333. style.
  2334. 2008-05-24 George Giolfan <[email protected]>
  2335. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  2336. down button style.
  2337. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  2338. * ComboBox.cs: Minor correction to previous patch: PageDown should
  2339. also *try* to move by one item if the computed offset is negative,
  2340. just like the PageUp case.
  2341. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  2342. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  2343. should be done for at least 1 item, and not stay at the same item.
  2344. Fixes part of #374713.
  2345. 2008-05-23 Jonathan Pobst <[email protected]>
  2346. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  2347. directories. [Fixes bug #393931]
  2348. 2008-05-22 Andreia Gaita <[email protected]>
  2349. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  2350. Don't fire events until the initial about:blank page has finished
  2351. loading. Clean up events.
  2352. 2008-05-22 Atsushi Enomoto <[email protected]>
  2353. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  2354. FocusIn() too. This should fix the issue on switching
  2355. scim keyboards.
  2356. 2008-05-22 Atsushi Enomoto <[email protected]>
  2357. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  2358. number (ideally the input textbox size, but that could be
  2359. too messy).
  2360. 2008-05-22 Jonathan Pobst <[email protected]>
  2361. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  2362. the ToolStripItem's TextChanged. [Fixes bug #393597]
  2363. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  2364. * TabControl.cs: When invalidating in SelectedIndex and we need to
  2365. inflate to take into account the border of the tabs, make sure that
  2366. the invalidated rect doesn't overflow the control bounds, since that
  2367. would avoid updating at all.
  2368. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  2369. * TabControl.cs: Don't substract scroller width from the row width,
  2370. since we need to take into account the total width of the control when
  2371. calculating the position of the tabs. This avoids showing scroller
  2372. when it is actually not needed.
  2373. Fixes part of #322325.
  2374. 2008-05-21 George Giolfan <[email protected]>
  2375. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  2376. 2008-05-21 George Giolfan <[email protected]>
  2377. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  2378. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  2379. 2008-05-21 Jonathan Pobst <[email protected]>
  2380. * DataGridView.cs: Only paint the top left header cell if there
  2381. are columns.
  2382. 2008-05-21 Jonathan Pobst <[email protected]>
  2383. * DataGridView.cs: When binding to a BindingSource, get the underlying
  2384. list to bind to. [Fixes bug #345483]
  2385. 2008-05-21 Jonathan Pobst <[email protected]>
  2386. * DataGridView.cs: Do not bind to collection properties.
  2387. [Fixes bug #337470]
  2388. 2008-05-21 George Giolfan <[email protected]>
  2389. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  2390. 2008-05-21 George Giolfan <[email protected]>
  2391. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  2392. thumb style.
  2393. 2008-05-21 George Giolfan <[email protected]>
  2394. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  2395. 2008-05-21 George Giolfan <[email protected]>
  2396. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  2397. background.
  2398. 2008-05-21 George Giolfan <[email protected]>
  2399. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  2400. 2008-05-21 George Giolfan <[email protected]>
  2401. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  2402. checked styles.
  2403. 2008-05-21 George Giolfan <[email protected]>
  2404. * TabControl.cs: Extended to handle the hot style.
  2405. 2008-05-21 George Giolfan <[email protected]>
  2406. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  2407. Extended UpDownBase code to handle hot and disabled styles.
  2408. 2008-05-20 Jonathan Pobst <[email protected]>
  2409. * DataGridView.cs: Handle databinding to generic list type things.
  2410. [Fixes bug #325239]
  2411. 2008-05-20 Jonathan Pobst <[email protected]>
  2412. * DataGridViewCellCollection.cs: Add a method to find the cell
  2413. with the given DataPropertyName.
  2414. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  2415. * DataGridViewColumnCollection.cs: Add a method to clear all
  2416. autogenerated columns.
  2417. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  2418. columns.
  2419. [Fixes bug #348082]
  2420. 2008-05-20 Jonathan Pobst <[email protected]>
  2421. * DataGridView.cs: Don't try to update the RowTemplate with
  2422. a null CellTemplate.
  2423. 2008-05-20 Jonathan Pobst <[email protected]>
  2424. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  2425. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  2426. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  2427. a DataSet.
  2428. 2008-05-20 Jonathan Pobst <[email protected]>
  2429. * Control.cs: Remove invalidating implicit child controls when
  2430. control is invalidated. It was causing too many redraws on
  2431. controls with implicit scrollbars.
  2432. * ListView.cs: Listen to the Invalidated event and invalidate
  2433. child controls.
  2434. 2008-05-20 Andreia Gaita <[email protected]>
  2435. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  2436. * HtmlDocument.cs: Check for nulls
  2437. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  2438. * Control.cs: In ControlCollection.RemoveInternal, remove the
  2439. internal control before calling PerformLayout and OnControlRemoved,
  2440. which was leaving us in an invalid state and causing a X error (bad
  2441. match). Observe that Remove () call has the same order.
  2442. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  2443. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  2444. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  2445. being fired if ControlStyles.UserPaint style is activated.
  2446. Fixes #371905.
  2447. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2448. * GridEntry.cs: Don't be so strict when setting the value -
  2449. do not check if what we set is what we get.
  2450. [Fixes bug #389245]
  2451. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2452. * XplatUIX11.cs: If there are no timers timeout should be 0
  2453. [Fixes bug #363522]
  2454. 2008-05-19 Jonathan Pobst <[email protected]>
  2455. * Control.cs: As a followup to invalidating implicit children when
  2456. a control is invalidated, only invalidate them if they are in the
  2457. clip rectangle.
  2458. 2008-05-19 George Giolfan <[email protected]>
  2459. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  2460. 2008-05-19 George Giolfan <[email protected]>
  2461. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  2462. 2008-05-19 George Giolfan <[email protected]>
  2463. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  2464. * XplatUIWin32.cs: Made Win32DeleteObject public.
  2465. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2466. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  2467. PropertyDescriptor.ShouldSerializeValue.
  2468. [Fixes bug #391924]
  2469. 2008-05-19 George Giolfan <[email protected]>
  2470. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  2471. in the classic theme.
  2472. 2008-05-19 George Giolfan <[email protected]>
  2473. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  2474. ThumbPressed.
  2475. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  2476. ScrollBarHasPressedThumbStyle.
  2477. 2008-05-19 George Giolfan <[email protected]>
  2478. * TextRenderer.cs: Included some methods in the 1.1 profile.
  2479. 2008-05-19 Jonathan Pobst <[email protected]>
  2480. * Control.cs: When we make a control visible, it may have been
  2481. previously visible and while it wasn't visible, the z-order of
  2482. things may have been shuffled, so the control needs to have its
  2483. z-order updated just in case. [Fixes bug #391518]
  2484. 2008-05-19 George Giolfan <[email protected]>
  2485. * ThemeVisualStyles.cs: Added support for GroupBox.
  2486. 2008-05-19 George Giolfan <[email protected]>
  2487. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  2488. 2008-05-16 Atsushi Enomoto <[email protected]>
  2489. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  2490. bug #389996; XSelectInput() behaved as mouse handler robber,
  2491. so remove extra call to it.
  2492. 2008-05-15 Jonathan Pobst <[email protected]>
  2493. * Control.cs: Simplify ControlCollection.Contains method.
  2494. 2008-05-15 Jonathan Pobst <[email protected]>
  2495. * DataGridViewRow.cs: Implement GetPreferredSize.
  2496. 2008-05-15 Jonathan Pobst <[email protected]>
  2497. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  2498. 2008-05-15 Jonathan Pobst <[email protected]>
  2499. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  2500. painting and edit control fixes.
  2501. 2008-05-14 Jonathan Pobst <[email protected]>
  2502. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  2503. checks to make sure we are in an actual row/col for top left header cell.
  2504. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  2505. 2008-05-14 Jonathan Pobst <[email protected]>
  2506. * Control.cs: Use long instead of int when handling WParam from
  2507. mousewheel scrolling. Int was overflowing on Win64.
  2508. 2008-05-14 Jonathan Pobst <[email protected]>
  2509. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  2510. flow panel without scrolling first, and then calculate the
  2511. scrolling based on the new layout. [Fixes bug #390149]
  2512. 2008-05-14 Jonathan Pobst <[email protected]>
  2513. * ListBox.cs: Invalidate after scrolling up when selected index
  2514. changes. [Fixes bug #390151]
  2515. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  2516. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  2517. set, default height to 150. I tried first with DefaultSize, but this
  2518. is not generating a SetBoundsCore call before handle creation time, so
  2519. we can take it into account. This is just what .net does.
  2520. 2008-05-13 Jonathan Pobst <[email protected]>
  2521. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  2522. as it broke some stuff. Calberto is filing a bug for eno to
  2523. work with.
  2524. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  2525. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  2526. to 0 is the current value is -1, and if style is not Simple, just
  2527. return, like .net does.
  2528. Fixes part of #374713.
  2529. 2008-05-13 Jonathan Pobst <[email protected]>
  2530. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  2531. progress bar stuffs, use doubles instead of ints to prevent
  2532. overflow. [Fixes bug #389798]
  2533. 2008-05-13 Atsushi Enomoto <[email protected]>
  2534. * XplatUIX11.cs, X11Keyboard.cs :
  2535. Significant refactoring on XIM support. Now IM engine UI
  2536. should show up, at mostly-correct preedit position.
  2537. - Eliminated use of FocusWindow, as it is never mapped
  2538. and hence blocks correct preedit position. XIC is now
  2539. created per window, and it must be destroyed too when
  2540. the window is destroyed.
  2541. - WM_QUIT messages should not be filtered even when hwnd
  2542. is zombie. Filtering it could cause endless loop.
  2543. - Preedit position must move only when the window is alive.
  2544. - Make it IDisposable and make sure to release XIM/XICs.
  2545. 2008-05-13 Atsushi Enomoto <[email protected]>
  2546. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  2547. XplatUIX11.cs, XplatUIWin32.cs :
  2548. fix for bug #325033 and #387693;
  2549. - WM_QUIT should not be sent when no running application
  2550. exists.
  2551. - SetTimer/KillTimer (especially on win32) should be
  2552. invoked for the window that the timer is/will_be attached.
  2553. - There could be unattached timers to a window when it's
  2554. started. For those timers, hold pending timers and when
  2555. a window is mapped, attach them to it.
  2556. - WaitForHwndMessage() could run into loop when
  2557. WM_SHOWWINDOW is handled before this method is called.
  2558. So, strictly check wm_showwindow state.
  2559. - Tick handler should not be invoked while one Tick handler
  2560. call is still running (introduced Busy state).
  2561. 2008-05-13 Andreia Gaita <[email protected]>
  2562. * WebBrowserBase.cs: Override Internal alternative methods for
  2563. SetBoundsCore and OnResize instead of the protected ones.
  2564. * Control.cs: Move SetBoundsCore and OnResize implementations to
  2565. SetBoundsCoreInternal and OnResizeInternal, so they can be
  2566. overriden internally (WebBrowserBase needs to catch them but can't
  2567. override the protected methods without api compat problems)
  2568. 2008-05-13 Andreia Gaita <[email protected]>
  2569. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  2570. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  2571. * Binding.cs:
  2572. * ListView.cs: Remove debug messages.
  2573. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  2574. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  2575. area is empty. Also calculate scrollbars in Simple mode based in area
  2576. height and total number of items, not in MaxDropDownItems.
  2577. Fixes part of #371991.
  2578. 2008-05-12 Jonathan Pobst <[email protected]>
  2579. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  2580. 2008-05-12 Jonathan Pobst <[email protected]>
  2581. * BindingSource.cs: GetListSortDescription is not public.
  2582. 2008-05-12 Jonathan Pobst <[email protected]>
  2583. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  2584. 2008-05-12 Jonathan Pobst <[email protected]>
  2585. * HtmlElement.cs: Fix parameter names to match MS.
  2586. * HtmlWindowCollection.cs: Should not be sealed.
  2587. 2008-05-12 Jonathan Pobst <[email protected]>
  2588. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  2589. button, because the thumb button will not get drawn if the scrollbar
  2590. is disabled. [Fixes bug #389262]
  2591. 2008-05-12 Jonathan Pobst <[email protected]>
  2592. * ListBox.cs: Handle End key for multi-column listboxen.
  2593. [Fixes bug #389266]
  2594. 2008-05-12 Jonathan Pobst <[email protected]>
  2595. * ListBox.cs: Fix algorithm to determine which column our item is in.
  2596. [Fixes bug #389265]
  2597. 2008-05-12 Jonathan Pobst <[email protected]>
  2598. * ListBox.cs: Invalidate when the listbox is resized.
  2599. [Fixes bug #389256]
  2600. 2008-05-12 Jonathan Pobst <[email protected]>
  2601. * ListBox.cs: There is always at least one row in the ListBox (if
  2602. we are doing these calculations.) [Fixes bug #389253]
  2603. 2008-05-12 Jonathan Pobst <[email protected]>
  2604. * ListBox.cs: There is always at least one column in the ListBox.
  2605. [Fixes bug #389250]
  2606. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  2607. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  2608. ensure in Simple mode that the height is exactly the requested one.
  2609. Also add the ComboBoxListControl to the controls collection in Simple
  2610. mode even if handle hasn't been created.
  2611. Fixes part of #371991.
  2612. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  2613. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  2614. our ComboBox owner instead of giving it back to the previous control (
  2615. as done in other controls). Also remove the empty override of Select
  2616. method, since we want to be selected *and* give focus to our owner.
  2617. This should let the user do keys-navigation in Simple mode.
  2618. 2008-05-10 Geoff Norton <[email protected]>
  2619. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  2620. problems with rapid scrolling of treeviews. Fixes #381084
  2621. 2008-05-10 Geoff Norton <[email protected]>
  2622. * XplatUICarbon.cs: Deactivate the active window before
  2623. activating the desired window. Completes fixing #386504
  2624. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2625. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  2626. SmallChange to the item size width plus the padding, to match .net.
  2627. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2628. * FileDialog.cs: Apply the custom filter typed by the user in the file
  2629. name combobox as much as possible while navigating in the file dialog.
  2630. Fixes #385261.
  2631. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2632. * Binding.cs: Actually use NullValue if the retrieved value of
  2633. data source is null or DBNull. Makes a test pass.
  2634. 2008-05-09 Jonathan Pobst <[email protected]>
  2635. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  2636. * MimeIcon.cs: Provide a way to get icons from resources.
  2637. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  2638. * Binding.cs: When the value retrieved from the control to be assigned
  2639. to the data source is null, actually use the 2.0 DataSourceNullValue
  2640. value. Make pass a data binding test.
  2641. 2008-05-08 Jonathan Pobst <[email protected]>
  2642. * Control.cs: We need to invalidate implicit children even when
  2643. invalidate is called with invalidatechildren = false. (Implicit
  2644. children are really part of the parent.)
  2645. * ListView.cs: Double-buffer internal child controls for less
  2646. flicker.
  2647. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  2648. owner ListView subitems for greatly increased performance.
  2649. [Fixes bug #388477]
  2650. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  2651. * FileDialog.cs: When the user types a wildcard character in the
  2652. filename combobox, update the contents of the folder using the text as
  2653. a filter.
  2654. Fixes part of #385261.
  2655. 2008-05-08 Jonathan Pobst <[email protected]>
  2656. * ListBox.cs: Various fixes for MultiColumn listboxen.
  2657. [Fixes bug #388114]
  2658. 2008-05-08 Andreia Gaita <[email protected]>
  2659. * HtmlElement.cs: Implement Style property
  2660. 2008-05-08 Jonathan Pobst <[email protected]>
  2661. * ListBox.cs: Respect checkboxes when measuring item size.
  2662. * ThemeWin32Classis.cs: When drawing list items, don't draw
  2663. text outside of the item's bounds to prevent overlapping.
  2664. (.Net actually overlaps, but that's just silly.)
  2665. [Fixes bug #388117]
  2666. 2008-05-08 Everaldo Canuto <[email protected]>
  2667. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  2668. Gert Driesen. Fixes bug #324830.
  2669. 2008-05-07 Everaldo Canuto <[email protected]>
  2670. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  2671. method implemented.
  2672. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  2673. * BindingSource.cs: When calling IsSynchronized, return the value of
  2674. the related IList list.
  2675. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  2676. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  2677. make a test pass.
  2678. 2008-05-07 Jonathan Pobst <[email protected]>
  2679. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  2680. navigation to scroll the grid if the current cell is not visible.
  2681. 2008-05-07 Andreia Gaita <[email protected]>
  2682. * HtmlElement.cs: Implement TabIndex
  2683. 2008-05-07 Jonathan Pobst <[email protected]>
  2684. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  2685. properties, even when there are no items.
  2686. [Fixes bug #387611]
  2687. 2008-05-07 Ivan N. Zlatev <[email protected]>
  2688. * NativeWindow.cs: Add support for multiple handles per window.
  2689. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  2690. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  2691. directly - use FromHandle instead.
  2692. [Fixes bug #374660]
  2693. 2008-05-07 Andreia Gaita <[email protected]>
  2694. * HtmlElement.cs: Implement InnerHTML setter
  2695. 2008-05-07 Andreia Gaita <[email protected]>
  2696. * HtmlDocument.cs: Implement Focused
  2697. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2698. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  2699. methods, as well as add messages to the exceptions.
  2700. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2701. * BindingSource.cs: Setting DataSource should only reset DataMember if
  2702. the previous value was null (make pass a not working test).
  2703. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2704. * BindingSource.cs: When EndInit call is postponed and is called until
  2705. DataSource.EndInit is called, remove the handler for data source.
  2706. 2008-05-06 Jonathan Pobst <[email protected]>
  2707. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  2708. 2008-05-06 Jonathan Pobst <[email protected]>
  2709. * ToolStripManager.cs: Store references to toolstrips as
  2710. weak references so they do not prevent forms from getting collected.
  2711. [Fixes bug #386483]
  2712. 2008-05-06 Jonathan Pobst <[email protected]>
  2713. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  2714. on .Net. So do the same thing in WndProc.
  2715. 2008-05-06 Jonathan Pobst <[email protected]>
  2716. * TrackBar.cs: Commit patch from Andy Hume that corrects
  2717. the clickable areas to better match .Net.
  2718. [Fixes bug #387074]
  2719. 2008-05-06 Jonathan Pobst <[email protected]>
  2720. * TrackBar.cs: Commit patch from Andy Hume that adds the
  2721. ResizeRedraw control flag so the track bar repaints itself
  2722. when it is resized. [Fixes bug #387072]
  2723. 2008-05-06 Jonathan Pobst <[email protected]>
  2724. * TrackBar.cs: Commit patch from Andy Hume that adds better
  2725. support for keyboard navigation when the TrackBar is vertical.
  2726. [Fixes bug #387071]
  2727. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  2728. * BindingSource.cs: Implement ISupportInitializeNotification support.
  2729. 2008-05-06 George Giolfan <[email protected]>
  2730. * ThemeVisualStyles.cs: Added support for ToolBar.
  2731. 2008-05-06 George Giolfan <[email protected]>
  2732. * ToolBar.cs: Made the Vertical property internal.
  2733. 2008-05-05 George Giolfan <[email protected]>
  2734. * ThemeVisualStyles.cs: Added support for TrackBar.
  2735. 2008-05-05 George Giolfan <[email protected]>
  2736. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  2737. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  2738. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  2739. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  2740. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  2741. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  2742. 2008-05-05 George Giolfan <[email protected]>
  2743. * ThemeVisualStyles.cs: Added support for UpDownBase.
  2744. 2008-05-05 George Giolfan <[email protected]>
  2745. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  2746. Extracted Theme.UpDownBaseDrawButton.
  2747. 2008-05-05 Jonathan Pobst <[email protected]>
  2748. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  2749. removed from the static toolstrips collection in ToolStripManager
  2750. when they are disposed. Provides a workaround for bug #386483.
  2751. 2008-05-05 Ivan N. Zlatev <[email protected]>
  2752. * GridEntry.cs: Read-only properties with Editor with
  2753. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  2754. [Fixes bug #384184]
  2755. 2008-05-05 Jonathan Pobst <[email protected]>
  2756. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  2757. the menu key and there are no items on the menu.
  2758. [Fixes bug #386644]
  2759. 2008-05-05 Sebastien Pouliot <[email protected]>
  2760. * Control.cs: Avoid calling ToString on a string.
  2761. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  2762. * GroupBox.cs: In FlatStyle property throw, not just create, the
  2763. exception. Avoid calling ToString on a string.
  2764. * ProgressBar.cs: Avoid calling ToString on a string.
  2765. * ScrollBar.cs: Avoid calling ToString on a string.
  2766. [All issues were found using Gendarme]
  2767. 2008-05-05 Everaldo Canuto <[email protected]>
  2768. * NotifyIcon.cs: Prevent click events to be trigger after double click
  2769. events. Fixes remaining issues of bug #324832.
  2770. 2008-05-05 Everaldo Canuto <[email protected]>
  2771. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  2772. to mimic win32 behavior. Partially fixes bug #324832.
  2773. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2774. * BindingSource.cs: Implement Find methods.
  2775. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2776. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  2777. RemoveSort methods.
  2778. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2779. * ListBindingHelper.cs: When calling GetListItemProperties and the
  2780. passed object is ITypedList, return the result of
  2781. ITypedList.GetItemProperties instead.
  2782. 2008-05-04 Everaldo Canuto <[email protected]>
  2783. * LinkLabel.cs: Set default value of name on constructor of Link class
  2784. only for 2.0 profile.
  2785. 2008-05-04 Everaldo Canuto <[email protected]>
  2786. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  2787. Fixes remaining issues of bug #346154.
  2788. 2008-05-04 Everaldo Canuto <[email protected]>
  2789. * LinkLabel.cs: Set a default value for name on internal contructor of
  2790. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  2791. 2008-05-04 Everaldo Canuto <[email protected]>
  2792. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  2793. and refer all instances to owner.links. Partially fixes #346154.
  2794. 2008-05-03 Everaldo Canuto <[email protected]>
  2795. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  2796. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  2797. the LinkLabel test 'TestLinkArea'.
  2798. 2008-05-03 Everaldo Canuto <[email protected]>
  2799. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  2800. [Fixes #386460]
  2801. 2008-05-03 Everaldo Canuto <[email protected]>
  2802. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  2803. [Fixes #386463]
  2804. 2008-05-03 Everaldo Canuto <[email protected]>
  2805. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  2806. [Fixed bug #357004]
  2807. 2008-05-03 Everaldo Canuto <[email protected]>
  2808. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  2809. 2008-05-03 Everaldo Canuto <[email protected]>
  2810. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  2811. [Fixes bug #375398]
  2812. 2008-05-03 Everaldo Canuto <[email protected]>
  2813. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  2814. of bug #367492.
  2815. 2008-05-03 Everaldo Canuto <[email protected]>
  2816. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  2817. sometimes we open a conext menu on mouse down of some controls and the mouse
  2818. up is dispatched to menu and dont need to. It fix remaining issues of
  2819. #363711 and other problems related to menu mouse click events.
  2820. 2008-05-02 Everaldo Canuto <[email protected]>
  2821. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  2822. some var names to better fit changes, now we have month_menu and today_menu
  2823. vars. Fixes bug #363711.
  2824. 2008-05-02 Everaldo Canuto <[email protected]>
  2825. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  2826. right now the default month menu but it will be change to have "Go to today"
  2827. menu.
  2828. 2008-05-02 Jonathan Pobst <[email protected]>
  2829. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  2830. 2008-05-02 Everaldo Canuto <[email protected]>
  2831. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  2832. 2008-05-02 George Giolfan <[email protected]>
  2833. * ThemeVisualStyles.cs: Added support for TreeView.
  2834. 2008-05-02 George Giolfan <[email protected]>
  2835. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  2836. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  2837. 2008-05-02 Jonathan Pobst <[email protected]>
  2838. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  2839. 2008-05-02 Jonathan Pobst <[email protected]>
  2840. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  2841. Implement 2.0 SP1 stuffs.
  2842. 2008-05-02 Jonathan Pobst <[email protected]>
  2843. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  2844. 2008-05-02 Jonathan Pobst <[email protected]>
  2845. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  2846. Implement CanEnableIme property. (2.0 SP1)
  2847. 2008-05-02 Jonathan Pobst <[email protected]>
  2848. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  2849. from the 2.0 API.
  2850. 2008-05-02 Jonathan Pobst <[email protected]>
  2851. * Control.cs: Provide an internal way for a control to override
  2852. the setting of Height.
  2853. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  2854. set height using new method.
  2855. 2008-05-02 George Giolfan <[email protected]>
  2856. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  2857. 2008-05-02 George Giolfan <[email protected]>
  2858. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  2859. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  2860. 2008-05-02 George Giolfan <[email protected]>
  2861. * ThemeVisualStyles.cs: Added support for StatusBar.
  2862. 2008-05-02 Jonathan Pobst <[email protected]>
  2863. * DataObject.cs: Add the other IDataObject interface.
  2864. 2008-05-02 George Giolfan <[email protected]>
  2865. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  2866. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  2867. 2008-05-02 Jonathan Pobst <[email protected]>
  2868. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  2869. * ListView.cs: Hide non-public API.
  2870. * MaskedTextBox.cs: Remove extra attribute.
  2871. 2008-05-02 Jonathan Pobst <[email protected]>
  2872. * DataGridViewImageCell.cs: Use formatted value instead of value
  2873. to calculate preferred size.
  2874. 2008-05-01 Jonathan Pobst <[email protected]>
  2875. * ListBox.cs: Move some initialization around so that selected_indices
  2876. is not accessed before it is created.
  2877. 2008-05-01 Jonathan Pobst <[email protected]>
  2878. * InputLanguageCollection.cs: Implement the collection better.
  2879. [Fixes bug #385506]
  2880. 2008-05-01 Jonathan Pobst <[email protected]>
  2881. * ToolStripDropDownItem.cs: Get the correct event object for
  2882. DropDownItemClicked.
  2883. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  2884. [Fixes bug #385475]
  2885. 2008-05-01 Jonathan Pobst <[email protected]>
  2886. * DataGridViewRowCollection.cs: We don't currently support shared
  2887. rows. Should fix test failures caused by previous commit.
  2888. 2008-04-30 Jonathan Pobst <[email protected]>
  2889. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  2890. datagridview gets set. Only paint cells in visible columns.
  2891. * DataGridViewCell.cs: Draw border after cell content.
  2892. * DataGridView.cs: Invalidate after setting some properties. Only
  2893. use visible columns. Fit hit test bug with areas in the col/row header
  2894. area but not in a row or col. Implement UpdateCell/Row methods.
  2895. 2008-04-30 Jonathan Pobst <[email protected]>
  2896. * DataGridViewElement.cs: Don't throw NIEX.
  2897. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  2898. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  2899. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  2900. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  2901. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  2902. if the user filled in the formatting Value, use it.
  2903. 2008-04-30 Jonathan Pobst <[email protected]>
  2904. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  2905. to a string.
  2906. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  2907. * BindingSource.cs: Some corrections to Filter property, as well as
  2908. setting it for our list when resetting it.
  2909. 2008-04-29 Jonathan Pobst <[email protected]>
  2910. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  2911. than the maximum. Fixes reopened bug #384182.
  2912. 2008-04-28 Everaldo Canuto <[email protected]>
  2913. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  2914. Fixes remaining issues of #367490.
  2915. 2008-04-28 Everaldo Canuto <[email protected]>
  2916. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  2917. SystemInformation.WorkingArea to get max_screen value.
  2918. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  2919. * BindingSource.cs: Implement Filter and RemoveFilter.
  2920. 2008-04-28 Everaldo Canuto <[email protected]>
  2921. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  2922. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  2923. * X11Dnd.cs: When trying to convert data and we know we started the
  2924. dnd loop, don't try to use the cached data if the loop is not running,
  2925. which means that the data has been resetted.
  2926. Fixes #378191.
  2927. 2008-04-28 Everaldo Canuto <[email protected]>
  2928. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  2929. win32 behavior.
  2930. 2008-04-28 Everaldo Canuto <[email protected]>
  2931. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  2932. it to drawn off screen edge. Fixes bug #367490.
  2933. 2008-04-28 Everaldo Canuto <[email protected]>
  2934. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  2935. menu position to have only one assignment of Location var.
  2936. 2008-04-28 Everaldo Canuto <[email protected]>
  2937. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  2938. for this patch. Fixes bug #384115.
  2939. 2008-04-28 Jonathan Pobst <[email protected]>
  2940. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  2941. the same. If LargeChange is zero, set a minimum size for the scroll
  2942. thumb grip. [Fixes bug #384182]
  2943. 2008-04-28 Jonathan Pobst <[email protected]>
  2944. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  2945. [Fixes bug #384181]
  2946. 2008-04-28 Jonathan Pobst <[email protected]>
  2947. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  2948. 2008-04-28 George Giolfan <[email protected]>
  2949. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  2950. patch from Ernesto).
  2951. 2008-04-28 George Giolfan <[email protected]>
  2952. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  2953. 2008-04-28 George Giolfan <[email protected]>
  2954. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  2955. 2008-04-28 George Giolfan <[email protected]>
  2956. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  2957. 2008-04-28 George Giolfan <[email protected]>
  2958. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  2959. 2008-04-27 George Giolfan <[email protected]>
  2960. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  2961. 2008-04-27 Andreia Gaita <[email protected]>
  2962. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  2963. supposed to return a reference to an mshtml interface, which we
  2964. don't support).
  2965. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  2966. reference to an mshtml interface, which we don't support). Code
  2967. formatting cleanup.
  2968. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  2969. DomDocument getter (it's supposed to return a reference to an
  2970. mshtml interface, which we don't support). Code formatting cleanup.
  2971. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2972. * ListView.cs: Ouch, forgot to commit.
  2973. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2974. * ListView.cs:
  2975. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  2976. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2977. * ListView.cs: When calculating box selection for virtual mode, don't
  2978. look for intersection with item's text, but item bounds, since that
  2979. would mean read ListViewItem's text for _every_ item, and that's
  2980. something we just can't do in virtual mode (items are only requested
  2981. when drawn).
  2982. 2008-04-26 George Giolfan <[email protected]>
  2983. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  2984. partial support for managed windows (based on the patch from Ernesto).
  2985. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  2986. * ListView.cs: When doing a key search use FindItemWithText method
  2987. instead of doing the search by ourselves, this way we avoid
  2988. duplicating the code and also we handle the special case for virtual
  2989. mode. To achieve that make our private overload of FindItemWithText
  2990. internal and also have a 'roundtrip' parameter.
  2991. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  2992. * ListView.cs: When doing the layout don't request the
  2993. ListViewItem instance if we are in virtual mode (since we can't request it
  2994. until the item is actully drawn).
  2995. 2008-04-25 George Giolfan <[email protected]>
  2996. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  2997. from Ernesto).
  2998. 2008-04-25 George Giolfan <[email protected]>
  2999. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  3000. the patch from Ernesto).
  3001. 2008-04-25 George Giolfan <[email protected]>
  3002. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  3003. * ThemeVisualStyles.cs: Added.
  3004. 2008-04-25 George Giolfan <[email protected]>
  3005. * IDeviceContext.cs: Added a missing using.
  3006. 2008-04-25 George Giolfan <[email protected]>
  3007. * ButtonBase.cs: Made IsDefault protected internal.
  3008. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  3009. 2008-04-25 George Giolfan <[email protected]>
  3010. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  3011. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  3012. RadioButtonRenderer.cs: Included in the 1.1 profile.
  3013. * IDeviceContext.cs: Added.
  3014. * TextRenderer.cs: Included a member in the 1.1 profile.
  3015. 2008-04-25 George Giolfan <[email protected]>
  3016. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  3017. 2008-04-24 Jonathan Pobst <[email protected]>
  3018. * ErrorProvider.cs: Make the error icons come after the control
  3019. they refer to. It isn't the way the MS does it, but its better
  3020. than what we were doing. See bug #368587.
  3021. 2008-04-24 Jonathan Pobst <[email protected]>
  3022. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  3023. from Eric Albright that lazy loads the input language as ensures
  3024. everything gets properly initialized. Fixes bug #373871.
  3025. 2008-04-24 Jonathan Pobst <[email protected]>
  3026. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  3027. implicit mnemonics. [Fixes bug #383000]
  3028. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  3029. * X11Dnd.cs: When canceling the operation, automatically restore the
  3030. default cursor - normally the default cursor is restored when the
  3031. mouse buttons are released, but we should be able to restore it even
  3032. if the buttons are still pressed (for example, when pressing ESC to
  3033. cancel).
  3034. Fixes #381894.
  3035. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  3036. * X11Dnd.cs: When starting a new drad and drop operation, set control
  3037. field to null, just as the other fields, to avoid calling any
  3038. operation on a previous control. Also, when calling DndLeave on a
  3039. control, set it to null, thus we don't fire that event multiple times
  3040. for that control.
  3041. Fixes #209264.
  3042. 2008-04-23 Geoff Norton <[email protected]>
  3043. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  3044. the whole_window object. Fixes #377084.
  3045. 2008-04-23 Andreia Gaita <[email protected]>
  3046. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  3047. embedded browser)
  3048. 2008-04-23 Jonathan Pobst <[email protected]>
  3049. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  3050. 2008-04-23 Andreia Gaita <[email protected]>
  3051. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  3052. invocation
  3053. 2008-04-23 Andreia Gaita <[email protected]>
  3054. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  3055. attaching/detaching
  3056. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  3057. * X11Dnd.cs: When the drop was cancelled, or could just not be
  3058. performed, return DragDropEffect.None always (match .net).
  3059. 2008-04-22 Jonathan Pobst <[email protected]>
  3060. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  3061. 2008-04-22 Jonathan Pobst <[email protected]>
  3062. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  3063. 2008-04-22 Jonathan Pobst <[email protected]>
  3064. * DataGridView.cs: Add support for error icon tool tips.
  3065. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  3066. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  3067. 2008-04-22 Ivan N. Zlatev <[email protected]>
  3068. * X11Structs.cs: Add mouse button masks enum.
  3069. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  3070. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  3071. form resize/move operation instead of for each step of it.
  3072. [Fixes bug #346529 for the x11 backend]
  3073. 2008-04-21 Jonathan Pobst <[email protected]>
  3074. * DataGridView*: Implement support for drawing error icons.
  3075. 2008-04-21 Jonathan Pobst <[email protected]>
  3076. * TreeView.cs: Make vbar and hbar internal.
  3077. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  3078. scrollbars, invalidate the whole thing.
  3079. [Fixes bug #382001]
  3080. 2008-04-21 Jonathan Pobst <[email protected]>
  3081. * TreeView.cs: Calling Sort() sets Sorted = true.
  3082. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  3083. if the nodes need to be sorted.
  3084. [Fixes bug #382028]
  3085. 2008-04-21 Ivan N. Zlatev <[email protected]>
  3086. * Form.cs: Fire SizeChanged for both when the form is minimized and
  3087. restored.
  3088. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  3089. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  3090. 2008-04-21 Jonathan Pobst <[email protected]>
  3091. * ComboBox.cs: If the combobox is disabled, draw a disabled
  3092. background before painting anything else.
  3093. [Fixes bug #381729]
  3094. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  3095. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  3096. forget to send a Leave event to the target window - just as .net does
  3097. when cancelling dnd operations.
  3098. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  3099. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  3100. soon as possible - this happens when we send the drop message to the
  3101. target window. This way we avoid firing any DragOver _after_ drop finished.
  3102. Fixes #378179.
  3103. 2008-04-20 Ivan N. Zlatev <[email protected]>
  3104. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  3105. * Form.cs: Handle form minimization as a special state, where size doesn't
  3106. change, but we have to fire SizeChanged.
  3107. [Fixes bug #325122 for the win32 and x11 backends]
  3108. 2008-04-20 Ivan N. Zlatev <[email protected]>
  3109. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  3110. if the handle is disabled.
  3111. [Fixes bug #371751]
  3112. 2008-04-20 Ivan N. Zlatev <[email protected]>
  3113. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  3114. for forms with FormBorderStyle.None.
  3115. [Fixes bug #349571]
  3116. 2008-04-20 Ivan N. Zlatev <[email protected]>
  3117. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  3118. WM_EXITSIZEMOVE.
  3119. [Fixes bug #346529 for the X11 backend]
  3120. 2008-04-19 Ivan N. Zlatev <[email protected]>
  3121. * XplatUIX11.cs:
  3122. - Send a mouse Enter message after say dragging the mouse with a
  3123. button down and then release it in another client.
  3124. - Reset the cursor to prevent X11 from remembering it and setting it
  3125. before the control gets WM_SETCURSOR.
  3126. - Qeueue a mouse move after a mouse enter like win32.
  3127. [Fixes bug #323234]
  3128. 2008-04-19 Ivan N. Zlatev <[email protected]>
  3129. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  3130. It's sent when the form gets moved, resized, closed.
  3131. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  3132. [Fixes bug #359193 for X11]
  3133. 2008-04-19 Ivan N. Zlatev <[email protected]>
  3134. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  3135. the build.
  3136. 2008-04-19 Ivan N. Zlatev <[email protected]>
  3137. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  3138. group. Fixes the 1.1 build.
  3139. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  3140. * ListView.cs: Use display indexes for selection in Details view, as
  3141. well as do the proper layout based on display indexes for that view
  3142. too.
  3143. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  3144. * ListView.cs: Focused item information is now stored as a display
  3145. index, and display indexes are used all over the place for selection,
  3146. instead of ListViewItem.Index values, which doesn't give us enough
  3147. information to modify the selection in groups mode, and was broken.
  3148. 2008-04-18 Ivan N. Zlatev <[email protected]>
  3149. * Control.cs: Do not fire MouseDown if validation of the control has
  3150. failed.
  3151. * Form.cs: Validate the form before closing.
  3152. [Fixes bugs #330501 and #353310]
  3153. 2008-04-18 Andreia Gaita <[email protected]>
  3154. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  3155. CreateWebBrowserSiteBase implementations
  3156. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  3157. Style and TabIndex setters
  3158. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  3159. * ListViewGroup.cs: When returning the actual item count, return the
  3160. proper count for default group.
  3161. Fix the tests.
  3162. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  3163. * ListView.cs:
  3164. * ListViewGroup.cs: When calculating groups layout, get the actual
  3165. number of items per group, since groups added to the group BUT not
  3166. added to the ListView are just ignored, and can cause some nasty
  3167. exceptions because of the lack of synchronization. Also for
  3168. ListViewGroup don't use lazy initialization for items, since we
  3169. the common scenario is to use it always - and it helps us to refactor
  3170. and clean the .ctor overloads.
  3171. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  3172. * ListView.cs: When adding an item to a ListViewItemCollection
  3173. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  3174. the added item hasn't beeen previously added to the ListView instance
  3175. refered by the group, since it will be ignored. This should avoid some
  3176. really nasty flickering.
  3177. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  3178. * ListView.cs: When accessing an item in a specific display
  3179. position, use the helper method GetItemAtDisplayIndex, instead of
  3180. direct access to the reordered_items_indices array. When doing layout
  3181. for groups set the correct Items index for the display position (since
  3182. in groups mode items don't have the same position as in Items
  3183. collection).
  3184. * ListViewGroup.cs: Add a field to store the starting item number,
  3185. which is later used when calculating the layout.
  3186. Fixes #360805.
  3187. 2008-04-17 Gert Driesen <[email protected]>
  3188. * Application.cs: Fixed ProductVersion to fallback to the assembly
  3189. version. Fixes regression for bug #325413.
  3190. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  3191. * ListView.cs: New helper method to retrieve an item in a _specific
  3192. display_ position (the items can be displayed in a different order
  3193. than one of Items collection).
  3194. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  3195. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  3196. specific display position (again remember that items can be sorted
  3197. different than Items).
  3198. 2008-04-16 Jonathan Pobst <[email protected]>
  3199. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  3200. list and update it when the collection changes. We were recreating
  3201. this several times per row paint and for every pixel the mouse moved
  3202. across the grid.
  3203. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  3204. changes.
  3205. 2008-04-16 Jonathan Pobst <[email protected]>
  3206. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  3207. list to use generics.
  3208. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  3209. and remove unneccessay casts.
  3210. 2008-04-16 Jonathan Pobst <[email protected]>
  3211. * DataGridViewBand.cs: Add internal way to set displayed variable.
  3212. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  3213. * DataGridView.cs: Make sure we always keep track of Displayed
  3214. rows and columns, and only draw things that are displayed.
  3215. 2008-04-16 Atsushi Enomoto <[email protected]>
  3216. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  3217. whether the key events are filtered or not. Introduced
  3218. PreFilter() process for this purpose. This fixes atokx3/iiimx
  3219. shift state issue.
  3220. 2008-04-16 Andreia Gaita <[email protected]>
  3221. * HtmlHistory.cs: Implement Length property
  3222. 2008-04-15 Jonathan Pobst <[email protected]>
  3223. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  3224. away the edit textbox. Refactor to reuse column sort code.
  3225. 2008-04-12 Everaldo Canuto <[email protected]>
  3226. * MenuAPI.cs: Remove the code that save and restore capture status of
  3227. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  3228. cause some others, I cant figure the possible problems of this patch but
  3229. right now remove the code looks to be better than keep it. This patch fixes
  3230. bugs #357638, #378721 and #379570.
  3231. 2008-04-12 Andreia Gaita <[email protected]>
  3232. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  3233. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  3234. add missing properties and event handlers.
  3235. 2008-04-14 Jonathan Pobst <[email protected]>
  3236. * ListBox.cs: Make sure the LargeChange we are setting is at least
  3237. zero, to prevent an IOORE. [Fixes bug #379531]
  3238. 2008-04-13 Andy Hume <[email protected]>
  3239. * ComboBox.cs: Support item navigation by entering text. Firstly,
  3240. in DropDownList mode, for each key-press select the next item
  3241. starting with that letter.
  3242. For other modes, when no item selected, on arrow-up/-down and open
  3243. drop-down select the first item matching the text in the textbox.
  3244. 2008-04-14 Atsushi Enomoto <[email protected]>
  3245. * X11Keyboard.cs : Control.FromHandle() could return null
  3246. in MoveCurrentCaretPos().
  3247. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3248. * ListView.cs: When changing the size in VirtualMode, also Reset the
  3249. selection.
  3250. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  3251. changing selection info for VirtualMode.
  3252. Fixes #372618.
  3253. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3254. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  3255. view, don't use LineLimit for the first item - use NoWrap *always*
  3256. instead, since ListView.LabelWrap is not used for this view.
  3257. Fixes #378054.
  3258. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3259. * Binding.cs: Call UpdateIsBinding when setting control - probably
  3260. Binding is already usable and we don't need to wait to check the
  3261. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  3262. Created, just like 2.0 does.
  3263. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  3264. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  3265. * Binding.cs: Just realized we don't need to have a handler for
  3266. BindingContextChanged, since this info should be now consumed directly
  3267. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  3268. state info is checked directly, instead of caching it.
  3269. * CurrencyManager.cs: IsSuspended should return always false if Count
  3270. == 0.
  3271. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  3272. * Binding.cs: When calling PushData, return if manager.Count == 0,
  3273. since we just don't have data to be read. Also, when setting the
  3274. Control for binding, hook up some events to refresh the IsBinding
  3275. state when BindingContext change or control gets created; use
  3276. Control.IsHandleCreated instead of Control.Created check to set
  3277. IsBinding state - we *actually* need to modify IsBinding when control
  3278. is created, but we don't have any Created event, only HandleCreated.
  3279. Fixes part of #349364.
  3280. 2008-04-11 Geoff Norton <[email protected]>
  3281. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  3282. warping a null Caret.
  3283. 2008-04-11 Jonathan Pobst <[email protected]>
  3284. * DataGridView.cs: Implement row/column autosizing methods. Implement
  3285. autosorting.
  3286. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  3287. * DataGridViewRowCollection.cs: Add an internal sorting method.
  3288. 2008-04-11 Jonathan Pobst <[email protected]>
  3289. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  3290. value in ListView drawing code.
  3291. 2008-04-11 Jonathan Pobst <[email protected]>
  3292. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  3293. is clicked. Respect the user setting Cancel in FileOk.
  3294. 2008-04-11 Geoff Norton <[email protected]>
  3295. * ListView.cs: Avoid setting and resetting control Width/Heights and
  3296. calculate the final value and set it once. Prevents a feedback loop
  3297. on the mac.
  3298. 2008-04-10 Jonathan Pobst <[email protected]>
  3299. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  3300. [Fixes bug #378869]
  3301. 2008-04-10 Atsushi Enomoto <[email protected]>
  3302. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  3303. Add some on-the-spot code, but it seems we don't need it.
  3304. 2008-04-10 Jonathan Pobst <[email protected]>
  3305. * Form.cs: Add method for DataGridView to trigger focus cues
  3306. even when it handles the tab keypress.
  3307. 2008-04-10 Jonathan Pobst <[email protected]>
  3308. * DataGridView.cs: More keyboard handling, tab, esc.
  3309. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  3310. when at the beginning or end of the text in the text box.
  3311. 2008-04-09 Jonathan Pobst <[email protected]>
  3312. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  3313. 2008-04-09 Jonathan Pobst <[email protected]>
  3314. * DataGridView.cs: Some fixups for showing and adding the edit control.
  3315. * DataGridViewButtonColumn.cs: Implement ToString.
  3316. * DataGridViewCell.cs: Size and position the control simultaneously.
  3317. * DataGridViewTextBoxCell.cs: Use base to position control.
  3318. 2008-04-09 Jonathan Pobst <[email protected]>
  3319. * DataGridViewCell.cs: Fix up some formatting and painting code.
  3320. * DataGridViewImageCell.cs: Implement some NIEX methods.
  3321. 2008-04-09 Jonathan Pobst <[email protected]>
  3322. * ToolStripItemCollection.cs: What moving an item from one owner
  3323. to another, remove from source owner before adding to destination.
  3324. [Fixes bug #378109]
  3325. 2008-04-09 Jonathan Pobst <[email protected]>
  3326. * PictureBox.cs: Call Load when ImageLocation is set.
  3327. [Fixes bug #378308]
  3328. 2008-04-09 Atsushi Enomoto <[email protected]>
  3329. * X11Keyboard.cs, XplatUIX11.cs :
  3330. Implement over-the-spot mode (with some odd offsets).
  3331. - set preedit position when caret is set.
  3332. - Wrap XMoveResizeWindow() to move preedit position.
  3333. 2008-04-08 Everaldo Canuto <[email protected]>
  3334. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  3335. array lenght.
  3336. 2008-04-08 Everaldo Canuto <[email protected]>
  3337. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  3338. and ScanTableIndex public, it fix compilations errors when compiling
  3339. WinForms to generate keyboard layout resources.
  3340. 2008-04-08 Everaldo Canuto <[email protected]>
  3341. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  3342. different element count than scan table. It prevents some errors in non
  3343. standard keyboards.
  3344. 2008-04-08 Jonathan Pobst <[email protected]>
  3345. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  3346. 2008-04-08 Jonathan Pobst <[email protected]>
  3347. * DataGridView.cs: Call OnContentClick.
  3348. * DataGridViewCell.cs: Do a null check on ValueType instead
  3349. of valueType.
  3350. * DataGridViewCheckBoxCell.cs: Implement.
  3351. 2008-04-08 Atsushi Enomoto <[email protected]>
  3352. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  3353. 2008-04-08 Atsushi Enomoto <[email protected]>
  3354. * X11Keyboard.cs : Check XGetIMValues() return value in
  3355. case it does not return input styles in some environment.
  3356. 2008-04-08 Atsushi Enomoto <[email protected]>
  3357. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  3358. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  3359. * BindingContext.cs: Stub UpdateBinding method.
  3360. 2008-04-07 Atsushi Enomoto <[email protected]>
  3361. * X11Structs.cs : added couple of structs for XIM support.
  3362. * X11Keyboard.cs :
  3363. Release XIM in case it failed to create XIC.
  3364. Use consts for XNblah string.
  3365. Add support for IM style customization and XIC creation
  3366. for preedit-position and preedit-callback.
  3367. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  3368. (list of: over-the-spot | on-the-spot | root). Only root
  3369. mode works so far.
  3370. (redoing r99172 with fix.)
  3371. 2008-04-07 Jonathan Pobst <[email protected]>
  3372. * TreeView.cs: Center the checkbox a little better.
  3373. 2008-04-07 Jonathan Pobst <[email protected]>
  3374. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  3375. Apply very nice patch from Ernesto Carrea that simplifies our
  3376. scrollbar drawing. [From bug #376146]
  3377. 2008-04-07 Jonathan Pobst <[email protected]>
  3378. * TreeView.cs: Correct the location of the root node checkbox when
  3379. ShowRootLines = false. Don't draw the root lines for the root node
  3380. when ShowRootLines = false. [Fixes bug #377535]
  3381. 2008-04-06 Gert Driesen <[email protected]>
  3382. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  3383. Fixed line endings.
  3384. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  3385. line endings.
  3386. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  3387. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  3388. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  3389. * ImeMode.cs: Added missing field.
  3390. * HtmlWindow.cs: Code formatting. Fixed line endings.
  3391. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  3392. warnings.
  3393. * HtmlHistory.cs: Code formatting. Fixed line endings.
  3394. * HtmlDocument.cs: Code formatting. Fixed line endings.
  3395. * ToolStripPanel.cs: Added missing IList implementation.
  3396. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  3397. 2008-04-06 Gert Driesen <[email protected]>
  3398. * BindingContext.cs: Changed argument names to fix corcompare errors.
  3399. * DataGridView.cs: Removed extra explicit interface implementation
  3400. of IDropTarget. Code formatting.
  3401. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  3402. * ComboBox.cs: Changed argument names to fix corcompare errors.
  3403. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  3404. errors.
  3405. * GridColumnStylesCollection.cs: Changed argument names to fix
  3406. corcompare errors. Removed extra tabs.
  3407. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  3408. errors.
  3409. * Control.cs: Changed argument names to fix corcompare errors. Code
  3410. formatting. Removed extra explicit IList implementation.
  3411. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  3412. formatting. Use string.Empty instead of "".
  3413. * GridItemCollection.cs: Changed argument names to fix corcompare
  3414. errors. Code formatting.
  3415. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  3416. corcompare errors. Code formatting.
  3417. * ImageList.cs: Changed argument names to fix corcompare errors.
  3418. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  3419. * DataGridViewRowCollection.cs: Changed argument names to fix
  3420. corcompare errors. Code formatting.
  3421. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  3422. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  3423. fix corcompare errors. Code formatting.
  3424. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  3425. corcompare errors. Code formatting.
  3426. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  3427. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  3428. formatting.
  3429. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  3430. Code formatting.
  3431. * BindingSource.cs: Changed argument names to fix corcompare errors.
  3432. Removed extra explicit interface implementations.
  3433. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  3434. fix corcompare errors. Code formatting.
  3435. * ToolStripItemCollection.cs: Removed extra explicit interface
  3436. implementation of IList.ReadOnly.
  3437. * DataGridViewColumnCollection.cs: Changed argument names to fix
  3438. corcompare errors. Code formatting.
  3439. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  3440. * ListView.cs: Changed argument names to fix corcompare errors.
  3441. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  3442. errors.
  3443. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  3444. errors.
  3445. * ListBindingHelper.cs: Changed argument names to fix corcompare
  3446. errors.
  3447. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  3448. fix corcompare errors. Code formatting.
  3449. * ToolStripPanel.cs: Removed extra explicit implementation of
  3450. IDropTarget interface.
  3451. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  3452. formatting. Removed extra tabs and spaces.
  3453. * DataGridViewCellCollection.cs: Changed argument names to fix
  3454. corcompare errors.
  3455. * Help.cs: Changed argument names to fix corcompare errors. Code
  3456. formatting.
  3457. * TabControl.cs: Changed argument names to fix corcompare errors.
  3458. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  3459. errors.
  3460. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  3461. errors.
  3462. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  3463. * ListBindingHelper.cs: When returning properties, only return those
  3464. that are browsable. Also, don't do a linear search of the properties,
  3465. but use the indexer of the PropertyDescriptorCollection class.
  3466. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  3467. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  3468. Dictionary containing the related (child) currency managers. Also,
  3469. when setting DataSource, add datasource to our List if it is not a list.
  3470. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3471. * PropertyGridTextBox.cs: Fix background color of the buttons.
  3472. * PropertyGridView.cs: Make the entry less jumpy.
  3473. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3474. * PropertyGrid.cs: Fix unused variable warnings.
  3475. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3476. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  3477. double-click. It expanded it once in the mouse down and then
  3478. again in the double-click handler.
  3479. 2008-04-04 Ivan N. Zlatev <[email protected]>
  3480. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  3481. TypeConverter and UITypeEditors.
  3482. 2008-04-04 Ivan N. Zlatev <[email protected]>
  3483. * Control.cs: Visibility should be set synchronously,
  3484. so we must also redraw once it is and not rely on layouting or
  3485. other code to repaint.
  3486. [Fixes bug #339898]
  3487. 2008-04-04 Jonathan Pobst <[email protected]>
  3488. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  3489. 2008-04-03 Jonathan Pobst <[email protected]>
  3490. * Control.cs: Invalidate when the alpha channel is less than 255,
  3491. not only when control is transparent.
  3492. 2008-04-03 Jonathan Pobst <[email protected]>
  3493. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  3494. Implement some painting convenience methods that threw NIEX.
  3495. 2008-04-03 Jonathan Pobst <[email protected]>
  3496. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  3497. * DataGridViewLinkCell.cs: Implement.
  3498. 2008-04-03 Ivan N. Zlatev <[email protected]>
  3499. * GridEntry.cs: Report the conversion exception error description.
  3500. [Fixes bug #375792]
  3501. 2008-04-03 Ivan N. Zlatev <[email protected]>
  3502. * PropertyGridView.cs: Do not scroll to item on resize.
  3503. [Fixes bug #375789]
  3504. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  3505. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  3506. dataSource parameter is ICurrencyManagerProvider, then return
  3507. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  3508. instead of creating a new one.
  3509. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  3510. * BindingSource.cs: Implement support for Type instances as
  3511. DataSource.
  3512. 2008-04-02 Jonathan Pobst <[email protected]>
  3513. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  3514. * DataGridViewCell.cs: Make some painting routines internally virtual.
  3515. * DataGridViewButtonCell.cs: Implement.
  3516. 2008-04-02 Jonathan Pobst <[email protected]>
  3517. * Control.cs: We always need to invalidate our children with
  3518. transparent backgrounds when we are invalidated.
  3519. [Fixes bug #376081]
  3520. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  3521. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  3522. and CancelCurrentEdit on CurrencyManager respectively. Implement
  3523. support for ICancelAddNew too.
  3524. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  3525. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  3526. call EndNew/CancelNew if list is ICancelAddNew.
  3527. 2008-04-01 Jonathan Pobst <[email protected]>
  3528. * DataGridView.cs: Guard against an exception while painting
  3529. if there are no rows.
  3530. 2008-04-01 Jonathan Pobst <[email protected]>
  3531. * DataGridView.cs: Implement a bunch of keyboard commands.
  3532. 2008-03-31 Jonathan Pobst <[email protected]>
  3533. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  3534. isn't set, don't call OnPaint. [Fixes bug #375300]
  3535. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  3536. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  3537. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  3538. hookup the remaining events related to CurrencyManager, and fire
  3539. OnListChanged also for the Clear () method.
  3540. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  3541. * BindingSource.cs: Use Current and Position implementations in
  3542. CurrencyManager instead of using our own routines, since we need
  3543. to be in synch with it. Count should NEVER return a -1 value, and
  3544. also report ListChanged events for both simple IList data
  3545. sources (manually) as well for IBindingList ones (by hooking up an
  3546. event handler for it).
  3547. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  3548. * BindingSource.cs: Make one .ctor call the another, to avoid
  3549. duplicate code. Add the CurrencyManager property, and also for AddNew
  3550. throw the proper exceptions and show better error messages.
  3551. 2008-03-28 Jonathan Pobst <[email protected]>
  3552. * ComboBox.cs: Only adjust selectedindex if Handle has been
  3553. created. Fixes failing test.
  3554. 2008-03-28 Jonathan Pobst <[email protected]>
  3555. * ComboBox.cs: Adjust selectedindex if we insert a new item
  3556. above the current selectedindex in a sorted ComboBox.
  3557. [Fixes bug #374654]
  3558. 2008-03-28 Jonathan Pobst <[email protected]>
  3559. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  3560. [Fixes bug #374712]
  3561. 2008-03-28 Jonathan Pobst <[email protected]>
  3562. * DataGridViewTextBoxCell.cs: Implement stuffs.
  3563. 2008-03-27 Jonathan Pobst <[email protected]>
  3564. * TreeView.cs: Create the scrollbars even earlier to be
  3565. double dog certain they are created before they are accessed.
  3566. 2008-03-27 Jonathan Pobst <[email protected]>
  3567. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  3568. 2008-03-27 Jonathan Pobst <[email protected]>
  3569. * ScrollBar.cs: Create an internal safe Value setter so we
  3570. won't crash if we try to set a value outside the min and max.
  3571. * TextBoxBase.cs: Use safe value setter to guard against a
  3572. potential NRE that is being reported by Reflector.
  3573. 2008-03-27 Jonathan Pobst <[email protected]>
  3574. * TreeView.cs: Create the scrollbars earlier in the constructor
  3575. to attempt to guard against an NRE in SetTop in Reflector.
  3576. 2008-03-27 Jonathan Pobst <[email protected]>
  3577. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  3578. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  3579. show messagebox on data format error, use column display index
  3580. correctly, make sure HitTest supports new layout stuff,
  3581. make sure scrollbars support new layout stuff.
  3582. 2008-03-27 Atsushi Enomoto <[email protected]>
  3583. * XplatUIX11.cs : Patch by Doug Rintoul.
  3584. For some IM engines, keypress events need to delay call
  3585. to XPending() and XNextEvent() in the loop so that it
  3586. does not mess the orders in XIM commit callback.
  3587. Some KeyRelease events such as shift keys need to be
  3588. processed both in the IM engine and winforms driver
  3589. itself since winforms holds its own state check.
  3590. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  3591. 2008-03-27 Atsushi Enomoto <[email protected]>
  3592. * X11Keyboard.cs, XplatUIX11.cs :
  3593. add primitive support for XIM input support (preedit-
  3594. nothing and status-nothing). It requires precise event
  3595. capturing (XSelectInput/"filterEvents") and different
  3596. call to XFilterEvent against root window.
  3597. Get composed string and send dummy WM_IME_COMPOSITION.
  3598. Free XIM and XIC instances in finalizer.
  3599. (This first patch does not include suggested changes
  3600. by Doug Rintoul. It will follow.)
  3601. 2008-03-26 Jonathan Pobst <[email protected]>
  3602. * DataGridView.cs: When binding to a property, if the property
  3603. doesn't have a setter, set the column to readonly.
  3604. [Fixes bug #343965]
  3605. 2008-03-26 Jonathan Pobst <[email protected]>
  3606. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  3607. we aren't dropped down. Support Home/End in DropDownList mode.
  3608. [Fixes bug #371990]
  3609. 2008-03-26 Jonathan Pobst <[email protected]>
  3610. * TreeNodeCollection.cs: Don't increment count until we've
  3611. saved our index to return.
  3612. [Fixes bug #373603]
  3613. 2008-03-25 Jonathan Pobst <[email protected]>
  3614. * Label.cs: Add padding to the label's AutoSize calculation.
  3615. [Fixes bug #373792]
  3616. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  3617. * ListBindingHelper.cs: Actually implement GetListName method.
  3618. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  3619. * BindingSource.cs: Throw the propert expceptions for some methods, as
  3620. well as detect the list item type for Add method if DataSource is null.
  3621. 2008-03-25 Jonathan Pobst <[email protected]>
  3622. * DataGridViewCell.cs: I don't know why I commented this out,
  3623. putting it back for now.
  3624. 2008-03-25 Jonathan Pobst <[email protected]>
  3625. * DataGridViewCell.cs: Remove storage for owning column, just
  3626. use column index.
  3627. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  3628. * DataGridViewColumnHeaderCell.cs: If the header text has been
  3629. explicitly set, return it.
  3630. [Fixes bug #325979]
  3631. 2008-03-25 Jonathan Pobst <[email protected]>
  3632. * DataGridViewRowCollection.cs: Disable row sharing when
  3633. using data binding. Its a great feature, but lets work on
  3634. getting DGV usable first before we worry about optimizations.
  3635. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  3636. * BindingSource.cs: When resetting our internal list, compute list
  3637. item type information to be used for indirect list access. Also
  3638. implement/tune some properties and methods related to the list access
  3639. too.
  3640. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  3641. BindingSource.
  3642. 2008-03-24 Jonathan Pobst <[email protected]>
  3643. * DataGridView.cs: If RowCount is increased while ColumnCount
  3644. is zero, add a column. [Fixes bug #331649]
  3645. 2008-03-24 Jonathan Pobst <[email protected]>
  3646. * DataGridViewRowCollection.cs: When adding new rows for
  3647. databinding, make sure they are place before the add row.
  3648. [Fixes bug #343961]
  3649. 2008-03-24 Jonathan Pobst <[email protected]>
  3650. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  3651. instead of Index order.
  3652. 2008-03-24 Jonathan Pobst <[email protected]>
  3653. * DataGridView.cs: If columns are added by increasing ColumnCount,
  3654. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  3655. [Fixes bug #325588]
  3656. 2008-03-24 Jonathan Pobst <[email protected]>
  3657. * DataGridView.cs: Turn off and on the "new row" when
  3658. AllowUserToAddRows is toggled. When the handle is created,
  3659. set current cell and selected cell/row/col.
  3660. 2008-03-24 Jonathan Pobst <[email protected]>
  3661. * ComboBox.cs: When navigating the drop down by keyboard, we
  3662. need to scroll the list box if our selection moves out of the
  3663. currently shown items. [Fixes bug #371990]
  3664. 2008-03-24 Luke Page <[email protected]>
  3665. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  3666. on the control. Also now handles unicode compatibility characters and
  3667. stores the unicode compatibility length on the stack. Fixes Bugs
  3668. #355198 and #366436.
  3669. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  3670. * BindingSource..cs: Take into account DataMember when re-creating the
  3671. List property, and also create a specific kind of list as needed.
  3672. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  3673. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  3674. get an empty IEnumerable, try to detect whether the datamember is
  3675. valid or not for that type, if true, return null, and throw exception
  3676. otherwise.
  3677. 2008-03-22 Jonathan Pobst <[email protected]>
  3678. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  3679. retract it. [Fixes bug #371989]
  3680. 2008-03-22 Ivan N. Zlatev <[email protected]>
  3681. * PropertyGrid.cs: Initialize the sorting button as pushed.
  3682. 2008-03-22 Ivan N. Zlatev <[email protected]>
  3683. * PropertyGrid.cs:
  3684. - Visually select the PropertyTab.
  3685. - Filter Properties by Attributes properly.
  3686. 2008-03-21 Jonathan Pobst <[email protected]>
  3687. * MenuItem.cs: Remove menu item from parent when disposed.
  3688. [Fixes bug #372845]
  3689. 2008-03-21 Jonathan Pobst <[email protected]>
  3690. * ToolBar.cs: Don't reset layout_type if Dock = None.
  3691. 2008-03-21 Andreia Gaita <[email protected]>
  3692. * UserControl.cs: Select the first available control when we get focus.
  3693. Fixes #372616
  3694. 2008-03-21 Jonathan Pobst <[email protected]>
  3695. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  3696. the content if we are in edit mode. [Fixes bug #343964]
  3697. 2008-03-21 Jonathan Pobst <[email protected]>
  3698. * DataGridViewCell.cs: Fix border painting for column headers.
  3699. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  3700. * BindingSource.cs: When setting or resetting data source,
  3701. use ListBindingHelper.GetList () method, since it will get the list in
  3702. case datasource is IListSource.
  3703. 2008-03-20 Jonathan Pobst <[email protected]>
  3704. * DataGridViewCell.cs: Implement lots more stuffs.
  3705. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3706. * PropertyGridView.cs, GridEntry.cs: Implement support for
  3707. UITypeEditor.IsDropDownResizable.
  3708. 2008-03-20 Jonathan Pobst <[email protected]>
  3709. * DataGridViewCell.cs: Remove unused variables, improve how
  3710. several of the property getters work.
  3711. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  3712. get its size from the parent row/col.
  3713. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3714. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  3715. user alters manually the PropertyTabs collection via the
  3716. PropertyTabs property.
  3717. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  3718. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  3719. new tests for them to be sure to be compatible with .net.
  3720. 2008-03-20 Andreia Gaita <[email protected]>
  3721. * WebBrowserBase.cs: Fix attributes, add events
  3722. * WebBrowser.cs: Fix Padding signature
  3723. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3724. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  3725. 2008-03-19 Jonathan Pobst <[email protected]>
  3726. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  3727. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  3728. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  3729. passes the new suite of tests for it.
  3730. 2008-03-18 Andreia Gaita <[email protected]>
  3731. * WebBrowser.cs: Add missing attributes, missing Padding and
  3732. DefaultSize properties, remove extraneous getters
  3733. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  3734. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  3735. method overloads.
  3736. 2008-03-16 Jonathan Pobst <[email protected]>
  3737. * ComboBox.cs: Move resetting the selected index to keypress
  3738. instead of textchanged. Changing the text programmatically
  3739. should not trigger resetting the selected index. Fixes test.
  3740. 2008-03-16 Jonathan Pobst <[email protected]>
  3741. * ComboBox.cs: When the user types into the textbox, reset
  3742. the selected index to -1. [Fixes bug #371672]
  3743. 2008-03-16 Jonathan Pobst <[email protected]>
  3744. * FileDialog.cs: Support Control-A for selecting everything
  3745. in an OpenFileDialog. [Fixes bug #371564]
  3746. 2008-03-15 Jonathan Pobst <[email protected]>
  3747. * DataGridView.cs: When row/column visible/height properties
  3748. change, invalidate. Take the NIEX out of InvalidateRow/Column
  3749. etc. We don't support them yet, but we can just invalidate
  3750. everything until we do support them. (Added MonoTODO). Set
  3751. proper control styles.
  3752. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  3753. are turned off.
  3754. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  3755. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  3756. 2008-03-14 Jonathan Pobst <[email protected]>
  3757. * DataGridViewRow.cs: Only paint the white background in
  3758. cell bounds, the row bounds extends past the cells if the
  3759. grid width isn't as wide as the DGV.
  3760. 2008-03-14 Jonathan Pobst <[email protected]>
  3761. * DataGridView*: Completely revamp the drawing to match the
  3762. public API. Our grids now look better, and call all the
  3763. appropriate methods and event to allow users to override
  3764. the painting and do their own.
  3765. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  3766. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  3767. 2008-03-13 Jonathan Pobst <[email protected]>
  3768. * DataGridView.cs: Implement BorderStyle.
  3769. 2008-03-13 Jonathan Pobst <[email protected]>
  3770. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  3771. are comparing attributes, make sure we only look at the
  3772. one we are interested. These calls were failing if there
  3773. were more than one attribute.
  3774. [Fixes bug #370385]
  3775. 2008-03-13 Jonathan Pobst <[email protected]>
  3776. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  3777. 2008-03-12 Jonathan Pobst <[email protected]>
  3778. * PageSetupDialog.cs: Stub EnableMetric.
  3779. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  3780. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  3781. ProcessTabKey.
  3782. 2008-03-12 Jonathan Pobst <[email protected]>
  3783. * MonthCalendar.cs: Remove unused variable.
  3784. 2008-03-12 Jonathan Pobst <[email protected]>
  3785. * DataGridView*.cs: corcompare stuffs.
  3786. 2008-03-11 Jonathan Pobst <[email protected]>
  3787. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  3788. The savings aren't worth the extra code to fix the optimization.
  3789. [Fixes bug #368585]
  3790. 2008-03-11 Jonathan Pobst <[email protected]>
  3791. * ToolBar.cs: Always call base.Dock in the Dock override so that
  3792. Control's layout_type gets reset correctly.
  3793. [Fixes bug #368882]
  3794. 2008-03-11 Ivan N. Zlatev <[email protected]>
  3795. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  3796. 2008-03-11 Jonathan Pobst <[email protected]>
  3797. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  3798. at the same time we do explicit ones, because we have to give all
  3799. other controls on the container a chance to handle explicit ones
  3800. first. If no one has an explicit mnemonic, then we can let the
  3801. MenuStrip have a shot at implicit mnemonics.
  3802. * MenuStrip.cs: Create an implicit mnemonic function.
  3803. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  3804. mnemonics for MenuStrips.
  3805. [Fixes bug #368493]
  3806. 2008-03-11 Jonathan Pobst <[email protected]>
  3807. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  3808. DataGridColumnStyle.cs: corcompare stuffs.
  3809. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  3810. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  3811. Details - This is needed after we added the bits to use any available
  3812. column also for List and SmallIcon view.
  3813. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  3814. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  3815. at the proper place, not only when changing SelectedIndex and changing
  3816. the selection using keys/mouse, as .net does.
  3817. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  3818. * ControlBindingsCollection.cs: Implement last 2.0
  3819. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  3820. in the new 2.0 Add methods.
  3821. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  3822. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  3823. return if no items are previously selected - this is done to avoid
  3824. firing OnSelectedIndexChanged without need to do so. Also,
  3825. when creating handle ensure that the focused item is visible (as
  3826. .net does).
  3827. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  3828. * ListBox.cs: Rewrote/refactored most of selection code. We require
  3829. the following things in selection: a) keep selection sorted (both
  3830. indices and items), b) SelectedIndices automatically detect the
  3831. selection mode, c) SelectedIndex should be the first selected item
  3832. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  3833. not only for SelectedIndex, which is specially important in Multi*
  3834. selection modes. To achieve this we are moving the selection core to
  3835. SelectedIndexCollection and make depend all selection modifications on
  3836. it.
  3837. Fixes #366438.
  3838. 2008-03-06 Jonathan Pobst <[email protected]>
  3839. * ToolStrip.cs: Enable implicit mnemonics for drop down
  3840. menu strips. [Fixes part of bug #367692]
  3841. 2008-03-06 Jonathan Pobst <[email protected]>
  3842. corcompare - fix parameter names [stragglers].
  3843. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  3844. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  3845. TabControl.cs.
  3846. 2008-03-06 Jonathan Pobst <[email protected]>
  3847. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  3848. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  3849. mnemonic, let the ToolStripManager have it even if it doesn't
  3850. have a matching mnemonic.
  3851. [Fixes bug #367499]
  3852. 2008-03-06 Jonathan Pobst <[email protected]>
  3853. corcompare - fix warning about implicit implementation
  3854. * ToolStrip.cs: Add IToolStripData interface.
  3855. * IToolStripData.cs: Add.
  3856. 2008-03-06 Jonathan Pobst <[email protected]>
  3857. corcompare - fix warning about implicit implementation
  3858. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  3859. * IBounds.cs: Add.
  3860. 2008-03-05 Jonathan Pobst <[email protected]>
  3861. corcompare - fix parameter names [N-Z].
  3862. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  3863. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  3864. PropertyManager.cs, RichTextBox.cs,
  3865. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  3866. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  3867. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  3868. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  3869. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  3870. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  3871. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  3872. ToolStripPanel.cs, ToolStripSeparator.cs,
  3873. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  3874. UICuesEventHandler.cs, UpDownBase.cs.
  3875. 2008-03-05 Jonathan Pobst <[email protected]>
  3876. corcompare - fix parameter names [G-M].
  3877. GridColumnStylesCollection.cs, GridItemCollection.cs,
  3878. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  3879. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  3880. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  3881. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  3882. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  3883. 2008-03-05 Jonathan Pobst <[email protected]>
  3884. corcompare - fix parameter names [A-F].
  3885. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  3886. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  3887. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  3888. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  3889. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  3890. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  3891. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  3892. 2008-03-03 Ivan N. Zlatev <[email protected]>
  3893. * GridEntry.cs: Do not convert not only if the types match,
  3894. but also if the property type is assigneable from the value's
  3895. type.
  3896. [Fixes bug #366566]
  3897. 2008-03-03 Ivan N. Zlatev <[email protected]>
  3898. * PropertyGridView.cs:
  3899. - Subscribe to the listbox only once and not everytime.
  3900. - Update the textbox even if SetValue fails.
  3901. - Close the listbox before calling TrySetValue just in case.
  3902. [Fixes bug #366569]
  3903. 2008-03-03 Jonathan Pobst <[email protected]>
  3904. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  3905. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  3906. * ListView.cs: Implement support for custom column width based on
  3907. Columns collection (we were previously using this collection only
  3908. with Details view).
  3909. Fixes #364484.
  3910. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  3911. * ListViewItem.cs: For Tile view, always set bounds for the first
  3912. subitem (which is the main one), and also don't let Width be larger
  3913. than ListView.TileSize.Width. Improve code readibility also.
  3914. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  3915. in Tile view, _always_ use the NoWrap flag.
  3916. Fixes #360798.
  3917. 2008-02-29 Ivan N. Zlatev <[email protected]>
  3918. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  3919. in case.
  3920. * GridEntry.cs: For MS compitability make all child properties
  3921. readonly if the parent is readonly. Ugh.
  3922. [Fixes bug #365945 and #365944]
  3923. 2008-02-29 Andreia Gaita <[email protected]>
  3924. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  3925. relative to the history
  3926. 2008-02-29 Andreia Gaita <[email protected]>
  3927. * HtmlElement.cs: More handlers for mouse and key events
  3928. 2008-02-28 Andreia Gaita <[email protected]>
  3929. * WebBrowserBase.cs: MouseClick sig changed.
  3930. * HtmlHistory.cs: Implement history navigation
  3931. * HtmlElement.cs: Add event handlers, and connect them.
  3932. 2008-02-28 Ivan N. Zlatev <[email protected]>
  3933. * GridEntry.cs:
  3934. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  3935. so that DisplayNameAttribute doesn't get ignored.
  3936. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  3937. - Add support for PasswordPropertyTextAttribute
  3938. * PropertyGridView.cs: Check if an entry is a password.
  3939. [Fixes bugs #365589, #365586, #365588]
  3940. 2008-02-28 Andreia Gaita <[email protected]>
  3941. * PropertyGridView.cs: Revert the message filtering change, as we
  3942. need it to block after all. Remove block parameter, unnecessary.
  3943. 2008-02-27 Jonathan Pobst <[email protected]>
  3944. * UserControl.cs: Better implementation of GetPreferredSize.
  3945. First step to fixing bug #361441.
  3946. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  3947. * Binding.cs: Actually implement data binding support for
  3948. classes implementing IBindableComponent.
  3949. * ControlBindingsCollection.cs: Likewise.
  3950. 2008-02-26 Andreia Gaita <[email protected]>
  3951. * PropertyGridView.cs: Use a message filter to check when to
  3952. close the dropdown
  3953. 2008-02-26 Andreia Gaita <[email protected]>
  3954. * Application.cs: Change the message_filters loop so a filter
  3955. can be removed while looping.
  3956. 2008-02-26 Ivan N. Zlatev <[email protected]>
  3957. * GridEntry.cs: Optimization in ToggleValue so that it caches
  3958. the current value.
  3959. * PropertyGridView.cs: An optimization so that the property isn't
  3960. re-read twice for each StandardValue added to the drop-down menu.
  3961. Patch by Andy Hume <[email protected]> under the MIT/X11
  3962. license.
  3963. [Fixes bug #362755]
  3964. 2008-02-26 Jonathan Pobst <[email protected]>
  3965. * Application.cs: Apply patch from Justin Cherniak to match
  3966. MS better for ProductName, ProductVersion, and CompanyName.
  3967. [Fixes bug #361709]
  3968. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  3969. * Binding.cs: Actually implement 2.0 NullValue property. Also
  3970. when changing the formatting related properties, only update the state
  3971. if formatting_enabled is true (we don't mind otherwise).
  3972. 2008-02-25 Jonathan Pobst <[email protected]>
  3973. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  3974. [Fixes bug #364486]
  3975. 2008-02-25 Ivan N. Zlatev <[email protected]>
  3976. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  3977. of GetType on the current value as it uses reflection to
  3978. determine the type. This fixes the case where the new value is
  3979. null.
  3980. 2008-02-25 Ivan N. Zlatev <[email protected]>
  3981. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  3982. past the view.
  3983. 2008-02-24 Luke Page <[email protected]>
  3984. * Line.cs, TextControl.cs: Implement offset x and y so that a
  3985. document doesn't have to begin at (0,0) on the viewpoint.
  3986. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  3987. bars and switches the text alignment (and therefore is now
  3988. implemented for textbox). Fixes #321383.
  3989. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  3990. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  3991. properties. Also when changing FormattingEnabled update the control
  3992. property -as .Net does-.
  3993. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  3994. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  3995. * Binding.cs: Add stubs for the overloads of the Add method in
  3996. CBCollection.
  3997. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  3998. * Binding.cs: PullData () returns a false value if we got an exception.
  3999. Also when validating the control and we get an error, instead of
  4000. setting the value of the previous one, cancel the event (tested in 1.1
  4001. and 2.0).
  4002. 2008-02-22 Jonathan Pobst <[email protected]>
  4003. * TreeView.cs: Make selected_node and highlighted_node internal.
  4004. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  4005. to null when Nodes.Clear is called.
  4006. [Fixes bug #363884]
  4007. 2008-02-21 Jonathan Pobst <[email protected]>
  4008. * FontDialog.cs: Ensure that when the Font is set in code,
  4009. all the gui pieces are updated accordingly.
  4010. [Fixes bug #361020]
  4011. 2008-02-21 Jonathan Pobst <[email protected]>
  4012. * TextRenderer.cs: Respect proposed size for MeasureString.
  4013. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  4014. autosize, use a proposed width to force wrapping for long text.
  4015. [Fixes bug #360981]
  4016. 2008-02-21 Jonathan Pobst <[email protected]>
  4017. * TreeView.cs: Factor in checkboxes = false and state images in
  4018. to HitTest. [Fixes bug #363360]
  4019. 2008-02-21 Jonathan Pobst <[email protected]>
  4020. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  4021. when drawing the selected range.
  4022. [Fixes bug #363648]
  4023. 2008-02-21 Jonathan Pobst <[email protected]>
  4024. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  4025. ResizeRedraw control styles.
  4026. [Fixes bug #363555]
  4027. 2008-02-20 Jonathan Pobst <[email protected]>
  4028. * TreeView.cs: StateImages are basically custom checkboxes, so
  4029. factor their size the same as real checkboxes when determining
  4030. what got clicked.
  4031. [Fixes bug #363367]
  4032. 2008-02-20 Jonathan Pobst <[email protected]>
  4033. * MessageBox.cs: Make the message box wider if the form caption
  4034. is longer than the text in the form.
  4035. [Fixes bug #361137]
  4036. 2008-02-20 Ivan N. Zlatev <[email protected]>
  4037. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  4038. 2008-02-20 Jonathan Pobst <[email protected]>
  4039. * TreeNode.cs: Guard against an NRE when the parent's
  4040. StateImageList hasn't been set.
  4041. [Fixes bug #363353]
  4042. 2008-02-20 Jonathan Pobst <[email protected]>
  4043. * SplitContainer.cs: Add SupportsTransparentBackColor and
  4044. OptimizedDoubleBuffering control styles.
  4045. [Fixes bug #363303]
  4046. 2008-02-20 Jonathan Pobst <[email protected]>
  4047. * Application.cs: For the app data paths and the registry key paths,
  4048. ensure they are created before returning them to the user.
  4049. [Fixes bug #361709]
  4050. 2008-02-20 Jonathan Pobst <[email protected]>
  4051. * Application.cs: Guard against an NRE in CompanyName and
  4052. ProductName.
  4053. 2008-02-20 Jonathan Pobst <[email protected]>
  4054. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  4055. make sure we handle all three cases correctly: attribute is present,
  4056. attribute is present but is an empty string, and attribute is not
  4057. present.
  4058. 2008-02-20 Ivan N. Zlatev <[email protected]>
  4059. * PropertyGridView.cs:
  4060. - Fix a NRE that caused a test failure
  4061. - Another performance improvement - cache the standard values
  4062. listbox.
  4063. 2008-02-19 Jonathan Pobst <[email protected]>
  4064. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  4065. code paths.
  4066. 2008-02-19 Ivan N. Zlatev <[email protected]>
  4067. * PropertyGridView.cs: Fix a big performance bug.
  4068. 2008-02-19 Jonathan Pobst <[email protected]>
  4069. * SelectionRange.cs: Apply patch from Andy Hume to make
  4070. constructor behavior more accurate. [Fixes bug #362117]
  4071. 2008-02-19 Andreia Gaita <[email protected]>
  4072. * Control.cs: Added a new flag is_disposing to track if the
  4073. window is currently in the process of being disposed of.
  4074. This is used so that, when firing visibility changes triggered
  4075. by unparenting controls during Dispose, the control doesn't
  4076. get created again.
  4077. 2008-02-19 Jonathan Pobst <[email protected]>
  4078. * ComboBox.cs: Set height to preferred height when the handle
  4079. is created. [Fixes bug #360862]
  4080. 2008-02-18 Andreia Gaita <[email protected]>
  4081. * XplatUIX11.cs: Create FosterParent with border width at 0.
  4082. With the previous value of 4, everytime a control got reparented
  4083. from parent = null, it's location would be shifted right and
  4084. down by 4, since these coordinates would be offset by the
  4085. FosterParent's border width.
  4086. 2008-02-18 Ivan N. Zlatev <[email protected]>
  4087. * Control.cs: During diposing firstly remove ourselfes from
  4088. the parent and *then* destroy our handle, because removing
  4089. ourselfes from the parent controls collection causes
  4090. VisibilityChange, etc events, which require a handle and end
  4091. up recreating the control.
  4092. 2008-02-17 Ivan N. Zlatev <[email protected]>
  4093. * GridEntry.cs: Set expanded state before notifying that the
  4094. expansion has taken place.
  4095. * PropertyGridView.cs:
  4096. - Set the propertygridtextbox text to the selected
  4097. StandardValue before proceeding to setting it.
  4098. - Scrolling bugfixes.
  4099. 2008-02-16 Ivan N. Zlatev <[email protected]>
  4100. * GridEntry.cs:
  4101. - Fix ValueText to not return null.
  4102. - Fix conversion error reporting to actually happen.
  4103. * PropertyGridView.cs: Set entry only if the text has changed.
  4104. [Fixes bug #362116]
  4105. 2008-02-16 Ivan N. Zlatev <[email protected]>
  4106. * GridEntry.cs:
  4107. - Fix handling of a null current value.
  4108. - Swallow editor exceptions.
  4109. [Fixes bug #362114]
  4110. 2008-02-16 Ivan N. Zlatev <[email protected]>
  4111. * PropertyGrid.cs: Clear current items first thing before
  4112. repopulating subitems.
  4113. * GridEntry.cs:
  4114. - Handle null StandardValuesCollection.
  4115. - Mark as not editable if there is no PropertyDescriptor and
  4116. if the Converter cannot convert from string.
  4117. [Part of fix for bugs #360666 and #358332]
  4118. 2008-02-15 Luke Page <[email protected]>
  4119. * MaskedTextBox.cs: Now skips non editable characters after a
  4120. character has been entered and we are progressing to the next
  4121. position in the MaskedTextBox.
  4122. 2008-02-15 Luke Page <[email protected]>
  4123. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  4124. that it changes the selection rather than just repositioning the
  4125. cursor. Fixes Bug #360873.
  4126. 2008-02-15 Luke Page <[email protected]>
  4127. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  4128. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  4129. correctly. See #359330
  4130. 2008-02-15 Andreia Gaita <[email protected]>
  4131. * XplatUIX11.cs: If the handle is null when posting a message, use the
  4132. current thread queue to post instead. Fixes #332409
  4133. * SendKeys.cs: Slight optimization
  4134. 2008-02-14 Ivan N. Zlatev <[email protected]>
  4135. * PropertyGrid.cs, PropertyGridView.cs:
  4136. Fix multiple scrolling and sizing issues.
  4137. [Fixes bug #359199]
  4138. 2008-02-12 Ivan N. Zlatev <[email protected]>
  4139. * PropertyGridView.cs: Ensure that drop down editors are shown
  4140. in the WorkingArea of the screen.
  4141. [Fixes bug #359807]
  4142. 2008-02-12 Ivan N. Zlatev <[email protected]>
  4143. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  4144. [Fixes bug #360666]
  4145. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  4146. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  4147. 2008-02-11 Ivan N. Zlatev <[email protected]>
  4148. * PropertyGridView.cs:
  4149. - Clear the controls in the drop down form after it is hidden.
  4150. - Fix Width sizing of the dropdown editors to match MSFT.
  4151. 2008-02-11 Ivan N. Zlatev <[email protected]>
  4152. * PropertyGridView.cs:
  4153. - Fix height for drawing the grid entry
  4154. text value, so that it clips multiline text properly.
  4155. - Fix unfocusing to match MSFT.
  4156. 2008-02-11 Ivan N. Zlatev <[email protected]>
  4157. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  4158. Fixes a bug where on repopulation after value changed items become
  4159. expandable.
  4160. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  4161. * Binding.cs: For the 2.0 profile, look for a
  4162. 'PropertyChanged' event in the target control, and add checks for
  4163. DataSourceUpdateMode property to change -or not- the data source
  4164. from validation/control property change.
  4165. 2008-02-10 Atsushi Enomoto <[email protected]>
  4166. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  4167. not compare struct with null in 2.0).
  4168. 2008-02-10 Luke Page <[email protected]>
  4169. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  4170. updates the provider and if not using a provider, uses the internal document
  4171. class implementation of password char. Also when showing text, uses display string
  4172. from the provider, instead of the actual text.
  4173. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  4174. * Binding.cs: Ooooops, forgot to take into account the data_source
  4175. and binding_member_info null case (it was breaking the Binding tests).
  4176. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  4177. * Binding.cs: Implement support for data source changes exposed by
  4178. 'PropertyNameChanged' events, and update the control property as
  4179. needed.
  4180. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  4181. * Binding.cs: Implement 2.0 WriteValue method.
  4182. 2008-02-08 Jonathan Pobst <[email protected]>
  4183. Commit patch from James Purcell for better AutoScale implementation:
  4184. * ScaleControl should call GetScaledBounds with the control's total size rather
  4185. than client size. GetScaledBounds should handle ignoring the borders in its
  4186. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  4187. (for the most part they just call the base code now since that is fixed).
  4188. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  4189. without having to override ScaleChildren (since none of .NET's controls do).
  4190. This is required for most controls in Mono that have scrollbars to prevent the
  4191. scrollbars from being moved/resized.
  4192. * Nested ContainerControls can have a different scale mode than their parent.
  4193. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  4194. designer produce different results both of which look incorrect).
  4195. * Default AutoScaleMode for ContainerControl should be Inherit.
  4196. * Simplified workaround for ComboBox scaling issue.
  4197. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  4198. 1.0 style auto scaling should scale the whole control's size instead of
  4199. ignoring the borders (except for Form) and the rounding is done differently to
  4200. preserve control alignment.
  4201. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  4202. GetAutoScaleSize.
  4203. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  4204. * CurrentAutoScaleDimensions should round the estimated character width instead
  4205. of truncating.
  4206. * ListBox's GetScaledBounds should always use the height it was set to instead
  4207. of the height that was passed in. This prevents rounding errors from
  4208. accumulating quickly with IntegralHeight.
  4209. [Bug #359098]
  4210. 2008-02-08 Andreia Gaita <[email protected]>
  4211. * Form.cs: Add a null check (darn it).
  4212. 2008-02-08 Jonathan Pobst <[email protected]>
  4213. * MdiClient.cs: Make sure the requesting form actually owns the
  4214. control menu items before removing them. Also, use
  4215. Suspend/ResumeLayout when adding or removing items so we only
  4216. layout once.
  4217. [Fixes bug #359887]
  4218. 2008-02-08 Jonathan Pobst <[email protected]>
  4219. * Control.cs: Guard against an NRE in ShowFocusCues.
  4220. [Fixes bug #359830]
  4221. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  4222. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  4223. property, as well as stubbing DataSourceUpdateMode.
  4224. 2008-02-08 Andreia Gaita <[email protected]>
  4225. * Form.cs: When closing forms, get focus back to the active control of the
  4226. active form. [Fixes #341314, corner case]
  4227. 2008-02-07 Jonathan Pobst <[email protected]>
  4228. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  4229. area, so any old scrollbar artifacts are cleaned up.
  4230. [Fixes bug #336305]
  4231. 2008-02-07 Jonathan Pobst <[email protected]>
  4232. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  4233. for our menus, display that control box menu instead of the 1.1
  4234. menu one.
  4235. 2008-02-07 Jonathan Pobst <[email protected]>
  4236. * MdiControlStrip.cs: Add property to access the mdi form tied to
  4237. each toolstripitem.
  4238. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  4239. to the implicitly merged menu. Every time we clicked the form, items
  4240. were getting removed and the re-added, causing the form to jump around
  4241. as the menu resized.
  4242. 2008-02-07 Jonathan Pobst <[email protected]>
  4243. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  4244. was being reset by the implicit menu merge for menustrips.
  4245. [Fixes bug #336296]
  4246. 2008-02-07 Jonathan Pobst <[email protected]>
  4247. * Form.cs: Don't do the previous change when WindowState = Normal,
  4248. or it messes up where the window is placed. Fixes test failure.
  4249. 2008-02-07 Jonathan Pobst <[email protected]>
  4250. * Form.cs: When becoming visible, if we are an MDI child, call
  4251. SetWindowState with a dummy old_state so that changes will actually
  4252. be made.
  4253. [Fixes the 2nd part of bug #325473]
  4254. 2008-02-07 Andreia Gaita <[email protected]>
  4255. * Control.cs: Reset properties to their pre parent-change values in case
  4256. the new parent == null (in which case we're basically removing the control,
  4257. and don't want any events fired due to fake property changes)
  4258. [Fixes #355850]
  4259. 2008-02-06 Ivan N. Zlatev <[email protected]>
  4260. * PropertyGridView.cs:
  4261. - Refactor SetValue to allow setting the value
  4262. when a custom editor is used, but the entry is not editable.
  4263. - Remove the custom editor control on CloseDropDown.
  4264. [Fixes #359196]
  4265. 2008-02-06 Andreia Gaita <[email protected]>
  4266. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  4267. reflection only on 1.1, this property is public on system.drawing on 2.0.
  4268. Fixed #359247
  4269. 2008-02-06 Andreia Gaita <[email protected]>
  4270. * WebBrowser.cs: Do a normal page refresh by default.
  4271. 2008-02-05 Andreia Gaita <[email protected]>
  4272. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  4273. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  4274. platforms. Fixes #359036
  4275. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  4276. platform-specific flags.
  4277. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  4278. * Binding.cs: Add 2.0 BindableComponent property - just return control
  4279. by now.
  4280. 2008-02-05 Everaldo Canuto <[email protected]>
  4281. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  4282. Jonathan for this patch. Fixes #358442.
  4283. 2008-02-05 Jonathan Pobst <[email protected]>
  4284. * Form.cs: If we change the active MDI child form, let the others
  4285. know they need to repaint their title bar so it will appear inactive.
  4286. [Fixes part 1 of bug #325473]
  4287. 2008-02-05 Ivan N. Zlatev <[email protected]>
  4288. * PropertyGridView.cs: Do not trucate custom editors' width
  4289. and align them to the left.
  4290. [Fixes #358353 and #358349]
  4291. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  4292. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  4293. Also fix the arguments passed to CollectionChangeEventArgs in the
  4294. related methods.
  4295. 2008-02-04 Geoff Norton <[email protected]>
  4296. * Hwnd.cs: The conversion to Quartz coordinates happens in
  4297. System.Drawing. Removing this translation from here.
  4298. 2008-02-04 Ivan N. Zlatev <[email protected]>
  4299. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  4300. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  4301. GridItemCollection.cs:
  4302. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  4303. 2008-02-04 Geoff Norton <[email protected]>
  4304. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  4305. SYSKEYUP if any other key has been pressed in the mean time.
  4306. Fixes #324404
  4307. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  4308. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  4309. when the item in current position is different than 0. Also, save the
  4310. item index in the beginning of the operation, instead of getting the
  4311. index of the item when the event is actually performed. Lastly clean
  4312. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  4313. triggered.
  4314. [Fixes #357873]
  4315. 2008-02-03 Jonathan Pobst <[email protected]>
  4316. * Form.cs: Alt-Minus for MDI children system menu should work
  4317. with both the minus keys on the keyboard.
  4318. [Fixes bug #336295]
  4319. 2008-02-03 Jonathan Pobst <[email protected]>
  4320. * Control.cs: Don't invalidate on region change. The WM should
  4321. take care of this automagically. Keeps us out of an infinite
  4322. paint loop if someone changes the Region in the OnPaint.
  4323. [Fixes bug #358327]
  4324. 2008-02-04 Ivan N. Zlatev <[email protected]>
  4325. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  4326. 2008-02-03 Jonathan Pobst <[email protected]>
  4327. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  4328. down the MonthCalendar only on F4, not Alt+F4.
  4329. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  4330. [Fixes bug #358340]
  4331. 2008-02-03 Jonathan Pobst <[email protected]>
  4332. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  4333. if its part of a DateTimePicker, else, use the back color.
  4334. [Fixes bug #358339]
  4335. 2008-02-03 Jonathan Pobst <[email protected]>
  4336. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  4337. [Fixes bug #358342]
  4338. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  4339. * CurrencyManager.cs: When we get a ListChanged event from our source,
  4340. always fire our own ListChanged event, as .Net does.
  4341. 2008-02-03 Luke Page <[email protected]>
  4342. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  4343. #358379.
  4344. 2008-02-03 Luke Page <[email protected]>
  4345. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  4346. property. Removed if for richtext property that was always true.
  4347. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  4348. 2008-02-03 Luke Page <[email protected]>
  4349. * TextBoxBase.cs - commited patch from James Purcell that
  4350. correctly sets the FixedHeight control style when the MultiLine
  4351. property is changed on a TextBox control. Fixes bug 358229.
  4352. 2008-02-02 Luke Page <[email protected]>
  4353. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  4354. Fixes bug 351938 - caret is positioned correctly when drawn
  4355. and when calculating textual position of caret, no longer
  4356. has a NRE in certain situations.
  4357. 2008-02-01 Geoff Norton <[email protected]>
  4358. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  4359. get that region removed from the paint event.
  4360. * XplatUICarbon.cs: Remove the window mapping after disposing of
  4361. window. Prevents a crash with handle reuse. Optimize exposes
  4362. only onto visible windows (rare; but possible).
  4363. 2008-02-01 Jonathan Pobst <[email protected]>
  4364. * UpDownBase.cs: Make sure the internal textbox calls the base's
  4365. OnMouseDown and OnMouseUp so the textbox will function correctly.
  4366. There were notes saying it doesn't chain up, but its an internal
  4367. class, so our implementation may differ.
  4368. [Fixes bug #357482]
  4369. 2008-02-01 Jonathan Pobst <[email protected]>
  4370. * ListBox.cs: Fix a logic error and don't process MouseDown
  4371. for mouse buttons other than Left.
  4372. 2008-02-01 Jonathan Pobst <[email protected]>
  4373. * Control.cs: Remove HeightInternal.
  4374. * ListBox.cs: Commit patch from James Purcell that correctly
  4375. calculates heights for ListBoxen.
  4376. [Fixes bug #357152]
  4377. 2008-02-01 Jonathan Pobst <[email protected]>
  4378. * Label.cs: Apply patch from James Purcell that corrects the
  4379. signature of the AutoSize property.
  4380. [Fixes bug #357605]
  4381. 2008-02-01 Jonathan Pobst <[email protected]>
  4382. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  4383. other than the left mouse button.
  4384. 2008-01-31 Jonathan Pobst <[email protected]>
  4385. * Control.cs: Remove my awesome optimization as it caused some
  4386. regressions with control ordering. :(
  4387. [Fixes bug #357467]
  4388. 2008-01-31 Ivan N. Zlatev <[email protected]>
  4389. * PropertyGridView.cs: Fix a NRE on double click when there is no
  4390. selected object.
  4391. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  4392. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  4393. 2008-01-30 Jonathan Pobst <[email protected]>
  4394. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  4395. [Fixes bug #357146]
  4396. 2008-01-29 Jonathan Pobst <[email protected]>
  4397. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  4398. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  4399. instead of Hwnd.bmp_g.
  4400. 2008-01-29 Jonathan Pobst <[email protected]>
  4401. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  4402. Use the Hwnd one instead.
  4403. 2008-01-29 Jonathan Pobst <[email protected]>
  4404. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  4405. 2008-01-29 Jonathan Pobst <[email protected]>
  4406. * Form.cs: corcompare for RestoreBounds.
  4407. 2008-01-29 Jonathan Pobst <[email protected]>
  4408. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  4409. 2008-01-29 Jonathan Pobst <[email protected]>
  4410. * Form.cs: Handle Alt-Minus for MDI children forms.
  4411. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  4412. Add mnemonics to the control menu.
  4413. [Fixes bug #336295]
  4414. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  4415. * Binding.cs: Initial implementation bits of FormattingEnabled
  4416. property and BindingComplete event (2.0).
  4417. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  4418. and exception.
  4419. 2008-01-28 Jonathan Pobst <[email protected]>
  4420. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  4421. table.Location. [Fixes bug #354672]
  4422. 2008-01-28 Jonathan Pobst <[email protected]>
  4423. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  4424. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  4425. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  4426. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  4427. of doing all the re-bound work, just invalidate and call SetControlText
  4428. to set the updated text of selected item to our textbox.
  4429. Fixes #333750.
  4430. 2008-01-28 Andreia Gaita <[email protected]>
  4431. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  4432. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  4433. missing properties and methods. Add Load, Unload, Error, GotFocus,
  4434. LostFocus, Resize, Scroll events (only load and unload are connected)
  4435. 2008-01-27 Gert Driesen <[email protected]>
  4436. * AccessibleObject.cs: Modified argument names to match MS.
  4437. * Button.cs: Modified argument names to match MS.
  4438. * BindingContext.cs: Modified argument names to match MS.
  4439. * BindingMemberInfo.cs: Modified argument names to match MS.
  4440. * ButtonBase.cs: Modified argument names to match MS.
  4441. * ComboBox.cs: Modified argument names to match MS.
  4442. * Control.cs: Modified argument names to match MS.
  4443. * CheckedListBox.cs: Modified argument names to match MS.
  4444. * CommonDialog.cs: Modified argument names to match MS.
  4445. * DataGrid.cs: Modified argument names to match MS.
  4446. * CursorConverter.cs: Modified argument names to match MS.
  4447. * ControlPaint.cs: Modified argument names to match MS.
  4448. * CheckBox.cs: Modified argument names to match MS.
  4449. * ControlBindingsCollection.cs: Modified argument names to match MS.
  4450. * BindingSource.cs: Modified argument names to match MS.
  4451. * DataFormats.cs: Modified argument names to match MS.
  4452. * ContainerControl.cs: Modified argument names to match MS.
  4453. * CurrencyManager.cs: Modified argument names to match MS.
  4454. * Application.cs: Modified argument names to match MS.
  4455. * ContextMenuStrip.cs: Modified argument names to match MS.
  4456. * ContextMenu.cs: Modified argument names to match MS.
  4457. * BindingManagerBase.cs: Modified argument names to match MS.
  4458. * WindowsFormsSection.cs: Fixed line ending.
  4459. 2008-01-27 Andreia Gaita <[email protected]>
  4460. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  4461. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  4462. while.
  4463. 2008-01-26 Gert Driesen <[email protected]>
  4464. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  4465. MS. Code formatting.
  4466. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  4467. * Binding.cs: Don't avoid the Format event if the control
  4468. property type is object. Also, if the value retrieved by
  4469. the data source is null _and_ the control proeprty type
  4470. is object, return Convert.DBNull (match .Net).
  4471. Fixes part of #324286.
  4472. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  4473. * ListControl.cs: Since we are getting two BinginContextChanged events
  4474. for the same binding context instance (when the control is added to
  4475. form, and when the form is actually shown), take it into account only the
  4476. first time for a given binding context instance.
  4477. Fixes part of #324286.
  4478. 2008-01-26 Ivan N. Zlatev <[email protected]>
  4479. * PropertryGridView.cs: Ops.
  4480. 2008-01-26 Ivan N. Zlatev <[email protected]>
  4481. * PropertyGridView.cs: Close dropdown form if the owner form is
  4482. moved or minimized.
  4483. [Fixes bug #322446]
  4484. 2008-01-25 Ivan N. Zlatev <[email protected]>
  4485. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  4486. RootGridEntry.cs, CategoryGridEntry.cs:
  4487. PropertyGrid rewrite.
  4488. - Rewrite all of the control logic in PropertyGrid.
  4489. - Rewrite all of the ComponentModel logic in GridEntry.
  4490. - Rewrite all UI work in PropertyGridView.
  4491. - Many bugfixes, etc.
  4492. 2008-01-24 Jonathan Pobst <[email protected]>
  4493. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  4494. when all contained controls are autosize or dock-fill. Also take into
  4495. account when the total percentage of column/row sizes is not 100%.
  4496. [Fixes bug #354672]
  4497. 2008-01-24 Andreia Gaita <[email protected]>
  4498. * HtmlDocument.cs:
  4499. - Save a reference to the IDocument in the instance and
  4500. use that one instead of going to WebHost.Document; the document that the
  4501. WebHost returns might not be the right one (in case of frames).
  4502. - Use the hashcode returned from the IDocument interface.
  4503. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  4504. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  4505. LinkColor, Url, VisitedColor, Window
  4506. * HtmlElement.cs:
  4507. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  4508. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  4509. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  4510. SetAttribute, Equals, equality operators.
  4511. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  4512. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  4513. * HtmlElementCollection.cs: Change implementation to use a generic
  4514. collection. Implemented Enumerator and CopyTo
  4515. * HtmlHistory.cs: Add constructor, no implementation yet.
  4516. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  4517. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  4518. Equals, equality operators.
  4519. * HtmlWindowCollection.cs: Implemented.
  4520. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  4521. has been deprecated).
  4522. * WebBrowserBase.cs: Use Completed event to track document loading
  4523. (Navigated has been deprecated)
  4524. 2008-01-24 Jonatham Pobst <[email protected]>
  4525. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  4526. level MenuItems do not respect tabs.
  4527. [Fixes bug #355196]
  4528. 2008-01-23 Geoff Norton <[email protected]>
  4529. * XplatUICarbon.cs: Ensure that windows are created in their initial
  4530. FormWindowState. Finished fixing Fullscreen windows on Carbon
  4531. 2008-01-23 Everaldo Canuto <[email protected]>
  4532. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  4533. be used as grab_control. Also save status of capture before show ContextMenu
  4534. and restore it after close.
  4535. 2008-01-23 Everaldo Canuto <[email protected]>
  4536. * Control.cs: Internal FindRootParent method added to return high control
  4537. in parent tree.
  4538. 2008-01-23 Geoff Norton <[email protected]>
  4539. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  4540. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  4541. it work again. Handle HITTEST events.
  4542. 2008-01-23 Geoff Norton <[email protected]>
  4543. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  4544. a crash in certain cases. Support for fullscreen windows in certain cases.
  4545. 2008-01-23 Jonathan Pobst <[email protected]>
  4546. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  4547. [Fixes bug #355703]
  4548. 2008-01-23 Geoff Norton <[email protected]>
  4549. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  4550. 2008-01-23 Geoff Norton <[email protected]>
  4551. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  4552. 2008-01-23 Everaldo Canuto <[email protected]>
  4553. * SplitContainer.cs: Remove unused declarations.
  4554. * Binding.cs: Remove unused declarations.
  4555. 2008-01-23 Everaldo Canuto <[email protected]>
  4556. * Form.cs: Remove unused declaration of 'active' in Activate method.
  4557. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  4558. prevent compilation warnings.
  4559. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  4560. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  4561. * Bindings.cs: Remove unused formatting_enabled declaration.
  4562. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  4563. warnings.
  4564. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  4565. warnings.
  4566. * PropertyGridView.cs: Remove usused 'ex' declaration.
  4567. * DataGridView.cs: Remove unused declarations.
  4568. 2008-01-23 Everaldo Canuto <[email protected]>
  4569. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  4570. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  4571. to Control class, it makes possible to grab menu to controls that can't
  4572. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  4573. WmMouseMove removed since it was used only to track menu events.
  4574. * Control.cs:
  4575. - Moved all active_tracker stuff from Form.
  4576. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  4577. can call this method instead of reimplement all necessary code handle for
  4578. menu tracker.
  4579. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  4580. and WmMouseMove).
  4581. * MenuAPI.cs:
  4582. - Remove special handle to ToolStripOverflow, now we can grab menu to
  4583. controls that can't reach Form using parent tree.
  4584. - Change type of grab_control from Form to Control.
  4585. 2008-01-22 Geoff Norton <[email protected]>
  4586. * TextBoxBase.cs: Split up the sizing of controls and placing of
  4587. controls. Fixes a bug where scrollbars in Reflector could be sized
  4588. wrong and have non-working thumbers.
  4589. 2008-01-23 Geoff Norton <[email protected]>
  4590. * XplatUI.cs: Refactor environment variables to default support to the
  4591. Carbon driver on the Mac.
  4592. 2008-01-23 Everaldo Canuto <[email protected]>
  4593. * Label.cs: Uses new LabelPainter for drawing operations.
  4594. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  4595. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  4596. 2008-01-22 Geoff Norton <[email protected]>
  4597. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  4598. 2008-01-22 Jonathan Pobst <[email protected]>
  4599. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  4600. through the normal flat button code and don't draw the checkbox glyph.
  4601. * Theme.cs: Button->ButtonBase signature change.
  4602. [Fixes bug #324755]
  4603. 2008-01-22 Everaldo Canuto <[email protected]>
  4604. * LinkLabel.cs: Uses new class LinkLabelPainter.
  4605. 2008-01-22 Everaldo Canuto <[email protected]>
  4606. * MessageBox.cs: Adjust right border space, we don't need to add
  4607. "space_border*2" two times.
  4608. 2008-01-22 Jonathan Pobst <[email protected]>
  4609. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  4610. becomes a wrapper around Padding.
  4611. [Fixes a part of bug #354676]
  4612. 2008-01-22 Geoff Norton <[email protected]>
  4613. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  4614. acquired. Also ensure the buffer is large enough to grab the header
  4615. we need on linux boxes.
  4616. 2008-01-22 Jonathan Pobst <[email protected]>
  4617. * Control.cs: Implement a custom enumerator so people can delete
  4618. from the Controls collection while in a foreach.
  4619. [Fixes bug #355074]
  4620. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4621. * PropertyGridView.cs: Fix focusing behavior:
  4622. - Tab should focus the grid text box.
  4623. - Clicking on the labels shouldn't focus the grid text box.
  4624. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4625. * PropertyGridView.cs: IsValueTypeGridItem should return true
  4626. for Arrays as well.
  4627. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4628. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  4629. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  4630. reflect the property name role.
  4631. - PropertyGrid.GetTarget is not required as the target is known
  4632. (TargetObjects).
  4633. - Setting values will handle value types as a special case now and
  4634. populate them up in the chain.
  4635. [Fixes #354990]
  4636. 2008-01-21 Jonathan Pobst <[email protected]>
  4637. * Hwnd.cs: Create a public property for the Graphics we keep around.
  4638. 2008-01-21 Ivan N. Zlatev <[email protected]>
  4639. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  4640. when the current object selection changes.
  4641. Fixes failing test SelectedObject_Null2.B5.
  4642. 2008-01-21 Ivan N. Zlatev <[email protected]>
  4643. * PropertyGrid.cs: Process Browsable properties with
  4644. DesignerSerializationVisibilityAttribute.Content as being expandable.
  4645. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  4646. will not be expandable. We should be nested components-friendly now.
  4647. 2008-01-21 Andreia Gaita <[email protected]>
  4648. * WebBrowserBase.cs: Check if control was loaded properly,
  4649. don't bind if it wasn't.
  4650. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  4651. GetElementFromPoint, equality operators, OpenNew, Write.
  4652. Remove extra set_Body
  4653. 2008-01-18 Jonathan Pobst <[email protected]>
  4654. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  4655. that makes our AutoScale* stuff more tolerant to different orders
  4656. of being set. [Fixes bug #354669]
  4657. 2008-01-18 Ivan N. Zlatev <[email protected]>
  4658. * PropertyGridView.cs, PropertyGridTextBox.cs:
  4659. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  4660. [Fixes #339005 and #348209]
  4661. 2008-01-18 Ivan N. Zlatev <[email protected]>
  4662. * PropertyGridView.cs: Hide the grid text box before adjusting it
  4663. for the newly selected GridItem.
  4664. [Fixes #338999]
  4665. 2008-01-18 Jonathan Pobst <[email protected]>
  4666. * Form.cs: Give MDI children the opportunity to cancel the parent form
  4667. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  4668. properly for both the parent and child.
  4669. * Application.cs: Signature of internal method changed, pass the previous
  4670. default of false.
  4671. [Fixes bug #354286]
  4672. 2008-01-17 Ivan N. Zlatev <[email protected]>
  4673. * PropertyGridView.cs: Set the property value only if it has changed.
  4674. [Fixes bug #338997]
  4675. 2008-01-17 Jonathan Pobst <[email protected]>
  4676. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  4677. If the mouse hasn't actually moved, ignore these messages so the currently
  4678. highlighted menuitem isn't reset to the one under the mouse.
  4679. [Fixes bug #333668]
  4680. 2008-01-17 Ivan N. Zlatev <[email protected]>
  4681. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  4682. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  4683. to reflect the change visually.
  4684. [Fixes bug #338998]
  4685. 2008-01-17 Jonathan Pobst <[email protected]>
  4686. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  4687. to 2.0 button drawing.
  4688. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  4689. the button text is tall enough for one line. LineLimit says it will
  4690. always draw at least one line, but it is a lie.
  4691. [Fixes bug #324941]
  4692. 2008-01-17 Atsushi Enomoto <[email protected]>
  4693. * XplatUIStructs.cs, X11Keyboard.cs :
  4694. added some more VK_* keys to be handled.
  4695. 2008-01-16 Andreia Gaita <[email protected]>
  4696. * Control.cs: Check if there is a container before setting or getting
  4697. the validation flag.
  4698. 2008-01-16 Andreia Gaita <[email protected]>
  4699. * ContainerControl.cs: Add flag to track if a control cancels validation,
  4700. so we don't fire click events.
  4701. * Control.cs:
  4702. - (HandleClick) Check if validation was cancelled before firing the click
  4703. events (doubleclicks are fired, but not clicks)
  4704. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  4705. ContainerControl.set_ActiveControl, but in the case of non-selectable
  4706. controls, like a Label, activecontrol is not set.
  4707. * ButtonBase.cs: Only fire clicks if validation passes.
  4708. Fixes #353310
  4709. 2008-01-16 Geoff Norton <[email protected]>
  4710. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  4711. trunk
  4712. 2008-01-16 Jonathan Pobst <[email protected]>
  4713. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  4714. SelectedPath, just display the default dialog instead of crashing.
  4715. [Fixes bug #348989]
  4716. 2008-01-16 Geoff Norton <[email protected]>
  4717. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  4718. AddExpose instead of trusting apples compositing manager which doesn't
  4719. work for our use case. Remove some dead code causing warnings and
  4720. redecorate some other code to prevent warnings.
  4721. 2008-01-16 Geoff Norton <[email protected]>
  4722. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  4723. carbon signals us to redraw. Fixes another portion of the flickering bug
  4724. 2008-01-16 Everaldo Canuto <[email protected]>
  4725. * Form.cs: Prevent the MdiParent property to be set when value is the same
  4726. as value already set. Fixes bug #328019.
  4727. 2008-01-16 Everaldo Canuto <[email protected]>
  4728. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  4729. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  4730. 2008-01-16 Everaldo Canuto <[email protected]>
  4731. * InternalWindowManager.cs: Invalidade close button after mouse up when
  4732. mdi form is prevented to close.
  4733. 2008-01-16 Everaldo Canuto <[email protected]>
  4734. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  4735. thanks to Andy Hume. Fixes bug #325433.
  4736. 2008-01-16 Andreia Gaita <[email protected]>
  4737. * LinkLabel.cs: Reset focused_index when resellecting the control.
  4738. Fixes #323190
  4739. 2008-01-15 Geoff Norton <[email protected]>
  4740. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  4741. messages.
  4742. 2008-01-15 Jonathan Pobst <[email protected]>
  4743. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  4744. of truncate.
  4745. 2008-01-15 Jonathan Pobst <[email protected]>
  4746. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  4747. Form.AutoScale to false.
  4748. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  4749. AutoScaleBaseSize should be changed on Font change unless it has been
  4750. explicitly set.
  4751. [Fixes bug #353827]
  4752. 2008-01-15 Everaldo Canuto <[email protected]>
  4753. * MenuAPI.cs: On instance of MenuTracker check if source control is
  4754. ToolStripOverflow and use properly method to find form.
  4755. [Fixes bug #338511]
  4756. 2008-01-15 Everaldo Canuto <[email protected]>
  4757. [Fixes bug #323241 Transparent toolbar support]
  4758. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  4759. is flat.
  4760. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  4761. defined in control style to mimic win32 behavior.
  4762. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  4763. it will be transparent.
  4764. 2008-01-14 Everaldo Canuto <[email protected]>
  4765. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  4766. CreateParams for ToolBar controls.
  4767. 2008-01-14 Jonathan Pobst <[email protected]>
  4768. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  4769. FixedToolWindow, SizeableToolWindow, or None for border styles have
  4770. different minimum sizes than regular forms. Implemented to fix
  4771. regression in PDN with toolbox being too wide.
  4772. 2008-01-14 Andreia Gaita <[email protected]>
  4773. * HtmlElementCollection.cs: Implemented
  4774. * HtmlElement.cs: Implemented:
  4775. - All
  4776. - InnerHtml
  4777. - InnerText
  4778. - Id
  4779. - Name
  4780. - FirstChild
  4781. * HtmlDocument.cs: Implemented GetElementsByTagName.
  4782. 2008-01-14 Jonathan Pobst <[email protected]>
  4783. * Screen.cs: Stub BitsPerPixel to always return 32.
  4784. 2008-01-14 Jonathan Pobst <[email protected]>
  4785. * Form.cs: Implement RestoreBounds.
  4786. 2008-01-14 Jonathan Pobst <[email protected]>
  4787. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  4788. Sebastien and his fabulous magical problem-finding machine:
  4789. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  4790. respect the value set.
  4791. 2008-01-14 Everaldo Canuto <[email protected]>
  4792. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  4793. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  4794. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  4795. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  4796. messages (to match .Net), we need to remove the capture ourselves.
  4797. 2008-01-11 Jonathan Pobst <[email protected]>
  4798. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  4799. will process the message and close our window.
  4800. [Fixes bug #324328]
  4801. 2008-01-10 Geoff Norton <[email protected]>
  4802. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  4803. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  4804. window manager.
  4805. 2008-01-10 Jonathan Pobst <[email protected]>
  4806. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  4807. failing test.
  4808. 2008-01-10 Jonathan Pobst <[email protected]>
  4809. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  4810. Linux doesn't care, having a minimum matches MS and keeps the window
  4811. from becoming too small to use window decorations.
  4812. [Fixes bug #338996]
  4813. 2008-01-10 Jonathan Pobst <[email protected]>
  4814. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  4815. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  4816. control. [Fixes bug #325419]
  4817. 2008-01-10 Jonathan Pobst <[email protected]>
  4818. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  4819. SelectedIndexChanged event. This closes the combobox dropdown, and we
  4820. were trying to dispose it. [Fixes bug #352830]
  4821. 2008-01-09 Jonathan Pobst <[email protected]>
  4822. * Control.cs, Form.cs: Implement the necessary semantics for
  4823. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  4824. to determine if a focus rectangle should be drawn.
  4825. * PropertyGrid.cs: Fix property visibility to match override.
  4826. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  4827. 2008-01-09 Jonathan Pobst <[email protected]>
  4828. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  4829. [Fixes bug #323552]
  4830. 2008-01-09 Geoff Norton <[email protected]>
  4831. * XplatUICarbon.cs: Scroll windows in the correct direction.
  4832. 2008-01-09 Geoff Norton <[email protected]>
  4833. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  4834. when the app is deactivated or spaces is enabled.
  4835. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  4836. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  4837. extra separation pixel for the label rect origin if SmallImageList is
  4838. null, and thus we don't need that separation between icon and label
  4839. rects.
  4840. Patch by Ernesto Carrea.
  4841. Fixes # 340195.
  4842. 2008-01-08 Jonathan Pobst <[email protected]>
  4843. * StatusStrip.cs: Invalidate after completing a layout. The base
  4844. OnLayout does this, but we don't call the base.
  4845. * ToolStripItem.cs: Revert the previous change to invalidate after
  4846. the item moves.
  4847. [Fixes bug #351341 better.]
  4848. 2008-01-07 Geoff Norton <[email protected]>
  4849. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  4850. not a notification to exit the application. Listen for WM_QUIT
  4851. instead.
  4852. 2008-01-07 Andreia Gaita <[email protected]>
  4853. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  4854. 2008-01-07 Jonathan Pobst <[email protected]>
  4855. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  4856. so it can repaint at the correct location.
  4857. [Fixes bug #351341]
  4858. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  4859. * ListControl.cs: SelectedValue should return a null value if
  4860. SelectedIndex is -1. Also, when setting it, it should throw an
  4861. ArgumentNullException if the value is null, as well as taking
  4862. into account the String.Empty value, instead of ignoring it (we have
  4863. tests for that now).
  4864. Fixes part of #324286.
  4865. 2008-01-06 Jonathan Pobst <[email protected]>
  4866. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  4867. SelectionStart is updated after pressing enter. Fixes bug #351918.
  4868. 2008-01-05 Jonathan Pobst <[email protected]>
  4869. * TextControl.cs: Revert a piece r92316 that prevented the fix
  4870. from working when there were multiple tags in the text box.
  4871. Fixes bug #351881.
  4872. 2008-01-05 Jonathan Pobst <[email protected]>
  4873. * TextControl.cs: Apply patch from Luke Page that prevents an
  4874. NRE when determining the beginning of a paragraph.
  4875. Fixes bug #351886.
  4876. 2008-01-05 Jonathan Pobst <[email protected]>
  4877. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  4878. caret gets moved with clicking away from a selected block of
  4879. text. Fixes bug #351885.
  4880. 2008-01-05 Jonathan Pobst <[email protected]>
  4881. * TextControl.cs: Apply patch from Luke Page that takes line
  4882. alignment into account for mouse selection, so that center and
  4883. right aligned text can be selected.
  4884. Fixes bug #351881.
  4885. 2008-01-05 Jonathan Pobst <[email protected]>
  4886. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  4887. issues after loading an RTF file by using the correct line feeds.
  4888. Fixes bug #351841.
  4889. 2008-01-05 Jonathan Pobst <[email protected]>
  4890. * TextControl.cs: When deleting multiple line selections, we need
  4891. to invalidate every line beginning at the first line of the selection.
  4892. Patch from Luke Page fixes bug #351791.
  4893. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  4894. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  4895. event, don't set SelectedIndex if the number of items is 1. This is
  4896. because, for the first item, PositionChanged is fired _before_
  4897. ItemChanged (the place where we actually populate the items), and
  4898. leave us in a temporary invalid state (since items collection is
  4899. empty).
  4900. Fixes #349655.
  4901. 2008-01-04 Geoff Norton <[email protected]>
  4902. * XplatUICarbon.cs: Create native toolwindows instead of
  4903. the managed drawing ones.
  4904. 2008-01-03 Jonathan Pobst <[email protected]>
  4905. * LineTag.cs: If the line doesn't have any characters, return
  4906. 0 for GetCharIndex. Fixes an AOORE exception after certain
  4907. caret movements. Fixes bug #351683. Patch by Luke Page.
  4908. 2008-01-03 Jonathan Pobst <[email protected]>
  4909. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  4910. is hit when there is selected text, only the selected text gets
  4911. deleted, not the character in front of the selection as well.
  4912. Fixes bug #351578.
  4913. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  4914. * ComboBox.cs: When the values are displayed, calculate the
  4915. ComboListBox scrollbar's LargeChange based on the visible area's
  4916. height and the actuall ItemHeight, instead of calculating it
  4917. based on MaxDropItems value, since it's not used by our _current_
  4918. 2.0 profile.
  4919. Fixes #332366.
  4920. 2008-01-03 Jonathan Pobst <[email protected]>
  4921. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  4922. Patch from Luke Page that fixes issues with font colors and styles
  4923. not showing up in a readonly RichTextBox. Fixes bug #324354.
  4924. 2008-01-03 Jonathan Pobst <[email protected]>
  4925. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  4926. from Luke Page. This one fixes bug #349926.
  4927. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  4928. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  4929. an item in the IBindingList source changes with
  4930. ListChangedType.ItemAdded. Ignore for now firing the event for other
  4931. changes, since we want to have tests for those cases as well.
  4932. 2007-12-28 Jonathan Pobst <[email protected]>
  4933. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  4934. created.
  4935. 2007-12-28 Jonathan Pobst <[email protected]>
  4936. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  4937. character. This is effective because the typical usage of a
  4938. TextBox is with a limited amount of fonts and characters, and
  4939. the current implementation of TextBox measures everything one
  4940. character at a time. Another second or two speedup for bug #347238.
  4941. 2007-12-28 Jonathan Pobst <[email protected]>
  4942. * Control.cs: Rewrite the Font getter to only query the parent's
  4943. Font property once instead of twice. Since this operation is
  4944. recursive, the queries were growing exponentially as the control
  4945. tree got deeper. Another second or two speedup for bug #347238.
  4946. 2007-12-28 Jonathan Pobst <[email protected]>
  4947. * Control.cs: Avoid setting a parent (and more importantly, updating
  4948. the zorder of all its children) if the parent is already correct in
  4949. WmShowWindow. Decreases the startup time of the test case on bug
  4950. #347238 from 35 seconds to 11 seconds.
  4951. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  4952. * X11Dnd.cs: When the dnd operation has started and we are
  4953. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  4954. This is done to match .Net, which doesn't send those messages after
  4955. dnd operation was completed/cancelled.
  4956. Fixes #349922.
  4957. 2007-12-27 Jonathan Pobst <[email protected]>
  4958. * ToolStrip.cs: Previous change should be != null, not == null.
  4959. Thanks Gert!
  4960. 2007-12-27 Jonathan Pobst <[email protected]>
  4961. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  4962. user may have moved the mouse off the current item during the event.
  4963. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  4964. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  4965. calling GetItemAt for every MouseMove event by also taking into
  4966. account whether any mouse button is pressed (probably dragging);
  4967. if so, we can call GetItemAt, and if not, try to not call it
  4968. (GetItemAt can be quite expensive when used with a large number of items).
  4969. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  4970. * ListView.cs: Implement -finally- support for dnd, by calling
  4971. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  4972. authors list ;-).
  4973. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  4974. simple calculation of distances for all the items in the owner
  4975. listview.
  4976. 2007-12-21 Geoff Norton <[email protected]>
  4977. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  4978. for windows that are originally created as invisible. Fixes missing
  4979. main window in paint-mono.
  4980. 2007-12-21 Geoff Norton <[email protected]>
  4981. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  4982. subclass handler for com.novell.mwfview subclassing HIView. Implement
  4983. Pasteboard and Dnd methods.
  4984. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  4985. * ListBox.cs: When we got focus, give focus to first item if there
  4986. wasn't any pervious focused item. Also update navigation to depend on
  4987. SelectedIndex rather than FocusedItem, just as .Net does.
  4988. Fixes #349174.
  4989. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  4990. * ListBox.cs: Both FindString and FindStringExact methods must do an
  4991. case insensitive search, should allow the last valid index to be
  4992. passed in the overload taking an initial index, and should also
  4993. continue searching from the top back to the specified index when it
  4994. reaches the bottom.
  4995. 2007-12-19 Jonathan Pobst <[email protected]>
  4996. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  4997. redraw issue, and allows RichTextBox to draw colored text even while
  4998. disabled or readonly.
  4999. 2007-12-19 Jonathan Pobst <[email protected]>
  5000. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  5001. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  5002. and doesn't grey text in a disabled RichTextBox.
  5003. 2007-12-19 Jonathan Pobst <[email protected]>
  5004. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  5005. for many RTF commands: quad alignment, separate formatting for blocks
  5006. inside groups, and ParDef support. Makes the test case from bug #324589
  5007. look much better.
  5008. 2007-12-19 Jonathan Pobst <[email protected]>
  5009. * LineTag.cs: Fix an error in the new Draw method that caused
  5010. a crash when rendering the document on bug #324589.
  5011. 2007-12-19 Jonathan Pobst <[email protected]>
  5012. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  5013. TextControl.cs: Apply patch from Luke Page that adds support
  5014. for URL links in RichTextBox.
  5015. [Fixes enhancement #342516]
  5016. 2007-12-18 Everaldo Canuto <[email protected]>
  5017. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  5018. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  5019. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  5020. * ListBox.cs: When a key gets pressed, try to find a string
  5021. if the key is a character or a digit.
  5022. Fixes #343971.
  5023. 2007-12-17 Jonathan Pobst <[email protected]>
  5024. * TableLayoutPanel.cs: Remove some unused variables.
  5025. 2007-12-17 Jonathan Pobst <[email protected]>
  5026. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  5027. we don't end up at an invalid date when we click the up/down
  5028. spinner to change the month or year. Fixes bug #348682.
  5029. 2007-12-17 Jonathan Pobst <[email protected]>
  5030. * Application.cs: Calling Exit in 2.0 should chain to the
  5031. Exit (CancelEventArgs) version so it can be cancelled.
  5032. * Form.cs: Create a flag to allow raising the Closing
  5033. events to be skipped. We raise them once in Application.Exit
  5034. and don't want to raise them again when the Form is actually
  5035. closed. [Fixes bug #349073]
  5036. 2007-12-16 Jonathan Pobst <[email protected]>
  5037. * ToolStripDropDown.cs: Guard against an NRE when there
  5038. hasn't been a mainform set in the application context.
  5039. [Fixes bug #349108]
  5040. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  5041. * ListBox.cs: When SetBoundsCore gets called, besides
  5042. calling UpdateScrollBars, update the value of
  5043. last_visible_index, since we could need to show more items
  5044. than before, and we need to let the paint routines know that.
  5045. Fixes #344445.
  5046. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  5047. * ListView.cs: Add DesignerSerializationVisibility attribute to
  5048. InsertionMark property.
  5049. * ListViewItem.cs: Add same attribute to Position property.
  5050. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  5051. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  5052. is 2.0 only.
  5053. 2007-12-14 Jonathan Pobst <[email protected]>
  5054. * ThemeWin32Classic.cs: Don't draw the background on a
  5055. flat button if there is a background image.
  5056. [Fixes bug #348649]
  5057. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  5058. * ListBox.cs: If we remove the item currently selected,
  5059. remove it not only from SelectedItems, but also
  5060. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  5061. the items count decreased and focused_item has bigger value than that.
  5062. 2007-12-13 Jonathan Pobst <[email protected]>
  5063. * Control.cs: Perform our layout after we resize ourselves
  5064. if we had to adjust our AutoSize. Missed commit for bug
  5065. #346246.
  5066. 2007-12-13 Jonathan Pobst <[email protected]>
  5067. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  5068. we can provide an implementation of AutoSize.
  5069. [Fixes bug #346246]
  5070. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  5071. * ListBox.cs: Add the internal overload Sort (bool paint),
  5072. to indicate whether we actually need a paint or we will
  5073. call Refresh ourselves. This way we don't request a paint
  5074. _before_ having an updated and valid layout.
  5075. Fixes #347233.
  5076. 2007-12-12 Andreia Gaita <[email protected]>
  5077. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  5078. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  5079. properly invalidated.
  5080. Fixes #324237
  5081. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  5082. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  5083. don't simply assign it to our internal group field, but instead
  5084. use our Group property, which should do all the neccessary work
  5085. required to support groups. Fixes an issue reported to me (mail) by a
  5086. guy using this new feature.
  5087. 2007-12-11 Jonathan Pobst <[email protected]>
  5088. * Control.cs: Use Scale instead of ScaleControl to ensure the
  5089. whole hierarchy gets scaled.
  5090. [Fixes bug #347282]
  5091. 2007-12-10 Jonathan Pobst <[email protected]>
  5092. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  5093. Parent property. Doing this causes the control to be hosted by
  5094. the Form instead of being a popup window.
  5095. [Fixes bug #347665]
  5096. 2007-12-10 Jonathan Pobst <[email protected]>
  5097. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  5098. at an index higher than Count, just use Add instead of Insert.
  5099. [Fixes bug #347669]
  5100. 2007-12-10 Jonathan Pobst <[email protected]>
  5101. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  5102. DrawPictureBox, this is handled by Control.PaintBackground.
  5103. [Fixes bug #347276]
  5104. 2007-12-10 Everaldo Canuto <[email protected]>
  5105. * MenuAPI.cs: When process menu keys return true by default only if menu is
  5106. active. Fixes bug #342892.
  5107. 2007-12-09 Andreia Gaita <[email protected]>
  5108. * Control.cs: check if windows are actually mapped before
  5109. trying to zorder. Fixes #342509, #346955
  5110. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  5111. * ListView.cs:
  5112. * ListViewInsertionMark.cs:
  5113. * ThemeWin32Classic.cs: Implement the drawing side of the
  5114. new 2.0 ListView.InsertionMark property.
  5115. 2007-12-07 Jonathan Pobst <[email protected]>
  5116. * CurrencyManager.cs: Silence some debug spew.
  5117. 2007-12-07 Geoff Norton <[email protected]>
  5118. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  5119. masks for our children as well as siblings to avoid having to query
  5120. Quartz for this information.
  5121. * XplatUICarbon.cs: Implement a delegate based system to pass
  5122. information to System.Drawing. Implement Async methods. Remove
  5123. the hack for the resize thumb and imlpement a transparent Grow Box.
  5124. Rework the messaging system to proplery create window's and messages,
  5125. fixes TabControl.
  5126. 2007-12-06 Andreia Gaita <[email protected]>
  5127. * X11Keyboard.cs: Use Xutf8LookupString to support international
  5128. characters under alternate codepages. Patch from #340878
  5129. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  5130. * ListView.cs: When doing layout computations, set position in the
  5131. ListView instances (we cache the position just as .Net does).
  5132. * ListViewItem.cs: New internal setter method for Position. Also set
  5133. position field as also available in 1.1, since we are going to use it
  5134. now in the common case.
  5135. 2007-12-06 Andreia Gaita <[email protected]>
  5136. * Control.cs: When removing controls, get the actual container
  5137. to notify about active control changes. Fixes 341314.
  5138. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  5139. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  5140. 2007-12-05 Andreia Gaita <[email protected]>
  5141. * Control.cs: When updating the zorder, ignore windows that are not
  5142. mapped. Fixes #342509
  5143. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  5144. * ListViewItem.cs: Actually implement serialization on this class.
  5145. 2007-12-05 Gert Driesen <[email protected]>
  5146. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  5147. LinkCollection. Spaces to tabs, and removed extra tabs.
  5148. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  5149. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  5150. tests to fail (hopefully).
  5151. 2007-12-03 Jonathan Pobst <[email protected]>
  5152. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  5153. the image margin so custom renderers can correctly place it.
  5154. 2007-12-03 Jonathan Pobst <[email protected]>
  5155. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  5156. so custom renderers can correctly place it.
  5157. 2007-12-03 Jonathan Pobst <[email protected]>
  5158. * Application.cs: Let WM_CHAR messages flow through to controls
  5159. hosted in Strips. [Fixes bug #343972]
  5160. 2007-12-02 Jonathan Pobst <[email protected]>
  5161. * ToolStripManager.cs: Guard against an NRE I ran into.
  5162. 2007-12-02 Jonathan Pobst <[email protected]>
  5163. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  5164. a Link is manually added to the Links collection, we need to set
  5165. its owner, so it can invalidate properly.
  5166. [Fixes bug #344012]
  5167. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  5168. * ListView.cs: When changing ListViewItem.Position (which calls
  5169. ListView.ChangeItemLocation), invalidate not only the area
  5170. corresponding to the main item, but also to the area occupied
  5171. by the items being moved.
  5172. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  5173. * ListView.cs: When changing the position of a given item,
  5174. don't use item bounds, but item areas (which includes the item spacing
  5175. between them). Also, use first/last position if the requested
  5176. position is outside bounds (as .Net does). Invalidate the previous and
  5177. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  5178. in a specific position, instead of directly accessing Items collection
  5179. (this is done to get the right item - remember an Item can have a
  5180. different position in the grid than in the Items collection).
  5181. 2007-11-23 Everaldo Canuto <[email protected]>
  5182. * MessageBox.cs: Calculate text area instead of just top left, this rect
  5183. area will be used in DrawString. Fixes bug #343364.
  5184. 2007-11-23 Everaldo Canuto <[email protected]>
  5185. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  5186. screen width. Partially fixes bug #343364.
  5187. 2007-11-23 Everaldo Canuto <[email protected]>
  5188. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  5189. code inside recalculate, it makes code more simple.
  5190. 2007-11-22 Everaldo Canuto <[email protected]>
  5191. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  5192. between update or add icon. Fixes bug #324344.
  5193. 2007-11-21 Andreia Gaita <[email protected]>
  5194. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  5195. window manager, since that stretches the drawing area to include
  5196. the window decorations, and they get hidden. Reverts r84444 and fixes
  5197. #335849 and #342790 (mdi and pdn3 regression)
  5198. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  5199. * ListView.cs: When setting focused item, try to give focus to the
  5200. previous one _only_ if the previous one remains valid.
  5201. Fixes #342504.
  5202. 2007-11-20 Jonathan Pobst <[email protected]>
  5203. * Application.cs: Revert r89650, as it broke a common case to fix
  5204. an obscure case. Fixes bug #342606.
  5205. 2007-11-20 Everaldo Canuto <[email protected]>
  5206. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  5207. 2007-11-20 Everaldo Canuto <[email protected]>
  5208. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  5209. alignment. [Fixes #324228]
  5210. 2007-11-19 Jonathan Pobst <[email protected]>
  5211. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  5212. [Fixes bug #342123]
  5213. 2007-11-19 Everaldo Canuto <[email protected]>
  5214. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  5215. it prevent problems when empty captions. [Fixes #342141]
  5216. 2007-11-19 Jonathan Pobst <[email protected]>
  5217. * Label.cs: Use Size instead of None. Fixes bug #342077.
  5218. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  5219. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  5220. 2007-11-17 Jonathan Pobst <[email protected]>
  5221. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  5222. but there isn't a MdiContainer.
  5223. [Fixes bug #342358]
  5224. 2007-11-17 Jonathan Pobst <[email protected]>
  5225. * TextControl.cs: Don't recalculate document if the recalc_start and
  5226. recalc_end hasn't changed.
  5227. [Fixes bug #342505]
  5228. 2007-11-17 Gert Driesen <[email protected]>
  5229. * DataGridViewTextBoxCell.cs: Removed CWL.
  5230. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5231. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  5232. 2007-11-16 Jonathan Pobst <[email protected]>
  5233. * TextControl.cs: Missed some code for bug 341534 to trigger a
  5234. recalculation when the font changes.
  5235. 2007-11-16 Andreia Gaita <[email protected]>
  5236. * Control.cs: When updating the zorder, check if the child to update is
  5237. the same control that is set to always be on top (i.e., scrollbars), and
  5238. just put it on top directly. Fixes BadMatch error on pdn3
  5239. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5240. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  5241. 2007-11-16 Jonathan Pobst <[email protected]>
  5242. * Control.cs: Don't perform a new layout when a label changes its text,
  5243. cause label handles its own autosizing.
  5244. [Fixes bug #342077]
  5245. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5246. * ListView.cs: Implement 2.0 FindNearestItem methods.
  5247. 2007-11-15 Jonathan Pobst <[email protected]>
  5248. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  5249. even if the rest of what Join does isn't supported. Add some more
  5250. support for vertical toolbars.
  5251. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  5252. [Fixes the application breaking parts of bug #341998]
  5253. 2007-11-15 Jonathan Pobst <[email protected]>
  5254. * ToolStripItem.cs: When determining if we have a check/image margin,
  5255. we need to look at ShowCheckMargin as well as ShowImageMargin.
  5256. 2007-11-15 Geoff Norton <[email protected]>
  5257. * XplatUIOSX.cs: Rename to...
  5258. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  5259. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  5260. 2007-11-15 Jonathan Pobst <[email protected]>
  5261. * KeysConverter.cs: The default values should be an array of Keys, not
  5262. strings. Also, the array has more values for 2.0.
  5263. [Fixes bug #341851]
  5264. 2007-11-14 Jonathan Pobst <[email protected]>
  5265. * Application.cs: Change ExecutablePath to use
  5266. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  5267. [Fixes bug #323552]
  5268. 2007-11-14 Jonathan Pobst <[email protected]>
  5269. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  5270. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  5271. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  5272. be ignored. Create a new GetLineEnding that can specify which types of
  5273. line endings to look for. On Insert, only create new lines for \n and \r\n.
  5274. [Fixes bug #324274]
  5275. 2007-11-14 Jonathan Pobst <[email protected]>
  5276. * TextBoxBase.cs: As we loop through each line changing the font, tell
  5277. the document that the line needs to be recalculated. Fixes bug #341534.
  5278. 2007-11-13 Jonathan Pobst <[email protected]>
  5279. [Another round of refactoring]
  5280. * Line.cs: Add DeleteCharacters.
  5281. * LineTag.cs: Add Delete.
  5282. * TextBoxBase.cs: Update to use new methods.
  5283. * TextControl.cs: Refactor the Delete* methods.
  5284. 2007-11-13 Everaldo Canuto <[email protected]>
  5285. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  5286. the patch. [Fixes #324856]
  5287. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  5288. * ListView.cs:
  5289. * ListViewItem.cs: Add an initial implementation of
  5290. 2.0 ListViewItem.Position getter.
  5291. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  5292. * ListView.cs: Add a reordered_items_indices array, to allow us
  5293. to have a different sorting than that of Items (the sorting in Items
  5294. could not match the actual sorting in screen). This is needed to
  5295. implement a pair of 2.0 features.
  5296. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  5297. actual position in the ListView grid, since it could have a position
  5298. different than its Index (position in ListViewItemCollection).
  5299. 2007-11-09 Jonathan Pobst <[email protected]>
  5300. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  5301. not draw partial lines.
  5302. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  5303. LineLimit flag from the base is preserved.
  5304. Fixes the windows part of bug #338965.
  5305. 2007-11-09 Jonathan Pobst <[email protected]>
  5306. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  5307. so that it can be canceled in KeyPress.
  5308. Fixes bug #340078.
  5309. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  5310. * ListView.cs: In ItemControl, reset mouse-handling related
  5311. fields even if we dont' have items (we still should reset them when
  5312. we had items but then called Items.Clear). Partially based in a patch
  5313. by George Giolfan.
  5314. Fixes #338399.
  5315. 2007-11-08 Gert Driesen <[email protected]>
  5316. * Application.cs: In ProductVersion first try AssemblyFileVersion
  5317. before falling back to assembly version. Fixes bug #339787.
  5318. 2007-11-08 Andreia Gaita <[email protected]>
  5319. * HtmlElement.cs: Implement InnerText setter.
  5320. * WebBrowserBase.cs: Implement Navigated event support.
  5321. Add flag to track when the browser "document" is ready to be retrieved.
  5322. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  5323. Make sure browser document is ready before retrieving it.
  5324. Clean up cached objects (document) when moving to a new page through
  5325. any of the navigation methods.
  5326. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  5327. Implement OnNavigated event.
  5328. 2007-11-07 Jonathan Pobst <[email protected]>
  5329. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  5330. DrawLinkLabel, this is handled by OnPaintBackground.
  5331. Fixes bug #339565, part II.
  5332. 2007-11-07 Andreia Gaita <[email protected]>
  5333. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  5334. getting a Select call on click, so this call needs to be here for now.
  5335. Unfixes #325809
  5336. 2007-11-07 Geoff Norton <[email protected]>
  5337. * OSXStructs.cs: Add the kEventClassApplication constants.
  5338. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  5339. application is deactivated otherwise Menu overlays linger on top of
  5340. other application windows.
  5341. 2007-11-07 Geoff Norton <[email protected]>
  5342. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  5343. dont support cursors yet anyways. This allows Reflector to run.
  5344. 2007-11-07 Geoff Norton <[email protected]>
  5345. * XplatUIOSX.cs: Implement DragSize.
  5346. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  5347. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  5348. ItemControl, request the focus, as .Net does. This is needed after
  5349. Control does not request focus anymore when it receives a
  5350. WM_LBUTTONDOWN.
  5351. 2007-11-06 Jonathan Pobst <[email protected]>
  5352. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  5353. Remove the DrawImage call from OnPaint.
  5354. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  5355. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  5356. but before we draw the text for DrawLabel and DrawLinkLabel.
  5357. Fixes bug #339565.
  5358. 2007-11-05 Andreia Gaita <[email protected]>
  5359. * Control.cs: Remove select call on click. Fixes #325809
  5360. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  5361. * ListViewItem.cs: Add 2.0 Position property getter.
  5362. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5363. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  5364. Also, to make it work properly, change item's BackColor and
  5365. BackgroundImageLayout as needed.
  5366. * ThemeWin32Classic.cs: Don't fill any background rectangle
  5367. in ListView.ItemControl when drawing items; just let the Control
  5368. base implementation fill it.
  5369. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5370. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  5371. as well as adding a custom 'dummy' Converter, as .net does.
  5372. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5373. * PropertyGridView.cs: When clicking drop-down button,
  5374. select an index in the listbox only if our standard values collection
  5375. has one or more items.
  5376. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5377. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  5378. property.
  5379. 2007-11-04 Gert Driesen <[email protected]>
  5380. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  5381. the value is not changed. This ensure a pushed button remains in that
  5382. state when clicked again. When switching the value of PropertySort
  5383. between Categorized and CategorizedAlphabetical, do not update the
  5384. grid items and do not fire a PropertyChangedEvent. When clicking the
  5385. sorting buttons, do not modify the PropertySort value when switching
  5386. between Categorized and CategorizedAlphabetical but only update the
  5387. button state.
  5388. 2007-11-04 Gert Driesen <[email protected]>
  5389. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  5390. formatting.
  5391. * PropertyGrid.cs: Also put Categorized button in pushed state when
  5392. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  5393. for help description label.
  5394. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  5395. * ListView.cs: When calculating the biggest item for a given column,
  5396. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  5397. the item's width.
  5398. 2007-11-03 Gert Driesen <[email protected]>
  5399. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  5400. value for PropertySort on 1.0 profile. PropertySortChanged event
  5401. should only be fired on 2.0 profile. Fixed NullReferenceException
  5402. in UpdateSortLayout when PropertyGrid contains no items.
  5403. 2007-11-02 Jonathan Pobst <[email protected]>
  5404. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  5405. [Fixes bug #338554]
  5406. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  5407. * ListViewItem.cs: Implement 2.0 IndentCount property.
  5408. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  5409. * X11Dnd.cs: When sending status in a dnd operation, compare current
  5410. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  5411. the later is only created when a Winforms application is both the
  5412. source and the target, but not when we are the target only.
  5413. Fixes part of #324251.
  5414. 2007-11-01 Geoff Norton <[email protected]>
  5415. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  5416. order of Z-Order.
  5417. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  5418. children out of the drawing view on mac.
  5419. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  5420. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  5421. 2007-11-01 Jonathan Pobst <[email protected]>
  5422. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  5423. on the non-hosted-control part of it shouldn't do anything.
  5424. Fixes part of bug #327498.
  5425. 2007-11-01 Andreia Gaita <[email protected]>
  5426. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  5427. 2007-11-01 Jonathan Pobst <[email protected]>
  5428. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  5429. it does not use flow through to controls that are hosted in menus.
  5430. Same with mouse clicks.
  5431. * Form.cs: Don't close all menus on click if the click is on a
  5432. control hosted in a menu.
  5433. Fixes part of bug #327498, and part of bug #325969.
  5434. 2007-10-31 Andreia Gaita <[email protected]>
  5435. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  5436. 2007-10-31 Jonathan Pobst <[email protected]>
  5437. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  5438. Addresses an issue raised in bug #336218.
  5439. 2007-10-30 Jonathan Pobst <[email protected]>
  5440. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  5441. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  5442. 2007-10-30 Andreia Gaita <[email protected]>
  5443. * ContainerControl.cs: Check if the active control is a
  5444. child of a removed control and update active_control accordingly.
  5445. Fixes #329718
  5446. 2007-10-29 Jonathan Pobst <[email protected]>
  5447. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  5448. or the MaxDate. Fixed bug #337693.
  5449. 2007-10-29 Jonathan Pobst <[email protected]>
  5450. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  5451. after calling SetWindowLong for a form, to force an immediate NC refresh.
  5452. Fixes first part of bug #325150.
  5453. 2007-10-29 Jonathan Pobst <[email protected]>
  5454. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  5455. simple. Fixes the last part of bug #322668.
  5456. 2007-10-29 Jonathan Pobst <[email protected]>
  5457. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  5458. needs to be TopMost as well, or else the MessageBox is under the form.
  5459. Patch by George fixes bug #325300.
  5460. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  5461. * X11Dnd.cs: When starting a new drag operation, reset the static
  5462. 'dropped' field to false (previously the implementation didn't reset
  5463. it and got confused after the first drag).
  5464. Fixes #325071.
  5465. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  5466. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  5467. items instead of re-creating them all. For this purpose we now cache
  5468. both CategoryGridEntry items and the GridEntries for the main object's
  5469. properties.
  5470. * GridItem.cs: Make SetParent method abstract.
  5471. * GridEntry.cs: Override the SetParent method (already there, but now
  5472. we override it).
  5473. Fixes #324866.
  5474. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  5475. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  5476. depending on its depth (as .Net does). Update the needed values in
  5477. MouseDown handler. Also draw the plus/minus rect after the label,
  5478. so we don't draw on top of it.
  5479. 2007-10-24 Everaldo Canuto <[email protected]>
  5480. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  5481. processed by forms or controls when menu is active. [Fixes #333548]
  5482. 2007-10-24 Jonathan Pobst <[email protected]>
  5483. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  5484. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  5485. focus on mouse over.
  5486. 2007-10-24 Jonathan Pobst <[email protected]>
  5487. * TextControl.cs: Code cleaning, simplifying.
  5488. 2007-10-24 Geoff Norton <[email protected]>
  5489. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  5490. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  5491. 2007-10-24 Jonathan Pobst <[email protected]>
  5492. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  5493. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  5494. 2007-10-24 Andreia Gaita <[email protected]>
  5495. * SendKeys.cs: apply jpobst's patch to bug #332409
  5496. 2007-10-23 Andreia Gaita <[email protected]>
  5497. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  5498. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  5499. for some reason
  5500. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  5501. * PropertyGridView.cs: If a property has an UIEditor available,
  5502. make the drop-down/editor button available only if the property
  5503. is _not_ read only.
  5504. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  5505. * PropertyGridView.cs: Don't make the grid item textbox
  5506. editable when a drop-down control is available, but
  5507. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  5508. true. The same bur the color of the grid item value's label.
  5509. 2007-10-22 Geoff Norton <[email protected]>
  5510. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  5511. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  5512. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  5513. driver. Padd the bottom of all real windows so the resize thumb doesn't
  5514. obscure scroll/status bars.
  5515. 2007-10-22 Jonathan Pobst <[email protected]>
  5516. * WindowsFormsSection.cs: Implement.
  5517. 2007-10-22 Everaldo Canuto <[email protected]>
  5518. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  5519. closed see #325434 patch.
  5520. 2007-10-22 Everaldo Canuto <[email protected]>
  5521. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  5522. see #325434 patch.
  5523. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  5524. * PropertyGridView.cs: When showing the textbox for a grid item,
  5525. have two local variables to store the read-only and non-editable
  5526. status of a grid item (we were previously using just one variable
  5527. to do this, when actually they are slightly different).
  5528. Fixes part of #325023.
  5529. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  5530. * PropertyGridView.cs: When showing a drop-down list, try to get the
  5531. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  5532. part of #325023.
  5533. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  5534. * PropertyGrid.cs: When updating a property and populating sub grid
  5535. items, remove the previous ones, and invalidate the specific area.
  5536. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  5537. area behind a grid item.
  5538. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  5539. clean the items if needed (specially for controls implementing
  5540. ICustomTypeDescriptor and returning a variable number of properties).
  5541. Fixes #324865.
  5542. 2007-10-19 Jonathan Pobst <[email protected]>
  5543. * TextControl.cs: Clean up and document the Insert function.
  5544. 2007-10-17 Jonathan Pobst <[email protected]>
  5545. * TextControl.cs: Make sure we know our start point for updating the view
  5546. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  5547. update the view.
  5548. 2007-10-17 Jonathan Pobst <[email protected]>
  5549. * ListView: Couple of corcompare fixes.
  5550. 2007-10-17 Geoff Norton <[email protected]>
  5551. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  5552. the title caption of real window.
  5553. 2007-10-17 Jonathan Pobst <[email protected]>
  5554. * ErrorProvider.cs: Add the error provider's internal window to a
  5555. containercontrol when the parent changes. [Fixes bug #329714]
  5556. 2007-10-17 Geoff Norton <[email protected]>
  5557. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  5558. When we make a new window; restore the old active window - fixes dialogs.
  5559. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  5560. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  5561. when modifying a property, and if found then invalidate as
  5562. requested.
  5563. Fixes part of #324865.
  5564. 2007-10-17 Geoff Norton <[email protected]>
  5565. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  5566. highly experimental. Fixed coordinate translation. Fixed window locations.
  5567. Initial support for clipping. Implemented NC areas and menus. Support for
  5568. launching from command line from Will Johansson ([email protected]).
  5569. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  5570. [email protected])
  5571. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  5572. Hwnds now track the existence of all of their children for Mac clipping.
  5573. * XplatUI.cs: Re-enabled the native driver on the Mac.
  5574. 2007-10-17 Jonathan Pobst <[email protected]>
  5575. * Line.cs: Move the InsertString function to here.
  5576. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  5577. functionality to Line.
  5578. 2007-10-17 Geoff Norton <[email protected]>
  5579. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  5580. 2007-10-16 Gert Driesen <[email protected]>
  5581. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  5582. always setting value to true.
  5583. * Form.cs: When changing AcceptButton, notify new and original button.
  5584. 2007-10-16 Jonathan Pobst <[email protected]>
  5585. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  5586. a custom control that implements IButtonControl instead of an actual
  5587. button. [Fixes bug #334244]
  5588. 2007-10-15 Everaldo Canuto <[email protected]>
  5589. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  5590. MdiWindowManager.
  5591. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  5592. active control when activate a new mdi window.
  5593. [Fixes bug #330495]
  5594. 2007-10-15 Everaldo Canuto <[email protected]>
  5595. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  5596. is already added.
  5597. [Fixes bug #333617]
  5598. 2007-10-15 Jonathan Pobst <[email protected]>
  5599. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  5600. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  5601. so we always recalculate the whole document instead of just the new part.
  5602. [Fixes bug #325082]
  5603. 2007-10-15 Jonathan Pobst <[email protected]>
  5604. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  5605. when the mouse was to the left of the first character in the line.
  5606. 2007-10-15 Jonathan Pobst <[email protected]>
  5607. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  5608. character, use the property instead of the variable so that the
  5609. UseSystemPasswordChar property is taken into account.
  5610. [Fixes bug #333748]
  5611. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5612. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  5613. folder" contex menu appears, actually add the new folder to it, even
  5614. if the node is not currently selected. Still use SelectedNode in case
  5615. there wasn't found a node under the pointer.
  5616. Fixes #325452.
  5617. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5618. * ListViewItem.cs: When retrieving the focused state, the index check
  5619. should be done only when ListView is in virtualmode, as it is an
  5620. expensive check for normal mode.
  5621. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5622. * ListViewItem.cs: Make the focus state information be stored
  5623. in the ListView, not in the items. This is done to match the MS
  5624. behaviour for items that are not yet part of a ListView control;
  5625. besides that, since just one item can be focused at the same time,
  5626. we save a little space in our items.
  5627. Fixes part of #331643.
  5628. 2007-10-13 Gert Driesen <[email protected]>
  5629. * ComboBox.cs: When focus is lost, deselect the text. When setting
  5630. text of control, select all text. Do not hide selection when control
  5631. does not have focus. Fixes bug #333663.
  5632. 2007-10-13 Gert Driesen <[email protected]>
  5633. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  5634. instead of ArgumentException when SelectionLength is set to negative
  5635. value. Added same check to SelectionStart. Code formatting.
  5636. 2007-10-13 Gert Driesen <[email protected]>
  5637. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  5638. or SelectionStart. Code formatting.
  5639. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  5640. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  5641. indicating that there was not a previous drag-and-drop operation going
  5642. on.
  5643. Fixes part of #325071.
  5644. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  5645. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  5646. AllowedEffect, don't let the drop operation happen.
  5647. Fixes #32580.
  5648. 2007-10-12 Jonathan Pobst <[email protected]>
  5649. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  5650. 2007-10-12 Jonathan Pobst <[email protected]>
  5651. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  5652. is called.
  5653. 2007-10-12 Jonathan Pobst <[email protected]>
  5654. * Line.cs: Add a method that finds the tag that contains an x-coord.
  5655. * LineTag.cs: Add a method that finds the character at an x-coord using
  5656. a binary search, the old way was a linear search.
  5657. * TextControl.cs: Change FindCursor to use the above new methods.
  5658. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  5659. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  5660. value different than AllowedEffect). This should be possible to
  5661. indicate that dragging is not possible in some control/area.
  5662. 2007-10-11 Jonathan Pobst <[email protected]>
  5663. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  5664. descent internally when font changes instead of outside code being responsible
  5665. for setting it.
  5666. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  5667. instead of accessing internal variables.
  5668. 2007-10-09 Everaldo Canuto <[email protected]>
  5669. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  5670. remove special treatment for ArrangeIcons since it is already arranged.
  5671. 2007-10-09 Jonathan Pobst <[email protected]>
  5672. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  5673. the Win32 backend uses Color.
  5674. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  5675. Refactor to store a Color instead of a Brush for Color.
  5676. 2007-10-09 Jonathan Pobst <[email protected]>
  5677. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  5678. away. I didn't realize I needed this when I refactored these earlier.
  5679. 2007-10-09 Jonathan Pobst <[email protected]>
  5680. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  5681. store a Color structure and use the ResPool for back color instead of
  5682. holding onto brushes.
  5683. 2007-10-09 Jonathan Pobst <[email protected]>
  5684. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  5685. [Fixes bug #325592]
  5686. 2007-10-08 Jonathan Pobst <[email protected]>
  5687. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  5688. to recalculate its size. Fixes a part of bug #331052.
  5689. 2007-10-08 Jonathan Pobst <[email protected]>
  5690. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  5691. button. Fixes a part of bug #331052.
  5692. 2007-10-08 Jonathan Pobst <[email protected]>
  5693. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  5694. the CreateParams.
  5695. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  5696. decorations.
  5697. [Fixes bug #330986]
  5698. 2007-10-08 Jonathan Pobst <[email protected]>
  5699. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  5700. doesn't exist in 1.1. (Thanks jb!)
  5701. 2007-10-08 Jonathan Pobst <[email protected]>
  5702. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  5703. class to allow us to use different backends on different platforms.
  5704. Linux uses the current [Draw|Measure]String backend. Windows uses
  5705. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  5706. of GDI+. This leads to better looking text and more accurate measurements
  5707. on Windows, fixing many of the reported issues.
  5708. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  5709. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  5710. * FolderBrowserDialog.cs: When running on Windows,
  5711. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  5712. since we must match both "C:" and "C:\" forms. A little hackish, but
  5713. works.
  5714. Fixes #325247.
  5715. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  5716. * ListView.cs: When calling EndEdit (after editing an item),
  5717. create a new instance of LabelEditEventArgs to keep clean the fields
  5718. in case we get a new call to BeginEdit; also do Application.DoEvents
  5719. to have focus in synch. This is a fix similar to TreeView's #325244.
  5720. 2007-10-07 Andreia Gaita <[email protected]>
  5721. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  5722. * WebBrowserBase.cs: Added dialog support, calling the
  5723. WebBrowserDialogs classes for each specific dialog type.
  5724. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  5725. * ListView.cs: When the last item is focused and is removed,
  5726. move the focus to the previous item (in Items order). This is what MS
  5727. does.
  5728. Fixes #330415.
  5729. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  5730. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  5731. instead of the opposite (RemoveAt call Remove). This is a better
  5732. approach since we don't need to to a pair of traversals when using
  5733. RemoveAt.
  5734. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  5735. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  5736. check that the node actually has nodes, and if not, move to the
  5737. parent node instead.
  5738. Fixes #325265.
  5739. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  5740. * TreeView.cs: Move the previous change to the general case (to
  5741. call Application.DoEvents in cases where the method was called by
  5742. different places).
  5743. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  5744. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  5745. call Application.DoEvents. This is neccessary when we get a call to
  5746. BeginEdit from an AfterLabelEdit handler, because the focus always
  5747. goes to the TreeView, even if we try to give it to our
  5748. LabelEditTextBox. The call do Application.DoEvents seems to
  5749. synchronize the focus, basically.
  5750. Fixes #325244.
  5751. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  5752. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  5753. should be false. This also removes some nasty recursive paths. Fixes
  5754. part of #325244.
  5755. 2007-10-04 Everaldo Canuto <[email protected]>
  5756. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  5757. state to normal. Also resize window when cascading. Fixes #325433.
  5758. 2007-10-04 Jonathan Pobst <[email protected]>
  5759. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  5760. DefaultForeColor, as drawing empty colored lines isn't very useful.
  5761. [Fixes the not drawn lines part of bug #324358]
  5762. 2007-10-04 Jonathan Pobst <[email protected]>
  5763. * TextControl.cs: Move Line and LineTag classes into separate files to
  5764. make things easier to find.
  5765. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  5766. * RichTextBox.cs: Capitalize LineTag.Length property access.
  5767. - This is purely an organizational/formatting change, no logic changed. -
  5768. 2007-10-03 Everaldo Canuto <[email protected]>
  5769. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  5770. text is empty.
  5771. 2007-10-03 Everaldo Canuto <[email protected]>
  5772. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  5773. text is empty.
  5774. 2007-10-03 Everaldo Canuto <[email protected]>
  5775. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  5776. prevent calling of OnBackColorChanged. Fixes #325321.
  5777. 2007-10-03 Everaldo Canuto <[email protected]>
  5778. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  5779. because control can be disabled because owner is disabled.
  5780. 2007-10-02 Jonathan Pobst <[email protected]>
  5781. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  5782. string.Empty, test failed from previous change.
  5783. 2007-10-02 Jonathan Pobst <[email protected]>
  5784. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  5785. is null, not String.Empty. See bug #323038.
  5786. 2007-10-01 Jonathan Pobst <[email protected]>
  5787. * TextControl.cs: Change the margins to match MS a little better.
  5788. Still not perfect for X11 due to some DrawString differences, but
  5789. is still an improvement over the old stuff.
  5790. Partially fixes #324467.
  5791. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  5792. * FolderBrowserDialog.cs: When using MyComputer as
  5793. RootFolder, let absolute paths be considered as valid ones. Also, use
  5794. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  5795. for Windows compatibility.
  5796. Partially fixes #325247.
  5797. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  5798. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  5799. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  5800. method, since it causes the dialog to not select folders directly
  5801. under the root path (when setting SelectedPath property).
  5802. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  5803. * TreeNode.cs: When calling Expand/Collapse and need to call
  5804. ExpandBelow/CollapseBelow respectively, take into account
  5805. partially visible nodes (previously Expanding/Collapsing
  5806. a partially visible node in the bottom was not updating its +- sign).
  5807. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5808. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  5809. expand nodes below (ExpandBelow), scroll the entire Viewport
  5810. area if the node is above it and not visible (instead of scrolling
  5811. the area from node's Bottom, which applies only when the node is
  5812. visible).
  5813. Fixes #325266.
  5814. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5815. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  5816. node in the bottom area (as .Net does). This is done to preserve the
  5817. scroll position when ExpandAll is called before handle is created for
  5818. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  5819. Fixes #324103.
  5820. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5821. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  5822. bottom area if we are in fact not using the vertical scroll bar.
  5823. Fixes #324824.
  5824. 2007-09-27 Jonathan Pobst <[email protected]>
  5825. * Control.cs: Comment out a double buffering optimization that doesn't
  5826. take into account invalidates created in OnPaint, causing the control
  5827. to never be redrawn. It would take quite a bit of work to work around
  5828. this, but I left it commented with an explanation for later possible
  5829. optimization.
  5830. [Fixes bug #328681]
  5831. 2007-09-27 Jonathan Pobst <[email protected]>
  5832. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  5833. the text changes.
  5834. * RadioButton.cs: Implement GetPreferredSizeCore.
  5835. [Fixes bug #328672]
  5836. 2007-09-26 Jonathan Pobst <[email protected]>
  5837. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  5838. corcompare stuffs.
  5839. 2007-09-26 Jonathan Pobst <[email protected]>
  5840. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  5841. so that it doesn't get uninstalled on modal forms.
  5842. * Control.cs: Install a sync context when a control is created.
  5843. * WindowsFormsSyncronizationContext.cs: Create a private static control
  5844. to invoke on. This is easier than trying to find a created control we
  5845. can use.
  5846. [Fixes bug #327608]
  5847. 2007-09-25 Jonathan Pobst <[email protected]>
  5848. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  5849. run loop, and uninstall it when done.
  5850. * WindowsFormsSynchronizationContext.cs: Implement.
  5851. [Fixes the common case in bug #327608]
  5852. 2007-09-23 Gert Driesen <[email protected]>
  5853. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  5854. Use case-insensitive lookup of column name in indexer. Code
  5855. formatting.
  5856. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  5857. * TreeNode.cs: When collapsing or expanding a node, check whether its
  5858. change will affect the visible area (we were previously doing a
  5859. IsVisible check, but that check is not enough since children nodes
  5860. could be still visible). Fixes part of #325266.
  5861. 2007-09-21 Jonathan Pobst <[email protected]>
  5862. * TreeView.cs: Always select the first node when the TreeView gets
  5863. focus if there is no currently selected node.
  5864. [Fixes bug #324279]
  5865. 2007-09-21 Jonathan Pobst <[email protected]>
  5866. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  5867. node being selected is null.
  5868. [Patch from Yves Bastide fixes bug #326858]
  5869. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  5870. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  5871. whether all the parent nodes are expanded.
  5872. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  5873. call RecalculateVisibleOrder if all previous nodes are expanded.
  5874. Before that we were doing a IsVisible check, but sometimes the node
  5875. is not in the visible area, but _should_already be ready, because of
  5876. all previous nodes are expanded. Fixes #325259.
  5877. 2007-09-20 Jonathan Pobst <[email protected]>
  5878. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  5879. portion of the item is clicked.
  5880. 2007-09-20 Jonathan Pobst <[email protected]>
  5881. * TextControl.cs: Do not tell the system to move the cursor if the
  5882. textbox isn't focused. Fixes part of bug #322668.
  5883. 2007-09-20 Jonathan Pobst <[email protected]>
  5884. * ComboBox.cs: When there are no items, do not show the dropdown if
  5885. the down arrow is clicked. Fixes part of bug #322668.
  5886. 2007-09-20 Jonathan Pobst <[email protected]>
  5887. * ToolStripComboBox.cs: Manually set the size of this control in the
  5888. constructor, as it doesn't seem to be the same as DefaultSize.
  5889. Fixes a failing monobuild test.
  5890. 2007-09-19 Jonathan Pobst <[email protected]>
  5891. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  5892. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  5893. 2007-09-19 Jonathan Pobst <[email protected]>
  5894. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  5895. Desktop. This lets it work for people who have moved their desktops
  5896. from the default location on windows. For people who have not, both
  5897. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  5898. 2007-09-18 Jonathan Pobst <[email protected]>
  5899. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  5900. but when the base constructor sets this, the control is null. Set it
  5901. again in the constructor. Fixes a failing monobuild test.
  5902. 2007-09-18 Jonathan Pobst <[email protected]>
  5903. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  5904. get called.
  5905. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  5906. called.
  5907. 2007-09-18 Jonathan Pobst <[email protected]>
  5908. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  5909. will handle it themselves.
  5910. * ToolStripItem.cs: When deciding what the text of a tooltip should
  5911. be, use the Text property instead of the text field.
  5912. * ToolStripTextBox.cs: Handle tooltips.
  5913. [Fixes bugs #325417 and #325973]
  5914. 2007-09-18 Jonathan Pobst <[email protected]>
  5915. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  5916. left click. Fixes the easy part of bug #325969.
  5917. 2007-09-18 Jonathan Pobst <[email protected]>
  5918. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  5919. bug #325406, but set a minimum for StatusStrip to 22 to keep
  5920. bug #325390 fixed. I think this minimum would have been figured
  5921. up automatically if the grip was actually a ToolStripItem, but it
  5922. currently is not.
  5923. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  5924. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  5925. as this is apparently the actual value used by .Net. Also apply
  5926. ItemPadding in Details view only, and decrease the general width padding,
  5927. to have only the needed. This should fix #324340 in Windows too.
  5928. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  5929. * ListViewItem.cs: Don't Invalidate item if parent is inside
  5930. a BeginUpdate/EndUpdate block. This prevents to have differences
  5931. between the ListView and items state, as well as avoid some exceptions
  5932. there.
  5933. * ListView.cs: Make 'updating' field internal.
  5934. 2007-09-17 Jonathan Pobst <[email protected]>
  5935. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  5936. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  5937. size if appropriate.
  5938. Fixes reopened bug #325414.
  5939. 2007-09-17 Jonathan Pobst <[email protected]>
  5940. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  5941. * ToolStripItem.cs: Invalidate before and after our new autosize when
  5942. text changes.
  5943. Fixes reopened bug #325390.
  5944. 2007-09-17 Jonathan Pobst <[email protected]>
  5945. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  5946. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  5947. #325044.
  5948. 2007-09-17 Jonathan Pobst <[email protected]>
  5949. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  5950. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  5951. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  5952. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  5953. #82734.
  5954. 2007-09-14 Jonathan Pobst <[email protected]>
  5955. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  5956. item to select when the ToolStrip is selected.
  5957. * ToolStripControlHost: Realign the control when the bounds or visibility
  5958. change.
  5959. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  5960. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  5961. preferred height.
  5962. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  5963. base.OnPaint. Was causing text not to be drawn.
  5964. 2007-09-14 Jonathan Pobst <[email protected]>
  5965. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  5966. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  5967. * TreeView.cs: When creating the label edit text box,
  5968. set is initially to Visible = false. This is done to
  5969. prevent a confusion in the layout which makes it to lose
  5970. focus when shown the first time. Fixes part of #82592.
  5971. 2007-09-13 Andreia Gaita <[email protected]>
  5972. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  5973. 2007-09-13 Jonathan Pobst <[email protected]>
  5974. * ToolStrip.cs: Take Margin into account when calculating preferred
  5975. size. Also, allow preferred size to get smaller than the explicit
  5976. size.
  5977. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  5978. First step towards fixing bug #82747.
  5979. 2007-09-13 Jonathan Pobst <[email protected]>
  5980. * TreeView.cs: Applied patch from [email protected] to not paint the
  5981. full row select background over the plus/minus glyph. Also, turn
  5982. off the focus rectangle for full row select since MS doesn't seem
  5983. to ever paint it. [Fixes bug #81839]
  5984. 2007-09-13 Jonathan Pobst <[email protected]>
  5985. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  5986. This was causing keyboard opened dropdowns to lose focus.
  5987. [Fixes bug #82803]
  5988. 2007-09-13 Jonathan Pobst <[email protected]>
  5989. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  5990. ClientRectangle instead. [Fixes bug #82838]
  5991. 2007-09-13 Jonathan Pobst <[email protected]>
  5992. * SplitContainer.cs: We can't reset Visible on every layout because
  5993. someone may have set Visible = false explicitly on a SplitterPanel.
  5994. Make sure when we switch orientation the SplitterDistance does not
  5995. change. Fixes two failing tests.
  5996. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  5997. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  5998. TextRenderer, since the latter is only available in 2.0.
  5999. 2007-09-13 Ivan N. Zlatev <[email protected]>
  6000. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  6001. * SplitContainer.cs: Implement FixedPanel layouting.
  6002. 2007-09-12 Andreia Gaita <[email protected]>
  6003. * WebBrowserBase.cs: setup shutdown routine
  6004. 2007-09-12 Andreia Gaita <[email protected]>
  6005. * Application.cs: Let keyboard events that are targetted
  6006. to non-mwf windows hosted inside mwf (as in, webbrowser),
  6007. propagate properly. Fixes keyboard handling on the webbrowser.
  6008. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  6009. * ListView.cs: When handling MouseUp event and we are
  6010. highligting a node with the mouse right button, don't trigger
  6011. Before/AfterSelecting event, since we are not actually selecting
  6012. the node.
  6013. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  6014. * TreeView.cs: When editing a node, modify the edit text box
  6015. depending on the text length (as you are typing), like MS does.
  6016. 2007-09-12 Jonathan Pobst <[email protected]>
  6017. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  6018. Override GetPreferredSizeCore to perform calculations. Remove custom
  6019. autosize logic. [Fixes bug #82739]
  6020. 2007-09-12 Jonathan Pobst <[email protected]>
  6021. * TextBoxBase.cs: Modified should default to false.
  6022. 2007-09-11 Jonathan Pobst <[email protected]>
  6023. * Control.cs: Update the anchoring distances even when layout is supspended.
  6024. Patch provided by George fixes bug #82805.
  6025. 2007-09-11 Jonathan Pobst <[email protected]>
  6026. * Control.cs: Provide a setter for ExplicitHeight.
  6027. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  6028. remove the hacks in here for requested_height.
  6029. [Fixes bug #82749]
  6030. 2007-09-11 Jonathan Pobst <[email protected]>
  6031. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  6032. Maximum to lower that its current Value caused an ArgumentException by setting
  6033. the Value to the new Maximum.
  6034. 2007-09-11 Jonathan Pobst <[email protected]>
  6035. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  6036. handle moves to the closest tick when it is being dragged.
  6037. [Fixes bug #82751]
  6038. 2007-09-11 Jonathan Pobst <[email protected]>
  6039. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  6040. can't let them count as real items when calculating where to merge in the
  6041. user's items. [Fixed bug #82786]
  6042. 2007-09-10 Jonathan Pobst <[email protected]>
  6043. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  6044. who want to add a menu item directly onto a toolstrip.
  6045. [Fixes bug #82775, part II]
  6046. 2007-09-10 Jonathan Pobst <[email protected]>
  6047. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  6048. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  6049. don't set it to available.
  6050. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  6051. [Fixes bug #82727, part II]
  6052. 2007-09-10 Jonathan Pobst <[email protected]>
  6053. * StatusStrip.cs: Change item placement to None if not visible.
  6054. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  6055. These should have been committed to fix 82723, but I missed them.
  6056. 2007-09-10 Jonathan Pobst <[email protected]>
  6057. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  6058. Click, and that it is only called once.
  6059. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  6060. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  6061. dropped down.
  6062. [Fixes bug #82775]
  6063. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  6064. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  6065. to match .Net.
  6066. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  6067. instead of 8, just like above. Partially fixes #82734.
  6068. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  6069. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  6070. fixes #82734.
  6071. * ListView.cs: Remove extra space between rows in Details view (match
  6072. .Net).
  6073. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  6074. the DefaultFont.
  6075. 2007-09-08 Gert Driesen <[email protected]>
  6076. * Application.cs: Modified ProductVersion to return value of
  6077. AssemblyInformationVersion if available, and fallback to assembly
  6078. version. Fixes bug #82746. Code formatting.
  6079. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  6080. instead.
  6081. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  6082. * Control.cs: When updating ZOrder for a child control,
  6083. take into account the implicit ones (we need it in our controls
  6084. using them). Fixes #82642.
  6085. 2007-09-07 Jonathan Pobst <[email protected]>
  6086. * ToolStripItem.cs: Add support for animated images.
  6087. [Fixes bug #82726]
  6088. 2007-09-07 Jonathan Pobst <[email protected]>
  6089. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  6090. visible. [Fixes bug #82727]
  6091. 2007-09-06 Jonathan Pobst <[email protected]>
  6092. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  6093. so we repaint using the new size. [Fixes bug #82723]
  6094. 2007-09-06 Jonathan Pobst <[email protected]>
  6095. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  6096. option. [Fixes bug #81779]
  6097. 2007-09-06 Jonathan Pobst <[email protected]>
  6098. * TreeView.cs: Override HandleClick because the StandardClick style is
  6099. set to false. According to MSDN (and testing), the click events should
  6100. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  6101. 2007-09-06 Jonathan Pobst <[email protected]>
  6102. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  6103. the border will disappear. Fixes reopened #82653.
  6104. 2007-09-06 Jonathan Pobst <[email protected]>
  6105. * Control.cs: If the control is autosize, and its preferred size changes
  6106. when it lays out its children, tell its parent so it can be re-layed out.
  6107. Fixing some of the fallout from r85433.
  6108. 2007-09-06 Jonathan Pobst <[email protected]>
  6109. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  6110. and CheckBox share some code.
  6111. 2007-09-06 Jonathan Pobst <[email protected]>
  6112. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  6113. the TrackBar, not every mouse move. [Fixed bug #82718]
  6114. 2007-09-06 Jonathan Pobst <[email protected]>
  6115. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  6116. under 2.0 rendering. [Fixes bug #82657]
  6117. 2007-09-06 Jonathan Pobst <[email protected]>
  6118. * TreeView.cs: If we found a TreeNode to display a context menu, but
  6119. it doesn't have one to show, let the TreeView display its menu
  6120. instead. [Fixes bug #82680]
  6121. 2007-09-06 Jonathan Pobst <[email protected]>
  6122. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  6123. OnPaintInternal instead. Give the internal TextBox a Border property
  6124. so it can draw itself more correctly. [Fixes bug #82653]
  6125. 2007-09-06 Zoltan Varga <[email protected]>
  6126. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  6127. 2007-09-05 Everaldo Canuto <[email protected]>
  6128. * ComboBox.cs: Adjust combobox button state to reflect current state when
  6129. back to enabled = true. Fixes first issue of #82654.
  6130. 2007-09-05 Everaldo Canuto <[email protected]>
  6131. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  6132. setting visible property.
  6133. 2007-09-05 Everaldo Canuto <[email protected]>
  6134. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  6135. fix zorder for controls initially created as non visible. Fixes #82667.
  6136. 2007-09-04 Everaldo Canuto <[email protected]>
  6137. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  6138. mimic win32 look. Fixes #82656.
  6139. 2007-09-01 Zoltan Varga <[email protected]>
  6140. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  6141. Stubs for new net 3.5 classes.
  6142. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  6143. * ListViewItem.cs: In ListViewItemCollection operations calculate
  6144. Layout for owner as well as invalidate it. Fixes part of #82642.
  6145. 2007-08-31 Jonathan Pobst <[email protected]>
  6146. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  6147. when returning Enabled. [Fixes bug #82651]
  6148. 2007-08-30 Everaldo Canuto <[email protected]>
  6149. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  6150. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  6151. * ListView.cs: Put item padding info in a single place
  6152. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  6153. columns again.
  6154. * ThemeWin32Classic.cs:
  6155. * Theme.cs: Likewise.
  6156. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  6157. * ListView.cs: When a ListViewSubItem instance is invalidated,
  6158. invoke Invalidate on parent ListViewItem, not parent ListView.
  6159. Fixes #81570.
  6160. 2007-08-30 Jonathan Pobst <[email protected]>
  6161. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  6162. 2007-08-30 Jonathan Pobst <[email protected]>
  6163. * BindingMemberInfo.cs: Implement == and != operators.
  6164. 2007-08-30 Jonathan Pobst <[email protected]>
  6165. * HtmlElementEventArgs.cs: Implement properties.
  6166. 2007-08-29 Jonathan Pobst <[email protected]>
  6167. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  6168. 2007-08-29 Jonathan Pobst <[email protected]>
  6169. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  6170. Add (string,string,string) to implement the imagekey. It turns out, we
  6171. use the requested imagekey whereas .Net does not. So I broke ours to match
  6172. theirs. :(
  6173. 2007-08-29 Jonathan Pobst <[email protected]>
  6174. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  6175. 2007-08-29 Jonathan Pobst <[email protected]>
  6176. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  6177. 2007-08-29 Gert Driesen <[email protected]>
  6178. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  6179. up-to-date. Fixes bug #82618.
  6180. 2007-08-29 Everaldo Canuto <[email protected]>
  6181. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  6182. reflect document changes. Fixes #82367.
  6183. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  6184. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  6185. as well as add new ones. This should make work the BackgroundImage
  6186. property for ListView again.
  6187. 2007-08-28 Jonathan Pobst <[email protected]>
  6188. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  6189. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  6190. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  6191. 2007-08-28 Jonathan Pobst <[email protected]>
  6192. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  6193. IsKeyLocked.
  6194. 2007-08-28 Jonathan Pobst <[email protected]>
  6195. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  6196. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  6197. 2007-08-28 Jonathan Pobst <[email protected]>
  6198. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  6199. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  6200. 2007-08-27 Ivan N. Zlatev <[email protected]>
  6201. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  6202. 2007-08-27 Ivan N. Zlatev <[email protected]>
  6203. * GridEntry.cs: Implement GetService.
  6204. 2007-08-27 Jonathan Pobst <[email protected]>
  6205. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  6206. for label editting, make sure we focus back on the TreeView.
  6207. [Fixes bug #82590]
  6208. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  6209. * ListView.cs: Add some 2.0 overrides.
  6210. 2007-08-27 Everaldo Canuto <[email protected]>
  6211. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  6212. because getter dont returns right value before handle creation. Thanks
  6213. to George. Fixes #82569.
  6214. 2007-08-27 Everaldo Canuto <[email protected]>
  6215. * Theme.cs: Revert last patch, it causes error under win32.
  6216. 2007-08-27 Everaldo Canuto <[email protected]>
  6217. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  6218. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  6219. logical Desktop rather than the physical file system location. Fixes #82603.
  6220. 2007-08-26 Everaldo Canuto <[email protected]>
  6221. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  6222. for the patch. Fixes #82568.
  6223. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  6224. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  6225. methods.
  6226. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  6227. * ListViewInsertionMark.cs: New stubbed class.
  6228. 2007-08-25 Gert Driesen <[email protected]>
  6229. * FolderBrowserDialog.cs: When adding folder, immediately create the
  6230. directory with temporary name and rename the directory when editing
  6231. finishes. This matches MS. Ensure the node for the new folder is
  6232. selected and LabelEdit is disabled, when editing is either finished
  6233. or cancelled.
  6234. 2007-08-25 Gert Driesen <[email protected]>
  6235. * TreeView.cs: When editing label of node, ensure node is visible.
  6236. 2007-08-25 Ivan N. Zlatev <[email protected]>
  6237. * PropertyGridView.cs: Set the value only if it has changed.
  6238. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6239. * ListView.cs: Some more code refactoring to add support sorting
  6240. with groups (now for Details view). Remove unused code also.
  6241. 2007-08-24 Jonathan Pobst <[email protected]>
  6242. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  6243. Not a big fan of reacting immediately to a field in an EventArg, but that's
  6244. the way it's done. (This is part of the previous commit that got left out.)
  6245. 2007-08-25 Gert Driesen <[email protected]>
  6246. * FolderBrowserDialog.cs: Removed need for separate description field.
  6247. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  6248. has focus when dialog box is displayed again, regardless of what
  6249. button was pressed the previous time. Set RootFolder and SelectedPath
  6250. each time dialog box is displayed. This ensures the treeview is
  6251. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  6252. when it does not have focus. Added support for more special folders.
  6253. 2007-08-24 Jonathan Pobst <[email protected]>
  6254. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  6255. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  6256. it resets the edit_args.
  6257. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  6258. [Fixes bug #82577]
  6259. 2007-08-24 Gert Driesen <[email protected]>
  6260. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  6261. button to match MS. Provide more meaningful exception message for
  6262. invalid RootFolder value. Use zero-length string when SelectedPath
  6263. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  6264. them in FolderBrowserTreeView. Allow folders to be created in
  6265. RootFolder. Fixes bug #82576.
  6266. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6267. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  6268. since we need to take into account the group headers and the margin
  6269. between them.
  6270. * ListViewGroup.cs: Add a rows field to store the number of rows per
  6271. group.
  6272. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  6273. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  6274. Anyways, let's just follow the lead.
  6275. 2007-08-24 Jonathan Pobst <[email protected]>
  6276. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  6277. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  6278. controls in GetPreferredSizeCore.
  6279. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  6280. [Fixes bug #82488]
  6281. 2007-08-24 Jonathan Pobst <[email protected]>
  6282. * PrintDialog.cs: Need to instantiate the form variable here too.
  6283. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6284. * ListView.cs: Do some reorganization to support sorting in groups,
  6285. by doing the layout sequentially in ListView.Items. Also add support
  6286. for the Default Group, which should be available for items with no
  6287. group assigned.
  6288. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  6289. for storing layout info also.
  6290. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  6291. collection, as well as providing internal members to do a traversal
  6292. including the default group (needed when doing layout/drawing).
  6293. * ThemeWin32Classic.cs: When drawing group headers use internal
  6294. ListViewGroupCollection members to take into account the default
  6295. group.
  6296. 2007-08-23 George Giolfan <[email protected]>
  6297. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  6298. 2007-08-23 Jonathan Pobst <[email protected]>
  6299. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  6300. been created. If handle is created, we want arror keys. If we are editing
  6301. a node, we want things like enter, esc, home, end, page up, page down.
  6302. Allows Esc to work for FolderBrowserDialog.
  6303. 2007-08-23 Jonathan Pobst <[email protected]>
  6304. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  6305. they close when ESC is pressed. Thanks Andy!
  6306. 2007-08-23 Jonathan Pobst <[email protected]>
  6307. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  6308. This way we can tell if this is a CommonDialog provided with mono, or one
  6309. that is being implemented outside by a developer. If it is an external one,
  6310. the developer is responsible for showing their own form. We were showing
  6311. our blank form after the developer showed his.
  6312. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  6313. PageSetupDialog.cs: Instantiate form variable in our constructor.
  6314. [Fixes bug #82531]
  6315. 2007-08-23 Jonathan Pobst <[email protected]>
  6316. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  6317. and always return true. [Fixes bug #81616]
  6318. 2007-08-23 Jonathan Pobst <[email protected]>
  6319. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  6320. TextBox. [Fixes bug #82549]
  6321. 2007-08-23 Gert Driesen <[email protected]>
  6322. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  6323. or entered then do not close the dialog. Fixes bug #82539. Removed
  6324. CWLs.
  6325. 2007-08-22 Everaldo Canuto <[email protected]>
  6326. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  6327. code to this method. It is calling every time filter changes. This method
  6328. will help to fix the bug #80887.
  6329. 2007-08-22 Jonathan Pobst <[email protected]>
  6330. * CheckBox.cs: Implement AutoSize calculation.
  6331. 2007-08-22 Jonathan Pobst <[email protected]>
  6332. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  6333. * Theme.cs: Method declarations for 2.0 rendering path.
  6334. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  6335. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  6336. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  6337. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  6338. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  6339. only call Redraw on the parent one time.
  6340. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  6341. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  6342. GetClipboardContent.
  6343. * DataGridViewCell.cs: Implemented GetClipboardContent,
  6344. GetEditedFormattedValue, GetFormattedValue.
  6345. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  6346. 2007-08-21 Jonathan Pobst <[email protected]>
  6347. * TableLayoutStyleCollection.cs: corcompare fix.
  6348. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  6349. * DataObject.cs: Implemented retrieval of convertible / not convertible
  6350. objects.
  6351. 2007-08-21 Jonathan Pobst <[email protected]>
  6352. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  6353. ourselves. This ensures the entire old bounds are repainted, in case our new
  6354. size is smaller. [Fixes bug #82518]
  6355. 2007-08-20 Everaldo Canuto <[email protected]>
  6356. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  6357. flag to make fast handle of mouse events, without this the mouse move is
  6358. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  6359. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6360. * ListView.cs: When doing layout calculations don't use a ref
  6361. param to keep the current item; instead use its Index value (this
  6362. is specially important when doing the layout with Groups
  6363. and Items being sparse). Also don't take into account items added to
  6364. the Group but not yet added to the main ListView.Items collection.
  6365. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6366. * ListViewGroupCollection.cs: Forgot to mimic an issue
  6367. in the indexer (don't assign the ListView owner for new values).
  6368. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6369. * ListViewGroupCollection.cs: Make the string indexer use
  6370. the int based indexer to re-use code, instead of duplicate the code.
  6371. Also Redraw as needed and take into account null values.
  6372. 2007-08-20 Jonathan Pobst <[email protected]>
  6373. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  6374. [Fixes bug #82481]
  6375. 2007-08-20 Jonathan Pobst <[email protected]>
  6376. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  6377. when other buttons are clicked or navigated to.
  6378. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6379. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  6380. it's XplatUIX11 that attaches them.
  6381. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6382. * DataGridView.cs: If a column has been added, recreate the editing row.
  6383. Fixes #82226.
  6384. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6385. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  6386. of the tag to draw. Makes disappearing text show up again.
  6387. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6388. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  6389. Contents. Fixes #82487.
  6390. 2007-08-19 Andreia Gaita <[email protected]>
  6391. * Added HtmlElement.cs, HtmlElementCollection.cs,
  6392. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  6393. 2007-08-19 Andreia Gaita <[email protected]>
  6394. * BindingSource.cs: Implement this, dispose and getenumerator.
  6395. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  6396. out of AddInternal, throw it only on public Add calls. The
  6397. UsingWebBrowser sample was blowing up with this when setting the
  6398. DataSource after adding DataBindings, so it's likely that .net
  6399. only throws this exception when Add is called directly.
  6400. * ToolStripControlHost.cs: Return the hosted control's text
  6401. property, and not the ToolStripItem one (it would always return
  6402. the initial value).
  6403. * HtmlDocument.cs: Implement GetElementById and All
  6404. * WebBrowser.cs: Remove exception on set_DocumentStream.
  6405. 2007-08-19 Everaldo Canuto <[email protected]>
  6406. * Form.cs: Fix the max and min value for opacity (0~1).
  6407. 2007-08-19 Everaldo Canuto <[email protected]>
  6408. [Fixes #80118]
  6409. * DataGridTableStyle.cs: Default header font is now null, on getter it
  6410. returns datagrid font when is null. On setter permits null.
  6411. * DataGrid.cs:
  6412. - When ResetHeaderFont set header font to null.
  6413. - On EndInit set grid_style.DataGrid.
  6414. 2007-08-19 Everaldo Canuto <[email protected]>
  6415. * TabControl.cs: Fix regression in default padding x.
  6416. 2007-08-19 Everaldo Canuto <[email protected]>
  6417. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  6418. 2007-08-19 Everaldo Canuto <[email protected]>
  6419. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  6420. not 2. Fixes #82229.
  6421. 2007-08-18 Everaldo Canuto <[email protected]>
  6422. * TabControl.cs: Fix tab size when image height is less than text height.
  6423. Partially fixes #81837.
  6424. 2007-08-18 Everaldo Canuto <[email protected]>
  6425. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  6426. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  6427. from taskbar and keep it on "alt_tab". Fixes #81722.
  6428. 2007-08-18 Everaldo Canuto <[email protected]>
  6429. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  6430. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  6431. Fixes #80877 and #79418.
  6432. 2007-08-18 Everaldo Canuto <[email protected]>
  6433. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  6434. between position and one of the screen borders. Fixes #82349.
  6435. 2007-08-18 Everaldo Canuto <[email protected]>
  6436. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  6437. the MessageBox in the taskbar. Fixes #82457.
  6438. 2007-08-18 Everaldo Canuto <[email protected]>
  6439. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  6440. than icon. Fixes #82468.
  6441. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  6442. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  6443. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  6444. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  6445. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  6446. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  6447. FormBorderStyle to decide if we're calculating a new size from the
  6448. client size or not. CreateParams: Don't fake tool windows, only the X11
  6449. backend manages toolwindows manually.
  6450. 2007-08-17 Jonathan Pobst <[email protected]>
  6451. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  6452. ObjectDisposedException.
  6453. 2007-08-17 Jonathan Pobst <[email protected]>
  6454. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  6455. in OnLoad should not have any effect. [Fixes bug #82470]
  6456. 2007-08-17 Jonathan Pobst <[email protected]>
  6457. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  6458. paint for controls that create their own ToolTipWindow instead of
  6459. going through ToolTip.
  6460. 2007-08-17 Jonathan Pobst <[email protected]>
  6461. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  6462. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  6463. * ListViewGroupCollection.cs: Use generic List instead of an
  6464. ArrayList, since this collection is 2.0 only.
  6465. 2007-08-17 Jeffrey Stedfast <[email protected]>
  6466. * ToolTip.cs (Hide): Made public to make the build work (should
  6467. this not be public?).
  6468. 2007-08-17 Jonathan Pobst <[email protected]>
  6469. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  6470. ToolTipWindow.
  6471. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  6472. 2007-08-17 Jonathan Pobst <[email protected]>
  6473. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  6474. PopupEventHandler.cs: Make these internal for 1.1.
  6475. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  6476. use ToolTipWindow internals.
  6477. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  6478. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  6479. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6480. * X11Dnd.cs: Add a null check.
  6481. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6482. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  6483. nothing else succeeds. Fixes #82453.
  6484. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6485. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  6486. rectangle if we're painting to another window than the one the paint
  6487. message was generated on. Simplify the code somewhat, which makes
  6488. PaintEventEnd also simpler.
  6489. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6490. * Control.cs: When changing parent of a form, let the form decide whether
  6491. XplatUI.SetParent should be called or not.
  6492. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  6493. recreating the handle. If the new parent's handle isn't created, don't
  6494. recreate our handle, just destroy it. CreateParams: Check if the
  6495. parent's handle is created before fetching it.
  6496. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6497. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  6498. Update calls to PaintEventStart/End to take a Message argument.
  6499. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  6500. take a Message argument.
  6501. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  6502. Message argument, and handle the case where we don't paint to the window
  6503. for which the paint message was generated.
  6504. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6505. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  6506. Marshal.GetLastWin32Error. Plug nasty memory leak in
  6507. PaintEventStart/End, we were creating a DC we weren't releasing.
  6508. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  6509. * ListView.cs: Add Groups support in Details view. Also have a small
  6510. method to do the layout of the group header. Don't use a separate
  6511. method to do the groups calculation in Icons view, since our methods
  6512. are now a little simpler.
  6513. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  6514. `Bounds'.
  6515. * ThemeWin32Classic.cs: Likewise.
  6516. 2007-08-16 Jonathan Pobst <[email protected]>
  6517. * Application.cs: Add FilterMessage method and rework our message loop
  6518. logic to use it.
  6519. 2007-08-16 Jonathan Pobst <[email protected]>
  6520. * Application.cs: Add some methods and stub a few methods that are
  6521. pretty much never used.
  6522. 2007-08-15 Jonathan Pobst <[email protected]>
  6523. * TreeNode.cs: Add some serialization methods.
  6524. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  6525. * ListView.cs: In ListViewItemCollection have a
  6526. 'is_main_collection' field to not modify ListViewItem.ListView
  6527. when using it as ListViewGroup.Items (and not ListView.Items)
  6528. and also don't modify selection state (.Net behaviour).
  6529. Instead, set group for items contained in a ListViewGroup.Items collection.
  6530. * ListViewItem.cs: Simplify some code in Group setter.
  6531. * ListViewGroup.cs: use the new .ctor to pass the current instance
  6532. to the ItemsCollection.
  6533. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  6534. instances when adding/removing. Also make Remove use RemoveAt, which
  6535. should perform better.
  6536. 2007-08-14 Jonathan Pobst <[email protected]>
  6537. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  6538. that crept into the 1.1 profile.
  6539. 2007-08-14 Jonathan Pobst <[email protected]>
  6540. * ToolBarButton.cs: Implement ImageKey.
  6541. 2007-08-14 Jonathan Pobst <[email protected]>
  6542. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  6543. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  6544. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  6545. created, it might have gotten destroyed since we last checked. Fixes
  6546. #82405.
  6547. 2007-08-11 Jonathan Pobst <[email protected]>
  6548. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  6549. tooltip will hide when mouse is moved off the control.
  6550. [Fixes bug #82407]
  6551. 2007-08-11 Andreia Gaita <[email protected]>
  6552. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  6553. using Mono.Mozilla for loading and navigating webcontrol
  6554. with xulrunner.
  6555. The initial implementation was done on
  6556. /trunk/mozembed/tests/browser , and copied here.
  6557. 2007-08-11 Gert Driesen <[email protected]>
  6558. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  6559. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  6560. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  6561. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  6562. RowTemplateFull: throw an exception if a column doesn't have a template.
  6563. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  6564. add the row just before it.
  6565. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  6566. selected.
  6567. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  6568. DataGridView field to be able to reach the grid's editing row.
  6569. 2007-08-10 Jonathan Pobst <[email protected]>
  6570. * ToolTip.cs: If the control's handle hasn't been created when it has a
  6571. tooltip set on it, don't check to see if we need to show the tooltip. This
  6572. check was causing the control's handle to be created.
  6573. [Fixes bug #82399]
  6574. 2007-08-10 Jonathan Pobst <[email protected]>
  6575. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  6576. 1.1 2.0
  6577. Handle Not Created -1 0
  6578. Handle Created 0 0
  6579. [Fixes bug #82371]
  6580. 2007-08-10 Jonathan Pobst <[email protected]>
  6581. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  6582. [Fixes bug #82348]
  6583. 2007-08-09 Jonathan Pobst <[email protected]>
  6584. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  6585. * ToolTip.cs: Implement some properties and owner draw.
  6586. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6587. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  6588. show them again, since setting visibility causes a paint, causing an
  6589. endless loop (instead use a temporary and set it all when it's known if
  6590. they should be shown or not). Fixes #79265.
  6591. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6592. * DataGridView.cs: Only do a full column/row selection if a header was
  6593. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  6594. isn't pressed, deselect everything before selecting something.
  6595. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6596. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  6597. behaviour according to bug #81075 - they are returned in the order they
  6598. are selected. Fix HitTest to check if the point is within any of the
  6599. headers. Allow for row/column selection when in ColumnHeader or
  6600. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  6601. the row and column to call when their selected state changes, and
  6602. updated selected_[rows|columns] whenever SetSelected* is called.
  6603. * DataGridViewBand.cs: Initialize isRow correctly. Call
  6604. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  6605. add a SelectedInternal to avoid StackOverflows.
  6606. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  6607. ReadOnly no matter what.
  6608. * DataGridViewSelectedColumnCollection.cs,
  6609. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  6610. the items in reverse order (just as MS does...)
  6611. 2007-08-09 Jonathan Pobst <[email protected]>
  6612. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  6613. itself, not part of a mnemonic. [Fixes bug #82378]
  6614. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6615. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  6616. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  6617. the DGV, the column, the row, or the cell itself is readonly.
  6618. 2007-08-09 Gert Driesen <[email protected]>
  6619. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  6620. OSVersion.Platform.
  6621. * FileDialog.cs: Same.
  6622. * TextRendered.cs: Same.
  6623. * FolderBrowserDialog.cs: Same.
  6624. * TextBoxBase.cs: Same.
  6625. * Application.cs: Same.
  6626. * Cursors.cs: Same.
  6627. * ThemeClearLooks.cs: Same.
  6628. 2007-08-09 Gert Driesen <[email protected]>
  6629. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  6630. instead of duplicating these checks everywhere.
  6631. * FileDialog.cs: Use case-insensitive comparison for populating the
  6632. DirComboBox when not running on unix. Fixes bug #82385.
  6633. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  6634. "Look in".
  6635. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6636. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  6637. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  6638. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  6639. cell and column selection with ctrl and shift pressed. Call the correct
  6640. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  6641. the corresponding virtual method (PaintBackground to paint background,
  6642. etc).
  6643. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  6644. either the column, row or the cell itself is selected.
  6645. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  6646. OnRowsAdded.
  6647. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  6648. here. When the row is selected, don't select all cells. Each cell now
  6649. queries the row to see if the row is selected.
  6650. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6651. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  6652. SelectionMode.
  6653. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  6654. * ListView.cs: In ListViewItemsCollection check that owner is
  6655. not null before trying to access it (this happens quite often
  6656. using Groups). Also don't duplicate calls by calling CollectionChanged
  6657. method.
  6658. 2007-08-08 Jonathan Pobst <[email protected]>
  6659. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  6660. when we are dismissed to clear keyboard mnemonics.
  6661. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  6662. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  6663. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  6664. was activated by keyboard or the OS tells us to always draw them.
  6665. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  6666. [Fixes bugs #82376, #82377]
  6667. 2007-08-08 Jonathan Pobst <[email protected]>
  6668. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  6669. shot at having it because Alt was pressed.
  6670. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  6671. the first real menu item.
  6672. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  6673. a mnemonic if Text is null.
  6674. [Fixes bug #82374]
  6675. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  6676. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  6677. search do check whether the item is already contained in the
  6678. collection or not; instead check if the owner of the item is the same
  6679. as ours. Also, remove a redundant check in the same method.
  6680. 2007-08-08 Jonathan Pobst <[email protected]>
  6681. * Control.cs: Allow the clip region to be set back to null.
  6682. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  6683. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  6684. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  6685. * GridEntry.cs: Add a null check.
  6686. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  6687. entries. Fixes #82297.
  6688. 2007-08-07 Jonathan Pobst <[email protected]>
  6689. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  6690. for 2.0.
  6691. 2007-08-07 Jonathan Pobst <[email protected]>
  6692. * ListBox.cs: Implement ScaleControl.
  6693. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6694. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  6695. have a menu strip.
  6696. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  6697. parent has a menu strip. Fixes #81689.
  6698. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6699. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  6700. moments, so apply some fuzzy logic to determine if the mouse is still
  6701. inside a control or not. Fixes #82288 (for the third time).
  6702. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6703. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  6704. Don't create the child if it has been disposed already (may happen if
  6705. the user closes the form the Load event).
  6706. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6707. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  6708. #82288.
  6709. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6710. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  6711. might call us after we've been destroyed, in which case our own private
  6712. parent field is null. Fixes #82326.
  6713. 2007-08-06 Jonathan Pobst <[email protected]>
  6714. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  6715. check for setting the dropdown's owner.
  6716. 2007-08-06 Jonathan Pobst <[email protected]>
  6717. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  6718. before removing system menu items.
  6719. 2007-08-02 Jonathan Pobst <[email protected]>
  6720. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  6721. folding.
  6722. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  6723. folding.
  6724. * ToolStrip.cs: Add a null check to mnemonics.
  6725. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  6726. no ConnectedArea.
  6727. [Fixes most of bug #81689]
  6728. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  6729. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  6730. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  6731. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  6732. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  6733. * DataGridViewCell.cs: EditType: returns
  6734. DataGridViewTextBoxEditingControl always.
  6735. 2007-08-01 Jonathan Pobst <[email protected]>
  6736. * TextRenderer.cs: Remove the LineLimit string format flag from the
  6737. DrawString fallback method so that things like buttons that aren't
  6738. tall enough to draw a full line will still draw part of the text.
  6739. [Fixes part of bug #82272]
  6740. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  6741. * DataGridView.cs: Implemented AutoResizeColumn(s).
  6742. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  6743. according to the Alignment.
  6744. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  6745. Implement alignment and padding when painting.
  6746. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  6747. exists.
  6748. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  6749. way.
  6750. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  6751. a column is added.
  6752. 2007-07-31 Jonathan Pobst <[email protected]>
  6753. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  6754. which is internal.
  6755. 2007-07-31 Jonathan Pobst <[email protected]>
  6756. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  6757. hide GetPreferredSize from public API.
  6758. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  6759. * ToolStripItem.cs: Stub out drag and drop methods and events.
  6760. * ToolStripManager.cs: Stub out Save/LoadSettings.
  6761. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  6762. * ToolStripPanel.cs: Fix corcompare error.
  6763. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  6764. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  6765. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  6766. 2007-07-31 Jonathan Pobst <[email protected]>
  6767. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  6768. bounds height instead of PreferredHeight. Puts things back the way
  6769. they were for height while still fixing the width. Fixes broken unit
  6770. tests.
  6771. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6772. * Binding.cs: Implement 2.0 constructors and add a null check.
  6773. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6774. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  6775. and fix row index (off by one).
  6776. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6777. * PropertyGridView.cs: Remove debug output.
  6778. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6779. * Control.cs: We need to reset the is_created flags when the handle is
  6780. destroyed. Fixes #82187.
  6781. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  6782. client coordinates if the window doesn't have a parent.
  6783. Win32GetParent returns the parent or the owner, and for top-level
  6784. windows with no parent (but with an owner) we were calculating the
  6785. location from the location of the owner.
  6786. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  6787. form has been disposed.
  6788. * MdiClient.cs: Add a null-check.
  6789. 2007-07-30 Jonathan Pobst <[email protected]>
  6790. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  6791. actually do auto-sizing. Override the internal GetPreferredSizeCore
  6792. so we can provide an implementation that returns the current width
  6793. and preferred height. Allows anchor = right to work with TextBox 2.0.
  6794. [Fixes bug #82233]
  6795. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  6796. * ListView.cs: Add support for navigating items in Groups mode, by
  6797. creating a big matrix containing all rows and cols of all groups. When
  6798. are in other mode than Details, pressing Up should have a similar
  6799. behaviour as that one of Down (moving to the next available column if
  6800. current one doesn't have an item in the requested row). Also, don't
  6801. proceed to use groups if ShowGroups is false.
  6802. * ListViewGroup.cs: Add an internal int field to store the starting
  6803. row of the group (used by the big matrix used for navigating the
  6804. ListView).
  6805. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  6806. false.
  6807. 2007-07-30 Jonathan Pobst <[email protected]>
  6808. * ToolStripDropDown.cs: When we do Show, start with the
  6809. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  6810. modify the direction to keep it on screen. [Fixes bug #82210]
  6811. 2007-07-29 Gert Driesen <[email protected]>
  6812. * FileDialog.cs: Accept any FilterIndex value, and store it
  6813. unmodified. When FilterIndex is less than 1, or greater than number
  6814. of filters, then default to first filter. Only add filter extension to
  6815. file if user did not specifiy an extension. When type of dialog is
  6816. OpenFileDialog and DefaultExt is set, then only use filter extension
  6817. if: CheckFileExists is true and no file wih the default extension
  6818. exists, or CheckFileExists is false, and user specified file does not
  6819. exist. When CheckFileExists is true, then add first extension of
  6820. selected filter that matches existing file. Perform checks for
  6821. existing file, overwrite and create after extension has been added to
  6822. file name. When CheckFileExists is true and type is SaveFileDialog,
  6823. then only consider first filter extension if DefaultExt is set.
  6824. When CheckFileExists is true, then ignore DefaultExt if file with that
  6825. extension does not exist. Also perform check for existing file when
  6826. type is SaveFileDialog. Changed some field to constants.
  6827. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  6828. * ListView.cs: Take into account the region used by header
  6829. control when doing the vertical scroll (this way we invalidate
  6830. the precise area, and don't get any dirty one).
  6831. 2007-07-27 Everaldo Canuto <[email protected]>
  6832. * FileDialog.cs: Check for valid filterIndex on button open/save.
  6833. Fixes #82184.
  6834. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  6835. * ListView.cs: Update some layout calculations in details view
  6836. and clean the code in a pair of assignations.
  6837. 2007-07-26 Jonathan Pobst <[email protected]>
  6838. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  6839. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  6840. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  6841. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  6842. 2007-07-26 Jonathan Pobst <[email protected]>
  6843. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  6844. performance of thread-safe Graphic methods. (Thanks rolf!)
  6845. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  6846. * ListView.cs: When doing the layout calculations, don't calculate
  6847. scroll bars before handle is created. This is unnecessary and also
  6848. calculating them before handle creation item causes a number of random
  6849. bugs (which begin to appear after Chris' big patch for handle creation
  6850. fixes).
  6851. 2007-07-26 Jonathan Pobst <[email protected]>
  6852. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  6853. for things that don't have a Graphics object. Currently, things just use
  6854. the static Hwnd.bmp_g which is not thread safe.
  6855. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  6856. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  6857. dialog. Fixes #82187.
  6858. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  6859. * DataGridViewElement.cs: Initialize state.
  6860. * DataGridView.cs: Forward a few Mouse events to cells. Add
  6861. GetRowInternal and GetCellInternal that doesn't unshare rows.
  6862. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  6863. don't use the index, but look it up. Add
  6864. DataGridViewControlCollection.RemoveInternal to remove controls
  6865. that Remove won't remove (scrollbars, edit control).
  6866. * DataGridViewColumn.cs: Initialize State correctly.
  6867. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  6868. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  6869. implementing this.
  6870. * DataGridViewRowCollection.cs: Implemented shared rows.
  6871. * DataGridViewRow.cs: Throw exceptions as MS do.
  6872. * DataGridViewCell.cs: A few properties are implemented by a
  6873. Get<Property> method, so move implementation there and remove the
  6874. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  6875. calls when necessary.
  6876. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  6877. complicates matters.
  6878. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  6879. unshare any rows.
  6880. 2007-07-25 Jonathan Pobst <[email protected]>
  6881. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  6882. the children controls. Instead, we will just set up the proper docking for the
  6883. children controls so we don't have to worry about it. [Fixes bug #82188]
  6884. 2007-07-25 Jonathan Pobst <[email protected]>
  6885. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  6886. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  6887. 81847. [Fixes bug #81847]
  6888. 2007-07-25 Jonathan Pobst <[email protected]>
  6889. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  6890. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  6891. an explicit size based on the design-time size of the text. Since our fonts
  6892. may not match this explicit size, we tend to cut off the ends of people's labels.
  6893. 2007-07-24 Jonathan Pobst <[email protected]>
  6894. * Menu.cs: Add some missing methods to MenuItemCollection.
  6895. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  6896. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  6897. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  6898. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  6899. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  6900. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  6901. * DataGridViewElement.cs: State defaults to Visible.
  6902. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  6903. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  6904. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  6905. * Control.cs: Minor 1.1 corcompare fix.
  6906. 2007-07-23 Jonathan Pobst <[email protected]>
  6907. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  6908. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  6909. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6910. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  6911. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  6912. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  6913. DataGridViewSelectedColumnCollection.cs,
  6914. DataGridViewSelectedRowCollection.cs: Corcompare work.
  6915. 2007-07-23 Jonathan Pobst <[email protected]>
  6916. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  6917. it is autoset by VS2005 designer and the effect is barely noticeable.
  6918. 2007-07-23 Jonathan Pobst <[email protected]>
  6919. * TreeView.cs: Implement HitTest.
  6920. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6921. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  6922. manually adding and removing the control from the Controls
  6923. collecftion.
  6924. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  6925. EditingControlInternal property that tracks the editing control.
  6926. Always keeping the scrollbars in the Controls collection, as MS
  6927. testing confirms is the right behaviour.
  6928. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6929. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  6930. according to MSDN and new test.
  6931. 2007-07-20 Jonathan Pobst <[email protected]>
  6932. * TreeNode.cs: Implement ToolTipText.
  6933. * TreeView.cs: Implement tooltips, NodeMouse* events.
  6934. 2007-07-20 Jonathan Pobst <[email protected]>
  6935. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  6936. 2007-07-20 Jonathan Pobst <[email protected]>
  6937. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  6938. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  6939. 2007-07-20 Ivan N. Zlatev <[email protected]>
  6940. * Control.cs, Form.cs, ContainerControl.cs,
  6941. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  6942. for misc properties.
  6943. 2007-07-20 Jonathan Pobst <[email protected]>
  6944. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  6945. * TreeView.cs: Implement StateImageList.
  6946. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6947. * Form.cs: Don't check if the current form is the active form before
  6948. activating it. Fixes #81904.
  6949. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6950. * Form.cs: Don't check if the current form is the active form before
  6951. activating it. Fixes #81904.
  6952. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6953. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  6954. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6955. * Form.cs: Don't try to position the form after loading if the form was
  6956. disposed. Fixes #81969.
  6957. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6958. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  6959. properties. Had to change ToolBar into ToolStrip, which required a
  6960. few #ifs.
  6961. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6962. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  6963. resized, fixes part of #79829 (vertical lines in toolbar).
  6964. PropertyGrid: Refactored Populate* to something that's easier to
  6965. follow at least for me, as well as splitting it up into several new
  6966. methods, required to update only subitems when something has
  6967. changed by a popup editor or listbox. Don't use events to check
  6968. when any values are changed, since the events are unreliable (we're
  6969. changing the objects the events are registered with, and if the
  6970. event handling requires the objects to be immutable (objects stored
  6971. in hashtables for instance), the events will never be raised).
  6972. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  6973. everytime we change a value, since events are unreliable.
  6974. DropDownButtonClicked: For the same reason don't compare objects to
  6975. check if it has changed or not, it would require all objects to
  6976. derive Equals. Fix dialog location on windows, MS is doing weird
  6977. things when creating parented forms.
  6978. * GridEntry.cs: Add a SelectedObject setter.
  6979. 2007-07-19 Jonathan Pobst <[email protected]>
  6980. * TreeNode.cs: Add some corcompare attributes.
  6981. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  6982. * TreeView.cs: Implement some 2.0 stuffs.
  6983. 2007-07-18 Andreia Gaita <[email protected]>
  6984. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  6985. for moma.
  6986. 2007-07-19 Jonathan Pobst <[email protected]>
  6987. * ListBox.cs: Implement custom tab offsets.
  6988. 2007-07-18 Jonathan Pobst <[email protected]>
  6989. * ToolStripContentPanel.cs: Support System renderer.
  6990. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  6991. 2007-07-18 Jonathan Pobst <[email protected]>
  6992. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  6993. 2007-07-18 Jonathan Pobst <[email protected]>
  6994. * CheckBox.cs: Chain TextAlign to base implementation instead of
  6995. maintaining another one.
  6996. 2007-07-18 Jonathan Pobst <[email protected]>
  6997. * ButtonBase.cs: Fix an incorrect string constant.
  6998. 2007-07-18 Jonathan Pobst <[email protected]>
  6999. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  7000. of creating one for measuring strings.
  7001. 2007-07-18 Jonathan Pobst <[email protected]>
  7002. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  7003. Implement MaxItemSize.
  7004. 2007-07-17 Jonathan Pobst <[email protected]>
  7005. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  7006. for DeviceContext. Instead, use the static one available in Hwnd.
  7007. Informal tests show this saves about 500k on formtest.exe.
  7008. 2007-07-17 Jonathan Pobst <[email protected]>
  7009. * ContainerControl.cs: Implement 2.0 AutoScaling.
  7010. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  7011. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  7012. 2007-07-16 Jonathan Pobst <[email protected]>
  7013. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  7014. Darken the focus color.
  7015. 2007-07-16 Jonathan Pobst <[email protected]>
  7016. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  7017. for the checkbox.
  7018. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  7019. X, Y instead of a rect for drawing text.
  7020. - For ControlPaint.DrawCheckBox, center the check a little better when the
  7021. checkbox is odd width. When drawing a flat checkbox, use a white background
  7022. when state != inactive.
  7023. [Fixes bugs #82097, 82100]
  7024. 2007-07-16 Gert Driesen <[email protected]>
  7025. * ListControl.cs: When changing CurrencyManager, disconnect event
  7026. handlers from previous one. Fixes bug #81771. Code formatting.
  7027. 2007-07-15 Andreia Gaita <[email protected]>
  7028. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  7029. full preview invalidation from layout invalidation, and only invalidate
  7030. the layout when setting zoom or other properties. Invalidation should
  7031. always be done even when resetting properties with the same values as
  7032. what is there. Fixes #81744 and #79830.
  7033. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  7034. * ListView.cs: Implement initial support for Groups. Split some of the
  7035. LayoutIcons code to render a partial list of the items (needed by
  7036. items contained in ListViewGroup instances). Let the
  7037. ListViewItemsCollection.ListView property be modifiable (needed when
  7038. using Groups, too).
  7039. * ListViewGroup.cs: Use a Bounds property rather than a Location
  7040. one. Also invalidate the bounds when they get changed.
  7041. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  7042. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  7043. method as well.
  7044. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  7045. * ListView.cs: When space gets pressed and CheckBoxes is true,
  7046. don't invoke the Begin and EndUpdate methods. We are generating
  7047. a redraw of the entire control without need to do so.
  7048. 2007-07-13 William Holmes <[email protected]>
  7049. * Control.cs: Changing logic in FindFlatForward and
  7050. FindFlatBackward to handle multiple Controls with
  7051. the same TabIndex.
  7052. This fixes bug 81687.
  7053. 2007-07-13 Jonathan Pobst <[email protected]>
  7054. * OSFeature.cs: Enable IsPresent.
  7055. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  7056. * Control.cs: Don't do anything in WmShowWindow if the control has been
  7057. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  7058. control is created, put on a form, the control is disposed (the
  7059. form is never shown), and then we get a MapNotify, triggering a
  7060. WM_SHOWWINDOW.
  7061. * Form.cs: Exclude the current form when sending Deactivate to all
  7062. MdiChildren.
  7063. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  7064. there was a race condition because assigning the handle raises
  7065. events, we can get more messages, therefore trying to assign the
  7066. handle again, which would fail if any of those event handlers
  7067. closed/disposed the control.
  7068. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  7069. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  7070. 2007-07-12 Jonathan Pobst <[email protected]>
  7071. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  7072. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  7073. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  7074. * DateTimePicker.cs: If there's no part format specifier, return an
  7075. empty string.
  7076. 2007-07-12 Jonathan Pobst <[email protected]>
  7077. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  7078. Transparent BorderColor.
  7079. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  7080. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  7081. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  7082. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  7083. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  7084. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  7085. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  7086. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  7087. Remove warnings.
  7088. * X11Structs.cs: Remove warnings, add ToString implementations.
  7089. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  7090. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  7091. size, and not the current size. Fixes #81798.
  7092. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  7093. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  7094. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  7095. to the control yet).
  7096. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  7097. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  7098. mousedowns to the contained textbox.
  7099. * X11Structs.cs: More ToString implementation.
  7100. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  7101. #81791.
  7102. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  7103. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  7104. 2007-07-10 Jonathan Pobst <[email protected]>
  7105. * TableLayoutPanelCellPosition.cs: TypeConverter.
  7106. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  7107. [ Fixes #79761]
  7108. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  7109. controls.
  7110. * PropertyGridView.cs: A few color fixes.
  7111. 2007-07-10 Jackson Harper <[email protected]>
  7112. * TextControl.cs: Remove some old unused text formatting stuff.
  7113. 2007-07-10 Jackson Harper <[email protected]>
  7114. * TreeView.cs: Update full row select invalidation to match the
  7115. newer DrawSelection... method.
  7116. - Make sure to invalidate the entire width when selecting a new
  7117. node, if we have full row selection enabled.
  7118. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  7119. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  7120. display of properties again.
  7121. 2007-07-10 Jonathan Pobst <[email protected]>
  7122. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  7123. to existing collections.
  7124. 2007-07-09 Jonathan Pobst <[email protected]>
  7125. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  7126. that changed between 1.1 and 2.0.
  7127. 2007-07-09 Jonathan Pobst <[email protected]>
  7128. * PowerStatus.cs: Added. This is just a data class, it is filled
  7129. in by SystemInformation.
  7130. 2007-07-09 Jonathan Pobst <[email protected]>
  7131. * Message.cs: Add op_Equality and op_Inequality.
  7132. 2007-07-09 Jonathan Pobst <[email protected]>
  7133. * MenuStrip.cs: Finish corcompare work.
  7134. 2007-07-09 Jonathan Pobst <[email protected]>
  7135. * LinkArea.cs: Add op_Equality and op_Inequality.
  7136. 2007-07-09 Jonathan Pobst <[email protected]>
  7137. * Application.cs: Add MessageLoopCallback delegate.
  7138. 2007-07-09 Jonathan Pobst <[email protected]>
  7139. * ListBox.cs: First set of 2.0 stuffs.
  7140. 2007-07-09 Jonathan Pobst <[email protected]>
  7141. * Control.cs: Make an internal Height property we can override
  7142. without messing up the public API.
  7143. * ListBox.cs: Override HeightInternal to always return the size
  7144. the user set. [Fixes bug #80466]
  7145. 2007-07-08 Jonathan Pobst <[email protected]>
  7146. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  7147. paint cell borders if we haven't calculated where they go yet.
  7148. [Fixes bugs #82040 and #82041]
  7149. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  7150. * ListView.cs: In Details view, set the location of item_control
  7151. in the (0,0) position (and the header_control is thus on the
  7152. item_control). This way the Bounds of the Items are relative to the
  7153. ListView control (before this, they had a Bounds value without the
  7154. header_control offset, which wasn't matching .Net). Fixes #82004.
  7155. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  7156. * ListControl.cs: When DataSource is set to null, pass an empty
  7157. array of object to SetItemsCore. This is done to clean the items
  7158. in the ListContol children. Fixes #81788.
  7159. 2007-07-06 Jonathan Pobst <[email protected]>
  7160. * ListControl.cs: Add 2.0 stuffs.
  7161. 2007-07-06 Jonathan Pobst <[email protected]>
  7162. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  7163. Refresh is overkill for just about every repaint request.
  7164. 2007-07-06 Jonathan Pobst <[email protected]>
  7165. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  7166. so remove my custom Get method and fix the property getter.
  7167. 2007-07-06 Jonathan Pobst <[email protected]>
  7168. * Label.cs: DefaultMargin for 2.0.
  7169. 2007-07-06 Jonathan Pobst <[email protected]>
  7170. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  7171. reported issue where other controls with mnemonics would steal strokes
  7172. from a selected ComboBox.
  7173. 2007-07-06 Jonathan Pobst <[email protected]>
  7174. * ScrollOrientation.cs: Make internal for 1.1.
  7175. * ScrollEventArgs.cs: Add 2.0 stuffs.
  7176. 2007-07-05 Jonathan Pobst <[email protected]>
  7177. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  7178. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  7179. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  7180. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  7181. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  7182. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  7183. * ListView.cs: Implement the so-incredibly broken 2.0
  7184. VirtualItemsSelectionRangeChanged event.
  7185. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  7186. * ListView.cs: When enter is pressed and selection is non empty,
  7187. an OnItemActivate event must be fired.
  7188. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  7189. * ListView.cs: Store the FocusedItem information as an
  7190. int instead of a ListViewItem (needed by VirtualMode).
  7191. Update the calls to SetFocusedItem to pass an index instead of
  7192. an item.
  7193. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  7194. the Focused state from the owner ListView.
  7195. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  7196. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  7197. property. Also, invalidate previous focused item in the mentioned
  7198. property (match .Net).
  7199. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  7200. * ListView.cs: Implement 2.0 FocusedItem property setter.
  7201. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  7202. * ListView.cs: Implement 2.0 TopItem property setter.
  7203. 2007-07-03 Jonathan Pobst <[email protected]>
  7204. * StatusStrip.cs: The default renderer is System.
  7205. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  7206. if the user specifies it.
  7207. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  7208. if we are ManagerRenderMode.
  7209. * ToolStripMenuItem.cs: Calculate our text color better.
  7210. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  7211. from Professional to the base class based off working with the System renderer.
  7212. * ToolStripSystemRenderer.cs: Added.
  7213. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  7214. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  7215. 2007-07-02 Jonathan Pobst <[email protected]>
  7216. * ToolTip.cs: Implement 2.0 Tag property.
  7217. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  7218. * ListView.cs: Implement 2.0 HitTest methods.
  7219. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  7220. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  7221. item is under the pointer or not (sugar). Also remove the TODO
  7222. regarding to the cursor changes in OneClick activation.
  7223. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  7224. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  7225. true; otherwise don't show the underline style.
  7226. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  7227. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  7228. the code to retrieve the item at position only one time. Also
  7229. change cursor when Activation is ItemActivation.OneClick as well
  7230. as invalidate the item if HotTracking is true (to show/hide the
  7231. underline style). Add an internal HotItemIndex property to retrieve
  7232. the current hot item's index.
  7233. * ListViewItem.cs: Add an internal HotFont property to cache the
  7234. font used when HotTracking is true and the pointer moves within the
  7235. item's borders.
  7236. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  7237. HotFont depending on the hot state of the item.
  7238. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  7239. * ListView.cs: Implement 2.0 HotTracking property.
  7240. 2007-06-21 Jonathan Pobst <[email protected]>
  7241. * ToolStripControlHost.cs: If our hosted control never got created,
  7242. don't try to dispose it. [Fixes bug #81909]
  7243. 2007-06-21 Jonathan Pobst <[email protected]>
  7244. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  7245. 2007-06-21 Jonathan Pobst <[email protected]>
  7246. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  7247. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  7248. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  7249. Details view.
  7250. * DrawListViewColumnHeaderEventArgs.cs:
  7251. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  7252. using the DrawText () methods.
  7253. 2007-06-19 Jonathan Pobst <[email protected]>
  7254. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  7255. background which got erased in my changes yesterday.
  7256. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  7257. * ListViewItem.cs: Actually set bounds for subitems in Details view
  7258. (2.0 feature).
  7259. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  7260. can invoke from the owner draw routines if we need it. Also, add
  7261. support for Owner draw in Details view.
  7262. 2007-06-18 Jonathan Pobst <[email protected]>
  7263. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  7264. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  7265. ShowImageMargin setting, properly align text in a ToolStripLabel
  7266. hosted on a ToolStripDropDown.
  7267. 2007-06-18 Jonathan Pobst <[email protected]>
  7268. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  7269. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  7270. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  7271. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  7272. 2007-06-18 Jonathan Pobst <[email protected]>
  7273. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  7274. location to match ToolStripMenuItems.
  7275. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  7276. * DrawListViewColumnHeaderEventArgs.cs:
  7277. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  7278. column headers in ListView.
  7279. 2007-06-15 Jonathan Pobst <[email protected]>
  7280. * UserControl.cs: Implement AutoSize.
  7281. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  7282. * DrawListViewItemEventArgs.cs:
  7283. * ListView.cs:
  7284. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  7285. ListView.
  7286. 2007-06-15 Jonathan Pobst <[email protected]>
  7287. * ToolStripDropDownItemAccessibleObject.cs: Added.
  7288. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  7289. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  7290. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  7291. ToolStripTextBox.cs: corcompare work.
  7292. 2007-06-14 Jonathan Pobst <[email protected]>
  7293. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  7294. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  7295. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  7296. corcompare.
  7297. 2007-06-14 Jonathan Pobst <[email protected]>
  7298. * OSFeature.cs: Add IsPresent.
  7299. * PrintPreviewControl.cs: Add RightToLeft.
  7300. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  7301. * SplitterPanel.cs: Add AutoSizeMode.
  7302. 2007-06-13 Jonathan Pobst <[email protected]>
  7303. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  7304. * MdiClient.cs: Add 2.0 ScaleControl.
  7305. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  7306. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  7307. 2007-06-13 Jonathan Pobst <[email protected]>
  7308. * Form.cs: Implement some scaling methods, stub some RTL methods,
  7309. corcompare work.
  7310. 2007-06-13 Jonathan Pobst <[email protected]>
  7311. * Control.cs: corcompare work.
  7312. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  7313. 2007-06-13 Jonathan Pobst <[email protected]>
  7314. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  7315. ControlPaint 2.0 stuffs.
  7316. 2007-06-12 Jonathan Pobst <[email protected]>
  7317. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  7318. 2007-06-12 Jonathan Pobst <[email protected]>
  7319. * UpDownBase.cs: Add 2.0 stuffs.
  7320. 2007-06-12 Jonathan Pobst <[email protected]>
  7321. * NumericUpDown.cs: Add 2.0 stuffs.
  7322. 2007-06-12 Jonathan Pobst <[email protected]>
  7323. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  7324. 2007-06-12 Jonathan Pobst <[email protected]>
  7325. * ErrorProvider.cs: Implement 2.0 stuffs.
  7326. 2007-06-12 Jonathan Pobst <[email protected]>
  7327. * DomainUpDown.cs: Implement 2.0 stuffs.
  7328. 2007-06-12 Jonathan Pobst <[email protected]>
  7329. * CheckedListBox.cs: Fix RefreshItems signature.
  7330. 2007-06-12 Jonathan Pobst <[email protected]>
  7331. * PictureBox.cs: Implement 2.0 stuffs.
  7332. 2007-06-12 Andreia Gaita <[email protected]>
  7333. * TabControl.cs: Check if there are tabpages before checking
  7334. the selected index - fix #81802 (font changes raise a ResizeTabs
  7335. call on controls.add, which blew up nicely with no tabpages)
  7336. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  7337. * ListView.cs:
  7338. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  7339. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  7340. * ListView.cs:
  7341. * ListViewItem.cs: In VirtualMode the selection information
  7342. resides in the ListView, rather than in the Items. Also, throw
  7343. InvalidOperationExceptions when VirtualMode is being used and
  7344. CheckedItemCollection is accessed.
  7345. 2007-06-08 Jonathan Pobst <[email protected]>
  7346. * ComboBox.cs: Add ScaleControl.
  7347. 2007-06-08 Jonathan Pobst <[email protected]>
  7348. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  7349. 2007-06-08 Jonathan Pobst <[email protected]>
  7350. * GroupBox.cs: Add 2.0 stuffs.
  7351. 2007-06-08 Jonathan Pobst <[email protected]>
  7352. * Panel.cs: Add autosize properties/event.
  7353. 2007-06-07 Jonathan Pobst <[email protected]>
  7354. * Control.cs:
  7355. - When we remove a control, remove it from the collection before performing the layout.
  7356. - Setup an internal property for explicit_bounds.
  7357. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  7358. - Perform a layout when we set a new AutoSizeMode.
  7359. 2007-06-07 Jonathan Pobst <[email protected]>
  7360. * ScrollableControl.cs: Add 2.0 stuffs.
  7361. 2007-06-06 Jonathan Pobst <[email protected]>
  7362. * ScrollBar.cs: Add 2.0 stuffs.
  7363. 2007-06-06 Jonathan Pobst <[email protected]>
  7364. * Splitter.cs: Add 2.0 stuffs.
  7365. 2007-06-06 Jonathan Pobst <[email protected]>
  7366. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  7367. to have BindingContext simply use base implementation.
  7368. 2007-06-06 Jonathan Pobst <[email protected]>
  7369. * ColumnHeader.cs: corcompare fix.
  7370. 2007-06-06 Jonathan Pobst <[email protected]>
  7371. * Button.cs: corcompare fixes.
  7372. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  7373. 2007-06-06 Jonathan Pobst <[email protected]>
  7374. * Button.cs: Override GetPreferredSizeCore.
  7375. * ButtonBase.cs: PerformLayout after changing properties that can affect
  7376. AutoSize. Simplify some mouse/keyboard code.
  7377. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  7378. * MouseEventArgs.cs: Make Location internal for 1.1.
  7379. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  7380. * Theme.cs: Add CalculateButtonAutoSize.
  7381. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  7382. 2007-06-05 Miguel de Icaza <[email protected]>
  7383. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  7384. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  7385. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  7386. since we can get different item instances every time we retrieve it.
  7387. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  7388. * ListView.cs: Work around for #81602, since an unkown an pretty
  7389. infrequent condition appears only in some systems (old linux boxes, it
  7390. seems).
  7391. 2007-06-04 Jonathan Pobst <[email protected]>
  7392. * Button.cs: Completely reformat and a little refactor to bring
  7393. this closer to Mono circa 2007.
  7394. 2007-06-04 Jonathan Pobst <[email protected]>
  7395. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  7396. to be ButtonBase.Invalidate.
  7397. 2007-06-04 Jonathan Pobst <[email protected]>
  7398. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  7399. 2007-06-04 Jonathan Pobst <[email protected]>
  7400. * ButtonBase.cs: Completely reformat and a little refactor to bring
  7401. this closer to Mono circa 2007.
  7402. 2007-06-01 Everaldo Canuto <[email protected]>
  7403. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  7404. values for autosize. Fixes #80137.
  7405. 2007-06-01 Jonathan Pobst <[email protected]>
  7406. * Control.cs: Don't perform layout when AutoSize changes.
  7407. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  7408. directly when autosizing, use SetBounds with BoundsSpecified.None.
  7409. Fixes unit tests my last commit broke.
  7410. 2007-06-01 Jonathan Pobst <[email protected]>
  7411. * Control.cs: Perform layout when AutoSize changes.
  7412. * Form.cs: Implement AutoSizing.
  7413. 2007-06-01 Chris Toshok <[email protected]>
  7414. * DataGrid.cs: remove the XXX'ed check at the top of
  7415. ProcessGridKey. fixes #80464.
  7416. 2007-06-01 Chris Toshok <[email protected]>
  7417. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  7418. adding idempotent (add/remove in Edit()), and also make sure we
  7419. don't add it until after we set the text, so it's not tripped in
  7420. Edit(). Fixes unit test regression.
  7421. 2007-06-01 Jonathan Pobst <[email protected]>
  7422. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  7423. change is user explicit, not when the layout engine moves stuff. Fixes
  7424. anchoring to bottom and right. [Fixes bug #81790]
  7425. 2007-06-01 Andreia Gaita <[email protected]>
  7426. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  7427. 2007-06-01 Andreia Gaita <[email protected]>
  7428. * ContainerControl.cs:
  7429. Fire enter event for common ancestor if it is not a ContainerControl.
  7430. Send focus to the active_control and not the 'value', the active
  7431. control might have been changed in one of the events fired.
  7432. Definitely fixes #80159.
  7433. 2007-06-01 Andreia Gaita <[email protected]>
  7434. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  7435. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  7436. * PropertyGrid.cs: Anchor the help description to the bottom of the
  7437. help panel and refactor SelectGridItem into a
  7438. SelectGridItemInternal that can be set to null (and update it to
  7439. clear the help texts when it is set to null). Set root item to null
  7440. when there's no SelectedObject. Fixes #80438.
  7441. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  7442. when we're recalculating after a resize (only).
  7443. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  7444. * ListView.cs: Implement 2.0 RedrawItems method.
  7445. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  7446. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  7447. handlers from previous data manager when DataSource is set to
  7448. null. Fixes #81771.
  7449. 2007-05-31 Jackson Harper <[email protected]>
  7450. * TextBoxBase.cs: These seem to be the correct values.
  7451. 2007-05-31 Everaldo Canuto <[email protected]>
  7452. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  7453. value. Fixes #81784.
  7454. 2007-05-31 Jonathan Pobst <[email protected]>
  7455. * Control.cs: Implement 2.0 scaling methods.
  7456. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7457. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  7458. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  7459. corcompare issues.
  7460. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7461. * ProgressBar.cs: Implemented missing 2.0 members.
  7462. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7463. * Control.cs: Corcompare issues.
  7464. * MessageBox.cs: Implemented missing 2.0 functions.
  7465. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7466. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  7467. Implemented more 2.0 members.
  7468. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7469. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  7470. null (strange, but it seems to happen when running unit tests).
  7471. 2007-05-30 Andreia Gaita <[email protected]>
  7472. * ContainerControl.cs: Set active_control even earlier, before
  7473. firing any events, and undo it if validation returns false.
  7474. 2007-05-30 Andreia Gaita <[email protected]>
  7475. * ContainerControl.cs: Raise Validation and Enter/Leave events
  7476. even if there is no Form and set active_control earlier, just
  7477. before firing Enter events (toshok's patches). Fixes #80647.
  7478. 2007-05-30 Jackson Harper <[email protected]>
  7479. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  7480. things and fix bug #81311.
  7481. 2007-05-30 Jackson Harper <[email protected]>
  7482. * X11Dnd.cs: Now that we have our own event loop, we need to
  7483. cancel when we get a mouseup but it won't be accepted.
  7484. 2007-05-30 Chris Toshok <[email protected]>
  7485. * DataGrid.cs (set_CurrentCell): guard against negative
  7486. column/row.
  7487. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  7488. array index syntax instead of looping over the property names.
  7489. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  7490. and set IsInEditOrNavigateMode to false there.
  7491. 2007-05-30 Jackson Harper <[email protected]>
  7492. * TreeView.cs: Make sure we don't get a bad visible order when
  7493. setting to the top node. Fixes some misc crashing in
  7494. ControlInspector.
  7495. 2007-05-30 Andreia Gaita <[email protected]>
  7496. * UserControl.cs: Add 2.0 AutoSizeMode
  7497. 2007-05-29 Everaldo Canuto <[email protected]>
  7498. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  7499. 2007-05-29 Everaldo Canuto <[email protected]>
  7500. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  7501. lines. Fixes #80285.
  7502. 2007-05-29 Everaldo Canuto <[email protected]>
  7503. * DataGridColumnStyle.cs: Add char trimming column header text format.
  7504. 2007-05-29 Everaldo Canuto <[email protected]>
  7505. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  7506. Fixes #80147.
  7507. 2007-05-29 Jackson Harper <[email protected]>
  7508. * TreeNode.cs: Fix off by one on calculating whether or not a node
  7509. is visible.
  7510. 2007-05-29 Jonathan Pobst <[email protected]>
  7511. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  7512. * ScrollableControl.cs: Force an UpdateDistances when we move the
  7513. scrollbars.
  7514. [Fixes bug #80605]
  7515. 2007-05-29 Andreia Gaita <[email protected]>
  7516. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  7517. update the page setup screen.
  7518. 2007-05-29 Andreia Gaita <[email protected]>
  7519. * PageSetupDialog.cs: Fix landscape mode.
  7520. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7521. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  7522. IconSizeHorizontalSpacing.
  7523. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7524. * ListView.cs: The declaration of prev_tooltip_item should be inside
  7525. a NET_2_0 conditional (avoid a warning).
  7526. 2007-05-28 Andreia Gaita <[email protected]>
  7527. * PageSetupDialog.cs: Implement PrintPreview control to display
  7528. the preview thumbnail. Change unit conversion to use
  7529. PrinterUnitConvert methods.
  7530. Note: there is a huge bug in ms.net where the default margins are
  7531. interpreted as centimeters (?), when in fact they are set in inches. When
  7532. loading the page setup dialog initially (ms.net), the default margins
  7533. are set to 1 inch, and the dialog shows them with value 10, when in fact
  7534. it should be 25 (properly converted). Our dialog doesn't have this bug.
  7535. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  7536. RectangleF.
  7537. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  7538. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7539. * ListView.cs:
  7540. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  7541. items.
  7542. 2007-05-28 Andreia Gaita <[email protected]>
  7543. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  7544. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  7545. bug?), convert the ptr to Int32 first.
  7546. 2007-05-28 Jackson Harper <[email protected]>
  7547. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  7548. recieved, we will exit the dnd tracking loop.
  7549. 2007-05-28 Jackson Harper <[email protected]>
  7550. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  7551. recieved. TODO: I should probably stick a timer on the dropped
  7552. event, and finish the drag if the XDND Finished event never shows
  7553. (because some apps don't seem to send it).
  7554. 2007-05-28 Everaldo Canuto <[email protected]>
  7555. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  7556. #81733.
  7557. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7558. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  7559. handled.
  7560. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7561. * MonthCalendar.cs: Set the size after initializing all the relevant
  7562. variables. Fixes #81742.
  7563. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7564. * KeyEventArgs.cs: Fix typo.
  7565. 2007-05-28 Gert Driesen <[email protected]>
  7566. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  7567. to match MS. Fixed MinDate to only accept value less than or equal
  7568. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  7569. Removed TODO's that are now verified by unit tests.
  7570. 2007-05-27 Gert Driesen <[email protected]>
  7571. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  7572. MS.
  7573. 2007-05-25 Jackson Harper <[email protected]>
  7574. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  7575. it's own message loop.
  7576. * XplatUIX11.cs: Remove some of the dnd hooks
  7577. 2007-05-25 Gert Driesen <[email protected]>
  7578. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  7579. instead of MinimizedWindowSize.
  7580. 2007-05-25 Jackson Harper <[email protected]>
  7581. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  7582. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  7583. * KeyEventArgs.cs: Added SuppressKeyPress.
  7584. * Control.cs: Added support for SuppressKeyPress.
  7585. 2007-05-24 Andreia Gaita <[email protected]>
  7586. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  7587. problems with PieChart. suppress_validation should not be a counter,
  7588. if there are several BeginInit calls, the first EndInit will
  7589. activate validation. Fix exceptions thrown by set_Value.
  7590. * UpDownBase.cs: ValidateText only if it's the user editing it.
  7591. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  7592. * ListControl.cs: FilterItemOnProperty should return the filtered
  7593. item proeprty even if DataSource is null. The same applies for
  7594. GetItemText. Fixes #80427.
  7595. 2007-05-24 Jonathan Pobst <[email protected]>
  7596. * Control.cs: If a control doesn't have a parent when it's Dock is
  7597. set, but it has children, it needs to do a layout. Fixes some nested
  7598. controls issues. [Fixes bug #81199]
  7599. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  7600. * ComboBox.cs: If there are few items in the drop down list, make it
  7601. the exact size the items need, no bigger. Fixes #81612.
  7602. 2007-05-24 Jonathan Pobst <[email protected]>
  7603. * Application.cs: When we have captured the keyboard for a menu,
  7604. check for mouse down events in case we need to close the menu.
  7605. * Control.cs, Form.cs: Remove mouse down checks for menus.
  7606. 2007-05-24 Jackson Harper <[email protected]>
  7607. * TextControl.cs: Handle tabs in non multiline mode a little
  7608. differently.
  7609. 2007-05-24 Jackson Harper <[email protected]>
  7610. * TextControl.cs: We need to manually break apart tabbed text and
  7611. move the tabs, since the system.drawing tabbing mechanism relies
  7612. on tab stops.
  7613. * TextBoxBase.cs: Move the caret properly when the user enters a
  7614. tab.
  7615. 2007-05-24 Jonathan Pobst <[email protected]>
  7616. * ContainerControl.cs: Don't check CanSelect before calling
  7617. ProcessMnemonic.
  7618. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  7619. release a KeyboardActive on click if it's not ours.
  7620. 2007-05-23 Andreia Gaita <[email protected]>
  7621. * ColumnHeader.cs: Add TypeConverter
  7622. 2007-05-23 Everaldo Canuto <[email protected]>
  7623. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  7624. 2007-05-23 Everaldo Canuto <[email protected]>
  7625. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  7626. 2007-05-23 Everaldo Canuto <[email protected]>
  7627. * LinkLabel.cs: Implement public Padding property.
  7628. 2007-05-23 Everaldo Canuto <[email protected]>
  7629. * LinkLabel.cs: Implement public FlatStyle.
  7630. 2007-05-23 Jonathan Pobst <[email protected]>
  7631. * Control.cs: Apply patch from George to call parent.PerformLayout
  7632. when Visible is changed. [Fixes bugs #81118, 81718]
  7633. 2007-05-23 Everaldo Canuto <[email protected]>
  7634. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  7635. 2007-05-23 Everaldo Canuto <[email protected]>
  7636. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  7637. 2007-05-23 Everaldo Canuto <[email protected]>
  7638. * ContextMenu.cs: Implement Collapse.
  7639. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  7640. * ToolBarButton.cs: Implement Name.
  7641. 2007-05-22 Everaldo Canuto <[email protected]>
  7642. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  7643. use current_item, it prevents some NRE. Fixes #81675.
  7644. 2007-05-22 Andreia Gaita <[email protected]>
  7645. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  7646. without updating the text.
  7647. 2007-05-22 Jonathan Pobst <[email protected]>
  7648. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  7649. without calling DeleteObject. [Should fix bug #81709]
  7650. 2007-05-22 Jackson Harper <[email protected]>
  7651. * RichTextBox.cs: Set the line endings correctly, when flushing
  7652. RTF text.
  7653. 2007-05-22 Gert Driesen <[email protected]>
  7654. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  7655. {Width=0,Height=0}.
  7656. 2007-05-22 Jackson Harper <[email protected]>
  7657. * TreeView.cs: Setting top with a null node should set to the very
  7658. top.
  7659. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7660. * Form.cs: ShowDialog: destroy the handle when message loop is
  7661. finished, matches MS behaviour. Refactor parts of WmClose into
  7662. RaiseCloseEvents, that only raises events if they haven't already
  7663. been raised. Fixes #81688 and #81521.
  7664. * Application.cs: Don't call close on the form when exiting a modal
  7665. loop, it will raise all the (Form)Closed/Closing events again if
  7666. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  7667. which doesn'r raise any events it they have been raised before.
  7668. 2007-05-22 Jonathan Pobst <[email protected]>
  7669. * Control.cs: Add OnPrint.
  7670. * ToolStrip.cs: Add GetChildAtPoint.
  7671. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  7672. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  7673. 2007-05-22 Everaldo Canuto <[email protected]>
  7674. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  7675. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7676. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  7677. isn't visible anymore. Fixes #81651.
  7678. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7679. * Control.cs: WmShowWindow: Update children's z-order after setting
  7680. their parent. SetParent may show the window, thereby corrupting
  7681. z-order, since the window will be shown on top.
  7682. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  7683. multiple (and redundant) WM_SHOWWINDOW messages.
  7684. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  7685. event has already been raised.
  7686. * Form.cs: Change is_changing_visible_state to a counter, since
  7687. SetVisibleCore can be called recursively. CreateHandle: when
  7688. creating mdi children, send (De)Activated events.
  7689. * MdiClient.cs: Update use of is_changing_visible_state.
  7690. * Application.cs: OnThreadException: Surround exception handling with
  7691. try/finally to ensure we always reset the error-handling state
  7692. before leaving.
  7693. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7694. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  7695. (#81704).
  7696. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  7697. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  7698. SmallIcon views, now that we have a standarized horizontal spacing.
  7699. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  7700. 4, just like the other views (Match .Net).
  7701. 2007-05-21 Jonathan Pobst <[email protected]>
  7702. * Control.cs: Delay calculating anchor distances until we actually layout.
  7703. Always query the WM for the actual size and location it put us at instead of
  7704. only when we send negative values.
  7705. [Fixes bugs #81694, 81695]
  7706. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  7707. * Application.cs: Avoid a possible stack overflow when trying to exit
  7708. the application.
  7709. 2007-05-19 Marek Safar <[email protected]>
  7710. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  7711. enum value.
  7712. 2007-05-19 Andreia Gaita <[email protected]>
  7713. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  7714. * NumericUpDownAcceleration.cs,
  7715. NumericUpDownAccelerationCollection.cs: Added 2.0
  7716. implementation.
  7717. 2007-05-19 Gert Driesen <[email protected]>
  7718. * RichTextBox.cs: Recalculate the document after the ScrollBars
  7719. property is changed. Fixes bug #81681.
  7720. 2007-05-18 Jonathan Pobst <[email protected]>
  7721. * DataObject.cs: Implement 2.0 methods.
  7722. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  7723. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  7724. in the center of the checkbox, not in the left-top corner.
  7725. Fixes #80037.
  7726. 2007-05-18 Jackson Harper <[email protected]>
  7727. * RichTextBox.cs: Recalculate the document after the scrollbars
  7728. property is changed.
  7729. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  7730. 81486.
  7731. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  7732. * CreateParams.cs: Make HasWindowManager marginally faster.
  7733. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  7734. into Hwnd so that other drivers can use it as well.
  7735. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  7736. the default location from Hwnd. Fixes MDI client windows always
  7737. showing up at (0,0) in Windows (Win32 won't set the default
  7738. location since the window styles aren't correct).
  7739. 2007-05-18 Gert Driesen <[email protected]>
  7740. * TreeView.cs: Modified DoubleBuffered to just use the base
  7741. implementation.
  7742. 2007-05-18 Jackson Harper <[email protected]>
  7743. * TreeView.cs: Set the top node to the last child node when
  7744. expanding all
  7745. - When we get focus, if there is no selected node, use the top
  7746. node.
  7747. 2007-05-18 Jonathan Pobst <[email protected]>
  7748. * KeysConverter.cs: Add CanConvertTo.
  7749. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  7750. * LinkConverter.cs: Added.
  7751. 2007-05-18 Everaldo Canuto <[email protected]>
  7752. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  7753. it prevents error when file dont have write access. Fixes #81669 and #81667.
  7754. 2007-05-18 Everaldo Canuto <[email protected]>
  7755. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  7756. button text. Fixes #79640.
  7757. 2007-05-18 Everaldo Canuto <[email protected]>
  7758. * Control.cs: According to MSDN controls created in the designer theres
  7759. keyboard accelerators visible by default. So included check for design
  7760. in ShowKeyboardCuesInternal.
  7761. 2007-05-18 Everaldo Canuto <[email protected]>
  7762. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  7763. text. Fixes #81621.
  7764. 2007-05-18 Everaldo Canuto <[email protected]>
  7765. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  7766. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  7767. 2007-05-17 Everaldo Canuto <[email protected]>
  7768. * Control.cs: Finish implementation of UI State using WmChangeUIState
  7769. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  7770. in some controls to check for show_keyboard_cues to draw accell keys "_".
  7771. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  7772. * ListBox.cs: When calculating the horizontal scrollbar
  7773. in single column mode, don't use values less than 0 for
  7774. Maximum. Fixes #81474.
  7775. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  7776. * ListBox.cs: Throw the some missing exceptions in
  7777. ListBox.ObjectCollection methods.
  7778. 2007-05-17 Jackson Harper <[email protected]>
  7779. * TextBoxBase.cs: Recalculate the document when the word wrap
  7780. value has changed. This fixes 81488.
  7781. 2007-05-17 Jonathan Pobst <[email protected]>
  7782. * Clipboard.cs: Implement missing GetText overload.
  7783. 2007-05-17 Chris Toshok <[email protected]>
  7784. * Control.cs (CheckDataBindings): remove the binding_context arg
  7785. to binding.Check.
  7786. * CurrencyManager.cs (OnItemChanged): fix this now that
  7787. BindingManagerBase is fixed. also remove the comment telling where
  7788. the fix should go. We set transfering_data to true/false around
  7789. the call to PushData to keep UpdateIsBinding from being called.
  7790. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  7791. PropertyDescriptorAdded in the 1.1 case. The extra call is
  7792. actually generated by System.Data generating 2 metadata changed
  7793. events of its own per column add. The fix should go there. Add a
  7794. comment to that affect in our test's Assert.Ignore.
  7795. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  7796. we keep a boolean flag (transfering_data) that keeps us from
  7797. calling UpdateIsBinding multiple times if we re-enter either of
  7798. them.
  7799. * ControlBindingsCollection.cs (AddCore): remove the
  7800. binding_context arg to binding.Check.
  7801. * Binding.cs (IsBinding): don't check if we're binding here, just
  7802. return our cached value. we update it in UpdateIsBinding.
  7803. (Check): don't take the binding_context arg, we'll just use our
  7804. control's. Also, for some reason MS doesn't use the data member
  7805. field when getting the bindingmanager for this binding. it just
  7806. uses the datasource. Make this method callable multiple times,
  7807. and only do the is_null_desc stuff if manager.Position != -1 (so
  7808. we don't get an exception accessing manager.Current).
  7809. (UpdateIsBinding): move the code from IsBinding here.
  7810. (PositionChangedHandler): call Check here to we can initialize
  7811. things that require a non- -1 position.
  7812. 2007-05-17 Everaldo Canuto <[email protected]>
  7813. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  7814. control.
  7815. 2007-05-17 Andreia Gaita <[email protected]>
  7816. * TabControl.cs: Add 2.0 methods and events, including
  7817. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  7818. * TabPage.cs: Add 2.0 methods
  7819. 2007-05-17 Everaldo Canuto <[email protected]>
  7820. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  7821. keyboard_cues is properly handled by message method.
  7822. 2007-05-17 Jonathan Pobst <[email protected]>
  7823. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  7824. 2007-05-17 Jonathan Pobst <[email protected]>
  7825. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  7826. 2007-05-16 Everaldo Canuto <[email protected]>
  7827. * Control.cs:
  7828. - WmUpdateUIState added to handle state changes, it make call to
  7829. OnChangeUICues event.
  7830. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  7831. SystemInformation.
  7832. 2007-05-16 Jonathan Pobst <[email protected]>
  7833. * ImageKeyConverter.cs: Added.
  7834. * TreeViewImageKeyConverter.cs: Added.
  7835. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  7836. * ToolTips.cs: Update Text if SetToolTip is called for a control
  7837. already showing the tooltip, as well as restarting its timer; show
  7838. tooltip if we are inside the control bounds by the time of calling
  7839. SetToolTip. Inside ShowTooltip remove the check to not show the
  7840. tooltip again for the active control (it is allowed by .Net to
  7841. show the tooltip on the same control multiple times).
  7842. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  7843. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  7844. 2007-05-16 Andreia Gaita <[email protected]>
  7845. * ContainerControl.cs: only process tab key if there are no
  7846. modifier keys present, otherwise the control does the
  7847. tab processing, if it needs to. Fixes #81622
  7848. * TabControl.cs: Fixes calculation for which tab to select on
  7849. shift+ctrl+tab.
  7850. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  7851. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  7852. 2007-05-15 Jonathan Pobst <[email protected]>
  7853. * Control.cs: Make IsInputCharInternal to allow controls to
  7854. override it and still match MS API.
  7855. * TextBoxBase.cs: Override IsInputCharInternal and always
  7856. return true.
  7857. [Fixes bug #81616]
  7858. 2007-05-15 Jackson Harper <[email protected]>
  7859. * TextBox.cs: Disable some of the menu options when using a
  7860. readonly textbox.
  7861. 2007-05-15 Jackson Harper <[email protected]>
  7862. * TextBox.cs:
  7863. * TextBoxBase.cs:
  7864. * RichTextBox.cs: Some new 2.0 methods
  7865. 2007-05-15 Gert Driesen <[email protected]>
  7866. * FileDialog.cs: On 1.0 profile, do not support multidotted
  7867. extensions.
  7868. 2007-05-14 Jackson Harper <[email protected]>
  7869. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  7870. * RichTextBox.cs: We need to override these methods on 2.0.
  7871. * MaskedTextBox.cs: These are implemented now
  7872. * TextControl.cs: This was off by one.
  7873. 2007-05-14 Jackson Harper <[email protected]>
  7874. * TextControl.cs: Because the line endings are including in the
  7875. text, we don't need to add them in anymore.
  7876. 2007-05-11 Everaldo Canuto <[email protected]>
  7877. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  7878. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  7879. 2007-05-11 Everaldo Canuto <[email protected]>
  7880. * ToolBar.cs: Adjust size to default size when button theres no text and
  7881. image, it fixes remaining issues from #81524.
  7882. 2007-05-11 Everaldo Canuto <[email protected]>
  7883. * ToolBar.cs:
  7884. - When not flat call redraw to recalculate sizes on creare handle to match
  7885. win32 behavior.
  7886. - Revert 77220 because it causes some regressions in toobar
  7887. button.
  7888. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  7889. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  7890. now actually enters a usable state.
  7891. 2007-05-11 Everaldo Canuto <[email protected]>
  7892. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  7893. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  7894. 3 buttons.
  7895. 2007-05-11 Everaldo Canuto <[email protected]>
  7896. * ToolBar.cs: Save default_size on create handle to use later for buttons
  7897. without text, needed to mimic win32 behavior.
  7898. 2007-05-11 Everaldo Canuto <[email protected]>
  7899. * ToolBar.cs: Fix button layour to best fit width or height according to
  7900. vertical or not. Fixes #81524.
  7901. 2007-05-10 Everaldo Canuto <[email protected]>
  7902. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  7903. toolbar size info because different styles theres different sizes.
  7904. Fixes #81522.
  7905. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  7906. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  7907. if we are using checkboxes, checked is true, and we have less
  7908. than two images in StateImageList; for the 1.1 in the same scenario
  7909. draw the first image if we have at least one image in StateImageList.
  7910. Fixes part of #81191.
  7911. 2007-05-10 Jonathan Pobst <[email protected]>
  7912. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  7913. the owner's Items collection on merge.
  7914. 2007-05-10 Jonathan Pobst <[email protected]>
  7915. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  7916. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  7917. and parent/owner gets changed based on gert's unit tests.
  7918. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  7919. * MaskedTextBox.cs: Started implementing parts of it.
  7920. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  7921. * ListView.cs: When clicking the checkbox on the items
  7922. take into account the double clicks even if we have only
  7923. one image in StateImageList (only for 1.0/1.1). Also
  7924. generate an extra change of checked state when we receive
  7925. the second click on checkbox (match .Net behaviour).
  7926. Fixes part of #81191.
  7927. 2007-05-10 Everaldo Canuto <[email protected]>
  7928. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  7929. 2007-05-10 Jonathan Pobst <[email protected]>
  7930. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  7931. even if OnLoad is overriden and base.OnLoad is not called.
  7932. [Fixes bug #81582]
  7933. 2007-05-10 Andreia Gaita <[email protected]>
  7934. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  7935. shame. (I blame my ever-persisting and annoying cold)
  7936. 2007-05-09 Jonathan Pobst <[email protected]>
  7937. * ListView.cs: Don't eat navigation keys. Let them flow through to
  7938. KeyDown/KeyPress routines. [Fixes bug #81569]
  7939. 2007-05-09 Jonathan Pobst <[email protected]>
  7940. * ListView.cs: When handling keys for selecting the item based off
  7941. keyboard input, do not consider keys pressed with Alt or Control. Also,
  7942. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  7943. 2007-05-09 Jonathan Pobst <[email protected]>
  7944. * Control.cs: When using UseWaitCursor, we have to store the requested
  7945. Cursor to use when UseWaitCursor is turned off.
  7946. 2007-05-09 Jonathan Pobst <[email protected]>
  7947. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  7948. to false.
  7949. * Application.cs: Use PreProcessControlMessage instead of
  7950. PreProcessMessage.
  7951. * PreProcessControlMessage.cs: Make internal for 1.1.
  7952. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  7953. * Control.cs: Add InternalContains focus property, which hast the same
  7954. functionality of ContainsFocus, but also including implicit controls.
  7955. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  7956. since we need to know if the focus is contained in our implicit
  7957. ItemControl when calculating Layout. Fixes part of #80888.
  7958. 2007-05-08 Everaldo Canuto <[email protected]>
  7959. * ToolTip.cs: Remove center form string alignment as it must be align to
  7960. left.
  7961. 2007-05-08 Jonathan Pobst <[email protected]>
  7962. * ToolStripItemCollection.cs: Set the new item's parent and owner
  7963. in Insert like we do in Add. [Fixes bug #81568]
  7964. 2007-05-08 Jackson Harper <[email protected]>
  7965. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  7966. - Off by one error in SetTop
  7967. - Disable DoubeBuffering
  7968. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  7969. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  7970. control as much as necessary in order to make it entirely visible,
  7971. instead of centering the control in the container (matches MS
  7972. behaviour). CalculateCanvasSize: we need to take the current scroll
  7973. position into account when calculating the maximum canvas,
  7974. otherwise the following scenario will fail: resize so that the
  7975. scrollbars appear, use the scrollbars to scroll, resize again
  7976. smaller, and now the canvas size is too small. Recalculate: when
  7977. showing scrollbars make sure they start off at 0, and try to scroll
  7978. the active control into view. Fixes #79540. HandleScrollBar: don't
  7979. scroll anywhere if the scrollbar isn't visible.
  7980. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  7981. * ListView.cs: When focus changed, call Layout/Invalidate
  7982. in the focused item to update the selected state (should show
  7983. entire label when ListView is focused, and a part of it if is not).
  7984. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  7985. for displaying the entire label not only the Focused state of the
  7986. item, but also the Focused state of the ListView (match .Net
  7987. behaviour).
  7988. 2007-05-07 Jonathan Pobst <[email protected]>
  7989. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  7990. Implement UseWaitCursor.
  7991. 2007-05-07 Jonathan Pobst <[email protected]>
  7992. Applying contributed patch from Sergey Volk.
  7993. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  7994. of SetDataObject.
  7995. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  7996. 2007-05-07 Jonathan Pobst <[email protected]>
  7997. * Control.cs: Implement DrawToBitmap.
  7998. 2007-05-07 Jonathan Pobst <[email protected]>
  7999. Applying contributed patch from Stefan Noack.
  8000. * Control.cs: Add [Get|Set]AutoSizeMode.
  8001. 2007-05-07 Jonathan Pobst <[email protected]>
  8002. * MdiClient.cs: Unmerge menus when the last child is closed.
  8003. 2007-05-07 Jonathan Pobst <[email protected]>
  8004. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  8005. * ToolStripManager.cs: Call Merge on DropDowns.
  8006. [Fixes bug #81477]
  8007. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  8008. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  8009. uints.
  8010. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  8011. visibility. We can't create forms visible, since we have to set the
  8012. owner before making the form visible (otherwise Win32 will do
  8013. strange things with task bar icons). The problem is that we set the
  8014. internal is_visible to true before creating the control, so
  8015. is_changing_visible_state is the only way of determining if we're
  8016. in the process of creating the form due to setting Visible=true -
  8017. this works because SetVisibleCore explicitly makes the form
  8018. visibile afterwards anyways. Fixes #80775.
  8019. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  8020. * ThemeWin32Classic.cs: When drawing ListViewItems,
  8021. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  8022. or LargeIcon _and_ item is not focused (match .Net behaviour).
  8023. 2007-05-04 Jonathan Pobst <[email protected]>
  8024. * Control.cs, Form.cs: Fix some obsolete method warnings.
  8025. 2007-05-04 Jonathan Pobst <[email protected]>
  8026. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  8027. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  8028. 2007-05-04 Andreia Gaita <[email protected]>
  8029. * ContainerControl.cs: Fix active_control attribution when going
  8030. up the parent chain so that the first parent container gets the control
  8031. and the rest of the parent containers get the child containers (skips
  8032. non-containers). Fixes #80729
  8033. 2007-05-04 Randolph Chung <[email protected]>
  8034. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  8035. [Fixes bug #81499]
  8036. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  8037. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  8038. takes a size parameter, since the CreateParam's size isn't true for
  8039. minimized forms. Fixes #81518,
  8040. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  8041. * Form.cs: Add OnDeactivateInternal.
  8042. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  8043. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  8044. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  8045. accessing the parent. Fixes #81508.
  8046. 2007-05-03 Chris Toshok <[email protected]>
  8047. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  8048. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  8049. was added before the current listposition. Fixes the
  8050. TestInsertRowBeforeCurrent unit test.
  8051. 2007-05-03 Jonathan Pobst <[email protected]>
  8052. * Application.cs: Add RaiseIdle.
  8053. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8054. XplatUIX11.cs: Implement RaiseIdle.
  8055. 2007-05-02 Jonathan Pobst <[email protected]>
  8056. corcompare work: N - Z
  8057. * NotifyIcon.cs
  8058. * ProgressBar.cs
  8059. * RadionButton.cs
  8060. * ScrollableControl.cs
  8061. * SplitContainer.cs
  8062. * SplitterPanel.cs
  8063. * StatusBar.cs
  8064. * SystemInformation.cs
  8065. * TabControl.cs
  8066. * TableLayoutControlCollection.cs
  8067. * TableLayoutPanel.cs
  8068. * TabPage.cs
  8069. * ToolBar.cs
  8070. * ToolBarButton.cs
  8071. * ToolStrip.cs
  8072. * ToolStripComboBox.cs
  8073. * ToolStripContainer.cs
  8074. * ToolStripContentPanel.cs
  8075. * ToolStripDropDown.cs
  8076. * ToolStripDropDownItem.cs
  8077. * ToolStripDropDownMenu.cs
  8078. * ToolStripItem.cs
  8079. * ToolStripItemCollection.cs
  8080. * ToolStripMenuItem.cs
  8081. * ToolStripPanel.cs
  8082. * ToolStripSplitButton.cs
  8083. * ToolTip.cs
  8084. * TreeNode.cs
  8085. * TreeNodeCollection.cs
  8086. * TreeNodeMouseHoverEventArgs.cs
  8087. * TreeView.cs
  8088. 2007-05-01 Everaldo Canuto <[email protected]>
  8089. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  8090. stuff. Thanks aatdark for the patch.
  8091. 2007-05-01 Jonathan Pobst <[email protected]>
  8092. * GridItem.cs: Implement 2.0 Tag property.
  8093. 2007-05-01 Frederik Carlier <[email protected]>
  8094. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  8095. count instead of Nodes.Length. [Fixes bug #81448]
  8096. 2007-05-01 Jonathan Pobst <[email protected]>
  8097. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  8098. [Fixes bug #81506]
  8099. 2007-05-01 Jonathan Pobst <[email protected]>
  8100. corcompare work: A - M
  8101. * BindingNavigator.cs
  8102. * Button.cs
  8103. * ButtonBase.cs
  8104. * CheckBox.cs
  8105. * Control.cs
  8106. * FlowLayoutPanel.cs
  8107. * Form.cs
  8108. * Label.cs
  8109. * LinkLabel.cs
  8110. * ListView.cs
  8111. 2007-05-01 Jonathan Pobst <[email protected]>
  8112. * Application.cs: Give toolstrips a chance to process mnemonics.
  8113. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  8114. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  8115. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  8116. 2007-05-01 Jackson Harper <[email protected]>
  8117. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  8118. wider area too.
  8119. - Don't set the BoundsSpecified
  8120. 2007-04-30 Jonathan Pobst <[email protected]>
  8121. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  8122. message to pass through to a regular control if it hosted by a toolstrip.
  8123. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8124. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  8125. 2007-04-30 Jonathan Pobst <[email protected]>
  8126. * TextRenderer.cs: Use the flags argument when using the MeasureString
  8127. fallback algorithm.
  8128. 2007-04-30 Jonathan Pobst <[email protected]>
  8129. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  8130. the MDI menu item. [Fixes bug #81483]
  8131. 2007-04-30 Gert Driesen <[email protected]>
  8132. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  8133. string. When setting Name to null, use zero-length string instead.
  8134. 2007-04-29 Andreia Gaita <[email protected]>
  8135. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  8136. DeselectTab). Implement missing 2.0 TabPageCollection methods
  8137. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  8138. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  8139. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  8140. 2007-04-29 Gert Driesen <[email protected]>
  8141. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  8142. Fixes bug #81479. Include details of exception when LoadFile fails.
  8143. 2007-04-28 Alan McGovern <[email protected]>
  8144. * DrawListViewSubItemEventArgs.cs: Added missing setter
  8145. 2007-04-27 Andreia Gaita <[email protected]>
  8146. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  8147. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  8148. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  8149. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  8150. removed in ly last commit (it was breaking the Label edit feature).
  8151. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  8152. StringAlignment.Near for LineAlignment (match .Net).
  8153. 2007-04-27 Andreia Gaita <[email protected]>
  8154. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  8155. of controls if it isn't already there - was blowing up when doing
  8156. tabcontrol.TabPages[i]=new TabPage().
  8157. SetTab now does a replace by removing the page at the index.
  8158. Add a new InsertTab method that inserts a page in a given index
  8159. instead of replacing.
  8160. Implements TabPageCollection.Insert(int, TabPage).
  8161. 2007-04-27 Chris Toshok <[email protected]>
  8162. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  8163. internal handler that can be invoked from our subclasses.) Also,
  8164. add a comment to PushData about how we need to fix it.
  8165. * CurrencyManager.cs: tons of changes here. trying to get things
  8166. matching the behavior of .net wrt event orders (ItemChanged,
  8167. CurrentChanged, PositionChanged.) I've implemented a private .net
  8168. symbol (ChangeRecordState) that appears in stack traces because
  8169. it's actually easier to do this than to effective inline all its
  8170. various behaviors at every call site.
  8171. * RelatedPropertyManager.cs: guard against an exception here by
  8172. not using parent.Current if the position is set to -1 (if the
  8173. parent datasource is cleared, for instance).
  8174. * Binding.cs: don't parse data in PushData (this might be wrong,
  8175. but it jives with MS's behavior.) Also, don't call PushData when
  8176. we get a CurrentChanged event.
  8177. 2007-04-27 Andreia Gaita <[email protected]>
  8178. * WebBrowser.cs,
  8179. WebBrowserBase.cs,
  8180. WebBrowserSiteBase.cs,
  8181. HtmlDocument.cs: Added stubbed out classes, no real implementations
  8182. yet.
  8183. 2007-04-27 Everaldo Canuto <[email protected]>
  8184. * MainMenu.cs: In draw method without parameters call draw method with
  8185. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  8186. as Rect property is already adjusted. Fixes #80694.
  8187. 2007-04-27 Jonathan Pobst <[email protected]>
  8188. * Application.cs: Need to handle keyboard menu deselection here.
  8189. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  8190. navigation, allowing keyboard to work on X11.
  8191. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  8192. 2007-04-27 Everaldo Canuto <[email protected]>
  8193. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  8194. menu bar. It fixes some drawing issues in menu bar.
  8195. 2007-04-27 Everaldo Canuto <[email protected]>
  8196. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  8197. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  8198. when <alt> key is pressed.
  8199. 2007-04-26 Everaldo Canuto <[email protected]>
  8200. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  8201. example just set visible to false and make this prevent from other problems.
  8202. In SystrayAdd always remove pending expose. Fixes #81072.
  8203. 2007-04-26 Marek Safar <[email protected]>
  8204. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  8205. value is set.
  8206. 2007-04-26 Alan McGovern <[email protected]>
  8207. * ListView.cs: Added three missing 2.0 events and corresponding
  8208. EventHandlers. Added the OwnerDraw property.
  8209. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  8210. 2007-04-26 Alan McGovern <[email protected]>
  8211. * DrawListViewItemEventArgs.cs
  8212. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  8213. 2007-04-26 Alan McGovern <[email protected]>
  8214. * TextControl.cs: Fixed typo in constructor
  8215. 2007-04-26 Jonathan Pobst <[email protected]>
  8216. * Application.cs: Create a shortcut path so that currently selected
  8217. MenuStrips can intercept keyboard events without having focus.
  8218. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  8219. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  8220. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  8221. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  8222. generate WM_SYSCOMMAND message in X11 for other platforms.
  8223. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  8224. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  8225. * ToolStripSplitButton.cs: Add DefaultItem property.
  8226. 2007-04-26 Everaldo Canuto <[email protected]>
  8227. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  8228. fixes some menu draw problem on Windows with border diferent from default
  8229. it also fixes #81403.
  8230. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  8231. * Form.cs: Refactor WndProc into separate methods, just like Control is
  8232. doing it.
  8233. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  8234. * Control.cs: set_Text: move the call to the driver into a seperate
  8235. virtual method so that Form can override it.
  8236. * MaskedTextBox.cs: Corcompare fixes.
  8237. * Form.cs: Override UpdateWindowText and only update the styles if the
  8238. form has been shown (fixes #81405).
  8239. 2007-04-25 Jonathan Pobst <[email protected]>
  8240. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  8241. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  8242. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  8243. the form lost focus or another control was clicked.
  8244. 2007-04-25 Gert Driesen <[email protected]>
  8245. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  8246. fixed.
  8247. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  8248. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  8249. DrawListViewItemEventHandler.cs,
  8250. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  8251. Added.
  8252. * X11Structs.cs: More ToString implementation.
  8253. 2007-04-25 Jonathan Pobst <[email protected]>
  8254. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  8255. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  8256. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  8257. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  8258. handle.
  8259. * FormCollection.cs: Don't add a form if it's already in the
  8260. collection.
  8261. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  8262. according to behaviour and MSDN. The ownerWin32 is the active
  8263. window at the moment when we call ShowDialog, not the context's
  8264. main form (the context's main form may open another form that opens
  8265. a form with ShowDialog, the win32 owner is the second form). Add
  8266. and remove forms to the Application.OpenForms in other places to
  8267. better match MS behaviour. Add an IsActive property that raises
  8268. On(de)Activated only if the active state has changed (we were
  8269. raising OnDeactivated before OnActivated while creating forms).
  8270. * Application.cs: Refactor Enabling/Disabling of windows for modal
  8271. dialog loops out to separate methods, and restore the thread
  8272. context when we quit the method. Fixes #81407.
  8273. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  8274. * ListView.cs: In ItemControl.HandleClicks, also fire
  8275. 2.0 MouseClick or MouseDoubleClick events on the parent,
  8276. not only the Click/DoubleClick events.
  8277. 2007-04-24 Andreia Gaita <[email protected]>
  8278. * TableLayoutSettings.cs:
  8279. - Added a GetControls method and a support structure to help the
  8280. TypeConverter to enumerate the controls for serialization.
  8281. - Added a new serialization constructor.
  8282. - Added a isSerialized flag initialized to true on the
  8283. serialization constructor so that the TableLayoutPanel.LayoutSettings
  8284. setter does not throw the designed NotSupportedOperation exception
  8285. when the object is built through deserialization.
  8286. - Implemented GetObjectData
  8287. * TableLayoutPanel.cs: Added check on LayoutSettings.
  8288. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  8289. * ListView.cs: Report Click and DoubleClick events to the parent
  8290. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  8291. from breaking the click count state when using dialog forms (Control
  8292. reports the clicks in a similar fashion). In the previous behaviour
  8293. the last WM_LBUTTONUP message in a double click was sent to the
  8294. ListView's form, instead of the ListView, which was breaking the click
  8295. count for it. Fixes #80387.
  8296. 2007-04-24 Alan McGovern <[email protected]>
  8297. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  8298. 2007-04-24 Jonathan Pobst <[email protected]>
  8299. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  8300. us from created dropdowns for menu items that do not have subitems.
  8301. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  8302. Check HasDropDownItems before calling DropDown so a dropdown will not be
  8303. created if it isn't needed.
  8304. 2007-04-24 Jackson Harper <[email protected]>
  8305. * TreeView.cs: Set the first node to the selected node when we get
  8306. focus if there is no selected node.
  8307. 2007-04-24 Andreia Gaita <[email protected]>
  8308. * MimeIcon.cs: remove using blocks so that image streams are
  8309. not disposed of. Fixes #80151
  8310. 2007-04-24 Jackson Harper <[email protected]>
  8311. * TextBoxBase.cs: Fixup the height of textboxes when the control
  8312. is created.
  8313. 2007-04-24 Jonathan Pobst <[email protected]>
  8314. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  8315. for each ToolStripItem when the parent's RightToLeftChanged is called.
  8316. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8317. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  8318. Fixes #80163.
  8319. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  8320. property, so that the setter can be overriden too.
  8321. * TextBox.cs: Change GetContextMenuInternal() to use
  8322. ContextMenuInternal.
  8323. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8324. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  8325. #81406.
  8326. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8327. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  8328. #81406.
  8329. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8330. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  8331. avoid duplicate work. Mostily skeleton code, it's not working at
  8332. all yet.
  8333. 2007-04-20 Leszek Ciesielski <[email protected]>
  8334. * NotifyIcon.cs : stub for MouseClick event
  8335. * Application.cs: stub for SetUnhandledExceptionMode
  8336. 2007-04-24 Alan McGovern <[email protected]>
  8337. * BindingNavigator.cs : Initial (partial) implementation
  8338. 2007-04-23 Jackson Harper <[email protected]>
  8339. * TreeView.cs: Do not create the treeview's handle when setting
  8340. the scroll position.
  8341. - ExpandAll needs to compute the scrollbars so it knows which
  8342. position to set the bar too.
  8343. * TreeNode.cs:
  8344. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  8345. 2007-04-23 Jackson Harper <[email protected]>
  8346. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  8347. key. Fixes #81408.
  8348. 2007-04-23 Jonathan Pobst <[email protected]>
  8349. * ToolStripItem.cs: Make GetImageSize internal.
  8350. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  8351. need to draw an item. Fixes a reported issue where images on menus
  8352. that were not 16x16 were drawing incorrectly.
  8353. 2007-04-21 Miguel de Icaza <[email protected]>
  8354. * Padding.cs: Use the converter, fixes the resgen2 issue with
  8355. XMLNotePad.
  8356. 2007-04-21 Jackson Harper <[email protected]>
  8357. * TreeView.cs: Dont try to unhighlight the selected node if there
  8358. isn't a selected node.
  8359. 2007-04-21 Jackson Harper <[email protected]>
  8360. * UpDownBase.cs:
  8361. * TextBoxBase.cs:
  8362. * ListView.cs:
  8363. * ListBox.cs:
  8364. * TreeView.cs: Use the InternalBorderStyle property to set the
  8365. initial border style, this forces the client rectangle to be sized
  8366. correctly.
  8367. 2007-04-20 Jackson Harper <[email protected]>
  8368. * TreeView.cs: Simplify scrolling to the last node after expanding
  8369. all.
  8370. - Fix some off by ones with setting the bottom.
  8371. 2007-04-20 Jonathan Pobst <[email protected]>
  8372. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  8373. that. We were incorrectly doing it the other way around. Also,
  8374. update ClientSize if we change the BorderStyle before the control
  8375. is created.
  8376. 2007-04-20 Gert Driesen <[email protected]>
  8377. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  8378. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  8379. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  8380. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  8381. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  8382. Caption to CaptionHeight.
  8383. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  8384. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  8385. and FixedFrameBorderSize to return value from current XplatUI driver.
  8386. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  8387. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  8388. and FixedFrameBorderSize using win32 API. Renamed Caption to
  8389. CaptionHeight.
  8390. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  8391. * SystemInformation.cs: Fixed typo in BorderSize.
  8392. 2007-04-20 Gert Driesen <[email protected]>
  8393. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  8394. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  8395. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  8396. returning false.
  8397. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  8398. value from XplatUI driver.
  8399. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  8400. SystemParametersInfo.
  8401. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  8402. override.
  8403. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  8404. returning false.
  8405. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8406. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  8407. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8408. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  8409. 2007-04-20 Jonathan Pobst <[email protected]>
  8410. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  8411. MenuStrips that contain ToolStripSeparators.
  8412. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8413. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  8414. DefineStdCursorBitmap.
  8415. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  8416. has been created off a standard cursor. This is used to get a
  8417. bitmap of the standard cursor when Draw or DrawStretched is called
  8418. in order to draw the cursor.
  8419. * X11Structs.cs: Added XcursorImage and XcursorImages.
  8420. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  8421. DefineStdCursorBitmap.
  8422. * Cursors.cs: Update all relevant creations of Cursor to use the new
  8423. internal constructor.
  8424. 2007-04-19 Jackson Harper <[email protected]>
  8425. * TextBox.cs: Move the has_been_focused into the base control, so
  8426. some of the text adding methods can manipulate it (probably time
  8427. for a better name for this flag too).
  8428. - Call a new version of selectall that doesn't scroll
  8429. * TextBoxBase.cs: When we append text, if the document is empty,
  8430. don't scroll. If the document has text already, we scroll to the
  8431. end of the appended text.
  8432. - When the text is changed, we reset the has_been_focused, so the
  8433. next time the control gets focused, all the text is selected.
  8434. 2007-04-19 Jackson Harper <[email protected]>
  8435. * TextControl.cs: Move the margins to the document, add a method
  8436. so the margin sizes can be updated.
  8437. * TextBoxBase.cs: When the border style is changed, update the
  8438. border sizes.
  8439. 2007-04-19 Jonathan Pobst <[email protected]>
  8440. * Control.cs: Respect DefaultPadding.
  8441. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  8442. padding into account.
  8443. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  8444. 2007-04-19 Jackson Harper <[email protected]>
  8445. * TextControl.cs: Oops, we need to use the ClientRect not the
  8446. bounds here.
  8447. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  8448. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  8449. account the double clicks when CheckBoxes are used and
  8450. the pointer is inside the checkbox. Fixes part of #81191.
  8451. 2007-04-18 Jackson Harper <[email protected]>
  8452. * TextControl.cs: Pressing the end key shouldn't move the caret
  8453. past the line ending.
  8454. * TextBoxBase.cs: We can still delete if we are in the line
  8455. ending and the combine will just kill the existing line ending.
  8456. 2007-04-18 Jackson Harper <[email protected]>
  8457. * TextControl.cs: We can't move lines, then invalidate their
  8458. bounds, we need to get the old bounds and combine that with the
  8459. new bounds.
  8460. * TextBoxBase.cs: Before combining two lines for a delete, we need
  8461. to invalidate the area of the old line, since that will be moved
  8462. in the combine operation.
  8463. 2007-04-18 Everaldo Canuto <[email protected]>
  8464. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  8465. with transparent background. Fixes #80482.
  8466. 2007-04-18 Jonathan Pobst <[email protected]>
  8467. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  8468. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  8469. [Fixes bug #81391]
  8470. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  8471. * CreateParams.cs: Add a couple of helper methods and do a less string
  8472. concatenation in ToString.
  8473. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  8474. overload that takes a Control parameter, since this method may be
  8475. called before a control is assigned to the hwnd (from
  8476. CreateWindow), and update CreateWindow to use the new overload. In
  8477. GetMenuOrigin subtract the title bar from the y position if the
  8478. form has a window manager (since we're painting it and not X).
  8479. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  8480. CreateParams to calculate the origin (since border sizes may vary).
  8481. In ScreenToMenu only subtract the title height if we actually have
  8482. a title.
  8483. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  8484. mdi children never have menus of themselves.
  8485. * InternalWindowManager.cs: Implement menu handling like form does.
  8486. Added GetMenuOrigin to calculate the menu origin, can't use the
  8487. CreateParams from the form like normally since it's lying.
  8488. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  8489. windows-like) and add Inflate and comparison operators to the
  8490. Borders type. When calculating MenuOrigin and it's a form with a
  8491. window manager, use the window manager to calculate it.
  8492. 2007-04-17 Chris Toshok <[email protected]>
  8493. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  8494. OnBindingContextChanged thing here. It's only generated from
  8495. ContainerControl.OnCreateControl. Fixes a newly written unit test
  8496. - BindingTest.BindingContextChangedTest4.
  8497. 2007-04-17 Jackson Harper <[email protected]>
  8498. * ScrollBar.cs: When setting values, make sure the current
  8499. position stays within the new values range.
  8500. 2007-04-17 Chris Toshok <[email protected]>
  8501. * Control.cs (CreateControl): talk about a bizarre corner case.
  8502. Don't emit OnBindingContextChanged here if we're a parentless
  8503. control (i.e. if we're a form.). Fixes
  8504. BindingTest.BindingContextChangedTest2.
  8505. 2007-04-17 Everaldo Canuto <[email protected]>
  8506. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  8507. from win32. Fixes #81255.
  8508. 2007-04-17 Everaldo Canuto <[email protected]>
  8509. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  8510. already present in CalculateButtonTextAndImageLayout.
  8511. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  8512. * XplatUIX11.cs: When setting min/max size for a window we need to
  8513. translate the coordinates to x coordinates. Create an overload of
  8514. SetWindowMinMax that takes a CreateParams handling this, and change
  8515. SetWMStyles to call this function (can't use Control.FromHandle in
  8516. the SetWindowMinMax to get the control/CreateParams from the handle
  8517. because the handle might not have been assigned to the control
  8518. yet). Fixes #81371.
  8519. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  8520. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  8521. if StateImageList is non-null and it has less than two items (match MS
  8522. behaviour). Also, in HandleNavKeys handle the Space key, calling
  8523. the new ToggleItemsCheckState method, which tries to change the
  8524. checked state of the selected items. Fixes part of #81191.
  8525. 2007-04-16 Jackson Harper <[email protected]>
  8526. * RichTextBox.cs: namespace cleanup.
  8527. 2007-04-16 Everaldo Canuto <[email protected]>
  8528. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  8529. 2007-04-16 Everaldo Canuto <[email protected]>
  8530. [Fixes #79447]
  8531. * Control.cs: Call invalidate in set_Region.
  8532. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  8533. it dont works here.
  8534. 2007-04-16 Jackson Harper <[email protected]>
  8535. * TextBoxBase.cs: When enter is pressed, we need to update all
  8536. lines below the current.
  8537. 2007-04-16 Jonathan Pobst <[email protected]>
  8538. * MdiClient.cs: Implement implicit menu merging for MDI
  8539. children. When a child form is active, if it has a menustrip
  8540. and the parent form has a MainMenuStrip, automatically merge
  8541. the menus.
  8542. 2007-04-15 Andreia Gaita <[email protected]>
  8543. * TabControl.cs: Refactored sizing methods to not repeat
  8544. code all over the place. Tab bounds are now calculated
  8545. as if alignment is top and single line, and only when
  8546. setting the bounds are the positions adjusted according
  8547. to alignment. Replaced hardcoded positions, spacings and
  8548. paddings by getting the values the ThemeEngine.
  8549. Fixes #79619.
  8550. * Theme.cs: Change TabControl properties and methods so
  8551. that all start with TabControl*. Added more properties
  8552. to help remove hardcoded values on tabcontrol.
  8553. Add CPDrawBorder3D declaration so the Theming classes
  8554. can access it.
  8555. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  8556. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  8557. on the Theming namespace, and call the appropriate methods here.
  8558. Change CPDrawBorder3D to public.
  8559. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  8560. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  8561. the control after firing the OnMouseUp event, instead of sending
  8562. the message before the mentioned event. This is so we can match the
  8563. MS behaviour. Fixes part of #80385.
  8564. 2007-04-13 Jonathan Pobst <[email protected]>
  8565. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  8566. RightToLeft property.
  8567. 2007-04-13 Jonathan Pobst <[email protected]>
  8568. * ToolStrip.cs: Add properties and internal methods to support merging.
  8569. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  8570. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  8571. not trigger reparenting or layouts.
  8572. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  8573. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  8574. is hosting the overflow menu.
  8575. 2007-04-13 Jackson Harper <[email protected]>
  8576. * TextControl.cs: Set the line ending correctly for the first
  8577. inserted line.
  8578. 2007-04-13 Sebastien Pouliot <[email protected]>
  8579. * Theme.cs: Update GetMethod to get the new definition for
  8580. KnownColors.Update (and fix theme color updates).
  8581. 2007-04-12 Everaldo Canuto <[email protected]>
  8582. * MessageBox.cs: Fix some test and button position.
  8583. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  8584. * Form.cs: Consider the implicit controls in
  8585. GetRealChildAtPoint. We need it since this method
  8586. is called on Form when handling the some messages in
  8587. WndProc, and need to consider those implicit ones too.
  8588. Fixes #80385.
  8589. 2007-04-12 Jonathan Pobst <[email protected]>
  8590. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  8591. if there are no ShortcutKeys set.
  8592. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  8593. set, use it when painting.
  8594. 2007-04-12 Jackson Harper <[email protected]>
  8595. * TextControl.cs: Fix some off-by-one issues in line duplication
  8596. and insertion in the undo manager. Also, overwrite the first tag
  8597. of a line on insert, if it is just a zero lengthed tag. This
  8598. prevents us from getting an extra stranded tag at the beginning of
  8599. the first line.
  8600. 2007-04-11 Everaldo Canuto <[email protected]>
  8601. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  8602. to calculated proper size including when handle was not created yet.
  8603. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  8604. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  8605. when the mouse is outside of it's parent's client rectangle. Fixes
  8606. #79982 (take 3, part 2).
  8607. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  8608. * X11Structs.cs: Add a few ToString() overrides.
  8609. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  8610. the window location in a window-manager independent way. Reworked
  8611. FrameExtents, it now actually works. Reworked AddConfigureNotify
  8612. and ReparentNotify handling to use GetTopLevelWindowLocation
  8613. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  8614. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  8615. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  8616. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  8617. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  8618. and generally refactored to do as few calculations as possible
  8619. inside the lock.
  8620. 2007-04-09 Sebastien Pouliot <[email protected]>
  8621. * Theme.cs: Change "reflective-contract" between MWF and SD to
  8622. minimize # of calls, avoid Color serialization and avoid updating
  8623. every "known colors" each time a single one is updated.
  8624. 2007-04-09 Gert Driesen <[email protected]>
  8625. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  8626. when not readonly and the text is explicitly set. Code style updates.
  8627. * DataGridTableStyle.cs: Removed extra line.
  8628. * DataGrid.cs: Code style updates. Removed extra whitespace.
  8629. * DataGridColumnStyle.cs: Code style updates. Removed extra
  8630. whitespace.
  8631. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  8632. * XplatUIX11.cs: Added comment that "fixes" #80021.
  8633. 2007-04-09 Jackson Harper <[email protected]>
  8634. * TextControl.cs: We don't need this -1 on the line count anymore.
  8635. 2007-04-09 Gert Driesen <[email protected]>
  8636. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  8637. entered value to underlying type, and convert it back to a string to
  8638. apply formatting. Modified GetFormattedValue to use TypeConverter
  8639. if available.
  8640. 2007-04-08 Gert Driesen <[email protected]>
  8641. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  8642. Use SubItems property when we want to ensure there's at least one
  8643. subitem. Modified SubItems property to ensure there's always at least
  8644. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  8645. the NRE's reported by MS.
  8646. 2007-04-07 Gert Driesen <[email protected]>
  8647. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  8648. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  8649. Spaces to tabs. Removed extra tabs.
  8650. 2007-04-06 Jonathan Pobst <[email protected]>
  8651. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  8652. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  8653. 2007-04-06 Jackson Harper <[email protected]>
  8654. * TextBoxBase.cs: When a delete removes a line, recalculate all
  8655. lines below that line (they need to get offsets setup correctly)
  8656. and invalidate.
  8657. 2007-04-05 Jackson Harper <[email protected]>
  8658. * TextControl.cs: We need to invalidate across the width of the
  8659. document when we are invalidating multiple lines.
  8660. * TextBoxBase.cs: Don't delete into the line ending.
  8661. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  8662. * ListView.cs: Restore the check for the MouseHover event
  8663. in ListView. It looks like the ListView fires more than one MouseHover
  8664. event when HoverSelection is true _only_ in weird-corner scenarios, but
  8665. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  8666. event.
  8667. 2007-04-05 Mike Kestner <[email protected]>
  8668. * ListView.cs : raise MouseDown before updating selection.
  8669. [Fixes #80373 tab 1&3]
  8670. 2007-04-05 Jonathan Pobst <[email protected]>
  8671. * ToolStripRenderer.cs: Add static method to mirror image.
  8672. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  8673. and RightToLeftAutoMirrorImage.
  8674. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  8675. 2007-04-05 Jonathan Pobst <[email protected]>
  8676. * ToolStripSplitStackLayout.cs: Support Alignment property.
  8677. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  8678. 2007-04-05 Jackson Harper <[email protected]>
  8679. * TextControl.cs: Move around the line endings when crossing line
  8680. boundaries.
  8681. - When combining lines, strip the ending text off the first line.
  8682. 2007-04-05 Jackson Harper <[email protected]>
  8683. * TextControl.cs:
  8684. * TextBoxBase.cs: Try to never move the cursor into the line
  8685. ending.
  8686. 2007-04-04 Jonathan Pobst <[email protected]>
  8687. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  8688. the item is disabled. Also add a few missing methods.
  8689. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  8690. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  8691. to fire just one MouseHover event when HoverSelection is true, since
  8692. .Net does fire more than one MouseHover event in that scenario. Also,
  8693. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  8694. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  8695. Finally, we need to reset the Hover logic in MouseMove, even when we
  8696. don't have a selected item.
  8697. 2007-04-04 Jonathan Pobst <[email protected]>
  8698. * ToolStrip.cs: Add several missing methods, properties, and events.
  8699. 2007-04-04 Chris Toshok <[email protected]>
  8700. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  8701. (0,0,0,0) in Commit, as MS does.
  8702. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  8703. make sure we set CurrentRow on a row header click *before* calling
  8704. Select. This moves the current cell (and the textbox) to the new
  8705. row. The call to Select then hides the textbox, giving us the
  8706. correct behavior. Fixes #80362.
  8707. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  8708. (ListChangedHandler): reorder the position/current changed events,
  8709. and call UpdateIsBinding in the ItemAdded case.
  8710. * GridColumnStylesCollection.cs: add some columns events, one of
  8711. which raises the CollectionChanged event.
  8712. 2007-04-04 Jackson Harper <[email protected]>
  8713. * TextControl.cs: When we delete multiple selection lines
  8714. invalidate the selection area, don't need to do that for single
  8715. lines because the final update view will handle it.
  8716. 2007-04-04 Jonathan Pobst <[email protected]>
  8717. * Control.cs: When we CreateControl, we need to also create all of the
  8718. control's children. The child's OnLoad must also fire before the parent's
  8719. OnLoad. Fixes the toolbox size in PDN.
  8720. 2007-04-04 Jackson Harper <[email protected]>
  8721. * TextBoxBase.cs: When the user presses enter, insert a line
  8722. ending into the text. (Maybe this would be a good spot for
  8723. Environment.NewLine).
  8724. * TextControl.cs: Remove undo manager hack, line endings get
  8725. inserted properly now.
  8726. 2007-04-04 Everaldo Canuto <[email protected]>
  8727. * MenuAPI.cs:
  8728. - Remove unneeded parameters in UpdateCursor.
  8729. - Fix UpdateCursor to check if menu is active.
  8730. - Call UpdateCursor when menu deactivate my click.
  8731. [Fixes remaining issues from #80410]
  8732. 2007-04-04 Everaldo Canuto <[email protected]>
  8733. * Control.cs: GetRealChildAtPoint method added, it make an
  8734. recursive child control search for the point.
  8735. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  8736. menu.
  8737. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  8738. 2007-04-03 Everaldo Canuto <[email protected]>
  8739. * Form.cs: Fix mouse position when send back mouse event after closes
  8740. menu.
  8741. 2007-04-03 Everaldo Canuto <[email protected]>
  8742. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  8743. 2007-04-03 Jonathan Pobst <[email protected]>
  8744. * Control.cs: Fix an issue where if a user resized a control inside
  8745. a sizing method like OnResize, we would overwrite their explicit
  8746. value. Also, only call DefaultSize once in the constructor instead
  8747. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  8748. nothing actually changed.
  8749. 2007-04-03 Jackson Harper <[email protected]>
  8750. * TextControl.cs: Don't attempt to copy text for lines with no
  8751. text in them (technically this shouldn't happen, but we aren't
  8752. always inserting line endings when we should be).
  8753. 2007-04-03 Jackson Harper <[email protected]>
  8754. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  8755. document, because this sets some of the document size properties
  8756. that are needed.
  8757. 2007-04-03 Jackson Harper <[email protected]>
  8758. * TextBoxBase.cs: We need to calculate maximums even if this is
  8759. not a multiline control, because the maxs are used for scrolling.
  8760. - Display the caret after doing a page up/down, we need to
  8761. manually display it because a proper CaretMoved event isn't
  8762. triggered (this is because of the way the math is done to
  8763. determine how far to scroll).
  8764. 2007-04-03 Jonathan Pobst <[email protected]>
  8765. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  8766. (ToolBar was relying on SetBoundsCore to default the values sent
  8767. base off of BoundsSpecified.)
  8768. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8769. * DateTimePicker.cs: Change Text so that when a null value or empty
  8770. string is assigned to the test we always raise ValueChanged and
  8771. TextChanged (earlier implementation would only raise ValueChanged
  8772. if the current date value was different from DateTime.Now).
  8773. 2007-04-03 Andreia Gaita <[email protected]>
  8774. * ButtonBase: Call update after invalidation, fixes #80194
  8775. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8776. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  8777. #79335.
  8778. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8779. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  8780. FormBorderStyle = None, don't give the window any decorations.
  8781. Fixes #81276.
  8782. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8783. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  8784. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  8785. to check for is a mix of several styles (such as WS_CAPTION for
  8786. instance).
  8787. * Control.cs: Don't paint an area bigger than the client area when
  8788. painting the background colour. Add an internal GetCreateParams.
  8789. Update calls to XplatUI.CalculateWindowRect due to API change.
  8790. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  8791. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  8792. the size if it hasn't been handled by any windows. When creating
  8793. and moving windows, X wants the location of the entire window, but
  8794. the size of the client window, so add
  8795. TranslateClientRectangleToXClientRectangle,
  8796. TranslateWindowSizeToXWindowSIze and
  8797. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  8798. before every window creation and move. Update CalculateWIndowRect
  8799. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  8800. In AddConfigureNotify don't do anything if the hwnd is a zombie
  8801. (fixes the BadWindow we were getting while running the tests),
  8802. always calculate the offsets when it's a parentless window, not
  8803. only when reparented, and translate the window size, since we're
  8804. getting the client size of the whole window, excluding entire
  8805. window.
  8806. * Theme.cs: Added BorderSizableSize.
  8807. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  8808. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  8809. chang
  8810. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  8811. change. Fake the window styles here instead of in XplatUIWin32 so
  8812. that all back-ends get the same window styles (and it's Form that's
  8813. deciding when to use wm, not the Win32 backend anyways)
  8814. * Hwnd.cs: Completely reworked GetWindowRectangle and
  8815. GetClientRectangle - they are now passed a CreateParams and they
  8816. only use Style and ExStyle to determine the rectangles (they should
  8817. now work just like Win32AdjustWindowRectEx - though quite a few
  8818. special cases are probably missing). They should also be 100%
  8819. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  8820. == rect), and all numbers (borders, menu sizes) are taken from the
  8821. current theme. Added a GetBorders helper function that will return
  8822. the borders for any given CreateParams (including captions and
  8823. menus), and GetBorderSize that returns the given border size only.
  8824. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  8825. Hwnd.GetClientRectangle.
  8826. 2007-04-02 Chris Toshok <[email protected]>
  8827. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  8828. logic between the values we present to the user and the values
  8829. which are stored in the column's property. Also, don't call
  8830. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  8831. 2007-04-02 Jackson Harper <[email protected]>
  8832. * TextBoxBase.cs: Scroll faster!
  8833. 2007-04-02 Jonathan Pobst <[email protected]>
  8834. * StatusStrip.cs: Layout fixes for PDN.
  8835. * ToolStrip.cs: Set item's available to true, and placement to main when
  8836. added.
  8837. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  8838. changing in setter before doing any work, add InternalVisible.
  8839. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  8840. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  8841. infinite loop.
  8842. 2007-04-02 Jackson Harper <[email protected]>
  8843. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  8844. text on focus.
  8845. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  8846. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  8847. Makes ToolStripComboBoxes show up again.
  8848. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  8849. * ListView.cs: Add a hover_pending field in ListView
  8850. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  8851. cycle (we are resetting the MouseHover logic in XplatUI
  8852. to handle HoverSelection). Fixes #80429.
  8853. 2007-04-02 Jackson Harper <[email protected]>
  8854. * TextControl.cs: Make sure the attributes get set on the last
  8855. tag.
  8856. - Still have to do the end tag if we have stepped all the ways to
  8857. the end.
  8858. 2007-04-02 Sebastien Pouliot <[email protected]>
  8859. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  8860. on an internal libgdiplus call when the information is already
  8861. available via the public API.
  8862. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  8863. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  8864. control is removed from a control collecftion.
  8865. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  8866. Fixes FormPropertyTest (failed on rare occasions).
  8867. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  8868. of Win32SetParent (when changing from no parent to a parent it
  8869. might add the new parent's location in screen coordinates to this
  8870. window's location).
  8871. * Form.cs: Rework ChangingParent once again, now the handle is
  8872. recreated whenever a FormWindowManager is added or removed (that is
  8873. whenever a normal form is parented or abandoned). Also change
  8874. CreateParams so that all non-toplevel windows always get the
  8875. specified sice (StartupPosition is never considered for
  8876. non-TopLevel forms).
  8877. * ContainerControl.cs: Add ChildControlRemoved, the container control
  8878. needs to be notified when a control is removed from it's
  8879. collection, in the case the removed control is the active control.
  8880. 2007-04-02 Jackson Harper <[email protected]>
  8881. * RichTextBox.cs: Use the new methods for setting the font and
  8882. color, these methods set the specified attribute without
  8883. overriding the other attributes.
  8884. 2007-04-02 Jonathan Pobst <[email protected]>
  8885. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  8886. 2007-03-31 Gert Driesen <[email protected]>
  8887. * TextBox.cs: Added internal ChangeBackColor method to special-case
  8888. Color.Empty. Added check for invalid ScrollBars value.
  8889. * TextBoxBase.cs: Added internal ChangeBackColor method.
  8890. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  8891. internal ChangeBackColor method to special-case Color.Empty. Added
  8892. check for invalid ScrollBars value.
  8893. 2007-03-30 Everaldo Canuto <[email protected]>
  8894. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  8895. 2007-03-30 Jonathan Pobst <[email protected]>
  8896. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  8897. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  8898. [Based on submitted patch from Olivier Duff.]
  8899. 2007-03-30 Jackson Harper <[email protected]>
  8900. * TextBox.cs: Only select all on initial focus if the user has not
  8901. specified a selection area.
  8902. 2007-03-30 Jonathan Pobst <[email protected]>
  8903. * UserControl.cs: Override CreateParams.
  8904. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  8905. [ Fixes #80995 ]
  8906. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  8907. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  8908. check for is a mix of several styles (such as WS_CAPTION for instance).
  8909. * Control.cs: Don't paint an area bigger than the client area when painting
  8910. the background colour. Add an internal GetCreateParams. Update calls to
  8911. XplatUI.CalculateWindowRect due to API change.
  8912. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  8913. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  8914. hasn't been handled by any windows. When creating and moving windows, X
  8915. wants the location of the entire window, but the size of the client
  8916. window, so add TranslateClientRectangleToXClientRectangle,
  8917. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  8918. to cope with this, and call them before every window creation and move.
  8919. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  8920. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  8921. hwnd is a zombie (fixes the BadWindow we were getting while running the
  8922. tests), always calculate the offsets when it's a parentless window, not
  8923. only when reparented, and translate the window size, since we're getting
  8924. the client size of the whole window, excluding entire window.
  8925. * Theme.cs: Added BorderSizableSize.
  8926. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  8927. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  8928. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  8929. Fake the window styles here instead of in XplatUIWin32 so that all
  8930. back-ends get the same window styles (and it's Form that's deciding when
  8931. to use wm, not the Win32 backend anyways)
  8932. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  8933. they are now passed a CreateParams and they only use Style and ExStyle
  8934. to determine the rectangles (they should now work just like
  8935. Win32AdjustWindowRectEx - though quite a few special cases are probably
  8936. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  8937. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  8938. sizes) are taken from the current theme. Added a GetBorders helper
  8939. function that will return the borders for any given CreateParams
  8940. (including captions and menus), and GetBorderSize that returns the given
  8941. border size only.
  8942. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  8943. Hwnd.GetClientRectangle.
  8944. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  8945. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  8946. layout of the mdi children is handled by CreateParams. Fixes
  8947. #79964,
  8948. 2007-03-29 Everaldo Canuto <[email protected]>
  8949. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  8950. processed.
  8951. * Form.cs: When active tracker mouse down is not processed, send event
  8952. back to control inside mouse position. [Fixes #81227]
  8953. 2007-03-29 Jonathan Pobst <[email protected]>
  8954. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  8955. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  8956. stealing focus from the active form on Windows. (Control will be made
  8957. visible in ShowWindow.)
  8958. 2007-03-29 Mike Kestner <[email protected]>
  8959. * ImageList.cs : add internal Changed event.
  8960. * ListView.cs : hook up to StateImageList.Changed to perform
  8961. invalidations when the the state icon list changes. [Fixes #81191]
  8962. 2007-03-29 Jonathan Pobst <[email protected]>
  8963. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  8964. to prevent tooltips from stealing focus from the active form on Windows.
  8965. 2007-03-29 Everaldo Canuto <[email protected]>
  8966. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  8967. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  8968. 2007-03-29 Everaldo Canuto <[email protected]>
  8969. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  8970. balloons.
  8971. 2007-03-29 Jackson Harper <[email protected]>
  8972. * TextControl.cs: When deleting text from non multiline textboxes,
  8973. we need to update the entire document, because line offsets will
  8974. be shifting.
  8975. 2007-03-29 Everaldo Canuto <[email protected]>
  8976. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  8977. added to theme, now we can create themes that uses diferent notify engines
  8978. like notification-daemon from galago project or growl for Mac OS.
  8979. 2007-03-28 Everaldo Canuto <[email protected]>
  8980. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  8981. 2007-03-28 Everaldo Canuto <[email protected]>
  8982. * XplatUIX11.cs: Prevent system to open more than one balloon.
  8983. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  8984. some compiler warning messages.
  8985. 2007-03-28 Everaldo Canuto <[email protected]>
  8986. [Fixes #79149]
  8987. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  8988. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  8989. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  8990. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  8991. systems.
  8992. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  8993. * ListViewItem.cs: Forgot to make Invalidate internal.
  8994. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  8995. * ListView.cs: Add a InvalidateSelection method to
  8996. invalidate methods which are currently selected, and call
  8997. it when setting FullRowSelect and HideSelection, instead of
  8998. calling Redraw.
  8999. 2007-03-28 Chris Toshok <[email protected]>
  9000. * XplatUIX11.cs (UnmapWindow): reindent this block.
  9001. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  9002. the selection_start if we're moving the selection (that is, not
  9003. extending it). Fixes bug #80461.
  9004. 2007-03-28 Jonathan Pobst <[email protected]>
  9005. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  9006. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  9007. create private ControlCollection.
  9008. 2007-03-28 Jonathan Pobst <[email protected]>
  9009. * Control.cs: We need to call OnVisibleChanged for our implicit
  9010. children as well as our normal children. Fixes scrollbars in
  9011. comboboxes not showing up.
  9012. 2007-03-28 Jonathan Pobst <[email protected]>
  9013. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  9014. the check for IsHandleCreated first. The check in CreateHandle is not
  9015. good enough because CreateHandle can be overriden, and the override
  9016. should not be called if the handle is already created.
  9017. 2007-03-28 Jonathan Pobst <[email protected]>
  9018. * ToolStrip.cs: Remove MonoTODO for tooltips.
  9019. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  9020. * ToolStripContainer.cs: Add custom ControlCollection class.
  9021. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  9022. * ToolStripDropDown.cs: Add some missing properties/methods.
  9023. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  9024. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  9025. * ToolStripManager.cs: Add IsShortcutDefined.
  9026. * ToolStripOverflow.cs: Override LayoutEngine.
  9027. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  9028. * ToolStripSeparator.cs: Add ImageKey.
  9029. 2007-03-28 Jackson Harper <[email protected]>
  9030. * TextControl.cs: If a char delete removes a line ending, we need
  9031. to update the ending style.
  9032. - Make sure the line ending calcs get called.
  9033. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  9034. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  9035. it was making the new code not work. Fixed a typo in the new code
  9036. as well. Fixes #79826.
  9037. 2007-03-27 Everaldo Canuto <[email protected]>
  9038. * XplatUIWin32.cs:
  9039. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  9040. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  9041. - SystrayBalloon method implemented.
  9042. [Add support for notifyicon balloon on win32, #79149]
  9043. 2007-03-27 Mike Kestner <[email protected]>
  9044. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  9045. the ms behavior when only one image is added to the list.
  9046. [Fixes #81191]
  9047. 2007-03-27 Jackson Harper <[email protected]>
  9048. * TextControl.cs: Improvements to non multiline line ending
  9049. drawing/measuing.
  9050. 2007-03-27 Everaldo Canuto <[email protected]>
  9051. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  9052. 2007-03-27 Everaldo Canuto <[email protected]>
  9053. * NotifyIcon.cs:
  9054. - Balloon message handling added.
  9055. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  9056. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9057. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  9058. to SystrayBalloon to me like other Systray method, also a
  9059. handle parameter added.
  9060. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  9061. * ListView.cs: Show scrollbars even when items.Count == 0
  9062. but the columns Width is bigger than the ListView.Width.
  9063. Also, when columns.Count == 0 set layout_wd and layout_ht
  9064. to the ClientRectangle values, so we don't show any scrollbar
  9065. in that case.
  9066. 2007-03-27 Everaldo Canuto <[email protected]>
  9067. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  9068. 2007-03-27 Jackson Harper <[email protected]>
  9069. * RichTextBox.cs: The RTF library decodes the text properly for us
  9070. now.
  9071. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  9072. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  9073. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  9074. ListView header (HeaderControl), instead of Control.BackColor.
  9075. 2007-03-27 Jonathan Pobst <[email protected]>
  9076. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  9077. Fixes tab control issues where controls would not show up because they
  9078. never received their OnVisibleChanged call.
  9079. 2007-03-27 Everaldo Canuto <[email protected]>
  9080. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  9081. BalloonTipShown).
  9082. 2007-03-27 Jonathan Pobst <[email protected]>
  9083. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  9084. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  9085. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  9086. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  9087. the handle. Fix WindowState by using the internal variable until we are
  9088. sure that we've been shown.
  9089. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  9090. max or min.
  9091. [Fixes bug #81198]
  9092. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  9093. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  9094. (at least borders). Fixes #79386 on Linux (with a small difference
  9095. in behaviour: when trying to resize a caption-less window metacity
  9096. shows the sysmenu. Resizing is still possible though).
  9097. * XplatUIWin32.cs: When setting window styles send request an extra
  9098. WM_NCCALCSIZE when it's a form without title (due to no text and no
  9099. caption), since Win32 seems to calculate it wrong the first time we
  9100. get the message, though the second time things work as they should.
  9101. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  9102. newly reparented window might show up unparented. Update
  9103. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  9104. there's no title text. Fixes #79386.
  9105. 2007-03-27 Mike Kestner <[email protected]>
  9106. * ListBox.cs : don't perform invalidations if the handle hasn't been
  9107. created. [Fixes #80753]
  9108. 2007-03-27 Mike Kestner <[email protected]>
  9109. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  9110. [Fixes #80428]
  9111. 2007-03-26 Everaldo Canuto <[email protected]>
  9112. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  9113. needed to implement Balloon.
  9114. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  9115. * ListViewItem.cs: In the constructors that take
  9116. an array of strings, don't use ListViewSubItemCollection.AddRange
  9117. method to add items, since we need to have a different behaviour (in
  9118. the constructors we add an item for each null string, opposed to
  9119. the behaviour of AddRange, which adds nothing).
  9120. 2007-03-26 Andreia Gaita <[email protected]>
  9121. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  9122. 2007-03-26 Jackson Harper <[email protected]>
  9123. * TextControl.cs: Draw and measure line endings when in non
  9124. multiline mode.
  9125. - When searching the text, count the end of the last line as a
  9126. word boundary.
  9127. 2007-03-26 Jackson Harper <[email protected]>
  9128. * RichTextBox.cs: The selection_start and selection_end don't
  9129. really track the correct tags for the selection. So we'll manually
  9130. compute the correct tag here.
  9131. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  9132. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  9133. and Continuous styles. Fixes #79469.
  9134. 2007-03-26 Jonathan Pobst <[email protected]>
  9135. * ToolStrip.cs: Implement Tooltips.
  9136. * ToolStripItem.cs: Create internal method for determining tooltip.
  9137. 2007-03-26 Jonathan Pobst <[email protected]>
  9138. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  9139. 2007-03-26 Everaldo Canuto <[email protected]>
  9140. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  9141. it prevents a problem thak keeps icon visible after application
  9142. closes on win32.
  9143. 2007-03-26 Everaldo Canuto <[email protected]>
  9144. * NotifyIcon.cs: Balloon properties and methods created.
  9145. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9146. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  9147. 2007-03-25 Jonathan Pobst <[email protected]>
  9148. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  9149. 2007-03-24 Jonathan Pobst <[email protected]>
  9150. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  9151. parameter indicates which aspects were explicit/user-set.
  9152. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  9153. 2007-03-24 Jonathan Pobst <[email protected]>
  9154. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  9155. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  9156. SmallChange, and Value (2.0).
  9157. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  9158. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  9159. * ListView.cs: Always set item_control.Width in LayoutDetails
  9160. if View is Details. Setting it later in CalculateScrollBars
  9161. in a not-so-corner scenario (the sum of columns width is
  9162. not bigger than the ListView width when handle is created, and then
  9163. that sum gets bigger by increasing the width of the columns)
  9164. causes a very weird recursion path (which shouldn't be happening,
  9165. since header_control sets it in CalculateScrollBars too). This bug
  9166. appeared after Chris' fixes for handle created issues, so probably
  9167. it's related to some handle-creation time.
  9168. 2007-03-23 Chris Toshok <[email protected]>
  9169. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  9170. case where there's an add row, just so we don't end up in a case
  9171. where it's not displayed (this happens when the row is partially
  9172. obscured). Fixes bug #79574.
  9173. 2007-03-23 Jackson Harper <[email protected]>
  9174. * TextControl.cs:
  9175. * TextBoxBase.cs:
  9176. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  9177. also added an enum that represents the line ending type.
  9178. 2007-03-23 Andreia Gaita <[email protected]>
  9179. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  9180. messed with in every method call, but only from DownButton,
  9181. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  9182. 2007-03-23 Chris Toshok <[email protected]>
  9183. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  9184. format objects if the format spec is "". Fixes bug #80889.
  9185. 2007-03-22 Miguel de Icaza <[email protected]>
  9186. * ToolStripPanel.cs (Join): added stubs to build PDN3
  9187. * Control.cs (AutoScrollOffset): Add.
  9188. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  9189. property, its only implemented for Win32, on X11 it defaults to
  9190. some hardcoded value.
  9191. * ToolStripItem.cs (AllowDrop): Add property
  9192. 2007-03-22 Mike Kestner <[email protected]>
  9193. * ListView.cs : in FullRowSelect Details mode, only enable box
  9194. selection if the user clicks over the "item" column outside of the
  9195. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  9196. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  9197. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  9198. handle is not created yet.
  9199. * Form.cs: Select: Don't call CreateHandle if the handle is already
  9200. created, avoids a stack overflow on Windows when we are recreating
  9201. controls.
  9202. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  9203. they are made visible, and override AfterTopMostControl to keep
  9204. them on top when other controls are brought to front.
  9205. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  9206. or force_*scroll_visible is true (old implementation always shows
  9207. scrollbars when needed, no matter what auto_scroll was set to).
  9208. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  9209. IsHandleCreated check.
  9210. 2007-03-22 Andreia Gaita <[email protected]>
  9211. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  9212. row or col separator.
  9213. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  9214. 2007-03-22 Everaldo Canuto <[email protected]>
  9215. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  9216. 2007-03-22 Everaldo Canuto <[email protected]>
  9217. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  9218. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  9219. every time. Fixes #80410.
  9220. 2007-03-22 Chris Toshok <[email protected]>
  9221. * BindingSource.cs (AddNew): partially implement.
  9222. remove a couple of NotImplementedException's
  9223. to get bug #81148 closed.
  9224. 2007-03-22 Everaldo Canuto <[email protected]>
  9225. [Fixes #80380]
  9226. * Control.cs:
  9227. - UpdateCursor method added to update the screen cursor.
  9228. - GetAvailableCursor method added to return cursor for enabled tree,
  9229. it searches for cursor on control and it's parent's for enabled control.
  9230. - Call UpdateCursor method on setter of Cursor property.
  9231. - On setter of Enabled call UpdateCursor when it is false, we need to
  9232. change cursor to normal (or to this parent cursor) because cursor
  9233. setting theres no effect to disabled controls.
  9234. - Some minor source changes to follow the coding style guidelines.
  9235. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  9236. controls.
  9237. 2007-03-22 Chris Toshok <[email protected]>
  9238. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  9239. generates.
  9240. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  9241. * XplatUIX11.cs: Implement default locations for forms.
  9242. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  9243. * Hwnd.cs: Add previous_child_startup_location (to track the current
  9244. startup location for any child forms of the current form) and
  9245. previous_main_startup_location (to track the startup location for
  9246. the current toplevel form).
  9247. 2007-03-21 Jonathan Pobst <[email protected]>
  9248. * Control.cs: Don't trigger a layout if an implicit control is added
  9249. that isn't visible. Also, don't notify the owner when an implicit control
  9250. is added. (Owners shouldn't even know about their implicit controls.)
  9251. 2007-03-21 Jonathan Pobst <[email protected]>
  9252. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  9253. to save some re-layouts.
  9254. 2007-03-21 Everaldo Canuto <[email protected]>
  9255. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  9256. [Fixes #81203]
  9257. 2007-03-21 Jonathan Pobst <[email protected]>
  9258. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  9259. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  9260. 2007-03-21 Mike Kestner <[email protected]>
  9261. * ListView.cs : disable selection update for non-left button clicks
  9262. with mods and over selected items. [Fixes #80524]
  9263. 2007-03-20 Jackson Harper <[email protected]>
  9264. * TextControl.cs:
  9265. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  9266. \r\r\n, \n.
  9267. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9268. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  9269. very probably a more complicated calculation there. Update the
  9270. textbox' ForeColor and BackColor when the ComboBox' colors are
  9271. changed. Change the border change in LayoutComboBox to only affect
  9272. the textbox, not all the calculations there. Seems to fix most of
  9273. #79436.
  9274. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9275. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  9276. modifiers + navigation keys as input keys, enables advanced text
  9277. selection in the combobox (like Shift+Left Arrow for instance).
  9278. ComboTextBox now overrides Focused and returns whatever
  9279. ComboBox.Focused returns, since it really should be focused
  9280. whenever the ComboBox is. Fixes #80795. Also make the border around
  9281. the text box one pixel bigger, as mentioned in #79436.
  9282. 2007-03-20 Jackson Harper <[email protected]>
  9283. * TreeView.cs: Don't offset the images, this was causing some
  9284. artifacts when expanding/collapsing with images that were the
  9285. exact height of the treenode.
  9286. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9287. * TrackBar.cs: Query the theme for the correct value when the mouse
  9288. moves and the thumb is pressed.
  9289. * Theme.cs: Added TrackBarValueFromMousePosition
  9290. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  9291. implementation was updating the trackbar value when drawing, now
  9292. the drawing methods only draw. Fixes #80900. Refactored the
  9293. calculations out to TrackBarValueFromMousePosition and
  9294. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  9295. according to the mouse position whenever it wants to. Changed the
  9296. light coloured pen when drawing the thumb from ControlLight to
  9297. ControlLightLight, because the ControlLight is the same colour as
  9298. the background so the 3D effect is lost.
  9299. 2007-03-20 Everaldo Canuto <[email protected]>
  9300. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  9301. defined. Fixes #80784.
  9302. 2007-03-20 Marek Habersack <[email protected]>
  9303. * ContextMenuStrip.cs: align with the change introduced in
  9304. revision 74664.
  9305. 2007-03-20 Everaldo Canuto <[email protected]>
  9306. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  9307. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  9308. in SetTopmost.
  9309. 2007-03-19 Chris Toshok <[email protected]>
  9310. * Control.cs (WmPaint): don't make use of the Handle property
  9311. after an event is emitted, as the user could have closed the
  9312. form/destroyed the control. Store the Handle in a local variable
  9313. and make use of that. Fixes bug #80768.
  9314. 2007-03-20 Everaldo Canuto <[email protected]>
  9315. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  9316. behavior in X11 environments.
  9317. 2007-03-20 Everaldo Canuto <[email protected]>
  9318. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  9319. because on setter of topmost we dont call SetTopmost when handle is not
  9320. created.
  9321. 2007-03-20 Jackson Harper <[email protected]>
  9322. * TextControl.cs: Need to use SelectionLength () not
  9323. selection_length, since that var is reset to -1.
  9324. - Draw the caret when we don't have focus.
  9325. * TextBox.cs: The selectall actually doesn't occur until the first
  9326. focus.
  9327. * TextBoxBase.cs: Need to update the caret position after a
  9328. selectall.
  9329. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  9330. * ListView.cs: Enable scrolling when using Tile view.
  9331. 2007-03-20 Everaldo Canuto <[email protected]>
  9332. [Fixes #80902]
  9333. * XplatUIDriver.cs: Abstract SetOwner method created.
  9334. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  9335. must be implemented and was masked as todo.
  9336. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  9337. GWL_HWNDPARENT.
  9338. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  9339. cheking for null owner to remove transient. The SetTopmost will be change
  9340. on a decond step.
  9341. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  9342. SetTopmost. Now owned forms will work properly in win32 and X11.
  9343. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9344. * MdiWindowManager.cs: Update function name.
  9345. * Form.cs: After closing a form MdiParent is always null.
  9346. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  9347. better what it should do: necessary book-keeping when the form is
  9348. closed, it should not close the form itself.
  9349. 2007-03-19 Andreia Gaita <[email protected]>
  9350. * ListViewItem.cs: Fix back and fore color. The subitems only
  9351. use their own colors if they are set, otherwise use the listview's
  9352. colors. Don't set default colors on constructor for subitem.
  9353. Fixes #79315.
  9354. 2007-03-19 Mike Kestner <[email protected]>
  9355. * ListView.cs : make box selection for Details views with
  9356. FullRowSelect conform to MS behavior when clicking in the "item"
  9357. column and clicking outside the defined columns.
  9358. [Fixes case 5-6 of #80374]
  9359. 2007-03-19 Chris Toshok <[email protected]>
  9360. * ScrollableControl.cs: create the controls from within the ctor,
  9361. but don't actually add them until our handle is created. this
  9362. fixes a NRE possibility jpobst found (if you override OnLayout in
  9363. a subclass, it's called before your ctor). Also, add a
  9364. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  9365. 2007-03-19 Jackson Harper <[email protected]>
  9366. * TextBox.cs: Reduce the amount of invalidation we do.
  9367. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  9368. some of them are true by default on MS.
  9369. - Add some functions to reduce the amount of invalidates we do.
  9370. * TextControl.cs: Less invalidation.
  9371. 2007-03-19 Chris Toshok <[email protected]>
  9372. [ Fixes #81773, and *seems* to fix #81553 as well ]
  9373. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  9374. AccumulateDestroyedHandles. We need to do it *after* we send
  9375. WM_DESTROY, as the user's code can access Control.Handle in
  9376. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  9377. move the WM_DESTROY/zombie handling to before the call to
  9378. XDestroyWindow. For some reason without this ordering
  9379. FormTest.RecreateHandle hangs. This ordering is semantically
  9380. equivalent, however, as XDestroyWindow is async anyway.
  9381. 2007-03-19 Gert Driesen <[email protected]>
  9382. * RichTextBox.cs: Reset backcolor_set after setting default.
  9383. 2007-03-19 Chris Toshok <[email protected]>
  9384. * ScrollableControl.cs: the scroll position should not effect the
  9385. canvas size. commit patch from [email protected], which
  9386. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  9387. 2007-03-19 Chris Toshok <[email protected]>
  9388. * ScrollableControl.cs: clean this up a bit. create the
  9389. scrollbars in the ctor and just show/hide them as needed. Also,
  9390. make hscroll_visible/vscroll_visible internal to Recalculate, and
  9391. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  9392. everywhere else. This seems to fix the scrollbars appearing
  9393. beneath the content for me (i have *no* idea why that is,
  9394. however.)
  9395. 2007-03-19 Jonathan Pobst <[email protected]>
  9396. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  9397. some redundacy for stuff in Anchor and Dock that base will take care of.
  9398. [Fixes #80762]
  9399. 2007-03-19 Mike Kestner <[email protected]>
  9400. * ListView.cs : make box selection for Details views without
  9401. FullRowSelect dependent on the text bounds, not item bounds.
  9402. * ListViewItem.cs : add an internal property to obtain the TextBounds
  9403. in Details view. [Fixes case 1-4 of #80374]
  9404. 2007-03-19 Andreia Gaita <[email protected]>
  9405. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  9406. we're < 2.0. #78448 && #80316
  9407. 2007-03-19 Jonathan Pobst <[email protected]>
  9408. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  9409. have the same style available as the previously selected one. Also,
  9410. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  9411. 2007-03-19 Jackson Harper <[email protected]>
  9412. * TextControl.cs: Add an alignment property that all new lines
  9413. will be given.
  9414. - Make sure to use the align shift when calculating the line's X
  9415. position.
  9416. * TextBox.cs: Set the alignment on the document as well as on all
  9417. the document lines.
  9418. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  9419. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  9420. throw if setting the parent of an mdichild that already has an
  9421. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  9422. AssemblyProductAttribute in the assembly, use the type's namespace (as
  9423. MS seems to do). CreateControl: don't create the handle if the control
  9424. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  9425. create handle if the control is not a form. Change FocusInternal to
  9426. virtual so that it can be overriden by Form.
  9427. * TextBox.cs: Update call to FocusInternal.
  9428. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  9429. form is not a toplevel form when it's a mdi child, so update is_toplevel
  9430. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  9431. hasn't been created. Show (IWin32Window): Don't allow this overload for
  9432. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  9433. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  9434. parent isn't visible yet, save the visibility and restore it when the
  9435. parent is made visible.
  9436. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  9437. methods, since the visibility of the scrollbars can be changed from
  9438. several places, not only from AutoScroll.
  9439. [Fixes #81179]
  9440. 2007-03-19 Jackson Harper <[email protected]>
  9441. * RichTextBox.cs: Enable shortcuts by default.
  9442. * TextBoxBase.cs: Add conditional shortcuts.
  9443. 2007-03-19 Everaldo Canuto <[email protected]>
  9444. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  9445. 2007-03-19 Chris Toshok <[email protected]>
  9446. [ Fixes bug #80604]
  9447. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  9448. swallow the message we're waiting on, instead of delivering it, as
  9449. this is only used for the WM_SHOWWINDOW raised from
  9450. MapWindow/UnmapWindow, and the message needs to be generated
  9451. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  9452. before doing the Map/Unmap. Also make sure that the Hwnd is still
  9453. alive after the message has been handled.
  9454. *before* the window is shown.
  9455. * Control.cs (CreateControl): guard a few more things inside the
  9456. if (!is_created) block, as we might end up being called again -
  9457. yay .net.
  9458. (WmShowWindow): call CreateControl if we're showing the control.
  9459. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  9460. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  9461. controls without a handle if they have any parent with a handle. In
  9462. Dispose add a check whether the handle is created or not before
  9463. calling BeginInvoke, this removes the need of the extra disposing
  9464. parameter (which was bogus anyway since it didn't prevent the
  9465. invoke from happening, it only skipped the check for an existing
  9466. handle, meaning that the invoke would call on an inexistent
  9467. handle).
  9468. 2007-03-19 Everaldo Canuto <[email protected]>
  9469. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  9470. appears in taskbar.
  9471. 2007-03-18 Everaldo Canuto <[email protected]>
  9472. * MessageBox.cs:
  9473. - Fixed a problem that dont show help button for messages with 3 buttons.
  9474. - Refactory button size and position calculations, now dont use fixed
  9475. values, also fixed button sizes (#80043) and form's border space.
  9476. - AddButton method created, now all other AddButton methods call this one.
  9477. - Some other source code cosmetic changes.
  9478. 2007-03-18 Jackson Harper <[email protected]>
  9479. * RichTextBox.cs: Don't do this all fonts must match check if
  9480. there is only one char selected.
  9481. 2007-03-18 Jackson Harper <[email protected]>
  9482. * TreeView.cs: ScrollWindow works properly now, so we don't need
  9483. to screw around with the scroll area. This fixes some artifacts
  9484. when expanding and collapsing.
  9485. 2007-03-18 Jackson Harper <[email protected]>
  9486. * TextBoxBase.cs: Allow updating the selection position when the
  9487. cursor is outside the textarea, but we have a capture.
  9488. * TextControl.cs: A special case for when the cursor is outside
  9489. the bounds of the TB.
  9490. 2007-03-18 Jackson Harper <[email protected]>
  9491. * TextBoxBase.cs: Remove image pasting code for now. There is no
  9492. way to get an image on the clipboard right now anyways.
  9493. * TextControl.cs:
  9494. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  9495. 2007-03-18 Everaldo Canuto <[email protected]>
  9496. * MessageBox.cs:
  9497. - Set window properties in constructor intead of on CreateParams.
  9498. - Remove topmost from Window ExStyle.
  9499. - Set ShowInTaskbar to false.
  9500. - Set form border to FixedDialog.
  9501. - Some cosmetic changes and remove unneeded comments.
  9502. - It fixes itens 2,3 and 4 of bug #80043.
  9503. 2007-03-18 Gert Driesen <[email protected]>
  9504. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  9505. none was explicitly set. Fixes part of bug #79949.
  9506. 2007-03-16 George Giolfan <[email protected]>
  9507. * ToolStripComboBox.cs: Add AutoComplete*.
  9508. 2007-03-16 George Giolfan <[email protected]>
  9509. * ToolStripComboBox.cs: Add FlatStyle.
  9510. 2007-03-16 Jonathan Pobst <[email protected]>
  9511. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  9512. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  9513. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  9514. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  9515. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  9516. DataGridColumnStyle.cs: Remove warnings.
  9517. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  9518. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  9519. it.
  9520. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  9521. visibility of mdi child forms. FormSizeChangedHandler: update the
  9522. maximized size if size has changed while maximized.
  9523. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  9524. creating the handle.
  9525. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  9526. avoid creating the handle if not created.
  9527. * XplatUI.cs: Update debug output.
  9528. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  9529. 2007-03-16 Jonathan Pobst <[email protected]>
  9530. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  9531. ProcessCmdKey().
  9532. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  9533. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  9534. Implement keyboard shortcuts.
  9535. 2007-03-15 Everaldo Canuto <[email protected]>
  9536. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  9537. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  9538. ColorDialog and all derived classes.
  9539. 2007-03-15 Everaldo Canuto <[email protected]>
  9540. [ Fixes bug #79828 ]
  9541. * ToolBar.cs:
  9542. - Rename ToolBarButtonInfor to ToolBarItem.
  9543. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  9544. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  9545. collection to be able add same button more than one time on a toolbar.
  9546. - Refactory all properties and methods to use ToolBarItem.
  9547. * ToolBarButton.cs:
  9548. - Remove all propeties and methods that is now in ToolBarItem.
  9549. - Rectangle propery now gets the rectangle from first ToolBarItem to
  9550. mimic win32 behavior.
  9551. - Size calculation and layout methods also removed.
  9552. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  9553. ToolBarItem instead of ToolBarButton to right drawing buttons when
  9554. same button/separator was added more than one time to ToolBar.
  9555. * ThemeNice.cs: Same as above.
  9556. 2007-03-15 Andreia Gaita <[email protected]>
  9557. * XplatUIX11.cs: Fire extra MouseMove events right after
  9558. MouseDown and MouseUp, emulating win32's <censored> behaviour
  9559. for apps that rely on it.
  9560. 2007-03-15 Jackson Harper <[email protected]>
  9561. * TextControl.cs:
  9562. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  9563. it is drawn on the controls client window and there is no NC
  9564. area.
  9565. - Set the background color to gray on 2.0 when we are readonly.
  9566. 2007-03-15 Chris Toshok <[email protected]>
  9567. [ Fixes bug #81144 ]
  9568. * XplatUIX11.cs: implement VirtualScreen independently of
  9569. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  9570. property.
  9571. 2007-03-15 Chris Toshok <[email protected]>
  9572. * Hwnd.cs: add an internal field for the cached_window_state.
  9573. * XplatUIX11.cs: cache the window state, invalidating the cache
  9574. (and thus re-querying the X server) only when we see an update to
  9575. the _NET_WM_STATE property.
  9576. 2007-03-15 Chris Toshok <[email protected]>
  9577. * BindingSource.cs: get a lot of the unit tests working.
  9578. 2007-03-15 Jonathan Pobst <[email protected]>
  9579. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  9580. 0 instead of just bounds > 0. [Fixes bug #80912]
  9581. 2007-03-15 Jonathan Pobst <[email protected]>
  9582. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  9583. and methods.
  9584. 2007-03-15 Ivan N. Zlatev <[email protected]>
  9585. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  9586. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  9587. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  9588. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  9589. 2007-03-15 Chris Toshok <[email protected]>
  9590. [ Fixes #81101 ]
  9591. * Control.cs: add Ivan's fix for 81101, with a slight modification
  9592. - you can set control.Target to null.
  9593. 2007-03-14 Jonathan Pobst <[email protected]>
  9594. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  9595. HideDropDown, use Hide instead to prevent an NRE.
  9596. [Fixes bug #81147]
  9597. 2007-03-14 Jackson Harper <[email protected]>
  9598. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  9599. to calculate the document before the handle is created, in some
  9600. cases. (Actually just one case).
  9601. 2007-03-14 Jackson Harper <[email protected]>
  9602. * TextBoxBase.cs: Need to display the caret after letting the base
  9603. wndproc handle the focus methods, because the caret display
  9604. methods check the focus state.
  9605. - Try to display the caret after updating it's position with SelectWord.
  9606. - Don't need to do an immediate update on this recalc, since there
  9607. will be an invalidate anyways.
  9608. 2007-03-14 Jackson Harper <[email protected]>
  9609. * TreeView.cs: Some workarounds so that we can match event order a
  9610. little better.
  9611. 2007-03-14 Gert Driesen <[email protected]>
  9612. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  9613. #80803. Avoid NullReferenceException when Control does not have
  9614. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  9615. event a single time. Only draw error icon when control is created and
  9616. visible. Fixes failing unit tests.
  9617. 2007-03-14 Andreia Gaita <[email protected]>
  9618. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  9619. Selecting events. Fire Leave and Enter events when changing tabs.
  9620. 2007-03-14 George Giolfan <[email protected]>
  9621. * TreeView.cs: Add TreeViewNodeSorter.
  9622. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  9623. 2007-03-14 Chris Toshok <[email protected]>
  9624. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  9625. removed earlier and I had him add back it. It turns out metacity
  9626. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  9627. just doesn't redraw the window titlebar until you resize the
  9628. window. This also means we aren't recreating the entire window
  9629. hierarchy on X when you change this property. And it looks better
  9630. on windows, too.
  9631. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  9632. * ListViewItem.cs:
  9633. * ListView.cs: Collecting selection information
  9634. is now done in SelectedIndexCollection rather than in
  9635. SelectedListViewItemCollection. This is done so we can
  9636. have the selection information code in one single place
  9637. (virtual mode selection information entirely depends on
  9638. SelectedIndexCollection).
  9639. 2007-03-13 Miguel de Icaza <[email protected]>
  9640. * ErrorProvider.cs: Add stubs for ISupportInitialize
  9641. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  9642. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  9643. in the right order with the right values, from the Checked property,
  9644. just as MS does (instead of triggering them from ListView).
  9645. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  9646. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  9647. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  9648. the correct handler in OnItemCheck method (ItemCheckEventHandler
  9649. instead of EventHandler). This used to throw an InvalidCastException.
  9650. 2007-03-13 Jackson Harper <[email protected]>
  9651. * TextBoxBase.cs: Calculate the document before the handle is
  9652. created, so there isn't an extra invalidate called.
  9653. 2007-03-13 Jonathan Pobst <[email protected]>
  9654. * Form.cs: Don't set owner in ShowDialog until we are sure
  9655. that we aren't going to throw an exception. [Fixes bug #80773]
  9656. 2007-03-12 George Giolfan <[email protected]>
  9657. * TreeView.cs: Make it compile.
  9658. 2007-03-12 Jonathan Pobst <[email protected]>
  9659. * Control.cs: Another place we don't call SizeFromClientSize.
  9660. * Form.cs: Another place we don't call SizeFromClientSize.
  9661. [Fixes bug #81125]
  9662. 2007-03-12 Jackson Harper <[email protected]>
  9663. * TreeView.cs: Basically emulating some strangness here with
  9664. exanding nodes and setting node positions when windows aren't
  9665. created.
  9666. - Also attempting to walk the node tree less than previously, and
  9667. just use visible order calculations for determining offsets.
  9668. - oops made scrolling backwards.
  9669. * TreeNode.cs: We need to start nodes with a zero visible order,
  9670. because the order calcs are based on the first nodes order.
  9671. 2007-03-12 Jonathan Pobst <[email protected]>
  9672. * Form.cs: Don't exit the program if RecreateHandle is called on
  9673. the main form.
  9674. 2007-03-12 Chris Toshok <[email protected]>
  9675. * XEventQueue.cs: remove the use of PostQuitState.
  9676. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  9677. WM_QUIT message in GetMessage, return false (and if we're in the
  9678. nested WaitForHwndMessage, repost the WM_QUIT message).
  9679. 2007-03-12 Jonathan Pobst <[email protected]>
  9680. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  9681. or the MaximizeBox properties. [Part of bug #80640]
  9682. 2007-03-12 Everaldo Canuto <[email protected]>
  9683. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  9684. no links.
  9685. 2007-03-12 Jonathan Pobst <[email protected]>
  9686. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  9687. instead of visible.
  9688. 2007-03-12 Gert Driesen <[email protected]>
  9689. * FileDialog.cs: Use text of File name combobox to determine what
  9690. files the user selected. Added tokenizer to parse the file names.
  9691. Fixes bug #81123.
  9692. 2007-03-12 Jonathan Pobst <[email protected]>
  9693. * Control.cs: We can't call SizeFromClientSize in the constructor,
  9694. but we still need to do the same work, so make an internal version.
  9695. [Fixes bug #80621]
  9696. 2007-03-12 Jackson Harper <[email protected]>
  9697. * TreeView.cs:
  9698. * TreeNode.cs:
  9699. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  9700. IsExpanded.
  9701. 2007-03-12 Jackson Harper <[email protected]>
  9702. * TextBoxBase.cs: Now that the handles are being created a little
  9703. later, we need to make sure that the document is recalculated when
  9704. the handle is created.
  9705. 2007-03-11 Everaldo Canuto <[email protected]>
  9706. * Theme.cs: GetLinkFont abstract method added.
  9707. * LinkLabel.cs:
  9708. - Remove CalcTrimRectangle, no longer needed.
  9709. - Factor also remove, position issues must be fixed in libgdiplus.
  9710. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  9711. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  9712. care about font used to draw links.
  9713. - Set TabStop to true when control is "Selectable", control is selectable
  9714. when have one or more links. Fixes #80501 (test case is also added).
  9715. - Set the LinkArea values after links change, LinkArea values must be
  9716. based in first link position and size, a test case was created.
  9717. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  9718. the attribute must be true LinkArea.Length > 0. The same was applied to
  9719. TabStop.
  9720. * ThemeWin32Classic.cs:
  9721. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  9722. in draw method.
  9723. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  9724. color change.
  9725. - Draw focus rectangle for every parts focused, including parts that
  9726. is on another line, its because regions returns various rectangles
  9727. and not only one. Needed to mimic W32 look.
  9728. - Uses Graphics.Clip to delimite region painted, it mean that now
  9729. complete text is passed to DrawString, with this we solve layout
  9730. issues without create another text renderer.
  9731. - Uses Region.Intersect to fix some flickers problems, now only needed
  9732. parts will redrawed.
  9733. - This changes fixes #79614 and some other unreported issues, on Linux
  9734. some layout problems still remain, the problem is under
  9735. MeasureCharacterRanges but it is an libgdiplus bug.
  9736. 2007-03-10 Gert Driesen <[email protected]>
  9737. * TextBox.cs: Set for foreground color.
  9738. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  9739. this is already done in Control.
  9740. 2007-03-10 Jackson Harper <[email protected]>
  9741. * TextBox.cs: Set the background color, but reset the
  9742. backcolor_set flag which is just for the user setting the
  9743. background color.
  9744. 2007-03-09 Chris Toshok <[email protected]>
  9745. * Control.cs: really remove the call to XplatUI.SetVisible from
  9746. CreateHandle(), like I said I did when I merged the branch.
  9747. * BindingSource.cs: implement some more of this stuff.
  9748. 2007-03-09 Jackson Harper <[email protected]>
  9749. * TextBox.cs: Don't explicitly set our background colors.
  9750. * TextControl.cs:
  9751. * TextBoxBase.cs: Draw readonly text.
  9752. - Need to invalidate when backcolor or readonly are changed.
  9753. 2007-03-09 Jackson Harper <[email protected]>
  9754. * TextBoxBase.cs: Don't set the forecolor until the handle is
  9755. created.
  9756. - Do not raise OnPaint, and removed some old debug code.
  9757. 2007-03-09 George Giolfan <[email protected]>
  9758. * ScrollableControl.cs: Fix mouse wheel scrolling.
  9759. 2007-03-09 Jonathan Pobst <[email protected]>
  9760. * Control.cs: Wire up MouseDoubleClick event.
  9761. 2007-03-09 Jonathan Pobst <[email protected]>
  9762. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  9763. top or bottom.
  9764. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  9765. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  9766. item is added. This logic was moved to ToolStrip.OnItemAdded.
  9767. [Fixes bug #81090]
  9768. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  9769. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  9770. 2007-03-08 Jackson Harper <[email protected]>
  9771. * TreeView.cs: Show the correct image for selected node (this used
  9772. to work, not sure how the code got deleted). Also implemented 2.0 feature
  9773. SelectedImageKey.
  9774. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  9775. * ListView.cs:
  9776. * ListViewItem.cs: Cache index in items when retrieving them
  9777. in VirtualMode.
  9778. 2007-03-08 Jonathan Pobst <[email protected]>
  9779. * ToolStripItem.cs: Don't return the explicit_size if we are using
  9780. AutoSize. Fixes invalidation issue when user has explicitly set a
  9781. size and has AutoSize = true.
  9782. 2007-03-08 Jonathan Pobst <[email protected]>
  9783. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  9784. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9785. * DataGridView.cs: Remove event handler from DataView when a
  9786. DataTable is used as DataSource.
  9787. 2007-03-08 Jonathan Pobst <[email protected]>
  9788. * Control.cs: Create internal setter for client_size to allow it to be
  9789. set without triggering resizing code.
  9790. * Form.cs: Calculate client_size in constructor, only change client_size
  9791. in FormBorderStyle property if Handle has been created.
  9792. [Fixes #80574, #80791]
  9793. 2007-03-08 George Giolfan <[email protected]>
  9794. * SystemInformation.cs: Add TerminalServerSession.
  9795. 2007-03-07 Jonathan Pobst <[email protected]>
  9796. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  9797. TreeView code.
  9798. 2007-03-07 Jonathan Pobst <[email protected]>
  9799. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  9800. Handle before we were supposed to. Now checks ActivateOnShow property
  9801. in Control.
  9802. * Control.cs: Add internal ActivateOnShow property.
  9803. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  9804. for ActivateOnShow.
  9805. * Hwnd.cs Remove no longer needed no_activate field.
  9806. 2007-03-07 Jackson Harper <[email protected]>
  9807. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  9808. 2.0 properties
  9809. * DrawTreeNodeEventHandler.cs: Add
  9810. * DrawTreeNodeEventArgs.cs: Correct default value.
  9811. 2007-03-07 Chris Toshok <[email protected]>
  9812. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  9813. to be called before NativeWindow.WndProc. Put the HwndCreating
  9814. magic there to hook up our Hwnd's to handles.
  9815. 2007-03-07 Gert Driesen <[email protected]>
  9816. * DataGridView.cs: Comment out debug code.
  9817. 2007-03-07 Chris Toshok <[email protected]>
  9818. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  9819. to make the rest of the world happy]
  9820. * Control.cs (CreateHandle): there's no need to call
  9821. XplatUI.SetVisible here, it's effectively done by
  9822. XplatUI.CreateWindow on X now, and always was on windows.
  9823. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  9824. shortcircuit out of the loop if we have a message loop running on
  9825. this thread.
  9826. [Changelog from merge]
  9827. 2007-03-05 Chris Toshok <[email protected]>
  9828. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  9829. causes handle creation.
  9830. 2007-02-28 Chris Toshok <[email protected]>
  9831. * ApplicationContext.cs: Add a flag to make sure we only raise the
  9832. ThreadExit event once (ExitThreadCore can be indirectly called
  9833. from a few places.) I don't like the additional flag, but it
  9834. makes the event ordering/count correct.
  9835. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  9836. without locking the collection. An enumerator doesn't give us any
  9837. protection from modification anyway. Lock the thread hash and
  9838. replace the complicated enumerator loop with a foreach.
  9839. (Application.CloseForms): make internal so it can be called from
  9840. ApplicationContext. This should probably be moved to MWFThread.
  9841. (Application.ExitThread): don't call MWFThread.Current.Exit()
  9842. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  9843. when the runloop exits (in response to WM_QUIT.)
  9844. (Application.RunLoop): add a comment (and check) for
  9845. context.MainForm being null after setting context.MainForm.Visible
  9846. = true. This is because you're perfectly free to dispose of a
  9847. form in VisibilityChanged. Chalk this up to another case where we
  9848. need to synchronously generate WM_ACTIVATE from Control.Show.
  9849. Also, add handling for WM_QUIT here so we'll exit the loop.
  9850. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  9851. fact that we don't wait if we're only unmapping the whole_window
  9852. makes me a bit nervous, but it doesn't seem to cause any problems
  9853. yet.
  9854. also, add a comment about the stupid, broken and wrong resetting
  9855. of PostQuitState to false in GetMessage().
  9856. In PostQuitMessage, we need to add a WM_QUIT message to the
  9857. thread's queue. We use the FosterParent to get the right
  9858. handle/hwnd/queue.
  9859. Lastly, in SetVisible, we need to unmap both windows, since the
  9860. waiting only happens when we're unmapping the client window. So
  9861. now, the *only* time we unmap just the whole_window is in the hack
  9862. for resizing a control to 0,0.
  9863. 2007-02-21 Chris Toshok <[email protected]>
  9864. * Application.cs (CloseForms): rewrite this so that we don't
  9865. modify the list while we're traversing it.
  9866. 2007-02-20 Chris Toshok <[email protected]>
  9867. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  9868. of OnHandleCreated.
  9869. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  9870. handle is created. otherwise we'll create it here.
  9871. (VerticalScrollEvent): same here.
  9872. * Application.cs (CloseForms): call Form.Dispose, don't post
  9873. WM_CLOSE_INTERNAL.
  9874. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  9875. here. Application should Dispose() of the Form's.
  9876. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  9877. WM_DESTROY as well.
  9878. (MapWindow,UnmapWindow): only actually do the waiting for
  9879. SHOWWINDOW if the control we're dealing with is a Form.
  9880. (CreateWindow): if the control isn't a form, SendMessage
  9881. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  9882. * Control.cs (SetVisibleCore): always use is_visible here, not
  9883. value. If we use value, we can end up re-setting something
  9884. visible if, for instance, you do Control.Hide() in a delegate
  9885. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  9886. 2007-02-20 Chris Toshok <[email protected]>
  9887. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  9888. the message we need. PeekMessage returning false should not be a
  9889. condition under which we exit the loop.
  9890. 2007-02-15 Chris Toshok <[email protected]>
  9891. * Control.cs (Refresh): only refresh if we've got a handle and are
  9892. visible.
  9893. (CreateAccessibilityInstance): CreateControl() here.
  9894. (UpdateChildrenZOrder): complicate the code loop even more by
  9895. taking into account controls that haven't had their handle
  9896. created, and those that aren't visible. But on the flip side,
  9897. simplify the code by splitting it into two loops. one which
  9898. builds up the list of child controls we're interested in, and the
  9899. other that sets the z order of those children.
  9900. 2007-02-14 Chris Toshok <[email protected]>
  9901. * Control.cs: Control.AccessibilityObject causes the control to be
  9902. created, not just the handle.
  9903. 2007-02-14 Chris Toshok <[email protected]>
  9904. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  9905. problem on X where a window might have its handle created (and be
  9906. visible) while the window is unmapped. calling XConfigureWindow
  9907. on an unmapped window is bad, and generates X errors.
  9908. 2007-02-13 Chris Toshok <[email protected]>
  9909. * Control.cs (CreateHandle): don't loop over our children setting
  9910. their parent here. do it when in WndProc when we're shown.
  9911. (UpdateChildrenZOrder): make this internal so we can call it from
  9912. ScrollableControl.
  9913. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  9914. creating its handle. Also, remove the calls to PerformLayout from
  9915. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  9916. OnVisibleChanged only seems to be called directly here for the
  9917. toplevel control. It's propagated down the window hierarchy by
  9918. calls to child.OnParentVisibleChanged.
  9919. (OnVisibleChanged): don't do layout here - it's done (oddly
  9920. enough, according to a glance at stack traces on ms.net..) in
  9921. ScrollableControl.
  9922. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  9923. z order of our children before calling PerformLayout.
  9924. 2007-02-12 Chris Toshok <[email protected]>
  9925. [big change, fixes #80020]
  9926. * AccessibleObject.cs: we need to make owner internal again to fix
  9927. some of ControlAccessibleObject.
  9928. * Control.cs: lots of changes here. add support for WM_CREATE,
  9929. for which we generate OnHandleCreated. Remove the OnHandleCreated
  9930. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  9931. we create child controls. leave the MonoTODO's for the
  9932. accessibility calls, but fix the exceptions so the tests pass.
  9933. Add the InvalidOperationExceptions to Invoke methods, and remove a
  9934. couple of InvokeInternal methods we aren't using.
  9935. Also, add a couple of CreateHandle calls in places where we know
  9936. the handles are being created but our code doesn't reference
  9937. .Handle.
  9938. Make SetVisibleCore call OnVisibleChange if the handle isn't
  9939. created. If the handle is created, we rely on XplatUI.SetVisible
  9940. generating the event synchronously.
  9941. Lastly, make sure we don't use this.Handle inside CreateHandle,
  9942. because we can call back into client (and that code can dispose of
  9943. the control).
  9944. * XplatUIStructs.cs: misc/cleanup.
  9945. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  9946. although we don't populate the wParam properly.
  9947. (CreateWindow): generate WM_CREATE.
  9948. (MapWindow,UnmapWindow): make these calls synchronous, at great
  9949. performance expense (particularly in the unmap case), to match
  9950. win32 behavior.
  9951. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  9952. to call it.
  9953. (set_MdiParent): don't recreate the handle unless it's been
  9954. created already.
  9955. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  9956. it's created.
  9957. * NativeWindow.cs: this is probably the weirdest part of the
  9958. patch. We need a way to link up the window being created to the
  9959. WM_CREATE message. Since we can only be creating one window at a
  9960. time on a given thread, we keep track of a per-thread reference so
  9961. we can dispatch it properly. We also need to keep track of the
  9962. Hwnd currently being created so that the win32 backend doesn't
  9963. have problems.
  9964. * XplatUIWin32.cs: a similar change to the one we made in
  9965. NativeWindow.cs.
  9966. 2007-03-07 Jonathan Pobst <[email protected]>
  9967. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  9968. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  9969. to draw the menu shortcut string.
  9970. 2007-03-07 Jackson Harper <[email protected]>
  9971. * TreeNode.cs: Add the 2.0 collapse method.
  9972. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9973. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  9974. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9975. * DataGridView.cs: Change DataSource will clear column and row
  9976. lists. Call Invalidate() to reflect DataSource change.
  9977. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9978. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  9979. and a new row is added to it.
  9980. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9981. * DataGridView.cs: Add columns when DataSource is en empty list but
  9982. is a System.Data.DataView (from a System.Data.DataTable).
  9983. 2007-03-06 Andreia Gaita <[email protected]>
  9984. * Label.cs: Implement AutoEllipsis (2.0)
  9985. 2007-03-06 Jackson Harper <[email protected]>
  9986. * TreeView.cs: Implement 2.0 TopNode setter property.
  9987. - Use a local var instead of the skipped_nodes field for computing
  9988. how many nodes to skip. Otherwise we won't scroll because the
  9989. valuechanged handler checks if skipped_nodes is equal to the new
  9990. value.
  9991. - Implement 2.0 Sort method.
  9992. - Add useless 2.0 DoubleBuffer property
  9993. - Implement 2.0 LineColors property. Lets you change the color of
  9994. the lines in the tree. Terribly useful for creating non cohesive
  9995. desktops.
  9996. - Implement 2.0 image key feature.
  9997. 2007-03-06 Jackson Harper <[email protected]>
  9998. * TreeView.cs: We can't get the bounds of the nodes before raising
  9999. the AfterSelect event, because that event could change the node's
  10000. bounds (scrolling, font change, etc).
  10001. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  10002. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  10003. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  10004. update window styles. In CreateParams us VisibleInternal instead of
  10005. VIsible to get the actual visible flag set for this form.
  10006. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  10007. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  10008. handle the case when the form is already maximized, in which case
  10009. it should be restored. Fixes #81043.
  10010. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  10011. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  10012. 2007-03-05 Jackson Harper <[email protected]>
  10013. * TreeViewHitTestInfo.cs: implement.
  10014. 2007-03-05 Jackson Harper <[email protected]>
  10015. * InternalWindowManager.cs: class status fix.
  10016. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  10017. * InternalWindowManager.cs: All windows that have a parent
  10018. are confined to their parent when they're being moved.
  10019. Fixes #80822.
  10020. 2007-03-04 Gert Driesen <[email protected]>
  10021. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  10022. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  10023. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  10024. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  10025. buttons invisible before deciding which ones should be visible
  10026. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  10027. an unused variable.
  10028. * InternalWindowManager.cs: Remove warning.
  10029. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  10030. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  10031. to throw an InvalidOperationException is virtual mode is being used.
  10032. 2007-03-02 Jonathan Pobst <[email protected]>
  10033. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  10034. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  10035. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  10036. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  10037. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  10038. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  10039. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  10040. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  10041. driver.KeyboardDelay from XplatUI.KeyboardDelay
  10042. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  10043. (patch by Sergey Volk)
  10044. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  10045. * ToolWindowManager.cs: Added, contains logic for
  10046. tool windows.
  10047. * CreateParams.cs: Add a few helper methods and an
  10048. internal variable to know which control the CreateParams belongs
  10049. to.
  10050. * Control.cs: Call Form.ChangingParent when the
  10051. parent is about to be changed.
  10052. * XplatUIX11.cs: DeriveStyles (): Set
  10053. caption_height for all windows that have captions and are children.
  10054. Update to use ToolWindowManager instead of InternalWindowManager
  10055. for ToolWindows.
  10056. * XplatUIWin32.cs: Set fake window styles for all
  10057. windows that have window managers.
  10058. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  10059. now duplicated for mdi windows when they are
  10060. maximized, first for the buttons the window itself has, then for
  10061. the buttons that appear in the menu bar. Makes things a little
  10062. easier). Updated UpdateWindowDecorations, SetWindowState and the
  10063. mouse eventhandlers accordingly.
  10064. * Form.cs: Add ChangingParent (), contains the
  10065. logic of what should happen when the parent changes. In MdiParent
  10066. don't set things that ChangingParent () is doing. When handling
  10067. WM_CLOSE, we can close the form if there are any other modal forms
  10068. and the current form is a descendent of the modal form.
  10069. * InternalWindowManager.cs: A lot of refactoring,
  10070. the title buttons are now extracted to a separate container class
  10071. that takes care of all button code (clicks, tooltips, etc). Moved
  10072. Iconic|Maximized|Normal Bounds properties to this class from
  10073. MdiWindowManager, so that the window state logic can succeed for
  10074. other than mdi wm's. Implemented general window state change logic.
  10075. Moved CreateButtons to ThemeWin32Classic, since the theme might
  10076. override which buttons are available when as well as the exact
  10077. location.
  10078. * FormWindowManager.cs: Added, contains logic for
  10079. normal forms.
  10080. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  10081. which buttons go where (and if they are at all visible).
  10082. Removed special handling of maximized windows, since they aren't special.
  10083. In DrawManagedWindowDecorations don't try to draw the text if it is
  10084. empty.
  10085. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  10086. use whatever the wm gives us.
  10087. 2007-03-02 Jonathan Pobst <[email protected]>
  10088. * ButtonBase.cs: Add 2.0 properties.
  10089. * Button.cs: Override Draw for 2.0.
  10090. * Control.cs: Add Entered and Selected properties.
  10091. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  10092. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  10093. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  10094. buttons.
  10095. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  10096. 2007-03-01 Jonathan Pobst <[email protected]>
  10097. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  10098. 2007-03-01 Jonathan Pobst <[email protected]>
  10099. * XplatUIWin32.cs: Register a new class with Windows each time we get
  10100. a new ClassStyle. [Fixes bugs #79432, #80817]
  10101. * Controls.cs: Set the correct ClassStyle in CreateParams.
  10102. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  10103. 2007-03-01 Gert Driesen <[email protected]>
  10104. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  10105. ColumnReordered event must not be signaled when modifying DisplayIndex
  10106. of a ColumnHeader. Added internal ReorderColumns method which takes
  10107. care of drawing, and updating the internal DisplayIndex of the
  10108. ColumnHeader. Added AddColumn method which is invoked from
  10109. ColumnHeaderCollection when adding or inserting columns, and which
  10110. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  10111. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  10112. Recalculated dispay indices after removing a ColumnHeader.
  10113. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  10114. match MS. Allows last display index to be returned after ListView
  10115. is disposed. Update actual location of ColumnHeader when DisplayIndex
  10116. is modified.
  10117. 2007-03-01 Everaldo Canuto <[email protected]>
  10118. * LinkLabel.cs: Improve CalcTrimRectangle.
  10119. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  10120. 2007-02-28 Everaldo Canuto <[email protected]>
  10121. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  10122. get rectangle as a result value.
  10123. 2007-02-28 Everaldo Canuto <[email protected]>
  10124. * LinkLabel.cs: Theres some diferences between rectangle return from
  10125. MeasureCharacterRanges and the area used for DrawString to fix this
  10126. CalcMeasurementFactor method was created, it calcules the diferences
  10127. to be use later to adjust rectangle in draw operations. Fixes #80473.
  10128. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  10129. to adjust draw rectangle.
  10130. 2007-02-27 Everaldo Canuto <[email protected]>
  10131. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  10132. text and some other changes to reduce and optimize source code.
  10133. 2007-02-27 Jonathan Pobst <[email protected]>
  10134. * RadioButton.cs: Implement 2.0 event.
  10135. * RelatedImageListAttribute.cs: Implement new class.
  10136. 2007-02-27 Everaldo Canuto <[email protected]>
  10137. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  10138. 2007-02-27 Jonathan Pobst <[email protected]>
  10139. * CheckBox.cs: Implement 2.0 functionality.
  10140. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  10141. * ListView.cs: Refactor Add and AddRange methods of
  10142. ListViewItemCollection, to not update the ListView
  10143. everytime an item is added in AddRange. Also move the update
  10144. code to a new CollectionChanged method, and call it
  10145. from other methods that need it as well (this should also fix some
  10146. bugs when Sorting is used).
  10147. 2007-02-27 Jackson Harper <[email protected]>
  10148. * TextControl.cs: Try to never let the caret stay in a non-text
  10149. tag.
  10150. * TextBoxBase.cs: Update the caret.
  10151. 2007-02-26 Jonathan Pobst <[email protected]>
  10152. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  10153. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  10154. delete POINT structure, duplicate of one in XplatUIStructs.
  10155. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  10156. 2007-02-26 Gert Driesen <[email protected]>
  10157. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  10158. edit box since otherwise the Label would immediately be set (even if
  10159. the user did not modify the label). In OnKeyDown set Handled to true
  10160. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  10161. columns that are to be removed. In ListViewItemCollection unlink items
  10162. that are to be removed.
  10163. 2007-02-24 Jonathan Pobst <[email protected]>
  10164. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  10165. it when we are done. [Fixes bug #80949]
  10166. 2007-02-23 Jonathan Pobst <[email protected]>
  10167. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  10168. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  10169. * ListView.cs: I forgot to commit the changes for ListView
  10170. in my previous patch.
  10171. 2007-02-23 Jonathan Pobst <[email protected]>
  10172. * Clipboard.cs: Partially implement an overload of SetDataObject.
  10173. * Form.cs: Implement ShowWithoutActivation.
  10174. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  10175. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  10176. This is a first set of changes to make the Virtual mode works,
  10177. by avoiding the retrieval of ListViewItem instances until
  10178. draw time.
  10179. * ListView.cs: Store item position in the ListView instead of the
  10180. ListViewItem, this way we don't request the Bounds property of
  10181. ListViewItem inside the ListView calculations, as well as cache the item
  10182. size in item_size field. Store indexes instead of ListViewItem
  10183. instances in the matrix used by icon view. Add a ItemMatrixLocation
  10184. struct to hold the row and col info of the matrix info.
  10185. * ListViewItem.cs: Don't store the location anymore, and only cache
  10186. the rectangles for GetBounds. Use the ListView.GetItemLocation
  10187. method to retrieve the actual location.
  10188. 2007-02-23 Jonathan Pobst <[email protected]>
  10189. * TextRenderer.cs: Add clipping support, thanks to George.
  10190. [Fixes bug #80949]
  10191. 2007-02-23 Gert Driesen <[email protected]>
  10192. * ListViewItem.cs: Cancel label edit when item is removed from
  10193. ListView.
  10194. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  10195. event before the edit textbox is displayed. Added CancelEdit method
  10196. which is used end to editing while ignoring the value set by the
  10197. user. In EndEdit, set focus to ListView to avoid losing focus to
  10198. other controls. In ListViewItemCollection.Clear, cancel editing of
  10199. any of the items. In Remove, cancel editing of item being removed.
  10200. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  10201. 2007-02-23 Gert Driesen <[email protected]>
  10202. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  10203. bug #80948.
  10204. 2007-02-23 Everaldo Canuto <[email protected]>
  10205. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  10206. compatible with non X11 systems. Fixes #80901.
  10207. 2007-02-23 Gert Driesen <[email protected]>
  10208. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  10209. whether the item should be unselected and reselect. We do no want this
  10210. when we're starting to edit the label. Do not fire the
  10211. SelectedIndexChanged event from ListView when its already been fired
  10212. by modifying ListViewItem.Selected. Fixes bug #80943.
  10213. 2007-02-23 Jonathan Pobst <[email protected]>
  10214. * TextRenderer.cs: Previos commit logic was backwards.
  10215. 2007-02-23 Jonathan Pobst <[email protected]>
  10216. * TextRenderer.cs: Don't add padding on MeasureText if we were
  10217. sent the NoPadding flag.
  10218. 2007-02-23 Everaldo Canuto <[email protected]>
  10219. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  10220. after DrawButton. To prevent image overlaps button borders SetClip and
  10221. ResetClip added before and after draw image. Fixes #79129.
  10222. 2007-02-23 Everaldo Canuto <[email protected]>
  10223. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  10224. window size, it fix problem when you run under win32 that theres
  10225. Size diferent than ClientSize. Also fix controls size and positions
  10226. to mimic Win32. Fixes #80837.
  10227. 2007-02-22 Everaldo Canuto <[email protected]>
  10228. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  10229. menu area to fix some problems for non X11 systems. Fixes #80613.
  10230. 2007-02-22 Jackson Harper <[email protected]>
  10231. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  10232. even if it doesn't have any children.
  10233. 2007-02-22 Jackson Harper <[email protected]>
  10234. * TreeView.cs: Calculate the top node 'on the fly', this
  10235. eliminates issues where you need to click on the tree before
  10236. scrolling it to get the top node computed correctly.
  10237. * TreeNodeCollection.cs: We don't need to mess with the top node
  10238. anymore.
  10239. 2007-02-22 Jackson Harper <[email protected]>
  10240. * DataGridViewRow.cs: Fix typo so height can actually be set.
  10241. Patch by Peter Grimm.
  10242. 2007-02-22 Gert Driesen <[email protected]>
  10243. * FileDialog.cs: Fixed support for renaming files and directories.
  10244. * ListView.cs: Do not lose focus when edit is canceled. Process
  10245. Escape as regular key (to prevent closing of dialogs).
  10246. 2007-02-22 Gert Driesen <[email protected]>
  10247. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  10248. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  10249. 2007-02-22 Gert Driesen <[email protected]>
  10250. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  10251. did not modify label.
  10252. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  10253. modified the text. Reset Label when user presses Escape in edit mode.
  10254. Move focus to ListView after having cancelled or finished editing the
  10255. label.
  10256. 2007-02-21 Gert Driesen <[email protected]>
  10257. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  10258. private. Clear textbox when Text is set to null and SelectedIndex is
  10259. already -1.
  10260. * FileDialog.cs: Removed unnecessary initializations. Removed
  10261. workarounds for ComboBox bugs that are now fixed. Modified
  10262. DefaultExt, InitialDirectory and Title property to change null to
  10263. zero-length string in getters. Avoid directly accessing fields.
  10264. 2007-02-20 Jackson Harper <[email protected]>
  10265. * TextControl.cs: Remove RecalAlignments call, that was some
  10266. debugging leftovers.
  10267. - Don't use the line indent when we shouldn't.
  10268. * RichTextBox.cs: Add support for paragraph left indents.
  10269. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  10270. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  10271. Seems like the class status pages doesn't catch params differences.
  10272. 2007-02-19 Gert Driesen <[email protected]>
  10273. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  10274. 2007-02-19 Gert Driesen <[email protected]>
  10275. * ComboBox.cs: Setting Text should have no effect if item text of
  10276. selected item exactly matches value. First lookup text using
  10277. case-sensitive comparison, and fallback to case-insensitive comparison.
  10278. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  10279. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  10280. paramname to match MS. Restart from first item if string is not found
  10281. after startIndex. Fixed paramname of ArgumentNullException that is
  10282. thrown for null value in ObjectCollection.Contains.
  10283. 2007-02-19 Everaldo Canuto <[email protected]>
  10284. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  10285. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10286. * ListControl.cs: In SelectedValue use value.Equals to compare for
  10287. equality instead of ==, otherwise it will fail for strings.
  10288. Fixes #80794.
  10289. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10290. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  10291. since the caret won't show up unless ShowSelection is true.
  10292. Fixes #80795.
  10293. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10294. * Application.cs: When disabling all forms but the main form, do not
  10295. disable any descendants of the main form (such as mdi children or
  10296. other parented forms). Fixes #80822 on Windows.
  10297. * Form.cs: If we have a parent, set the WS_CHILD style.
  10298. * Control.cs: Update the window styles if the control whose parent has
  10299. changed is a form (the WS_CHILD style has to be switched).
  10300. 2007-02-19 Everaldo Canuto <[email protected]>
  10301. * XplatUIStructs.cs: MsgUIState structure added.
  10302. 2007-02-18 Gert Driesen <[email protected]>
  10303. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  10304. profile, do not check filename(s) for illegal character if filename(s)
  10305. were set non-interactively but always check on 1.0 profile. Fixed NRE
  10306. in DefaultExt and only strip off first leading dot. Improve exception
  10307. message when invalid Filter is set. Do not ignore InitialDirectory if
  10308. it does no exist. Store specified Title, and if empty use default
  10309. title (depending on type of dialog). Added an internal DialogTitle
  10310. property for retrieving dialog title. Fixed logic of displayed dir to
  10311. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  10312. string as its buggy.
  10313. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  10314. FileName is a zero-length string (it can never be null). Override
  10315. DialogTitle property to set default title of dialog box.
  10316. * SaveFileDialog.cs: Override DialogTitle property to set default
  10317. title of dialog box.
  10318. 2007-02-18 Gert Driesen <[email protected]>
  10319. * FileDialog.cs: Modify default text of filename and filetype labels
  10320. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  10321. after we've updated the SelectedIndex. Fixes part of bug #80887.
  10322. * SaveFileDialog.cs: Set text of filetype label.
  10323. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  10324. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  10325. label field. Needed by latest Jackson's fixes for ListView.
  10326. 2007-02-16 Andreia Gaita <[email protected]>
  10327. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  10328. print preview images.
  10329. 2007-02-16 Jackson Harper <[email protected]>
  10330. * ListView.cs: Make AfterLabelEdit work correctly.
  10331. * FileDialog.cs: After changing the name of the folder, we have to
  10332. make sure that it is created, or that we pop up an error because
  10333. it already exists.
  10334. 2007-02-16 Jackson Harper <[email protected]>
  10335. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  10336. System.String are mapped to text.
  10337. - Handle dataobjects, getting all the possible formats out of them
  10338. - We dont need the drag event args before we give feedback. This
  10339. allows feedback cursors to be immediate before selections have
  10340. been converted.
  10341. 2007-02-16 Jackson Harper <[email protected]>
  10342. * TextBoxBase.cs: Modified the method for inserting images to
  10343. taking a line and position instead of tag and position.
  10344. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  10345. into the RTF file.
  10346. * TextControl.cs: Allow images to be inserted as the first tag of
  10347. a line.
  10348. - Fix some off by one issues when we assume the first tag is a
  10349. text tag, not an image tag.
  10350. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  10351. * ListView.cs: Set focus to ListView when ItemControl gets a
  10352. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  10353. Fixes part of #80467.
  10354. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  10355. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  10356. validate Text input (if null or empty string reset Value to default
  10357. value). Fixes #80830.
  10358. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  10359. * ListView.cs: Set owner as null for columns and items when
  10360. Dispose is invoked. Fixes #80607.
  10361. 2007-02-14 Jonathan Pobst <[email protected]>
  10362. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  10363. showing DropDowns, don't show a Grip when doing Flow layout.
  10364. [This fixes the toolbox in PDN 2.72.]
  10365. * ToolStripItem.cs: Add Anchor property and some internal properties to
  10366. reduces needed changes to FlowLayout.
  10367. * ToolStripOverflow.cs: Remove unused variable.
  10368. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  10369. use it in the layout calculations.
  10370. 2007-02-13 Everaldo Canuto <[email protected]>
  10371. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  10372. reported in #79640.
  10373. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  10374. size calculation.
  10375. 2007-02-13 Everaldo Canuto <[email protected]>
  10376. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  10377. MeasureString format, it can make button very large in some cases, it is
  10378. strange but is what win32 do.
  10379. 2007-02-13 Everaldo Canuto <[email protected]>
  10380. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  10381. size calculation.
  10382. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  10383. rendering, the value is based on MenuAccessKeysUnderlined.
  10384. 2007-02-13 Everaldo Canuto <[email protected]>
  10385. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  10386. for most themes.
  10387. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  10388. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  10389. and use MenuAccessKeysUnderlined instead.
  10390. 2007-02-13 Andreia Gaita <[email protected]>
  10391. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  10392. A selected control would not get a Focus call if:
  10393. - the default active control of the container is the same as
  10394. the one that was selected
  10395. - we are switching from one container to another
  10396. Under these conditions, the container being selected already has
  10397. an active_control, which is the same as the one being activated,
  10398. so set_ActiveControl would always return and not send the Focus
  10399. call. Fix to check if the currently active control of the container
  10400. is actually focused.
  10401. 2007-02-13 Jonathan Pobst <[email protected]>
  10402. * StatusStrip.cs: Implement the spring layout.
  10403. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  10404. always matches the host.
  10405. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  10406. and TextAfterImage.
  10407. 2007-02-13 Andreia Gaita <[email protected]>
  10408. * Control.cs: Code reorganization only.
  10409. - Reorganize the WndProc cases so that each case has it's own handling method,
  10410. to help with the no-line-numbering stack traces.
  10411. - Formatting changes (it's vstudio's fault, really :p)
  10412. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  10413. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  10414. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  10415. behaviour.
  10416. 2007-02-12 Jackson Harper <[email protected]>
  10417. * RichTextBox.cs:
  10418. * TextBox.cs: By default we have a non multiline document
  10419. - use the multiline property instead of the internal variable
  10420. * TextBoxBase.cs: Treat multiline and non multiline the same in
  10421. most places.
  10422. - Use the documents multiline flag instead of tracking it ourself
  10423. * TextControl.cs: Attempt at getting multiline to match MS
  10424. behavior. Lines now track an offset, which is either their X or Y
  10425. offset depending on whether or not we are in multiline mode.
  10426. - Update all the methods to understand that lines have an X value.
  10427. - Fix crash in Undo::Duplicate when empty lines are deleted.
  10428. 2007-02-12 Everaldo Canuto <[email protected]>
  10429. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  10430. code moved to properties PreferredHeight and PreferredWidth. It solve the
  10431. all problems when preferred sizes must be recalculated. Fixes #80801.
  10432. 2007-02-12 Everaldo Canuto <[email protected]>
  10433. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  10434. font height when compatible_text_rendering is false. Partially fix #80801.
  10435. 2007-02-09 Gert Driesen <[email protected]>
  10436. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  10437. 2007-02-09 Gert Driesen <[email protected]>
  10438. * Form.cs: Improved exception messages in ShowDialog.
  10439. 2007-02-09 Gert Driesen <[email protected]>
  10440. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  10441. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  10442. if not set. Fixes bug #80764. Avoid accessing current_settings field
  10443. directly.
  10444. 2007-02-08 Everaldo Canuto <[email protected]>
  10445. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  10446. false.
  10447. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  10448. public in 2.0 and for easy maintenance and dont break compatibility it is
  10449. internal in 1.1.
  10450. 2007-02-08 Jonathan Pobst <[email protected]>
  10451. * ToolStripItem.cs: Implement using images from ImageList.
  10452. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10453. * DateTimePicker.cs: Change default date-formatting culture from
  10454. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  10455. seems to be the way MS does it.
  10456. 2007-02-08 Andreia Gaita <[email protected]>
  10457. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  10458. (the 6 was cut off on the right side)
  10459. 2007-02-08 Jonathan Pobst <[email protected]>
  10460. * Form.cs: Tell MenuStrips to close when the form is clicked.
  10461. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  10462. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  10463. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  10464. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  10465. support for Overflow, where items that do not fit are automatically
  10466. reparented to a drop down menu.
  10467. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  10468. Also: fixes bug #80747.
  10469. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10470. * ComboBox.cs: Remove warning (unused code).
  10471. * ScrollableControl.cs: Remove warning for 1.1 profile.
  10472. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10473. * Form.cs: Remove a warning.
  10474. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10475. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  10476. 'g' specifier, not documented anywhere, but seems to always show up
  10477. as a single space (might have something to do with the DateTime 'g'
  10478. specifier, which is the era format, but since DateTimePicker can't
  10479. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  10480. won't crash if the format has an unmatched quote. Now shows
  10481. single-character formats correctly. Fixes #80744.
  10482. 2007-02-08 Jonathan Pobst <[email protected]>
  10483. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  10484. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  10485. 2007-02-07 Chris Toshok <[email protected]>
  10486. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  10487. background color. it overwrites the background image we've
  10488. already painted. Fixes #80599.
  10489. 2007-02-07 Chris Toshok <[email protected]>
  10490. * DataGrid.cs: return immediately from Edit() when there are no
  10491. columns. Fixes #80662.
  10492. 2007-02-07 Chris Toshok <[email protected]>
  10493. * MessageBox.cs: fix #80625. don't always show the Help button in
  10494. 2.0. use the displayHelpButton parameter to determine if we
  10495. should show it. Also, make the internal show_help field private.
  10496. 2007-02-07 Chris Toshok <[email protected]>
  10497. * Control.cs (SetVisibleCore): check in the proposed patch for
  10498. 80604, and set is_visible before calling CreateControl.
  10499. 2007-02-07 Jonathan Pobst <[email protected]>
  10500. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  10501. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  10502. on it.
  10503. 2007-02-06 Everaldo Canuto <[email protected]>
  10504. * MenuAPI.cs: hotkey_active internal field added, it is required because
  10505. we need to know when hotkeys must be draw, before this change a keystate
  10506. Navigating was used but we can have menu in navigating state without
  10507. hotkeys. Fixes #80694.
  10508. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  10509. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  10510. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  10511. corresponding events and methods to be internal for 1.1 profile and
  10512. public for 2.0 profile (required by SizeGrip).
  10513. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  10514. implicit control list). Don't set the size nor the location of the
  10515. SizeGrip anymore as it's not needed.
  10516. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  10517. draw directly on the captured control (fixes #80656). Removed
  10518. ShowGrip (it wasn't used anywhere), redraw (always true), added
  10519. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  10520. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  10521. be called from SizeGrip.
  10522. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  10523. * Timer.cs: Throw ArgumentException if Interval <= 0.
  10524. 2007-02-05 Jackson Harper <[email protected]>
  10525. * TreeView.cs: We need to check scrollbar visibility when window
  10526. visibility is updated, because non visible trees don't ever add
  10527. scrollbars.
  10528. * Cursor.cs: We want the override cursor to be reset to NULL when
  10529. we set current cursor to the default cursor.
  10530. 2007-02-05 Jackson Harper <[email protected]>
  10531. * TextControl.cs: Don't have crlfs when we are non multiline.
  10532. - Consolidate the line position.
  10533. 2007-02-05 Jackson Harper <[email protected]>
  10534. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  10535. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  10536. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  10537. handling LeaveNotify->NotifyUngrab in order to send
  10538. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  10539. after calling XUngrabPointer, so we call WindowUngrabbed directly
  10540. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  10541. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  10542. MouseCaptureChanged correctly. Also create handles if changing
  10543. Capture (matches MS behaviour).
  10544. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10545. * SizeGrip.cs: Make the last change 2.0 only.
  10546. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10547. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  10548. changes to initial size (fixes #80597).
  10549. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10550. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  10551. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10552. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  10553. background) and only allow dragging if enabled. This way the
  10554. sizegrip can be used to fill the open square that otherwise would
  10555. have been shown in the bottom right corner of ScrollableControl
  10556. when ScrollableControl is not suppose to support sizing.
  10557. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  10558. sizegrip is shown and enabled, and hook up with necessary events.
  10559. 2007-02-01 Chris Toshok <[email protected]>
  10560. * DataGridTextBoxColumn.cs: clean up the
  10561. GetFormattedString/GetColumnValueAtRow combination of functions.
  10562. Also fix UpdateUI, and the initial state of
  10563. IsInEditOrNavigateMode.
  10564. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  10565. aren't supposed to scroll the textbox here, we're supposed to
  10566. scroll the datagrid.
  10567. 2007-02-01 Chris Toshok <[email protected]>
  10568. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  10569. setting the position.
  10570. 2007-02-01 Chris Toshok <[email protected]>
  10571. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  10572. here, since the most recent focus fixes keep us from generating
  10573. the Leave event when our textbox gets focus.
  10574. (Edit): we should be passing null for the column style's
  10575. instantText parameter.
  10576. 2007-02-01 Jonathan Pobst <[email protected]>
  10577. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  10578. raised. Fixes menu text/icons not showing up in PDN.
  10579. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  10580. * Control.cs: Remove code in constructor that makes every
  10581. control with WS_CHILD set have initial location -1, -1.
  10582. 2007-01-31 Jackson Harper <[email protected]>
  10583. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  10584. XplatUIX11.
  10585. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  10586. 2007-01-31 Jackson Harper <[email protected]>
  10587. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  10588. - Remove some debug code.
  10589. 2007-01-31 Jackson Harper <[email protected]>
  10590. * XplatUIX11.cs: If you set the override cursor during a grab, it
  10591. should actually override the grab cursor. This comes into play
  10592. when you are setting custom cursors in a DND feedback method.
  10593. 2007-01-31 Jackson Harper <[email protected]>
  10594. * X11Dnd.cs: Add support for handling the QueryContinue and
  10595. GiveFeedback events.
  10596. - Cancel drag and drop actions when the escape key is clicked.
  10597. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  10598. can handle the ESCAPE key.
  10599. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  10600. done when dnd events are continued after the button is released.
  10601. - Add a new helper method so that dnd can translate key events.
  10602. 2007-01-31 Alexander Olk <[email protected]>
  10603. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  10604. make it more obvious what is happening.
  10605. 2007-01-30 Jackson Harper <[email protected]>
  10606. * XplatUIX11.cs: Don't break when handling button release in drag
  10607. and drop operations. We need that BUTTONUP message to get through
  10608. so capture is released.
  10609. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  10610. this is handled automatically when the mouse is down.
  10611. 2007-01-30 Jackson Harper <[email protected]>
  10612. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  10613. is closed, so we need to make sure that we aren't changing the
  10614. dialog result when the OK (Open or Save) button has been clicked
  10615. and we are closing the window ourselves. Note we don't need to
  10616. worry about the cache being written in this case, because it was
  10617. already done in the previous FilOk call.
  10618. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  10619. * DateTimePicker.cs: Remove a warning.
  10620. * ComboBox.cs: Remove a couple of warnings.
  10621. 2007-01-29 Chris Toshok <[email protected]>
  10622. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  10623. set one, if SetIcon is passed a null icon.
  10624. 2007-01-29 Andreia Gaita <[email protected]>
  10625. * TextBox.cs: Redraw when the password characters changes
  10626. * TextControl.cs: Check if textbox has a password char and draw
  10627. a line of password chars instead of the text in the line. LineTag gets
  10628. an extra Draw() method which allows document.Draw to override the text
  10629. that will be drawn. Removes 1024 char limitation on length of passworded
  10630. lines.
  10631. 2007-01-29 Jackson Harper <[email protected]>
  10632. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  10633. single chars is not.
  10634. 2007-01-28 Jonathan Pobst <[email protected]>
  10635. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  10636. one pixel. Fix a StackOverflowException caused by an overload wrongly
  10637. calling itself.
  10638. 2007-01-26 Everaldo Canuto <[email protected]>
  10639. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  10640. also remove ProcessArrowKey and put the code inside ProcessKeys.
  10641. 2007-01-26 Jonathan Pobst <[email protected]>
  10642. * PaddingConverter.cs: Added.
  10643. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  10644. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  10645. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  10646. of text (fixes #80601). For panels clip the text to draw to the
  10647. panel (fixes #80603).
  10648. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  10649. * ComboBox.cs: Fixed implementation of ResetText.
  10650. 2007-01-25 Jackson Harper <[email protected]>
  10651. * TextControl.cs: For the last char of a line we need to use the
  10652. line size, not that chars width, since it won't actually be
  10653. computed since the right side of a char is based on the start of
  10654. the left side of the next char, and the next char does not exist.
  10655. 2007-01-25 Chris Toshok <[email protected]>
  10656. * Splitter.cs: fix the new unit tests, and reindent some switch
  10657. statements.
  10658. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10659. * ComboBox.cs: Implemented 2.0 methods and events.
  10660. * TextBoxBase.cs: Added OnTextUpdate, so that
  10661. ComboBox.ComboTextBox can inform ComboBox of it.
  10662. 2007-01-25 Jackson Harper <[email protected]>
  10663. * TextControl.cs: Respect ShowSelection when deciding whether or
  10664. not to display the caret, this allows comboboxes to have carets
  10665. when the combotextbox does not have focus.
  10666. 2007-01-25 Jackson Harper <[email protected]>
  10667. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  10668. same as the Suspend/Resume for recalc, except this will do actual
  10669. Invalidates.
  10670. - New Undo manager, works much like the MS version.
  10671. - Implemented Redo
  10672. * TextBoxBase.cs: The Cut operation is undoable.
  10673. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10674. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  10675. on Windows (no difference on Linux).
  10676. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10677. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  10678. we don't want to activate any windows. Fixes #79433.
  10679. 2007-01-25 Jonathan Pobst <[email protected]>
  10680. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  10681. [Fixes bug #80609]
  10682. 2007-01-25 Alexander Olk <[email protected]>
  10683. * FileDialog.cs:
  10684. - Move to using System.ComponentModel.EventHandlerList
  10685. - Replace Refresh with Invalidate
  10686. - Clear the mime filecache on closing
  10687. - Some other memory reducing work. After beeing closed FD now uses
  10688. only about 300 KB for the fdo mime stuff plus the memory of the
  10689. cached icons.
  10690. * Mime.cs: Changed coding style and removed unnecessary commented
  10691. code. Some more memory memory reducing work.
  10692. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10693. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  10694. a few other missing 2.0 properties.
  10695. * Theme.cs: Added DrawFlatStyleComboBox.
  10696. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  10697. 2007-01-24 Chris Toshok <[email protected]>
  10698. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  10699. wake_waiting flag, not just when there's data to be read. if we
  10700. don't, then future wakeup's won't reach us and we'll be doomed to
  10701. wait for the entire 1 second timeout forever (unless there are X
  10702. events to be had).
  10703. 2007-01-24 Jonathan Pobst <[email protected]>
  10704. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  10705. until you pass Items.Count, not Items.Count - 1 like 1.1.
  10706. 2007-01-24 Gert Driesen <[email protected]>
  10707. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  10708. 2007-01-24 Jonathan Pobst <[email protected]>
  10709. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  10710. adding the panels in the wrong order.
  10711. 2007-01-24 Jackson Harper <[email protected]>
  10712. * TextBoxBase.cs: When we move the caret we also need to move the
  10713. selection, this fixes some random crashing after doing select
  10714. text, unselect, delete a char, paste.
  10715. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  10716. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  10717. 2007-01-23 Everaldo Canuto <[email protected]>
  10718. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  10719. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  10720. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  10721. 2007-01-23 Everaldo Canuto <[email protected]>
  10722. * ToolBar.cs:
  10723. - Implement support for vertical toolbars. Fixes #80539;
  10724. - Call LayoutToolBar when resize, it fix some other problems in layout.
  10725. - Rename requested_height to requested_size, as we can have width on it
  10726. when toolbar is vertical.
  10727. - Create a private property "Vertical" that uses Dock to verify when
  10728. toolbar is vertical or not.
  10729. - Set ControlStyles when change Dock property.
  10730. - Refactory in LayoutToolBar to have better variables names and to support
  10731. vertical toolbars.
  10732. - Fixes default value for ButtonSize when button count is equal zero, size
  10733. must be (39, 36) test case writed.
  10734. 2007-01-23 Chris Toshok <[email protected]>
  10735. * Control.cs: fix the checks so that they work correctly for mdi
  10736. parents/children.
  10737. 2007-01-23 Chris Toshok <[email protected]>
  10738. * Control.cs: ControlCollection seems to have super-secret
  10739. abstraction breaking knowledge of Mdi containers. allow MdiClient
  10740. to add toplevel controls.
  10741. 2007-01-23 Chris Toshok <[email protected]>
  10742. * Control.cs: throw an ArgumentException if a toplevel control is
  10743. added to our control collection from ControlCollection.Add, as
  10744. well as from ControlCollection.IList.Add. This fixes the
  10745. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  10746. Also, in ControlCollection.IList.Add, don't through an
  10747. ArgumentNullException, throw an ArgumentException, when value ==
  10748. null. This matches MS.
  10749. 2007-01-23 Chris Toshok <[email protected]>
  10750. * BindingSource.cs: initial, incomplete, implementation of
  10751. BindingSource.
  10752. 2007-01-23 Jackson Harper <[email protected]>
  10753. * TextControl.cs:
  10754. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  10755. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  10756. 2007-01-23 Everaldo Canuto <[email protected]>
  10757. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  10758. 2007-01-23 Andreia Gaita <[email protected]>
  10759. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  10760. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  10761. IndexOfKey() for 2.0
  10762. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  10763. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  10764. to prevent it from changing z-order.
  10765. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  10766. leave UI updates in MdiWindowManager.
  10767. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  10768. 1 sized (NC handling goes weird on Linux otherwise).
  10769. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  10770. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  10771. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  10772. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  10773. and SetWindowState(s) to allow for changing the size of an activated child
  10774. before activating it (reduces a lot of flicker).
  10775. 2007-01-22 Jonathan Pobst <[email protected]>
  10776. * Form.cs: Changing FormBorderStyle has different semantics based
  10777. on whether the Form is visible or not. If not visible, don't change
  10778. the Size. But InvalidateNC needs to be called to force the window
  10779. to pick up the changes and redraw itself. [Fixes bug #80574]
  10780. 2007-01-22 Jonathan Pobst <[email protected]>
  10781. [Moma work]
  10782. * ContainerControl.cs: ProcessCmdKey.
  10783. * ErrorProvider.cs: new constructor.
  10784. * Form.cs: fix AutoValidateEvent compiler warning.
  10785. * Label.cs: fix OnAutoSizeChanged compiler warning.
  10786. * MenuStrip.cs: fix CanOverflow compiler warning.
  10787. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  10788. * TextBox.cs: Dispose.
  10789. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  10790. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  10791. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  10792. * ToolStripItem.cs: Overflow, RightToLeft properties.
  10793. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  10794. * Form.cs: Move the layout of the main form to MdiWindowManager.
  10795. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  10796. do a layout of the main window to update MdiClient's client area to
  10797. the right area. Fixes #80533. Remove the calculation of nc size,
  10798. it was just wrong and the correct one is the same as for
  10799. InternalWindowManager.
  10800. 2007-01-20 Jonathan Pobst <[email protected]>
  10801. * Control.cs: Setting Anchor or Dock needs to reset the other
  10802. to its default. [Fixes bug #80556]
  10803. 2007-01-20 Chris Toshok <[email protected]>
  10804. * CheckedListBox.cs: class status changes.
  10805. * ScrollableControl.cs: same.
  10806. * RichTextBox.cs: same.
  10807. * ContainerControl.cs: same.
  10808. * ListView.cs: same.
  10809. * NotifyIcon.cs: same.
  10810. * MenuStrip.cs: same.
  10811. * RadioButton.cs: same.
  10812. * CheckBox.cs: same.
  10813. * PrintPreviewDialog.cs: same.
  10814. * Form.cs: same.
  10815. 2007-01-19 Jonathan Pobst <[email protected]>
  10816. * TreeNode.cs: Apply Alan's patch for Name property.
  10817. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  10818. * Form.cs: Implemented SizeGripStyle.
  10819. * SizeGrip.cs: Check for minimum and maximum size for the
  10820. control being resized and only resize if size has actually
  10821. changed.
  10822. 2007-01-19 Chris Toshok <[email protected]>
  10823. * DataGridColumnStyle.cs: stop setting _readonly in the
  10824. PropertyDescriptor setter. fixes a unit test failure.
  10825. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  10826. just consult our table style (if we have one). We don't need to
  10827. consult the datagrid readonly attribute because that's passed in
  10828. as the _ro arg to Edit. this simplifies things a little.
  10829. * DataGrid.cs: use CurrentColumn instead of
  10830. current_cell.ColumnNumber just to simplify some of the code.
  10831. switch the order of some things in the CurrentCell setter to keep
  10832. the previous cell from getting a textbox again -
  10833. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  10834. So we need to set the new cell before calling it.
  10835. call Edit in OnEnter, as does Microsoft.
  10836. also, make sure the current table style isn't the one we create
  10837. initially when checking to see if it's different than the one
  10838. we're setting it to in BindColumns (this fixes #80421).
  10839. * GridTableStylesCollection.cs: table styles can have "" for a
  10840. mapping name. part of the fix for #80421.
  10841. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  10842. Edit significantly.
  10843. 2007-01-18 Jonathan Pobst <[email protected]>
  10844. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  10845. and less GDI object leaky-er.
  10846. 2007-01-18 Andreia Gaita <[email protected]>
  10847. * LinkLabel.cs: Add opaque control style
  10848. 2007-01-18 Jackson Harper <[email protected]>
  10849. * TextControl.cs: Calculate width properly.
  10850. - Don't store the tag's X offset, this can be figured out very
  10851. easily.
  10852. - When getting the caret tag make sure to get the last empty tag.
  10853. 2007-01-18 Jonathan Pobst <[email protected]>
  10854. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  10855. [Fixes bug #79959]
  10856. * Control.cs: Color.Empty shouldn't count for previous transparent
  10857. redraw changes.
  10858. 2007-01-18 Jackson Harper <[email protected]>
  10859. * TextBox.cs:
  10860. * RichTextBox.cs:
  10861. * TextControl.cs: Starting to merge in some pieces of my older
  10862. undo work. Basically just some slight cleanup of the undo API.
  10863. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  10864. * TrackBar.cs: Fix signature of RightToLeftLayout.
  10865. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  10866. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  10867. * Application.cs: Implemented UseWaitCursor.
  10868. 2007-01-18 Jackson Harper <[email protected]>
  10869. * TextControl.cs: We can't skip tags if any part of the tag is
  10870. visible.
  10871. 2007-01-18 Jonathan Pobst <[email protected]>
  10872. * ContainerControl.cs: Override OnLayout.
  10873. 2007-01-18 Jonathan Pobst <[email protected]>
  10874. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  10875. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  10876. everything else.
  10877. 2007-01-18 Chris Toshok <[email protected]>
  10878. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  10879. (leftover from the container_selected days, I'd wager). fixes bug
  10880. #80546.
  10881. 2007-01-18 Jonathan Pobst <[email protected]>
  10882. * Control.cs: Apply patch from George to fix the new testcase on
  10883. bug #80451. We can't just check for Color.Transparent, we need
  10884. to check if the back color's alpha channel is < 255.
  10885. 2007-01-18 Jonathan Pobst <[email protected]>
  10886. * Form.cs: Move setting show_icon = true to before the constructor
  10887. so that the base constructor has that information when it calculates
  10888. the form's size. Was causing forms to be (6, 6) bigger than they
  10889. were supposed to be. Thanks for catching this Rolf!
  10890. 2007-01-18 Jackson Harper <[email protected]>
  10891. * TextControl.cs: When replacing a selection we need to invalidate
  10892. from the initial selection start, because selection start is moved
  10893. to the end of the replacement.
  10894. 2007-01-18 Andreia Gaita <[email protected]>
  10895. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  10896. 2007-01-18 Chris Toshok <[email protected]>
  10897. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  10898. I just added.
  10899. 2007-01-17 Everaldo Canuto <[email protected]>
  10900. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  10901. layout methods and properties from ToolBarButton must be available
  10902. into ToolBarButtonInfo.
  10903. 2007-01-17 Jonathan Pobst <[email protected]>
  10904. * Control.cs: If the control has a transparent background, we
  10905. need to refresh it when it moves and when it's parent's background
  10906. image changes. [Fixes bug #80451]
  10907. 2007-01-17 Jonathan Pobst <[email protected]>
  10908. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  10909. 2007-01-17 Jonathan Pobst <[email protected]>
  10910. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  10911. [Fixes bug #80447, and probably speeds up things as well]
  10912. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10913. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  10914. * XplatUIWin32.cs: We need to recalculate NC size after changing
  10915. window style to toolwindow (otherwise the client rectangle will be
  10916. 3 pixels to small for some reason).
  10917. * MdiWindowManager.cs: Revert NC size calculations to match how
  10918. they are calculated only based on window styles (to match
  10919. Win32AdjustWindowRectEx, since otherwise when setting size or
  10920. location, Control will call Win32AdjustWindowRectEx to update client
  10921. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  10922. calculate a different value of client size causing another paint
  10923. (and flickering))
  10924. * InternalWindowManager.cs: When moving or resizing a window only
  10925. update size or location if they actually changed.
  10926. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  10927. (seems to match Windows behaviour better). Cleaned up
  10928. ManagedWindowDecorations to draw what's needed and nothing else
  10929. (was drawing borders and lines where they shouldn't be)
  10930. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  10931. (style = 0xFFFF) and takes into account caption height when
  10932. calculating window rectangle.
  10933. 2007-01-16 Everaldo Canuto <[email protected]>
  10934. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  10935. can be added to toolbar multiple times, we need to maintain a list of
  10936. button information for each positions.
  10937. 2007-01-16 Everaldo Canuto <[email protected]>
  10938. * ToolBar.cs: Some small stetic changes.
  10939. 2007-01-16 Jackson Harper <[email protected]>
  10940. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  10941. that allow us to have nested recalc = false blocks.
  10942. - Add paste support for images in the RichTextBox
  10943. * RichTextBox.cs: flush the text after the color is changed, so
  10944. the change takes effect.
  10945. - Use SuspendRecalc
  10946. - Some extra debugging info
  10947. * TextControl.cs: Tags no longer track their length, it is just
  10948. computed from the next tags length, this makes things a little
  10949. simpler and reduces places that we have to track length changes.
  10950. - Refactored the linetag class a little so we could make it
  10951. a base class for different kinds of tags
  10952. - Created a image tag, a tag that can have a single image inserted
  10953. into it
  10954. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  10955. that we can call suspend multiple times.
  10956. - Add some debugging methods
  10957. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10958. * MdiClient.cs: Add ActivatePreviousChild for
  10959. mdi child window navigation.
  10960. * Form.cs: Use MdiClient.ActivateNextChild/
  10961. ActivatePreviousChild instead of Form.SelectNextControl
  10962. to select the next/previous child since
  10963. SelectNextControl doesn't do it in the same order
  10964. as mdi children should do it.
  10965. 2007-01-16 Chris Toshok <[email protected]>
  10966. * Control.cs: remove container_selected field.
  10967. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10968. * MdiClient.cs: Update main form's ActiveChild when
  10969. updating keyboard focus for the mdi child.
  10970. 2007-01-16 Jonathan Pobst <[email protected]>
  10971. * Control.cs: PreferredSize fix.
  10972. * Form.cs: Add several 2.0 events, properties, and methods.
  10973. 2007-01-16 Gert Driesen <[email protected]>
  10974. * Form.cs: Provide meaningful message when MdiParent is assigned a
  10975. Form that is not an MdiContainer.
  10976. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10977. * MdiClient.cs: Update main form's ActiveChild when
  10978. activating a mdi child.
  10979. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10980. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  10981. doesn't have a menu.
  10982. * Form.cs: Request NCRecalc after creating a mdi child window.
  10983. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  10984. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  10985. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  10986. sends keyboard focus to the active child, or to the MdiClient
  10987. if there are no child forms.
  10988. 2007-01-15 Chris Toshok <[email protected]>
  10989. * ListView.cs: drop the *Internal overrides, just do our work in
  10990. ItemControl's WndProc instead.
  10991. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  10992. of the various controls, and forward the events properly (in the
  10993. same manner as MS) from the textbox to the UpDown. Also the
  10994. ActiveControl of the UpDownBase gets set properly now. Finally,
  10995. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  10996. * NumericUpDown.cs: set Text in the ctor.
  10997. * DomainUpDown.cs: call UpdateEditText in the ctor.
  10998. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  10999. so even a Selectable = false textbox can be focused if you click
  11000. in it. Go figure.
  11001. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  11002. just add their handling in their respective WndProc's. Also add
  11003. an explicit FocusInternal method that doesn't consult CanFocus
  11004. before calling Select(this).
  11005. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  11006. do our work in WndProc instead.
  11007. * TabControl.cs: same.
  11008. * ComboBox.cs: same.
  11009. 2007-01-15 Everaldo Canuto <[email protected]>
  11010. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  11011. Fixes #80006.
  11012. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  11013. * ListViewItem.cs:
  11014. * ThemeWin32Classic.cs: Don't draw the item text outside
  11015. item bounds in Details view, as well as use trimming.
  11016. Fixes bug #80376.
  11017. 2007-01-15 Jonathan Pobst <[email protected]>
  11018. * Form.cs: Implement Form.ShowIcon.
  11019. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  11020. null, which when combined with the DlgModalFrame window style removes
  11021. the icon from the title bar.
  11022. 2007-01-15 Jonathan Pobst <[email protected]>
  11023. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  11024. 2007-01-15 Everaldo Canuto <[email protected]>
  11025. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  11026. menu when mdi child windows theres a menu, uses insert to get icon
  11027. at first position. Partially fix #80006.
  11028. 2007-01-15 Jonathan Pobst <[email protected]>
  11029. * Clipboard.cs: Implement 2.0 methods.
  11030. 2007-01-15 Everaldo Canuto <[email protected]>
  11031. * Menu.cs: Implement Insert method of MenuItemCollection class
  11032. to fix MenuMerge.
  11033. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  11034. * ListView.cs: Implement 2.0 FindItemWithText method.
  11035. 2007-01-11 Everaldo Canuto <[email protected]>
  11036. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  11037. to calculate menu bar size. Fixes #80290.
  11038. 2007-01-11 Everaldo Canuto <[email protected]>
  11039. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  11040. 2007-01-11 Chris Toshok <[email protected]>
  11041. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  11042. initial form.
  11043. 2007-01-11 Chris Toshok <[email protected]>
  11044. * LinkLabel.cs: make sure to call base.Select in our Select method
  11045. if it turns out we're going to be selected (i.e. if we have a link
  11046. that is going to receive focus). That way our container's
  11047. ActiveControl is updated properly.
  11048. 2007-01-11 Chris Toshok <[email protected]>
  11049. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  11050. they have 1 or more links. this fixes the crash gert reported.
  11051. 2007-01-11 Andreia Gaita <[email protected]>
  11052. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  11053. anymore.
  11054. * Control.cs (Controls.Add): Check if control to be added to the collection
  11055. is a top level control, and throw an ArgumentException if it is.
  11056. Remove ContainerSelectedFlag, not needed anymore.
  11057. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  11058. top most control doesn't activate the form. This fixes a problem in the
  11059. MessageBox, where the default button wouldn't get focus because the form
  11060. was activated before being Loaded - when the Owner is set, SetTopMost is
  11061. called, and it would activate it.
  11062. 2007-01-11 Jonathan Pobst <[email protected]>
  11063. * Button.cs: When clicked and setting the parent form's DialogResult,
  11064. use FindForm instead of Parent, since parent could be a container
  11065. control and not the Form. Fixes bug #80495.
  11066. 2007-01-10 Chris Toshok <[email protected]>
  11067. * Form.cs: move the call to SendControlFocus into the same
  11068. is_loaded check.
  11069. 2007-01-10 Chris Toshok <[email protected]>
  11070. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  11071. It breaks in the face of the new ActiveControl stuff, and should
  11072. be unnecessary.
  11073. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  11074. activecontrol's focus if it's not already set, after we set
  11075. ActiveControl, but before we call OnActivated. Re-fixes #79667
  11076. after the previous focus/active control fixes regressed it.
  11077. * Control.cs: reindent some code.
  11078. 2007-01-10 Chris Toshok <[email protected]>
  11079. * Splitter.cs: clearing some outstanding changes from my tree.
  11080. Replace all accesses (not writes) to the internal dock_style field
  11081. with the Dock property.
  11082. 2007-01-10 Chris Toshok <[email protected]>
  11083. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  11084. FireValidated virtual.
  11085. * Form.cs: override and don't chain up calls to FireEnter and
  11086. FireLeave.
  11087. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  11088. * ListView.cs: Add more text padding space when using
  11089. auto resize for columns (the previous value didn't work fine).
  11090. * ThemeWin32Classic.cs: Update text position inside columns,
  11091. to match the appeareance of .Net.
  11092. * ColumnHeader.cs: When using auto resize, only the Width should
  11093. depend on the sub items, not the Height. Also, set width after
  11094. auto resizing (the value of Width should never remain as -1 or -2).
  11095. 2007-01-10 Chris Toshok <[email protected]>
  11096. * Application.cs: fix compilation errors when debug is enabled.
  11097. 2007-01-10 Chris Toshok <[email protected]>
  11098. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  11099. add some nice ascii art pictures and explanation of the process).
  11100. (GetMostDeeplyNestedActiveControl): new utility function we need
  11101. because our ActiveControl can refer to a child container with its
  11102. own ActiveControl.
  11103. * Form.cs (OnActivated): remove the call to SelectActiveControl
  11104. from here, since you can override this method and not chain up,
  11105. and winforms still sets the active control.
  11106. (OnCreateControl): also remove the unnecessary SelectActiveControl
  11107. call from here.
  11108. (WndProc): it's actually called from the WM_ACTIVATE block, just
  11109. before calling OnActivated.
  11110. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  11111. inside the else. the ActiveControl setter will end up setting
  11112. focus on @control. This keeps us from setting it again (and
  11113. generating an extra LostFocus/GotFocus pair).
  11114. (Select (bool, bool)): reindent.
  11115. 2007-01-10 Jonathan Pobst <[email protected]>
  11116. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  11117. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  11118. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  11119. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  11120. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  11121. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  11122. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  11123. ToolStripTextBox.cs: Another wave of corcompare work.
  11124. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  11125. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  11126. the Width property.
  11127. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  11128. methods by callling Column.AutoResize method on columns.
  11129. 2007-01-09 Jonathan Pobst <[email protected]>
  11130. * Control.cs: Provide proper implementations of PreferredSize
  11131. and GetPreferredSize (2.0).
  11132. 2007-01-09 Jonathan Pobst <[email protected]>
  11133. * Form.cs: Remove one character (!) to make my previous OnClosing
  11134. stuff work for modal windows like MessageBox.
  11135. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  11136. * ListView.cs:
  11137. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  11138. ListView.Columns to get the last displayed column. Fixes #80452.
  11139. 2007-01-09 Everaldo Canuto <[email protected]>
  11140. * Label.cs, LinkLabel.cs: Source code identation fixes.
  11141. 2007-01-08 Everaldo Canuto <[email protected]>
  11142. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  11143. we dont need to invalidate only borders because when we invalidate four
  11144. border lines the invalidate's generates a complete redraw of button,
  11145. because it now invalidate a complete rect some other redraws operations
  11146. are fixed. Fixes #80196.
  11147. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  11148. Remove ToolBarInvalidateEntireButton as it is not used.
  11149. 2007-01-08 Jonathan Pobst <[email protected]>
  11150. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  11151. called for 2.0 profile.
  11152. * CloseReason.cs: Make class internal for 1.1.
  11153. 2007-01-08 Jonathan Pobst <[email protected]>
  11154. * ToolStripManager.cs: Implement FindToolStrip functionality.
  11155. * ToolStrip.cs: Register and unregister with ToolStripManager.
  11156. 2007-01-07 Jonathan Pobst <[email protected]>
  11157. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  11158. to ArrangedElementCollection. Implemented this with as few #if's as
  11159. possible (which is still too many).
  11160. 2007-01-07 Jonathan Pobst <[email protected]>
  11161. * Control.cs: Implement SizeFromClientSize() [2.0].
  11162. 2007-01-07 Everaldo Canuto <[email protected]>
  11163. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  11164. use Theme.BorderSize to calculate area instead of static value 1,
  11165. by the way use new BorderStaticSize instead Border3DSize when
  11166. border_static is true. Fixes #79537.
  11167. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  11168. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  11169. it is not needed.
  11170. 2007-01-06 Everaldo Canuto <[email protected]>
  11171. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  11172. 2007-01-06 Everaldo Canuto <[email protected]>
  11173. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  11174. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  11175. * Hwnd.cs:
  11176. - border_static field added, it will used to define when a control
  11177. theres 3D border but it must be static (thin).
  11178. - In GetWindowRectangle use Theme.BorderSize to calculate area
  11179. instead of static value 1, by the way use new BorderStaticSize instead
  11180. Border3DSize when border_static is true.
  11181. * XplatUIX11.cs, XplatUIOSX.cs:
  11182. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  11183. * Theme.cs: BorderStaticSize field added.
  11184. 2007-01-05 Everaldo Canuto <[email protected]>
  11185. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  11186. 2007-01-05 Everaldo Canuto <[email protected]>
  11187. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  11188. mimic same behavior than win32 that set border only in CreateParams,
  11189. it fix problems under CreateParams overrides. Fix #79442 and partial
  11190. fix #79537.
  11191. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  11192. of thi control you must call recreate handle.
  11193. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  11194. need to do anything as RecreateHangle will take care about borders.
  11195. 2007-01-05 Mike Kestner <[email protected]>
  11196. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  11197. cycles between the ItemControl and parent. Fixes #80388.
  11198. 2007-01-05 Gert Driesen <[email protected]>
  11199. * Control.cs: Lazy init layout engine. Do not directly use
  11200. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  11201. 2007-01-05 Chris Toshok <[email protected]>
  11202. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  11203. unless our list manager has changed (i.e. unless we have reason to
  11204. believe our columns have changed). Fixes #80422.
  11205. also, disable the call do BindColumns in
  11206. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  11207. 1.1 the event isn't raised in response to a column addition on a
  11208. table.)
  11209. 2007-01-05 Jonathan Pobst <[email protected]>
  11210. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  11211. that inheritors can not call it if they choose. Fixes bug #80456.
  11212. 2007-01-05 Andreia Gaita <[email protected]>
  11213. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  11214. doesn't blow up with a null exception on marshalling.
  11215. 2007-01-05 Jonathan Pobst <[email protected]>
  11216. * Control.cs: Implement several 2.0 protected properties and methods.
  11217. Ensure that all necessary events are being called when properties
  11218. are set.
  11219. 2007-01-05 Mike Kestner <[email protected]>
  11220. * ListView.cs: implement PgUp/PgDn for Details view. Also
  11221. fixes First/LastVisibleIndex to use the item_control.ClientRect
  11222. instead of the parent control. Fixes #80378.
  11223. 2006-01-05 Atsushi Enomoto <[email protected]>
  11224. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  11225. determine whether to use yard-pound or not (bug #78399).
  11226. 2006-01-04 Alexander Olk <[email protected]>
  11227. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  11228. problems. So it is time to bring back the old popupbutton colors.
  11229. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  11230. * ColumnHeader.cs:
  11231. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  11232. property by using the internal information of the
  11233. columns order in ListView.
  11234. 2007-01-04 Jonathan Pobst <[email protected]>
  11235. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  11236. Add 2.0 Tag properties.
  11237. * LinkArea.cs: Add 2.0 ToString method.
  11238. 2007-01-03 Chris Toshok <[email protected]>
  11239. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  11240. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  11241. when we're editing, which fixes #80047.
  11242. 2007-01-03 Chris Toshok <[email protected]>
  11243. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  11244. #80404.
  11245. 2007-01-03 Jonathan Pobst <[email protected]>
  11246. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  11247. property and implementation.
  11248. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  11249. for MdiWindowListItem property.
  11250. * ToolStripDropDown.cs: Don't consider hidden menu items while
  11251. laying out the menu.
  11252. 2007-01-03 Andreia Gaita <[email protected]>
  11253. * SendKeys.cs: window handle is not needed in win32, so just
  11254. get the active window for X after parsing keys and don't use
  11255. it when building the message; it is passed by parameter to the
  11256. Xplat method and used there to build the message instead. Also,
  11257. wait for events to be processed on SendWait, as opposed to Send,
  11258. which doesn't wait :) Playing with threads and Send() completely
  11259. hangs on ms.net, only SendWait() works.
  11260. XplatUIX11.cs
  11261. X11Display.cs: Check for valid window handle.
  11262. 2007-01-03 Jackson Harper <[email protected]>
  11263. * TextControl.cs: Need to prevent wrap calculations when replacing
  11264. text (this was there before i removed it accidently).
  11265. - Don't update the cursor during the positioning, just set it to
  11266. selection_start at the end of the operaion.
  11267. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  11268. * Control.cs:
  11269. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  11270. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  11271. * MonthCalendar.cs: Added Click and DoubleClick events again,
  11272. but this time they only hide Control's Click and DoubleClick.
  11273. 2007-01-03 Gert Driesen <[email protected]>
  11274. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  11275. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  11276. 2007-01-02 Jackson Harper <[email protected]>
  11277. * TextBoxBase.cs: We move the caret with the split now, so we
  11278. don't need to explicitly move the caret after splitting. This
  11279. fixes the caret bumping down an extra line on Enter.
  11280. 2007-01-02 Miguel de Icaza <[email protected]>
  11281. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  11282. 2.72).
  11283. * ScrollableControl.cs: Add Scroll event.
  11284. 2007-01-02 Mike Kestner <[email protected]>
  11285. * ListView.cs: one more try with help from [email protected]
  11286. to fix all hdr height padding codepaths. Fixes #80207.
  11287. 2007-01-02 Chris Toshok <[email protected]>
  11288. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  11289. setting it to the Control defaults anyway, and it being after the
  11290. Dock set was screwing up layout.
  11291. (set_Dock): don't short circuit out of setting base.Dock. Also,
  11292. no need to call UpdateStatusBar here, as it'll be re-layed out if
  11293. it needs to be.
  11294. 2007-01-02 Mike Kestner <[email protected]>
  11295. * ListView.cs: patch from [email protected] to add padding
  11296. to header height for width == -1. Fixes the rest of #80207.
  11297. 2007-01-02 Mike Kestner <[email protected]>
  11298. * ListView.cs: rework the mouse event forwarding everaldo added
  11299. to translate the coordinates to the parent control not
  11300. raise the parent events until after we've done our work. Hover
  11301. needs more work, in the case where HoverSelection is on, because
  11302. the item control receives more than one MouseHover per Enter
  11303. event, so we need to ensure only the "first" hover gets forwarded.
  11304. Opening a minor bug for that.
  11305. 2007-01-02 Gert Driesen <[email protected]>
  11306. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  11307. * ListControl.cs: Implemented AllowSelection property. Removed extra
  11308. tabs.
  11309. * ListBox.cs: Implemented AllowSelection property.
  11310. 2007-01-02 Everaldo Canuto <[email protected]>
  11311. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  11312. SelectedItem, it prevent for errors when you must disable item
  11313. before perform click. Fixes #80409.
  11314. 2007-01-02 Everaldo Canuto <[email protected]>
  11315. * MenuAPI.cs: Prevent second level and beyond submenus to close
  11316. until first level when move out side of popup.
  11317. 2007-01-02 Everaldo Canuto <[email protected]>
  11318. * MenuAPI.cs:
  11319. - Down submenu positin in three pixels.
  11320. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  11321. 2007-01-02 Everaldo Canuto <[email protected]>
  11322. * ThemeWin32Classic.cs:
  11323. - Fix popup menu size adding one pixel on the top.
  11324. - Down menu item border from two to one to mimic Win32.
  11325. - Some source identation fixes.
  11326. 2007-01-01 Everaldo Canuto <[email protected]>
  11327. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  11328. position of menu arrows, it fix wrong arrow size.
  11329. 2007-01-01 Everaldo Canuto <[email protected]>
  11330. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  11331. instead of line, it simplify draw operation and fix it using 3D
  11332. borders to mimic Win32.
  11333. 2007-01-01 Jonathan Pobst <[email protected]>
  11334. * StatusStrip.cs: Add implementation of the sizing grip.
  11335. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  11336. StatusStrip rendering.
  11337. 2006-12-31 Chris Toshok <[email protected]>
  11338. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  11339. override the layout style (anchor/dock) of the control. assign to
  11340. Dock instead. Fixes bug #80416.
  11341. * ToolStrip.cs: same.
  11342. 2006-12-31 Andreia Gaita <[email protected]>
  11343. * ContainerControl.cs: Use ContainerSelected flag to check if
  11344. a Container is directly selected, or if Select is called on a
  11345. non-container. If a container is directly selected, focus events
  11346. should not be raised.
  11347. Apply #80411 patch to throw exception on set_ActiveControl if
  11348. control is the same as the current one.
  11349. * Control.cs: Use ContainerSelected flag (see above).
  11350. Add invalidation check to raise event but not invalidate if
  11351. dimensions are 0.
  11352. Apply #80411 patch.
  11353. 2006-12-31 Everaldo Canuto <[email protected]>
  11354. * MenuAPI.cs: After click, dont close popup menu when menu is
  11355. ContextMenu. Fixes #80399.
  11356. 2006-12-30 Chris Toshok <[email protected]>
  11357. * ContainerControl.cs: make sure we throw the exception if the
  11358. container control doesn't contain the control we're setting
  11359. ActiveControl to.
  11360. 2006-12-30 Chris Toshok <[email protected]>
  11361. * Control.cs (SetTopLevel): fix the exception raised by
  11362. SetTopLevel for child controls.
  11363. (set_Anchor): call UpdateDistances when setting the anchor type.
  11364. This fixes bug #80336.
  11365. 2006-12-29 Gert Driesen <[email protected]>
  11366. * Theme.cs: For now, revert back to 8pt font.
  11367. 2006-12-29 Everaldo Canuto <[email protected]>
  11368. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  11369. Fixes #80395.
  11370. 2006-12-29 Chris Toshok <[email protected]>
  11371. * Control.cs: reorder the code in OnResize to give the same event
  11372. ordering as MS.
  11373. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  11374. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  11375. TileHorizontally and TileVertically.
  11376. 2006-12-29 Alexander Olk <[email protected]>
  11377. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  11378. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  11379. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  11380. Corrected copyright and email adress.
  11381. 2006-12-29 Gert Driesen <[email protected]>
  11382. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  11383. of Exception in FullPath property if no TreeView is associated with
  11384. the TreeNode.
  11385. 2006-12-29 Gert Driesen <[email protected]>
  11386. * Theme.cs: Marked default_font as private, and initialize it in ctor
  11387. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  11388. on 2.0 profile.
  11389. * ThemeGtk.cs: Removed default_font intialization.
  11390. * ThemeWin32Classic.cs: Removed default_font initialization.
  11391. 2006-12-28 Chris Toshok <[email protected]>
  11392. * Control.cs: fix a couple of place where we were creating handles
  11393. more aggressively than we should be. Fixes ControlRefresh unit
  11394. tests.
  11395. 2006-12-28 Chris Toshok <[email protected]>
  11396. * Control.cs: contrary to what the comment said, Control.Dock does
  11397. not supercede Control.Anchor - the last one you assign to decides
  11398. the layout behavior. so we need to keep track of which was the
  11399. last set. Also, fix some of the affected property arguments in
  11400. PerformLayout calls, and remove an redundant parent.PerformLayout
  11401. call in OnResized.
  11402. Add a VisibleInternal property, which returns is_visible. We
  11403. can/should get rid of all the usage of this field elsewhere.
  11404. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11405. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  11406. control style, not DoubleBuffer. Added UseDoubleBuffering property
  11407. that indicates whether doublebuffering is enabled and supported.
  11408. (comment from and code based on Gert Driesen's patch in #80324).
  11409. Fixes #80324.
  11410. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11411. * Control.cs: Fixed a NRE.
  11412. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11413. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  11414. for 2.0.
  11415. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11416. * Control.cs: Rewrote double buffering, now a seperate
  11417. class handles all the buffering, no Graphics is disposed of
  11418. until the painting is finished (earlier implementation
  11419. would crash if the control was resized in the OnPaint,
  11420. since it would cause the double buffer to be recreated
  11421. and the old one disposed), a separate Graphics is
  11422. created for every paint (MS behaviour and anyways the state
  11423. of the Graphics would have to be saved and restored otherwise)
  11424. * XplatUIDriver.cs:
  11425. * XplatUIX11.cs:
  11426. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  11427. so that we can get the graphics for the back buffer without
  11428. having to create a new one and remove the offscreen_dc parameter
  11429. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  11430. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  11431. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  11432. Also make virtual all the key-related methods.
  11433. * ListViewItem.cs: Make virtual the key related methods for
  11434. ListViewSubItemCollection.
  11435. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  11436. * ListView.cs:
  11437. * ListViewItem.cs:
  11438. * ThemeWin32Classic.cs:
  11439. * Theme.cs: Initial support for Tile view in ListView,
  11440. as well as the implementation of the required bits for it (Item
  11441. and Subitem).
  11442. 2006-12-27 Gert Driesen <[email protected]>
  11443. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  11444. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  11445. Provide useful exception messages.
  11446. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  11447. * TrackBar.cs: Remove a warning.
  11448. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  11449. when used by DateTimePicker, fixes #80287. This also requires that
  11450. MonthCalendar implements it's own drawing for the yearly updown control,
  11451. otherwise the Capture tracking would be too complicated. Removed the Click
  11452. and DoubleClick events (according to comments they were hiding the base class
  11453. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  11454. raise these events, not that they cannot be raised. It is possible to raise
  11455. them by calling OnClick and OnDoubleClick). Added two internal fields in
  11456. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  11457. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  11458. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  11459. event, no longer needed.
  11460. 2006-12-27 Gert Driesen <[email protected]>
  11461. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  11462. true if new value differs from current value.
  11463. 2006-12-27 Gert Driesen <[email protected]>
  11464. * Control.cs: ControlCollection.Count must be public. Fixed build of
  11465. unit tests.
  11466. 2006-12-27 Gert Driesen <[email protected]>
  11467. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  11468. 2006-12-27 Gert Driesen <[email protected]>
  11469. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  11470. 2006-12-26 Everaldo Canuto <[email protected]>
  11471. * Control.cs: Invalidates control including when Width and Height is
  11472. equal zero or is not visible, only Paint event must be care about
  11473. this. Fixes #79913.
  11474. 2006-12-26 Chris Toshok <[email protected]>
  11475. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  11476. more corcompare work.
  11477. * DataGridView.cs: fix compiler warning.
  11478. * ColumnHeader.cs: some corcompare work, and also take the
  11479. opportunity to make the internal fields private.
  11480. * ListView.cs: fix the fallout from the above field change.
  11481. 2006-12-26 Jonathan Pobst <[email protected]>
  11482. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  11483. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  11484. ToolStripTextBox.cs: Fixes to events and corcompare.
  11485. 2006-12-26 Everaldo Canuto <[email protected]>
  11486. * ListView.cs: Call owner.OnMousexx event to propagate events from
  11487. item to ListView. Fixes #80367.
  11488. 2006-12-26 Gert Driesen <[email protected]>
  11489. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  11490. if value is less than one. ItemHeight should not be set to a value
  11491. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  11492. Removed extra tabs.
  11493. 2006-12-26 Jonathan Pobst <[email protected]>
  11494. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  11495. * ToolStripStatusLabel.cs: Add Spring for Moma.
  11496. 2006-12-26 Gert Driesen <[email protected]>
  11497. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  11498. Fixed code formatting. Removed debug code.
  11499. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  11500. 2006-12-26 Gert Driesen <[email protected]>
  11501. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  11502. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  11503. ArgumentOutOfRangeException if ColumnCount is negative. In
  11504. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  11505. less than 4 or higher than 32768.
  11506. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  11507. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  11508. Fixed IsFormatProviderDefault to return true if FormatProvider has
  11509. not been explicitly set.
  11510. 2006-12-25 Chris Toshok <[email protected]>
  11511. * Application.cs: add a couple of 2.0 events.
  11512. 2006-12-25 Chris Toshok <[email protected]>
  11513. * Control.cs: fix compiler warning.
  11514. * AxHost.cs: corcompare fixes.
  11515. * ApplicationContext.cs: corcompare fixes.
  11516. 2006-12-25 Chris Toshok <[email protected]>
  11517. * Control.cs: only update dist_right/dist_bottom if the
  11518. width/height is > 0. this fixes anchored controls being resized
  11519. smaller until they disappear and then resized larger again.
  11520. 2006-12-25 Chris Toshok <[email protected]>
  11521. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  11522. since they're nothing more than X/Left and Y/Top, respectively.
  11523. Also, move back to a per-control Bitmap/Graphics for
  11524. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  11525. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  11526. Height.
  11527. 2006-12-25 Miguel de Icaza <[email protected]>
  11528. * MessageBox.cs: Implemented overload that takes a new "bool
  11529. displayHelpButton" by adding a new internal field "show_help".
  11530. When clicked this will raise the HelpRequested on the owner or the
  11531. main form.
  11532. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  11533. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  11534. * ListView.cs: Add support ColumnWidthChanged and
  11535. ColumnWidthChanging.
  11536. Add support for ColumnReordered event.
  11537. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  11538. reorder.
  11539. Very nice codebase!
  11540. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  11541. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  11542. 2006-12-24 Chris Toshok <[email protected]>
  11543. * GridTablesFactory.cs: 2.0 corcompare work.
  11544. * ToolStripContainer.cs: add "override" to
  11545. ContextMenuStripChanged, and remove the local event object.
  11546. * ToolStripDropDown.cs: same with a couple properties.
  11547. * ToolStripPanel.cs: same with AutoSizeChanged event.
  11548. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  11549. * Form.cs: add the remaining 2.0 events, and do some corcompare
  11550. attribute work.
  11551. * DateTimePicker.cs: add "new" to padding.
  11552. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  11553. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  11554. * DataGridView.cs: PaddingChanged is overridden.
  11555. 2006-12-24 Chris Toshok <[email protected]>
  11556. * Control.cs: corecompare work here too.
  11557. * DataGridViewElement.cs, DataGridView.cs,
  11558. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  11559. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  11560. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  11561. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  11562. work.
  11563. 2006-12-24 Miguel de Icaza <[email protected]>
  11564. * Control.cs: Switched the error message on the console for a
  11565. todo. A review of the code will have to cope with this anyways
  11566. (since its a large feature, it is in our radar) and it was
  11567. producing too much output when running PDN.
  11568. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  11569. changes. Applications depend on this (PDN 2.72)
  11570. 2006-12-23 Chris Toshok <[email protected]>
  11571. * TableLayoutSettings.cs: finish up the corcompare work for this
  11572. class.
  11573. 2006-12-23 Chris Toshok <[email protected]>
  11574. * Control.cs: make SetImplicitBounds internal, do some futzing
  11575. with LayoutEngine so that it's available in 1.1, and remove the
  11576. entire duplicated code mess from PerformLayout. Use
  11577. System.Windows.Forms.Layout.DefaultLayout instead.
  11578. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  11579. 2006-12-23 Jonathan Pobst <[email protected]>
  11580. * Form.cs: Add MainMenuStrip property.
  11581. 2006-12-23 Jonathan Pobst <[email protected]>
  11582. * Control.cs: Add ContextMenuStrip property and implementation.
  11583. Fix ContextMenu implementation to show menu centered on control when
  11584. activated using the keyboard instead of showing at screen (0,0).
  11585. * ToolStripDropDown.cs: Fix needed overload of Show ().
  11586. 2006-12-23 Everaldo Canuto <[email protected]>
  11587. * Menu.cs: Name property added for 2.0 profile.
  11588. 2006-12-23 Everaldo Canuto <[email protected]>
  11589. * Menu.cs: Update information about FindMenuItem, method to be
  11590. implemented soon.
  11591. 2006-12-23 Everaldo Canuto <[email protected]>
  11592. * MenuAPI.cs: When deselect items deselect also selected subitems.
  11593. 2006-12-23 Everaldo Canuto <[email protected]>
  11594. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  11595. FindSubItemByCoord to found itens that is not active, also an
  11596. cheking added to FindSubItemByCoord to search for items only
  11597. in visible popup windows. Fixes #80274.
  11598. 2006-12-22 Everaldo Canuto <[email protected]>
  11599. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  11600. internal property, it be care about change ExStyle.
  11601. 2006-12-22 Andreia Gaita <[email protected]>
  11602. * ContainerControl.cs: set activeControl for parent forms up the
  11603. tree when the new activecontrol is a container.
  11604. When validating the active control, if it is a container, also
  11605. raise up the validation for it's active control. Fixes #80280
  11606. * Control.cs: Add internal property flag and check to prevent
  11607. Focus events from getting raised when Select() is called for
  11608. a ContainerControl. There are still too many focus events being
  11609. raised at the moment though.
  11610. Cleaned up the code a bit.
  11611. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  11612. * Control.cs: Added all missing 2.0 events.and
  11613. fixed a couple of corcompare issues.
  11614. * TrackBar.cs: Implemented missing 2.0 bits.
  11615. * MonthCalendar.cs,
  11616. * DateTimePicker.cs,
  11617. * MdiClient.cs: Fixed some corcompare issues.
  11618. 2006-12-21 Jonathan Pobst <[email protected]>
  11619. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  11620. SplitterPanel.cs: corecompare work.
  11621. 2006-12-21 Jonathan Pobst <[email protected]>
  11622. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  11623. Clean up warnings for BackgroundImageChanged and PaddingChanged
  11624. events now that they are implemented in Control.cs.
  11625. 2006-12-21 Jonathan Pobst <[email protected]>
  11626. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  11627. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  11628. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  11629. of TableLayoutPanel and supporting cast.
  11630. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  11631. * XplatUIWin32.cs:
  11632. - GrabWindow now confines the mouse pointer to the confine window.
  11633. - Added Win32ClipCursor and Win32GetClipCursor.
  11634. * Control.cs:
  11635. - Added CaptureWithConfine to be able to capture and confine
  11636. mouse pointer.
  11637. * InternalWindowManager.cs:
  11638. - Call CaptureWithConfine instead of Capture if we're an
  11639. MdiChild (fixes #79982).
  11640. 2006-12-21 Chris Toshok <[email protected]>
  11641. * DataGrid.cs: guard against the initial state of selection, where
  11642. selection_start == -1. make sure we only select from index >= 0.
  11643. Fixes bug #80291.
  11644. 2006-12-21 Chris Toshok <[email protected]>
  11645. * Control.cs: we don't need to be so draconian with
  11646. UpdateDistances, and we thusly don't need to call it before
  11647. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  11648. 2006-12-21 Daniel Nauck <[email protected]>
  11649. * ComboBox.cs,
  11650. TextBox.cs: Implemented AutoComplete properties.
  11651. 2006-12-20 Chris Toshok <[email protected]>
  11652. * DataGridView*.cs: some corecompare work.
  11653. 2006-12-20 Jackson Harper <[email protected]>
  11654. * XplatUIX11.cs: We need to hide the caret when deleting it,
  11655. otherwise you get carets left lying around everywhere.
  11656. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  11657. prevents getting some weird half drawn caret tracers when
  11658. scrolling.
  11659. * TextControl.cs: Attempt to reduce the number of times we need to
  11660. recreate the caret.
  11661. 2006-12-20 Gert Driesen <[email protected]>
  11662. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  11663. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  11664. * DateTimePicker.cs:
  11665. - Implemented missing 2.0 bits.
  11666. - Changed some default values to match MS.
  11667. 2006-12-20 Jackson Harper <[email protected]>
  11668. * TextBoxBase.cs: When changing the font across the document we
  11669. can't recalculate after changing each line, since that will cahnge
  11670. the line count.
  11671. - PreferredHeight is a little different than i thought.
  11672. - When backspacing, move the caret before we do the actual char
  11673. delete, because when that delete crosses a wrap boundary the
  11674. positional information will change.
  11675. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  11676. * Control.cs: Added some missing 2.0 bits:
  11677. BackgroundImageLayout, BackgroundImageLayoutChanged,
  11678. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  11679. add IBindableComponent and IDropTarget implementation.
  11680. * MonthCalendar.cs:
  11681. - Added all missing 2.0 features:
  11682. BackgroundImageLayout, RightToLeftLayout,
  11683. OnHandleDestroyed, RightToLeftLayoutChanged,
  11684. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  11685. PaddingChanged.
  11686. - Rewrote all the BoldDate code, it was completely broken.
  11687. - Fixed all the tests (the tests can now be re-enabled, the
  11688. problems were not with the tests, but with the control, it was
  11689. mostly broken).
  11690. * DateTimePicker.cs: Changed the location where the
  11691. MonthCalendar is shown.
  11692. 2006-12-19 Chris Toshok <[email protected]>
  11693. * DataGridView.cs: add IDropTarget implementation.
  11694. * ToolStripPanel.cs: add IDropTarget implementation.
  11695. 2006-12-19 Jackson Harper <[email protected]>
  11696. * TextControl.cs: soft now means something different than what it
  11697. used to mean, we want to move the caret regardless of whether or
  11698. not this break was soft (would we really have wanted the caret
  11699. to not move with the break in the old context?)
  11700. * TreeView.cs: Make sure we factor in the vert scrollbar when
  11701. calculating the horizontal scrollbar's maximum.
  11702. 2006-12-19 Andreia Gaita <[email protected]>
  11703. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  11704. check for keywords in alternate casing, close bug #80049.
  11705. 2006-12-19 Chris Toshok <[email protected]>
  11706. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  11707. methods (which all do nothing).
  11708. * IDropTarget.cs: add the 4 missing methods.
  11709. 2006-12-19 Chris Toshok <[email protected]>
  11710. * TableLayoutRowStyleCollection.cs: corcompare work.
  11711. * TableLayoutSettings.cs: same.
  11712. * TableLayoutStyle.cs: same.
  11713. * TableLayoutColumnStyleCollection.cs: same.
  11714. 2006-12-19 Jonathan Pobst <[email protected]>
  11715. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  11716. TableLayoutPanel I've had in my local tree for way too long.
  11717. 2006-12-19 Miguel de Icaza <[email protected]>
  11718. * TableLayoutSettings.cs: Finish the public API (still needs all
  11719. the logic to update on changes).
  11720. * TableLayoutPanelCellPosition.cs: new file.
  11721. * TableLayoutRowStyleCollection.cs,
  11722. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  11723. TableLayoutSettings.cs: Track the final 2.0 table api.
  11724. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  11725. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  11726. and Image List 2.0 members for ColummnHeader.
  11727. * ListView.cs: Add key-related 2.0 methods for
  11728. ColumnHeaderCollection.
  11729. 2006-12-19 Gert Driesen <[email protected]>
  11730. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  11731. ArgumentNullException if items argument is null. Ignore null item in
  11732. arrays. Removed extra tabs.
  11733. 2006-12-19 Gert Driesen <[email protected]>
  11734. * MonthCalendar.cs: Fixed InvalidCastException.
  11735. 2006-12-19 Jackson Harper <[email protected]>
  11736. * TextControl.cs: Don't increment the position here.
  11737. - When calculating char positions only add in the line break size
  11738. for hard line breaks.
  11739. 2006-12-19 Andreia Gaita <[email protected]>
  11740. * SendKeys.cs: Changed some things to match ms.net behaviour
  11741. when parsing shifted capital letters.
  11742. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  11743. Add window handle as parameter to SendInput. X11 needs the
  11744. window handle, and the handle being passed to it in the keys
  11745. queue is the active control handle (which windows needs), not
  11746. the window handle.
  11747. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  11748. to support SendKeys on X.
  11749. * X11Keyboard: Implement helper method to lookup a linux keycode
  11750. given the virtual keycode. Added table of keycode-2-virtualkey
  11751. values to support this.
  11752. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  11753. * ListView.cs: Add support for SelectedIndexCollection
  11754. and SelectedItemCollection 2.0 methods. Implement support
  11755. for ImageKey too.
  11756. * ListViewItem.cs: Add support for ListViewSubItemCollection
  11757. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  11758. (it shouldn't call Clear).
  11759. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  11760. 2006-12-19 Jackson Harper <[email protected]>
  11761. * RichTextBox.cs:
  11762. * TextBoxBase.cs: New args for FormatText
  11763. * TextControl.cs: Rewrote the main drawing method, this version
  11764. feels a little easier to understand and debug to me. Hopefully it
  11765. does to others also
  11766. - Fix FormatText to OR in the new formating values. Added
  11767. FormatSpecified param, basically this works in the same way as
  11768. BoundsSpecified in Control.
  11769. - Set the caret properties when the caret is positioned.
  11770. - When wrapping text make sure that we calculate the width of the
  11771. last character
  11772. - when calculating alignments we might have wrapped down to the
  11773. next line, so don't search for an individual tag, search for the
  11774. end of the line
  11775. - We need to invalidate the selection area when we replace the
  11776. selection.
  11777. 2006-12-19 Daniel Nauck <[email protected]>
  11778. * Application.cs: add Restart () 2.0 support
  11779. 2006-12-18 Everaldo Canuto <[email protected]>
  11780. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  11781. property. Fixes #80268.
  11782. 2006-12-18 Everaldo Canuto <[email protected]>
  11783. * MenuAPI.cs: Dont trigger select event when closes top menu
  11784. item. Fixes #80270.
  11785. 2006-12-18 Everaldo Canuto <[email protected]>
  11786. * MenuAPI.cs: When you click on menuitem only trigger onselect
  11787. event for top menu itens. Fixes #80271.
  11788. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  11789. * MdiWindowManager.cs: Make IconicBounds depend on
  11790. the bottom of MdiClient, not the top (fixes #80267)
  11791. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  11792. * MdiClient.cs: Added missing 2.0 attribute
  11793. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  11794. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  11795. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  11796. 2006-12-18 Everaldo Canuto <[email protected]>
  11797. * MenuAPI.cs: Fix click when menuitem is not popup,
  11798. this regression was caused by last commit (#80272).
  11799. 2006-12-17 Everaldo Canuto <[email protected]>
  11800. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  11801. fire click event or close menu. Fixes #80272.
  11802. 2006-12-17 Daniel Nauck <[email protected]>
  11803. * ListViewHitTestInfo.cs: add
  11804. 2006-12-17 Daniel Nauck <[email protected]>
  11805. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  11806. * FlatButtonAppearance.cs: add
  11807. * DockingAttribute.cs: add
  11808. 2006-12-17 Chris Toshok <[email protected]>
  11809. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  11810. and rebind our columns when it does - this way, if you make
  11811. changes to the DataTable (or set the Table attribute on a DataView
  11812. after setting it as the DataGrid's DataSource, the changes are
  11813. made visible.) Fixes bug #80107.
  11814. 2006-12-17 Daniel Nauck <[email protected]>
  11815. * ListViewGroup.cs: add internal Location property for layouting.
  11816. * Theme.cs: add abstract ListViewGroupHeight function.
  11817. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  11818. 2006-12-16 Andreia Gaita <[email protected]>
  11819. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  11820. Added reset of selected index to 0 when adding first tab page.
  11821. Fixes #80264
  11822. * NumericUpDown.cs: Fix NET_2_0 check
  11823. 2006-12-16 Daniel Nauck <[email protected]>
  11824. * ListViewGroup.cs: fixed DefaultValueAttribute value
  11825. 2006-12-16 Daniel Nauck <[email protected]>
  11826. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  11827. 2006-12-15 Miguel de Icaza <[email protected]>
  11828. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  11829. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  11830. ScrollableControl.cs: Add a handful of methods that are
  11831. overwritten in 2.0
  11832. 2006-12-15 Chris Toshok <[email protected]>
  11833. * XplatUIWin32.cs: initial implementation of the Reversible
  11834. drawing functions. there are some problems. DrawReversibleFrame
  11835. doesn't seem to work at all for Dashed FrameStyle, and in the
  11836. Thick case there are drawing errors at the corners (we probably
  11837. need to bind Rectangle instead of doing moveto/lineto's.)
  11838. 2006-12-16 Andreia Gaita <[email protected]>
  11839. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  11840. to send blocks of key messages. Send accumulates keys to send with Flush,
  11841. while SendWait sends all keys immediately.
  11842. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11843. XplatUIX11.cs, XplatUIX11-new.cs:
  11844. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  11845. to Win32 SendInput.
  11846. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  11847. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  11848. testing for ms.net on this class is very tricky, as the tests run too fast
  11849. to allow the hook to release, essentially freezing the keyboard and the
  11850. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  11851. category :p
  11852. 2006-12-16 Daniel Nauck <[email protected]>
  11853. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  11854. added missing attributes.
  11855. 2006-12-15 Daniel Nauck <[email protected]>
  11856. * ListViewGroup.cs: Added missing attributes.
  11857. * ListViewGroupCollection.cs: Added missing attributes.
  11858. 2006-12-15 Daniel Nauck <[email protected]>
  11859. * ListViewItem.cs: fixed ListViewSubItem text property.
  11860. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11861. * Control.cs: Added missing 2.0 attributes
  11862. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11863. * MdiClient.cs: Added missing 2.0 attribute.
  11864. * MonthCalendar.cs: Added some missing 2.0 attributes
  11865. and properties.
  11866. 2006-12-15 Daniel Nauck <[email protected]>
  11867. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  11868. 2006-12-15 Jonathan Pobst <[email protected]>
  11869. * MainMenu.cs: Add the new 2.0 constructor to help out people
  11870. using the MainMenu in VS2005.
  11871. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11872. * MdiChildContext.cs: Removed it, no longer used.
  11873. * MdiClient.cs: Added missing 2.0 attributes.
  11874. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11875. * InternalWindowManager.cs: Fix a NullRef with previous
  11876. changes for toolwindows.
  11877. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11878. * Control.cs:
  11879. - Added AfterTopMostControl to allow for certain controls
  11880. to always stay on top when normal controls are brought to
  11881. front.
  11882. * XplatUIWin32.cs:
  11883. - (DrawInversibleRectangle): Get window rectangle from Win32
  11884. in stead of from control, since Win32 doesn't calculate
  11885. screen coords correctly from control's Location if it
  11886. have docked siblings.
  11887. * MdiWindowManager.cs:
  11888. - Correct the control menu popup location when clicked on
  11889. the maximized form icon. (fixes #80223.1)
  11890. - Don't show moving rectangle if mouse hasn't moved from
  11891. the original clicked point.
  11892. - Removed FormGotFocus handler (not used).
  11893. - Calculate the control buttons location from the main
  11894. window's size and not client size (fixes #79770).
  11895. - Form is now closed when the form icon is double-clicked
  11896. (fixes #79775).
  11897. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  11898. * InternalWindowManager.cs:
  11899. - Moved some MDI-only methods to MdiWindowManager.
  11900. - Removed unused properties and methods.
  11901. - Unified method naming for methods handling wm messages.
  11902. - Moved all message handling to seperate methods for
  11903. each message.
  11904. * ThemeWin32Classic.cs:
  11905. - DrawManagedWindowDecorations now draws the title bar
  11906. with a gradient brush.
  11907. - Add a CPDrawButtonInternal that allows us to specify
  11908. light, normal and dark colors for the buttons (control
  11909. buttons for MDI children were drawn with the same light
  11910. color as the background, therefore loosing the 3D effect).
  11911. * SizeGrip.cs:
  11912. - Add a CapturedControl property that is used to
  11913. determine the control to resize (defaults to parent).
  11914. Needed for MdiClient, since its SizeGrip's parent is
  11915. MdiClient, but the control to resize is the main form.
  11916. * MdiClient.cs:
  11917. - Set SizeGrip's CapturedControl to the main form in order
  11918. to resize the main form and not the MdiClient.
  11919. - Override AfterTopMostControl to leave the scrollbars
  11920. always on top.
  11921. 2006-12-15 Daniel Nauck <[email protected]>
  11922. * ListView.cs: fixed ListViewItemCollection AddRange and
  11923. implemented ListViewItemCollection AddRange 2.0 support.
  11924. 2006-12-15 Daniel Nauck <[email protected]>
  11925. * ListViewGroup.cs: Add.
  11926. * ListViewGroupCollection.cs: Add
  11927. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  11928. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  11929. stub for ImageKey 2.0 support.
  11930. 2006-12-14 Mike Kestner <[email protected]>
  11931. * ListView.cs: add text padding to the autocalculation for columns
  11932. of width -2. Fixes #80207.
  11933. 2006-12-14 Mike Kestner <[email protected]>
  11934. * ListView.cs: add some index guarding for partial row navigation
  11935. logic. Fixes #80250.
  11936. 2006-12-14 Mike Kestner <[email protected]>
  11937. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  11938. are added or inserted to the collection. Fixes #81099.
  11939. 2006-12-13 Everaldo Canuto <[email protected]>
  11940. * MenuAPI.cs: Closes menu when right click out side of popup
  11941. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  11942. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  11943. * ListViewItem.cs: Fix dumb error.
  11944. * ListView.cs: Add Find and ContainsKey methods in
  11945. ListViewItemCollection, and also return true for IsReadOnly
  11946. and IsFixedSize (changes for 2.0).
  11947. 2006-12-13 Gert Driesen <[email protected]>
  11948. * Control.cs: Allow Region to be set to null.
  11949. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  11950. * MdiWindowManager.cs: Remove unused (commented out) code.
  11951. * Form.cs: When the MdiChild is maximized, the form needs
  11952. WM_NCMOUSELEAVE, so request it.
  11953. * InternalWindowManager.cs:
  11954. - Added tooltips to control buttons.
  11955. - Removed duplicated control button handling code.
  11956. - Removed unused (commented out) code.
  11957. 2006-12-12 Everaldo Canuto <[email protected]>
  11958. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  11959. was used because we must set cursor without trigger ChangeCursor event
  11960. and without change Cursor control property. Fixes #79963.
  11961. 2006-12-12 Andreia Gaita <[email protected]>
  11962. * Control.cs: Check if Region setter value is null, and ignore
  11963. 2006-12-12 Jackson Harper <[email protected]>
  11964. * TextControl.cs: We were almost always drawing one more line then
  11965. needed, since the GetLineByPixel will return the last line found
  11966. at that pixel. In most cases though, we were invalidating up to
  11967. the junction between two lines.
  11968. - Improve debug code.
  11969. 2006-12-12 Chris Toshok <[email protected]>
  11970. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  11971. and FillReversibleRectangle.
  11972. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  11973. and FillReversibleRectangle.
  11974. * XplatUIWin32.cs: add stubs which do nothing for
  11975. DrawReversibleFrame, DrawReversibleLine, and
  11976. FillReversibleRectangle.
  11977. * XplatUIOSX.cs: add stubs which raise NIE for
  11978. DrawReversibleFrame, DrawReversibleLine, and
  11979. FillReversibleRectangle.
  11980. * XplatUIX11.cs: add working implementation for
  11981. DrawReversibleFrame, DrawReversibleLine, and
  11982. FillReversibleRectangle.
  11983. * ControlPaint.cs: implement DrawReversibleFrame,
  11984. DrawReversibleLine, and FillReversibleRectangle, by calling into
  11985. the appropriate XplatUI method.
  11986. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11987. * Form.cs: Make MdiClient have the focus even if it's
  11988. not selectable, since it should receive WM_KEY* and WM_MOUSE
  11989. messages. Fixes #79907.
  11990. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11991. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  11992. queried after the window is created.
  11993. * XplatUIX11.cs: Added SendParentNotify to implement
  11994. WM_PARENTNOTIFY logic. Fixes #79965.
  11995. * Control.cs: Added MakeParam.
  11996. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11997. * MdiClient.cs: Resume Layout before setting window
  11998. states (fixes #80201).
  11999. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  12000. * MenuAPI.cs: Deselect a menu item after performing
  12001. the click (fixes #80197).
  12002. 2006-12-11 Jackson Harper <[email protected]>
  12003. * TextBoxBase.cs: We need to cap this value, since Maximum -
  12004. ViewPortHeight can be less than zero.
  12005. - Only do selection with the left mouse button.
  12006. * TextBox.cs: Don't tell the world that we have a context menu.
  12007. * Control.cs: New method so that we can control whether or not the
  12008. context menu is visible outside MWF.
  12009. 2006-12-11 Everaldo Canuto <[email protected]>
  12010. * ToolBarButton.cs: Fix text positon.
  12011. 2006-12-11 Miguel de Icaza <[email protected]>
  12012. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  12013. * Control.cs (DoubleBuffered): Add implementation.
  12014. * Application.cs (OpenForms): Add.
  12015. 2006-12-11 Jonathan Pobst <[email protected]>
  12016. * Form.cs: Use opacity instead of Opactiy to determine if we need
  12017. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  12018. 2006-12-11 Jonathan Pobst <[email protected]>
  12019. * Control.cs: Fix NRE if Control.Site was set to null.
  12020. 2006-12-11 Chris Toshok <[email protected]>
  12021. * Control.cs: ControlCollection.Remove should return if the arg is
  12022. null, and ControlCollection.SetChildIndex should raise a ANE.
  12023. 2006-12-11 Gert Driesen <[email protected]>
  12024. * Control.cs: Verify value set for Dock property. Code formatting
  12025. updates.
  12026. 2006-12-11 Jackson Harper <[email protected]>
  12027. * TextControl.cs: Draw the caret and the selection when a flag is
  12028. set on the owner.
  12029. * TextBoxBase.cs: We want to draw the caret and the selection for
  12030. TextBox but not for TextBoxBase.
  12031. - If the window is resized and scrolling is no longer needed (the
  12032. whole doc is visible) set the scroll position to zero.
  12033. - The default SelectWord (the one TextBox uses) should move the
  12034. caret to the end of the word.
  12035. - SelectAll moves the caret to the end of the selection.
  12036. * TextBox.cs: We don't selectall on focus, we just do it when the
  12037. control is created.
  12038. 2006-12-11 Mike Kestner <[email protected]>
  12039. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  12040. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  12041. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  12042. 2.0 support.
  12043. * ListViewItem.cs: Add Name 2.0 property.
  12044. 2006-12-11 Andreia Gaita <[email protected]>
  12045. * TabControl.cs: Set visibility on selected or default tab
  12046. when tabcontrol handle is created, so that it's contents
  12047. actually show up (duh). Fixes #80193
  12048. Don't redraw the control if there is no handle created, as
  12049. the selected index might be completely invalid. Added some tests
  12050. to check for this.
  12051. 2006-12-11 Everaldo Canuto <[email protected]>
  12052. * ToolBar.cs: Uses maximun width and height of all buttons as
  12053. button rectangle when ButtonSize specified, it looks strange but
  12054. is what happens in Win32. Fixes #80189.
  12055. 2006-12-11 Jackson Harper <[email protected]>
  12056. * TextControl.cs: Need to track undo levels ourself, since
  12057. compound actions will mess them up.
  12058. 2006-12-10 Andreia Gaita <[email protected]>
  12059. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  12060. SelectedIndex value is changed (even if it's not valid).
  12061. Reset SelectedIndex to 0 when the handle is created and if
  12062. the current index is invalid.
  12063. Fixes SelectdeIndex unit tests and #80128
  12064. 2006-12-08 Chris Toshok <[email protected]>
  12065. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  12066. calls EndEdit, it needs to be called before we set current_cell to
  12067. its new value. Otherwise, we end up committing the value in the
  12068. textbox to the new cell as well. Fixes bug #80160.
  12069. 2006-12-08 Chris Toshok <[email protected]>
  12070. * Form.cs (set_CancelButton): if the button's DialogResult is
  12071. None, set it to Cancel. Fixes bug 80180.
  12072. 2006-12-08 Jackson Harper <[email protected]>
  12073. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  12074. to watch ourselves when setting the canvas size and setting the
  12075. scrollbar values.
  12076. 2006-12-08 Chris Toshok <[email protected]>
  12077. * DataGrid.cs: comment out the two MakeTransparent calls for the
  12078. time being so people using trunk (and not 1.2.2) on windows can
  12079. actually use the datagrid. This deals with bug #80151.
  12080. 2006-12-08 Jonathan Pobst <[email protected]>
  12081. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  12082. Graphics.DrawImage (image, int, int, int, int) overload instead
  12083. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  12084. the dpi difference and was blurring images it drew.
  12085. [Fixes bug #79960]
  12086. 2006-12-08 Chris Toshok <[email protected]>
  12087. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  12088. rowcnt is 0 (such as with an empty datasource), and make sure we
  12089. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  12090. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  12091. 2006-12-08 Chris Toshok <[email protected]>
  12092. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  12093. grid.
  12094. 2006-12-08 Chris Toshok <[email protected]>
  12095. [ Fixes bug #80167 ]
  12096. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  12097. style is FlatStyle.System.
  12098. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  12099. ButtonBase.flat_style private, and switch uses of it to the public
  12100. property.
  12101. 2006-12-08 Chris Toshok <[email protected]>
  12102. [ Fixes bug #80121 ]
  12103. * ThemeWin32Classic.cs: center the caption text in the datagrid
  12104. when we draw it.
  12105. * DataGrid.cs: lessen the amount we add to the caption height from
  12106. 6 to 2. 6 was making it huge.
  12107. 2006-12-08 Andreia Gaita <[email protected]>
  12108. * UpDownBase: Handle MouseWheel call directly instead of capturing
  12109. the inner textbox's OnMouseWheel. Fixes #80166
  12110. 2006-12-08 Jackson Harper <[email protected]>
  12111. * TextControl.cs: We need to invalidate the textbox when we empty
  12112. it (how had this not been discovered before?)
  12113. 2006-12-08 Jackson Harper <[email protected]>
  12114. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  12115. to behave like MS, we now ignore the eventargs.Click and just
  12116. track state ourself, which we were already doing anyways.
  12117. - Constrain the double click handler to the double click size.
  12118. 2006-12-08 Chris Toshok <[email protected]>
  12119. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  12120. direction if that scrollbar isn't shown. fixes bug #80158.
  12121. 2006-12-08 Andreia Gaita <[email protected]>
  12122. * NumericUpDown.cs: Update value on getter. Fixes #79950
  12123. 2006-12-08 Chris Toshok <[email protected]>
  12124. * MenuItem.cs: add back in the event cloning code. I didn't know
  12125. how to do it in the face of the EventHandlerList work i'd done
  12126. last week. Fixes bug #80183.
  12127. 2006-12-08 Jonathan Pobst <[email protected]>
  12128. * Control.cs: Add an invalidate to the BackgroundImage setter.
  12129. [Fixes 80184]
  12130. 2006-12-07 Jonathan Pobst <[email protected]>
  12131. * ToolStrip*: Add some small properties reported by MoMA, fix event
  12132. firing and default properties based off of unit tests, and add some
  12133. attributes based off of the class status page.
  12134. 2006-12-07 Jackson Harper <[email protected]>
  12135. * TextBoxBase.cs: Take HideSelection into account when determining
  12136. whether or not to show the selection.
  12137. * RichTextBox.cs: After inserting the RTF into the document move
  12138. the cursor to the beginning of the document.
  12139. 2006-12-07 Jonathan Pobst <[email protected]>
  12140. * Control.cs: Remove static ArrayList "controls" which maintained
  12141. a reference to every control created.
  12142. * Application.cs: Create a static FormCollection to maintain a reference
  12143. to every form created. Use it in places that formerly enumerated through
  12144. the controls one looking for forms.
  12145. * Form.cs: Add and remove self from above FormCollection.
  12146. 2006-12-07 Alexander Olk <[email protected]>
  12147. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  12148. not libgdk (though it makes me wonder why I didn't have any
  12149. problems)
  12150. 2006-12-07 Chris Toshok <[email protected]>
  12151. [ you had to know this was coming after that last commit...]
  12152. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  12153. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  12154. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  12155. XCopyArea).
  12156. 2006-12-07 Chris Toshok <[email protected]>
  12157. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  12158. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  12159. all the behavior we need for double buffering.
  12160. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  12161. client side Bitmap, just like the old Control-based double buffer
  12162. code did. The methods are virtual, so each XplatUI driver
  12163. subclass can replace the implementation to use a faster, platform
  12164. specific approach.
  12165. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  12166. double buffer code, and clean things up a bit in the process.
  12167. 2006-12-06 Chris Toshok <[email protected]>
  12168. * Control.cs: reindent WndProc.
  12169. 2006-12-06 Chris Toshok <[email protected]>
  12170. [ I wanna be like BenM when I grow up ]
  12171. * Hwnd.cs: create a single static Graphics object on the static
  12172. Bitmap we create. use this for our text measurements.
  12173. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  12174. This was causing us to allocate a backbuffer for every control,
  12175. even when it wasn't flagged as double buffered. Instead use the
  12176. single graphics instance. This might have implications for
  12177. multithreaded applications. If we run into problems we can switch
  12178. to creating 1 Graphics per control, on the static Hwnd bitmap.
  12179. this change nets us a 7M savings in private dirty mappings when
  12180. running FormsTest.exe.
  12181. 2006-12-06 Chris Toshok <[email protected]>
  12182. * ListView.cs: the BackgroundImage override is just to set
  12183. attributes. chain up to base.BackgroundImage.
  12184. * RichTextBox.cs: same.
  12185. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  12186. changes, so instead a handler for BackgroundImageChanged.
  12187. * Control.cs: make background_image private.
  12188. 2006-12-06 Chris Toshok <[email protected]>
  12189. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  12190. sure we even need this assignment, but roll with it for now.
  12191. * Control.cs: make the cursor field private.
  12192. 2006-12-06 Chris Toshok <[email protected]>
  12193. * Form.cs: we don't need to explicitly set ImeMode to
  12194. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  12195. behavior in the face of ImeMode.Inherit.
  12196. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  12197. change the ctor's assignment to use ImeMode instead of ime_mode.
  12198. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  12199. ImeModeInherit. Only check for the parent's imemode (and return
  12200. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  12201. This fixes the button unit test, which sets both ImeMode and
  12202. DefaultImeMode to ImeMode.Disable.
  12203. also make the ime_mode field private.
  12204. 2006-12-06 Chris Toshok <[email protected]>
  12205. * Control.cs: make control_style private.
  12206. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  12207. setting the styles to true, then setting them to false instead of
  12208. reverting to their previous values.
  12209. also, call SetStyle on the scrollbars instead of using
  12210. control_style directly.
  12211. 2006-12-06 Jonathan Pobst <[email protected]>
  12212. * FormCollection.cs: Implement. [2.0]
  12213. 2006-12-06 Chris Toshok <[email protected]>
  12214. * Control.cs: make tab_stop private.
  12215. * Label.cs: set TabStop, not tab_stop. reformat some event
  12216. add/remove methods to make them more compact.
  12217. 2006-12-06 Chris Toshok <[email protected]>
  12218. * RadioButton.cs: fix TabStop handling.
  12219. 2006-12-06 Chris Toshok <[email protected]>
  12220. * TextBox.cs: remove the explicit assignments to has_focus.
  12221. Control does that.
  12222. * ButtonBase.cs: remove the assignment to has_focus. Control will
  12223. manage that.
  12224. 2006-12-06 Chris Toshok <[email protected]>
  12225. * ButtonBase.cs: remove all uses of is_enabled from this code.
  12226. it's always true when any of the code containing the checks is
  12227. executed.
  12228. 2006-12-06 Chris Toshok <[email protected]>
  12229. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  12230. with different semantics (some are present in both 1.1 and 2.0
  12231. profiles) so that we match MS's behavior in our unit tests.
  12232. 2006-12-06 Jackson Harper <[email protected]>
  12233. * TextControl.cs: Make this operation undoable.
  12234. * TextBoxBase.cs: Factor the border width into the preferred
  12235. height.
  12236. - implement Modified as per the spec.
  12237. 2006-12-06 Chris Toshok <[email protected]>
  12238. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  12239. 2006-12-06 Chris Toshok <[email protected]>
  12240. * Control.cs: make right_to_left and context_menu fields private.
  12241. 2006-12-06 Chris Toshok <[email protected]>
  12242. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  12243. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  12244. Control.child_controls private. switch all uses over to
  12245. Control.Controls.
  12246. 2006-12-06 Chris Toshok <[email protected]>
  12247. * System.Windows.Forms/GroupBox.cs,
  12248. System.Windows.Forms/AccessibleObject.cs,
  12249. System.Windows.Forms/ErrorProvider.cs,
  12250. System.Windows.Forms/Control.cs,
  12251. System.Windows.Forms/UpDownBase.cs,
  12252. System.Windows.Forms/ScrollBar.cs,
  12253. System.Windows.Forms/DateTimePicker.cs,
  12254. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  12255. System.Windows.Forms/ToolTip.cs,
  12256. System.Windows.Forms/RadioButton.cs,
  12257. System.Windows.Forms/LinkLabel.cs,
  12258. System.Windows.Forms/Splitter.cs,
  12259. System.Windows.Forms/TextBoxBase.cs,
  12260. System.Windows.Forms/ToolStripTextBox.cs,
  12261. System.Windows.Forms/ContainerControl.cs,
  12262. System.Windows.Forms/ThemeWin32Classic.cs,
  12263. System.Windows.Forms/SizeGrip.cs,
  12264. System.Windows.Forms/ToolStripDropDown.cs,
  12265. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  12266. private. switch all uses over to Control.Parent.
  12267. 2006-12-06 Chris Toshok <[email protected]>
  12268. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  12269. Control does this before calling emitting these events.
  12270. * TabControl.cs: same.
  12271. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  12272. Control.client_rect.
  12273. * ButtonBase.cs: use the ClientSize property instead of the
  12274. client_size field.
  12275. * ScrollableControl.cs: same.
  12276. * Control.cs: another pass at making properties private. also,
  12277. move the initialization of tab_stop to the ctor.
  12278. 2006-12-05 Andreia Gaita <[email protected]>
  12279. * TabControl.cs: Let the selected index be set freely if the
  12280. control handle is not yet created.
  12281. 2006-12-05 Jonathan Pobst <[email protected]>
  12282. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  12283. internal until I can rewrite DefaultLayout.
  12284. * ToolStrip.cs: Fix build error and some general cleaning.
  12285. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  12286. Fix build errors caused by making some of Control's fields private.
  12287. 2006-12-05 Jackson Harper <[email protected]>
  12288. * TextControl.cs: Redo Insert a little so that it use IndexOf
  12289. instead of Split, this prevents it from messing up on things like
  12290. \n\n\n. Also more effecient since the split array doesn't need to
  12291. be created.
  12292. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  12293. multiline text differently, this is the first of many fixes that
  12294. will make multiline/non-multiline the same thing as far as the
  12295. TextBoxBase is concerned.
  12296. - Don't split the text and insert lines, this can lose some line
  12297. endings (like is the last line a soft or hard break). Instead use
  12298. the new Insert.
  12299. - Fix an off by one when combining all the lines in the Text
  12300. getter.
  12301. - Remove separate multiline handling from the Text getter/setter.
  12302. 2006-12-05 Chris Toshok <[email protected]>
  12303. * ButtonBase.cs: a few changes:
  12304. - don't reinitialize internal Control fields in the ctor when they
  12305. have the same values as Control sets them.
  12306. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  12307. this before calling those methods.
  12308. - we don't need to call Refresh for anything. use Invalidate
  12309. instead.
  12310. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  12311. calls Refresh in its OnEnabledChanged.
  12312. - several of the events we were registered for in the ctor to
  12313. redraw ourselves already include calls to Invalidate in the
  12314. property setters that raise the events. remove the extra
  12315. invalidation.
  12316. - reformat a switch statement that was 83274658 columns wide.
  12317. 2006-12-05 Mike Kestner <[email protected]>
  12318. * ComboBox.cs: fix a unit test regression from a TextBox
  12319. SelectionLength return of -1 when there's no selection.
  12320. 2006-12-05 Chris Toshok <[email protected]>
  12321. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  12322. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  12323. cleaning up some of the internal Control fields being used by
  12324. subclasses.
  12325. 2006-12-05 Mike Kestner <[email protected]>
  12326. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  12327. listbox after AddImplicit calls since it defaults to hidden. Add a
  12328. hack to preserve requested heights across DropDownStyle changes.
  12329. 2006-12-05 Jonathan Pobst <[email protected]>
  12330. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  12331. 2006-12-05 Chris Toshok <[email protected]>
  12332. * DataGridView.cs: fix compiler warnings.
  12333. * PrintControllerWithStatusDialog.cs: same.
  12334. * ToolBar.cs: same.
  12335. * FolderBrowserDialog.cs: same.
  12336. * Splitter.cs: same.
  12337. * DataGridViewComboBoxCell.cs: same.
  12338. * XplatUIWin32.cs: same.
  12339. * PictureBox.cs: same.
  12340. * Win32DnD.cs: same.
  12341. * PageSetupDialog.cs: same.
  12342. * FileDialog.cs: same.
  12343. * PrintDialog.cs: same.
  12344. * DataGridTextBoxColumn.cs: same.
  12345. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  12346. 2006-12-05 Chris Toshok <[email protected]>
  12347. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  12348. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  12349. System.ComponentModel.EventHandlerList work.
  12350. 2006-12-05 Jonathan Chambers <[email protected]>
  12351. * DrawTreeNodeEventArgs.cs: Added.
  12352. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12353. * InternalWindowManager.cs: Remove an unused field.
  12354. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12355. * InternalWindowManager.cs:
  12356. - Save the point where the title bar is clicked.
  12357. * MdiWindowManager.cs:
  12358. - Only allow moving of the window as long as the
  12359. clicked point on the title bar does not get out of
  12360. MdiClient's rectangle. Fixes #79982.
  12361. * MdiClient.cs:
  12362. - Added Horizontal/VerticalScrollbarVisible.
  12363. - Simplified the scrollbar sizing algorithm.
  12364. - Cache the difference in scrolled value in
  12365. H/VBarValueChanged and move the calculation out
  12366. of the for loop.
  12367. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12368. * Control.cs: Make the Console.WriteLine in WndProc
  12369. write more info.
  12370. 2006-12-05 Chris Toshok <[email protected]>
  12371. * ToolStripManager.cs, ToolStripButton.cs,
  12372. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  12373. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  12374. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  12375. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  12376. ToolStripProgressBar.cs, ToolStripContainer.cs,
  12377. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  12378. to using System.ComponentModel.EventHandlerList.
  12379. 2006-12-04 Chris Toshok <[email protected]>
  12380. * LinkLabel.cs: fix up compiler warnings.
  12381. * TableLayoutSettings.cs: same.
  12382. * TreeView.cs: same.
  12383. * ToolBar.cs: same.
  12384. * TabControl.cs: same.
  12385. * RichTextBox.cs: same.
  12386. * ListViewItem.cs: same.
  12387. * PropertyGrid.cs: same.
  12388. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  12389. * ToolTip.cs same.
  12390. * TextRenderer.cs: fix up compiler warnings.
  12391. * Label.cs: same.
  12392. * Form.cs: corcompare fixes.
  12393. * PictureBox.cs: fix up compiler warnings.
  12394. * ImageListStreamer.cs: same.
  12395. * TrackBar.cs: corcompare fix.
  12396. * Control.cs: fix up compiler warnings.
  12397. * SplitterPanel.cs: same.
  12398. * NumericTextBox.cs: same.
  12399. * ImageList.cs: same.
  12400. * StatusStrip.cs: same.
  12401. * ProgressBar.cs: corcompare fix.
  12402. * ToolStripButton.cs: fix up compiler warnings.
  12403. * ToolStripStatusLabel.cs: same.
  12404. * ToolStripSplitButton.cs: same.
  12405. * ToolStripSeparator.cs: same.
  12406. * ToolStripProgressBar.cs: same.
  12407. * ToolStripDropDownMenu.cs: same
  12408. * ToolStripDropDown.cs: same.
  12409. * ToolStripDropDownButton.cs: same.
  12410. * ToolStrip.cs: same.
  12411. * ToolStripControlHost.cs: same.
  12412. * ToolStripContentPanel.cs: same.
  12413. * ToolStripDropDown.cs: same.
  12414. * ToolStripContainer.cs: same.
  12415. * ToolStripPanel.cs: same, and add "new" where we need it to work
  12416. with the new ArrangedElementCollection.
  12417. * ToolStripItemCollection.cs: add "new" where we need it to work
  12418. with the new ArrangedElementCollection.
  12419. 2006-12-04 Andreia Gaita <[email protected]>
  12420. * TabControl.cs: Fix default tab selection to after TabControl
  12421. gets focus and not before. Fixes #80128
  12422. 2006-12-04 Chris Toshok <[email protected]>
  12423. * DataGridTableStyle.cs: remove the gross calling of
  12424. datagrid.Refresh from here. It's a broken idea and it doesn't
  12425. work anyway.
  12426. * DataGrid.cs: instead, just register/unregister from the
  12427. DataGridTableStyle events in CurrentTableStyle. we play it
  12428. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  12429. even though some would most likely not require it. Fixes bug
  12430. #80115 (and one portion of #80117 as a side effect).
  12431. 2006-12-04 Chris Toshok <[email protected]>
  12432. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  12433. so the textbox (if any) goes away. Fixes bug #80117.
  12434. 2006-12-04 Chris Toshok <[email protected]>
  12435. * DataGridColumnStyle.cs: set the column's readonly property
  12436. initially based on the property descriptor's IsReadOnly. Fixes
  12437. bug #80044.
  12438. 2006-12-04 Chris Toshok <[email protected]>
  12439. * ComboBox.cs: wrap the dropdown style changing work in
  12440. SuspendLayout/ResumeLayout. Fixes bug #79968.
  12441. 2006-12-04 Jackson Harper <[email protected]>
  12442. * TextBoxBase.cs: Fix off by one, since these are one-based.
  12443. * TextBox.cs: Select all the text when we get focus. The TextBox
  12444. does this but the RTB does not.
  12445. 2006-12-04 Chris Toshok <[email protected]>
  12446. * DataGridTextBoxColumn.cs: remove some spew.
  12447. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  12448. but some part of me is saying "it shouldn't be here.." At any
  12449. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  12450. setting the value.
  12451. 2006-12-04 Chris Toshok <[email protected]>
  12452. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  12453. to reassign the propertydescriptor.
  12454. 2006-12-04 Jackson Harper <[email protected]>
  12455. * TextBoxBase.cs:
  12456. * TextControl.cs: Remove some unused variables. Maybe this will
  12457. patch things up between mike and I.
  12458. - don't split lines less then one char wide, if the viewport is
  12459. that small text won't be visible anyways.
  12460. 2006-12-04 Jackson Harper <[email protected]>
  12461. * TextBoxBase.cs: Default selection length is -1, need to do some
  12462. more testing on windows to see when this is used for the property.
  12463. - Redid the Lines [] property to that we properly remove soft line
  12464. breaks
  12465. - added support for preserving carriage returns
  12466. - CanUndo is not a variable like 'is undo enabled' it just returns
  12467. true if there is undo operations available.
  12468. - AppendText doesn't need to grab the last tag itself anymore,
  12469. this happens automatically when we move the cursor.
  12470. * TextControl.cs: Add CompoundActions to the undo class. This
  12471. allows combining the other operations into one big option. ie a
  12472. paste will combine { delete old, insert new, move cursor }
  12473. - Add InsertString undo operation
  12474. - New method for deleting multiline text
  12475. - Add carriage returns to lines. So we can preserve carriage
  12476. returns when text is 'roundtripped'
  12477. 2006-12-04 Chris Toshok <[email protected]>
  12478. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  12479. minimum 0. Fixes the scrollbar exception in bug #80136.
  12480. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12481. * MdiClient.cs:
  12482. * MdiWindowManager: Removed unused fields and methods.
  12483. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12484. * StatusBar.cs: Update all panels when a AutoSize=Contents
  12485. panel needs updating.
  12486. * StatusBarPanel.cs: Remove twidth and only use initialize.
  12487. Fixes #80031.
  12488. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12489. * Form.cs: When a form's MdiParent is set add it directly
  12490. on top of the z-order in stead of relying on MdiClient's
  12491. ActivateChild to do it. Fixes #80135.
  12492. * MdiClient.cs:
  12493. - Remove original_order, mdi_child_list is already doing
  12494. the same thing.
  12495. - Create mdi_child_list on construction in
  12496. stead of first use (avoids a few null checks).
  12497. * MenuItem.cs: Use an already existing list of mdi children
  12498. to get the correct order of children and remove the other
  12499. redundant list.
  12500. 2006-12-04 Chris Toshok <[email protected]>
  12501. * PropertyGridView.cs: cached_splitter_location is only used in
  12502. !DOUBLEBUFFER code.
  12503. * PropertyGrid.cs: implement the ComComponentNameChanged event
  12504. using Events, hoping that would fix the warning. Looks like a
  12505. compiler bug instead (#80144).
  12506. * PropertyManager.cs: remove unused method.
  12507. 2006-11-04 Everaldo Canuto <[email protected]>
  12508. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  12509. include parentesis to fix expression evaluation. Fixes #79634.
  12510. 2006-11-02 Everaldo Canuto <[email protected]>
  12511. * MenuAPI.cs:
  12512. - Changes to fix behavior in Menu control, some reported in #80097
  12513. and other detected during behavior refactory like a select event
  12514. problems.
  12515. - Remove unneded "if's" conditions.
  12516. - Created an internal to flag when popup is active in control, we need
  12517. it because in .NET you can have menu active but without popup active
  12518. when you active menu using popup without visible items.
  12519. - Mimic win32 behavior for Select and Popup events.
  12520. - Dont open popup menu when you dont have visible subitems.
  12521. - Do nothing when click on disabled menu item.
  12522. - Some small changes to follow the coding style guidelines.
  12523. - Unselect menu only when another control gives focus. Fixes #80097.
  12524. - Remove unused code.
  12525. * MenuItem.cs: internal VisibleItems method to check if menu
  12526. theres visible subitems, it will be usefull to fix some
  12527. behavior in Menu control.
  12528. 2006-11-01 Everaldo Canuto <[email protected]>
  12529. * Timer.cs: Tag property for 2.0 profile.
  12530. 2006-12-01 Chris Toshok <[email protected]>
  12531. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  12532. * Win32DnD.cs: comment out some unused fields.
  12533. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  12534. some unused properties/methods.
  12535. * XplatUIX11.cs: fix MousePosition so we override the base class's
  12536. property instead of conflicting with it.
  12537. * PictureBox.cs: comment out some unused fields
  12538. * OSXStructs.cs: make some struct fields public.
  12539. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  12540. MousePosition so we override the base class's property instead of
  12541. conflicting with it.
  12542. * X11Dnd.cs: comment out some unused fields
  12543. * X11DesktopColors.cs: fix some struct field visibility to quiet
  12544. the compiler.
  12545. * X11Dnd.cs: remove some debug code.
  12546. * ThemeClearlooks.cs: comment out unused field.
  12547. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  12548. * ThemeGtk.cs: comment out some unused pinvokes.
  12549. * Timer.cs: remove some unused fields.
  12550. * ThemeClearlooks.cs: comment out unused field.
  12551. * UpDownBase.cs: comment out unused field.
  12552. * DataObject.cs: comment out unused field.
  12553. * DataGridBoolColumn.cs: reomve unused field.
  12554. * DataGrid.cs: remove unused field.
  12555. * Cursor.cs: remove old ToBitmap code.
  12556. * ControlPaint.cs: remove unused method.
  12557. * ScrollBar.cs: remove unused fields.
  12558. * ComboBox.cs: remove unused field, and chain up to
  12559. AccessibleObject ctor.
  12560. * ListBox.cs: remove unused field.
  12561. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  12562. * GridEntry.cs: remove unused fields.
  12563. * Binding.cs: remove unused fields.
  12564. * AxHost.cs: remove unused method.
  12565. * ContainerControl.cs: remove unused field.
  12566. * ScrollableControl.cs: remove unused fields.
  12567. 2006-12-01 Chris Toshok <[email protected]>
  12568. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  12569. the Where/WhereString stuff. it's easy enough to CWL
  12570. Environment.StackTrace.
  12571. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  12572. unused private fields.
  12573. 2006-12-01 Jackson Harper <[email protected]>
  12574. * TextControl.cs: Do not update the view while inserting multiline
  12575. text. If we update the view we might wrap lines, before entering
  12576. the new lines, which causes the new line insertion calculations to
  12577. be totally fubared.
  12578. - Remove an old TODO
  12579. - Make debug output a little nicer
  12580. 2006-12-01 Chris Toshok <[email protected]>
  12581. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  12582. 2006-12-01 Chris Toshok <[email protected]>
  12583. [ fix the majority of the CS0108 warnings we've been suppressing ]
  12584. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  12585. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  12586. to "LayoutToolBar" to quiet mcs.
  12587. * TabControl.cs: mark our ControlCollection class as 'new'.
  12588. * TextBoxBase.cs: mark some events as 'new'.
  12589. * Splitter.cs: TabStop is 'new'.
  12590. * ControlBindingsCollection.cs: mark a few methods as new since
  12591. they change the visibility from protected to public.
  12592. * RadioButton.cs: DoubleClick -> base class, and remove unused
  12593. HaveDoubleClick.
  12594. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  12595. events as new.
  12596. * NumericUpDown.cs: TextChanged -> base class.
  12597. * CheckedListBox.cs: mark our ObjectCollection class as new to
  12598. quiet mcs.
  12599. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  12600. muck with the base class.
  12601. * StatusBar.cs: fix some mcs warnings about Update being the same
  12602. name as a base class method.
  12603. * RichTextBox.cs: mark some events as new, and make them do things
  12604. to the base class impl.
  12605. * UserControl.cs: mark TextChanged as new, and have it manipulate
  12606. base.TextChanged.
  12607. * UpDownBase.cs: mark some things new.
  12608. * CheckBox.cs: mark DoubleClick "new", and add some text about
  12609. what we need to look at.
  12610. * Panel.cs: make the events "new", and manipulate the base
  12611. version. these are just here for attributes.
  12612. * AccessibleObject.cs: make owner private.
  12613. * Control.cs: deal with AccessibleObject.owner being private.
  12614. cache our own copy if we need it.
  12615. * Button.cs: add "new" to the DoubleClickEvent.
  12616. * ListBox.cs: no need to track our own has_focus here. let
  12617. Control.has_focus do it for us. Also some other work to clear up
  12618. warnings about not overriding base class methods of the same name.
  12619. * ComboBox.cs: clear up some warnings about not override base
  12620. class methods of the same name.
  12621. 2006-12-01 Chris Toshok <[email protected]>
  12622. * Form.cs: flag a few things as "new" to quiet some of the mcs
  12623. warnings.
  12624. * AxHost.cs: same.
  12625. * PrintPreviewDialog.cs: same.
  12626. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  12627. now DGV isn't so horrible on the class status page. also, move
  12628. all events to using System.ComponentModel.EventHandlerList. my
  12629. wrists hurt.
  12630. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  12631. * MdiWindowManager.cs:
  12632. - Set form to active mdi child if shown,
  12633. and update the active mdi child to the next
  12634. remaining child in the z-order if the form is hidden.
  12635. * Form.cs:
  12636. - Track if the form has been visible and if its
  12637. visibility is beeing changed, so that the MdiClient
  12638. can properly decide the ActiveMdiChild. The MdiClient
  12639. cannot track this since the form can change visibility
  12640. before MdiClient is created.
  12641. * MdiClient.cs:
  12642. - Don't activate anything of the parent form is changing
  12643. its visibility.
  12644. - Rework ActiveMdiChild to only return visible mdi
  12645. children and take into account several other corner
  12646. cases.
  12647. 2006-12-01 Chris Toshok <[email protected]>
  12648. * IBindableComponent.cs: new 2.0 interface.
  12649. 2006-12-01 Gert Driesen <[email protected]>
  12650. * DataGrid.cs: Font for caption area is bold by default.
  12651. 2006-12-01 Everaldo Canuto <[email protected]>
  12652. * Menu.cs: Tag property for 2.0.
  12653. 2006-11-01 Everaldo Canuto <[email protected]>
  12654. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  12655. 2006-12-01 Chris Toshok <[email protected]>
  12656. * TreeView.cs: doh, the Begin* events should be
  12657. TreeViewCancelEventHandler.
  12658. 2006-12-01 Chris Toshok <[email protected]>
  12659. * Form.cs: Form.ControlCollection already stores off the
  12660. form_owner field. don't access the base class's internal "owner"
  12661. field.
  12662. * Control.cs: make all the fields in Control.ControlCollection
  12663. private. there's no need for any internal fields here.
  12664. 2006-12-01 Chris Toshok <[email protected]>
  12665. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  12666. OnHandleCreated. Fixes bug #80109.
  12667. 2006-12-01 Chris Toshok <[email protected]>
  12668. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  12669. SplitContainer.cs, Control.cs, StatusStrip.cs,
  12670. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  12671. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  12672. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  12673. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  12674. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  12675. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  12676. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  12677. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  12678. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  12679. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  12680. do most of the work to convert our code over to use
  12681. System.ComponentModel.Component.Events for
  12682. adding/removing/dispatching events.
  12683. 2006-11-30 Jonathan Pobst <[email protected]>
  12684. * DataGridView.cs: Fix an ArgumentNullException reported
  12685. twice today in IRC.
  12686. 2006-11-30 Mike Kestner <[email protected]>
  12687. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  12688. grabbed listbox. Fixes #80036 and #80101.
  12689. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  12690. * Message.cs: Changed ToString() to match MS.
  12691. 2006-11-30 Jackson Harper <[email protected]>
  12692. * TextBoxBase.cs: You can still change the selected text on a read
  12693. only textbox.
  12694. * TextControl.cs: Lower magic number for wrap calculations. This
  12695. lets text get closer to the right (far) edge.
  12696. 2006-11-30 Jonathan Pobst <[email protected]>
  12697. * Control.cs: Tweak 2.0 layout properties.
  12698. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  12699. * TextRenderer.cs: Add a new overload.
  12700. * ToolStrip*: Huge amount of changes and new features.
  12701. 2006-11-30 Mike Kestner <[email protected]>
  12702. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  12703. scroll range correct. Fixes #79994.
  12704. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  12705. * MdiWindowManager.cs: Update main form's text when
  12706. a form is closed. (fixes #80038)
  12707. 2006-11-30 Everaldo Canuto <[email protected]>
  12708. * ToolBar.cs:
  12709. - Fix an regression in ButtonSize.
  12710. - Get ImeMode default value change to "Disable".
  12711. - Get ShowTooltips default value change to true, default value is
  12712. "false" but after make a test in .NET we get "true" result as default.
  12713. 2006-11-29 Jonathan Pobst <[email protected]>
  12714. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  12715. 2006-11-29 Chris Toshok <[email protected]>
  12716. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  12717. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  12718. SetWindowTransparency hasn't been called.
  12719. 2006-11-29 Chris Toshok <[email protected]>
  12720. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  12721. if it's supported.
  12722. (set_AllowTransparency): reorder things a little so that the
  12723. WS_EX_LAYERED style is removed properly.
  12724. 2006-11-29 Chris Toshok <[email protected]>
  12725. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  12726. * Form.cs: only call the XplatUI transparency method (get/set) if
  12727. SupportsTransparency says it's supported. Otherwise fallback to
  12728. doing nothing (in the set case) or returning the instance field we
  12729. cache (in the get case).
  12730. * XplatUIStructs.cs: add TransparencySupport flag enum.
  12731. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  12732. change to SupportsTransparency.
  12733. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  12734. TransparencySupport.None from SupportsTransparency.
  12735. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  12736. TransparencySupport.Set from SupportsTransparency.
  12737. * XplatUIWin32.cs: implement GetWindowTransparency calling
  12738. GetLayeredWindowAttributes, and implement SupportsTransparency by
  12739. checking whether or not both
  12740. GetWindowTransparency/SetWindowTransparency are available
  12741. entrypoints. We need to do this since SetWindowTransparency is
  12742. available as of win2k, but GetWindowTransparency requires winxp.
  12743. yay win32 api.
  12744. * XplatUI.cs: Add GetWindowTransparency, and change
  12745. SupportsTransparency to allow for either/both Get/Set.
  12746. 2006-11-29 Chris Toshok <[email protected]>
  12747. * DataGrid.cs: keep from going into an infinite loop redrawing a
  12748. datagrid that has no datasource. Fixes bug #80033.
  12749. 2006-11-29 Chris Toshok <[email protected]>
  12750. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  12751. Invalidate) before the mainmenu has been assigned to a control.
  12752. 2006-11-29 Chris Toshok <[email protected]>
  12753. * DataGrid.cs: detect when we should be double the double click
  12754. row/column autosize stuff, although that codepath has yet to be
  12755. written. part of the work for bug #79891.
  12756. 2006-11-29 Chris Toshok <[email protected]>
  12757. * Binding.cs (SetControl): fix unit test.
  12758. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  12759. * PageSetupDialog.cs: Validate the margins and set them in
  12760. PageSettings.
  12761. * NumericTextBox.cs: New class to mimic the behavior of the
  12762. textboxes used in the printing dialogs.
  12763. 2006-11-29 Andreia Gaita <[email protected]>
  12764. * Form.cs: Revert previous change (remove call UpdateBounds
  12765. from form constructor), because it messes with the handle creation
  12766. order, and that one needs lots and lots of love.
  12767. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  12768. for valid printer and throw InvalidPrinterException if document
  12769. is set but printer not valid), adding a MonoTODO. Once
  12770. handle creation is done properly, we can put this back in.
  12771. 2006-11-28 Everaldo Canuto <[email protected]>
  12772. * MenuItem.cs: Create a invalidate method for menu item, to be
  12773. calling from set text, it make text changes to imadiate update
  12774. on screen. Fixes #80013.
  12775. 2006-11-28 Everaldo Canuto <[email protected]>
  12776. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  12777. fixes bug #80070 and some other problem on toolbar buttons
  12778. layout.
  12779. 2006-11-28 Everaldo Canuto <[email protected]>
  12780. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  12781. with dotted brush. Fixes #79564
  12782. 2006-11-28 Andreia Gaita <[email protected]>
  12783. * Form.cs: Removed call to UpdateBounds on Form
  12784. constructor, it was causing a call to CreateHandle
  12785. before it was supposed to.
  12786. * PrintControllerWithStatusDialog: Applied patch
  12787. by Chris Toshok to hide controller when there are
  12788. no printers available.
  12789. PrintDialog.cs: initialize printer settings to
  12790. null - correct DefaultValues test #5
  12791. * PrintPreviewControl.cs: Move PrintController
  12792. initialization to GeneratePreview
  12793. * PrintPreviewDialog.cs:
  12794. - Remove Preview generation from Document_set(). It is
  12795. called on OnPaint
  12796. - Throw InvalidPrinterException on CreateHandle if
  12797. a Document is set but there are no printers or
  12798. printer is not valid.
  12799. * ThemeWin32Classic: don't paint PrintPreviewControl
  12800. if there is nothing to paint
  12801. 2006-11-28 Miguel de Icaza <[email protected]>
  12802. * Form.cs: Add another popular method.
  12803. * TabPage.cs: ditto.
  12804. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12805. * MenuItem.cs: Fixed a warning.
  12806. * InternalWindowManager: Fixed a warning.
  12807. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12808. * MenuItem.cs:
  12809. - When cloning a menu also clone MdiList and clone the
  12810. window menu items properly (as the forms and menuitems
  12811. are kept in an internal hashtable, these need updating
  12812. as well)
  12813. - Rewrote the window menu code, menu items are added in the
  12814. order the forms were added to their parent, and they are
  12815. updated every time the window menu is shown (before the
  12816. list was only generated once, in the current order of the
  12817. forms, and would never be updated). A checkmark is shown
  12818. next to the item corresponding to the active mdi child.
  12819. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12820. * XplatUIStructs.cs:
  12821. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  12822. * XplatUIWin32.cs:
  12823. - Added TME_NONCLIENT to TMEFlags.
  12824. - Handles WM_NCMOUSEMOVE in GetMessage to
  12825. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  12826. * MdiWindowManager:
  12827. - Now merges mdi child menu to parent menu when maximized.
  12828. - Recalculate NC areas of both mdi child and mdi parent.
  12829. Fixes #79757 (4).
  12830. on window state and size changes.Fixes #79844 (3).
  12831. - Handle WM_NCCALCSIZE to properly calculate borders.
  12832. * Form.cs:
  12833. - Add/remove to the mdi containers list of mdi children
  12834. in the order they are added.
  12835. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  12836. to the maximized mdi child.
  12837. * InternalWindowManager.cs:
  12838. - Only execute a click on the control buttons on the mouse up,
  12839. not on the mouse down. Show the state of the button
  12840. (was only showing Normal state, never Pressed state). The
  12841. pressed button now follows the mouse (if you click the Close
  12842. button and move the mouse over the Maximize button, the
  12843. Maximize button will be shown as pressed). Since Win32 does
  12844. not generate WM_NCLBUTTONUP if you release the button outside
  12845. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  12846. it as a mouse up.
  12847. * ThemeWin32Classic.cs:
  12848. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  12849. * MdiClient.cs:
  12850. - Added a list of forms which contains the order the forms are
  12851. added to the mdi parent.
  12852. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  12853. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  12854. - If the active form changes set the scrollbars to the top
  12855. of the Z order, otherwise the form could hide them.
  12856. - Scrollbars are now sized according to ClientSize, not
  12857. to Size, and they take into account the other scrollbar
  12858. to determine maximum.
  12859. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12860. * XplatUI.cs:
  12861. * XplatUIDriver.cs:
  12862. * XplatUIX11.cs:
  12863. * XplatUIWin32.cs:
  12864. * XplatUIOSX.cs:
  12865. - Added RequestAdditionalWM_NCMessages for windows to
  12866. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  12867. Currently only implemented in XplatUIWin32.
  12868. 2006-11-27 Chris Toshok <[email protected]>
  12869. * Hwnd.cs: only add the hwnd to the windows hash in
  12870. set_WholeWindow and set_ClientWindow if whole_window/client_window
  12871. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  12872. 2006-11-27 Mike Kestner <[email protected]>
  12873. * ComboBox.cs: remove redundant OnDropDown call. It is called
  12874. from the ComboListBox.ShowWindow code. Fixes #79969.
  12875. 2006-11-27 Chris Toshok <[email protected]>
  12876. * Hwnd.cs: remove the setters for ExposePending and
  12877. NCExposePending - noone uses them.
  12878. 2006-11-27 Jackson Harper <[email protected]>
  12879. * TextControl.cs: new param for ReplaceSelection which determines
  12880. whether we select the new selection, or set the cursor to the end
  12881. of the new selection.
  12882. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  12883. pasting, select the new text.
  12884. * RichTextBox.cs: Use new param for ReplaceSelection.
  12885. 2006-11-27 Jackson Harper <[email protected]>
  12886. * TextBoxBase.cs: Set the selection to the caret after the caret
  12887. is moved, otherwise they get out of sync.
  12888. 2006-11-26 Everaldo Canuto <[email protected]>
  12889. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  12890. it fixes #80015
  12891. 2006-11-26 Everaldo Canuto <[email protected]>
  12892. * ThemeWin32Classic.cs:
  12893. - Fix toolbar drop down arrow position.
  12894. - Fix drop down appearance when ToolBar.Appearance is normal,
  12895. it fixes #80018.
  12896. 2006-11-26 Gert Driesen <[email protected]>
  12897. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  12898. * Control.cs: Same.
  12899. * UpDownBase.cs: Same.
  12900. * ButtonBase.cs: Same.
  12901. * ScrollBar.cs: Same.
  12902. * TrackBar.cs: Same.
  12903. * PictureBox.cs: Same.
  12904. * UserControl.cs: Same.
  12905. * Label.cs: Same.
  12906. * ListControl.cs: Same.
  12907. * TextBoxBase.cs: Same.
  12908. * ListView.cs: Same.
  12909. * RichTextBox.cs: Same.
  12910. * TreeView.cs: Same.
  12911. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  12912. * PrintDialog.cs:
  12913. - Text label for where
  12914. - Text label comment was not shown
  12915. 2006-11-23 Everaldo Canuto <[email protected]>
  12916. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  12917. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12918. * InternalWindowManager.cs:
  12919. - Handle WM_PARENTNOTIFY to activate the form
  12920. if any child control is clicked.
  12921. - The form is only sizable if not minimized.
  12922. * MdiWindowManager.cs:
  12923. - Save the IconicBounds if the form is moved.
  12924. - Rework SetWindowState, now the window bounds
  12925. are stored only if the old window state is Normal.
  12926. * MdiClient.cs:
  12927. - In SetWindowStates store the old window state if
  12928. the window is maximized and restore window state if
  12929. the window looses focus.
  12930. - Don't handle any scrollbar value changes if
  12931. initializing the scroll bars. Fixes #79771.
  12932. - Reworked ArrangeIconicWindows. Current algorithm
  12933. tests bounds agains all other minimized windows, if
  12934. any intersections create new bounds (going left to
  12935. right, bottom to top) and then test again. When
  12936. successful the bounds are saved and never computed
  12937. again. Fixes #79774.
  12938. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12939. * InternalWindowManager.cs: Added HandleTitleBarUp.
  12940. 2006-11-23 Gert Driesen <[email protected]>
  12941. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  12942. hexadecimal in ParseUserEdit.
  12943. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12944. * MdiWindowManager.cs:
  12945. - Handle a click on the form's icon to show the
  12946. system menu (when maximized). Fixes #79775.
  12947. - Change the existing click handler for the form's
  12948. icon when not maximized to show on MouseUp.
  12949. Fixes #79776.
  12950. * Form.cs: In OnResize only layout the mdi child's
  12951. parent if it actually has a parent. Might not if
  12952. the window is closing.
  12953. 2006-11-23 Gert Driesen <[email protected]>
  12954. * MdiClient.cs: Ignore active MDI client for text of parent, if
  12955. child has no text set.
  12956. 2006-11-23 Gert Driesen <[email protected]>
  12957. * ToolBar.cs: Fixed ToString to match MS.
  12958. 2006-11-22 Andreia Gaita <[email protected]>
  12959. * NumericUpDown:
  12960. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  12961. update inner values on set. Fixes #79966.
  12962. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  12963. - Fix hexadecimal parsing.
  12964. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  12965. parent. Fixes #79957
  12966. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  12967. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  12968. the actual size has to be queried, since if height /
  12969. width is negative Win32 changes it to 0.
  12970. Fixes #79999 on Windows.
  12971. * XplatUIX11.cs: Set height / width to 0 if negative
  12972. in SetWindowPos. Fixes #79999 on Linux.
  12973. 2006-11-22 Everaldo Canuto <[email protected]>
  12974. * ThemeWin32Classic.cs: Fix text redenring when button is
  12975. pressed.
  12976. 2006-11-22 Everaldo Canuto <[email protected]>
  12977. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  12978. and later navigate by mouse. Fixes #79528.
  12979. 2006-11-21 Everaldo Canuto <[email protected]>
  12980. * ToolBar.cs: Set default value for TabStop to false in
  12981. constructor, it fixes remaining behavior of bug #79863.
  12982. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  12983. * MdiWindowManager.cs:
  12984. * InternalWindowManager.cs:
  12985. - Moved a few methods specific to Mdi from
  12986. InternalWindowManager to MdiWindowManager.
  12987. Fixes #79996.
  12988. 2006-11-21 Chris Toshok <[email protected]>
  12989. * XplatUIOSX.cs: stub out InvalidateNC.
  12990. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  12991. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  12992. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  12993. * XplatUIDriver.cs: add InvalidateNC abstract method.
  12994. * XplatUI.cs: add InvalidateNC.
  12995. 2006-11-21 Everaldo Canuto <[email protected]>
  12996. * ToolBar.cs: Invalidate complete button area when pressed status
  12997. was changed.
  12998. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  12999. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  13000. by 1 when button is pressed.
  13001. 2006-11-20 Everaldo Canuto <[email protected]>
  13002. * ToolButton.cs: Invalidate middle of DropDown button when
  13003. ToolBar theres DropDownArrows.
  13004. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  13005. fix DropDown drawing operations.
  13006. 2006-11-20 Chris Toshok <[email protected]>
  13007. * NativeWindow.cs: fix the formatting of functions ('{' on the
  13008. following line), and enable the thread exception dialog.
  13009. * Application.cs: remove the duplicate exception catching from
  13010. here.
  13011. 2006-11-20 Everaldo Canuto <[email protected]>
  13012. * Toolbar.cs: Triggers button click event when click on icon
  13013. of dropdown ToolBarButton. Fixes #79912.
  13014. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  13015. * Theme.cs:
  13016. * ThemeWin32Classic.cs:
  13017. - Added a property WindowBorderFont to enable themeing
  13018. of mdi child windows' Text.
  13019. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  13020. * InternalWindowManager.cs:
  13021. * Form.cs:
  13022. * MdiClient.cs:
  13023. * MdiWindowManager.cs:
  13024. - If mdi child is maximized, set mdi parent's
  13025. text to "Parent - [Child]". Fixes #79770.
  13026. - If there is any maximized mdi child windows, only the active
  13027. window (and any new windows) is maximized, the rest are normal.
  13028. - On a WindowState change only save mdi child's window bounds
  13029. if the old window state was normal. Fixes #79774.
  13030. - The scroll bars are now calculated on hopefully all
  13031. necessary events. Fixed #79771 / #79844->6 / #79906.
  13032. - MdiClient.SizeScrollBars() now takes into account docked
  13033. controls in the parent when calculating available space.
  13034. - InternalWindowManager now always repaints the entire title
  13035. area. Fixes #79844->1/4/5.
  13036. - Added RequestNCRecalc on mdi child windowstate changes.
  13037. Fixes #79772.
  13038. 2006-11-20 Mike Kestner <[email protected]>
  13039. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  13040. in the MouseUp handler of the listbox and move the return handling
  13041. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  13042. 2006-11-20 Everaldo Canuto <[email protected]>
  13043. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  13044. 2006-11-17 Alexander Olk <[email protected]>
  13045. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  13046. working in 1.2.x anymore. So, updated.
  13047. 2006-11-19 Gert Driesen <[email protected]>
  13048. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  13049. NumberGroupSeparator of current culture instead of assuming en-US.
  13050. Fixed bug #79967.
  13051. 2006-11-17 Mike Kestner <[email protected]>
  13052. * Control.cs: Add the concept of implicit bounds setting so that
  13053. dock/undock round trips preserve explicitly set size/locations.
  13054. Fixes #79313.
  13055. 2006-11-17 Alexander Olk <[email protected]>
  13056. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  13057. can't handle those filters. (Fixes bug #79961)
  13058. 2006-11-17 Chris Toshok <[email protected]>
  13059. [ fixes the exit/crashes associated with #79835. it's clearly
  13060. suboptimal though, we need to figure out a better way to solve
  13061. this. ]
  13062. * PrintPreviewControl.cs: deal with the new invalid printer
  13063. exceptions.
  13064. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  13065. and return false (so CommonDialog.ShowDialog doesn't actually show
  13066. the form.)
  13067. * PrintDialog.cs: enable/disable the Ok button depending on
  13068. whether or not the printer is valid.
  13069. * CommonDialog.cs (ShowDialog): only actually show the form if
  13070. RunDialog returns true.
  13071. 2006-11-17 Jackson Harper <[email protected]>
  13072. * TextControl.cs: When soft splitting a line, mark it as a soft
  13073. split line. Also carry over the current line break to the next
  13074. line.
  13075. 2006-11-17 Chris Toshok <[email protected]>
  13076. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  13077. only want to shift the part of the invalid area that overlaps the
  13078. area we're scrolling. we also don't want to clear the invalid
  13079. area unless the invalid area was entirely contained within the
  13080. scrolling area.
  13081. 2006-11-16 Chris Toshok <[email protected]>
  13082. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  13083. also make sure to free the memory returned by XGetWindowProperty
  13084. in GetText().
  13085. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  13086. 2006-11-16 Chris Toshok <[email protected]>
  13087. * XplatUI.cs: add a new super secret way to get at the totally
  13088. unsupported X11 backend.
  13089. 2006-11-16 Gert Driesen <[email protected]>
  13090. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  13091. 2006-11-16 Jackson Harper <[email protected]>
  13092. * TreeView.cs: Allow more explicit setting of top node position
  13093. for scrollbars. Slower algo, but more accurate.
  13094. - CollapseAll should maintain the current top node.
  13095. * TextBoxBase.cs: When positioning the caret, use the line, pos
  13096. method, since the x, y method does not grab the correct tag, and
  13097. the caret height never gets set correctly. (Maybe I should just do
  13098. away with the caret having its own height, and always use the
  13099. carets current tag for height).
  13100. 2006-11-16 Jonathan Pobst <[email protected]
  13101. [Fixes 79778, 79923]
  13102. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  13103. Parent to the FosterParent instead.
  13104. 2006-11-16 Jackson Harper <[email protected]>
  13105. * TreeView.cs: Need to recalc the topnode when we expand or
  13106. collapse. The scrolling methods can't handle this on their own,
  13107. since they use differences between the last scroll position, and
  13108. those difference get completely messed up since we are expanding
  13109. nodes. This problem should probably be fixed in the scrolling
  13110. methods, so they can figure out exactly where they are, but this
  13111. will slow things down a little.
  13112. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  13113. strings, makes nunit-gui look a lot nicer.
  13114. 2006-11-16 Chris Toshok <[email protected]>
  13115. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  13116. the broken multithreaded event handling we have in here. File
  13117. this entry under "Why we should move to the new X11 backend".
  13118. Any thread can make it into UpdateMessageQueue, which gets events
  13119. from the X socket - some of which could belong to hwnds being
  13120. managed by a different thread. We can also have multiple threads
  13121. in UpdateMessageQueue at the same time, with each one reading from
  13122. the X socket. This leads to many problems, with the following
  13123. solutions:
  13124. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  13125. EnqueueLocked.
  13126. The MotionNotify compression we do can't work across threads
  13127. (without locking the entire queue, perhaps) since we call
  13128. hwnd.Queue.Peek, so we just punt and don't compress motion events
  13129. unless the owning thread is the one which got the X event.
  13130. ConfigureNotify is another fun one, since it modifies the hwnd's
  13131. bounds and then enqueues the event. We add a lock to Hwnd which
  13132. is held when setting configure_pending to true (and enqueuing the
  13133. event).
  13134. There is a race wrt the wake socket. we need to make sure that
  13135. only 1 thread is waiting on that socket, or else a thread could
  13136. sleep waiting for data that never comes. It's difficult (but not
  13137. impossible) to make happen, because it seems to require something
  13138. like the following:
  13139. 1. Thread 1 polls on wake_receive
  13140. 2. poll returns saying there's data to be read on
  13141. wake_receive.
  13142. 3. Thread 2 polls on wake_receive and immediately returns
  13143. saying there's data to be read.
  13144. 4. Thread 2 reads the wakeup byte from wake_receive
  13145. 5. Thread 1 attempts to read the wakeup byte from
  13146. wake_receive.
  13147. 6. Thread 2 exits (due to a form closing, perhaps).
  13148. 7. Thread 1 blocks forever.
  13149. Fun, eh?
  13150. Fixing the Expose handling isn't done yet, and the races inherent
  13151. in that piece of code are responsible for the drawing mistakes you
  13152. see when generating expose events in a MT app (like NPlot). This
  13153. one is the likely to be the hardest to bandaid, and it doesn't
  13154. appear to cause anything but drawing problems. The other issues
  13155. caused apps to exit or hang.
  13156. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  13157. called from a different thread than the one that should be calling
  13158. these functions.
  13159. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  13160. 2006-11-15 Chris Toshok <[email protected]>
  13161. * Application.cs: null out the context's MainForm when we exit
  13162. RunLoop. Fixes a newly checked in unit test as well as the last
  13163. ODE from bug #79933.
  13164. 2006-11-15 Chris Toshok <[email protected]>
  13165. * Form.cs (set_Owner): allow a null value so we can clear the
  13166. form's owner.
  13167. (Dispose): set all our owned_form's Owner properties to null, and
  13168. clear the owned_forms collection.
  13169. (WM_CLOSE): clean up this a little bit.. still not right though.
  13170. * ApplicationContext.cs: OnMainFormClosed should only call
  13171. ExitThreadCore if the main form isn't recreating. Fixes unit
  13172. test.
  13173. 2006-11-15 Jonathan Pobst <[email protected]>
  13174. [Fixes 78346]
  13175. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  13176. 2006-11-15 Jonathan Pobst <[email protected]>
  13177. [Fixes 79433]
  13178. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  13179. keep popup window types from stealing focus from the main form
  13180. on Windows.
  13181. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  13182. * MenuAPI.cs: Set above flag to true.
  13183. 2006-11-15 Chris Toshok <[email protected]>
  13184. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  13185. the button being released is not in wParam.
  13186. 2006-11-15 Jonathan Pobst <[email protected]>
  13187. * Form.cs: Add the released button to MouseEventArgs.Button
  13188. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  13189. on Win32.
  13190. 2006-11-15 Chris Toshok <[email protected]>
  13191. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  13192. GetText(). untested because it's unused in our implementation.
  13193. Control.Text always caches the text, even if
  13194. ControlStyles.CacheText is not set.
  13195. fixes bug #79939.
  13196. 2006-11-15 Chris Toshok <[email protected]>
  13197. [ fixes #79933 ]
  13198. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  13199. message. no hiding, no disposing.
  13200. in the WM_CLOSE handler, hide the form if it's modal.
  13201. 2006-11-15 Chris Toshok <[email protected]>
  13202. * XplatUIX11.cs: use AddExpose instead of sending a message.
  13203. fixes textbox border drawing.
  13204. 2006-11-15 Chris Toshok <[email protected]>
  13205. * PropertyGridView.cs: keep from crashing on mouse move/down when
  13206. the property grid is empty.
  13207. 2006-11-14 Jackson Harper <[email protected]>
  13208. * TextControl.cs: Make PageUp and PageDown more like the MS
  13209. versions.
  13210. * TextBoxBase.cs: When we set the text property position the
  13211. cursor at the beginning of the document.
  13212. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  13213. * Form.cs: if a mdi child's WindowState has changed
  13214. before it's creation, it would display wrong control
  13215. buttons.
  13216. 2006-11-14 Alexander Olk <[email protected]>
  13217. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  13218. (Fixes bug #79927)
  13219. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  13220. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  13221. the window gets to paint its borders even if the window is
  13222. getting smaller.
  13223. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  13224. otherwise the old control buttons would still be painted
  13225. if the window gets bigger.
  13226. * PaintEventArgs.cs: add an internal method so that the clip
  13227. rectangle can be changed.
  13228. 2006-11-13 Chris Toshok <[email protected]>
  13229. [ fixes bug #79745 ]
  13230. * NotifyIcon.cs: lots of cleanup.
  13231. * X11Structs.cs: add an enum for XEMBED messages.
  13232. * XplatUIX11.cs: reindent one of the giant switch statements, it
  13233. was taking up an additional tab stop, and this file is already way
  13234. too wide for my laptop's screen.
  13235. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  13236. we get it, resize the hwnd to the WMNormalHints max_width/height.
  13237. 2006-11-13 Jackson Harper <[email protected]>
  13238. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  13239. teh simple way.
  13240. 2006-11-13 Chris Toshok <[email protected]>
  13241. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  13242. #79898. force a reference to the Region to stick around so the
  13243. unmanaged object isn't collected (rendering our handle in the MSG
  13244. stale).
  13245. 2006-11-13 Chris Toshok <[email protected]>
  13246. * XplatUIX11.cs: fix #79917 for window managers which support
  13247. using XStoreName on the raw utf8, and we need to convert to
  13248. COMPOUND_TEXT if it's non-latin1.
  13249. 2006-11-13 Chris Toshok <[email protected]>
  13250. * Form.cs (set_DialogResult): we need to set closing to false if
  13251. we're setting our result to None. fixes bug #79908.
  13252. 2006-11-13 Jackson Harper <[email protected]>
  13253. * TextControl.cs: When formatting text, compute the adjusted tag
  13254. lengths correctly, using FindTag for the end tag instead of trying
  13255. to figure it out outselves.
  13256. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  13257. the item, ItemHeight doesn't work, because trees with large
  13258. imagelists use those for their height
  13259. * TreeView.cs: ActualItemHeight factors in the image height
  13260. - compute left edge of checkboxes correctly
  13261. - when expanding/collapsing move the bottom down one pixel, so we
  13262. aren't moving part of the node
  13263. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  13264. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  13265. stack in PaintEventStart so that it won't get disposed by the gc
  13266. before reaching PaintEventEnd.
  13267. 2006-11-13 Jackson Harper <[email protected]>
  13268. * TextBoxBase.cs: Don't select the word if we are on a line with
  13269. no text.
  13270. - We don't need to position the caret on mouse up, since the mouse
  13271. move handler should be doing this
  13272. - When double clicking a blank line, the caret is advanced to the
  13273. next line.
  13274. 2006-11-13 Gert Driesen <[email protected]>
  13275. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  13276. 2006-11-12 Gert Driesen <[email protected]>
  13277. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  13278. Fixes part of bug #79910.
  13279. 2006-11-11 Alexander Olk <[email protected]>
  13280. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  13281. (bug #79903). Some minor string updates to match ms.
  13282. 2006-11-10 Alexander Olk <[email protected]>
  13283. * FileDialog.cs: Don't add an extension if the filename
  13284. already ends with that extension.
  13285. 2006-11-10 Jackson Harper <[email protected]>
  13286. * TreeView.cs: Use the currently highlighted node for the
  13287. BeforeSelect event.
  13288. * TextBoxBase.cs: There is no need to expand selection on
  13289. MouseMove.
  13290. - CanUndo means 'is there any undo operations', not 'is undo
  13291. allowed on this textcontrol. Fixed ClearUndo unit test.
  13292. 2006-11-10 Andreia Gaita <[email protected]>
  13293. * Button.cs: only perform click when button is Selectable (so as
  13294. not to activate default buttons when they're disabled)
  13295. * Control.cs: Rewrite of the SelectNextControl and related
  13296. methods. HandleClick now selects next control if the current one
  13297. is being disabled.
  13298. * Form.cs: OnActivated selects next active control only if Load
  13299. has already occurred. If Load hasn't run, there's no point in
  13300. selecting here, Load might change the state of controls.
  13301. * FocusTest.cs: Tests marked as working again for these fixes
  13302. 2006-11-10 Chris Toshok <[email protected]>
  13303. * XplatUIX11.cs: a couple of fixes.
  13304. - use XInternAtoms with almost all the atoms we need to register,
  13305. instead of many, many calls to XInternAtom. should help a bit on
  13306. startup time, at the expense of making the code look a little
  13307. worse.
  13308. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  13309. isn't reparented (which seems to be a clue that we're running fon
  13310. compiz) and they have an Owner form. This fixes the tool windows
  13311. in paint.net when running under compiz.
  13312. - when setting the opacity of a window, support both the case
  13313. where the window has been reparented and also when it hasn't been.
  13314. Since compiz/beryl doesn't seem to reparent windows, and these are
  13315. the only window managers which support translucency, I'm not sure
  13316. why we need the hwnd.reparented case at all.. but leave it in.
  13317. now we get translucent windows in paint.net under compiz/beryl.
  13318. 2006-11-10 Alexander Olk <[email protected]>
  13319. * FileDialog.cs: Always return the value for FilterIndex that
  13320. was set. Internally convert it to values that make sense.
  13321. 2006-11-10 Everaldo Canuto <[email protected]>
  13322. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  13323. 2006-11-10 Everaldo Canuto <[email protected]>
  13324. * Toolbar.cs: Change default value of DropDownArrows to true, the
  13325. signature still using false to make it compatible with MS but the
  13326. initial value is true. Fixes #79855.
  13327. 2006-11-10 Alexander Olk <[email protected]>
  13328. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  13329. only available on Linux.
  13330. 2006-11-09 Everaldo Canuto <[email protected]>
  13331. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  13332. reduce number of calls to redraw method during toolbar creation.
  13333. 2006-11-09 Mike Kestner <[email protected]>
  13334. * ListView.cs : raise SelectedIndexChanged when an item is selected
  13335. programmatically via the Item.Selected property. Gert's nice
  13336. ListViewSelectedIndexChanged test fixture now runs clean.
  13337. 2006-11-09 Mike Kestner <[email protected]>
  13338. * ListView.cs : raise SelectedIndexChanged when a selected item is
  13339. removed from the item collection using Remove or RemoveAt.
  13340. 2006-11-09 Mike Kestner <[email protected]>
  13341. * ListView.cs : raise SelectedIndexChanged once per selected item
  13342. for compat with MS. Fixes #79849+.
  13343. 2006-11-09 Chris Toshok <[email protected]>
  13344. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  13345. we need to (if we have any tab pages). Fixes unit test.
  13346. 2006-11-09 Chris Toshok <[email protected]>
  13347. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  13348. width is 0, not 3. Fixes a unit test.
  13349. 2006-11-09 Mike Kestner <[email protected]>
  13350. * ListView.cs : use Implicit scrollbars so that focus isn't
  13351. stolen from the listview when they are clicked. Fixes #79850.
  13352. 2006-11-09 Chris Toshok <[email protected]>
  13353. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  13354. have a root item. Fixes #79879.
  13355. 2006-11-09 Alexander Olk <[email protected]>
  13356. * FileDialog.cs:
  13357. - Fix ToString ()
  13358. - An ArgumentException is now thrown if a wrong filter
  13359. is applied (matches ms). The previous filter doesn't change
  13360. anymore if an exception is thrown.
  13361. - Changing the FileName property also affects FileNames
  13362. * ColorDialog.cs: The length of the CustomColors array is always
  13363. 16. It doesn't matter if we use a smaller array or null to update
  13364. or change the custom colors property.
  13365. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  13366. for RootFolder if we get a undefined value.
  13367. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  13368. * StatusBarPanel.cs:
  13369. - Width is set to MinWidth if Width is smaller than
  13370. MinWidth. Fixes #79842.
  13371. - MinWidth now always overrides Width (MSDN says MinWidth
  13372. is set to Width when AutoSize = None, but they do not
  13373. behave like that).
  13374. - Style has now the the correct default value.
  13375. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  13376. * TrackBar.cs:
  13377. - The control is completely invalidated on
  13378. Got/LostFocus to draw the focus rectangle correctly.
  13379. - When AutoSize then height is always 45 (width for
  13380. vertical controls).
  13381. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  13382. on the mouse when moved and it doesn't move when grabbed
  13383. until the mouse moves as well. Also fixed some wrong
  13384. calculations when clicking on the thumb (control thought
  13385. click was outside of thumb and didn't grab it).
  13386. Fixes some of the issues in #79718.
  13387. 2006-11-08 Everaldo Canuto <[email protected]>
  13388. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  13389. 2006-11-08 Chris Toshok <[email protected]>
  13390. * PropertyGridView.cs: only call ToggleValue if the item is not
  13391. readonly.
  13392. 2006-11-08 Jackson Harper <[email protected]>
  13393. * TextBoxBase.cs: The RichTextBox and textbox have very different
  13394. word selection methods. Implement the textbox's simple word
  13395. selection here, and let the RichTextBox override and provide it's
  13396. own.
  13397. - Don't do extra selection on mouseup
  13398. * RichTextBox.cs: Use the documents word selection algorithm, I
  13399. think ideally, this function will be pulled into the
  13400. RichTextBox.cs code someday.
  13401. 2006-11-08 Chris Toshok <[email protected]>
  13402. * RootGridEntry.cs: new class to represent GridItemType.Root.
  13403. * CategoryGridEntry.cs: reformat, and add boilerplate.
  13404. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  13405. returns the UI parent anyway, and we need special handling to
  13406. implement the GetTarget method in the face of it. Also, implement
  13407. Select().
  13408. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  13409. a root grid item, and use that instead of PropertyGrid.grid_items.
  13410. Also, make use of TypeConverters (and add limitted support for
  13411. ICustomTypeDescriptors) when initially populating the grid.
  13412. Arrays now show up more or less properly.
  13413. 2006-11-08 Chris Toshok <[email protected]>
  13414. * Application.cs: set the modal dialog to non modal after we close
  13415. it. Fixes bug #79866.
  13416. 2006-11-08 Jackson Harper <[email protected]>
  13417. * TextControl.cs: When combining lines carry over the line end
  13418. style from the end line.
  13419. - Invalidate the selected area when setting it, if it is visible.
  13420. * TextBoxBase.cs: Only rich text box can do full line selects.
  13421. - Make sure to set the cursor position when there is a click,
  13422. otherwise two clicks in separate areas could cause a large chunk
  13423. to be selected.
  13424. 2006-11-07 Everaldo Canuto <[email protected]>
  13425. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  13426. Fixes #79863.
  13427. 2006-11-07 Everaldo Canuto <[email protected]>
  13428. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  13429. time. Remove tooltips when ToolButton click events. Fixes #79856.
  13430. 2006-11-07 Everaldo Canuto <[email protected]>
  13431. * MenuAPI.cs: Ignore right click for menu actions and fixes
  13432. menu border when clicked. Fixes #79846.
  13433. 2006-11-07 Everaldo Canuto <[email protected]>
  13434. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  13435. MouseState after create wParam for message, this fixes mouse button
  13436. equal none in mouse up events.
  13437. 2006-11-07 Andreia Gaita <[email protected]>
  13438. * Control.cs : Focus() now calls Select to set the Container's
  13439. Active Control and to give it focus. To avoid infinite recursion
  13440. (because ActiveControl also calls Focus at one point), a check
  13441. is made in Focus with the help of a new internal variable
  13442. is_focusing.
  13443. 2006-11-07 Mike Kestner <[email protected]>
  13444. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  13445. if there's a selection. Fixes #79849.
  13446. 2006-11-07 Gert Driesen <[email protected]>
  13447. * PropertyGrid.cs: Avoid fixed height of help description label.
  13448. Fixes part of bug #79829.
  13449. 2006-11-07 Chris Toshok <[email protected]>
  13450. * XplatUIX11.cs: fix #79790 again, by using the
  13451. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  13452. 2006-11-07 Everaldo Canuto <[email protected]>
  13453. * ToolBar.cs: Fix left click checking.
  13454. 2006-11-07 Chris Toshok <[email protected]>
  13455. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  13456. 2006-11-07 Chris Toshok <[email protected]>
  13457. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  13458. PropertyManager unit tests.
  13459. * PropertyManager.cs: make property_name internal.
  13460. 2006-11-07 Chris Toshok <[email protected]>
  13461. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  13462. pass a unit test. Also, don't set image_index to anything in
  13463. response to setting the ImageList property.
  13464. 2006-11-07 Everaldo Canuto <[email protected]>
  13465. * ToolBar.cs: Ignore click events when mouse button is not a
  13466. left button, only accepts other button for dropdown menus.
  13467. Fixes #79854.
  13468. 2006-11-07 Chris Toshok <[email protected]>
  13469. * DataGrid.cs: make the back and parent row buttons a little less
  13470. ugly.
  13471. 2006-11-07 Jackson Harper <[email protected]>
  13472. * TextBoxBase.cs: When converting to Text don't put line breaks in
  13473. for soft line breaks.
  13474. * TextControl.cs: There is an initial "fake" line in the document,
  13475. this is now a soft break line, so that an extra line feed doesn't
  13476. get added to the end of documents.
  13477. 2006-11-07 Chris Toshok <[email protected]>
  13478. [ fix bug #79778 ]
  13479. * CurrencyManager.cs: if the list is readonly, don't bother
  13480. checking if IBindingList.AllowNew is true.
  13481. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  13482. for non-DataRowView datasources.. or rather, make it not crash.
  13483. (DataGridPaintRelationRow): make sure we limit the row painting to
  13484. the area not covered by the row header, and make our cell width at
  13485. least large enough to cover the relation area. This allows grids
  13486. that have relations but no rows to render correctly.
  13487. (DataGridPaintRowContents): same type of changes here.
  13488. (SetDataSource): move back to always calling
  13489. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  13490. navigating back through relations.
  13491. (HitTest): handle the case where we have no cells but have
  13492. relations. Right now we generate a hit in cell 0 of whatever the
  13493. row is, not sure if this is strictly correct, but it works for our
  13494. purposes.
  13495. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  13496. bother doing anything.
  13497. 2006-11-07 Jonathan Pobst <[email protected]>
  13498. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  13499. early version of StatusStrip. Not responsible for eaten
  13500. application or firstborn children.
  13501. 2006-11-06 Chris Toshok <[email protected]>
  13502. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  13503. call GetTabRect with a -1 index. Fixes #79847.
  13504. 2006-11-06 Jackson Harper <[email protected]>
  13505. * TreeNodeCollection.cs: Update scrollbars after clearing.
  13506. 2006-11-06 Chris Toshok <[email protected]>
  13507. * NumericUpDown.cs: fix the ToString method for some unit test
  13508. love.
  13509. 2006-11-06 Chris Toshok <[email protected]>
  13510. * PropertyGrid.cs:
  13511. - set the initial SelectedGridItem if we can.
  13512. - Exclude non-mergable properties only if we're merging > 1
  13513. object. Merging 1 object isn't really merging, obviously.
  13514. - Handle PropertySort.NoSort just like Alphabetical, which is
  13515. wrong of course, but at least gets things on the screen.
  13516. * PropertyGridView.cs:
  13517. - Add method "FindFirstItem" which finds the first property grid
  13518. item, so we can select it by default.
  13519. - make use of GridEntry.CanResetValue.
  13520. - Don't call RedrawBelowItemOnExpansion here anymore, the
  13521. individual GridEntry's will do that.
  13522. - Remove the ITypeDescriptorContextImpl internal class.
  13523. * GridEntry.cs:
  13524. - this class needs to implement ITypeDescriptorContext, as it's
  13525. what MS's PropertyDescriptorGridEntry does, which means we can
  13526. remove the ITypeDescriptorContextImpl internal class from
  13527. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  13528. - keep a reference to our PropertyGridView, and move the call to
  13529. RedrawBelowItemOnExpansion here from PGV. This means
  13530. programmaticly setting Expanded actually does something visible.
  13531. - add a CanResetValue() function which takes into account our
  13532. possibly multiple "selected_objects" in the merged case. Shifting
  13533. PropertyGridView to use this method fixes another unreported
  13534. crasher found running the test for #79829.
  13535. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  13536. is updated to reflect this.
  13537. * CategoryGridEntry.cs: the ctor takes the PGV now.
  13538. 2006-11-06 Jackson Harper <[email protected]>
  13539. * TextControl.cs: These are 1 based.
  13540. * TextBoxBase.cs: When setting the selected text, don't change the
  13541. selected text tags, this is done by ReplaceText, just position the
  13542. cursor at the end of the new text.
  13543. 2006-11-06 Alexander Olk <[email protected]>
  13544. * ListView.cs: Allow label edit only when, when LabelEdit is
  13545. set to true.
  13546. 2006-11-06 Jackson Harper <[email protected]>
  13547. * TextControl.cs: If a suitable wrapping position isn't found,
  13548. just wrap right in the middle of a word.
  13549. 2006-11-06 Alexander Olk <[email protected]>
  13550. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  13551. bug #79820.
  13552. 2006-11-06 Jackson Harper <[email protected]>
  13553. * TreeView.cs: Can't use the VisibleCount property when setting
  13554. scrollbar heights, because this doesn't take into account whether
  13555. or not the horz scrollbar just came visible.
  13556. 2006-11-05 Everaldo Canuto <[email protected]>
  13557. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  13558. activated. Fixes #79369, #79832.
  13559. 2006-11-05 Alexander Olk <[email protected]>
  13560. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  13561. had to remove support for links that point to a directory. FileInfo
  13562. returns no usefull information (means, the directory they point to)
  13563. for such links. Replaced some empty string ("") with String.Empty.
  13564. 2006-11-04 Gert Driesen <[email protected]>
  13565. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  13566. NullReferenceException when attempting to remove node that is not in
  13567. collection. Throw NullReferenceException when null is passed to
  13568. Remove. Allow first element of the collection to be removed. Fixes
  13569. bug #79831. In GetEnumerator ().Current return null if positioned
  13570. before the first element of the collection. In GetEnumerator ().Reset,
  13571. position before first element of the collection.
  13572. 2006-11-04 Gert Driesen <[email protected]>
  13573. * PropertyGrid.cs: To match MS, remove default title and description
  13574. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  13575. buttons.
  13576. 2006-11-04 Chris Toshok <[email protected]>
  13577. * Theme.cs: add a Clamp method, just for kicks.
  13578. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  13579. 2006-11-04 Chris Toshok <[email protected]>
  13580. * Form.cs: if the form isn't visible, Close() does nothing.
  13581. 2006-11-03 Chris Toshok <[email protected]>
  13582. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  13583. Hide it.
  13584. (WndProc): don't Dispose after handling the WM_CLOSE message.
  13585. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  13586. them as such, instead of using casts from Control to Form. Also,
  13587. don't Dispose of the modal dialog when we fall out of the loop -
  13588. Close() it instead.
  13589. fixes bug #79813.
  13590. 2006-11-03 Chris Toshok <[email protected]>
  13591. * Control.cs (Dispose): only go through the dispose thing if we're
  13592. @disposing, and we haven't already been disposed. Fixes bug
  13593. #79814.
  13594. * Form.cs: no reason to call "base.Dispose()" here instead of
  13595. "Dispose()".
  13596. 2006-11-03 Mike Kestner <[email protected]>
  13597. * ComboBox.cs : use ToString instead of casts in AddItem for
  13598. sorting functionality. Fixes #79812.
  13599. 2006-11-03 Chris Toshok <[email protected]>
  13600. * Application.cs: pave the way for actually using the thread
  13601. exception dialog. it's ifdefed out at the moment.
  13602. 2006-11-03 Chris Toshok <[email protected]>
  13603. * ThreadExceptionDialog.cs: until we get a better layout, actually
  13604. hide the details textbox and label when we shouldn't see them.
  13605. 2006-11-03 Jackson Harper <[email protected]>
  13606. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  13607. multiline textboxes anymore. This method also determines the
  13608. width/height of a textboxes canvas area.
  13609. - Sorta a revert of the last patch. For multiline just position
  13610. the controls, then bail. This way the scrollbar width won't be
  13611. altered.
  13612. 2006-11-03 Everaldo Canuto <[email protected]>
  13613. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  13614. it dont need. Fixes #79537.
  13615. 2006-11-02 Jackson Harper <[email protected]>
  13616. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  13617. send the status after firing the DndOver event.
  13618. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  13619. * TrackBar.cs: Now orientation only switches height / width if
  13620. the control's handle is created (Win32 does it like this). Also
  13621. fixed a typo in ToString() for a test to pass, changed the
  13622. exception thrown in set_LargeChange and set_SmallChange to
  13623. match Win32 behaviour, and added TrackBar tests to the unit
  13624. tests.
  13625. 2006-11-02 Chris Toshok <[email protected]>
  13626. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  13627. not _NET_WM_STATE_NO_TASKBAR.
  13628. 2006-11-02 Jackson Harper <[email protected]>
  13629. * TextControl.cs: Increment count by one, since in the update view
  13630. count - 1 is used.
  13631. 2006-11-02 Jackson Harper <[email protected]>
  13632. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  13633. the mouse is in the client rectangle (duh).
  13634. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  13635. * TrackBar.cs: Fixed trackbar jumping around when clicking
  13636. on it - the trackbar was not detecting correctly at which
  13637. side of the thumb the click was done. (fixes #79718)
  13638. 2006-11-02 Everaldo Canuto <[email protected]>
  13639. * ListBox.cs: scroll visible area when change SelectedIndex to
  13640. a non visible area. Fixes #79481.
  13641. 2006-11-01 Jackson Harper <[email protected]>
  13642. * TextControl.cs: When replacing the selection move the selection
  13643. start/end/anchor to the end of the new text.
  13644. 2006-11-01 Jackson Harper <[email protected]>
  13645. * XplatUIWin32.cs: When setting the parent change the controls
  13646. visibility to it's visibility flag, not to it's old parents
  13647. visibility (.Visible walks the parent chain).
  13648. 2006-11-01 Chris Toshok <[email protected]>
  13649. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  13650. XSetTransientForHint fix breaks paint .net's tool windows. more
  13651. work needed for that one.
  13652. 2006-11-01 Chris Toshok <[email protected]>
  13653. * ScrollBar.cs: throw ArgumentException instead of Exception in
  13654. LargeChange/SmallChange setters. fixes unit tests.
  13655. 2006-10-31 Andreia Gaita <[email protected]>
  13656. * ContainerControl.cs: reverted rev.67183 (which was itself
  13657. a reversion of rev.66853... eh).
  13658. * Control.cs: Fixes Reflector hang by changing Focus() call
  13659. to what it was before rev.66643 (calling Select() here sets
  13660. ActiveControl, which in some situations calls back Focus and
  13661. eventually does a stack overflow). Temp fix.
  13662. Changes to GetNextControl() to not look for children to select when
  13663. parent cannot be selectable (so it looks for siblings instead)
  13664. 2006-10-31 Mike Kestner <[email protected]>
  13665. * CheckedListBox.cs : off by one error in returned index from
  13666. ObjectCollection.Add. Fixes #79758.
  13667. 2006-10-31 Chris Toshok <[email protected]>
  13668. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  13669. calls for the textbox/spinner, to keep from recursing to the point
  13670. where we crash. Fixes #79760.
  13671. 2006-10-31 Chris Toshok <[email protected]>
  13672. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  13673. null/"" value, just return. matches ms's behavior and fixes some
  13674. failing tests.
  13675. 2006-10-31 Chris Toshok <[email protected]>
  13676. * Control.cs (set_Capture): make a logic a little easier to
  13677. follow.
  13678. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  13679. if it's being destroyed. A necessary fix surely, but a bandaid
  13680. also, to fix the stuck capture problem in bug #78413.
  13681. 2006-10-31 Chris Toshok <[email protected]>
  13682. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  13683. convention of clearing hwnd.ClientRect when we set the
  13684. width/height (so it'll be recalculated by Hwnd).
  13685. 2006-10-31 Andreia Gaita <[email protected]>
  13686. * ContainerControl.cs: reversed Contains check from
  13687. ActiveControl due to hanging problems. This fix
  13688. partly regresses #79667 (button does not have
  13689. initial focus), so this might be a symptom for
  13690. a larger parenting problem (set_ActiveControl
  13691. is being called but the child control does
  13692. not have the parent set yet?)
  13693. 2006-10-31 Mike Kestner <[email protected]>
  13694. * MenuAPI.cs : fix keynav when menu is click activated.
  13695. 2006-10-31 Jonathan Pobst <[email protected]>
  13696. * ToolStrip*: Version 0.2.
  13697. * MenuStrip.cs: Version 0.1.
  13698. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  13699. 2006-10-30 Chris Toshok <[email protected]>
  13700. [ fixes the oversized notify icon issue in bug #79745 ]
  13701. * NotifyIcon.cs: scale the icon down to the size we're given by
  13702. the XplatUI layer (this would be faster if we did it once instead
  13703. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  13704. since it's never invoked.
  13705. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  13706. pixels high by default, so let's hardcode our systray icon to that
  13707. size. The SYSTEM_TRAY protocol should really have a way for
  13708. client apps to query for the correct icon size.. but oh well. A
  13709. couple of patches to deal with the screwy client_window ==
  13710. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  13711. instance, and also make sure we don't XSelectInput twice).
  13712. 2006-10-30 Chris Toshok <[email protected]>
  13713. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  13714. recreating forms. Control recreation is the bane of my existence.
  13715. Fix it in a way that keeps everyone happy.
  13716. 2006-10-30 Chris Toshok <[email protected]>
  13717. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  13718. just non-CHILD ones. otherwise sometimes scrollbars end up with
  13719. client_windows not being resized to the proper size (ReportBuilder
  13720. shows this extremely well).
  13721. 2006-10-30 Chris Toshok <[email protected]>
  13722. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  13723. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  13724. showing up in the gnome taskbar. Fixes bug #79790.
  13725. 2006-10-30 Chris Toshok <[email protected]>
  13726. * ApplicationContext.cs: guard against a NRE.
  13727. * Application.cs: null out the old MainForm for the context, so we
  13728. don't try to use it again once it's disposed. Fixes bug #79783.
  13729. 2006-10-30 Chris Toshok <[email protected]>
  13730. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  13731. BindingContext, set the data source directly, otherwise do the
  13732. lazy approach - the actual ListManager will be created when we get
  13733. a BindingContext. Fixes bug #79700.
  13734. 2006-10-30 Jonathan Pobst <[email protected]>
  13735. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  13736. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  13737. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  13738. 2006-10-30 Jonathan Pobst <[email protected]>
  13739. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  13740. of SetVisible that allows a window to be shown, but not activated.
  13741. This is needed on Windows for MenuStrip, and can probably be used
  13742. with MainMenu and ComboBox to fix the focus stealing issues on
  13743. Windows.
  13744. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  13745. 2006-10-30 Alexander Olk <[email protected]>
  13746. * PictureBox.cs: Fix the output of the ToString method.
  13747. 2006-10-29 Chris Toshok <[email protected]>
  13748. * Control.cs (get_TopLevelControl): fix bug #79781.
  13749. 2006-10-29 Chris Toshok <[email protected]>
  13750. * ListControl.cs (set_DataSource): throw Exception here, not
  13751. ArgumentException, to match MS behavior.
  13752. 2006-10-29 Chris Toshok <[email protected]>
  13753. * Form.cs: remove the try-catch's around calls to GetWindowState.
  13754. We can just check the return value.
  13755. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  13756. Instead return -1.
  13757. * XplatUI.cs: Add note about additional return value for
  13758. GetWindowState.
  13759. 2006-10-29 Chris Toshok <[email protected]>
  13760. * Control.cs (CreateHandle): when we create our handle, we also
  13761. create the handles of our child controls. Fixes one of the
  13762. Control unit tests (CH11).
  13763. 2006-10-28 Alexander Olk <[email protected]>
  13764. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  13765. 2006-10-28 Alexander Olk <[email protected]>
  13766. * ThemeClearlooks.cs: A little speedup.
  13767. 2006-10-27 Chris Toshok <[email protected]>
  13768. * Control.cs: implement Control.FromChildHandle in a way that
  13769. matches the docs (and fixes the failed test.)
  13770. 2006-10-27 Chris Toshok <[email protected]>
  13771. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  13772. comments).
  13773. * DataGrid.cs: implement ResetForeColor such that the tests
  13774. succeed.
  13775. 2006-10-27 Chris Toshok <[email protected]>
  13776. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  13777. being set to "". Fixes bug #79759.
  13778. 2006-10-27 Jackson Harper <[email protected]>
  13779. * TextControl.cs: We need to clear the entire selection area when
  13780. setting the start, otherwise multiline selections are still
  13781. visible.
  13782. 2006-10-26 Chris Toshok <[email protected]>
  13783. * PropertyGridView.cs:
  13784. - ifdef all the code specific to the double
  13785. buffer case, and provide some alternatives in the non-doublebuffer
  13786. code, which makes heavy use of XplatUI.ScrollWindow to move things
  13787. around without having to invalidate (and cause flicker). There
  13788. are still some drawing problems in the non-doublebuffered case, so
  13789. DOUBLEBUFFER is defined by default.
  13790. - Fix the way dropdowns are handled. now we explicitly watch for
  13791. the events which might cause the dropdown to close, and break out
  13792. of the nested event loop there. This gets rid of all Capture
  13793. code, at the expense of the Msg special casing. Seems to work,
  13794. though, and fixes bug #79743.
  13795. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  13796. * Control.cs: SetIsRecreating now recreates implicitly added
  13797. child controls as well. Finally fixes #79629. The flag passed to
  13798. SetIsRecreating has also been removed since it wasn't used.
  13799. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  13800. * PageSetupDialog.cs: Clean some code, fix some bits,
  13801. add some checks, and add a printer sub-dialog.
  13802. 2006-10-26 Chris Toshok <[email protected]>
  13803. * PropertyGrid.cs: make set_SelectedObject call
  13804. set_SelectedObjects, and move the duplicate logic to the
  13805. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  13806. * PropertyGridView.cs: hide the textbox when we get a
  13807. SelectedObjectsChanged event.
  13808. Fixes bug #79748.
  13809. 2006-10-26 Chris Toshok <[email protected]>
  13810. * PropertyGridView.cs: deal with the type converter not supporting
  13811. GetStandardValues() or GetStandardValues() returning null, which
  13812. is does in the default case. Fixes #79742.
  13813. 2006-10-25 Andreia Gaita <[email protected]>
  13814. * CheckedListBox.cs: nunit no longer crashes when selecting
  13815. Project/Edit menu option
  13816. 2006-10-25 Andreia Gaita <[email protected]>
  13817. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  13818. is no menu selected. fixes #79739
  13819. 2006-10-25 Chris Toshok <[email protected]>
  13820. * PropertyGridView.cs: factor out the splitter invalidation code
  13821. into the SplitterPercent setter, and for kicks implement the
  13822. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  13823. amount in either direction.
  13824. 2006-10-25 Chris Toshok <[email protected]>
  13825. * PropertyGridView.cs: do some cleanup of the brush used to draw
  13826. text - read only fields should be grayed out. not sure how to do
  13827. this with the textbox, though. but the textbox's should also be
  13828. readonly now at least. Also, hide/show the textbox when resizing
  13829. the control.
  13830. * CursorConverter.cs: use System.Reflection when getting the
  13831. properties of Cursors, as TypeDescriptor.GetProperties isn't
  13832. returning static properties.
  13833. 2006-10-25 Chris Toshok <[email protected]>
  13834. * PropertyGridView.cs: factor out the up/down handling, and reuse
  13835. it for page up/down. also add End/Home support.
  13836. 2006-10-25 Chris Toshok <[email protected]>
  13837. * PropertyGridView.cs:
  13838. - ensure the selected grid item is visible in the scrolled area,
  13839. fixes bug #79572.
  13840. - fix Keys.Down handling when you're on the last item in the
  13841. propertygrid.
  13842. 2006-10-25 Mike Kestner <[email protected]>
  13843. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  13844. clicks too. Fixes #79725.
  13845. 2006-10-24 Chris Toshok <[email protected]>
  13846. * PropertyGrid.cs: use property.Converter instead of
  13847. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  13848. TypeConverters declared on the property as well as on the
  13849. PropertyType. Fixes bug #79678.
  13850. 2006-10-24 Alexander Olk <[email protected]>
  13851. * MimeIcon.cs, Mime.cs:
  13852. Fallback to the default platform handler if no shared mime info
  13853. stuff exists (fixes #79693).
  13854. 2006-10-20 Andreia Gaita <[email protected]>
  13855. * ContainerControl.cs: Incorrect contains check in ActiveControl
  13856. from previous fix (duh).
  13857. 2006-10-20 Chris Toshok <[email protected]>
  13858. * PropertyGridView.cs: the dropdown should be MIN(number of items
  13859. in list, 15). Fixes #79551.
  13860. 2006-10-20 Andreia Gaita <[email protected]>
  13861. Fixes #79384, #79394, #79652, #79667
  13862. * Application.cs:
  13863. - Modal windows are now destroyed in the proper order for windows
  13864. * ContainerControl.cs:
  13865. - ActiveControl setter has more conditions on when to return:
  13866. - if we're reselecting the active control, but it actually
  13867. didn't have focus (window hidden or some such), it runs
  13868. - if the active control being selected doesn't actually
  13869. exist in the container, it returns
  13870. * Form.cs
  13871. - The ShowDialog now gets the current form as the owner when
  13872. invoking without parameters, and correctly activates the owner
  13873. when returning
  13874. * MessageBox.cs
  13875. - MessageBox now catches the Escape key to exit
  13876. 2006-10-20 Chris Toshok <[email protected]>
  13877. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  13878. most of bug #79676):
  13879. - you can navigate around the property grid with the arrow keys.
  13880. - the dropdown is sized properly when the pg has a vertical
  13881. scrollbar.
  13882. - fix the indentation for subentries, and properly select the
  13883. entire label rect.
  13884. - fix the gray bar's drawing (only draw it to the last element,
  13885. not for the height of the control. Also make sure we draw that
  13886. last horizontal grid line.
  13887. - use the same mechanism the datagrid uses wrt the editing textbox
  13888. when scrolling/resizing/etc. Namely, we hide it first, do the
  13889. operation, then show it again (if it's still visible).
  13890. - aggressively remove a lot of unnecessary refreshes (and also
  13891. calls to Invalidate(). call more limited variants, and only redraw
  13892. what we need.)
  13893. * PropertyGrid.cs:
  13894. - when we're populating the merged collection, fill in the UI
  13895. parent with either the passed in item, or the category item we
  13896. create.
  13897. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  13898. * GridItem.cs: drop some fully qualified names.
  13899. * GridEntry.cs: add a "UIParent", which is basically the parent
  13900. treenode.
  13901. * GridItemCollection.cs: add an IndexOf method.
  13902. 2006-10-20 Mike Kestner <[email protected]>
  13903. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  13904. a working win32 NC invalidation mechanism, we can't invalidate
  13905. menus. [Fixes #79705]
  13906. 2006-10-20 Mike Kestner <[email protected]>
  13907. * ListBox.cs : don't update the VScrollbar if the list is empty,
  13908. just hide it. [Fixes #79692]
  13909. 2006-10-20 Jackson Harper <[email protected]>
  13910. * RichTextBox.cs: Handle some special chars better, and don't skip
  13911. the entire group when we encounter a special char that we don't
  13912. handle correctly.
  13913. 2006-10-18 Chris Toshok <[email protected]>
  13914. * PropertyGridView.cs: address a number of issues from bug #79676,
  13915. mostly of the cosmetic variety.
  13916. - The highlight rectangle for indented items not extends all the
  13917. way to the left.
  13918. - Indented items aren't indented so much.
  13919. - the dropdown is properly sized width-wise if the pg has a
  13920. vertical scrollbar.
  13921. 2006-10-18 Chris Toshok <[email protected]>
  13922. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  13923. systray stuff is rather convoluted to begin with.
  13924. systray icons are a single window for some reason (that I haven't
  13925. figured out yet), and for them, client_window == whole_window.
  13926. Given the way the tests are structured elsewhere to determine
  13927. which paints are pending (client vs. nc), that situation will
  13928. always yield PAINT, not NCPAINT. So, if we have a pending
  13929. nc_expose and no pending expose, remove the hwnd from the paint
  13930. queue, and also set nc_expose_pending to false, to keep us from
  13931. blocking further expose's adding the hwnd to the paint queue.
  13932. phew. like i said, a rather convoluted change. Fixes the
  13933. notifyicon repaint issues in bug #79645.
  13934. 2006-10-18 Chris Toshok <[email protected]>
  13935. * Form.cs: when getting the backcolor of the form, don't get
  13936. base.BackColor, as this allows parents to influence the background
  13937. color. This breaks mdi forms. Instead, if the background_color
  13938. is empty, return the default.
  13939. 2006-10-18 Chris Toshok <[email protected]>
  13940. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  13941. to being private instead of internal static.
  13942. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  13943. crap, it wasn't working for more deeply nested controls anyway,
  13944. and we already have the is_recreating flag - use that instead.
  13945. Before calling DestroyHandle in RecreateHandle, recurse through
  13946. the control tree setting it to true. this returns the recreate
  13947. code to much of its original simplicity, while now guaranteeing we
  13948. actually recreate everything we're supposed to. This change gets
  13949. fyireporting actually showing mdi children.
  13950. 2006-10-17 Chris Toshok <[email protected]>
  13951. * Form.cs: remove some debug spew, and collapse some duplicate
  13952. code at the end of SetClientSizeCore.
  13953. * XplatUIX11.cs:
  13954. - add some more debug spew here too wrt Destroy handling.
  13955. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  13956. in Control's handling of WM_DESTROY.
  13957. - Remove the handling of zombie window DestroyNotifies from the
  13958. event loop - we don't need it. Now the only DestroyNotifies we
  13959. actually handle are ones generated by X.
  13960. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  13961. match gtk's (functioning) handling of this. This keep metacity
  13962. from leaving droppings in the form of wm borders with no window
  13963. contents all over the place.
  13964. * Control.cs:
  13965. - add a bunch of debug spew wrt control recreation.
  13966. - fix a bug where we weren't tracking Visible properly on
  13967. recreated hwnds.
  13968. - fixed the WM_PAINT double buffer handling to support re-entrant
  13969. calls (yes, i know it's gross, but it's happening to us).
  13970. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  13971. * ThemeWin32Classic.cs: changed drawing of selected days
  13972. to make them look better.
  13973. 2006-10-16 Chris Toshok <[email protected]>
  13974. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  13975. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  13976. * XplatUIX11.cs: move away from using hwnd.client_dc and
  13977. hwnd.non_client_dc and on to a stack of dc's (and in window's
  13978. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  13979. without puking or not disposing of Graphics objects.
  13980. * XplatUIOSX.cs: same.
  13981. * XplatUIWin32.cs: same.
  13982. 2006-10-03 Alexander Olk <[email protected]>
  13983. * FileDialog.cs: Don't call on_directory_changed inside
  13984. OnSelectedIndexChanged (it changes the SelectedIndex too).
  13985. Instead move it to OnSelectionChangeCommitted.
  13986. 2006-10-13 Chris Toshok <[email protected]>
  13987. * XplatUIX11.cs: more Destroy work. the current code does the
  13988. following things, in order:
  13989. 1. Enumerates all handles of all controls at or below the one
  13990. being destroyed, in pre-order. As it is doing this, it marks the
  13991. handles as zombie and clears all references to them.
  13992. 2. calls XDestroyWindow on the window passed in.
  13993. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  13994. list.
  13995. 2006-10-13 Chris Toshok <[email protected]>
  13996. * XplatUIX11.cs: set hwnd.zombie to true before calling
  13997. SendMessage (WM_DESTROY). this keeps us from marking the new
  13998. window a zombie, and also keeps us from calling sendmessage at
  13999. all.
  14000. 2006-10-13 Jackson Harper <[email protected]>
  14001. * TextControl.cs: Do not show the caret and selection at the same
  14002. time. Reduces ugliness by 35%.
  14003. 2006-10-13 Chris Toshok <[email protected]>
  14004. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  14005. zombie after we do the recursive call, so we actually do call
  14006. SendMessage on the children controls.
  14007. (GetMessage): if we find a pending paint event for a zombie hwnd,
  14008. remove the hwnd from the paint queue, or else it will always be
  14009. there (and we'll effectively loop infinitely)
  14010. 2006-10-13 Mike Kestner <[email protected]>
  14011. * MenuItem.cs : add Selected format under keynav too.
  14012. Fixes #79528.
  14013. 2006-10-13 Gert Driesen <[email protected]>
  14014. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  14015. implementation and that of MS.
  14016. 2006-10-13 Chris Toshok <[email protected]>
  14017. * Control.cs (OnInvalidated) only futz with the invalid_region if
  14018. the control is double buffered. this fixes the apparent hang in
  14019. the ListView unit tests. Someone needs to make the
  14020. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  14021. 2006-10-13 Chris Toshok <[email protected]>
  14022. * PropertyGridView.cs:
  14023. - do a little refactoring so that only one place calls
  14024. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  14025. else call that. Also make it Refresh, since there are redraw bugs
  14026. otherwise (we should take a look at that...)
  14027. - do a little more refactoring work to share the body of code
  14028. involved with the drop down. it was duplicated in the code
  14029. dealing with the listbox handling and in the code dealing with the
  14030. UITypeEditors.
  14031. - add a Capture to the dropdown form's control once it's
  14032. displayed, and add a MouseDown handler that checks to make sure
  14033. the position is inside the control. If it's not, close the
  14034. dropdown. This fixes #78190.
  14035. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  14036. if the value is different than the initial value.
  14037. 2006-10-13 Andreia Gaita <[email protected]>
  14038. * Control.cs: see #78650
  14039. - Fixed GetNextControl for several cases:
  14040. - Changed FindFlatForward to return
  14041. correct sibling control when more than one
  14042. control has same TabIndex as the currently
  14043. focused one.
  14044. - Changed FindFlatBackward to loop children
  14045. from last to first and apply same logic as in
  14046. FindFlatForward
  14047. - Changed FindControlForward to search for
  14048. children when control is not a container
  14049. but has children, or search for siblings if
  14050. control is a container...
  14051. - Changed FindControlBackward to continue
  14052. searching for child controls when hitting
  14053. Panel-like parents
  14054. - Fixed Focus method to update ActiveControl
  14055. (FocusTest.FocusSetsActive failure)
  14056. * TabControl.cs:
  14057. - Focus rectangle now refreshes when gaining
  14058. or losing focus
  14059. - Removed grab for Tab key on IsInputKey that
  14060. was keeping tab navigation from working (#78650)
  14061. 2006-10-13 Chris Toshok <[email protected]>
  14062. * PropertyGridView.cs:
  14063. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  14064. SelectedObjects.
  14065. - Deal with GridItem.Value == null a few places.
  14066. * PropertyGrid.cs:
  14067. - replace the PopulateGridItemCollection with a pair of methods
  14068. which compute the intersection of all the properties in the
  14069. SelectedObjects array. Fixes #79615.
  14070. - Throw ArgumentException from set_SelectedObjects if there's a
  14071. null in the array.
  14072. - Add GetTarget method which can be used to traverse up the
  14073. GridItem.Parent chain. It depends on the assumption that
  14074. selected_objects for different GridEntries are always in the same
  14075. order (a safe assumption). Use this method and loop over all the
  14076. selected objects in the entry when calling RemoveValueChanged and
  14077. AddValueChanged.
  14078. * GridEntry.cs: Make this handle multiple selected objects.
  14079. .Value returns null if not all the selected objects share the same
  14080. value.
  14081. 2006-10-12 Jonathan Pobst <[email protected]>
  14082. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  14083. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  14084. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  14085. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  14086. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  14087. add additional functionality.
  14088. 2006-10-12 Mike Kestner <[email protected]>
  14089. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  14090. * HelpProvider.cs : new ToolTipWindow ctor sig.
  14091. * ToolTip.cs : remove ToolTip param from Window sig since it is
  14092. not used.
  14093. * ToolBar.cs : add tooltip support. Fixes #79565.
  14094. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  14095. * ComboBox.cs: move the events in set_SelectedIndex to
  14096. after the call to HighlightIndex in order to avoid
  14097. possible recursion and subsequent problems with the call
  14098. to HighlightIndex and include a range check in
  14099. set_HighlightIndex. Fixes #79588
  14100. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  14101. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  14102. to ui thread's settings instead of sunday.
  14103. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  14104. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  14105. * DateTimePicker.cs
  14106. * MonthCalendar.cs
  14107. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  14108. and implement missing functionality (selecting different parts
  14109. of the date and edit them individually with the keyboard).
  14110. 2006-10-11 Chris Toshok <[email protected]>
  14111. * Control.cs (OnInvalidated): fix NRE relating to last change.
  14112. 2006-10-11 Chris Toshok <[email protected]>
  14113. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  14114. atoms in _NET_WM_STATE here if the window is maximized. We need
  14115. to do this because we're *replacing* the existing _NET_WM_STATE
  14116. property, so those atoms will be lost otherwise, and any further
  14117. call to GetWindowState will return Normal for a window which is
  14118. actually maximized. Fixes #79338.
  14119. 2006-10-11 Jackson Harper <[email protected]>
  14120. * TextControl.cs: Special case for setting selection end to
  14121. selection start, we basically kill the anchor.
  14122. - some todo comments.
  14123. 2006-10-11 Chris Toshok <[email protected]>
  14124. * Control.cs: switch to using an "invalid_region" to track which
  14125. parts of the image buffer need updating. This is more code than
  14126. the simple fix from r66532. That version just attempted to always
  14127. fill the entire buffer on redraw, which turns out to be
  14128. inefficient when invalidating small rectangles. This version
  14129. simply adds the invalid rectangle to the invalid region. When we
  14130. get any WM_PAINT message we see if it can be filled using the
  14131. image buffer, and if it can't (if the paint event's clip rectangle
  14132. is visible in the invalid region) we first fill the image buffer.
  14133. So, the image buffer is still a cache, we just fill it lazily.
  14134. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  14135. need it any longer.
  14136. 2006-10-11 Chris Toshok <[email protected]>
  14137. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  14138. well as size after calling XMoveResizeWindow. This keeps us from
  14139. ignoring future SetWindowPos calls. Fixes the disappearing
  14140. DateTimePicker in the ToolBarDockExample from bug #72499.
  14141. 2006-10-11 Chris Toshok <[email protected]>
  14142. * TextBoxBase.cs: reorder things a bit when it comes to
  14143. resizing-causing-recalculation. we were recalculating the
  14144. document when our position was changed, which shouldn't happen.
  14145. We only care about size changes. Clear up some more redundant
  14146. recalculation calls while I'm at it. This makes the toolbar dock
  14147. example snappy when you're just dragging toolbars around (since it
  14148. causes a relayout whenever you move one.)
  14149. 2006-10-11 Chris Toshok <[email protected]>
  14150. * ToolBarButton.cs (get_Rectangle): this only returns
  14151. Rectangle.Empty if Visible == false, or Parent == null.
  14152. Parent.Visible doesn't matter.
  14153. 2006-10-10 Chris Toshok <[email protected]>
  14154. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  14155. by .net 1.1, so switch to an internal method instead.
  14156. 2006-10-10 Chris Toshok <[email protected]>
  14157. * Control.cs (WM_PAINT): when a control is double buffered we draw
  14158. initially to the ImageBuffer and then copy from there. But when a
  14159. parent control which has child controls is double buffered, the
  14160. initial drawing doesn't encompass the entire ClientRectangle of
  14161. the parent control, so we end up with uninitialized bits (this is
  14162. easily seen by dragging the top toolbar in
  14163. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  14164. manually set the ClipRectangle of the paint_event (only the one we
  14165. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  14166. of the nastiness in bug #72499.
  14167. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  14168. which we use in Control.cs's WM_PAINT handling.
  14169. 2006-10-10 Jackson Harper <[email protected]>
  14170. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  14171. 2006-10-10 Chris Toshok <[email protected]>
  14172. * Cursor.cs: Apply a slightly different patch to the one suggested
  14173. in #79609.
  14174. 2006-10-10 Jackson Harper <[email protected]>
  14175. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  14176. not the parent form.
  14177. * TextControl.cs: use difference in old line count vs new count to
  14178. calculate how many lines were added, this takes into account soft
  14179. line breaks properly.
  14180. 2006-10-10 Chris Toshok <[email protected]>
  14181. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  14182. rectangle located at 0,0 and the size of the text. Use
  14183. ClientRectangle instead. This fixes rendering of non-left aligned
  14184. link labels.
  14185. 2006-10-10 Jackson Harper <[email protected]>
  14186. * TextBoxBase.cs: When we set the selection start position the
  14187. caret.
  14188. * TextControl.cs: Need to update the caret when we decrement it to
  14189. zero.
  14190. - Make sure that the selection_visible flag gets reset to false if
  14191. the selection isn't visible. Before this you could get it set to
  14192. visible by changing the selection start, then changing the end to
  14193. equal the start.
  14194. 2006-10-09 Jackson Harper <[email protected]>
  14195. * TreeView.cs: Don't update scrollbars when we aren't visible.
  14196. * TreeNodeCollection.cs: Only need to update scrollbars if being
  14197. added to an expanded visible node or the root node.
  14198. 2006-10-09 Chris Toshok <[email protected]>
  14199. * XplatUIX11.cs (SendMessage): fix NRE.
  14200. 2006-10-09 Jackson Harper <[email protected]>
  14201. * TextBoxBase.cs: Implement horizontal autoscrolling.
  14202. * TextControl.cs: Add a movement types that allows moving forward
  14203. and backwards without wrapping.
  14204. 2006-10-09 Mike Kestner <[email protected]>
  14205. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  14206. with focus "expansion" of labels. Fixes #79532 and then some.
  14207. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  14208. when wrapping.
  14209. 2006-10-09 Jackson Harper <[email protected]>
  14210. * TextBoxBase.cs: Set the default max values to MaxValue since
  14211. we use the scrollbar for autoscrolling and the default value is
  14212. 100. If we don't do this the caret won't keep up with typing
  14213. after about 18 characters.
  14214. * TextControl.cs: Make sure the selection is offset by the
  14215. viewport x. This fixes selection when using auto scrolling.
  14216. 2006-10-07 Andreia Gaita <[email protected]>
  14217. * Form.cs: The active control should be selected after the
  14218. OnLoad so that any child control initialization that affects
  14219. the selection is done. Fixes #79406
  14220. 2006-10-06 Chris Toshok <[email protected]>
  14221. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  14222. to have no evil effects.
  14223. - Stop selecting StructureNotifyMask on non-toplevel windows.
  14224. The only way children should be resized is by using the SWF api,
  14225. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  14226. Toplevel windows can be interacted with via the window manager,
  14227. and so we keep the input mask there.
  14228. The other event StructureNotifyMask gives us (that we care
  14229. about) is DestroyNotify. The code is already structured such
  14230. that it assumes we won't be getting a DestroyNotify event for
  14231. the window we pass to XDestroyWindow (which is what
  14232. StructureNotifyMask is supposed to guarantee.) So, that code
  14233. shouldn't be affected by this either.
  14234. - Stop selecting VisibilityChangeMask altogether.
  14235. We weren't doing anything with the resulting events anyway.
  14236. This vastly reduces the number of X requests and events we see
  14237. when resizing/laying out a large ui.
  14238. 2006-10-06 Chris Toshok <[email protected]>
  14239. * ScrollableControl.cs (DisplayRectangle): we need to take into
  14240. account the DockPadding regardless of whether or not auto_scroll
  14241. == true. rework this slightly to this effect, and fix bug #79606,
  14242. and part of #72499 (you can now see the drag handles and drag
  14243. toolbars around).
  14244. 2006-10-06 Gert Driesen <[email protected]>
  14245. * ListViewItem.cs: Collections of selected and checked items are now
  14246. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  14247. we mark the collection "dirty".
  14248. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  14249. to only clear SelectedItems when a new item is selected and MultiSelect
  14250. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  14251. event of ListViewItemCollection, and mark its list dirty whenever
  14252. that event is fire. This allows us to return selected/checked items
  14253. in the same order as they are in the Items collection. This matches
  14254. the MS behavior.
  14255. 2006-10-06 Chris Toshok <[email protected]>
  14256. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  14257. right mouse clicks. Fixes bug #79593.
  14258. 2006-10-06 Chris Toshok <[email protected]>
  14259. * Splitter.cs: doh, fix splitters that don't want to cancel the
  14260. movement when you drag them. Also, impose the limits on the
  14261. values we send to the SplitterMovingEvent. Fixes #79598.
  14262. 2006-10-06 Jackson Harper <[email protected]>
  14263. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  14264. since we use this for auto scrolling also.
  14265. 2006-10-05 Chris Toshok <[email protected]>
  14266. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  14267. beginning to think that most datagrid column types don't need this
  14268. method. Fixes bug #79392.
  14269. 2006-10-05 Chris Toshok <[email protected]>
  14270. * DataGrid.cs: move back to a more lazy scheme for creating the
  14271. CurrencyManager, so we aren't updating it every time you set
  14272. either DataSource or DataMember. Also, don't call
  14273. RecreateDataGridRows if the currency manager hasn't changed.
  14274. 2006-10-05 Chris Toshok <[email protected]>
  14275. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  14276. emitted, SelectedIndex should already be updated. Fixes bug
  14277. #78929.
  14278. 2006-10-05 Jonathan Pobst <[email protected]>
  14279. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  14280. ToolStripTextBox.cs: Initial commit.
  14281. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  14282. 2006-10-05 Jackson Harper <[email protected]>
  14283. * TabControl.cs: We need to invalidate the tab control area when
  14284. new ones are added (duh).
  14285. 2006-10-03 Chris Toshok <[email protected]>
  14286. * Form.cs (ProcessDialogKey): if the focused control is in this
  14287. form and is a button, call its PerformClick method here. Fixes
  14288. #79534.
  14289. 2006-10-04 Jackson Harper <[email protected]>
  14290. * TabPage.cs: Ignore setting of Visible, and add an internal
  14291. method for setting the controls visibility. TabPage's Visible
  14292. property is a little strange on MS, this seems to make us
  14293. compatible, and fixes cases where people set all the tab pages to
  14294. visible.
  14295. * TabControl.cs: Use the new internal setting on tab pages
  14296. visibility.
  14297. 2006-10-03 Mike Kestner <[email protected]>
  14298. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  14299. 2006-10-03 Mike Kestner <[email protected]>
  14300. * ListView.cs : use is_visible instead of Visible to check if
  14301. scrollbars should be placed/sized. Also some max_wrap_width
  14302. love for LargeIcon view. [Fixes #79533]
  14303. 2006-10-03 Atsushi Enomoto <[email protected]>
  14304. * TextControl.cs :
  14305. Make set_TextAlign() do actually update the align. Fixed #78403.
  14306. 2006-10-03 Chris Toshok <[email protected]>
  14307. * DataGrid.cs: fix a crash when switching datasources if the
  14308. vertical scrollbar is at someplace other than Value = 0. Also,
  14309. reduce the number of recalculation passes we do in SetDataSource
  14310. from 2 to 1.
  14311. 2006-10-03 Jackson Harper <[email protected]>
  14312. * TextBoxBase.cs: Move the if value the same bail check up, we
  14313. don't want to empty the document if it is already empty, this
  14314. seems to severly mess up the caret. TODO: I should probably fix
  14315. the empty statement to update teh caret somehow.
  14316. 2006-10-03 Chris Toshok <[email protected]>
  14317. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  14318. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  14319. reflection, an internal row type, properties on said type, etc.)
  14320. will work with our datagrid. Fixes #79531.
  14321. 2006-10-03 Alexander Olk <[email protected]>
  14322. * FileDialog.cs: Don't crash if a path is not accessible
  14323. (System.UnauthorizedAccessException). Fixes #79569.
  14324. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  14325. a ':' too. Return unknown icon for those paths/files.
  14326. 2006-10-03 Sebastien Pouliot <[email protected]>
  14327. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  14328. GetContainerControl returns null.
  14329. 2006-10-02 Chris Toshok <[email protected]>
  14330. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  14331. call to XGetWindowAttributes instead of "handle". fixes an X
  14332. error using notifyicon after the NotifyIconWindow to Form base
  14333. class switch.
  14334. 2006-10-02 Chris Toshok <[email protected]>
  14335. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  14336. server grab and looping we need to do to get down to the most
  14337. deeply nested child window.
  14338. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  14339. QueryPointer again after the WarpPointer so we can generate a
  14340. proper (fake) MotionNotify event to be enqueued in the destination
  14341. window's queue.
  14342. (GetCursorPos): call QueryPointer.
  14343. Fixes #79556.
  14344. 2006-10-02 Jackson Harper <[email protected]>
  14345. * NotifyIcon.cs: Derive the notify icon from a form, so things
  14346. like FindForm work on it.
  14347. - Swallow the WM_CONTEXTMENU message, since that is generated on
  14348. mouse down, and context menu is a mouse up kinda guy. I believe
  14349. the correct fix here is probably to make the notify icon entirely
  14350. NC area, but this seems to work fine for anyone not manipulating
  14351. WndProc.
  14352. 2006-10-02 Jonathan Pobst <[email protected]>
  14353. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  14354. ToolStripItemCollection.cs, ToolStripLabel.cs,
  14355. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  14356. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  14357. Initial implementation.
  14358. * TextRenderer.cs: Provide padding to MeasureText.
  14359. 2006-10-02 Sebastien Pouliot <[email protected]>
  14360. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  14361. of ButtonBaseAccessibleObject. Fix bug #79552.
  14362. 2006-10-02 Jackson Harper <[email protected]>
  14363. * MdiWindowManager.cs: When maximizing use the containers client
  14364. rect, not it's bounds, so nc area is accounted correctly.
  14365. - Use the parent form's size for the menu position, since the
  14366. client isn't always the full form size.
  14367. 2006-10-01 Chris Toshok <[email protected]>
  14368. * ScrollableControl.cs: make sure neither right_edge or
  14369. bottom_edge are < 0, since they're used as LargeChange for the
  14370. horiz/vert scrollbars respectively. Fixes #79539.
  14371. 2006-10-01 Chris Toshok <[email protected]>
  14372. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  14373. the xplatuix11 code can cause us to destroy/recreate our handle.
  14374. * XplatUIX11.cs
  14375. (SystrayAdd):
  14376. - this code can be invoked many times for the same Hwnd. Make
  14377. sure we only destroy the client window once (the first time this
  14378. method is called). This fixes bug #79544.
  14379. - Remove the call to the improperly bound XSync. why we had two
  14380. bindings to this, I will never know, but this call resulted in
  14381. events being discarded from the queue(!).
  14382. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  14383. not our current state but the state we wish to be in. So, 0 if
  14384. we don't want to be mapped. Change it to 1.
  14385. (SystrayRemove): The XEMBED spec makes mention of the fact that
  14386. gtk doesn't support the reparent of client windows away from the
  14387. embedder. Looking at gtksocket-x11.c seems to agree with this.
  14388. The only avenue we have for removing systray icons is to destroy
  14389. them. We don't want the handle to go away for good, though, so
  14390. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  14391. #79545.
  14392. 2006-10-01 Chris Toshok <[email protected]>
  14393. * Form.cs (WndProc): inline the native_enabled variable usage into
  14394. the cases in which it's used. Fixes #79536.
  14395. 2006-09-29 Mike Kestner <[email protected]>
  14396. * ListView.cs : toggle the selection state for ctrl clicks in
  14397. multiselect mode. [Fixes #79417]
  14398. 2006-09-29 Mike Kestner <[email protected]>
  14399. * ListView.cs : kill CanMultiSelect and refactor the selection
  14400. code to support multiselection in the absence of mod keys. Steal
  14401. arrow/home/end keys by overriding InternalPreProcessMessage to
  14402. restore regressed keynav behavior.
  14403. [Fixes #79416]
  14404. 2006-09-29 Jackson Harper <[email protected]>
  14405. * MdiClient.cs: Repaint the titlebars when the active window is
  14406. changed.
  14407. 2006-09-29 Chris Toshok <[email protected]>
  14408. * Application.cs: when entering a runloop with a modal, make sure
  14409. the hwnd is enabled. Fixes #79480.
  14410. 2006-09-29 Chris Toshok <[email protected]>
  14411. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  14412. when ListManager.CanAddRows == false, bump us back one.
  14413. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  14414. listmanager.CanAddRows check. This makes ArrayLists uneditable
  14415. using a datagrid, which is not right.
  14416. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  14417. is an IEditable, but call property_descriptor.SetValue regardless.
  14418. fixes #79435.
  14419. 2006-09-29 Chris Toshok <[email protected]>
  14420. * DataGridBoolColumn.cs: we need to test equality in the face of
  14421. possible null values (as is the case with the default NullValue).
  14422. This patch keeps us from crashing in that case.
  14423. 2006-09-29 Jackson Harper <[email protected]>
  14424. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  14425. here, since it will get called for every node collection in the
  14426. tree. This is now done in the treeview once the sorting is
  14427. finished.
  14428. * TreeView.cs: Recalculate the visible order, and update the
  14429. scrollbars after sorting, set the top nope to the root so that the
  14430. recalc actually works.
  14431. 2006-09-29 Chris Toshok <[email protected]>
  14432. * LinkLabel.cs: more handling of the default link collection in
  14433. the face of LinkArea manipulation. The default link collection
  14434. contains 1 element (start=0,length=-1). If the user sets LinkArea
  14435. to anything and the links collection is the default, clear it.
  14436. Then only add the link if its nonempty. Fixes #79518.
  14437. 2006-09-29 Chris Toshok <[email protected]>
  14438. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  14439. piece correctly when we hit a '\n'. Fixes #79517.
  14440. 2006-09-29 Chris Toshok <[email protected]>
  14441. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  14442. change the binding of gdk_init_check to take two IntPtr's, and
  14443. pass IntPtr.Zero for both of them. Fixes #79520.
  14444. 2006-09-29 Mike Kestner <[email protected]>
  14445. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  14446. [Fixes #78779]
  14447. 2006-09-28 Jackson Harper <[email protected]>
  14448. * XplatUIX11.cs: When translating NC messages make sure we go from
  14449. whole window to screen, not client window to screen.
  14450. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  14451. method doesn't exist
  14452. - Skip over controls that aren't forms when arranging.
  14453. 2006-09-28 Jackson Harper <[email protected]>
  14454. * XplatUIWin32.cs: Clip the rect to the parent window.
  14455. * XplatUIStructs.cs: Add clipping modes struct.
  14456. * InternalWindowManager.cs: New private method that factors title
  14457. bar heights in when calculating the pos of an NC mouse message.
  14458. - Use SendMessage to force a paint when the form's size is changed
  14459. instead of painting the decorations immediately.
  14460. - Don't let the NC button click messages get to DefWndProc,
  14461. because they will attempt to handle windowing themself, and this
  14462. messes up z-order (it will put them in front of the scrollbars).
  14463. * XplatUIX11.cs: Make sure that we don't reset window managers if
  14464. we already have one (ie the window is an MDI window).
  14465. 2006-09-28 Chris Toshok <[email protected]>
  14466. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  14467. menu code really needs going over.
  14468. 2006-09-27 Chris Toshok <[email protected]>
  14469. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  14470. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  14471. window is maximizable. So, we need to make sure that even if we
  14472. clear the border/wm frame of those functions, they're still
  14473. available (basically, we remove the decoration without removing
  14474. the function). Half the fix for #79338.
  14475. 2006-09-27 Chris Toshok <[email protected]>
  14476. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  14477. Fixes bug #79515.
  14478. 2006-09-27 Chris Toshok <[email protected]>
  14479. * Splitter.cs: reorder things a bit so that we don't actually
  14480. draw/move the splitter until after calling OnSplitterMoving. This
  14481. lets users cancel/disallow the movement by explicitly setting
  14482. event.SplitX/SplitY. Fixes #79372.
  14483. 2006-09-27 Jackson Harper <[email protected]>
  14484. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  14485. because it is most likely on a window being destroyed, and that
  14486. will give us an X11 error.
  14487. 2006-09-27 Chris Toshok <[email protected]>
  14488. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  14489. the dropdown button now toggles between showing and hiding the
  14490. dropdown. Also, get rid of dropdown_form_showing and just use
  14491. dropdown_form.Visible. We still don't do a grab, but I'll leave
  14492. that part to someone who has handled Capture-fu before.
  14493. 2006-09-27 Chris Toshok <[email protected]>
  14494. * DataGrid.cs: return false if alt isn't pressed when '0' is
  14495. pressed. this keeps the '0' key from being swallowed, and fixes
  14496. bug #79350.
  14497. 2006-09-27 Chris Toshok <[email protected]>
  14498. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  14499. Calling Refresh (in response to a scrollbar event) screws up the
  14500. scrollbar painting. Fixes bug #78923.
  14501. 2006-09-27 Chris Toshok <[email protected]>
  14502. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  14503. then insert into hashtable" blocks threadsafe.
  14504. 2006-09-27 Chris Toshok <[email protected]>
  14505. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  14506. baseclass's, since otherwise the
  14507. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  14508. effect. This gets the close button back in messageboxes.
  14509. 2006-09-27 Chris Toshok <[email protected]>
  14510. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  14511. flag, not just != 0. this makes flags that are actually multiple
  14512. bits (like WS_CAPTION) work. fixes bug #79508.
  14513. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  14514. * PageSetupDialog.cs: add support for getting and settings the
  14515. paper size, source and orientation.
  14516. 2006-09-26 Chris Toshok <[email protected]>
  14517. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  14518. and caption == "", we need to remove the resize handles as well as
  14519. the title bar.
  14520. * Control.cs (set_Text): turns out that setting Text on a form
  14521. should change the WM styles on the window, since if ControlBox ==
  14522. false, the only way to get a window border is to have a non-""
  14523. Text property. check winforms/forms/text.cs for an example. so,
  14524. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  14525. update both window styles and title. This fixes a lot of dialogs
  14526. (including the preferences dialog in MonoCalendar.)
  14527. 2006-09-26 Chris Toshok <[email protected]>
  14528. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  14529. control isn't a Form), call Win32ShowWindow to hide the window,
  14530. but don't update the control Visible property. When we reparent
  14531. back to a parent control, call SetVisible in order for the
  14532. window's visibility to be reinstated.
  14533. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  14534. the FosterParent.
  14535. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  14536. call for good, since it breaks MonoCalendar (and other things I'm
  14537. sure.) Also, set all_controls to null *after* the owner calls,
  14538. which end up regenerating it.
  14539. (ChangeParent): allow new_parent to be == null, passing
  14540. IntPtr.Zero down to XplatUI.
  14541. this fixes #79294 the right way.
  14542. 2006-09-26 Mike Kestner <[email protected]>
  14543. * GridEntry.cs : internal SetParent method.
  14544. * PropertyGrid.cs : attach to property changed on the proper
  14545. target if we have a hierarchical grid with subobjects. Setup
  14546. GridItem.Parent for hierarchical items.
  14547. * PropertyGridView.cs : Set value on the correct target for
  14548. hierarchical grids. [Fixes #78903]
  14549. 2006-09-26 Chris Toshok <[email protected]>
  14550. * Control.cs (ChildNeedsRecreating): this should return true if
  14551. either we're being recreated and the child is in our list, or our
  14552. parent is waiting for our recreation.
  14553. 2006-09-26 Chris Toshok <[email protected]>
  14554. * Control.cs (ControlCollection.Remove): reinstate the
  14555. value.Hide() call as suggested in bug #79294.
  14556. 2006-09-26 Sebastien Pouliot <[email protected]>
  14557. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  14558. coordinates (versus a relative move).
  14559. 2006-09-26 Chris Toshok <[email protected]>
  14560. * Control.cs: rework child recreation a little bit. It turns out
  14561. that we race between the DestroyNotify the WM_DESTROY message. If
  14562. the parent gets its DestroyNotify before the child gets the
  14563. WM_DESTROY message, the child ends up not recreating (since the
  14564. parent finishes its recreation on DestroyNotify, and the child
  14565. checks ParentIsRecreating.)
  14566. So, instead we store off a list of all the child controls which
  14567. need to be recreated when the parent control starts to recreate
  14568. itself. Then, when child controls get their WM_DESTROY message we
  14569. check to see if they're in the parent's pending recreation list,
  14570. and if so, we recreate. This removes all dependency on ordering
  14571. from the code and fixes the initial MonoCalendar upgrade dialog.
  14572. 2006-09-26 Jackson Harper <[email protected]>
  14573. * TextControl.cs: Use the Line to get the length of the line,
  14574. since soft line breaks can change the end line.
  14575. 2006-09-26 Chris Toshok <[email protected]>
  14576. * Control.cs (ControlCollection.AddImplicit): don't add the
  14577. control again if it's already in one of our lists. This keeps us
  14578. from adding controls over and over again for comboboxes when their
  14579. handle gets recreated (as the combobox adds implicit controls in
  14580. OnHandleCreated). Fixes the X11 errors in bug #79480.
  14581. 2006-09-26 Jackson Harper <[email protected]>
  14582. * TextControl.cs: When deleting characters make sure that any
  14583. orphaned zero lengthed tags get deleted.
  14584. - Fix ToString for zero lengthed tags.
  14585. 2006-09-25 Jackson Harper <[email protected]>
  14586. * TextControl.cs: When getting a tag at the location there can be
  14587. multiple tags at the same spot, these are 0-lengthed tags that
  14588. appear when extra formatting has been stuck in a location. We
  14589. need to pull out the last of these 0 lengthed tags.
  14590. 2006-09-25 Jackson Harper <[email protected]>
  14591. * TextControl.cs: Fix print out in debug method.
  14592. * TextBoxBase.cs: When text is set bail if we are setting to the
  14593. previous value.
  14594. 2006-09-24 Alexander Olk <[email protected]>
  14595. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  14596. It is now possible to change the selected index in a FontXXXListBox
  14597. with the up and down arrow keys from the FontXXXTextBoxes.
  14598. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  14599. FontXXXListBoxes to match ms.
  14600. 2006-09-22 Sebastien Pouliot <[email protected]>
  14601. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  14602. anyone can dispose it, anytime. All other properties returns enums,
  14603. structs or basic types so they don't need such tricks.
  14604. 2006-09-22 Jackson Harper <[email protected]>
  14605. * XplatUI.cs:
  14606. * XplatUIWin32.cs:
  14607. * Clipboard.cs:
  14608. * DataFormats.cs:
  14609. * XplatUIOSX.cs:
  14610. * XplatUIDriver.cs: Update interface to add a primary selection
  14611. flag, so the driver can use the primary selection buffer if
  14612. needed.
  14613. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  14614. * RichTextBox.cs: We need to supply the data object to paste now
  14615. (so we can choose to supply CLIPBOARD or PRIMARY).
  14616. * TextBoxBase.cs: Supply data object to paste (see above).
  14617. - Middle click uses the primary selection data object.
  14618. 2006-09-21 Chris Toshok <[email protected]>
  14619. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  14620. of SetWMStyles. It's still a rat's nest and is largely
  14621. order-dependent which I dislike immensely. This also fixes the X
  14622. button disappearing from toplevel forms.
  14623. 2006-09-21 Mike Kestner <[email protected]>
  14624. * ListBox.cs: move Jordi's click/dblclick raising code to the
  14625. mouse up handler.
  14626. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  14627. * ListBox.cs: Fixes 79450
  14628. 2006-09-21 Mike Kestner <[email protected]>
  14629. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  14630. to deal with people updating the TreeNodeCollection after the tree
  14631. is disposed. "Fixes" 79330.
  14632. 2006-09-20 Jackson Harper <[email protected]>
  14633. * TextControl.cs: Push the cursor record onto the undo stack
  14634. before the delete action. This fixes 78651.
  14635. 2006-09-20 Jonathan Chambers <[email protected]>
  14636. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  14637. CreateParams. Fixes 79329.
  14638. 2006-09-19 Chris Toshok <[email protected]>
  14639. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  14640. things up a bit. First, get rid of the NetAtoms array (and the NA
  14641. enum), and just embed the atoms as static fields. Also, add a
  14642. couple of functions (StyleSet and ExStyleSet) to clean up all the
  14643. bitmask testing of styles.
  14644. * X11Structs.cs: remove the NA enum, not needed anymore.
  14645. 2006-09-19 Chris Toshok <[email protected]>
  14646. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  14647. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  14648. added cleanup to get MessageBox titles appearing again, which were
  14649. broken by my earlier fix for caption-less/ControlBox-less windows.
  14650. 2006-09-18 Jonathan Pobst <[email protected]>
  14651. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  14652. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  14653. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  14654. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  14655. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  14656. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  14657. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  14658. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  14659. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  14660. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  14661. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  14662. Inital import.
  14663. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  14664. ToolStripButton.cs: Stubs needed for above.
  14665. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  14666. 2006-09-15 Chris Toshok <[email protected]>
  14667. * XplatUIX11.cs:
  14668. - make the MessageQueues hashtable Synchronized.
  14669. - SendMessage: if the Hwnd is owned by a different thread, use the
  14670. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  14671. thread. Fixes bug #79201.
  14672. 2006-09-15 Chris Toshok <[email protected]>
  14673. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  14674. ControlBox == false, we disallow maximize/minimize/close. If the
  14675. form Caption is "" we also disallow move (and get rid of the Title
  14676. decoration). Unfortunately, regardless of how things are set,
  14677. we're stuck with the Title and WM menu.
  14678. 2006-09-15 Chris Toshok <[email protected]>
  14679. * Application.cs: add locking around the static message_filters
  14680. ArrayList, part of #79196.
  14681. 2006-09-15 Chris Toshok <[email protected]>
  14682. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  14683. Form.ControlBox == false, the window has no titlebar nor resize
  14684. handles. fixes bug #79368.
  14685. 2006-09-15 Chris Toshok <[email protected]>
  14686. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  14687. >= 0. Fixes bug #79370.
  14688. 2006-09-15 Jonathan Pobst <[email protected]>
  14689. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  14690. * Control.cs:
  14691. Add properties: LayoutEngine, Margin, DefaultMargin.
  14692. Add method: GetPreferredSize.
  14693. Move layout logic from PerformLayout to layout engines.
  14694. 2006-09-13 Chris Toshok <[email protected]>
  14695. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  14696. fix for #79326 broke #78718, so this change addresses that.
  14697. - in SendWMDestroyMessages remove the call to
  14698. CleanupCachedWindows, since we might be recreating the control and
  14699. need to maintain the references to right Hwnd handles. Also, set
  14700. the zombie flag to true for each of the children in the hierarchy
  14701. instead of calling hwnd.Dispose. This will cause GetMessage to
  14702. ignore all events for the window except for DestroyNotify.
  14703. - In GetMessage, ignore messages except for DestroyNotify for
  14704. zombie hwnds.
  14705. * Control.cs: revert the is_recreating fix from the last
  14706. ChangeLog. It's definitely "right", but it breaks switching from
  14707. an MDI form to a non-MDI form. Will need to revisit that.
  14708. * Hwnd.cs: add a zombie flag, which means "the
  14709. client_window/whole_window handles are invalid, but we're waiting
  14710. for the DestroyNotify event to come in for them". Set the flag to
  14711. false explicitly if setting WholeWindow/ClientWindow, and also
  14712. when Disposing.
  14713. 2006-09-13 Chris Toshok <[email protected]>
  14714. * XplatUIX11.cs: rework window destruction slightly.
  14715. - when destroying the windows associated with a control, we don't
  14716. need 2 separate XDestroyWindow calls. Just the one for the
  14717. whole_window (or for client_window if whole_window is somehow
  14718. IntPtr.Zero -- can this happen?) is enough.
  14719. - reworked SendWMDestroyMessages slightly, so we always dispose
  14720. the child control hwnd's after sending the messages.
  14721. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  14722. the two places it was used (one was even using hwnd.Handle and the
  14723. other hwnd.client_window. ugh), adding another call in
  14724. SendWMDestroyMessages. We need this new call because now the
  14725. DestroyNotify events in the queue will be ignored for the child
  14726. controls (as their hwnd's were disposed, and the window id's
  14727. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  14728. - this fixes bug #79326.
  14729. 2006-09-13 Chris Toshok <[email protected]>
  14730. * Control.cs: don't always set is_recreating to false at the end
  14731. of RecreateHandle, since sometimes we're not done (and won't be
  14732. until WndProc handles the WM_DESTROY message). Also, set
  14733. is_recreating to false in the WM_DESTROY handling code. Part of
  14734. the fix for bug #79326.
  14735. 2006-09-13 Miguel de Icaza <[email protected]>
  14736. * X11DesktopColors.cs: Start the droppage of debugging messages.
  14737. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  14738. 2006-09-13 Jonathan Pobst <[email protected]>
  14739. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  14740. 2006-09-12 Chris Toshok <[email protected]>
  14741. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  14742. to create it using SetDataSource. Fixes bug #79151.
  14743. 2006-09-11 Chris Toshok <[email protected]>
  14744. * XEventQueue.cs: add a DispatchIdle property.
  14745. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  14746. either the queue is null, or the queue has DispatchIdle set to
  14747. true.
  14748. (DoEvents): set queue.DispatchIdle to false around the
  14749. peek/translate/dispatch message loop in this method. This keeps
  14750. Application.Doevents from emitting idle events. Part of the fix
  14751. for #78823.
  14752. 2006-09-11 Chris Toshok <[email protected]>
  14753. * DataGrid.cs (set_DataSource): make this work for both the
  14754. winforms/datagrid test and ReportBuilder. It seems as though when
  14755. we've created a ListManager (or maybe it's if we have a
  14756. BindingContext?), when we set the DataSource it clears the
  14757. DataMember to "". otherwise we reuse the datamember. Fixes bug
  14758. #79333.
  14759. 2006-09-11 Chris Toshok <[email protected]>
  14760. * XplatUIX11.cs: deal with queue being null, which happens in all
  14761. the Clipboard functions. Fixes one of the two problems mentioned
  14762. in #78612.
  14763. 2006-09-11 Chris Toshok <[email protected]>
  14764. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  14765. button on various spots (including outside the menu) works closer
  14766. to MS, and doesn't crash. Fixes #79343.
  14767. 2006-09-11 Gert Driesen <[email protected]>
  14768. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  14769. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  14770. and the internal comparer is set. When a new ListViewItemSorter is set,
  14771. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  14772. was specified. No further processing is necessary if SortOrder is set
  14773. to it's current value. If Sorting is modified to None, and View is
  14774. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  14775. (either custom or our internal ItemComparer) to null, on 1.0 profile
  14776. only set item_sorter to null if its our internal IComparer. If Sorting
  14777. is modified to Ascending or Descending, then use our internal IComparer
  14778. if none is set, and if the current IComparer is our internal one then:
  14779. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  14780. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  14781. Enum.IsDefined to verify whether a valid View value is specified in
  14782. its setter. Automatically sort listview items when listview is
  14783. created. In Sort, do nothing if ListView is not yet created, or if
  14784. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  14785. to None or ListViewItemSorter was set to null). Added Sort overload
  14786. taking a bool to indicate whether the ListView should be redrawn when
  14787. items are sorted (we use this in ListViewItemCollection to avoid double
  14788. redraws). Modified our internal IComparer to take the sort order into
  14789. account. In Add and AddRange methods of ListViewItemCollection, also
  14790. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  14791. view), but use overload with noredraw option to avoid double redraw.
  14792. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  14793. true when View is Tile, and do the same when attempting to set View to
  14794. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  14795. for selected/checked indices, as it involves overhead when sorting is
  14796. done while these collections are not used all that often. Instead
  14797. we'll build the indices on demand. Modified IList implementation of
  14798. CheckedIndexCollection to use public methods if object is int.
  14799. Modified CheckedListViewItemCollection to hide checked items if
  14800. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  14801. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  14802. IList implementation in SelectedIndexCollection to use public methods
  14803. if object is int. Modified SelectedListViewItemCollection to hide
  14804. selected items if listview is not yet created.
  14805. * ListViewItem.cs: CheckedIndices list no longer needs to be
  14806. maintained separately (see ListView changes). Also clone font, fixes
  14807. test failure.
  14808. 2006-09-11 Mike Kestner <[email protected]>
  14809. * ComboBox.cs: if we are updating the contents of the currently
  14810. selected index, refresh the control or the textbox selection.
  14811. [Fixes #79066]
  14812. 2006-09-11 Mike Kestner <[email protected]>
  14813. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  14814. the 'specified' logic has been moved there. This seems like a bug
  14815. in Control.cs, since our current SetBoundsCore completely ignores
  14816. the specified parameter. Peter's commit seems to indicate that is
  14817. the way the MS control implementation works. [Fixes #79325]
  14818. 2006-09-10 Jonathan Chambers <[email protected]>
  14819. * XplatUI.cs: Set default_class_name to be composed
  14820. of current domain id. This allows MWF to be loaded in multiple
  14821. domains on Win32.
  14822. 2006-09-09 Miguel de Icaza <[email protected]>
  14823. * X11Keyboard.cs: If we are unable to obtain the input method, do
  14824. not call CreateXic to create the input context. Should fix
  14825. #78944/79276.
  14826. 2006-09-08 Alexander Olk <[email protected]>
  14827. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  14828. Simplified gnome support by adding more pinvokes to get the
  14829. icon for a file or mime type.
  14830. 2006-09-08 Jackson Harper <[email protected]>
  14831. * MenuAPI.cs: Deslect popup context menu items before closing the
  14832. window, so that you don't see the previously selected item
  14833. selected when you reopen the menu.
  14834. * TextControl.cs: Update the cursor position even if we don't have
  14835. focus. This fixes typing in things like the ComboBox. I'm not
  14836. totally sure we should always set the visibility if we don't have
  14837. focus, but couldn't find any corner cases where the cursor showed
  14838. up when it shouldn't.
  14839. 2006-09-08 Chris Toshok <[email protected]>
  14840. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  14841. our arrays are length 256. & 0xff before indexing. Fixes the
  14842. crash in bug #78077.
  14843. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  14844. * ThemeWin32Classic.cs:
  14845. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  14846. is true. Handle that check box too.
  14847. 2006-09-07 Chris Toshok <[email protected]>
  14848. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  14849. 79244.
  14850. 2006-09-07 Chris Toshok <[email protected]>
  14851. * Control.cs: in set_BackColor only do the work if
  14852. background_color != value.
  14853. * XplatUIX11.cs: move the clearing of invalid areas (both client
  14854. and nc) to the same block of code where we set (nc_)expose_pending
  14855. to false. That is, move it from PaintEventEnd to PaintEventStart,
  14856. so things that cause invalidates from within OnPaint will trigger
  14857. another call to OnPaint. Fixes bug #79262.
  14858. 2006-09-07 Alexander Olk <[email protected]>
  14859. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  14860. * FileDialog.cs: Fix typo
  14861. 2006-09-07 Jackson Harper <[email protected]>
  14862. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  14863. for tab pages if they have any.
  14864. 2006-09-06 Mike Kestner <[email protected]>
  14865. * Splitter.cs: use the "current" rect when finishing drag handle
  14866. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  14867. 2006-09-06 Mike Kestner <[email protected]>
  14868. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  14869. support offset splitters. [Fixes #79298]
  14870. 2006-09-06 Alexander Olk <[email protected]>
  14871. * Mime.cs: Fixed a bug that could override the global mime type
  14872. result.
  14873. 2006-09-05 Jackson Harper <[email protected]>
  14874. * TabControl.cs: Better calculation method for setting the slider
  14875. pos. Prevents crashes on really wide tabs.
  14876. - Draw Image on tab pages if an image list is used.
  14877. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  14878. * MonthCalendar.cs: When Font changes, the Size should be
  14879. updated to fit the new font's space requirements.
  14880. 2006-09-02 Alexander Olk <[email protected]>
  14881. * ListBox.cs: If the items are cleared with Items.Clear set
  14882. top_index to 0.
  14883. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  14884. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  14885. fire DateChanged event instead of DateSelected event when
  14886. the date was changed by keyboard interaction.
  14887. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  14888. * DateTimePicker.cs: Handle DateChanged for the associated
  14889. month_calendar control, and set month_calendar.Font from
  14890. OnFontChanged method, as well as resize the height of the
  14891. control when needed. Make PreferredHeight proportional.
  14892. 2006-09-01 Chris Toshok <[email protected]>
  14893. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  14894. properties.
  14895. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  14896. 2006-09-01 Peter Dennis Bartok <[email protected]>
  14897. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  14898. for decorations (Fixes #79219)
  14899. 2006-09-01 Mike Kestner <[email protected]>
  14900. * ComboBox.cs: first stab at sorting plus some selection handling
  14901. fixes to bring us more in line with MS behavior. Also switches back
  14902. to index based selection. Alternative patches for index-based
  14903. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  14904. and [email protected] on bug 78848. I assume they were similar to this
  14905. code I've had simmering in my tree forever.
  14906. [Fixes #78848]
  14907. 2006-09-01 Chris Toshok <[email protected]>
  14908. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  14909. when setting list position guard against ending up with a -1 index
  14910. (the other part of the fix for #78812). Should probably make sure
  14911. we don't need the analogous fix in the ItemDeleted case.
  14912. * DataGrid.cs:
  14913. - in SetDataSource, work around the fact that the way
  14914. OnBindingContextChanged is invoked will cause us to re-enter this
  14915. method. I'll remove the hack once I investigate
  14916. OnBindingContextChanged.
  14917. - fix the logic in set_DataSource and set_DataMember (basically
  14918. what to do if the other of the two is null.)
  14919. - in OnListManagerItemChanged, we need to take into account the
  14920. edit row when deciding whether or not to call RecreateDataGridRows
  14921. (part of the fix for #78812).
  14922. 2006-09-01 Jackson Harper <[email protected]>
  14923. * Splitter.cs: Don't do anything if there is no control to affect
  14924. (prevents us from crashing in weird tet cases).
  14925. * TreeView.cs: Bounding box for the mouse movement reverting
  14926. focus/selection back to previously selected node. This matches
  14927. MS, and makes the tree a lot more useable.
  14928. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  14929. use clipping so they are not drawn. This fixes when the control
  14930. is set to have a transparent background, or if it was over an
  14931. image.
  14932. 2006-09-01 Alexander Olk <[email protected]>
  14933. * MimeIcon.cs: Improved handling for reading default icons when
  14934. using gnome (2.16 made it necessary). Check and read svg icons
  14935. first, then 48x48 and then 32x32 icons.
  14936. 2006-08-31 Chris Toshok <[email protected]>
  14937. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  14938. visible.
  14939. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  14940. ProcessKeyPreview. Fixes part of #77806.
  14941. * DataGrid.cs: big patch.
  14942. - revert the queueing up of DataSource/DataMember if inside
  14943. BeginInit/EndInit calls. That's not the way the datagrid achieves
  14944. its delayed databinding. Instead, call SetDataSource in
  14945. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  14946. #78811.
  14947. - Also, it wasn't mentioned in #78811, but the test case exhibits
  14948. behavior that was lacking in our datagrid implementation - Columns
  14949. that have mapping names that don't exist in the datasource's
  14950. properties aren't shown. Yuck. To fix this I added the bound
  14951. field to the column style, and basically any calculation to figure
  14952. out anything about columns uses a loop to find the bound columns.
  14953. still need to investigate if I can cache an array of the bound
  14954. columns or if the indices must be the same.
  14955. - When setting CurrentCell, we no longer abort if the cell being
  14956. edited was in the add row. This fixes the other part of #77806.
  14957. - The new code also fixes #78807.
  14958. * ThemeWin32Classic.cs: perpetrate the same disgusting
  14959. column.bound field hack, and only render bound fields.
  14960. 2006-08-31 Chris Toshok <[email protected]>
  14961. * DataGridColumnStyle.cs: add bound field. this field is true if
  14962. the datasource has a property corresponding to the mapping name.
  14963. * DataGridTableStyle.cs: set the bound field on the column styles
  14964. depending on whether or not we have a column for that property.
  14965. 2006-08-31 Peter Dennis Bartok <[email protected]>
  14966. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  14967. splitter control (fixes #79228)
  14968. 2006-08-31 Chris Toshok <[email protected]>
  14969. * DataGridColumnStyle.cs: we need to delay the assignment of
  14970. property descriptor until the last possible moment due to the lazy
  14971. databinding stuff in the datagrid. Also, fix the exceptions
  14972. thrown by CheckValidDataSource to match MS.
  14973. 2006-08-31 Jackson Harper <[email protected]>
  14974. * Form.cs: When activated select the active control, if there is
  14975. no active control, we select the first control.
  14976. * XplatUIX11.cs: If there is no focus control when we get a
  14977. FocusIn event, find the toplevel form and activate it. This
  14978. occurs when you popup a window, it becomes the focus window, then
  14979. you close that window, giving focus back to the main window.
  14980. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  14981. * MonthCalendar.cs:
  14982. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  14983. as StringFormat with Center alignments in MonthCalendar,
  14984. instead of creating new ones when drawing the control.
  14985. Also, draw the month name in bold style.
  14986. 2006-08-30 Peter Dennis Bartok <[email protected]>
  14987. * Control.cs:
  14988. - PerformLayout(): It would seem MS performs the fill even if the
  14989. control is not visible (part of #79218 fix)
  14990. - ResetBackColor(): Use the setter to reset the color, to allow
  14991. overriders to catch the change.
  14992. * Form.cs:
  14993. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  14994. - CreateHandle(): dito (part of $79218 fix)
  14995. - Don't set an icon if we have a dialog
  14996. * ScrollableControl.cs:
  14997. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  14998. - ScrollIntoView(): No need to scroll if control is already visible
  14999. (resolves fixme and fixes #79218)
  15000. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  15001. * MonthCalendar.cs: Change proportions in SingleMonthSize
  15002. to match the aspect of the original control.
  15003. 2006-08-29 Alexander Olk <[email protected]>
  15004. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  15005. get updated when they get maximized.
  15006. 2006-08-29 Peter Dennis Bartok <[email protected]>
  15007. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  15008. 2006-08-29 Chris Toshok <[email protected]>
  15009. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  15010. 2006-08-29 Jackson Harper <[email protected]>
  15011. * TreeView.cs: Need to track selected node and highlighted node,
  15012. they aren't always the same thing, when the mouse is down on a
  15013. node it is hilighted, but not selected yet.
  15014. - Do the HideSelection stuff right
  15015. - Need to focus on rbutton mouse down. And redraw selection when
  15016. right click is mouse upped.
  15017. 2006-08-29 Mike Kestner <[email protected]>
  15018. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  15019. when SubItems.Count < Columns.Count. [Fixes #79167]
  15020. 2006-08-28 Peter Dennis Bartok <[email protected]>
  15021. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  15022. 2006-08-28 Peter Dennis Bartok <[email protected]>
  15023. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  15024. from X. Only send based on ConfigureNotify if we don't have the
  15025. correct location in hwnd (if the window manager moved us)
  15026. 2006-08-28 Mike Kestner <[email protected]>
  15027. * ListView.cs: remove a TODO.
  15028. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  15029. [Fixes ListView part of #79166]
  15030. 2006-08-28 Mike Kestner <[email protected]>
  15031. * ListView.cs: move wheel handler to parent since it is focused
  15032. instead of the item_control now. [Fixes #79177]
  15033. 2006-08-28 Mike Kestner <[email protected]>
  15034. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  15035. when the control is focused. [Fixes #79171]
  15036. 2006-08-28 Mike Kestner <[email protected]>
  15037. * ListView.cs: size the item and header controls for empty and
  15038. unscrollable views.
  15039. * ThemeWin32Classic.cs: draw disabled backgrounds.
  15040. [Fixes #79187]
  15041. 2006-08-28 Chris Toshok <[email protected]>
  15042. * Form.cs: remove unused "active_form" static field.
  15043. * Hwnd.cs: lock around accesses to static windows collection.
  15044. * Application.cs: lock threads in Exit ().
  15045. 2006-08-28 Chris Toshok <[email protected]>
  15046. * NativeWindow.cs: lock around accesses to window_collection.
  15047. 2006-08-28 Chris Toshok <[email protected]>
  15048. * Control.cs: err, fix this the right way, by locking on controls
  15049. when using it. not by making it synchronized.
  15050. 2006-08-28 Chris Toshok <[email protected]>
  15051. * Control.cs: make the static "controls" field synchronized, as it
  15052. gets updated from multiple threads.
  15053. 2006-08-27 Peter Dennis Bartok <[email protected]>
  15054. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  15055. Prevent other threads from exiting when calling thread sets quit state.
  15056. * XEventQueue.cs: Added PostQuitState property
  15057. 2006-08-27 Chris Toshok <[email protected]>
  15058. * AsyncMethodData.cs: add a slot for the window handle.
  15059. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  15060. window (the destination control's window, not the foster window).
  15061. * Control.cs (BeginInvokeInternal): store the window's handle in
  15062. the AsyncMethodData.
  15063. 2006-08-27 Peter Dennis Bartok <[email protected]>
  15064. * XplatUIX11.cs:
  15065. - PostQuitMessage: Removed resetting S.D display handle, we might have
  15066. another loop started after calling PostQuitMessage (Fixes #79119)
  15067. - Created destructor to reset S.D handle
  15068. 2006-08-27 Peter Dennis Bartok <[email protected]>
  15069. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  15070. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15071. * TextControl.cs (Insert): Update the caret position even if we don't
  15072. have a handle yet, just don't call the driver in that case.
  15073. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  15074. to the end of the new selection text (Fixes #79184)
  15075. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15076. * Form.cs (Activate): Only activate if the handle is created)
  15077. * Control.c:
  15078. - Mark window as invisible when it's disposed
  15079. - Check if window handle is created when setting window visible,
  15080. instead of relying just on the is_created variable
  15081. - Check if object is disposed when creating the control (Fixes #79155)
  15082. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15083. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  15084. when allowing layout again. Otherwise we re-generate the anchoring
  15085. distance to the border again and actually alter what the user wanted
  15086. This is ugly, it'd be better if we used DisplayRectangle instead of
  15087. ClientRectangle for Control.UpdateDistances, but that causes us to
  15088. have other problems (initial anchoring positons would be wrong)
  15089. (Fixes #78835)
  15090. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15091. * Control.cs:
  15092. - The size and location setters shouldn't go directly to
  15093. SetBoundsCore, but to SetBounds, which triggers layout on the
  15094. parent, then calls SetBoundsCore. (Related to fix for #78835)
  15095. - SetBounds: Moved actual location update code into this function
  15096. from SetBoundsCore, to match MS. Added call to PerformLayout if
  15097. we have a parent (to trigger resizing of anchored parents if the
  15098. child size has changed (see testcase for #78835)
  15099. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  15100. new control code
  15101. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  15102. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15103. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  15104. System.Drawing when a toplevel window gets closed; there might
  15105. be other toplevel windows belonging to the same app (Fixes #78052)
  15106. 2006-08-26 Alexander Olk <[email protected]>
  15107. * FileDialog.cs: After reading FileDialog settings from mwf_config
  15108. use Desktop prefix only if a real folder doesn't exist anymore.
  15109. * FontDialog.cs: Added char sets.
  15110. It is now possible to select the font, size or style with the
  15111. textboxes.
  15112. 2006-08-25 Kornél Pál <[email protected]>
  15113. * PrintPreviewDialog.cs: Use assembly name constants.
  15114. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15115. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  15116. scrollbar from whacking it's buttons)
  15117. 2006-08-24 Chris Toshok <[email protected]>
  15118. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  15119. in this patch (aggregating setting Left/Top/Width/Height to
  15120. setting Bounds on the scrollbars), but the crux of the fix is in
  15121. Recalculate, where we scroll by the remaining scroll_position if
  15122. we're hiding a scrollbar. The 2*$5 reward in the comment is
  15123. serious.
  15124. 2006-08-24 Jackson Harper <[email protected]>
  15125. * MdiClient.cs:
  15126. * MdiWindowManager.cs: If the form is made a non-mdi window we
  15127. need to remove the form closed event so that closing forms works
  15128. correctly.
  15129. 2006-08-24 Jackson Harper <[email protected]>
  15130. * Control.cs: Make IsRecreating internal so that the driver can
  15131. check it
  15132. - Temporarily remove the Hide when controls are removed, its
  15133. making a whole bunch of things not work because visibility isn't
  15134. getting reset elsewhere correctly
  15135. * Form.cs: Need to do a full handle recreation when the mdi parent
  15136. is set.
  15137. * XplatUIX11.cs: If we are recreating handles don't dispose the
  15138. HWNDs. What was happening is the handles were being recreated in
  15139. SendWMDestroyMessages, but then flow continued on in that method
  15140. and destroyed the new handles.
  15141. 2006-08-23 Jackson Harper <[email protected]>
  15142. * Form.cs: MdiClient is always at the back of the bus
  15143. * Control.cs: When the order of items in the collection is changed
  15144. we need to reset the all_controls array
  15145. - do the same sorta setup thats done when adding a control when a
  15146. control is set on the collection.
  15147. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15148. * TextBoxBase.cs (get_Text): Return an empty array if our document
  15149. is empty (fixes #79052)
  15150. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15151. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  15152. on WM_SYSCHAR messages (fixes #79053)
  15153. 2006-08-23 Chris Toshok <[email protected]>
  15154. * DataGrid.cs: fix flickering when scrolling vertically.
  15155. 2006-08-23 Chris Toshok <[email protected]>
  15156. * DataGrid.cs (EndEdit): only invalidate the row header when we
  15157. need to.
  15158. 2006-08-23 Chris Toshok <[email protected]>
  15159. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  15160. methods. fixes the flicker when scrolling around.
  15161. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15162. * FileDialog.cs: Making sure the control is created before we get a
  15163. chance to use it with BeginInvoke (Fixes #79096)
  15164. 2006-08-23 Chris Toshok <[email protected]>
  15165. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  15166. width to use when painting the rows.
  15167. 2006-08-23 Peter Dennis Bartok <[email protected]>
  15168. * TextBoxBase.cs:
  15169. - Throw ArgumentException if a negative value is passed to SelectionLength
  15170. - Update the selection end if start is moved. end needs to be always
  15171. after start. (Fixes #79095)
  15172. - Track selection length; MS keeps the selection length even if start
  15173. is changed; reset on all other operations affection selection
  15174. 2006-08-22 Jackson Harper <[email protected]>
  15175. * TreeView.cs: Make sure both scrollbars get displayed and sized
  15176. correctly when the other bar is visible.
  15177. - Use the original clip rectangle for checking if the area between
  15178. the two scrollbars is visible, not the viewport adjusted clipping
  15179. rectangle.
  15180. 2006-08-22 Jackson Harper <[email protected]>
  15181. * Binding.cs: We don't use IsBinding because it requires the
  15182. control to be created, which really shouldn't be necessary just to
  15183. set a property on the control.
  15184. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  15185. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  15186. ArgumentNullReferenceException when the argument is null.
  15187. 2006-08-21 Jackson Harper <[email protected]>
  15188. * Timer.cs: Track the thread that the timer is started in (NOT
  15189. CREATED), this way messages for it will only be triggered on its
  15190. queue.
  15191. * XEventQueue.cs: Track the timers here, this makes timers per
  15192. thread, like MS.
  15193. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  15194. 2006-08-19 Chris Toshok <[email protected]>
  15195. * XplatUIX11.cs: after further communication with pdb, we get the
  15196. best of both worlds. SetZOrder working for un-Mapped windows, and
  15197. no X errors for un-mapped windows.
  15198. 2006-08-19 Chris Toshok <[email protected]>
  15199. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  15200. as it was causing pdn toolbars to not have the correct stacking.
  15201. 2006-08-18 Mike Kestner <[email protected]>
  15202. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  15203. calculation. Not sure why control should ever be setting a negative
  15204. width though. Fixes #78931.
  15205. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  15206. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  15207. null items in ObjectCollection class.
  15208. * ListBox.cs.: Likewise.
  15209. 2006-08-18 Atsushi Enomoto <[email protected]>
  15210. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  15211. as the base method in ThemeWin32Classic should work fine.
  15212. Fixed bug #78607.
  15213. 2006-08-18 Jackson Harper <[email protected]>
  15214. * Binding.cs: When validating if the value entered doesn't convert
  15215. properly reset to the old value.
  15216. * RadioButton.cs: Don't fire click when we get focus.
  15217. 2006-08-18 Jackson Harper <[email protected]>
  15218. * FileDialog.cs: Paint the selection on the directory combobox the
  15219. same way as on MS.
  15220. 2006-08-17 Jackson Harper <[email protected]>
  15221. * ErrorProvider.cs: Don't allow the error control to be selected.
  15222. * Control.cs: Don't send the SetFocus messages, the control
  15223. activation will do this, and if we do it blindly here validation
  15224. does not work.
  15225. 2006-08-17 Jackson Harper <[email protected]>
  15226. * Control.cs:
  15227. * ContainerControl.cs: Make validation events fire in the correct
  15228. order. TODO: For some reason the first validation event is not
  15229. getting fired.
  15230. 2006-08-17 Mike Kestner <[email protected]>
  15231. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  15232. 2006-08-17 Mike Kestner <[email protected]>
  15233. * ComboBox.cs : implement scroll wheel support for popped-down
  15234. state. Fixes #78945.
  15235. 2006-08-17 Jackson Harper <[email protected]>
  15236. * TreeView.cs: Specify treeview actions (old patch that didn't get
  15237. committed for some reason).
  15238. - Don't let the mouse wheel scroll us too far. Just want to make
  15239. the bottom node visible, not scroll it all the ways to the top.
  15240. 2006-08-17 Jackson Harper <[email protected]>
  15241. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  15242. 2006-08-17 Mike Kestner <[email protected]>
  15243. * ComboBox.cs : don't do mouseover selection in simple mode.
  15244. 2006-08-16 Jackson Harper <[email protected]>
  15245. * Form.cs: Fire the closing events for all the mdi child windows
  15246. when a window is closed. If the cancel args are set to true, the
  15247. main window still gets the event fired, but it doesn't not close.
  15248. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  15249. handler, instead of when the button is clicked, so cancelling the
  15250. close works correctly.
  15251. * ComboBox.cs: Send the mouse down to the scrollbar.
  15252. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  15253. * ListBox.cs: When passing 'null' to SelectedItem,
  15254. set SelectedIndex to -1, to unselect items. This is the
  15255. observed behaviour in .Net.
  15256. 2006-08-16 Peter Dennis Bartok <[email protected]>
  15257. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  15258. MS flags saying there won't be any. (fixes #78800)
  15259. * Control.cs (HandleClick): Made virtual
  15260. 2006-08-16 Atsushi Enomoto <[email protected]>
  15261. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  15262. cultures. Fixed bug #78399.
  15263. 2006-08-16 Jackson Harper <[email protected]>
  15264. * Form.cs: Use the MdiClients MdiChildren property to access
  15265. MdiChildren instead of creating the array from the child controls.
  15266. * MdiClient.cs: Maintain a separate array of the mdi children, so
  15267. that insertion order is maintained when the Z-order is changed.
  15268. 2006-08-16 Mike Kestner <[email protected]>
  15269. * ListView.cs : add an ItemComparer and default to it for sorting.
  15270. Fixes #79076, but sorting needs a complete overhaul to be compat with
  15271. MS.
  15272. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15273. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  15274. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15275. * Hwnd.cs (Mapped): Properly traverse the tree
  15276. 2006-08-15 Chris Toshok <[email protected]>
  15277. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  15278. pass manager.Current.GetType() to ParseData. It has to be the
  15279. property type. So, hold off doing the ParseData until we're in
  15280. SetPropertyValue where we know the type. This fixes the crash in
  15281. #78821 but the textbox is still empty.
  15282. 2006-08-15 Chris Toshok <[email protected]>
  15283. * DataGrid.cs:
  15284. - when we're scrolling, only call Edit() again if the
  15285. current cell is still unobscured. Fixes bug #78927.
  15286. - when handling mousedown on a cell, ensure the cell is visible
  15287. before calling Edit.
  15288. - remove the properties from DataGridRow, and remove the
  15289. DataGridParentRow class altogether.
  15290. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15291. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  15292. fire OnTextChanged by ourselves. There's no point calling base,
  15293. we don't set the base value anywhere else. Fixes #78773.
  15294. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  15295. * ListBox.cs: Call CollectionChanged when modifying
  15296. an item from Items indexer, to update the actual items
  15297. in the list box.
  15298. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  15299. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  15300. to match .Net behaviour.
  15301. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15302. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  15303. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15304. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  15305. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15306. * MessageBox.cs: Prevent potential NRE exception.
  15307. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  15308. 2006-08-14 Peter Dennis Bartok <[email protected]>
  15309. * MessageBox.cs: Calculate the owner of a messagebox, also make
  15310. it topmost. Fixes #78753
  15311. 2006-08-14 Chris Toshok <[email protected]>
  15312. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  15313. programmatically move windows. first, set the PPosition hint as
  15314. well as the USPosition hint. Second include some code from pdb
  15315. that sets the window type to NORMAL when we set the transient for
  15316. hint. This is because, in the absence of a window type, metacity
  15317. thinks any window with TransientFor set is a dialog, and refuses
  15318. to let us move it programmatically. fascists.
  15319. 2006-08-14 Peter Dennis Bartok <[email protected]>
  15320. * XplatUIX11.cs: When setting normal hints, take into consideration
  15321. an different hints previously set so we don't delete them (fixes #78866)
  15322. 2006-08-12 Chris Toshok <[email protected]>
  15323. * ToolBarButton.cs: make Layout return a boolean, if something to
  15324. do with the button's layout changed.
  15325. * ToolBar.cs:
  15326. - add another parameter to Redraw, @force, which all existing
  15327. calls set to true.
  15328. - make the Layout function return a boolean which is true if the
  15329. layout has actually changed. Redraw now uses this (and @force)
  15330. to determine when to invalidate. At present the only place
  15331. where @force can be false is the call from OnResize, when
  15332. background_image == null. So, resizing a toolbar when the
  15333. layout doesn't change results in no drawing.
  15334. 2006-08-12 Chris Toshok <[email protected]>
  15335. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  15336. the VScrollBar and HScrollbar reversed. oops.
  15337. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  15338. scrollbars. we were assigning them twice (once in
  15339. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  15340. therefore causing two scrollbar resizes (and redraws?) to happen
  15341. per grid resize.
  15342. 2006-08-12 Chris Toshok <[email protected]>
  15343. * ToolBarButton.cs: redraw the entire button if the theme tells us
  15344. to.
  15345. * Theme.cs: add ToolBarInvalidateEntireButton.
  15346. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  15347. buttons, just the border.
  15348. * ThemeNice.cs: redraw the entire toolbar button since we need to
  15349. draw the highlight image.
  15350. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  15351. we need to redraw the entire button (not just the border).
  15352. 2006-08-11 Peter Dennis Bartok <[email protected]>
  15353. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  15354. for vertical bars. Fixes the mismatches shown by #78513
  15355. 2006-08-11 Alexander Olk <[email protected]>
  15356. * FileDialog.cs: If a saved/remembered path doesn't exist
  15357. anymore, fall back to "Desktop".
  15358. 2006-08-11 Peter Dennis Bartok <[email protected]>
  15359. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  15360. parent. It's apparently legal to not have one
  15361. * XplatUIX11.cs:
  15362. - SetZOrder: Don't try to set Z-Order on an unmapped window
  15363. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  15364. it unless the coordinates are negative
  15365. 2006-08-10 Mike Kestner <[email protected]>
  15366. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  15367. when setting to null per msdn docs. Fixes #78854.
  15368. 2006-08-10 Chris Toshok <[email protected]>
  15369. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  15370. flickering by setting a clip rectangle on the Graphics when we
  15371. need to redraw just a particular menuitem. Also, rename "OnClick"
  15372. to "OnMouseDown" to reflect what it actually is.
  15373. * Form.cs: track the OnMouseDown change.
  15374. 2006-08-10 Peter Dennis Bartok <[email protected]>
  15375. * CommonDialog.cs: Properly inherit the CreateParams from the form
  15376. and only change what we need. Fixes #78865
  15377. 2006-08-10 Chris Toshok <[email protected]>
  15378. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  15379. flickering in flat mode (and most of the flickering in general) by
  15380. only invalidating the button border (and not the entire rectangle)
  15381. when the state changes. A couple of cases still flicker:
  15382. ToggleButtons, and the dropdown arrow case when the user mouse
  15383. ups.
  15384. 2006-08-10 Alexander Olk <[email protected]>
  15385. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  15386. for german keyboards. Numlock state shouldn't affect the behaviour
  15387. of the Del key. Fixes bug #78291.
  15388. 2006-08-10 Chris Toshok <[email protected]>
  15389. * ListControl.cs: remove the items.Clear line from BindDataItems,
  15390. as this is the first thing done by both subclasses in their
  15391. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  15392. passed -1, refresh the list. This gets databinding working when
  15393. the datasource is set on the list before the datasource is
  15394. populated (as in wf-apps/ReportBuilder.)
  15395. * ComboBox.cs: remove the argument to BindDataItems. This call
  15396. should really go away, and be initiated by the ListControl code.
  15397. * ListBox.cs: same.
  15398. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15399. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  15400. if no data is in the document when the control is displayed
  15401. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15402. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  15403. yes (fixes #78806)
  15404. * TextControl.cs:
  15405. - PositionCaret: Allow positioning of caret but don't call methods
  15406. requiring a handle if the window isn't created yet
  15407. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  15408. - owner_HandleCreated: Don't position the caret, just update it's
  15409. location. User might have already set a different position
  15410. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15411. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  15412. windows. Screws up the returned coordinates for child windows.
  15413. Fixes #78825. I'm hoping this doesn't break something, since the
  15414. code was explicitly put in 8 months ago, but no bug was attached.
  15415. Menus still seem to work properly.
  15416. 2006-08-08 Chris Toshok <[email protected]>
  15417. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  15418. supposed to do - delay data binding until the EndInit call. Also,
  15419. make the table style collection's CollectionChangeAction.Refresh
  15420. work properly.
  15421. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  15422. (with action = Refresh) when a consituent table's MappingName is
  15423. changed.
  15424. 2006-08-08 Chris Toshok <[email protected]>
  15425. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  15426. Invalidate, since changing the text can change the size of the all
  15427. toolbar buttons.
  15428. 2006-08-08 Peter Dennis Bartok <[email protected]>
  15429. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  15430. we don't have it yet
  15431. 2006-08-08 Chris Toshok <[email protected]>
  15432. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  15433. dialog, as this causes X errors later on, since we actually
  15434. destroy the window. Instead, .Hide() it.
  15435. 2006-08-08 Peter Dennis Bartok <[email protected]>
  15436. * ComboBox.cs: Added focus reflection for popup window
  15437. * XplatUIX11.cs:
  15438. - Removed transient setting for non-app windows for now, not sure it
  15439. was needed
  15440. - Fixed logic checking if we have captions when deciding
  15441. override_redirect, WS_CAPTION is two bits and a 0 check was not
  15442. sufficient
  15443. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  15444. complicated
  15445. * Form.cs:
  15446. - AddOwnedForm: Don't just add the form to the list, call the property
  15447. to ensure the driver is informed about the ownership as well
  15448. - CreateHandle: Set the TopMost status in the driver if we have an owner
  15449. * XplatUI.cs: Fixed debug statement
  15450. 2006-08-08 Jonathan Pobst <[email protected]>
  15451. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  15452. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  15453. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  15454. TrackBarRenderer.cs: Make constructor private.
  15455. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  15456. * ProfessionalColorTable.cs: Make properties virtual.
  15457. 2006-08-06 Duncan Mak <[email protected]>
  15458. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  15459. is not changing.
  15460. 2006-08-04 Jonathan Pobst <[email protected]>
  15461. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  15462. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  15463. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  15464. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  15465. Initial import of new 2.0 classes.
  15466. 2006-08-04 Jonathan Pobst <[email protected]>
  15467. * Application.cs: Add 2.0 VisualStyles properties.
  15468. 2006-08-04 Jonathan Pobst <[email protected]>
  15469. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15470. XplatUIX11.cs: Create property to allow access to existing private
  15471. variable "themes_enabled"
  15472. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  15473. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  15474. file size, as otherwise our class libraries fail using windows. Fixes
  15475. bug #78759.
  15476. 2006-08-04 Jackson Harper <[email protected]>
  15477. * Form.cs:
  15478. * XplatUIX11.cs: Move the toolwindow window manager creation into
  15479. the X11 driver, this way on win32 we can let windows create/handle
  15480. the toolwindows.
  15481. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  15482. * PrintDialog.cs: Remove some redundant checks, add some others,
  15483. clean some code, and move the focus to the text boxes when the
  15484. values are incorrect.
  15485. 2006-08-04 Alexander Olk <[email protected]>
  15486. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  15487. 2006-08-03 Alexander Olk <[email protected]>
  15488. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  15489. handled correctly. Fixes bug #79001.
  15490. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  15491. * PrintDialog.cs: The "Copies" numeric up down must have
  15492. set the Minimum property to 1; only if the value is bigger
  15493. than 1, activate "Collate" check box. This is the behaviour of .Net.
  15494. Also modify the Document elements only if it is not null.
  15495. 2006-08-03 Jackson Harper <[email protected]>
  15496. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  15497. length. (We have a larger array then actual node count).
  15498. 2006-08-03 Jackson Harper <[email protected]>
  15499. * ComboBox.cs: Don't show selection by default.
  15500. - The SelectAll isn't needed here, since the focus code should do
  15501. that
  15502. - DDL style lists to manual selection drawing, so when they
  15503. get/lose focus they have to invalidate.
  15504. 2006-08-03 Peter Dennis Bartok <[email protected]>
  15505. * TextBoxBase.cs: Don't always show all selections by default.
  15506. 2006-08-03 Jonathan Pobst <[email protected]>
  15507. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  15508. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  15509. Fixed various typos.
  15510. 2006-08-03 Alexander Olk <[email protected]>
  15511. * Control.cs: Removing the controls in a ControlCollection with
  15512. Clear now hides the controls as expected. Fixes bug #78804.
  15513. 2006-08-03 Jackson Harper <[email protected]>
  15514. * Control.cs: Revert previous focus patch, it breaks reflector.
  15515. 2006-08-03 Jackson Harper <[email protected]>
  15516. * ComboBox.cs: Cleanup selection and focus with the combobox.
  15517. This also eliminates some duplicated keyboard code, since now
  15518. everything is handled by the main class.
  15519. - Make list selection work on mouse up instead of down, to match
  15520. MS.
  15521. 2006-08-02 Jackson Harper <[email protected]>
  15522. * Control.cs: Setting focus needs to go through the whole
  15523. selection mechanism.
  15524. 2006-08-02 Chris Toshok <[email protected]>
  15525. * PrintPreviewDialog.cs: change MinimumSize to use
  15526. base.MinimumSize so it works.
  15527. 2006-08-02 Peter Dennis Bartok <[email protected]>
  15528. * TextControl.cs:
  15529. - UpdateCaret: Added sanity check in case caret isn't defined yet
  15530. - Line.Delete: Now updating selection and caret markers if we're
  15531. transfering a node (Properly fixes #78323)
  15532. - SetSelectionEnd: Added sanity check
  15533. * TextBoxBase.cs: Removed broken attempt to fix #78323
  15534. 2006-08-01 Chris Toshok <[email protected]>
  15535. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  15536. Close() call is handled in Form, not here.
  15537. 2006-08-01 Chris Toshok <[email protected]>
  15538. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  15539. layout/rendering.
  15540. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  15541. for sizes < 100% zoom. The code now aggressively attempts to keep
  15542. from calling document.Print (), and tries not to use the scaling
  15543. g.DrawImage whenever possible (it still does if you scale to >
  15544. 100%, since usually that involves huge images).
  15545. * PrintPreviewControl.cs: hook up the close button.
  15546. 2006-08-01 Jonathan Pobst <[email protected]>
  15547. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  15548. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  15549. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  15550. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  15551. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  15552. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  15553. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  15554. Removed [Serializable] for 2.0 Event Handlers.
  15555. 2006-07-31 Jackson Harper <[email protected]>
  15556. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  15557. * TextControl.cs: Uncomment out the body of this method.
  15558. 2006-07-31 Alexander Olk <[email protected]>
  15559. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  15560. standard cursors.
  15561. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15562. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  15563. that embed TextBox and need selections visible even if textbox is not
  15564. focused to enforce that behaviour.
  15565. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  15566. selection drawing
  15567. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15568. * TextControl.cs:
  15569. - Added new SetSelectionStart/SetSelectionEnd overloads
  15570. - Fixed viewport width assignment to be accurate
  15571. - Adjusted alignment line shift calculations to allow cursor on right
  15572. aligned lines to be always visible at the right border (like MS)
  15573. * TextBoxBase.cs:
  15574. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  15575. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  15576. - CalculateScrollBars: Use ViewPort size instead of window size, to
  15577. properly consider space occupied by the border and scrollbars
  15578. (Fixes #78661)
  15579. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  15580. calculations; no longer leaves artifacts
  15581. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  15582. calculation bugs (Still missing right/center align calculations)
  15583. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15584. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  15585. use of both scroll rect and clip rect, as they do the same.
  15586. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15587. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  15588. in the event handler (fixes #78912)
  15589. 2006-07-31 Chris Toshok <[email protected]>
  15590. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  15591. grid.ListManager.Count, since grid.ListManager might be null.
  15592. This of course begs the question "why are we drawing rows for a
  15593. grid with no list manager (and therefor no rows)?" Fixes the
  15594. crash in bug #78929.
  15595. 2006-07-31 Chris Toshok <[email protected]>
  15596. * RelatedPropertyManager.cs: Don't always chain up to the parent
  15597. ctor. instead, call SetDataSource if the parent's position is !=
  15598. -1. Fixes the crash in #78822.
  15599. 2006-07-31 Chris Toshok <[email protected]>
  15600. * DataGrid.cs (get_ListManager): use field instead of property
  15601. accessors for datasource and datamember.
  15602. (RowsCount): make internal again.
  15603. (OnMouseDown): end edits before resizing columns/rows.
  15604. (OnMouseUp): restart edits after resizing columns/rows.
  15605. 2006-07-30 Peter Dennis Bartok <[email protected]>
  15606. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  15607. This fixes the situation where the last set cursor is displayed
  15608. whenever the mouse is over scrollbars.
  15609. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  15610. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  15611. Document properties, as well as initial values.
  15612. 2006-07-29 Peter Dennis Bartok <[email protected]>
  15613. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  15614. and ClientEdge results in a 3-pixel border, which is
  15615. wrong.
  15616. 2006-07-28 Jackson Harper <[email protected]>
  15617. * TreeNodeCollection.cs: Fix the clear method.
  15618. - Fix the Shrink also
  15619. 2006-07-27 Jackson Harper <[email protected]>
  15620. * TreeView.cs: Make sure the visible order is computed when we
  15621. attempt to size the scrollbars (for trees that mess with the
  15622. scrolling when they shouldn't.
  15623. - Make sure to give the scrollbars valid values.
  15624. 2006-07-26 Peter Dennis Bartok <[email protected]>
  15625. * XplatUIX11.cs: Move motion compression code to where it
  15626. has less performance impact
  15627. 2006-07-26 Jackson Harper <[email protected]>
  15628. * UpDownBase.cs: When the control is selected make the child
  15629. controls non selectable, so that a click on them won't do a
  15630. focus/unfocus cycle.
  15631. - Don't give focus to the text box when the spinner is selected.
  15632. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  15633. 2006-07-26 Chris Toshok <[email protected]>
  15634. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  15635. satisfied with this solution. If the bitmaps are small, we should
  15636. just cache them in the PrintPreviewDialog and draw them here.
  15637. Also, the layout is broken for the 2-up and 3-up cases.
  15638. * Theme.cs: add PrintPReviewControlPaint.
  15639. * PrintPreviewDialog.cs: first pass implementation.
  15640. * PrintPreviewControl.cs: first pass implementation. No
  15641. scrollbars yet.
  15642. * PrintDialog.cs: only validate fields if that particular portion
  15643. of the UI is enabled. Also, set the document's controller to a
  15644. PrintControllerWithStatusDialog wrapping the document's print
  15645. controller.
  15646. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  15647. bring up a SaveFileDialog (i hope we don't want to match the
  15648. behavior of the crappy windows file entry) and set the
  15649. PrinterSettings.PrintFileName accordingly.
  15650. 2006-07-26 Jackson Harper <[email protected]>
  15651. * ContainerControl.cs: Add a field that disables auto selecting
  15652. the next control in a container when the container is activated.
  15653. * UpDownBase.cs: Don't select the text box when the up down is
  15654. selected.
  15655. 2006-07-26 Peter Dennis Bartok <[email protected]>
  15656. * XEventQueue.cs: Added methods for peeking (used for compression
  15657. of successive events)
  15658. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  15659. mouse move events (fixes #78732)
  15660. 2006-07-25 Jackson Harper <[email protected]>
  15661. * UpDownBase.cs: Use an internal class for the textbox so that we
  15662. can control focus. the updown control should always have focus,
  15663. if either the text area or the buttons are clicked.
  15664. - Send the key messages to the textbox, since it never actually
  15665. has focus
  15666. - Activate and decativate the textbox caret.
  15667. 2006-07-24 Jackson Harper <[email protected]>
  15668. * Control.cs: Use the directed select when selecting a control,
  15669. this way the container controls override will get called and the
  15670. whole ActiveControl chain will get triggered. TODO: probably need
  15671. to make sure this gets done everywhere instead of the old
  15672. Select(Control).
  15673. * ContainerControl.cs: Implement the directed Select method to
  15674. find and activate the correct child control.
  15675. 2006-07-22 Mike Kestner <[email protected]>
  15676. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  15677. menu handling code so that clicks without a grab work too.
  15678. [Fixes #78914]
  15679. 2006-07-22 Alexander Olk <[email protected]>
  15680. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  15681. Added some small optimizations.
  15682. 2006-07-21 Matt Hargett <[email protected]>
  15683. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  15684. 2006-07-21 Peter Dennis Bartok <[email protected]>
  15685. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  15686. tests pass and match MS in some strange border cases.
  15687. 2006-07-21 Chris Toshok <[email protected]>
  15688. * ThemeWin32Classic.cs: handle drawing of the relation links and
  15689. parent row buttons.
  15690. * Theme.cs: change args to DataGridPaintParentRow.
  15691. * DataGrid.cs: Don't use controls for the relation links and
  15692. parent buttons, so we have to handle all their interactions in
  15693. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  15694. when we're navigating through child tables, so we can reinstate
  15695. selection, expanded state, current cell, etc.
  15696. 2006-07-20 Chris Toshok <[email protected]>
  15697. * ToolBar.cs: When we redraw a button, for whatever reason,
  15698. there's no reason to redraw the entire toolbar. Also, don't call
  15699. Control.Refresh from within Redraw, as it's much heavier than
  15700. Invalidate (which is really what we want).
  15701. 2006-07-20 Chris Toshok <[email protected]>
  15702. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  15703. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  15704. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  15705. traces from within a debug IBindingList datasource
  15706. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  15707. to work in a similar fashion.
  15708. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  15709. * ListBox.cs: Don't call Sort () when setting
  15710. the Sorted property to false (avoid an unnecessary sort).
  15711. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  15712. * ListControl.cs: DataSource should throw an ArgumentException
  15713. instead of a normal exception when the argument is not of the
  15714. correct type.
  15715. 2006-07-20 Mike Kestner <[email protected]>
  15716. * Control.cs: add InternalPreProcessMessage to allow us to steal
  15717. key events before MWF gets its paws on them. Adapted from a
  15718. suggestion by eno.
  15719. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  15720. up/down/left/right navigation. Override the new internal control
  15721. method to steal the events since they never make it to WndProc.
  15722. * ToolBarButton.cs: don't worry about pushed when setting hilight
  15723. since the drawing code prefers pushed to hilight. Invalidate on
  15724. Hilight changes. Fixes #78547 and #78525.
  15725. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15726. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  15727. the canvas size. Fixes #78868
  15728. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15729. * Splitter.cs: Track requested split position until first layout
  15730. is performed. Fixes #78871
  15731. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15732. * Application.cs: Removed code that forces 1.x for the version
  15733. number if the version started with 0. Not sure why that code was
  15734. there and I couldn't find any bugs that indicated we needed it.
  15735. Fixes #78869
  15736. 2006-07-20 Alexander Olk <[email protected]>
  15737. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  15738. ResetDefaults(), just write some output to the console until it's
  15739. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  15740. 2006-07-19 Jonathan Chambers <[email protected]>
  15741. * PropertyGridView.cs: set StartPosition of drop down forms
  15742. so they appear in correct initial spot. Fixes #78190.
  15743. 2006-07-19 Mike Kestner <[email protected]>
  15744. * ThemeWin32Classic.cs: use parent background color when drawing
  15745. flat toolbars. Restructure the conditionals to make sure non-flat
  15746. non-Divider toolbars are filled too. Fixes #78837.
  15747. 2006-07-19 Mike Kestner <[email protected]>
  15748. * ListBox.cs: Sort on collection changes even if the handle
  15749. isn't created yet. Fixes #78813.
  15750. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  15751. * ListControl.cs: DisplayMember should never be null,
  15752. and now we assign String.Empty when null is passed to it (this
  15753. is the .Net way).
  15754. 2006-07-17 Mike Kestner <[email protected]>
  15755. * ListViewItem.cs: restructure Font and subitem Font handling
  15756. to hold a specific font and refer back to owner on null.
  15757. Fixes #78761.
  15758. 2006-07-17 Mike Kestner <[email protected]>
  15759. * ToolBar.cs: bandaid for side-effect of previous patch which was
  15760. discarding explicit heights for non-AutoSize toolbars. Need to
  15761. extend my format tester to deal with AutoSize=false. Fixes #78864.
  15762. 2006-07-15 Jackson Harper <[email protected]>
  15763. * LabelEditTextBox.cs:
  15764. * TreeView.cs: Use a new LabelEdit class for node editing, this
  15765. class automatically 'closes' itself when it gets the enter key or
  15766. loses focus.
  15767. - Use the client rectangle when setting the trees scrollbars, so
  15768. border style is taken into account.
  15769. 2006-07-14 Jackson Harper <[email protected]>
  15770. * TreeNode.cs:
  15771. * TreeView.cs: Make the editing work similar to MSs, firing the
  15772. events correctly and ending edits correctly.
  15773. 2006-07-14 Mike Kestner <[email protected]>
  15774. * ToolBarButton.cs:
  15775. * ToolBar.cs: layout restructuring and redraw enhancements to support
  15776. formatting changes gracefully, like setting TextAlign, ImageList,
  15777. ButtonSize, and Appearance. Handles explicit button sizing quirks
  15778. of the MS controls. Things like flat toolbars ignoring button size
  15779. but becoming constant sized at the largest button's size. Normal
  15780. toolbars with an image set cannot be shrunk smaller than the image,
  15781. but text can be clipped/ignored.
  15782. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  15783. is zero. Seems like DrawString should be smart enough to not put
  15784. anything on screen though. Also trim labels and ellipsize at the char
  15785. boundary, not word.
  15786. Fixes #78711 and #78483.
  15787. 2006-07-14 Alexander Olk <[email protected]>
  15788. * FolderBrowserDialog.cs: Disable "New Folder" button and
  15789. "New Folder" contextmenu menuitem if a folder like "My Computer"
  15790. is selected.
  15791. 2006-07-14 Alexander Olk <[email protected]>
  15792. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  15793. * FolderBrowserDialog.cs:
  15794. - Use MWFConfig to store and read size and position settings
  15795. - Added code to create a new folder (button or context menu).
  15796. Use TreeView labeledit to change the name of the new folder.
  15797. 2006-07-14 Jackson Harper <[email protected]>
  15798. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  15799. when the tree is scrolled we end editing.
  15800. 2006-07-14 Alexander Olk <[email protected]>
  15801. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  15802. Down arrows
  15803. 2006-07-14 Jonathan Pobst <[email protected]>
  15804. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  15805. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  15806. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  15807. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  15808. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  15809. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  15810. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  15811. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  15812. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  15813. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  15814. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  15815. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  15816. ListViewItemSelectionChangedEventHandler.cs,
  15817. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  15818. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  15819. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  15820. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  15821. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  15822. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  15823. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  15824. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  15825. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  15826. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  15827. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  15828. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  15829. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  15830. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  15831. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  15832. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  15833. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  15834. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  15835. WebBrowserNavigatingEventHandler.cs,
  15836. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  15837. 2006-07-14 Jonathan Pobst <[email protected]>
  15838. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  15839. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  15840. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  15841. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  15842. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  15843. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  15844. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  15845. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  15846. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  15847. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  15848. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  15849. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  15850. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  15851. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  15852. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  15853. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  15854. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  15855. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  15856. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  15857. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  15858. ListViewItemStates.cs, MaskFormat.cs: Added
  15859. 2006-07-13 Jonathan Chambers <[email protected]>
  15860. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  15861. Patch from eno for bug 78558.
  15862. 2006-07-13 Jackson Harper <[email protected]>
  15863. * TreeView.cs: When an edit is finished make sure that the
  15864. selected node is visible.
  15865. - When setting the top/bottom use the scrollbars is_visible, so
  15866. everything will be set correctly even if the tree isn't visible
  15867. yet.
  15868. 2006-07-13 Jackson Harper <[email protected]>
  15869. * ComboBox.cs: Revert the item->index part of my previous patch.
  15870. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  15871. the edit box has lost focus (duh).
  15872. - Just make the edit box not visible when we get return, that will
  15873. take the focus, which will call EndEdit
  15874. * TreeNode.cs When we start editing, notify the treeview.
  15875. 2006-07-12 Jackson Harper <[email protected]>
  15876. * ComboBox.cs: Clear out old items before setting the item list.
  15877. This prevents databound controls from having their items added
  15878. twice.
  15879. - Switch the combobox to use indices whereever possible instead of
  15880. using Item's. This allows usto navigate through lists that have
  15881. more then one item with the same string value (ie a, b, b, a).
  15882. - Scroll the listboxes scrollbar when a non visible item is
  15883. highlighted
  15884. - Allow keypress to cycle through all the possible values. For
  15885. example if you have b1, b2, b3 and hold down the B key all the
  15886. values will be cycled through.
  15887. 2006-07-12 Jackson Harper <[email protected]>
  15888. * TextBoxBase.cs:
  15889. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  15890. this using the internal methods.
  15891. * Control.cs: Add OnGotFocusInternal. A new method that allows
  15892. controls to "override" OnGotFocus and change focus behavior if
  15893. needed.
  15894. - Same thing for LostFocus
  15895. * ComboBox.cs: Pass off focus to the text control properly.
  15896. 2006-07-12 Alexander Olk <[email protected]>
  15897. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  15898. * FolderBrowserDialog.cs: Almost a complete rewrite.
  15899. - Better support for Environment.Specialfolders
  15900. - Added support for MWFVFS
  15901. - Made setting SelectedPath work
  15902. 2006-07-12 Jackson Harper <[email protected]>
  15903. * Control.cs: Optimze getting all the controls.
  15904. 2006-07-11 Jackson Harper <[email protected]>
  15905. * ContainerControl.cs: Override SETFOCUS in the container control,
  15906. so that it is not selected on mouse click.
  15907. 2006-07-11 Peter Dennis Bartok <[email protected]>
  15908. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  15909. Hopefully we will have a better way once all of focus is complete.
  15910. 2006-07-11 Peter Dennis Bartok <[email protected]>
  15911. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  15912. a compile error with csc.
  15913. 2006-07-11 Jackson Harper <[email protected]>
  15914. * Control.cs: When hiding a control only select the next control
  15915. if the current control was focused.
  15916. - Don't handle enter/leave when setting/killing focus, this is
  15917. done by the container control.
  15918. - Remove is_selected, it's not needed anymore.
  15919. - Add utility methods for selecting a child control, and for
  15920. firing the Enter/Leave events.
  15921. * ContainerControl.cs: When a control is activated fire the
  15922. enter/leave events.
  15923. - Don't wrap when processing the tab key, so that focus can be
  15924. moved outside of the container.
  15925. - Use the correct active control
  15926. 2006-07-11 Jackson Harper <[email protected]>
  15927. * ComboBox.cs: Remove some debug code that was blinding me.
  15928. * UpDownBase.cs: These controls actually aren't implicit, they are
  15929. visible to the user.
  15930. 2006-07-10 Chris Toshok <[email protected]>
  15931. * DataGrid.cs: move back to the is_adding boolean field. god i
  15932. hate this is_editing/is_adding/is_changing stuff.
  15933. 2006-07-10 Chris Toshok <[email protected]>
  15934. * DataGridTableStyle.cs: just check if the property type is bool.
  15935. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  15936. Don't use CanRenderType.
  15937. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  15938. if our text == NullText. Remove CanRenderType.
  15939. * DataGridBoolColumn.cs: nuke CanRenderType.
  15940. * DataGrid.cs: reenable some code to end the current edit inside
  15941. of set_CurrentCell. This fixes the other 1.1.16 regression.
  15942. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  15943. Also, remove the visible_row_count arg from CalcRowHeaders, since
  15944. we don't need to worry about the actual height of the area.
  15945. 2006-07-10 Chris Toshok <[email protected]>
  15946. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  15947. mode, just return.
  15948. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  15949. the real sense of the IsInEditOrNavigateMode property (true =
  15950. navigate, false = edit). Also, update OnKeyPress to reflect this.
  15951. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  15952. column style exists, we still need to set its property descriptor
  15953. to match up with our list manager.
  15954. 2006-07-10 Chris Toshok <[email protected]>
  15955. * ThemeWin32Classic.cs: implement the new row/header painting
  15956. approach. The parent row painting will likely go away and
  15957. replaced with label controls, but the rest seems to work ok (and
  15958. efficiently).
  15959. * Theme.cs: change the way we draw datagrid rows. we don't draw
  15960. the row headers as a block now. Instead we draw them in the
  15961. normal draw-row loop. Add some calls for drawing parent rows and
  15962. relation rows.
  15963. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  15964. a default table style. Set the defaults from ThemeEngine.Current,
  15965. not SystemColors. Fix lots of misc issues with property setters.
  15966. * DataGrid.cs: move loads of style information out of this class
  15967. as it's being duplicated with DataGridTableStyle. keep track of a
  15968. special DataGridTableStyle for the properties we used to mirror
  15969. here. Switch all the style properties to access this table style
  15970. instead of instance fields of this class. Also add a internal
  15971. class to represent parent rows (more needs to be stored here, like
  15972. the selection state from the parent table, as well as the
  15973. expansion state.) Also, for datasources with relations, do the
  15974. right thing for collapse/expand, and add support for the
  15975. navigation/parent row buttons.
  15976. Lastly, fix the crash in the 1.1.16 build.
  15977. * GridTableStylesCollection.cs: make the explicit interface
  15978. implementations call the class's methods as opposed to duplicating
  15979. them.
  15980. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  15981. 0 so the text doesn't jump around when we move the cursor.
  15982. 2006-07-10 Jackson Harper <[email protected]>
  15983. * TextBoxBase.cs:
  15984. * ListBox.cs: Match MS's ToString (this makes debugging focus
  15985. stuff infinitely easier).
  15986. 2006-07-10 Jackson Harper <[email protected]>
  15987. * Control.cs (SelectNextControl): When checking the control's
  15988. parent use this instead of ctrl.parent so that null can be passed
  15989. to SelectNextControl. (I have unit tests for this).
  15990. - Remove unused var.
  15991. 2006-07-10 Chris Toshok <[email protected]>
  15992. * CurrencyManager.cs: correct one regression, the removal of the
  15993. finalType field. Also, add a MonoTODO on CanAddRows, implement
  15994. Refresh() correctly, and fix some event emission in
  15995. ListChangedHandler.
  15996. 2006-07-07 Alexander Olk <[email protected]>
  15997. * FileDialog.cs: Don't use brackets for new folders if they exist
  15998. under *nix. Instead use -(number of existing folders +1).
  15999. 2006-07-07 Alexander Olk <[email protected]>
  16000. * FileDialog.cs:
  16001. - Fixed really nasty bug #78771
  16002. - Don't block the whole GUI when reading directories with a lot of
  16003. entries. Use an other thread instead and call BeginInvoke to
  16004. update the ListView in MWFFileView
  16005. 2006-07-07 Chris Toshok <[email protected]>
  16006. * Control.cs (Dispose): release any Capture when disposing.
  16007. 2006-07-07 Chris Toshok <[email protected]>
  16008. * LinkLabel.cs (Select): if we chain up to the parent, set
  16009. focused_index to -1 so we'll search for the first available link
  16010. the next time the user tabs into us. Also, if the direction is
  16011. backward and focused_index == -1, start the search from the last
  16012. element.
  16013. 2006-07-07 Chris Toshok <[email protected]>
  16014. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  16015. is beyond the end of the text, don't do anything.
  16016. (CreateLinkPieces): set our ControlStyles.Selectable based on
  16017. whether or not we have any links.
  16018. (Link.Invalidate): use a loop instead of foreach.
  16019. (Link.set_Start): null out owner.sorted_links so it'll be
  16020. recreated by CreateLinkPieces.
  16021. 2006-07-06 Chris Toshok <[email protected]>
  16022. * LinkLabel.cs: revert the SetStyle change.
  16023. 2006-07-06 Chris Toshok <[email protected]>
  16024. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  16025. (OnEnableChanged): s/Refresh/Invalidate
  16026. (OnGotFocus): if we have a focused index already, refocus it (so
  16027. if we mouse out/in to the window it'll focus the right link).
  16028. (OnKeyDown): move the tab handling out of here.
  16029. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  16030. when we lose focus.
  16031. (OnMouseDown): don't Capture here - Control handles it. Also,
  16032. focus the active link.
  16033. (OnMouseUp): don't deal with Capture.
  16034. (OnPaintBackgroundInternal): remove.
  16035. (OnTextAlignChanged): CreateLinkPieces before calling the
  16036. superclass's method.
  16037. (OnTextChanged): call CreateLinkPieces before calling superclass's
  16038. method.
  16039. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  16040. move around.
  16041. (Select): implement this, moving the selection between different
  16042. links, and call parent.SelectNextControl if we don't have another
  16043. link to focus in the given direction.
  16044. (CreateLinkPieces): call Invalidate instead of Refresh.
  16045. 2006-07-06 Chris Toshok <[email protected]>
  16046. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  16047. new LinkLabel internals.
  16048. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  16049. over pieces looking for active/focused/etc links. also, deal with
  16050. runs of text (and links) with embedded \n's in them, and use
  16051. MeasureCharacterRanges instead of MeasureString to figure out the
  16052. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  16053. two-step.
  16054. 2006-07-04 Jackson Harper <[email protected]>
  16055. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  16056. XKB or key auto repeat, do it manually. Without key auto repeat,
  16057. when a key is held down we get key press, key release, key press,
  16058. key release, ... with auto repeat we get key press, key press, key
  16059. press ..., and then a release when the key is actually released.
  16060. 2006-07-03 Jackson Harper <[email protected]>
  16061. * TabControl.cs:
  16062. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  16063. rules, they are always control color regardless of the background
  16064. color.
  16065. 2006-07-02 Alexander Olk <[email protected]>
  16066. * FileDialog.cs: Added internal class MWFConfig.
  16067. Removed Registry support and replaced it with support for the new
  16068. MWFConfig class. See MWFConfig comments for more information.
  16069. 2006-06-30 Alexander Olk <[email protected]>
  16070. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  16071. rectangle. Added some patches from eno from bug #78490 and fixed
  16072. the arrow position for small up and down CPDrawScrollButtons.
  16073. 2006-06-30 Jackson Harper <[email protected]>
  16074. * InternalWindowManager.cs: Remove some debug code.
  16075. * Form.cs: When an MdiParent is set to null, the window is
  16076. "detatched" and becomes a normal window.
  16077. * MdiClient.cs: Don't bring the new child form to the front until
  16078. it is activated (setting it as active does this), this makes the
  16079. previously active forms titlebar get redrawn as inactive.
  16080. 2006-06-29 Peter Dennis Bartok <[email protected]>
  16081. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  16082. with later controls
  16083. 2006-06-29 Mike Kestner <[email protected]>
  16084. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  16085. arrow in keynav state. Fixes #78682.
  16086. 2006-06-28 Atsushi Enomoto <[email protected]>
  16087. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  16088. order (fixes #78393)
  16089. 2006-06-28 Jonathan Pobst <[email protected]>
  16090. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  16091. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  16092. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  16093. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  16094. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  16095. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  16096. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  16097. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  16098. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  16099. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  16100. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  16101. values)
  16102. 2006-06-28 Mike Kestner <[email protected]>
  16103. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  16104. 2006-06-28 Atsushi Enomoto <[email protected]>
  16105. * PropertyGrid.cs,
  16106. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  16107. item lines from other area (It also makes BackColor consistent and
  16108. compatible with .NET). Fixed bug #78564.
  16109. 2006-06-28 Jonathan Chambers <[email protected]>
  16110. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  16111. Patch from Eno for #78555.
  16112. 2006-06-27 Chris Toshok <[email protected]>
  16113. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  16114. * DataGridColumnStyle.cs: same.
  16115. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  16116. * DataGridDrawingLogic.cs: nuke.
  16117. 2006-06-27 Chris Toshok <[email protected]>
  16118. * DataGridTableStyle.cs: clean up the constructors, and build the
  16119. list of child relations for this table. I have no idea if this is
  16120. where we should be doing it (it probably isn't), but since we're
  16121. already iterating over the properties..
  16122. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  16123. struct and array for keeping track of row information, similar to
  16124. what's shown in a hack on
  16125. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  16126. * Theme.cs: be consistent about the naming of DataGrid methods,
  16127. prefering ColumnWidths and RowHeights over columnsWidths and
  16128. RowsHeights.
  16129. * ThemeWin32Classic.cs: same, and also add support for variable
  16130. sized rows (and the +/- expansion icons for related rows).
  16131. 2006-06-27 Peter Dennis Bartok <[email protected]>
  16132. * TextBoxBase.cs: Applied Eno's patch from #78660
  16133. 2006-06-27 Peter Dennis Bartok <[email protected]>
  16134. * Form.cs (ScaleCore): We don't want to scale our form if it's
  16135. state is minimized or maximized, but we still need to scale our
  16136. child windows. Also, added try/finally block to ensure layout
  16137. gets reset (Fixes #78697)
  16138. 2006-06-27 Peter Dennis Bartok <[email protected]>
  16139. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  16140. 2006-06-27 Peter Dennis Bartok <[email protected]>
  16141. * Form.cs: Fixed c+p error and added check to resize form if minimum
  16142. size is bigger than current size (Fixes #78709)
  16143. 2006-06-26 Peter Dennis Bartok <[email protected]>
  16144. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  16145. 2006-06-26 Mike Kestner <[email protected]>
  16146. * ComboBox.cs: only do Keypress handling in the combo when there
  16147. are items in the collection. Fixes #78710.
  16148. 2006-06-26 Chris Toshok <[email protected]>
  16149. * Binding.cs: make this work bi-directionally. also, clear up
  16150. other mixups between Push/Pull Data (e.g. we're supposed to pull
  16151. data when validating).
  16152. * BindingManagerBase.cs: trim some fully qualified collection
  16153. types.
  16154. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  16155. 2006-06-23 Chris Toshok <[email protected]>
  16156. * PropertyManager.cs: It appears (according to the unit tests)
  16157. that PropertyManager doesn't use
  16158. PropertyDescriptor.AddValueChanged to track propery value changes
  16159. in its datasource, but uses the same scheme as Binding, where it
  16160. looks for a <Property>Changed event and binds to it.
  16161. Also, according to the docs, IsSuspended always returns false for
  16162. a property manager with a non-null datasource.
  16163. 2006-06-22 Peter Dennis Bartok <[email protected]>
  16164. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  16165. need to update the actual DialogResult. (Fixes #78613)
  16166. 2006-06-22 Peter Dennis Bartok <[email protected]>
  16167. * Form.cs (ShowDialog): Release any captures before running the
  16168. new message pump (fixes #78680)
  16169. 2006-06-22 Mike Kestner <[email protected]>
  16170. * ListView.cs: Layout column widths properly in details mode even
  16171. if HeaderStyle.None is set. Fixes #78691.
  16172. 2006-06-21 Peter Dennis Bartok <[email protected]>
  16173. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  16174. 2006-06-21 Peter Dennis Bartok <[email protected]>
  16175. * Control.cs (ContainsFocus): Using new driver method to get focused
  16176. window, instead of trying to use internal tracking var, which can
  16177. recursion issues (Fixes #78685)
  16178. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  16179. XplatUIWin32.cs: Added GetFocus method to return focused window
  16180. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  16181. * ColorDialog.cs: when the mouse button is pressed inside the color
  16182. matrix, don't let the cursor move out of it until the button is
  16183. released, which is the behavior on windows. Changed 'colours' by
  16184. 'colors' to use the same word consistently.
  16185. 2006-06-21 Chris Toshok <[email protected]>
  16186. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  16187. child relation and back, using a stack). Also, remove
  16188. GetDataSource and the code that calls it - it's not needed. Also,
  16189. track CurrencyManager.ListName's removal.
  16190. 2006-06-21 Chris Toshok <[email protected]>
  16191. * CurrencyManager.cs: push some of the original type checking from
  16192. BindingContext.CreateBindingManager to here, and remove some of
  16193. the finalType stuff. Need more tests to make sure I've got the
  16194. ListName part right, and we might need more in SetDataSource.
  16195. * PropertyManager.cs: add a ctor that takes just the datasource,
  16196. and no property name. Make SetDataSource work with a null
  16197. property_name, and make Current return the data_source if the
  16198. property descriptor is null. this makes 'string foo = "hi";
  16199. BindingContext[foo].Current' return "hi" as it should.
  16200. * RelatedCurrencyManager.cs: make this code more generic - there's
  16201. no reason the parent manager has to be CurrencyManager, and
  16202. there's no reason to pass the DataRelation. It suffices to use a
  16203. BindingManagerBase and PropetyDescriptor.
  16204. * RelatedPropertyManager.cs: make a similar change here.
  16205. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  16206. flower I knew it could be.
  16207. 2006-06-20 Chris Toshok <[email protected]>
  16208. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  16209. data in the source has changed and we need to update the control,
  16210. so s/PullData/PushData.
  16211. * CurrencyManager.cs: Refresh is meant to update the control from
  16212. data in the datasource. So, s/PullData/PushData.
  16213. * BindingContext.cs: add more ugliness (we weren't handling the
  16214. case where data_source = DataTable and data_member = column_name).
  16215. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  16216. from the perspective of the datasource. PullData pulls from the
  16217. control, PushData pushes to the control.
  16218. 2006-06-20 Chris Toshok <[email protected]>
  16219. * BindingContext.cs: rewrite the CreateBindingManager code to
  16220. handle navigation paths more or less properly. This could
  16221. definitely stand some more work, in particular to push the
  16222. recursion up to the toplevel. But that relies on fixes in other
  16223. places (System.Data comes to mind).
  16224. Also, move to a flat hashtable (and encode the twolevel nature of
  16225. the dictionary into the hash key). This lets us implement the
  16226. IEnumerable.GetEnumerator method.
  16227. * RelatedCurrencyManager.cs: new class. Update our view based on
  16228. our relation and our parent CurrencyManager's position.
  16229. * CurrencyManager.cs: split out some logic from the ctor into
  16230. SetView, so it can be called from the new RelatedCurrencyManager
  16231. subclass.
  16232. * RelatedPropertyManager.cs: new class. Update our datasource
  16233. based on the position of our parent CurrencyManager.
  16234. * PropertyManager.cs: split out some logic from the ctor into
  16235. SetDataSource, so it can be called from the new RelatedDataSource
  16236. subclass. Also, make the Current getter return the value
  16237. of the PropertyDescriptor, not the data_source.
  16238. * Binding.cs: no need to duplicate the string splitting code here.
  16239. 2006-06-19 Peter Dennis Bartok <[email protected]>
  16240. * Control.cs:
  16241. - set_Enabled: OnEnabledChanged is not called if the inherited state
  16242. of the control is not altered, even though we might be changing the
  16243. internal state of the control (#78458)
  16244. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  16245. OnEnabledChanged, to allow easy altering of any child window state
  16246. - OnEnabledChanged: Added code to enable/disable driver window state
  16247. - OnParentEnabledChanged: Instead of firing the event, call
  16248. OnEnabledChanged, which will fire the event and also a) set driver
  16249. window state and pass the enabled state to any grandchildren (#78458)
  16250. 2006-06-19 Jackson Harper <[email protected]>
  16251. * InternalWindowManager.cs: We don't set the cursor explicitly
  16252. thats done via the response to NCHITTESTs.
  16253. - Don't need to adjust for titlebar heights anymore, the
  16254. coordinates are coming in the correct coordinates now (see peters
  16255. last patch).
  16256. 2006-06-19 Peter Dennis Bartok <[email protected]>
  16257. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  16258. being translated relative to whole window, instead of client window.
  16259. That caused broken offsets on mouseclick (and caused gas for our
  16260. InternalWindowManager)
  16261. 2006-06-15 Peter Dennis Bartok <[email protected]>
  16262. * TextControl.cs:
  16263. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  16264. - Undo(): Added replay of cursor move on DeleteChars action; added
  16265. calling Undo() again if a recorded cursor move is invalid (to
  16266. ensure that some action is performed on Undo)
  16267. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  16268. 2006-06-16 Jackson Harper <[email protected]>
  16269. * MdiClient.cs: Instead of just sizing maximized windows when
  16270. there is a resize we also have to adjust the Y of minimized
  16271. windows, so they stay pinned to the bottom of the mdi container.
  16272. - Eliminate separate tracking of the active control, we can just
  16273. get this from the controls collection.
  16274. - Paint the decorations for the newly activated titlebar so we get
  16275. a pretty blue bar.
  16276. * InternalWindowManager.cs:
  16277. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  16278. even if they are a tool window.
  16279. 2006-06-15 Peter Dennis Bartok <[email protected]>
  16280. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  16281. undo buffer, these can happen when text was deleted and the cursor
  16282. was recorded first. Since we will also have a recorded cursor
  16283. after the delete this is not an issue. (Fixes #78651)
  16284. 2006-06-14 Peter Dennis Bartok <[email protected]>
  16285. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  16286. instead properly track control states internally (allows us to
  16287. remove is_selected from Control)
  16288. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  16289. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  16290. whose width is not a multiple of 8.
  16291. 2006-06-13 Jackson Harper <[email protected]>
  16292. * MdiClient.cs: Only maximize the next child if the current one
  16293. is maximized.
  16294. 2006-06-13 Chris Toshok <[email protected]>
  16295. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  16296. modified. Also, guard against grid or grid_drawing being null in
  16297. Invalidate.
  16298. * DataGrid.cs: Reformat tons of getters/setters. In the
  16299. DataMember setter, just call SetNewDataSource instead of
  16300. duplicating some of its functionality. In SetNewDataSource, don't
  16301. check ListManager for null, since the property getter creates the
  16302. object if needed.
  16303. * DataGridTableStyle.cs: don't set TableStyle or call
  16304. SetDataGridInternal on the column here, it's done in
  16305. GridColumnStylesCollection.Add.
  16306. * GridColumnStylesCollection.cs: fix all the explicit interface
  16307. implementations to just call our methods. Nuke AddInternal() and
  16308. move the body of it to Add(). Also, add a call to
  16309. column.SetDataGridInternal to Add().
  16310. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  16311. base()+duplicate code. Also, use the Format property instead of
  16312. format to generate an Invalidate ala MS. Lastly, create the
  16313. textbox here, unconditionally.
  16314. (set_Format): call Invalidate.
  16315. (get_TextBox): no need to call EnsureTextBox.
  16316. (Commit): remove the message box.
  16317. (Edit) remove the call to EnsureTextBox.
  16318. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  16319. (EnterNullValue): no need to check textbox for null.
  16320. (HideEditBox): no need to check textbox for null.
  16321. (SetDataGridInColumn): add the textbox to the grid's controls.
  16322. (EnsureTextBox): nuke.
  16323. 2006-06-13 Jackson Harper <[email protected]>
  16324. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  16325. and redraw the buttons when needed. Unhook when the window is
  16326. unmaximized.
  16327. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  16328. needs this so that it can redraw its buttons when the menu is
  16329. repainted.
  16330. * InternalWindowManager.cs:
  16331. * Form.cs: The method order has changed for DrawMaximizedButtons,
  16332. so that it can be a PaintEventHandler.
  16333. 2006-06-13 Jackson Harper <[email protected]>
  16334. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  16335. window is activated and maximized, even if it wasn't before.
  16336. - When a new window is activated repaint the decorations of the
  16337. old one, so that it no longer has the Active "look" (the blue
  16338. titlebar).
  16339. * InternalWindowManager.cs: Open up CreateButtons to base classes
  16340. so they can recreate the buttons on state changes.
  16341. - If a window is maximized give it all three buttons
  16342. * MdiWindowManager.cs: Create the titlebar buttons when the state
  16343. is changed, this is needed because a toolwindow will not have all
  16344. three buttons until it is maximized.
  16345. 2006-06-13 Atsushi Enomoto <[email protected]>
  16346. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  16347. Fixed bug #78609.
  16348. 2006-06-12 Jackson Harper <[email protected]>
  16349. * KeysConverter.cs: Make sure we handle the Ctrl special case
  16350. if its the only key.
  16351. 2006-06-12 Jackson Harper <[email protected]>
  16352. * Theme.cs: Add a method to get the size of a managed window
  16353. toolbar button.
  16354. * InternalWindowManager.cs: Remove the ButtonSize property, this
  16355. should be retrieved from the theme.
  16356. * MdiWindowManager.cs: Get the button size from the theme
  16357. * ThemeWin32Classic.cs: Make the method to get the managed window
  16358. titlebar button size public.
  16359. - Handle the different button sizes of maximized toolwindows
  16360. (should match any maximized window).
  16361. - Get the titlebar height from the theme, not the WM (which gets
  16362. it from the theme).
  16363. 2006-06-12 Jackson Harper <[email protected]>
  16364. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  16365. event down to the mdi window manager.
  16366. - Expose some extra stuff to base classes
  16367. - Make sure to end the Capture on an NC Mouse up, so that we can
  16368. get double clicks properly, and the sizing doens't stick.
  16369. - When doing PointToClient contain it in the workable desktop
  16370. area, this prevents windows from changing size when the cursor is
  16371. pulled outside of the working area while sizing.
  16372. * MdiWindowManager.cs: When we get a double click maximize the
  16373. window.
  16374. - Reset the cursor after handling mode changes.
  16375. 2006-06-12 Peter Dennis Bartok <[email protected]>
  16376. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  16377. current desktop, instead of just assuming a 0, 0 origin. This
  16378. is needed for our internal window manager, to know the top
  16379. margin of the desktop
  16380. 2006-06-12 Chris Toshok <[email protected]>
  16381. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  16382. we need this to get rid of the selected background in the bool
  16383. column.
  16384. (CancelEditing): move the ConcedeFocus call to above the Abort
  16385. call. Also, set is_changing to false and invalidate the row
  16386. header if we were changing before.
  16387. (ProcessKeyPreviewInternal): remove, since noone outside this
  16388. class calls it anymore. Roll the code into ProcessKeyPreview.
  16389. (EndEdit): remove the internal version.
  16390. (InvalidateCurrentRowHeader): make private.
  16391. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  16392. Keys.Escape handling (and with it the last call to
  16393. DataGrid.EndEdit from outside the class.)
  16394. 2006-06-12 Chris Toshok <[email protected]>
  16395. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  16396. (OnKeyPress): set isedit to true.
  16397. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  16398. already handled by the grid.
  16399. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  16400. right. ugh.
  16401. (set_DataSource): SetDataSource always returns true, so stop
  16402. putting it in an if statement.
  16403. (EndEdit): get rid of some {}'s
  16404. (ProcessGridKey): return true in case Keys.Escape.
  16405. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  16406. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  16407. PositionChanged, stopped connecting to CurrentChanged.
  16408. (GetDataSource): simplify this a bunch.
  16409. (SetDataSource): change return type from bool to void.
  16410. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  16411. to this, and make sure we don't set ListManager.Position inside
  16412. set_CurrentCell.
  16413. (OnListManagerItemChanged): if we're passed an actual index,
  16414. redraw that row.
  16415. * CurrencyManager.cs (set_Position): don't call PullData here.
  16416. 2006-06-09 Jackson Harper <[email protected]>
  16417. * TreeNode.cs: Recalculate the visible order before doing the
  16418. Expand/Collapse Below calls, because those calls generate an
  16419. expose.
  16420. - Reduce calls to the TreeView property, which is mildly expensive
  16421. by using a local var.
  16422. * Form.cs: Layout the MDI child windows when creating the parent
  16423. form.
  16424. - Don't use the internal constructor anymore
  16425. * MdiClient.cs: use the parent form width/height (if available)
  16426. when laying out the child windows, we do this because the
  16427. mdiclient isn't docked yet when the initial layout is done.
  16428. - Don't need an internal constructor anymore.
  16429. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  16430. * FileDialog.cs: handle access errors when trying to create a folder
  16431. or changing to a directory. No need to initialize out parameters.
  16432. 2006-06-08 Alexander Olk <[email protected]>
  16433. * FileDialog.cs: Append a number when creating a new folder if the
  16434. folder already exists (use parenthesis instead of square brackets)
  16435. 2006-06-08 Alexander Olk <[email protected]>
  16436. * FileDialog.cs:
  16437. - Disabled registry support for windows and added better registry
  16438. error checking for other systems (need to investigate why it
  16439. works perfectly on my system)
  16440. - If a folder already exist show an error MessageBox instead of
  16441. trying to create an indexed name.
  16442. - Fixed a non intentional typo.
  16443. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  16444. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  16445. 2006-06-08 Alexander Olk <[email protected]>
  16446. * FileDialog.cs: When creating a new folder don't crash if the
  16447. folder already exists.
  16448. 2006-06-08 Alexander Olk <[email protected]>
  16449. * FileDialog.cs: Allmost a complete rewrite.
  16450. - added a "virtual" file system that handles the differences
  16451. between unix and windows file systems (especially the directory
  16452. structure). Moved most of the directory and file handling code
  16453. into the vfs.
  16454. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  16455. UnixFileSystem and FSEntry.
  16456. - Recently used folder/directory, size, location and used file names
  16457. (file name ComboBox) are now stored in the registry and get read
  16458. before the dialog shows up (fixes part 6 of bug #78446).
  16459. - Creation of new folders/directories is now possible (context menu
  16460. or ToolBar). Added TextEntryDialog for this that fills in the gap
  16461. until ListView.LabelEdit works.
  16462. - Fixed cursor handling (bug #78527) and focus handling for
  16463. PopupButtonPanel
  16464. - Various "Search in" ComboBox enhancements. The content of the
  16465. dropdown listbox now almost matches ms.
  16466. - Changed the behaviour when the user switches to SpecialFolder
  16467. Recent to show the ListView in View.Details.
  16468. - Beside using the ToolBar to change the View property of the
  16469. file ListView it is now possible to use the context menu too.
  16470. 2006-06-08 Alexander Olk <[email protected]>
  16471. * ComboBox.cs: Don't create a new ObjectCollection when an item
  16472. gets inserted. Just insert the item in the existing object_items
  16473. ArrayList.
  16474. 2006-06-08 Jackson Harper <[email protected]>
  16475. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  16476. that the treeview and root node checks are done also, this fixes a
  16477. regression i caused in the unit tests.
  16478. 2006-06-07 Wade Berrier <[email protected]>
  16479. * RichTextBox.cs: More ISO8859-1 -> unicode
  16480. 2006-06-07 Mike Kestner <[email protected]>
  16481. * ComboBox.cs : use items to hold highlight/selection so that
  16482. collection insertions don't require synchronization.
  16483. 2006-06-07 Jackson Harper <[email protected]>
  16484. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  16485. routine. We now always keep the sized edge at the cursor instead
  16486. of computing movement and adjusting rects. There is one buglet
  16487. with this method though when the cursor is moved over area that
  16488. the window can not expand too (such as the toolbars on the desktop).
  16489. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  16490. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  16491. here. Fixes crash on startup in AlbumSurfer.
  16492. 2006-06-07 Peter Dennis Bartok <[email protected]>
  16493. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  16494. values
  16495. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  16496. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  16497. statement to avoid calling XNextEvent which will block if another thread
  16498. took the event that we were expecting. Fixes bug #78605.
  16499. 2006-06-07 Mike Kestner <[email protected]>
  16500. * ListView.cs : isolated checkbox clicking from the selection logic.
  16501. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  16502. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  16503. * Form.cs: Check that the value passed to Form.DialogResult
  16504. is a valid enum value.
  16505. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  16506. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  16507. Computer'. Clicking it in the network view goes to 'My Computer'.
  16508. Added CIFS filesystem type. Display the mount point of filesystems.
  16509. Avoid duplicate mount points (happens for me with CIFS);
  16510. 2006-06-06 Jackson Harper <[email protected]>
  16511. * InternalWindowManager.cs: Draw the maximized windows buttons
  16512. when resizing.
  16513. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  16514. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  16515. all other dialogs. Fixes bug #78585.
  16516. 2006-06-06 Mike Kestner <[email protected]>
  16517. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  16518. Only invalidate checkbox on checkstate changes to avoid flicker.
  16519. * ListBox.cs : avoid unselect/select when clicking selected item.
  16520. avoid reselection flicker for already multiselected items.
  16521. Fixes #78382.
  16522. 2006-06-06 Jackson Harper <[email protected]>
  16523. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  16524. the parent form so that the menu is removed if needed.
  16525. 2006-06-06 Mike Kestner <[email protected]>
  16526. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  16527. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  16528. 2006-06-06 Mike Kestner <[email protected]>
  16529. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  16530. 2006-06-06 Jackson Harper <[email protected]>
  16531. * Control.cs: Use the property (instead of the field) to get the
  16532. default cursor so it is instantiated correctly.
  16533. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  16534. resizes so we need to manually repaint the window decorations here.
  16535. - Set the titlebar button locations as soon as they are created,
  16536. otherwise they are not set correctly on win32.
  16537. 2006-06-06 Chris Toshok <[email protected]>
  16538. * CurrencyManager.cs (set_Position): call PullData before
  16539. OnCurrentChanged.
  16540. (AddNew): after calling IBindingList.AddNew, update our
  16541. listposition, and call OnCurrentChanged/OnPositionChanged (without
  16542. calling PullData).
  16543. (OnCurrentChanged): remove the call to PullData from here.
  16544. (OnItemChanged): remove the call to PushData from here.
  16545. (OnPositionChanged): change the test from == null to != null to
  16546. match the other methods.
  16547. (ListChangedHandler): the grossest part of the patch. Implement
  16548. this such that it passes the unit tests in CurrencyManagerTest and
  16549. the output more or less matches that of MS's implementation.
  16550. 2006-06-06 Mike Kestner <[email protected]>
  16551. * ListView.cs : only update check state on single click.
  16552. * ThemeWin32Classic.cs : fix focus drawing for details view without
  16553. fullrowselect. Fixes #78454.
  16554. * XplatUIX11.cs : fix for double click emission.
  16555. 2006-06-05 Jonathan Chambers <[email protected]>
  16556. * PropertyGridView.cs : Applied Atsushi's patch to fix
  16557. font dialog bug (#78197).
  16558. 2006-06-05 Jackson Harper <[email protected]>
  16559. * TreeNode.cs: Compute the next node for expanding/collapsing
  16560. correctly. We now factor in nodes without a NextNode
  16561. correctly. (Fixes somes cases in nunit-gui).
  16562. * InternalWindowManager.cs: Set the bounds when updating the
  16563. virtual position of a tool window.
  16564. 2006-06-05 Chris Toshok <[email protected]>
  16565. * DataGrid.cs: rename cached_currencymgr to list_manager.
  16566. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  16567. some.
  16568. (CurrentRow, CurrentColumn): single accessors so we can make the
  16569. cursor movement code a lot easier to understand.
  16570. (CurrentRowIndex): implement this in terms of CurrentRow.
  16571. (BeginEdit): clean this up a bit.
  16572. (CancelEditing): sort out the is_editing/is_changing/is_adding
  16573. stuff a little.
  16574. (EndEdit): minor changes.
  16575. (OnKeyDown): add a comment about a (most likely) unnecessary
  16576. check.
  16577. (OnMouseDown): cancel editing when we click on a row header. And
  16578. use the CurrentRow setter, not CurrentCell.
  16579. (ProcessDialogKey): directly call ProcessGridKey.
  16580. (UpdateSelectionAfterCursorMove): factor out this common block of
  16581. code (it's used everywhere that we move the cursor by updating row
  16582. or column).
  16583. (ProcessGridKey): pretty substantial overhaul. Use the
  16584. CurrentRow/CurrentColumn properties to make the code a lot more
  16585. readable. Only use the CurrentCell property when we have to
  16586. modify both row and column at once. Tab behavior is still broken,
  16587. and Delete is untested.
  16588. (Select): if we have no selected rows, set selection_start to
  16589. @row.
  16590. (EditCurrentCell): rename EditCell this. It was only ever invoked
  16591. with CurrentCell as the arg, so drop the arg and rename it.
  16592. * DataGridColumnStyle.cs: clean up the constructors a little, and
  16593. drop CommonConstructor().
  16594. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  16595. actually get notified when the user hits it.
  16596. (ProcessKeyMessage): *substantially* simplify this method.
  16597. There's no reason (that I can see) for the textbox to be making
  16598. calls into the datagrid at all. Remove all of them but the ones
  16599. for Enter handling. those will take some more work.
  16600. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  16601. calling HideEditBox.
  16602. (HideEditBox): if we have an active textbox, render it invisible
  16603. without causing a re-layout of the datagrid.
  16604. 2006-06-05 Mike Kestner <[email protected]>
  16605. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  16606. collection changes by resetting it to Items[0]. Fixes #78587.
  16607. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  16608. * MessageBox.cs: if the height of the text is larger than the icon_size,
  16609. use that. Fixes bug #78575.
  16610. 2006-06-05 Jackson Harper <[email protected]>
  16611. * TreeView.cs: Fix line drawing when scrolling. To do this each
  16612. node is basically responsible for drawing its entire horizontal
  16613. area. When drawing a node it draws its parent node lines if
  16614. needed.
  16615. - Adjust the clip area to the viewport rectangle
  16616. - Fix Left/Right key handling to match MS. (It expand/collapses
  16617. and moves to parents/first child but does not move selection to
  16618. sibling nodes).
  16619. - Fix SetTop to work with new bound calculation code
  16620. - When scrollbars are no longer needed we need to reset scrolling
  16621. vars and recalculate the visible order so the redraw is correct
  16622. * TreeNode.cs: We can't expand/collapse nodes with no children.
  16623. 2006-06-03 John Luke <[email protected]>
  16624. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  16625. so the colors work without dev packages
  16626. 2006-06-02 Peter Dennis Bartok <[email protected]>
  16627. * Control.cs
  16628. - Select: Implemented to just use activate. Seems to match MS
  16629. behaviour closest. Documented to only do actual control walking
  16630. based on it's parameters if in a container control so I moved
  16631. the code there.
  16632. - Removed selection check logic from our internal Select() method
  16633. * ContainerControl.cs:
  16634. - Select: Moved selection logic from Control here, since MS documents
  16635. that containers obey the bool arguments. No longer calling base
  16636. 2006-06-02 Jackson Harper <[email protected]>
  16637. * TreeView.cs: If the selected node isn't changed when we get
  16638. focus update the previously selected node so that we see the
  16639. selection box.
  16640. 2006-06-02 Mike Kestner <[email protected]>
  16641. * ComboBox.cs: restructure grab and general mouse event handling.
  16642. Make the composite control raise mouse events like it was a single
  16643. control for leaves/enters/motion/up/down events. fix dropdown list
  16644. coordinate mangling and refactor it into the scrollbar subclass to
  16645. reduce code duplication. Fixes #78282 #78361 and #78457.
  16646. 2006-06-02 Mike Kestner <[email protected]>
  16647. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  16648. automatically in the Control.WndProc.
  16649. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  16650. * FileDialog.cs: fix crash when running SharpChess, which sets the
  16651. FilterIndex to 2 with only one Filter.
  16652. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  16653. * ToolBar.cs: add SizeSpecified property.
  16654. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  16655. try to figure out our real size, otherwise fallback to what the
  16656. container says.
  16657. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16658. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  16659. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  16660. up the event
  16661. 2006-06-01 Mike Kestner <[email protected]>
  16662. * ListView.cs: revamp the focus management in ListView. It still
  16663. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  16664. better than not handling focus at all. Will revisit when pdb feels
  16665. the general focus handling is solid. Fixes #78526.
  16666. 2006-06-01 Jackson Harper <[email protected]>
  16667. * TreeView.cs: Set the default border style in the constructor.
  16668. - Move painting to use OnPaintInternal instead of capturing
  16669. WM_PAINT, this is the correct way of doing things
  16670. - UpdateBelow shouldn't invalidate the scrollbar area
  16671. - Cap the top on update below in case the node was above the top
  16672. of the viewport rectangle.
  16673. - ExpandBelow and Collapse below need to obey Begin/End Update.
  16674. * TreeNode.cs: Make is_expanded internal so the treenode
  16675. collection can change it without firing the whole event chain.
  16676. * TreeNodeCollection.cs: When clearing all the child nodes make
  16677. sure to recalc the visible order.
  16678. - Improve algo for remove the top node
  16679. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16680. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  16681. SendMessage directly calling window procedures, which in turn might
  16682. call SetFocus()
  16683. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16684. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  16685. has focus (works around X11 sending a FocusIn after our SetFocus)
  16686. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  16687. 2006-06-01 Alexander Olk <[email protected]>
  16688. * Mime.cs: Fix for the NET_2_0 build.
  16689. NameValueCollection needs StringComparer now.
  16690. 2006-05-31 Chris Toshok <[email protected]>
  16691. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  16692. return (via an out parameter) the starting X of the column.
  16693. (UpdateVisibleColumn): track change to FromPixelToColumn.
  16694. (HitTest): add a ColumnResize case here.
  16695. (DrawResizeLine): new function, probably poorly named.
  16696. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  16697. only need to keep one reference.
  16698. (set_ListManager): same.
  16699. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  16700. Also, add support for HitTestType.ColumnResize.
  16701. (OnMouseMove): add column resize behavior here, and change the
  16702. cursor to the correct one as we move around the datagrid.
  16703. (OnMouseUp): terminate the column resize if we're resizing.
  16704. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  16705. for the current cell.
  16706. (ConnectListManagerEvents): use cached_currencymgr.
  16707. (DisconnectListManagerEvents): fill this in, using
  16708. cached_currencymgr.
  16709. (SetCurrentCell): remove cached_currencymgr_events handling.
  16710. (SetDataMember): only call DisconnectListManagerEvents if
  16711. cached_currencymgr is != null.
  16712. (SetDataSource): same.
  16713. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  16714. cached_currencymgr.
  16715. 2006-05-31 Jackson Harper <[email protected]>
  16716. * BindingManagerBase.cs: Remove somedebug code that creeped into
  16717. SVN.
  16718. * TreeNode.cs: We get the indent level dynamically right now, so
  16719. don't track it as a member.
  16720. * TreeNodeCollection.cs: Make sure all nodes added to the list
  16721. have parents, treeviews/topnodes setup properly.
  16722. - Don't attempt to track indent level.
  16723. 2006-05-30 Jackson Harper <[email protected]>
  16724. * BindingContext.cs: Create the currency manager tables here.
  16725. This allows us to more easily create null tables (when bad data
  16726. members are used), and more easily create related currency
  16727. managers.
  16728. * CurrencyManager.cs: All the table creation stuff is done by the
  16729. binding context now.
  16730. - Current should throw an exception if listposition is -1.
  16731. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  16732. been bound yet.
  16733. 2006-05-30 Mike Kestner <[email protected]>
  16734. * ListView.cs: allow reexpansion of zero-width column headers.
  16735. Fixes #78528.
  16736. 2006-05-28 Chris Toshok <[email protected]>
  16737. * CurrencyManager.cs (get_Current): after the late binding
  16738. listposition = -1 fix, we need to guard against it here and return
  16739. null, otherwise we raise an exception (which is swallowed
  16740. elsewhere, and breaks datagrid databinding.)
  16741. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16742. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  16743. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  16744. 2006-05-26 Jackson Harper <[email protected]>
  16745. * ControlPaint.cs:
  16746. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  16747. values, it's faster and it's all we care about (we don't care if
  16748. the names aren't equal).
  16749. * KeyboardLayouts.cs: Eliminate some dead code.
  16750. - Lazy init things
  16751. * X11Keyboard.cs: Lazy init keyboard detection.
  16752. - Cleanup access modifiers a little.
  16753. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16754. * XplatUIX11.cs: Once again, attempting to get layout just right.
  16755. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16756. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  16757. the sizes of each link section, that will result in sizes that
  16758. match DrawString's layout (Fixes #78391)
  16759. 2006-05-27 Alexander Olk <[email protected]>
  16760. * FileDialog.cs: If AddExtension property is true autocomplete the
  16761. extensions in SaveFileDialog correctly. Fixes bug #78453.
  16762. Set MyNetwork and MyComputer to "C:\" for windows. This should
  16763. fix part 8 of bug #78446 for now.
  16764. 2006-05-26 Chris Toshok <[email protected]>
  16765. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  16766. invalidate the current row header if we need to, but presumably
  16767. we'll invalidate the row corrsponding to the bounds or
  16768. editingControl.
  16769. (GridHScrolled): switch back to this method, as it's part of the
  16770. public api. *sigh*.
  16771. (GridVScrolled): same.
  16772. (OnMouseWheel): hack up something that more or less works. Call
  16773. GridHScrolled/GridVScrolled directly, instead of duplicating much
  16774. of their code here.
  16775. (EnsureCellVisibility): reinstate a bunch of this code, since we
  16776. can't just set the scrollbar Value and expect to do all the work
  16777. in the ValueChanged handler. Also, Call Update() after scrolling
  16778. in one direction so the other XplatX11.ScrollWindow call has the
  16779. proper stuff in the proper places.
  16780. (EditCell): set is_editing to true before calling .Edit.
  16781. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  16782. don't bother comparing first.
  16783. (OnKeyPress): call grid.ColumnStartedEditing before calling
  16784. base.OnKeyPress. this will set is_changing and invalidate the row
  16785. header if necessary.
  16786. (ProcessKeyMessage): for WM_CHAR messages, call
  16787. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  16788. and WM_KEYDOWN.
  16789. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  16790. it's done in the DataGrid.
  16791. (NextState): call grid.ColumnStartedEditing, which takes care of
  16792. invalidating the row header (and setting is_changing).
  16793. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  16794. here. it's done in the DataGrid.
  16795. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16796. * Control.cs: allow changing the cursor when the mouse position is
  16797. out of bounds but Capture is set.
  16798. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  16799. linklabel but released somewhere else.
  16800. 2006-05-25 Jackson Harper <[email protected]>
  16801. * TreeView.cs: When we get focus if there is no selected node make
  16802. it the top node
  16803. - Remove some uneeded setup code from Draw.
  16804. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  16805. a new node is inserted make the new node the top.
  16806. * XplatUIX11.cs:
  16807. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  16808. be used (should be faster).
  16809. 2006-05-25 Chris Toshok <[email protected]>
  16810. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  16811. problem with the last commit.
  16812. 2006-05-25 Chris Toshok <[email protected]>
  16813. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  16814. need the invalidate call here, while scrolling right-to-left via
  16815. the left arrow key (i.e. moving the editing cell while scrolling).
  16816. * DataGrid.cs (.ctor): remove the initialization of
  16817. ctrl_pressed/shift_pressed. We no longer track them using key
  16818. up/down handlers, but by using Control.ModifierKeys. Also, switch
  16819. to using ValueChanged handlers on the scrollbars instead of
  16820. Scrolled event handlers. This simplifies a bunch of the scrolling
  16821. code.
  16822. (GridHValueChanged): rename from GridHScrolled, and change it to
  16823. work with the new event args.
  16824. (GridVValueChanged): same.
  16825. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  16826. (OnMouseWheel): actually scroll the datagrid. Don't change the
  16827. selected cell.
  16828. (ProcessGridKey): correct all the keyboard navigation stuff I
  16829. could find. Ctrl up/down/left/right/home/end work now.
  16830. (EnsureCellVisibility): correct method name spelling. Also,
  16831. simplify this a touch by not explicitly calling the
  16832. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  16833. scrollbar value.
  16834. (OnKeyUpDG): no need for this method now.
  16835. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16836. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  16837. Fixes bug #78392.
  16838. 2006-05-25 Chris Toshok <[email protected]>
  16839. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  16840. r61019.
  16841. 2006-05-25 Peter Dennis Bartok <[email protected]>
  16842. * Application.cs: Moved setting of is_modal and closing to before
  16843. we create the control, to allow the event handlers called as a
  16844. result of creation affect closing. Also removed Gonzalo's previous
  16845. change to setting DialogResult, the behaviour has been moved to
  16846. Form.ShowDialog()
  16847. * Form.cs:
  16848. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  16849. handle it instead
  16850. - ShowDialog(): If no dialog result is set, we need to return Cancel
  16851. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  16852. the close is cancelled
  16853. 2006-05-25 Jackson Harper <[email protected]>
  16854. * StatusBar.cs: We only need to update the sizes of the other
  16855. panels when we have auto size contents. Also we are only updating
  16856. the contents of the panel, not the borders, so compensate for the
  16857. border width (TODO: get this width from the theme somehow).
  16858. * TreeView.cs: Scrollable is true by default
  16859. - Use invalidate instead of refresh where needed
  16860. - Factor the scrollable value into scrollbar updating
  16861. - Update the scrollbars if the Scrollable property is altered
  16862. - Update the selected node if its ImageIndex is changed
  16863. - Handle null nodes in UpdateNode (mainly so we don't have to
  16864. check if selected is null when updating it
  16865. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  16866. are factored into the visible count
  16867. - Use VisibleCount for clarity in the code
  16868. - When the font is changed we need to recurse through all the
  16869. nodes and invalidate their sizes
  16870. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16871. * Application.cs: set the DialogResult to fixed when the main form is
  16872. hidden or destroyed while being modal.
  16873. 2006-05-25 Miguel de Icaza <[email protected]>
  16874. * Theme.cs: Use Tangoified messagebox icons.
  16875. (GetSizedResourceImage): Also cope with width = 0 and do not
  16876. trigger a warning in that case (0 means "give me your icon from
  16877. the resouce, no special size needed).
  16878. 2006-05-25 Peter Dennis Bartok <[email protected]>
  16879. * Application.cs: Leave runloop if the the main modal form is
  16880. hidden (fixes #78484)
  16881. 2006-05-25 Atsushi Enomoto <[email protected]>
  16882. * BindingContext.cs : reject null datasource in Contains() and
  16883. Item[].
  16884. * CurrencyManager.cs : check data_member validity when data_source
  16885. is dataset. When it is late binding, the initial position is -1.
  16886. 2006-05-24 Jackson Harper <[email protected]>
  16887. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  16888. inserted nodes that aren't visible. This changes the
  16889. max_visible_order which confuses scrollbar settings.
  16890. - Use the enumerator to get the prev node instead of duplicating
  16891. code.
  16892. * TreeView.cs: Use new method for setting scrollbar values
  16893. - Don't set the bounds every time the scrollbar is updated
  16894. - When updating below the root node use an invalidate instead of a
  16895. refresh to prevent the child controls (scrollbars) from being
  16896. refreshed. (UpdateBelow still needs to be reworked anyways).
  16897. - Reenable SetBottom now that visible orders are set correctly,
  16898. added some debug code incase we ever get bad values there again.
  16899. - Set the scrollbar max to 2 less then the max value, this
  16900. compensates for the max value being one above the node count, and
  16901. for scrollbars adding one extra "notch".
  16902. - When drawing image nodes if there is an imagelist we draw the
  16903. first image in the list if the supplied image index is out of the
  16904. image list's bounds.
  16905. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16906. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  16907. we receive a size change from the WM (Fixes #78503)
  16908. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16909. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  16910. rectangle (Fixes #78501)
  16911. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16912. * ButtonBase.cs:
  16913. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  16914. as a bitfield.
  16915. - Fixed MouseMove to no longer switch pressed state unless the left
  16916. mouse button is pressed. Atsushi provided the original patch (#78485)
  16917. 2006-05-24 Jackson Harper <[email protected]>
  16918. * ScrollBar.cs: New internal methods that allow us to change a
  16919. couple values on the scrollbar (the most common case is maximum
  16920. and large change) without getting multiple invalidates.
  16921. 2006-05-24 Chris Toshok <[email protected]>
  16922. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  16923. (Edit): save off the original state in oldState, and set
  16924. grid.is_editing to true.
  16925. (OnKeyDown): abort editing if escape is pressed. also, call
  16926. NextState if space is pressed.
  16927. (OnMouseDown): call NextState.
  16928. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  16929. here. Also, only invalidate the row header once (on the initial
  16930. is_changing switch) to save on redraws.
  16931. 2006-05-24 Chris Toshok <[email protected]>
  16932. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  16933. if the value in the cell is different than it was before. This
  16934. keeps us from triggering a layout when we move around a datarid
  16935. with a highlighted cell.
  16936. (Edit): suspend layout when creating/positining the text box, and
  16937. resume passing false so we don't ever actually re-layout.
  16938. (ReleaseHostedControl): same.
  16939. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  16940. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  16941. control-key sequences should go to the datagrid - remove that
  16942. lock. Also, modify the conditions under which we move between
  16943. cells when moving the cursor within a cell, and remove the "this"
  16944. and "base" from field accesses. We weren't even consistent, given
  16945. they all were in the base class.
  16946. 2006-05-24 Atsushi Enomoto <[email protected]>
  16947. * Binding.cs : (.ctor)
  16948. An obvious NRE fix for BindingTest.CtorNullTest().
  16949. 2006-05-23 Chris Toshok <[email protected]>
  16950. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  16951. them between lines. This fixes some quirks editing cells in the
  16952. datagrid.
  16953. 2006-05-23 Jackson Harper <[email protected]>
  16954. * TreeView.cs: Use begin/end update when doing expand/collapse all
  16955. so that we don't get flicker on the scrollbar.
  16956. 2006-05-23 Jackson Harper <[email protected]>
  16957. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  16958. treenode calculations to be independant of the painting code. To
  16959. do this nodes track a visible order which is calculated by the
  16960. treeview.
  16961. - Call new methods for expanding/collapsing nodes. These methods
  16962. use scrollwindow so we don't have to update everything below the
  16963. node.
  16964. * TreeView.cs: Refactored drawing and scrolling code. We don't
  16965. need to update nodes when drawing anymore or calculate scrollbar
  16966. stuff.
  16967. - Added new methods for expanding/collapsing nodes. These methods
  16968. use ScrollWindow so as to not have to redraw all the nodes below.
  16969. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  16970. we add/remove nodes or sort.
  16971. - Handle removing the selected and the top node properly.
  16972. 2006-05-23 Chris Toshok <[email protected]>
  16973. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  16974. maybe this should actually happen in the datagrid code?
  16975. (EndEdit): no need to invalidate anything, given that
  16976. ReleaseHostedControl causes the datagrid to relayout, which
  16977. invalidates everything anyway.
  16978. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  16979. in SetCurrentCell).
  16980. (set_SelectionBackColor): call InvalidateSelection instead of
  16981. Refresh.
  16982. (set_SelectionForeColor): same.
  16983. (BeginEdit): Flesh this out a bit.
  16984. (CancelEditing): only do any of this if we're editing/adding.
  16985. (EndEdit): same.
  16986. (OnMouseDown): there's no need to cancel editing here, it's done
  16987. in SetCurrentCell.
  16988. (SetCurrentCell): only invalidate the current row header if it's a
  16989. different row than the new one.
  16990. (ShiftSelection): fix this to work like MS does.
  16991. (ResetSelection): factor out the invalidation of selected_rows to
  16992. InvalidateSelection.
  16993. (SetDataSource): cancel any editing that's going on.
  16994. * DataGridColumnStyle.cs
  16995. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  16996. call the non-interface version.
  16997. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  16998. header rectangle with the clip rectangle so we don't redraw the
  16999. entire header for just a small area. Gets rid of the last flicker
  17000. when horizontally scrolling.
  17001. (DataGridPaintRow): same.
  17002. 2006-05-23 Mike Kestner <[email protected]>
  17003. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  17004. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  17005. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  17006. Critical bug report.
  17007. 2006-05-23 Peter Dennis Bartok <[email protected]>
  17008. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  17009. and this fixes #78493
  17010. 2006-05-23 Miguel de Icaza <[email protected]>
  17011. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  17012. size is not found.
  17013. * FileDialog.cs: Do not change the background for the side bar as
  17014. it wont work nicely with the theme, and also reduces the artifacts
  17015. in rendering the icons (which I want to fix too).
  17016. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  17017. resources, not resgen resources.
  17018. (PlatformDefaultHandler): Pull images using the new API.
  17019. 2006-05-23 Peter Dennis Bartok <[email protected]>
  17020. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  17021. a reference to the hwnd and will not remove it unless there are
  17022. no pending exposures (fixes #78341)
  17023. * XplatUI.cs: Improved debug
  17024. 2006-05-23 Atsushi Enomoto <[email protected]>
  17025. * MenuAPI.cs : don't handle OnClick event when it was not the left
  17026. button. Fixed bug #78487.
  17027. 2006-05-23 Mike Kestner <[email protected]>
  17028. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  17029. prefer submenus to the top menu for item lookup, to avoid popping down
  17030. top-row items.
  17031. 2006-05-23 Alexander Olk <[email protected]>
  17032. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  17033. Graphics.FillRectangle as the visual results are really bad (even
  17034. on win). We now draw perfect arrows (and perfect shadows when the
  17035. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  17036. Pen.DashPattern to draw the dots of each line.
  17037. 2006-05-22 Alexander Olk <[email protected]>
  17038. * FileDialog.cs: Update the filename combobox when navigating through
  17039. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  17040. 2006-05-22 Mike Kestner <[email protected]>
  17041. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  17042. Fixes #78463.
  17043. 2006-05-22 Mike Kestner <[email protected]>
  17044. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  17045. requests. Fix a misspelled parameter and a copy paste exception error
  17046. in Select.
  17047. 2006-05-22 Peter Dennis Bartok <[email protected]>
  17048. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  17049. to get the same width/height (5/13) on X11 as the default font has on
  17050. win32. This means that our DefaultFont emSize is smaller than the
  17051. the MS SWF equivalent (even thought the width/height stays the same)
  17052. 2006-05-20 Jackson Harper <[email protected]>
  17053. * MdiClient.cs:
  17054. * MdiWindowManager.cs:
  17055. * InternalWindowManager.cs: Make sure to use the border width from
  17056. the theme.
  17057. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  17058. * PrintDialog.cs: Implements printer details
  17059. 2006-05-19 Alexander Olk <[email protected]>
  17060. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  17061. Fixes part 1 and 2 of bug #78446
  17062. 2006-05-19 Peter Dennis Bartok <[email protected]>
  17063. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  17064. instead of sticking to the first ever calculated value
  17065. 2006-05-19 Mike Kestner <[email protected]>
  17066. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  17067. PointToClient, since Capture is set. Fixes #78344.
  17068. 2006-05-19 Mike Kestner <[email protected]>
  17069. * ListView.cs: match MS behavior in Details view where items are not
  17070. drawn if Columns.Count == 0.
  17071. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  17072. Use a separate pen to draw the check, since changing the width affects
  17073. the box as well. Fixes #78454.
  17074. 2006-05-18 Miguel de Icaza <[email protected]>
  17075. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  17076. exception should throw the name of the invalid argument.
  17077. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  17078. there are no files listed.
  17079. 2006-05-18 Jackson Harper <[email protected]>
  17080. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  17081. up.
  17082. 2006-05-18 Peter Dennis Bartok <[email protected]>
  17083. * Control.cs: Brought back our old UpdateZOrder method as a private
  17084. function and switched our calls from UpdateZOrder to the new one.
  17085. This fixes the Paint.Net canvas disappearing bug.
  17086. 2006-05-18 Jackson Harper <[email protected]>
  17087. * Theme.cs:
  17088. * ThemeWin32Classic.cs:
  17089. * InternalWindowManager.cs: Move the drawing into the theme,
  17090. expose everything the theme should need from the window manager.
  17091. 2006-05-18 Peter Dennis Bartok <[email protected]>
  17092. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  17093. from the call to NativeWindow to avoid walking up the parent chain
  17094. further than needed (speeds up setting cursors and avoids setting
  17095. the wrong cursor if a parent has another cursor defined)
  17096. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  17097. the icon as hotspot, not what's contained as hotspot in the icon
  17098. file. This fixes the perceived drawing offset seen with Paint.Net
  17099. 2006-05-18 Peter Dennis Bartok <[email protected]>
  17100. * XplatUIX11.cs:
  17101. - Store the calculated rectangle in Hwnd object and use it when
  17102. setting the client size
  17103. - Force Toolwindows to always be type Dock, to ensure they're on top
  17104. 2006-05-18 Mike Kestner <[email protected]>
  17105. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  17106. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  17107. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  17108. Substantial refactoring to remove confusing nested classes. Coding
  17109. standard and Get+Set->property refactorings. Shift to index based
  17110. highlighting in ComboListBox instead of constantly using IndexOf and
  17111. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  17112. in FileDialog growth. Draw borders manually since Simple mode needs
  17113. to look like two independent controls. Make listbox border
  17114. conditional to DropDownStyle. Improved OwnerDraw support.
  17115. 2006-05-18 Sebastien Pouliot <[email protected]>
  17116. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  17117. Don't set the disposed graphics to null, so we can throw the "right"
  17118. exception if the graphics is reused later (added a flag to avoid
  17119. double disposing). Some behaviours are different under 2.0 and are
  17120. filled under bug #78448.
  17121. 2006-05-18 Peter Dennis Bartok <[email protected]>
  17122. * Control.cs: When double-buffering is enabled, we need to reset
  17123. our graphics context between paint calls. Otherwise, any
  17124. transformations and other alterations on the context will
  17125. become cumulative (#77734)
  17126. 2006-05-18 Mike Kestner <[email protected]>
  17127. * ListView.cs: do focused item selection like MS on clicks.
  17128. Rework focus handling for ItemControl so LostFocus invalidates as
  17129. well.
  17130. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  17131. the ListView ItemControl has focus.
  17132. 2006-05-17 Peter Dennis Bartok <[email protected]>
  17133. * XplatUIX11.cs: If client_window ends up being width or height zero
  17134. due to border settings, move it off window inside whole_window (#78433)
  17135. 2006-05-17 Alexander Olk <[email protected]>
  17136. * Mime.cs: Shrink the mime file cache correctly.
  17137. 2006-05-17 Alexander Olk <[email protected]>
  17138. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  17139. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17140. * XplatUIX11.cs (AddExpose): More sanity checks
  17141. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17142. * XplatUIX11.cs:
  17143. - AddExpose: Don't add expose ranges outside the size of our
  17144. window
  17145. - Cast opacity values to Int32 to avoid crashes with certain
  17146. values
  17147. - Added disabled code paths that protect against illegal cross-
  17148. thread painting (Developers.exe)
  17149. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17150. * ProgressBar.cs: Invalidate the control when it's resized
  17151. since block size is based on control size. (#78388)
  17152. 2006-05-16 Miguel de Icaza <[email protected]>
  17153. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  17154. of setting the incoming argument to the "reset" value, we set the
  17155. this.datamember to string.empty (before we were invalidating the
  17156. incoming data).
  17157. Fixes 78420
  17158. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17159. * Form.cs: Only apply transparency settings after the form
  17160. is created. (Fixes #77800)
  17161. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17162. * ApplicationContext.cs: Grab the HandleDestroyed event so
  17163. we know when to fire OnMainFormClosed
  17164. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17165. * Application.cs: Introduced sub-class to allow tracking of
  17166. threads and centralized triggering of the event mess for
  17167. ThreadExit, AppExit, etc.. (#76156)
  17168. 2006-05-16 Alexander Olk <[email protected]>
  17169. * MimeIcon.cs:
  17170. - Do not return a null icon index value for a mime subclass.
  17171. Instead try the main mime type class too.
  17172. - Seems that some newer distributions don't have a link to some
  17173. gnome default icons anymore. So check the default gnome dir too.
  17174. 2006-05-16 Jackson Harper <[email protected]>
  17175. * MdiClient.cs: Don't paint the parent background image if we have
  17176. our own background image.
  17177. 2006-05-16 Peter Dennis Bartok <[email protected]>
  17178. * Control.cs:
  17179. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  17180. controls, all filled controls are supposed to overlap (#78080)
  17181. - UpdateZOrder is supposed to update the control's z-order in the
  17182. parent's z-order chain. Fixed to behave like that
  17183. - BringToFront: Removed obsolete code
  17184. - SendToBack: Simplyfied
  17185. - SetChildIndex: Trigger layout calculations when Z-order changes
  17186. since layout is done by z-order
  17187. 2006-05-16 Chris Toshok <[email protected]>
  17188. [ fixes bug #78410 ]
  17189. * DataGrid.cs (set_AlternatingBackColor): use
  17190. grid_drawing.InvalidateCells instead of Refresh().
  17191. (set_BackColor): call grid_drawing.InvalidateCells.
  17192. (set_BackgroundColor): use Invalidate instead of Refresh.
  17193. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  17194. invalidate the cell area.
  17195. 2006-05-15 Chris Toshok <[email protected]>
  17196. [ fixes bug #78011 ]
  17197. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  17198. on to DataGridPaintRow.
  17199. (DataGridPaintRow): take a clip argument, and only draw the cells
  17200. which intersect it. same with the not_usedarea.
  17201. * Theme.cs (DataGridPaintRow) add @clip parameter.
  17202. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  17203. XplatUI.ScrollWindow.
  17204. (ScrollToRow): same.
  17205. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  17206. with last column which was causing a gray swath to appear with the
  17207. XplatUI.ScrollWindow code.
  17208. 2006-05-15 Chris Toshok <[email protected]>
  17209. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  17210. use XplatUI.ScrollWindow.
  17211. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  17212. 2006-05-15 Peter Dennis Bartok <[email protected]>
  17213. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  17214. 2006-05-15 Peter Dennis Bartok <[email protected]>
  17215. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  17216. file since there are no equivalent X11 cursors
  17217. 2006-05-15 Atsushi Enomoto <[email protected]>
  17218. * MonthCalendar.cs : DateTimePicker should reflect selected date
  17219. on mouse*up*, not mouse*down*. Fixed originally reported part of
  17220. bug #76474.
  17221. 2006-05-15 Atsushi Enomoto <[email protected]>
  17222. * TabControl.cs : When argument index is equal or more than tab
  17223. count, just ignore. Fixed bug #78395.
  17224. 2006-05-15 Peter Dennis Bartok <[email protected]>
  17225. * Control.cs: Dispose all child controls when control is diposed (#78394)
  17226. 2006-05-14 Alexander Olk <[email protected]>
  17227. * ColorDialog.cs: Finally it is possible to select the color with
  17228. the text boxes
  17229. 2006-05-14 Alexander Olk <[email protected]>
  17230. * PrintDialog.cs: Fix typo
  17231. 2006-05-14 Alexander Olk <[email protected]>
  17232. * PrintDialog.cs: PrintDialog is not resizable
  17233. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  17234. color. Made some ToolBar drawing methods protected virtual.
  17235. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  17236. * PrintDialog.cs: Implementation of the PrintDialog
  17237. 2006-05-12 Chris Toshok <[email protected]>
  17238. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  17239. thumb, instead use MoveThumb. This has the side effect of making
  17240. most of the other thumb moving machinery use MoveThumb as well.
  17241. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  17242. need to actually invalidate the rectangle where the new thumb will
  17243. go.
  17244. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  17245. We force an Update() after, so it's not as fast as it could be,
  17246. but at least there's zero flicker and no droppings.
  17247. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  17248. (UpdateThumbPos): add another argument (dirty), which says whether
  17249. or not to calculate/add dirty regions which we later invalidate.
  17250. For cases where we know we're going to use MoveThumb, we pass
  17251. false for this. Otherwise, pass true.
  17252. 2006-05-12 Jackson Harper <[email protected]>
  17253. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  17254. the status bar.
  17255. 2006-05-12 Peter Dennis Bartok <[email protected]>
  17256. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  17257. and GetClipRegion methods and UserClipWontExposeParent property.
  17258. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  17259. overriding UserClipWontExposeParent property, setting to false, since
  17260. Win32 handles the required expose messages to draw our clipped parent
  17261. areas internally
  17262. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  17263. PaintEventStart to set the user clip region if set.
  17264. * Control.cs:
  17265. - Now internally tracking the Region for the control since we need to
  17266. store it if the handle is not yet created and only set it when it
  17267. becomes created. Before setting the region forced handle creation
  17268. - Added code to draw the parents underneath a user-clipped region
  17269. * Hwnd.cs: Added UserClip property
  17270. 2006-05-12 Chris Toshok <[email protected]>
  17271. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  17272. (set_Maximum): same.
  17273. (set_Minimum): same.
  17274. (set_SmallChange): same.
  17275. (OnMouseUpSB): remove the call to refresh when releasing the
  17276. thumb. We shouldn't need it.
  17277. 2006-05-12 Miguel de Icaza <[email protected]>
  17278. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  17279. AutoSize set to None, we do not need to relayout everything, we
  17280. just need to invalidate the current region.
  17281. (Draw): Do not draw the entire ClientArea, just redraw the
  17282. clip area being passed.
  17283. * MdiClient.cs: Make MdiClient constructor with the Form argument
  17284. internal.
  17285. 2006-05-12 Jackson Harper <[email protected]>
  17286. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  17287. parents background image, but strangely not their own.
  17288. - (DrawStatusBarPanel): Take into account horizontal alignment
  17289. when drawing the strings and icons.
  17290. 2006-05-12 Mike Kestner <[email protected]>
  17291. * ListBox.cs: avoid invalidations for focus when the collection is
  17292. empty.
  17293. 2006-05-12 Chris Toshok <[email protected]>
  17294. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  17295. invalidate the entire thumb area. Call InvalidateDirty which
  17296. limits the redraw to the thumb itself and surrounding pixels.
  17297. * XplatUIX11.cs (ScrollWindow): optimize copying.
  17298. 2006-05-12 Chris Toshok <[email protected]>
  17299. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  17300. Figure out the positioning/layout in a single pass instead of
  17301. multiple recursive invocations. Speeds up the initial display of
  17302. the data grid. Also, make many things private that were
  17303. originally public but unused outside this class.
  17304. 2006-05-11 Jackson Harper <[email protected]>
  17305. * MdiClient.cs: Improved layout code.
  17306. 2006-05-11 Jonathan Chambers <[email protected]>
  17307. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  17308. not SelectedObject.
  17309. 2006-05-11 Chris Toshok <[email protected]>
  17310. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  17311. union of that will always be {0,0,width,height}.
  17312. 2006-05-11 Jackson Harper <[email protected]>
  17313. * Form.cs: Match MS's DefaultSize for forms (they must have
  17314. changed the size in sp2).
  17315. 2006-05-11 Atsushi Enomoto <[email protected]>
  17316. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  17317. 2006-05-11 Atsushi Enomoto <[email protected]>
  17318. * TextControl.cs : Fixed bug #78109. This incorrect position
  17319. comparison caused crash on automatic line split.
  17320. * TextBoxBase.cs : reduce duplicate code.
  17321. 2006-05-10 Jackson Harper <[email protected]>
  17322. * MdiClient.cs: Active form is only sent to the back when using
  17323. the Next form functionality, when a form is clicked the current
  17324. active shouldn't be sent to the back.
  17325. - Layout the mdi windows when the container is first made visible.
  17326. * Form.cs: Give the MdiClient a ref to the containing form when we
  17327. create it.
  17328. 2006-05-10 Atsushi Enomoto <[email protected]>
  17329. * LinkLabel.cs : link_font could be uninitialized, so populate one
  17330. before actual use. Fixed bug #78340.
  17331. 2006-05-10 Atsushi Enomoto <[email protected]>
  17332. * XplatUIX11.cs : clipboard format native value is IntPtr.
  17333. Fixed bug #78283.
  17334. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17335. * Control.cs:
  17336. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  17337. which is passed up the parent chain by DefWndProc
  17338. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  17339. to DefWndProc (#77956)
  17340. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  17341. 2006-05-10 Jackson Harper <[email protected]>
  17342. * MdiClient.cs: We need to remove the controls from the mdi
  17343. collection, when we close the window.
  17344. * MdiWindowManager.cs: Special handling of closing mdi windows.
  17345. * InternalWindowManager.cs: Make the close method virtual so the
  17346. mdi window manager can handle it specially.
  17347. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  17348. * DataGrid.cs:
  17349. - Recalculate grid when the data source has changed
  17350. - Matches styles provided by user from all data sources types
  17351. * DataGridTableStyle.cs: For columns that provided by the user set the
  17352. with the preferred value is there was unassigned.
  17353. * CurrencyManager.cs: throw OnItemChanged event
  17354. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17355. * PictureBox.cs: Don't animate until handle is created. Start animation
  17356. when handle is created.
  17357. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17358. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  17359. current codebase.
  17360. * XEventQueue.cs: We don't need to provide the extra info
  17361. 2006-05-10 Jackson Harper <[email protected]>
  17362. * MdiClient.cs: If the mdi clients parent form has a background
  17363. image set, we draw that background image for the mdi area's
  17364. background.
  17365. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17366. * TextBoxBase.cs: Set IBeam cursor (#78347)
  17367. 2006-05-10 Mike Kestner <[email protected]>
  17368. * ToolBar.cs: fix some text padding issues with ButtonSize
  17369. calculation. Update the default size to match MS documentation.
  17370. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  17371. button size. Fixes #78296.
  17372. 2006-05-10 Mike Kestner <[email protected]>
  17373. * ListBox.cs: use is_visible for scrollbar positioning in case the
  17374. control isn't on screen yet. Fix off by one with Right vs Width
  17375. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  17376. 2006-05-10 Jackson Harper <[email protected]>
  17377. * X11Dnd.cs: Drop to a control with another control on top of it.
  17378. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  17379. be modified in click handlers. TODO: Look for similar problems in
  17380. other controls.
  17381. 2006-05-09 Jackson Harper <[email protected]>
  17382. * Form.cs: Window managers need the old window state when setting
  17383. window state now.
  17384. * InternalWindowManager.cs: Allow the base mdi window manager to
  17385. handle more of the MDI only stuff (like maximize buttons).
  17386. * MdiWindowManager.cs: Fix some snafus in changing the window
  17387. state. Add all the menu functionality, for both popup and
  17388. maximized menus.
  17389. * MdiClient.cs: When a new form is selected the currently
  17390. activated form is sent to the back, this matches MS.
  17391. - Implement a new method to activate the next mdi child window.
  17392. 2006-05-08 Peter Dennis Bartok <[email protected]>
  17393. * Control.cs:
  17394. - Added new InternalCapture method to allow controls to prevent
  17395. the capture behaviour on the click handlers
  17396. - Switched to use InternalCapture
  17397. * ComboBox.cs:
  17398. - Using InternalCapture to prevent mouse captures from being released
  17399. on mouse button release (Fixes #78100)
  17400. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  17401. returns Form borders if a caption is present. (Fixes #78310)
  17402. 2006-05-08 Peter Dennis Bartok <[email protected]>
  17403. * TreeNode.cs: Changed serialization .ctor to not require every field
  17404. to be present. (#78265)
  17405. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  17406. 2006-05-05 Alexander Olk <[email protected]>
  17407. * MimeIcon.cs: for is faster than foreach for strings.
  17408. 2006-05-05 Mike Kestner <[email protected]>
  17409. * CheckedListBox.cs: update check handling code to not use selected.
  17410. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  17411. behavior for visual feedback, motion response, shift/ctrl handling,
  17412. and properly deal with all 4 selection modes. Updates to bounds
  17413. handling logic. Add scroll wheel support. [Fixes #77842]
  17414. 2006-05-05 Peter Dennis Bartok <[email protected]>
  17415. * ListView.cs:
  17416. - Moved adding of Implicit controls into .ctor. That way, subsequent
  17417. creation of the controls will not cause them to think they are
  17418. toplevel windows (fixes #78200 header problem)
  17419. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  17420. - Switched visibility setting of header control to use internal field
  17421. to avoid triggering handle creation
  17422. - Now checking if handle is created before causing a refresh when items
  17423. are added (This makes us now match handle creation time with MS)
  17424. * Splitter.cs: Removed loading of private splitter cursor, switched to
  17425. Cursors version now that that is loading the right ones
  17426. * Cursors.cs: Load proper splitter cursors from resources
  17427. * Cursor.cs: Added second method of loading resource cursors for the
  17428. VS.Net users amongst us
  17429. 2006-05-05 Mike Kestner <[email protected]>
  17430. * ListView.cs: give header_control a minimum size based on the
  17431. ListView size.
  17432. 2006-05-05 Peter Dennis Bartok <[email protected]>
  17433. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  17434. window seems to do that with metacity, so set that type. (#78120)
  17435. 2006-05-05 Mike Kestner <[email protected]>
  17436. * ListViewItem.cs: fix Details mode checkbox layout bug.
  17437. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  17438. at the end of the header, if it exists. [Fixes for #78200]
  17439. 2006-05-04 Jackson Harper <[email protected]>
  17440. * MdiClient.cs: Add a helper property to get the container form.
  17441. * MdiWindowManager.cs: We have to make sure to use the menu origin
  17442. when drawing the icons and buttons, this fixes maximized window
  17443. icons/buttons on win32.
  17444. * InternalWindowManager.cs: Reset the restore captions when a
  17445. window goes from Maximized to Minimized and vice versa. Move the
  17446. DrawMaximizedButtons into the MdiWindowManager source, tool
  17447. windows can't be maximized. NOTE: This could use a little
  17448. refactoring if time ever permits.
  17449. 2006-05-03 Jonathan Chambers <[email protected]>
  17450. * TextBox.cs: Add MWFCategoryAttributes
  17451. * TextBoxBase.cs: Add MWFCategoryAttributes
  17452. * Form.cs: Add MWFCategoryAttributes
  17453. 2006-05-03 Jonathan Chambers <[email protected]>
  17454. * Control.cs: Add MWFCategoryAttributes
  17455. * ScrollableControl.cs: Add MWFCategoryAttributes
  17456. 2006-05-03 Alexander Olk <[email protected]>
  17457. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  17458. Divider is true. Fix a little glitch in PropertyToolBar
  17459. drawing code
  17460. 2006-05-02 Peter Dennis Bartok <[email protected]>
  17461. * Control.cs:
  17462. - Dispose: Call base.Dispose, this causes the disposed event
  17463. to be fired (and probably other, more important stuff)
  17464. - SetVisibleCore: Set is_visible to true after creating the
  17465. window so that the window still gets created invisible (if
  17466. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  17467. to generate a WM_ACTIVE message
  17468. * Form.cs: Call Dispose when we want to destroy the window, instead of
  17469. just destroying the handle (Dispose will do that for us)
  17470. * XplatUIX11.cs:
  17471. - RootWindow also needs a queue, so we can properly process the
  17472. property change events from RootWindow (like Activate)
  17473. - Generatic synthetic WM_ACTIVE message when the active window is
  17474. being destroyed
  17475. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17476. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  17477. bounds are changed
  17478. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17479. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  17480. for determining width and height (image might not be assigned if
  17481. we're drawing an imagelist)
  17482. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17483. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  17484. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  17485. height from system
  17486. * Theme.cs: No longer returns hardcoded menu height, instead calls
  17487. new driver method
  17488. * Form.cs (OnLoad): Scaling happens before triggering Load events
  17489. on MS (# 78257)
  17490. 2006-05-01 Mike Kestner <[email protected]>
  17491. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  17492. 2006-04-30 Peter Dennis Bartok <[email protected]>
  17493. * TextBoxBase.cs: Removed Fixme
  17494. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  17495. 2006-04-30 Peter Dennis Bartok <[email protected]>
  17496. * XplatUIX11.cs:
  17497. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  17498. the rectangle relative to the parent, considering borders. We
  17499. don't really want that.
  17500. - ScrollWindow: Fixed warning to be more understandable
  17501. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  17502. scrollbars and scroll only the visible area
  17503. * RichTextBox.cs: Removed debug output
  17504. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17505. * NumericUpDown.cs (Text): Just use base
  17506. * UpDownBase.cs: Ensure txtView is created before using it
  17507. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17508. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  17509. casting to IntPtr to avoid 64bit overflow errors
  17510. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17511. * Control.cs:
  17512. - AllowDrop: Don't force handle creation.
  17513. - CreateHandle: Added call to tell driver if we're allowed to drop
  17514. 2006-04-27 Alexander Olk <[email protected]>
  17515. * FileDialog.cs: Remember the last directory not only for the
  17516. current instance but also for new FileDialog instances.
  17517. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17518. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  17519. broke sending async messages
  17520. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17521. * XplatUIX11.cs:
  17522. - ScrollWindow: Fixed method. We finally generate expose events again
  17523. for scrolled areas. This was causing 'garbage' when scrolling
  17524. textbox and other controls that used ScrollWindow
  17525. - Switched from using the regular queue for paint events to the MS
  17526. model of 'generating' paint events when the queue is empty.
  17527. We use the new XQueueEvent.Paint subclass to store which windows
  17528. need painting.
  17529. - AddExpose now takes the x/y/width/height of the exposed area
  17530. and inserts the window into the paint queue if not already there
  17531. - InvalidateWholeWindow: Switched to use new AddExpose method
  17532. - UpdateMessageQueue: Added which queue to monitor for paint events
  17533. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  17534. the unlikely case nothing above handles it. We reset the expose
  17535. pending states to get them off the queue.
  17536. - GetMessage: Now pulls a paint event if no other events are in the
  17537. queue
  17538. - Invalidate: Switched to new AddExpose method
  17539. - PeekMessage: Updated to understand pending paint events
  17540. - UpdateWindow: Fixed logic bug. We were only updating if the window
  17541. didn't need updating. Also switched to sending WM_PAINT directly,
  17542. like MS does.
  17543. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  17544. and random access Remove(). The random access is needed to handle
  17545. UpdateWindow() where a WM_PAINT is sent directly without accessing
  17546. the queue.
  17547. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  17548. allow for better feedback when scrolling. Scrollbars are small and
  17549. the immediate update should make it 'feel' more responsive without
  17550. slowing things down. ScrollBar still needs it's invaliate logic
  17551. updated to not always invalidate the whole bar on certain changes.
  17552. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  17553. * Control.cs:
  17554. (BackColor): if the control does not support a transparent background,
  17555. return the default backcolor when the parent backcolor is transparent.
  17556. 2006-04-28 Peter Dennis Bartok <[email protected]>
  17557. * Application.cs: Updated to new StartLoop/GetMessage API
  17558. * RichTextBox.cs: Provide some output on RTF parsing errors
  17559. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  17560. new queue_id argument to GetMessage and PeekMessage to allow faster
  17561. handling of per-thread queues in drivers.
  17562. * Hwnd.cs: Added Queue tracking and property
  17563. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  17564. * XEventQueue.cs: Added thread trackingA
  17565. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  17566. * XplatUIX11.cs:
  17567. - Implemented new per-thread queue
  17568. - GetMessage: Fixed return/break behaviour on several cases. We were
  17569. returning stale messages in some cases, instead of just processing
  17570. the next message
  17571. 2006-04-27 Jonathan Chambers <[email protected]>
  17572. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  17573. 2006-04-27 Peter Dennis Bartok <[email protected]>
  17574. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  17575. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  17576. 2006-04-27 Jonathan Chambers <[email protected]>
  17577. * PropertyGridView.cs: Fix drop down width.
  17578. 2006-04-27 Alexander Olk <[email protected]>
  17579. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  17580. a mess in DrawToolBar, so I removed one of them.
  17581. 2006-04-27 Alexander Olk <[email protected]>
  17582. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  17583. needed (clip). Otherwise we get artifacts.
  17584. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17585. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  17586. dimension is fixed
  17587. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  17588. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  17589. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  17590. if it matches the scale base font (avoids unneeded scaling)
  17591. 2006-04-26 Alexander Olk <[email protected]>
  17592. * X11DesktopColors.cs: One gtk_init_check should be enough
  17593. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17594. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  17595. match MS behaviour
  17596. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17597. * TextBoxBase.cs:
  17598. - Generate OnTextChanged for Backspace even if we're only deleting
  17599. the current selection
  17600. - When setting the Text property, only select all text if the
  17601. control does not have focus when it is being set. Otherwise
  17602. just place the cursor at the beginning of the control
  17603. 2006-04-26 Alexander Olk <[email protected]>
  17604. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  17605. Added a little helper to draw PropertyGrid ToolBar with a different
  17606. border and a different BackColor.
  17607. * PropertyGrid.cs: Some background parts didn't get painted with the
  17608. correct background color. Added a class that helps us to draw the
  17609. correct border for PropertyGridView and a class that helps us to
  17610. draw ToolBars with a different backcolor
  17611. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  17612. 2006-04-25 Jonathan Chambers <[email protected]>
  17613. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  17614. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  17615. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17616. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  17617. into the palette entries. Also, since we're working on a copy
  17618. we needed to copy the palette back onto the bitmap.
  17619. * Cursor.cs: Same fix as XplatUIWin32.cs.
  17620. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17621. * ImageListStreamer.cs: Need to read the var (or we're off)
  17622. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17623. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  17624. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  17625. TextBoxBase.cs: Unused var fixes
  17626. * AxHost.cs: Small 2.0 fix
  17627. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  17628. as it seems that is what at least Metacity expects. This will make
  17629. icons show up on 64bit platforms. We still have some 64bit size
  17630. issues, though, since the startup app window size still won't match.
  17631. 2006-04-25 Mike Kestner <[email protected]>
  17632. * *.cs: cleanup newly reported exception var unused warnings.
  17633. 2006-04-25 Alexander Olk <[email protected]>
  17634. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  17635. ms
  17636. 2006-04-25 Alexander Olk <[email protected]>
  17637. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  17638. image. The image position is always the same, no matter if the
  17639. button is pressed or not.
  17640. 2006-04-25 Alexander Olk <[email protected]>
  17641. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  17642. selection and set the correct filename for SaveFileDialog.
  17643. Patch by Emery Conrad.
  17644. 2006-04-24 Mike Kestner <[email protected]>
  17645. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  17646. check for item.X outside the ClientRect instead of item.Y. Fixes
  17647. #78151.
  17648. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  17649. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  17650. trust that value blindly and do some sanity check. Fixes bug #77814.
  17651. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  17652. * ImageListStreamer.cs: save the mask as a 1bpp image.
  17653. 2006-04-21 Mike Kestner <[email protected]>
  17654. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  17655. pass Checked and Indeterminate to the Theme Engine. Improve
  17656. encapsulation with ListBox.
  17657. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  17658. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  17659. nested types. Move all CheckState functionality to CheckedListBox.
  17660. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  17661. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  17662. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  17663. single base list. Fix scrollbar sizing and placement to mirror MS.
  17664. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  17665. used.
  17666. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  17667. for CheckedListBox by using new DrawItemState info. Center the
  17668. checkboxes on the items. Use new StringFormat property.
  17669. 2006-04-18 Jackson Harper <[email protected]>
  17670. * Form.cs: MdiChildren don't do default locations the same way as
  17671. regular forms. This prevents a crash when trying to position the
  17672. mdi windows.
  17673. 2006-04-17 Jonathan Chambers <[email protected]>
  17674. * PropertyGridTextBox.cs: Formatting, copyright
  17675. * PropertiesTab.cs: Formatting
  17676. * PropertyGrid.cs: Formatting
  17677. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  17678. click toggling of values
  17679. 2006-04-17 Peter Dennis Bartok <[email protected]>
  17680. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  17681. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  17682. every time a control is created
  17683. * Application.cs: Removed obsolete EnableRTLMirroring method
  17684. 2006-04-18 Gert Driesen <[email protected]>
  17685. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  17686. SelectedIndex to -1. Fixes bug #78121.
  17687. 2006-04-17 Jackson Harper <[email protected]>
  17688. * Binding.cs: Handle null values for Current and BindingContext.
  17689. This occurs when binding is a little delayed.
  17690. * CurrencyManager.cs: return null for Current when there are no
  17691. items in the list.
  17692. - Hookup to the listchanged event on the DataView and update
  17693. bindings when the list is changed. This fixes late binding of
  17694. controls.
  17695. 2006-04-17 Jackson Harper <[email protected]>
  17696. * X11Dnd.cs:
  17697. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  17698. Ringenbach.
  17699. 2006-04-15 Alexander Olk <[email protected]>
  17700. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  17701. place
  17702. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  17703. with the correct ButtonState
  17704. 2006-04-14 Peter Dennis Bartok <[email protected]>
  17705. * XplatUIX11.cs: Improved distinguishing between window types to
  17706. tell the WM a type closer to what the app wants (Fixes #78107)
  17707. 2006-04-14 Alexander Olk <[email protected]>
  17708. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  17709. GrabHandle
  17710. 2006-04-14 Alexander Olk <[email protected]>
  17711. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  17712. drawing code to reflect the size grip changes
  17713. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  17714. * ImageListStreamer.cs: fix handling of the mask that follows the main
  17715. bitmap when deserializing and serialize it properly. The generated mask
  17716. should better be a 1bpp image, but I'll do that later.
  17717. 2006-04-13 Alexander Olk <[email protected]>
  17718. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  17719. path doesn't fit into some of our Current.Places
  17720. 2006-04-13 Jackson Harper <[email protected]>
  17721. * ComboBox.cs: Use borders instead of drawing our own decorations,
  17722. try to obey correct rules for heights.
  17723. * Theme.cs:
  17724. * ThemeNice.cs:
  17725. * ThemeClearLooks.cs:
  17726. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  17727. this is now handled by borders.
  17728. - Remove unused DrawListBoxDecorationSize method.
  17729. 2006-04-13 Mike Kestner <[email protected]>
  17730. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  17731. reported by Alex.
  17732. 2006-04-13 Alexander Olk <[email protected]>
  17733. * ThemeWin32Classic.cs:
  17734. - Fixed CPDrawStringDisabled
  17735. - Corrected drawing of disabled menu items
  17736. - Fixed drawing of disabled radio buttons (bug #78095)
  17737. - Draw check in a disabled CheckBox with color ControlDark
  17738. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17739. * Form.cs: Use the provided width when calculating the menu size;
  17740. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  17741. and ClientSize.Width won't be updated yet
  17742. * Application.cs: Use Visible instead of Show() to make form visible,
  17743. this way we create the handle later and menusize is considered
  17744. 2006-04-12 Mike Kestner <[email protected]>
  17745. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  17746. reporting.
  17747. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17748. * TextBox.cs: Implemented context menu
  17749. 2006-04-12 Mike Kestner <[email protected]>
  17750. * ListView.cs: implement box selection. fixes #77838.
  17751. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  17752. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17753. * XplatUIX11.cs: Added setting of window type when transient window
  17754. is created (metacity would move it otherwise)
  17755. * X11Structs.cs: Added WINDOW_TYPE atoms
  17756. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  17757. background (the control is Opaque but still wants transparent
  17758. backgrounds)
  17759. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17760. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  17761. that set Opaque but don't mean it (like all ButtonBase-derived
  17762. controls) to still draw their background
  17763. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  17764. the background
  17765. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17766. * Control.cs (PaintControlBackground): Set the graphics object
  17767. on our PaintEvent to null to prevent it from being disposed
  17768. when the PaintEvent gets disposed
  17769. 2006-04-12 Alexander Olk <[email protected]>
  17770. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  17771. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  17772. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17773. * Control.cs:
  17774. - Added transparency check to BackColor property. Transparent
  17775. backgrounds are only allowed if the control styles permit it
  17776. - Added recursive painting of parent control background and
  17777. foreground if a control with a transparent backcolor is drawn
  17778. (Thanks to Tim Ringenback for providing his 'hack' as a base
  17779. for this patch) Fixes #77985 and #78026.
  17780. - Added Opaque style check before calling OnPaintBackground, no
  17781. need to draw the background if the control is opaque
  17782. - Removed ControlAccessibleObject owner variable (inherited from
  17783. base, no need to define again)
  17784. - Added some documentation links explaining the drawing events
  17785. and styles
  17786. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17787. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  17788. that the affected control is the located at the left border of our
  17789. parent (Fixes #77936)
  17790. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17791. * TextBoxBase.cs: When rendering disabled or readonly controls,
  17792. draw the background with 'Control' instead of 'Window' color as
  17793. long as the user hasn't specifically set a color
  17794. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17795. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  17796. since that won't be updated if the user types text (only if it's
  17797. programatically set)
  17798. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17799. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  17800. layout changes do to app-triggered resizes will have the proper
  17801. display rectangle for layout
  17802. 2006-04-11 Alexander Olk <[email protected]>
  17803. * ThemeWin32Classic.cs:
  17804. - Make use of the SystemBrushes and SystemPens wherever possible
  17805. - Corrected some highlight colors
  17806. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  17807. drawing
  17808. * Theme.cs: Added Empty field to CPColor struct
  17809. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17810. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  17811. is displayed when calculating the display rectangle. Thanks to Mike
  17812. for teaching me the err of my ways.
  17813. 2006-04-10 Peter Dennis Bartok <[email protected]>
  17814. * ScrollableControl.cs:
  17815. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  17816. (instead of 0,0) and we now return the real width/height instead of
  17817. just the clientrectangle, adjusted for padding. The rectangle is
  17818. now cached and created by the new CalculateDisplayRectangle method.
  17819. - Created new CalculateDisplayRectange method, which basically does
  17820. what get_DisplayRectangle() did originally, but now using the
  17821. right edge instead of DisplayRectangle to determine the size of
  17822. our scrollbars
  17823. - get_Canvas(): Fixed it to properly calculate canvas for
  17824. right/bottom controls which seem to be placed to the right/bottom
  17825. of any controls that have a fixed location
  17826. - Removed TODO that's taken care of
  17827. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  17828. and SetDisplayRectLocation according to new MSDN2 docs
  17829. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  17830. event when that is called, this is added for compatibility
  17831. - ScrollControlIntoView(): Implemented.
  17832. - Switched scrollbars to be implicit, they shouldn't be selectable
  17833. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  17834. call it when the active control is set/changed
  17835. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  17836. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  17837. implicit_control variable (used for native Win32 message generation)
  17838. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  17839. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  17840. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  17841. * XplatUIStructs.cs: Added ScrollBarCommands enum
  17842. 2006-04-10 Jackson Harper <[email protected]>
  17843. * ButtonBase.cs:
  17844. * CheckedListBox.cs:
  17845. * ComboBox.cs:
  17846. * DataGrid.cs:
  17847. * DataGridView.cs:
  17848. * Form.cs:
  17849. * GroupBox.cs:
  17850. * ListBox.cs:
  17851. * PrintPreviewControl.cs:
  17852. * ProgressBar.cs:
  17853. * PropertyGrid.cs:
  17854. * Splitter.cs:
  17855. * StatusBar.cs:
  17856. * TrackBar.cs:
  17857. * UpDownBase.cs: Fixup base event overrides.
  17858. 2006-04-06 Mike Kestner <[email protected]>
  17859. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  17860. all user-initiated value changes to min <= value <= max-thumbsz+1.
  17861. (set_Value): check for vert/horiz when calculating new thumb position.
  17862. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  17863. like MS does.
  17864. (OnMouseMoveSB): refactor the thumb dragging code and refine
  17865. invalidation logic to reduce flicker.
  17866. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  17867. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  17868. (UpdateThumbPosition): small code readability cleanup
  17869. 2006-04-10 Alexander Olk <[email protected]>
  17870. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  17871. different
  17872. 2006-04-08 Alexander Olk <[email protected]>
  17873. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  17874. 2006-04-08 Alexander Olk <[email protected]>
  17875. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  17876. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  17877. This dramatically reduces the number of Pen.Dispose calls.
  17878. Where possible call ResPool methods only once instead of calling it
  17879. over and over again (for example for the same color).
  17880. 2006-04-06 Mike Kestner <[email protected]>
  17881. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  17882. Also remove an unused private field on the collection. Fixes #77972.
  17883. 2006-04-06 Alexander Olk <[email protected]>
  17884. * ThemeNice.cs: Added ToolBar drawing code
  17885. 2006-04-06 Mike Kestner <[email protected]>
  17886. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  17887. I'm assuming that means we need to look up the toplevel for the
  17888. provided control. Fixes the crash trace in #77911 but exposes another
  17889. crash in some strange reflection usage in NDocGui.
  17890. 2006-04-06 Alexander Olk <[email protected]>
  17891. * ThemeNice.cs: Gave it a little silver touch and added Images
  17892. method
  17893. * FontDialog.cs: FontDialog is not resizable
  17894. * FileDialg.cs: Added SizeGripStyle.Show
  17895. 2006-04-05 Jackson Harper <[email protected]>
  17896. * KeyboardLayouts.cs: Remove warning.
  17897. 2006-04-05 Jackson Harper <[email protected]>
  17898. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  17899. all of our controls instead of Paint +=.
  17900. * ListBox.cs:
  17901. * ListView.cs:
  17902. * MenuAPI.cs:
  17903. * MessageBox.cs:
  17904. * NotifyIcon.cs:
  17905. * ProgressBar.cs:
  17906. * ScrollBar.cs:
  17907. * Splitter.cs:
  17908. * StatusBar.cs:
  17909. * TabControl.cs:
  17910. * TextBoxBase.cs:
  17911. * ToolBar.cs:
  17912. * TrackBar.cs:
  17913. * UpDownBase.cs:
  17914. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  17915. use OnPaintInternal. Remove Width/Height and Visible checks in
  17916. paint handler, this is done at a higher level now.
  17917. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  17918. * PaintEventArgs.cs: Add a handled flag so controls that don't
  17919. want anymore painting after OnPaintInternal can make sure OnPaint
  17920. isn't called.
  17921. 2006-04-05 Mike Kestner <[email protected]>
  17922. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  17923. state of the form, so that we don't process events when Modal dialogs
  17924. are up. Fixes #77922.
  17925. 2006-04-05 Alexander Olk <[email protected]>
  17926. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  17927. checking is done.
  17928. 2006-04-05 Mike Kestner <[email protected]>
  17929. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  17930. 2006-04-05 Mike Kestner <[email protected]>
  17931. * ListView.cs (HeaderMouseMove): null guarding for the over column
  17932. when setting up the drag_to_index. Fixes #78015.
  17933. 2006-04-04 Peter Dennis Bartok <[email protected]>
  17934. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  17935. in the taskbar. Transient windows seem to accomplish that.
  17936. 2006-04-04 Peter Dennis Bartok <[email protected]>
  17937. * Form.cs:
  17938. - Re-enabled CreateParams.X/Y code for FormStartPosition
  17939. - Added code for manual placement when creating the Control
  17940. - Incomplete patch to treat MDI forms differently when
  17941. setting the ClientSizeCore. (Still need to figure out handling
  17942. x/y coords there)
  17943. * XplatUIX11.cs:
  17944. - When we're explicitly setting the X/Y position of a non-Child
  17945. window, let the WM know. Metacity really wants this.
  17946. 2006-04-04 Alexander Olk <[email protected]>
  17947. * ThemeNice.cs: Added CPDrawButton
  17948. 2006-04-04 Alexander Olk <[email protected]>
  17949. * ThemeNice.cs: Changed the color for focused buttons and activated
  17950. the arrows for small scroll buttons.
  17951. 2006-04-04 Alexander Olk <[email protected]>
  17952. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  17953. anymore. Changed some method modifiers to protected (virtual)
  17954. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  17955. changes
  17956. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  17957. Updated drawing of menus, buttons and progressbars; added
  17958. CPDrawBorder3D
  17959. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  17960. * ImageListStreamer.cs: implemented serialization/deserialization
  17961. of the images.
  17962. 2006-04-03 Alexander Olk <[email protected]>
  17963. * ThemeWin32Classic.cs:
  17964. - Removed all the DrawFrameControl stuff; CPDrawButton,
  17965. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  17966. inside the methods
  17967. - Updated and corrected the drawing code of CPDrawButton,
  17968. CPDrawCheckBox and CPDrawRadioButton to better match ms
  17969. - Updated theme checkbox and radiobutton code to use the CP*
  17970. methods
  17971. 2006-03-31 Peter Dennis Bartok <[email protected]>
  17972. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  17973. bug is fixed
  17974. 2006-03-31 Jackson Harper <[email protected]>
  17975. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  17976. sometimes.
  17977. * UpDownBase.cs: Don't CreateGraphics manually, use a
  17978. Refresh. Ideally we would invalidate the correct areas here.
  17979. 2006-03-31 Peter Dennis Bartok <[email protected]>
  17980. * XplatUIX11.cs:
  17981. - We now track the mapping state of windows. If a window (or
  17982. one of it's parents) is not mapped we no longer permit
  17983. WM_PAINT messages to be generated since we'd otherwise get
  17984. lots of BadMatch X errors. Jackson did all the work figuring
  17985. out the problem.
  17986. - Destroying the caret if the window it's contained in is
  17987. destroyed. Can't use regular DestroyCaret method since it
  17988. might fall into a drawing function (trying to remove the
  17989. caret) and with that generate new BadMatch errors. Again,
  17990. Jackson tracked this down.
  17991. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  17992. make sure we send the messages to all windows. (The old code
  17993. would send the WM_DESTROY to the window, and then all child
  17994. windows would be 'gone' because the WM_DESTROY handle lookup
  17995. would no longer find the destroyed window)
  17996. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  17997. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  17998. 2006-03-31 Jackson Harper <[email protected]>
  17999. * ScrollableControl.cs: Dont recalc if we are not visible.
  18000. 2006-03-31 Mike Kestner <[email protected]>
  18001. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  18002. the visibility branch.
  18003. 2006-03-31 Jackson Harper <[email protected]>
  18004. * ScrollBar.cs: Cap values when incrementing/decrementing.
  18005. 2006-03-31 Mike Kestner <[email protected]>
  18006. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  18007. * ToolTip.cs: guard against timer expirations with no active control.
  18008. Not sure why it happened.
  18009. 2006-03-31 Mike Kestner <[email protected]>
  18010. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  18011. text.
  18012. * ToolTip.cs: Position the tooltip based on where the cursor is at
  18013. popup time, not at MouseEnter time. Add a Down state so that we don't
  18014. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  18015. positioning offset. Lookup DisplaySize at positioning time, since it
  18016. can theoretically change during invocation.
  18017. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  18018. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  18019. 2006-03-31 Alexander Olk <[email protected]>
  18020. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  18021. Fixes behaviour when the Text property of the box is String.Empty
  18022. 2006-03-31 Peter Dennis Bartok <[email protected]>
  18023. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  18024. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  18025. a window)
  18026. 2006-03-31 Alexander Olk <[email protected]>
  18027. * FileDialog.cs: Visual enhancement for the popup buttons in
  18028. PopupButtonPanel
  18029. 2006-03-31 Alexander Olk <[email protected]>
  18030. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  18031. code
  18032. 2006-03-30 Alexander Olk <[email protected]>
  18033. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  18034. highlighted menu items to match ms
  18035. 2006-03-30 Peter Dennis Bartok <[email protected]>
  18036. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  18037. 2006-03-30 Mike Kestner <[email protected]>
  18038. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  18039. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  18040. go active to account for HotLight to Selected transition.
  18041. * MenuItem.cs: add internal Selected prop. Fill out the Status
  18042. property by calculating it from item info. Add HotLight,
  18043. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  18044. 2006-03-30 Mike Kestner <[email protected]>
  18045. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  18046. 2006-03-29 Jackson Harper <[email protected]>
  18047. * Form.cs: Implement TODO.
  18048. 2006-03-29 Peter Dennis Bartok <[email protected]>
  18049. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  18050. missing proper dialog setup in the constructor
  18051. 2006-03-29 Peter Dennis Bartok <[email protected]>
  18052. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  18053. * Control.cs:
  18054. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  18055. - Fixed ResetBindings and removed TODO
  18056. - Added check for cross-thread calls to get_Handle()
  18057. - Added Marshaller attribute for set_Font to satisfy class status
  18058. * FontDialog.cs: Removed TODOs that seemed implemented
  18059. * UpDownBase.cs: Removed unneeded TODO and Fixme
  18060. * MessageBox.cs: Implemented support for Default button and removed TODO
  18061. * FileDialog.cs: Removed obsolete TODO
  18062. * DomainUpDown.cs: Removed obsolete TODO
  18063. * ButtonBase.cs: Removed obsolete TODO
  18064. * XplatUIWin32.cs: Removed obsolete TODO
  18065. * Form.cs:
  18066. - Removed obsolete TODO
  18067. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  18068. internal status updates
  18069. - Making sure the active control is selected when the control is created
  18070. * CurrencyManager.cs: Removed obsolete TODO
  18071. 2006-03-29 Mike Kestner <[email protected]>
  18072. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  18073. of PrintPreviewDialog and RichTextBox.
  18074. 2006-03-29 Alexander Olk <[email protected]>
  18075. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  18076. DarkDark, Light and LightLight colors for a specific color
  18077. * ThemeWin32Classic.cs:
  18078. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  18079. Appearance = Button
  18080. - Make use of the new ResPool helper CPColor
  18081. - Draw ProgressBar and StatusBar with correct 3D borders
  18082. 2006-03-29 Alexander Olk <[email protected]>
  18083. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  18084. 2006-03-28 Mike Kestner <[email protected]>
  18085. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  18086. calculating col/row counts.
  18087. 2006-03-28 Mike Kestner <[email protected]>
  18088. * ColumnHeader.cs:
  18089. * ListView.cs:
  18090. * ListViewItem.cs:
  18091. * Menu.cs:
  18092. switch to explicit interface method implementation for some methods
  18093. corcompare identifies as inconsistent with MS.
  18094. 2006-03-28 Mike Kestner <[email protected]>
  18095. * MainMenu.cs:
  18096. * Menu.cs:
  18097. add a few missing methods from the class status output.
  18098. 2006-03-28 Alexander Olk <[email protected]>
  18099. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  18100. correct.
  18101. 2006-03-28 Mike Kestner <[email protected]>
  18102. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  18103. 2006-03-27 Mike Kestner <[email protected]>
  18104. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  18105. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  18106. 2006-03-27 Alexander Olk <[email protected]>
  18107. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  18108. 2006-03-25 Alexander Olk <[email protected]>
  18109. * ThemeWin32Classic.cs:
  18110. - GroupBox: Inserted a little gap between the text and the lines
  18111. on the right side
  18112. - Made the code in CPDrawBorder3D more readable
  18113. - Corrected the drawing location of the up and down arrows in
  18114. CPDrawScrollButton
  18115. 2006-03-25 Alexander Olk <[email protected]>
  18116. * ControlPaint.cs: Corrected line widths in DrawBorder for
  18117. ButtonBorderStyle Inset and Outset
  18118. 2006-03-25 Alexander Olk <[email protected]>
  18119. * ThemeWin32Classic.cs:
  18120. - Rewrote the totally broken CPDrawBorder3D method. That was
  18121. one of the main problems for the terrific ThemeWin32Classic
  18122. look
  18123. - Updated and corrected Button drawing
  18124. - Correct the dimensions of the SizeGrip to match ms ones
  18125. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  18126. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  18127. Border3DStyle.Sunken to match ms.
  18128. 2006-03-25 Alexander Olk <[email protected]>
  18129. * ThemeWin32Classic.cs: First small part of the "de-uglify
  18130. ThemeWin32Classic" effort, SizeGrip
  18131. 2006-03-24 Jackson Harper <[email protected]>
  18132. * XplatUIX11.cs: Give a max idle time of one second, this matches
  18133. MS and forces an Idle event every second when there are no other
  18134. events in the queue.
  18135. 2006-03-24 Mike Kestner <[email protected]>
  18136. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  18137. * ListView.Item.cs: fix layout issues with null image lists and images
  18138. smaller than checkbox size.
  18139. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  18140. mode like MS does. It's weird, but consistent. ;-)
  18141. Fixes #77890.
  18142. 2006-03-24 Mike Kestner <[email protected]>
  18143. * ListView.cs: Scroll wheel support for the item control. Fixes
  18144. #77839.
  18145. 2006-03-23 Jackson Harper <[email protected]>
  18146. * ScrollableControl.cs: Special case negative sized areas, not
  18147. zero.
  18148. * MonthCalendar.cs: Save the rect of the clicked date so we can
  18149. use it for invalidation.
  18150. - Try to cut down on the number of invalidates
  18151. - Invalidate the rect the mouse is over and was over when moving
  18152. the mouse, so we get the focus box following the cursor.
  18153. 2006-03-23 Mike Kestner <[email protected]>
  18154. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  18155. focus rectangle drawing. Fixes #77835.
  18156. 2006-03-23 Mike Kestner <[email protected]>
  18157. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  18158. the if and else if and reverting back to the original == check on the
  18159. None conditional.
  18160. 2006-03-23 Alexander Olk <[email protected]>
  18161. * FontDialog.cs: Update the example panel if the selected index of
  18162. the fontListBox changes.
  18163. 2006-03-23 Alexander Olk <[email protected]>
  18164. * FileDialog.cs: Make FileDialog remember which directory it was in
  18165. last in the same execution.
  18166. 2006-03-22 Mike Kestner <[email protected]>
  18167. * FileDialog.cs: make the DropDownMenu on the toolbar display
  18168. RadioChecks since they are mutually exclusive and that's what MS does.
  18169. 2006-03-22 Mike Kestner <[email protected]>
  18170. * Theme.cs: add Color param to CPDrawMenuGlyph.
  18171. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  18172. checks and radio marks and arrows are visible on highlighted items.
  18173. * ControlPaint.cs: update to use new Theme signature.
  18174. 2006-03-22 Mike Kestner <[email protected]>
  18175. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  18176. is active. Fixes #77870.
  18177. 2006-03-22 Alexander Olk <[email protected]>
  18178. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  18179. to be focused/selected after startup
  18180. 2006-03-22 Alexander Olk <[email protected]>
  18181. * ColorDialog.cs:
  18182. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  18183. CustomColors and ShowHelp properties
  18184. - Some internal rewrites to get better results when using the
  18185. ColorMatrix
  18186. 2006-03-22 Mike Kestner <[email protected]>
  18187. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  18188. HoverSelection. Fixes #77836.
  18189. 2006-03-22 Mike Kestner <[email protected]>
  18190. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  18191. ToggleButtons. (De)Sensitize the Back button around a stack count of
  18192. 1, not 0. Update ButtonSize based on a pixel count of the win32
  18193. control. Adjust the toolbar size/location for new button size.
  18194. 2006-03-22 Jackson Harper <[email protected]>
  18195. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  18196. true.
  18197. * ScrollBar.cs: When doing increments and decrements we need to
  18198. set the Value property so that ValueChanged gets raised. A
  18199. possible optimization here would be to make an internal SetValue
  18200. that doesn't invalidate immediately.
  18201. * ToolTip.cs: Tooltips get added to their container (when
  18202. supplied) so they get disposed when the container is disposed.
  18203. - Don't create tooltips for String.Empty. This prevents all these
  18204. little 2-3 pixel windows from showing up when running nunit-gui
  18205. and driving me mad.
  18206. * Form.cs: Don't set topmost when setting the owner if the handles
  18207. haven't been created yet. The topmost set will happen when the
  18208. handles are created.
  18209. 2006-03-22 Peter Dennis Bartok <[email protected]>
  18210. * XplatUIX11.cs:
  18211. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  18212. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  18213. visible (to allow them to recalculate their sizes)
  18214. 2006-03-21 Mike Kestner <[email protected]>
  18215. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  18216. methods. Removed a ton of redundant code. Still not really happy with
  18217. the border rendering, but I think that's mainly because of the
  18218. ControlDarkDark being black instead of a dark grey. Depending on how
  18219. close we want to be, we might want to revisit those color choices.
  18220. Among the new features added during the refactor were DropDownArrow
  18221. pressed rendering, Disabled image rendering. Proper flat appearance
  18222. boundary rendering. Removed the Divider and Wrapping dividers since I
  18223. can't figure out any combination of themes and conditions to make the
  18224. MS control draw a horizontal line on a toolbar despite what the
  18225. Divider property docs indicate.
  18226. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  18227. conditions and incorrect layout. Updated to coding standard.
  18228. * ToolBarButton.cs: refactored layout and positioning code from
  18229. ToolBar to here. Invalidate wherever possible instead of forcing
  18230. redraws of the whole toolbar.
  18231. (Known remaining issues: explicit ButtonSize smaller than provided
  18232. images.)
  18233. 2006-03-21 Mike Kestner <[email protected]>
  18234. * ContextMenu.cs (Show): use the position parameter instead of just
  18235. showing at the MousePosition.
  18236. 2006-03-21 Jackson Harper <[email protected]>
  18237. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  18238. control handle this.
  18239. * TreeNodeCollection.cs: If we are clearing the root node we need
  18240. to reset top_node so calcs can still happen.
  18241. * ThemeWin32Classic.cs: This is a Flags so we need to check
  18242. properly.
  18243. 2006-03-21 Jackson Harper <[email protected]>
  18244. * DataGrid.cs: Create columns when the binding context has been
  18245. changed.
  18246. * X11Structs.cs: Keysyms are uints.
  18247. - Add size to fix build.
  18248. 2006-03-21 Peter Dennis Bartok <[email protected]>
  18249. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  18250. XplatUIOSX.cs:
  18251. - Added ResetMouseHover method to allow controls to retrigger
  18252. hovering if they need it more than once
  18253. - Implemented MouseHoverTime and MouseHoverSize properties
  18254. * Timer.cs: Start() must reset the interval
  18255. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  18256. properties
  18257. 2006-03-21 Jackson Harper <[email protected]>
  18258. * X11Keyboard.cs: improved layout detection. Move the nonchar
  18259. tables into this file.
  18260. * KeyboardLayouts.cs: Move the tables into resource files.
  18261. 2006-03-21 Mike Kestner <[email protected]>
  18262. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  18263. 2006-03-21 Alexander Olk <[email protected]>
  18264. * Mime.cs: Various speed optimizations. Looking up mime types
  18265. is now 2 times faster than before
  18266. 2006-03-17 Peter Dennis Bartok <[email protected]>
  18267. * CreateParams.cs: Added internal menu field
  18268. * Control.cs:
  18269. - Switched call order for UpdateBounds; now we always call
  18270. the one that also takes ClientSize, and we're calculating the
  18271. client size via driver method in the others. The previous
  18272. method of tracking client size by difference wasn't working
  18273. for forms where even the starting client size wouldn't match
  18274. the overall form size (due to borders) (Part of fix for #77729)
  18275. - CreateParams(): Do not use parent.Handle unless the handle is
  18276. already created. Causes havoc with Nexxia and throws off our
  18277. creation of controls
  18278. * XplatUIX11.cs:
  18279. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  18280. - Switched handling of ConfigureNotify over to new PerformNCCalc
  18281. method (consolidates code)
  18282. - Changed RequestNCRecalc to use new PerformNCCalc method
  18283. - Added calls to RequestNCRecalc when menus and borders are changed
  18284. to allow app to set NC size. (Part of fix for #77729) This matches
  18285. when MS send a WM_NCRECALC on Win32 windows.
  18286. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  18287. (Part of fix for #77729). This matches what MS does, they also
  18288. send that message when the form is made visible.
  18289. - XException.GetMessage: Improved usability of X errors by including
  18290. a translation of the window into Hwnd and Control class
  18291. - Improved debug info for window creation, reparenting and destruction
  18292. - Created helper method WindowIsMapped() [Currently not used]
  18293. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  18294. * Form.cs:
  18295. - CreateParams: Now setting our menu on the new internal menu field
  18296. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  18297. avoid calculating the same property twice
  18298. * Hwnd.cs:
  18299. - Improved usability of ToString() for debugging purposes
  18300. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  18301. determine the height of the menu, instead of just the font. This
  18302. required to also create a graphics context and to keep a bmp
  18303. around (for performance reasons)
  18304. 2006-03-17 Peter Dennis Bartok <[email protected]>
  18305. * MenuAPI.cs: Added OnMouseUp method
  18306. * Form.cs:
  18307. - Now remembering the requested client size, avoids size errors
  18308. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  18309. instead of base if the menu is active. This is required due to
  18310. control now capturing and releasing on down/up and it would
  18311. prematurely release our menu capture
  18312. 2006-03-17 Jackson Harper <[email protected]>
  18313. * KeyboardLayouts.cs: Add the czech layouts.
  18314. 2006-03-16 Jackson Harper <[email protected]>
  18315. * Control.cs: Use the viewport space when sizing not the controls
  18316. client size, so things like ScrollableControl that effect the
  18317. viewport size (when scrollbars are added) are computed correctly.
  18318. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  18319. of ManagerEntrys.
  18320. - Handle creating BindingManagers for null data sources.
  18321. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  18322. source, otherwise when rows are added they are added to the 'fake'
  18323. datasource and we will crash when trying to set the position in
  18324. those rows.
  18325. - Use Implicit scrollbars on the datagrid so they arent
  18326. selectable.
  18327. 2006-03-16 Jackson Harper <[email protected]>
  18328. * Binding.cs:
  18329. * InternalWindowManager.cs:
  18330. * MdiWindowManager.cs:
  18331. * X11Keyboard.cs: I really want Mike to love me again (fix
  18332. compiler warnings).
  18333. 2006-03-16 Peter Dennis Bartok <[email protected]>
  18334. * DataGrid.cs:
  18335. - OnMouseDown: Switch to editing mode when clicking on the cell
  18336. even if we're clicking on the cell that's currently
  18337. selected
  18338. - ProcessGridKey: Left/Right now wrap like MS.Net does
  18339. - ProcessGridKey: Tab now knows to add a new row when tab is
  18340. pressed in the cell of the last column of the
  18341. last row
  18342. - ProcessGridKey: Enter now adds another row if pressed in the last
  18343. row and selectes the new row, same column cell
  18344. - ProcessGridKey: Home/End navigate columns, not rows, like
  18345. originally implemented
  18346. - Broke ProcessKeyPreview code out into an extra Internal method
  18347. so it can be called from the edit code
  18348. * DataGridTextBox.cs (ProcessKeyMessage):
  18349. - Switched to accept Tab keypresses
  18350. - Added F2 handling to allow jumping to the end of the edited cell
  18351. - Added logic to allow moving caret left/right inside edited cell
  18352. and making the edited cell jump when the caret hits cell borders
  18353. - Tab and Enter are now passed to the datagrid after being handled
  18354. * TextBoxBase.cs:
  18355. - Removed capture code now that Control handles it
  18356. - set_SelectionStart now ensures caret is visible
  18357. 2006-03-16 Jackson Harper <[email protected]>
  18358. * TrackBar.cs: Debackwards the increment/decrement for handling
  18359. mouse clicks on the bar with vertical trackbars.
  18360. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  18361. bottom to match MS.
  18362. 2006-03-16 Mike Kestner <[email protected]>
  18363. * ListView.cs: make shift/ctrl keyboard and mouse selection
  18364. consistent with the MS control. Fix a bug in
  18365. SelectedListViewItemCollection.Clear that was pissing me off for the
  18366. better part of a day because the collection was being altered
  18367. underneath us as we walked the list.
  18368. 2006-03-16 Peter Dennis Bartok <[email protected]>
  18369. * Control.cs: Not sure how we could miss this so long, but it seems
  18370. that MS.Net has Capture set all the way from before calling
  18371. OnMouseDown through sending the mouse events until after
  18372. OnMouseUp. This will fix DataGrid's selection being set to end
  18373. at the location of the MouseUp.
  18374. 2006-03-15 Jackson Harper <[email protected]>
  18375. * BindingContext.cs: Check the binding after its added so that it
  18376. can initialize the binding managers and hookup to events.
  18377. * Binding.cs: Data members seem to sometimes include rows/cols in
  18378. the format Row.Column we now take this into account.
  18379. - Hookup to the position changed event so we can update the
  18380. control when the position has changed in the data set.
  18381. * CurrencyManager.cs: Take into account the row/col naming
  18382. convention when creating dataset tables.
  18383. * BindingContext.cs: Using a newer better way of storing
  18384. datasource/datamember pairs. Hopefully this better matches MS for
  18385. looking up binding managers.
  18386. 2006-03-15 Jackson Harper <[email protected]>
  18387. * BindingContext.cs: The currency manager needs the data member
  18388. name, if the member is a data set we use the name to find the
  18389. correct table.
  18390. * CurrencyManager.cs: When creating the list prefer an IList over
  18391. an IListSource.
  18392. - Attempt to create a DataTable from a DataSet (TODO: might need
  18393. some better error checking here, although MS doesn't seem to have much)
  18394. - If we have a DataTable create a view and use it as our list.
  18395. 2006-03-15 Mike Kestner <[email protected]>
  18396. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  18397. keyboard navigation. Support Up/Down/Left/Right selection correctly
  18398. for all 4 View modes.
  18399. * ListViewItem.cs: add internal row/col fields for icon layouts.
  18400. 2006-03-15 Jackson Harper <[email protected]>
  18401. * TabControl.cs: Redraw the tabs when we resize so their newly
  18402. calculated sizes are drawn on screen.
  18403. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  18404. composite characters.
  18405. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  18406. - filter events so that composite characters can be created
  18407. patches by peter
  18408. * X11Structs.cs: Add XIMProperties enum.
  18409. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18410. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  18411. unless it's created
  18412. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18413. * Control.cs (PerformLayout): We don't need to consider visiblity
  18414. for anchoring, only for docking. This fixes 'whacky' alignment
  18415. in listbox and other controls that use implicit scrollbars after
  18416. the previous PerformLayout patch
  18417. * ListBox.cs: Switched to use implicit scrollbars
  18418. 2006-03-14 Mike Kestner <[email protected]>
  18419. * ToolBar.cs:
  18420. * VScrollBar.cs:
  18421. - chain up the "new event" overrides to base and use
  18422. OnEvent to raise them. Part of fix for bug #76509.
  18423. 2006-03-14 Alexander Olk <[email protected]>
  18424. * FileDialog.cs: Do not select an item in the parent directory
  18425. on backspace
  18426. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18427. * Control.cs (PerformLayout): It would seem that we considered
  18428. invisible windows for our layout. Not quite the right thing
  18429. to do. Now we don't any longer, thereby fixing bug #76889.
  18430. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18431. * Control.cs (CanFocus): I goofed. A control can have focus
  18432. even though it's not selectable. Made it match MS docs.
  18433. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18434. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  18435. center by default (fixes #76895)
  18436. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  18437. all uses of Border3DSides.All with the explicit ORd together
  18438. Left|Right|Top|Bottom because I assume that nobody was aware
  18439. that All also implies a center fill. Most places I checked had
  18440. a fill right above.
  18441. * ProgressBarStyle.cs: Added
  18442. 2006-03-13 Mike Kestner <[email protected]>
  18443. * ListView.cs: fix breakage in drag shadow header positioning
  18444. from Peter's csc compilation fix.
  18445. 2006-03-13 Mike Kestner <[email protected]>
  18446. * ListView.cs: fix NRE produced by backspacing twice in a focused
  18447. FileDialog.
  18448. 2006-03-13 Mike Kestner <[email protected]>
  18449. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  18450. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18451. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  18452. be changed
  18453. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  18454. the allowed size before making programmatic size changes
  18455. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18456. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  18457. set, metacity is broken and will still use the emty sizes in
  18458. the struct. (Fix for #77089)
  18459. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18460. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  18461. WindowExStyles and marked both enums as Flags
  18462. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  18463. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  18464. to match WindowStyles split
  18465. * XplatUIX11.cs:
  18466. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  18467. - Updated to match WindowStyles split
  18468. * XplatUIWin32.cs:
  18469. - Fixed FosterParent creation, was using ExStyle on the Style field
  18470. (This should help with Popup focus issues)
  18471. - Updated to match WindowStyles split
  18472. 2006-03-13 Jackson Harper <[email protected]>
  18473. * MdiWindowManager.cs: Use the system menu height. Fixes some
  18474. strange sizing issues.
  18475. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18476. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  18477. * TextBoxBase.cs:
  18478. - Scroll to caret after inserting text (#77672)
  18479. - Make scroll range one pixel higher, fixes off-by-one error (and
  18480. makes underlines visible on the last line)
  18481. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18482. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  18483. the keyboard state from being stuck with keys in 'pressed' state when
  18484. focus is switched away via keyboard
  18485. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  18486. reset the keyboard if no X11 KeyUp events are expected to come
  18487. * X11Structs.cs: Switched type of Visible to bool to match driver
  18488. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18489. * TextControl.cs:
  18490. - Switched caret to be just 1 pixel wide, matches MS and looks less
  18491. clunky
  18492. - Moved caret display 1 pixel down from the top of the control
  18493. to improve view
  18494. - InsertCharAtCharet: Update the selection start if moving the caret
  18495. (fixes bug #77696; based on patch suggested by [email protected])
  18496. - No longer always creating the caret when the caret methods are
  18497. called. Only the actual ShowCaret/HideCaret will do that now
  18498. - Only setting caret visible if the owner control has focus
  18499. - UpdateView: Added invalidation-shortcut logic for center and right
  18500. aligned text. Previously we'd update all according to the left
  18501. logic which caused drawing errors. Also fixed height of invalidated
  18502. areas, now properly invalidating the whole area (was off-by-one)
  18503. - owner_HandleCreated: Always generate the document when the
  18504. handle is created; this ensures that
  18505. * TextBoxBase.cs:
  18506. - Fixed situation where caret would disappear under the right
  18507. window border, also improved scrolling behaviour on left-
  18508. aligned textboxes
  18509. - Fixed right-aligned textboxes to have a border to the
  18510. right instead of the caret being under the right border
  18511. * XplatUIX11.cs:
  18512. - Switched from 'nested' to simple visible/not visible tracking
  18513. for caret (part of fix for #77671)
  18514. - No longer passing through translated FocusIn/FocusOut messages
  18515. since we were notifying too often and the wrong windows. Instead
  18516. we just notify our focussed window of receiving or loosing focus
  18517. * XplatUIWin32.cs: Switched from 'nested' show/hide
  18518. counting for caret to simple visible yes/no behaviour (part of
  18519. fix for #77671)
  18520. 2006-03-11 Alexander Olk <[email protected]>
  18521. * Mime.cs: Remove debug code...
  18522. 2006-03-11 Alexander Olk <[email protected]>
  18523. * MimeGenerated.cs: Removed
  18524. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  18525. and subclasses) from /usr/(local/)share/mime and
  18526. $HOME/.local/share/mime.
  18527. 2006-03-10 Jackson Harper <[email protected]>
  18528. * MdiWindowManager.cs: Recalc the NC area when a window is
  18529. maximized/restored so that the menu area is drawn on forms that
  18530. don't have a menu.
  18531. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18532. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  18533. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  18534. us to force a WM_NCCALCRESIZE message being sent. This is needed
  18535. for MDI maximizing.
  18536. 2006-03-10 Jackson Harper <[email protected]>
  18537. * Form.cs: We need to use the ActiveMenu when calculating menu
  18538. height.
  18539. - Fix nullref when the window manager hasn't been created yet.
  18540. * Control.cs: Fix nullref when we try to bring a control to the
  18541. front that has no parent.
  18542. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  18543. height.
  18544. - Add a dummy item to the maximized menu so it always has the
  18545. correct height. Otherwise when there are no menus we don't get our
  18546. icon and buttons.
  18547. 2006-03-10 Jackson Harper <[email protected]>
  18548. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  18549. stuff.
  18550. * Form.cs: Make the window_state internal so the window managers
  18551. can track it.
  18552. - When an MDI child is maximized let its window manager create the
  18553. main menu (so it can add its icon).
  18554. - Notify the window managers of state changes
  18555. - Let the window manager paint its buttons and handle button
  18556. clicks on the menu when it is maximized.
  18557. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  18558. window manager, since tool windows don't use it, only mdi windows.
  18559. - Tell the main form that we don't want it to handle NCPAINT
  18560. itself to avoid extra painting.
  18561. - Handle clicks on a maximized windows menu.
  18562. - Handle window state changes
  18563. - Handle minimize/maximize clicks correctly by setting the window state.
  18564. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  18565. when clicking on the forms icon).
  18566. - New method to create a forms maximized menu. This is its normal
  18567. menu + an icon.
  18568. - Handle window state changes.
  18569. - Handle sizing of maximized windows. Maximized windows are just
  18570. drawn bigger then the parent visible area. All controls are still
  18571. there, they are just outside the visible area (this matches windows).
  18572. * MdiClient.cs: No scrollbars when a child window is maximized.
  18573. - Let the children windows figure out how big they should be when
  18574. sizing maximized windows.
  18575. - Implement a version of ArrangeIconicWindows somewhat similar to
  18576. Windows version. There are some little differences, but I don't
  18577. think any app will rely on the layout of minimized mdi windows.
  18578. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18579. * Padding.cs: Several fixes to allow compiling with csc 2.0
  18580. 2006-03-09 Jackson Harper <[email protected]>
  18581. * Menu.cs:
  18582. * MenuItem.cs: Cheap hack so we can add items to the list without
  18583. the events being raised. This allows adding mdi items during
  18584. drawing. TODO: Should probably find a better time to add the items.
  18585. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18586. * ThemeWin32Classic.cs:
  18587. - CheckBox_DrawText: Added logic to not wrap if not enough space
  18588. is available (Fix for bug #77727)
  18589. - RadioButton_DrawText: Added logic not to wrap if not enough
  18590. space is available (Fix for bug #77727). Also removed some
  18591. duplicate code, DrawString always drawing the regular text
  18592. before hitting the if statement.
  18593. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18594. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  18595. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18596. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  18597. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  18598. methods. Moved the new 2.0 properties into alphabetical order with
  18599. other properties and added MonoTODO tags
  18600. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18601. * AutoScaleMode.cs: Added. Fix build.
  18602. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18603. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  18604. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  18605. and was requiring premature handle creation for calls from above
  18606. * Form.cs, Control.cs: Removed handle arguments from calls to
  18607. CalculateClientRect()
  18608. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18609. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  18610. drag_column.column_rect is MarshalByRef and can't be used that way
  18611. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18612. * AxHost.cs: Added deserialization constructor for
  18613. AxHost+State (fixes 77743)
  18614. 2006-03-09 Mike Kestner <[email protected]>
  18615. * ListView.cs:
  18616. - Added column drag reordering for details view.
  18617. - fixed behavior when mouse is dragged off column and
  18618. AllowColumnReorder is false.
  18619. * ColumnHeader.cs: clone the format too in Clone.
  18620. * Theme.cs: add DrawListViewHeaderDragDetails method.
  18621. * ThemeWin32Classic.cs:
  18622. - impl new method for drawing drag column shadows and targets.
  18623. - support column offset for details mode in DrawListViewItem.
  18624. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18625. * TextControl.cs: Reset the char_count when the document is cleared
  18626. (Fixes bug reported on mono-winforms mailing list)
  18627. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18628. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  18629. of calling base we simply process the key ourselves, since both
  18630. DefWindowProc and the handled method would set m.Result.
  18631. (Fixes #77732)
  18632. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18633. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  18634. method also moves the window; instead implemented a copy of
  18635. Control.ScaleCore (Part of fix for #77456)
  18636. * TextBoxBase.cs:
  18637. - Created new CreateGraphicsInternal method to allow providing
  18638. a graphics context when no handle is created without triggering
  18639. handle creation. (Part of fix for #77456)
  18640. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  18641. * TextControl.cs:
  18642. - Switched Constructor to require TextBoxBase instead of Control (to
  18643. allow uncast access to CreateGraphicsInternal)
  18644. - Safeguarded use of owner.Handle property. No longer accessing it
  18645. unless the handle is already created.
  18646. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  18647. - Now triggering a recalc when owning control becomes visible
  18648. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  18649. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  18650. premature handle creation (Part of fix for #77456)
  18651. * Control.cs:
  18652. - We now only destroy our double-buffering buffers when the
  18653. control is resized or disposed, but not when visibility
  18654. changes. (The code even re-created them twice every time)
  18655. - Now requiring a redraw of the buffer on visibility changes
  18656. (fixes bug 77654 part 2)
  18657. - Not passing OnParentVisibleChanged up unless the control
  18658. is visible
  18659. - CanFocus: Fixed to match MS documentation
  18660. - Focus: Fixed to return actual focus state and to check if
  18661. setting focus is legal before setting it
  18662. 2006-03-08 Peter Dennis Bartok <[email protected]>
  18663. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  18664. when to draw focus rectangle by looking at parent focus and
  18665. selected state instead. This fixes TabPages on Linux sometimes
  18666. having none or multiple focus rectangles.
  18667. * XplatUIX11.cs (SetFocus):
  18668. - Don't set the focus if the same window already has focus
  18669. - Use SendMessage instead of PostMessage (like it's Win32
  18670. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  18671. to match MS behaviour
  18672. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  18673. are not selectable.
  18674. 2006-03-07 Jackson Harper <[email protected]>
  18675. * PictureBox.cs: Revert line I accidently committed last week.
  18676. 2006-03-07 Peter Dennis Bartok <[email protected]>
  18677. * Control.cs:
  18678. - Added new IsRecreating and ParentIsRecreating properties to
  18679. allow testing if RecreateHandle has been called on ourselves
  18680. or one of our parents
  18681. - WndProc(WM_DESTROY): If our control handle is being recreated
  18682. we immediately need to create the handle when receiving the
  18683. destroy, that way our child windows find a valid parent handle
  18684. when they themselves are being recreated upon WM_DESTROY receipt
  18685. (fix for bug #77654 part 1)
  18686. * XplatUIX11.cs:
  18687. - DestroyWindow: WM_DESTROY must be sent to our own window before
  18688. notifying any child windows. MS documents that child windows
  18689. are still valid when WM_DESTROY is received. (Control now relies on
  18690. this behaviour)
  18691. - Added some fine-grain debug options
  18692. 2006-03-06 Jackson Harper <[email protected]>
  18693. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  18694. box and base calculations off this.
  18695. * MdiChildContext.cs:
  18696. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  18697. anymore.
  18698. 2006-03-06 Peter Dennis Bartok <[email protected]>
  18699. * Splitter.cs: In situations where the affected control is added
  18700. to the parent's control list after the splitter, we would not
  18701. populate affected. Now we try populating it on mousedown, if
  18702. it's not already set, and force it to be re-set whenever our
  18703. parent changes.
  18704. 2006-03-03 Matt Hargett <[email protected]>
  18705. * Control.cs: implement Control.Padding
  18706. * Padding.cs: -Padding.All returns -1 when constructing with the
  18707. implicit default ctor
  18708. -Padding.ToString() matches MS.NET
  18709. * ContainerControl.cs: implement
  18710. ContainerControl.AutoScaleDimensions
  18711. * ListControl.cs: implement ListControl.FormattingEnabled
  18712. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  18713. * ButtonBase.cs:
  18714. * TabPage.cs: Implement UseVisualStyleBackColor.
  18715. * PictureBox.cs: Implement PictureBox.InitialImage.
  18716. 2006-03-03 Mike Kestner <[email protected]>
  18717. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  18718. event declarations to proxy to base event.
  18719. * ListViewItem.cs: update to use ItemControl.
  18720. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  18721. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  18722. column header label rendering for 0 width columns.
  18723. 2006-03-03 Peter Dennis Bartok <[email protected]>
  18724. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  18725. that causes the control to be created. Fixes #77476.
  18726. 2006-03-02 Jackson Harper <[email protected]>
  18727. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  18728. expose_pending.
  18729. 2006-03-02 Peter Dennis Bartok <[email protected]>
  18730. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  18731. passed in for the EventArgs (fixes #77690)
  18732. 2006-03-01 Jackson Harper <[email protected]>
  18733. * ScrollBar.cs: Refresh afterbeing resized.
  18734. 2006-02-28 Mike Kestner <[email protected]>
  18735. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  18736. Clean up a tracker compile warning.
  18737. * MenuItem.cs: add internal PerformPopup method.
  18738. [Fixes #77457]
  18739. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18740. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  18741. implicit expose) when the text is set to null
  18742. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18743. * RichTextBox.cs (FlushText): When newline is true, we always
  18744. need to split the line, even if no text is on it and we may
  18745. never eat newlines. (Fixes #77669)
  18746. 2006-02-28 Mike Kestner <[email protected]>
  18747. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  18748. and set Selected instead.
  18749. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  18750. collections.
  18751. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18752. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  18753. 2006-02-28 Alexander Olk <[email protected]>
  18754. * FontDialog.cs:
  18755. - Got rid of the panel. All controls are now directly added to
  18756. the dialog form
  18757. - It is now possible to set a font with the Font property
  18758. - MinSize and MaxSize property do now what they should
  18759. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  18760. - Searching and selecting a font with the font textbox works now,
  18761. the same applies to the style and size textbox
  18762. - Draw the correct 3D border in the example panel
  18763. - Fixed a little mem leak (unused fonts didn't get disposed)
  18764. - Many other internal updates/rewrites...
  18765. - Fix typo
  18766. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18767. * TextControl.cs:
  18768. - InsertRTFFromStream: Added 'number of characters inserted' argument
  18769. - set_SelectedRTF: Now using the number of characters to calculate
  18770. the new location for the selection and cursor (x/y cannot be used
  18771. due to potentially already wrapped text)
  18772. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18773. * TextControl.cs: Added property and implemented means to allow
  18774. disabling recalculation of a document (can be used to speed up
  18775. multiple inserts and is needed to make RTF inserts predictable, see
  18776. bug #77659)
  18777. * RichTextBox.cs: Using the new NoRecalc property of Document to
  18778. keep x/y insert locations predictable. Also makes it faster inserting
  18779. large chunks of RTF
  18780. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18781. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  18782. it's easier for a child control to handle the other messages without
  18783. having to duplicate the special functionality
  18784. * TextBoxBase.cs
  18785. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  18786. code to handle processing the key ourselves, in order to get
  18787. access to the result of KeyEventArgs.Handled. We now only call
  18788. ProcessKey if they key hasn't been handled already. Fixes #77526.
  18789. - set_Text: If null or empty string is given, just clear the
  18790. document. Fixes part of #77526
  18791. 2006-02-27 Jackson Harper <[email protected]>
  18792. * SizeGrip.cs: Paint the background color before painting the grip
  18793. so things look right.
  18794. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  18795. 2006-02-27 Mike Kestner <[email protected]>
  18796. * ListView.cs:
  18797. - Restructure layout and invalidation model to remove a ton of
  18798. flicker from the control and speed up performance in general.
  18799. - Add manual column resize, flickers like crazy, but I already have
  18800. some ideas on how I'll fix that. (#76822)
  18801. - Merge the three Icon-based views into a single layout method.
  18802. - Move item selection interaction logic from the item since
  18803. interaction with the collections is more appropriate to the view.
  18804. - Deselection on non-item clicks.
  18805. * ListViewItem.cs:
  18806. - Encapsulate most of the layout. Add some internal props to trigger
  18807. layout. Move to a model where Items invalidate themselves instead
  18808. of just invalidating the whole control every time something changes.
  18809. - Invalidate on Text/Caption changes.
  18810. - switch to an offset based layout model to avoid having to absolute
  18811. position every element on item moves.
  18812. - correct checkbox layout to conform to MS layout.
  18813. * ThemeWin32Classic.cs:
  18814. - refactor some column header drawing code.
  18815. - fix string justification for column headers (#76821)
  18816. - make SmallIcon labels top justified for compat with MS impl.
  18817. * ThemeClearlooks.cs:
  18818. - adjust to new ListViewItem internal checkbox bounds api.
  18819. 2006-02-27 Jackson Harper <[email protected]>
  18820. * Control.cs: Change where implicit controls fall in the zorder.
  18821. They are now on top of all children.
  18822. - Synced AddImplicit code with Add
  18823. - Removed unused enumerator.
  18824. * SizeGrip.cs: Remove the TODO as its been TODONE.
  18825. 2006-02-26 Peter Dennis Bartok <[email protected]>
  18826. * TextControl.cs(Insert): Combine the last lines unless the insertion
  18827. string ends with \n\n, otherwise we leave one line too many (Fixes
  18828. something I noticed with the testapp for #77526; the bug itself was
  18829. already fixed in the previous checkin)
  18830. 2006-02-26 Peter Dennis Bartok <[email protected]>
  18831. * RichTextBox.cs:
  18832. - SelectionColor and SelectionFont methods no longer set absolute
  18833. styles. Instead, the keep font or color respectively (This
  18834. resolves a long-standing FIXME in the code)
  18835. - When flushing RTF text, the insert code now considers text trailing
  18836. behind the insertion point (Fixes the bug where when replacing
  18837. the selected text via SelectedRTF the remainder of the line behind
  18838. the selection would stay on the first insertion line)
  18839. * TextBoxBase.cs:
  18840. - AppendText now updates the selection points after inserting text
  18841. - AppendText now ensures that the last tag (sometimes 0-length) of
  18842. the document is used for the style information (Fixes part of
  18843. bug #77220)
  18844. * TextControl.cs:
  18845. - Created new FontDefiniton class to allow describing partial style
  18846. changes
  18847. - StreamLine() now takes a lines argument, to allow it to decide
  18848. whether an encountered zero-length tag is the last in the document
  18849. (which must be kept to not loose the font/color contained in it,
  18850. for later appends)
  18851. - Created Combine() and Split() methods for Marker structs, to
  18852. support marker updates due to reformatted documents (soft line
  18853. wraps)
  18854. - Implemented Document.CaretTag setter
  18855. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  18856. of the last line (Not the cause, but also exposed by bug #77220)
  18857. - Added LineTag argument to InsertString method, to allow callers
  18858. to force a certain tag to be used (required to force use of the
  18859. trailing zero-length tag of a document)
  18860. - Now updating markers in Combine(), to avoid stale tag markers
  18861. - Added some method descriptions to aid maintenance
  18862. - Implemented new FormatText concept, allowing additive/subtractive
  18863. formatting by only specifying the components that are to be
  18864. changed. This was needed for resolving the RTB.SelectedColor/
  18865. RTB.SelectedFont fixmes
  18866. - Added Break() support method to allow breaking up linetags (used
  18867. for partial formatting)
  18868. - Added GenerateTextFormat() method. It is used for partial
  18869. formatting and allows to generate a full font/color from given
  18870. attributes and an existing tag.
  18871. 2006-02-26 Jackson Harper <[email protected]>
  18872. * XplatUIX11.cs: Use the correct caption height.
  18873. - Translate hittest coordinates to screen coords to match MS.
  18874. * XplatUIWin32.cs: When we create MDI windows we need to reset
  18875. some of the style flags, so we get a nice blank window, and can
  18876. draw all the decorations ourselves.
  18877. - Set a clipping rectangle on the non client paint event, the
  18878. window manager drawing code needs one.
  18879. * Form.cs: The window manager needs to know when the window state
  18880. has been updated.
  18881. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  18882. don't need to factor in border and title sizes in these
  18883. methods. TODO: Remove the args and fix the call points.
  18884. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  18885. properly.
  18886. - Let the driver set the cursors.
  18887. - Improve active window handling
  18888. - Correct sizes for title bars and buttons.
  18889. - Match MS drawing better
  18890. * MdiWindowManager.cs: We don't need to handle border style
  18891. updates specially anymore.
  18892. - Check for scrollbars when windows are done moving
  18893. - Handle Active properly.
  18894. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  18895. correctly. I am spewing the exception though, so we don't hide the
  18896. bugs.
  18897. 2006-02-26 Pedro Martinez Julia <[email protected]>
  18898. * DataGridViewRowPostPaintEventArgs.cs,
  18899. DataGridViewCellPaintingEventArgs.cs,
  18900. DataGridViewRowCollection.cs,
  18901. DataGridViewRowPrePaintEventArgs.cs,
  18902. DataGridViewCell.cs: Clear a few warnings and implement a few
  18903. exceptions that should be thrown.
  18904. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18905. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  18906. 'inheriting' our parent's (non-default) cursor. (Part of
  18907. the fix for #77479)
  18908. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18909. * XplatUIX11.cs: Fixed cast to make csc happy
  18910. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18911. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  18912. it's for the client area (part of fix for #77479 and needed
  18913. for MDI window cursor handling)
  18914. * XplatUIX11.cs
  18915. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  18916. the appropriate default cursors and also passing the message
  18917. up the parent chain
  18918. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  18919. for non-client areas
  18920. 2006-02-15 Jackson Harper <[email protected]>
  18921. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  18922. is a real MDI window
  18923. 2006-02-14 Alexander Olk <[email protected]>
  18924. * X11DesktopColors.cs: Instead of checking the desktop session
  18925. string for "KDE" check if it starts with "KDE"
  18926. 2006-02-10 Jackson Harper <[email protected]>
  18927. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  18928. systems).
  18929. 2006-02-10 Alexander Olk <[email protected]>
  18930. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  18931. errors
  18932. * ColorDialog.cs:
  18933. - Got rid of the panel. All controls are now directly added to
  18934. the dialog form
  18935. - Changed to mono coding style
  18936. 2006-02-10 Jackson Harper <[email protected]>
  18937. * InternalWindowManager.cs: We don't need the set visibility to
  18938. false hack anymore now that peter has written beautiful shutdown
  18939. code.
  18940. 2006-02-10 Peter Dennis Bartok <[email protected]>
  18941. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  18942. where already explicitly destroyed
  18943. 2006-02-10 Jackson Harper <[email protected]>
  18944. * MdiClient.cs: Handle the case where windows are too high or to
  18945. the left and we need scrollbars.
  18946. 2006-02-10 Alexander Olk <[email protected]>
  18947. * MimeIcon.cs: Added some icons
  18948. * FileDialog.cs:
  18949. - Fixed bug #77477
  18950. - Got rid of the panel. All controls are now directly added to
  18951. the dialog form
  18952. - Changed to mono coding style
  18953. - On Linux "My Computer" and "My Network" will now show some
  18954. more usefull information. A new class, MasterMount, gathers
  18955. this information from /proc/mount. Updated MWFFileView to make
  18956. use of this information
  18957. - Fixed a bug that caused FileDialog to crash when
  18958. ".recently_used" file had a zero size
  18959. - FilterIndex does now what it should
  18960. - Some Refactoring
  18961. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  18962. FileDialog changes
  18963. 2006-02-09 Jackson Harper <[email protected]>
  18964. * ComboBox.cs: Don't touch if null.
  18965. 2006-02-09 Peter Dennis Bartok <[email protected]>
  18966. * Cursor.cs: 64bit safeness fix
  18967. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  18968. 2006-02-09 Jackson Harper <[email protected]>
  18969. * Form.cs: If a form is made into an MDI form update the styles so
  18970. all the props can get set correctly.
  18971. - Kill the mdi_container when we dont need it anymore.
  18972. * InternalWindowManager.cs: Add missing NOT
  18973. 2006-02-08 Jackson Harper <[email protected]>
  18974. * InternalWindowManager.cs: Respek clipping when drawing MDi
  18975. decorations.
  18976. 2006-02-08 Jackson Harper <[email protected]>
  18977. * Hwnd.cs: Add bits to track non client expose events.
  18978. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  18979. gives us a proper invalid rect and will allow for some nice
  18980. optimizations with NC client drawing
  18981. - MDI windows are children windows, so move their style handling
  18982. into the child window block.
  18983. * InternalWindowManager.cs: Remove a state reset that was
  18984. getting invoked at the wrong time. Fixes managed windows getting
  18985. into a 'stuck' captured state.
  18986. 2006-02-07 Peter Dennis Bartok <[email protected]>
  18987. * TextControl.cs (Document.ctor): Now initializing
  18988. selection_anchor. Fixes #77493
  18989. 2006-02-07 Jackson Harper <[email protected]>
  18990. * TrackBar.cs: The increment/decrements were backwards.
  18991. 2006-02-07 Mike Kestner <[email protected]>
  18992. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  18993. to the instance itself.
  18994. 2006-02-07 Peter Dennis Bartok <[email protected]>
  18995. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  18996. on ulongs and pointers, the size differs between 32bit and 64bit
  18997. systems.
  18998. 2006-02-07 Mike Kestner <[email protected]>
  18999. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  19000. for 64 bit platforms to work around a metacity bug.
  19001. 2006-02-07 Jackson Harper <[email protected]>
  19002. * TrackBar.cs: Process the input keys we need, and hookup to
  19003. KeyDown instead of using WndProc, so we get key messages.
  19004. 2006-02-06 Peter Dennis Bartok <[email protected]>
  19005. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  19006. machine we're on.
  19007. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  19008. we need to translate the XdndVersion atoms array before sending it
  19009. 2006-02-06 Peter Dennis Bartok <[email protected]>
  19010. * XplatUIX11.cs:
  19011. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  19012. number of bits for the property, not the number of bytes. The
  19013. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  19014. but would not crash since it specified 8 bits instead of 4 bits)
  19015. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  19016. defined as XID -> long in the C headers)
  19017. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  19018. references since those are now IntPtr to begin with
  19019. - Switched all Atom.XXX 'int' casts to IntPtr casts
  19020. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  19021. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  19022. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  19023. * X11Structs.cs:
  19024. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  19025. - Changed atom in HoverStruct to be IntPtr
  19026. * X11DnD.cs:
  19027. - Removed local DllImports, switched code to use those from XplatUIX11
  19028. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  19029. 2006-02-06 Mike Kestner <[email protected]>
  19030. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  19031. method signatures in the import region. There may still be some
  19032. lingering struct marshaling issues, as I didn't drill down into those.
  19033. Yet.
  19034. 2006-02-06 Jackson Harper <[email protected]>
  19035. * ComboBox.cs: Dont manually set the top_item, this is computed
  19036. when the scrollbar position is set.
  19037. 2006-02-06 Mike Kestner <[email protected]>
  19038. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  19039. startup crashes on amd64. There's other fixes needed. All pinvoke
  19040. usage of Atom needs to be mapped to IntPtr for example. And there are
  19041. likely other int/long issues to be addressed.
  19042. 2006-02-04 Alexander Olk <[email protected]>
  19043. * FileDialog.cs: One more...
  19044. 2006-02-03 Alexander Olk <[email protected]>
  19045. * FileDialog.cs: Next try
  19046. 2006-02-03 Alexander Olk <[email protected]>
  19047. * FileDialog.cs: First part of fix for #77464
  19048. 2006-02-03 Alexander Olk <[email protected]>
  19049. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  19050. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  19051. AcceptButton border drawing.
  19052. 2006-02-03 Peter Dennis Bartok <[email protected]>
  19053. * Form.cs: Moved positioning of form after auto scaling is applied,
  19054. otherwise it would possibly use wrong form size.
  19055. 2006-02-03 Peter Dennis Bartok <[email protected]>
  19056. * Control.cs (RecreateHandle): No need to re-create any child
  19057. controls, the child windows will get destroyed automatically by
  19058. the windowing system or driver, and re-created when the handle
  19059. is being accessed the first time. Fixes #77456
  19060. * Form.cs: No longer setting the form to closing if the handle is
  19061. being recreated. This seems like the right thing to do, don't
  19062. have a bug or testcase for this, though.
  19063. 2006-02-02 Peter Dennis Bartok <[email protected]>
  19064. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  19065. controls to avoid unwanted side effects
  19066. 2006-02-02 Peter Dennis Bartok <[email protected]>
  19067. * Control.cs:
  19068. - ScaleCore needs to scale the bounds, not the ClientSize of the
  19069. control. Fixes #77416.
  19070. - DefaultSize is 0,0 for control
  19071. * TextBoxBase.cs:
  19072. - DefaultSize is 100, 20
  19073. - SetBoundsCore: Now enforcing the height, no matter if the provided
  19074. height is more or less than the preferred one, as long as AutoSize
  19075. is on
  19076. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  19077. 2006-02-02 Peter Dennis Bartok <[email protected]>
  19078. * Control.cs:
  19079. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  19080. call unless both performLayout is true *and* we have a pending
  19081. layout change
  19082. - ResumeLayout: MS does not completely nest Suspend and Resume,
  19083. they bottom out at 0, fixed our code to match that.
  19084. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  19085. SetBoundsCore, we were updating even when we shouldn't. This fixes
  19086. swf-anchors mis-anchoring when resizing the app fast and lots.
  19087. - UpdateDistances: Now only setting the left and top distance if
  19088. we have a parent and are not suspended, this is based on
  19089. a suggestion by Don Edvaldson in bug #77355.
  19090. - OnVisibleChanged: Fixed logic when to create the control. We may
  19091. not create the control if we have no parent or if it's not visible;
  19092. switched to using Visible property instead of is_visible field
  19093. since the property also considers parent states. This fixes a bug
  19094. when starting Paint.Net
  19095. 2006-02-02 Jackson Harper <[email protected]>
  19096. * Form.cs: If the forms handle hasn't been created yet don't call
  19097. into xplatui to make it top most, just set the topmost flag on the
  19098. form in CreateParams
  19099. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  19100. 2006-02-01 Jackson Harper <[email protected]>
  19101. * ScrollableControl.cs: Refactored the Recalculate method a
  19102. little, this wasn't handling all the variants of bottom and right
  19103. bars needed to be added and added/removed based on their
  19104. counterparts being added/removed (which changes the drawable
  19105. size). Also we special case client widths and heights of 0 and
  19106. don't add the scrollbar for those.
  19107. 2006-02-01 Peter Dennis Bartok <[email protected]>
  19108. * XplatUIX11.cs:
  19109. - Added method to get AbsoluteGeometry(); currently unused, but might
  19110. be used in the future, if we try again to figure out toplevel
  19111. coordinates with some more crappy window managers
  19112. - Added FrameExtents() method to retrieve the WM set decoration size
  19113. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  19114. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  19115. * Hwnd.cs:
  19116. - Added whacky_wm tracking var for metacity
  19117. - Added logic to have default menu height if the actual menu height
  19118. has not yet been calculated (part of fix for #77426)
  19119. * Form.cs: Keep track whether client size has been set and re-set
  19120. it if a menu is added/removed afterwards (Fixes #77426)
  19121. 2006-01-31 Jackson Harper <[email protected]>
  19122. * Control.cs: When a new Site is set on the component attempt to
  19123. pull the AmbientProperties from it.
  19124. 2006-01-31 Peter Dennis Bartok <[email protected]>
  19125. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  19126. in the background of the owning form. Fixes #77332
  19127. 2006-01-31 Alexander Olk <[email protected]>
  19128. * MimeIcon.cs: Fix for #77409
  19129. 2006-01-31 Alexander Olk <[email protected]>
  19130. * XplatUIX11GTK.cs: Initial import
  19131. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  19132. * FixedSizeTextBox: fixes class signature
  19133. 2006-01-30 Jackson Harper <[email protected]>
  19134. * FixedSizeTextBox.cs: New internal class that represents a
  19135. textBox that will not be scaled.
  19136. * TreeView.cs:
  19137. * ComboBox.cs:
  19138. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  19139. standard TextBox.
  19140. 2006-01-30 Peter Dennis Bartok <[email protected]>
  19141. * XplatUIX11.cs: Retrieve default screen number instead of
  19142. assuming 0. Attempted fix for #77318
  19143. 2006-01-30 Peter Dennis Bartok <[email protected]>
  19144. * XplatUIWin32.cs:
  19145. - GetWindowPos: When a window is parented by FosterParent, use
  19146. the desktop instead of FosterParent as the base to get coordinates
  19147. - CreateWindow: Don't make FosterParent the parent window for Popups
  19148. if we don't want a taskbar entry, Popups automatically don't get one
  19149. * Hwnd.cs: Need to call remove to actually remove the key from the
  19150. hash table
  19151. 2006-01-30 Mike Kestner <[email protected]>
  19152. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  19153. 2006-01-30 Jackson Harper <[email protected]>
  19154. * TreeView.cs:
  19155. * TreeNode.cs: Raise events no matter how the treenode is
  19156. checked. Patch by Don Edvalson.
  19157. 2006-01-30 Jackson Harper <[email protected]>
  19158. * TreeNode.cs: Signature fix.
  19159. 2006-01-29 Alexander Olk <[email protected]>
  19160. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  19161. 2006-01-20 Mike Kestner <[email protected]>
  19162. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  19163. event forwarding when menus are active.
  19164. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  19165. Most of the patch is pdb's with a little rework.
  19166. 2006-01-26 Peter Dennis Bartok <[email protected]>
  19167. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  19168. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  19169. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  19170. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  19171. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  19172. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  19173. the PaintWindowDecorations method
  19174. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  19175. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  19176. * MenuAPI.cs: Made tracker window invisible
  19177. * XplatUIWin32.cs:
  19178. - Removed GetMenuDC and ReleaseMenuDC methods
  19179. - Implemented the client=false path for PaintEventStart and
  19180. PaintEventEnd
  19181. 2006-01-26 Peter Dennis Bartok <[email protected]>
  19182. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  19183. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  19184. styles
  19185. * Form.cs:
  19186. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  19187. the style
  19188. - CreateParams: Reworked the styles to match MS look'n'feel,
  19189. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  19190. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  19191. 2006-01-26 Peter Dennis Bartok <[email protected]>
  19192. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  19193. window is not mapped, since otherwise every form that's being
  19194. created is considered minimized, which is wrong.
  19195. * Form.cs: Catching the exception and returning our internal value
  19196. instead
  19197. 2006-01-26 Peter Dennis Bartok <[email protected]>
  19198. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  19199. SetWindowMinMax() to have means to tell the driver about the minimum,
  19200. maximum and maximized state window sizes. (Part of the fix for #76485)
  19201. * Form.cs:
  19202. - Implemented tracking of minimum and maximum window size, now calling
  19203. new SetWindowMinMax() driver method to tell the driver (Part of the
  19204. fix for #76485)
  19205. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  19206. (Completes fix for #76485)
  19207. - Calling new SetWindowMinMax driver method when the handle for a
  19208. form is created, to make sure the driver knows about it even if
  19209. the values have been set before the window was created
  19210. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  19211. to avoid messing up our anchoring calculations (partial fix
  19212. for #77355)
  19213. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  19214. * XplatUIX11.cs:
  19215. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  19216. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  19217. (and presumably other freedesktop.org compliant WMs). Left the
  19218. assumption unmapped=minimized, needed for SetVisible to work.
  19219. - Now setting the window state when creating windows
  19220. - Fixed SetVisible to consider/set the window state when mapping
  19221. a Form. We cannot set the state before it's mapped, and we cannot
  19222. use Form.WindowState once it's mapped (since it would ask the
  19223. driver and get 'normal'. Therefore, we grab the state before
  19224. mapping, map, and then set state.
  19225. - Implmemented SetWindowMinMax method; Metacity does not seem to
  19226. honor the ZoomHints, though.
  19227. * XplatUIWin32.cs:
  19228. - Removed MINMAXINFO (moved to XplatUIStructs)
  19229. - Added SetWindowMinMax stub (on Win32 the only way to set that
  19230. information is in response to the WM_GETMINMAXINFO message, which
  19231. is handled in Form.cs)
  19232. - Added logic to SetVisible to set the proper window state when a
  19233. form is made visible (fixes #75720)
  19234. 2006-01-26 Jackson Harper <[email protected]>
  19235. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  19236. same way we handle them with Invoke.
  19237. 2006-01-25 Peter Dennis Bartok <[email protected]>
  19238. * Form.cs:
  19239. - Added tracking of window state so CreateParams can return
  19240. the appropriate style
  19241. - Moved setting of WS_CAPTION style in CreateParams to allow
  19242. styles without caption
  19243. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  19244. control if the TextBox property is accessed. Fixes #77345
  19245. * Control.cs:
  19246. - get_Created: now uses is_disposed and is_created to determine
  19247. return value (suggested by Jackson)
  19248. - CreateHandle: No longer exits if the handle is being recreated
  19249. - RecreateHandle: If the handle is not yet created call the
  19250. appropriate method to create either control or handle. If the
  19251. control is already created CreateHandle will simply exit instead
  19252. of just creating the handle
  19253. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  19254. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  19255. is called.
  19256. * XplatUIX11.cs:
  19257. - When DestroyWindow is called, instead of waiting for the
  19258. DestroyNotification from X11, we directly post it to the WndProc
  19259. and immediately dispose the hwnd object.
  19260. Same applies to DestroyChildWindows, and this obsoletes the
  19261. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  19262. child windows before our own, to avoid X11 errors.
  19263. - Removed the direct sending of WM_PAINT on UpdateWindow
  19264. * XplatUIWin32.cs:
  19265. - Reworked DoEvents and GetMessage to allow access to internal queue
  19266. even when trying non-blocking access to the queue. Fixes #77335.
  19267. Based on a patch suggestion by Don Edvalson. The new private
  19268. GetMessage can now also be used as a backend for a PeekMessage
  19269. frontend version.
  19270. * XplatUI.cs: Improved debug output for CreateWindow
  19271. 2006-01-25 Jackson Harper <[email protected]>
  19272. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  19273. 2006-01-24 Jackson Harper <[email protected]>
  19274. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  19275. when we have a MaxDropItems lower then the selected index.
  19276. 2006-01-24 Jackson Harper <[email protected]>
  19277. * Control.cs: Don't allow selection of non visible controls, allow
  19278. selection of controls without parents.
  19279. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  19280. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  19281. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  19282. 2006-01-23 Jackson Harper <[email protected]>
  19283. * UpDownBase.cs: Make the textbox handle all the selection and
  19284. tabbing. This fixes tabing to updown controls.
  19285. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  19286. * TextBoxBase.cs: fixes exception thown the object was null
  19287. 2006-01-23 Jackson Harper <[email protected]>
  19288. * ButtonBase.cs: Just use the base CreateParams. They set
  19289. visibility and enabled correctly.
  19290. * ComboBox.cs:
  19291. * TrackBar.cs:
  19292. * MonthCalendar.cs: Lets let the base set as much of the
  19293. createparams as possible so we don't have duplicate code all over
  19294. the place.
  19295. 2006-01-22 Alexander Olk <[email protected]>
  19296. * ThemeGtk.cs: Added TrackBar and some experimental code to
  19297. get double buffering back
  19298. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  19299. * DataGrid.cs: Allows row number set internally higher than the last
  19300. when creating a new row. Restores the editing functionality.
  19301. 2006-01-20 Mike Kestner <[email protected]>
  19302. * MimeIcon.cs: delay Image creation until the icons are accessed
  19303. instead of creating 190 scaled images on GnomeHandler startup.
  19304. 2006-01-19 Peter Dennis Bartok <[email protected]>
  19305. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  19306. first call base before processing the event. Fixes #77279
  19307. 2006-01-19 Peter Dennis Bartok <[email protected]>
  19308. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  19309. that the stride for the GDI bitmap would match the stride of
  19310. a DIB or a Cursor.
  19311. 2006-01-19 Alexander Olk <[email protected]>
  19312. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  19313. 2006-01-19 Jackson Harper <[email protected]>
  19314. * ComboBox.cs: Hookup the text controls keydown event so we get
  19315. those when the text control has the focus.
  19316. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19317. * Label.cs: Now using the base events instead of defining new ones;
  19318. this allows us to just call the base properties without having to
  19319. duplicate all base property logic
  19320. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19321. * Label.cs: A label by default is not a tabstop (Fixes one of our
  19322. failing nunit tests)
  19323. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19324. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  19325. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  19326. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19327. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  19328. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  19329. This fixes #77218
  19330. * XplatUIWin32.cs:
  19331. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  19332. constructor creates images that can't be saved. Part of the fix
  19333. for #76103
  19334. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  19335. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  19336. bug fix for handling window state in forms properly)
  19337. 2006-01-18 Alexander Olk <[email protected]>
  19338. * ThemeGtk.cs: Simplify ScrollBar drawing
  19339. 2006-01-18 Jackson Harper <[email protected]>
  19340. * Splitter.cs: Set the default dock style for the splitter control
  19341. in the constructor.
  19342. 2006-01-18 Alexander Olk <[email protected]>
  19343. * ThemeGtk.cs: Corrected StateType and ShadowType for
  19344. gtk_paint_box
  19345. 2006-01-18 Alexander Olk <[email protected]>
  19346. * Control.cs: Make use of Theme.DoubleBufferingSupported
  19347. * ThemeGtk.cs:
  19348. - Added drawing for flat style buttons
  19349. - Added ScrollBar drawing
  19350. 2006-01-18 Alexander Olk <[email protected]>
  19351. * ThemeClearlooks.cs: Removed some unneeded code.
  19352. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  19353. 2006-01-17 Peter Dennis Bartok <[email protected]>
  19354. * LinkLabel.cs: We need to update the hover drawing when
  19355. leaving the control as well.
  19356. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  19357. * DataGrid.cs: Clicking on non empty areas in the columns
  19358. area was giving an exception
  19359. 2006-01-17 Jackson Harper <[email protected]>
  19360. * ThemeWin32Classic.cs:
  19361. * ListView.cs: Do not draw/clip the headers when the header style
  19362. is None.
  19363. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  19364. * DataGrid.cs: Fixes 77260
  19365. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  19366. * DataGrid.cs: Clicking on a column on a empty grid was giving
  19367. an exception
  19368. 2006-01-17 Peter Dennis Bartok <[email protected]>
  19369. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  19370. or any keypress will crash the grid.
  19371. 2006-01-17 Mike Kestner <[email protected]>
  19372. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  19373. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  19374. invisible/previously-visible items.
  19375. [Fixes #76909]
  19376. 2006-01-17 Alexander Olk <[email protected]>
  19377. * ThemeClearlooks.cs:
  19378. - Added CL_Draw_Button method; now other theme controls that are
  19379. not derived from button or do not have a button can draw buttons
  19380. too
  19381. - Updated ComboBox drawing
  19382. - Beautified RadioButton drawing
  19383. - Corrected drawing of bottom and left tabs
  19384. - Beautified DateTimePicker and MonthCalendar
  19385. - Added CPDrawButton and CPDrawRadioButton
  19386. 2006-01-16 Jackson Harper <[email protected]>
  19387. * ComboBox.cs: Set the initial value of the scrollbar to the
  19388. current index. Reduce the numbers of refreshs and IndexOfs called.
  19389. 2006-01-14 Alexander Olk <[email protected]>
  19390. * FileDialog.cs: When the file listview is focused hitting the
  19391. backspace key moves the fileview to the parent directory
  19392. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19393. * Form.cs:
  19394. - Added RecreateHandle call when changing taskbar visibility to
  19395. trigger reparenting in Win32 driver (Fixes #75719)
  19396. - If a window has minimize or maximize buttons, it cannot have
  19397. a help button
  19398. * XplatUIWin32.cs:
  19399. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  19400. the toplevel form with FosterParent (A toolwindow not on the
  19401. taskbar) (Fixes #75719)
  19402. - Made FosterParent a toolwindow
  19403. 2006-01-13 Alexander Olk <[email protected]>
  19404. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  19405. 2006-01-13 Alexander Olk <[email protected]>
  19406. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  19407. is currently over that control, make sure that tooltip_window.Text
  19408. gets updated
  19409. 2006-01-13 Mike Kestner <[email protected]>
  19410. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  19411. 2006-01-13 Jackson Harper <[email protected]>
  19412. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  19413. value passed. Also redraw the selected node when we recieve
  19414. focus, so tabbing between trees works correctly.
  19415. 2006-01-13 Alexander Olk <[email protected]>
  19416. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  19417. ~/.gconf/%gconf-tree.xml, so use
  19418. .gconf/desktop/gnome/interface/%gconf.xml
  19419. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19420. * TextControl.cs: Draw text in gray if control is disabled
  19421. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19422. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  19423. make sure it's always visible. Fixes #76680.
  19424. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19425. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  19426. 2006-01-13 Jonathan Chambers <[email protected]>
  19427. * PageSetupDialog.cs: Added.
  19428. * PrintDialog.cs: Attributes.
  19429. * PrintPreviewControl.cs: Updates.
  19430. * PrintPreviewDialog.cs: Updates.
  19431. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19432. * Control.cs: Undid my selection check fix, since it's not needed
  19433. * TextBoxBase.cs:
  19434. - Now considering the presence of hscroll/vscroll when sizing
  19435. vscroll/hscroll respectively. Fixed bug #77077
  19436. - Added Left/Up/Down/Right to IsInputKey list to prevent
  19437. ContainerControl from stealing them. This fixes what I broke
  19438. with my last checkin.
  19439. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19440. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  19441. I finally understand how the property can be set without a setter :-)
  19442. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19443. * Application.cs:
  19444. - Switched RunLoop to use static Message.Create to create a
  19445. Message object
  19446. - Added PreProcessMessage call in runloop for keyboard events; this
  19447. is part of the fix for #77219, I overlooked this originally in the
  19448. MSDN doc for PreProcessMessage
  19449. * Control.cs:
  19450. - Removed call to PreProcessMessage from handling of keyboard
  19451. messages; it's supposed to be done in the message pump
  19452. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  19453. per MSDN documentation.
  19454. - IsInputChar: All chars are input chars by default; removed the
  19455. parent calling chain, MS does not document that
  19456. - PreProcessMessage: If IsInputChar is true, we want to return false
  19457. to allow dispatching of the message
  19458. - When selecting the next control, now also check that we're not
  19459. selecting ourselves again and therefore return a false positive.
  19460. * TextBoxBase.cs:
  19461. - Tried to match return values for IsInputKey and ProcessDialogKey
  19462. to what MS returns; moved processing of our special keys outside
  19463. ProcessDialogKey since MS does not seem to return true on those.
  19464. - Moved code that previously was in ProcessDialogKey into new private
  19465. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  19466. - Reworked handling of WM_CHAR to not have to duplicate code from
  19467. Control.cs anymore, instead we simply call down to base.
  19468. 2006-01-12 Jackson Harper <[email protected]>
  19469. * ComboBox.cs: We always need to refresh the text area when
  19470. EndUpdate is called. Fixes the combobox in the file dialog.
  19471. * Control.cs: Don't create the creator_thread until the controls
  19472. handle is created. Also in InvokeRequired we check if the
  19473. creator_thread is null. This gives the effect of InvokeRequired
  19474. returning true if the controls handle is not created yet, and
  19475. matches MS.
  19476. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19477. * XplatUI.cs:
  19478. - Added StartLoop() driver method. This is used to allow drivers to
  19479. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  19480. loop for a particular thread
  19481. - Added EndLoop() driver method. This is called once the message
  19482. pump for the thread is shut down
  19483. - Added SupportsTransparency method to allow the driver to indicate
  19484. opacity support for windows
  19485. * Form.cs:
  19486. - Removed TODO attribute, completed AllowTransparency property
  19487. - Added documented logic to Opacity
  19488. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  19489. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  19490. versions of CompatibleTextRendering
  19491. * X11Structs.cs: Added opacity atom to our atom enumeration
  19492. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  19493. of a form might be set before it's reparented by the WM, and we need
  19494. the opacity value without calling up to Form)
  19495. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  19496. SupportsTransparency() driver methods
  19497. * Application.cs: Now calling StartLoop and EndLoop driver methods
  19498. * XplatUIX11.cs:
  19499. - Added opacity atom registration
  19500. - Added StartLoop()/EndLoop() methods. They're empty right now but
  19501. will need to get implemented when we switch to a per-thread queue
  19502. - Implemented SupportsTransparency() method
  19503. - Implemented SetWindowTransparency() method
  19504. - Added support for setting the opacity value when a window is
  19505. reparented (since the opacity needs to be set on the WM frame)
  19506. * XplatUIOSX.cs, XplatUIWin32.cs:
  19507. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  19508. 2006-01-12 Alexander Olk <[email protected]>
  19509. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  19510. 2006-01-12 Alexander Olk <[email protected]>
  19511. * FileDialog.cs: Added ToolTip for MWFFileView
  19512. * MimeIcon.cs: Rewrote GnomeHandler.
  19513. - Get currently used gnome icon theme from
  19514. ($HOME)/.gconf/%gconf-tree.xml
  19515. - Make use of inherited icon themes
  19516. - Support SVG icon themes like Tango via librsvg
  19517. 2006-01-12 Miguel de Icaza <[email protected]>
  19518. Revert's Jackson's revert which broke 2.0 builds. Fix both
  19519. builds.
  19520. * Application.cs: Move the use_compatible_text_rendering outside
  19521. the NET_2_0 define. If we ever need to use the
  19522. use_compatible_text_rendering on the individual controls they will
  19523. access the variable from the common shared code paths.
  19524. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19525. * XplatUI.cs:
  19526. - Added more granular debug options
  19527. - Added method to print both window text and id
  19528. - Switched debug output to use new Window() debug method
  19529. - Added IsEnabled() driver method
  19530. - Added EnableWindow() driver method
  19531. * Form.cs:
  19532. - Removed end_modal; no longer needed, new loop handles termination
  19533. via 'closing' variable
  19534. - If form is modal, setting DialogResult will now initiate loop
  19535. termination via 'closing' variable
  19536. - Added support for is_enabled/WS_DISABLED to CreateParams
  19537. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  19538. does all the work
  19539. - Removed code that's now in RunLoop from ShowDialog()
  19540. - Added various documented sanity checks to ShowDialog()
  19541. - Added handling of WM_DESTROY message; we set 'closing' on getting
  19542. the message to indicate the message pump to terminate
  19543. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  19544. send by the Application.ExitThread method. (We send the message
  19545. to destroy the window after all other events have been
  19546. processed through the queue, instead of destroying the handle
  19547. directly)
  19548. - Moved code from Close() method to WM_CLOSE handler; added logic
  19549. to only send close-related events if the form is not displayed
  19550. modal
  19551. * Splitter.cs (..ctor): Fixed typo in resource name
  19552. * Control.cs:
  19553. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  19554. brush now
  19555. - set_Cursor: Now only setting calling into XplatUI if the handle for
  19556. the control is already created; this avoids implict handle creation
  19557. or crashes if it's not created
  19558. - set_Enabled: Now setting the enabled state via the new driver method
  19559. instead of just tracking it
  19560. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  19561. - CreateControl: Reordered event firing and method calls to more
  19562. closely fire events in the order MS does. Now setting the
  19563. enabled state in the driver when creating the control.
  19564. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  19565. match MS order
  19566. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  19567. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  19568. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  19569. * Hwnd.cs:
  19570. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  19571. - Added EnabledHwnd property to easily allow a driver to find the
  19572. handle of the first enabled window in the parent chain (this is
  19573. used by drivers to pass up input events of disabled windows)
  19574. * XplatUIDriver.cs: Added IsEnabled() method
  19575. * Application.cs:
  19576. - Removed crude and obsolete exiting tracking variable
  19577. - Removed internal ModalRun(); replaced by RunLoop()
  19578. - Implemented private CloseForms() method to allow closing all
  19579. windows owned by a particular (or all) threads
  19580. - Exit() now properly closes all windows without forcing the message
  19581. pump to quit
  19582. - Removed obsolete InternalExit() method
  19583. - Changed Run() methods to use new RunLoop() message pump
  19584. - Implemented new RunLoop() method for both modal and non-modal forms
  19585. * CommonDialog.cs:
  19586. - get_CreateParams: Added setting of WS_DISABLED
  19587. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  19588. invoked via Form.ShowDialog()
  19589. * NativeWindow.cs: We don't remove the window from the collection when
  19590. the handle is destroyed; there might still be messages for it in the
  19591. queue (mainly the resulting WM_DESTROY); instead it will be removed
  19592. when Control calls InvalidateHandle in the WM_DESTROY handler
  19593. * XplatUIX11.cs:
  19594. - CreateWindow: Added logic to handle the WS_DISABLED window style
  19595. - EnableWindow: Implemented based on Hwnd.Enabled
  19596. - GetMessage: Reset PostQuitState so the method can be called again
  19597. - Implemented support for disabled windows (passing messages to the
  19598. first enabled parent) in handling all input messages
  19599. - Added optimizations for handling Expose events
  19600. - Implemeted new driver method IsEnabled()
  19601. - Now always resetting paint pending tracking vars when we start paint
  19602. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  19603. * XplatUIOSX.cs: Added IsEnabled method stub
  19604. * XplatUIWin32.cs: Implemented new IsEnabled() method
  19605. 2006-01-11 Jackson Harper <[email protected]>
  19606. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  19607. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  19608. variables a little.
  19609. * ColorDialog.cs: Clear out the old form before adding the new
  19610. panel.
  19611. 2006-01-11 Jackson Harper <[email protected]>
  19612. * X11Dnd.cs: Make sure to add all the text formats when adding
  19613. strings to the data object.
  19614. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  19615. do some redrawing too. Also change the UpdateNode to an
  19616. UpdateBelow so the newly added node gets painted.
  19617. 2006-01-11 Miguel de Icaza <[email protected]>
  19618. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  19619. LinkLabel.cs, PropertyGrid.cs: Implement the
  19620. UseCompatibleTextRendering property for 2.x
  19621. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  19622. 2006-01-11 Jackson Harper <[email protected]>
  19623. * TreeView.cs: Use the property for setting the selected node so
  19624. the correct events get raised.
  19625. * TreeNode.cs: Update the tree when the fore/back colours of a
  19626. node are set.
  19627. 2006-01-10 Jackson Harper <[email protected]>
  19628. * TreeView.cs: Allow setting SelectedNode to null.
  19629. 2006-01-9 Jonathan Chambers <[email protected]>
  19630. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  19631. 2006-01-9 Jonathan Chambers <[email protected]>
  19632. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  19633. 2006-01-9 Jonathan Chambers <[email protected]>
  19634. * PrintDialog.cs: Added attributes and set default property values.
  19635. 2006-01-9 Jonathan Chambers <[email protected]>
  19636. * PrintControllerWithStatusDialog.cs:
  19637. Added PrintControllerWithStatusDialog.
  19638. 2006-01-9 Jonathan Chambers <[email protected]>
  19639. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  19640. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  19641. 2006-01-9 Jonathan Chambers <[email protected]>
  19642. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  19643. 2006-01-09 Jonathan Chambers <[email protected]>
  19644. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  19645. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  19646. 2006-01-08 Alexander Olk <[email protected]>
  19647. * MimeIcon.cs: Added internal class SVGUtil.
  19648. 2006-01-08 Alexander Olk <[email protected]>
  19649. * FileDialog.cs: Don't crash if there are two files with the
  19650. same name but different locations.
  19651. 2006-01-08 John BouAntoun <[email protected]>
  19652. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  19653. dates across multiple month grids. Used to not highlight entire
  19654. month, but does now.
  19655. 2006-01-06 Jackson Harper <[email protected]>
  19656. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  19657. message loop. Change timer intervals to numbers that seem more
  19658. natural.
  19659. 2006-01-06 John BouAntoun <[email protected]>
  19660. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  19661. object for location info since screen object is now implemented.
  19662. 2006-01-05 Jackson Harper <[email protected]>
  19663. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  19664. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  19665. AsyncMethodResult, this is because we ALWAYS want the
  19666. ManualResetEvent to get set.
  19667. * Control.cs: When disposing use an async invoke to call shutdown
  19668. code, so that thigns don't block on the finalizer thread. Also
  19669. check if we even have a message loop before trying to send
  19670. messages, if we don't then don't bother sending messages.
  19671. - No more weak references for async methods
  19672. * XplatUIDriver.cs: No more weak references for async methods.
  19673. 2006-01-04 Alexander Olk <[email protected]>
  19674. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  19675. returns two FontFamily with the same name
  19676. 2006-01-04 Peter Dennis Bartok <[email protected]>
  19677. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  19678. drawing disabled text. Instead using the ColorGrayText color
  19679. 2006-01-04 Jackson Harper <[email protected]>
  19680. * TreeNode.cs: redraw the node when its image index is changed.
  19681. 2006-01-04 Peter Dennis Bartok <[email protected]>
  19682. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  19683. time I checked there are no others like it.
  19684. 2006-01-04 Jackson Harper <[email protected]>
  19685. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  19686. this gives the behavoir I was looking for.
  19687. * Control.cs: Special case Invoking EventHandlers, this matches MS
  19688. and fixes part of bug #76326.
  19689. 2006-01-04 Alexander Olk <[email protected]>
  19690. * ThemeClearlooks.cs, FileDialog.cs:
  19691. - Reflect the latest Theme class changes
  19692. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  19693. with DateTime
  19694. 2006-01-04 Alexander Olk <[email protected]>
  19695. * Theme.cs: Cache UI resource images and resize them if needed
  19696. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19697. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  19698. is called. This fixes the crash in Nexxia when setting the font
  19699. attributes in the chat. [However, RTF needs a look-over to make sure
  19700. that all SelectionXXX methods handle the special case that selection
  19701. is empty and therefore the change must be applied to all text starting
  19702. at the cursor/selection start]
  19703. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19704. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19705. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  19706. * X11Keyboard.cs: Switched to new way of calling PostMessage
  19707. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19708. * Theme.cs: Added theme interface for images to allow the theme to
  19709. control what images are used for things like FileDialog, MessageBox
  19710. icons, etc.
  19711. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  19712. 2006-01-03 Alexander Olk <[email protected]>
  19713. * FileDialog.cs:
  19714. - Removed some dead code
  19715. - Opening a recently used file does work now
  19716. - Small UI enhancements
  19717. - Refactoring
  19718. 2006-01-02 Alexander Olk <[email protected]>
  19719. * FileDialog.cs: Forgot too add __MonoCS__
  19720. 2006-01-02 Alexander Olk <[email protected]>
  19721. * FileDialog.cs: We are able to read recently used files now let's
  19722. go on and write them.
  19723. 2006-01-01 Alexander Olk <[email protected]>
  19724. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  19725. button
  19726. * MimeIcon.cs: Do a check for the top level media type also
  19727. 2005-12-31 Alexander Olk <[email protected]>
  19728. * ThemeClearlooks.cs:
  19729. - Added CPDrawStringDisabled
  19730. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  19731. some chars if the text doesn't fit into text_rect
  19732. - DrawListViewItem: If View = View.LargeIcon center the image;
  19733. rewrote the drawing of ListViewItem.Text if View =
  19734. View.LargeIcon
  19735. 2005-12-31 Alexander Olk <[email protected]>
  19736. * MimeIcon.cs: Use default KDE icon theme if there is no
  19737. "48x48" directory for the current icon theme, fixes #77114
  19738. * Mime.cs: Disable not working and actually not used code.
  19739. * ThemeWin32Classic.cs:
  19740. - Replace "new SolidBrush" in GetControlBackBrush and
  19741. GetControlForeBrush with ResPool.GetSolidBrush
  19742. - Changed DrawListViewItem from private to protected virtual
  19743. * FileDialog.cs:
  19744. - Added form.MaximizeBox = true
  19745. - Don't throw an exception if there is a broken symbolic link
  19746. 2005-12-23 Jackson Harper <[email protected]>
  19747. * TabControl.cs: Give the panels focus, keyboard navigation is
  19748. fixed so this works correctly now.
  19749. - We need these key events also.
  19750. * ToolBar.cs: Remove some of the poor mans double buffering.
  19751. 2005-12-24 Alexander Olk <[email protected]>
  19752. * ComboBox.cs: The internal TextBox now returns the focus.
  19753. 2005-12-23 Jackson Harper <[email protected]>
  19754. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  19755. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19756. * Control.cs: Removed debug code
  19757. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  19758. implicit children
  19759. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19760. * Control.cs: When creating the control, update the Z-order after
  19761. all it's children are created, too. (Fixes nexxia not showing
  19762. picturebox bug)
  19763. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19764. * Control.cs: Do not update the anchoring distances if layout is
  19765. suspended, instead do it once layout is resumed
  19766. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19767. * Control.cs:
  19768. - After many hours of debugging, for both Jackson and
  19769. myself, it turns out that it helps to set the parent of a control
  19770. if you want to actually see it onscreen. In the spirit of that
  19771. discovery, we're now setting the parent of the control and
  19772. it's children when the control's handle is created. This fix
  19773. will make Lutz Roeder's Reflector run happily.
  19774. - now just creating the handle instead of the whole control when
  19775. getting a graphics context for the control.
  19776. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19777. * ScrollableControl.cs: When calculating the canvas, don't consider
  19778. the scrollbar widths. Instead, predict if horizontal scrollbar
  19779. will affect canvas when deciding on vertical display and vice versa.
  19780. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19781. * RichTextBox.cs: Set default RTF font for documents that don't
  19782. have a font table (Fixes #77076)
  19783. 2005-12-22 Jackson Harper <[email protected]>
  19784. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  19785. clipboard. This prevents a NullRef in that case.
  19786. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  19787. clipboard. PRIMARY is for the currently selected text only. (We
  19788. should implement PRIMARY at some point.
  19789. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19790. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  19791. a Unicode function with a structure that was defined in Ansi way.
  19792. This fixes #76942.
  19793. 2005-12-21 Jackson Harper <[email protected]>
  19794. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  19795. on. Because thats how it rolls. (and this avoids it using ambient
  19796. colours).
  19797. * ThemeWin32Classic.cs: Use the proper back color for filling.
  19798. * Menu.cs: Use the system menu bar color for drawing menu
  19799. bars. Using the window back color will bring ambient colours into
  19800. the picture.
  19801. 2005-12-21 Alexander Olk <[email protected]>
  19802. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  19803. Bitmaps were created and not disposed.
  19804. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19805. * Control.cs (CreateControl): Don't do anything if the control is
  19806. already created, otherwise we'd fire the OnCreated event more than
  19807. once
  19808. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19809. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  19810. will always match. Instead return -1. Fixes #76464.
  19811. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19812. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  19813. neither the beginning nor the end of the line (Fixes bug #76479)
  19814. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19815. * Control.cs:
  19816. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  19817. where handle is invalid
  19818. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  19819. instead of slower linear search
  19820. * NativeWindow.cs: Don't remove the window from the hashtable until
  19821. after the driver has destroyed it (since the driver might use
  19822. Control.FromHandle to lookup the control object
  19823. * Hwnd.cs: Added DestroyPending property to track if a window is
  19824. already destroyed as far as the driver is concerned and only hasn't
  19825. yet notified the control
  19826. * XplatUIX11.cs:
  19827. - Activate(): Check if the window is still valid before using the
  19828. handle
  19829. - Implemented DestroyChildWindow() method to mark child windows as
  19830. destroyed when a window is destroyed. This prevents situations
  19831. where we might call an X method based on queued events for a
  19832. window that already has been destroyed but we haven't yet pulled
  19833. the destroy method from the queue.
  19834. - Added a call to the new DestroyChildWindow() method to the drivers
  19835. DestroyWindow code. Also now marking the destroyed window itself
  19836. as pending
  19837. 2005-12-20 Jackson Harper <[email protected]>
  19838. * StatusBar.cs:
  19839. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  19840. anymore. Just do them when needed, also track the rects of panels
  19841. so that we can optimize refreshing more in the future.
  19842. 2005-12-20 Alexander Olk <[email protected]>
  19843. * ColorDialog.cs: Fixed focus drawing in small color controls
  19844. 2005-12-19 Jackson Harper <[email protected]>
  19845. * InternalWindowManager.cs:
  19846. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  19847. moving windows works properly.
  19848. 2005-12-19 Peter Dennis Bartok <[email protected]>
  19849. * Control.cs:
  19850. - Removed call to InitLayout() from SetBoundsCore(); doc says
  19851. it's only called when a control is added to a container
  19852. - Split InitLayout logic, moved to separate UpdateDistances() method
  19853. since we need to perform those calculations more often than just
  19854. when adding the control to a container. (Needed to fix #77022)
  19855. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  19856. - Reduced the OnBindingContextChanged events count, don't send them
  19857. unless the control is created, we still aren't totally matching
  19858. MS, but I can't quite figure out some of their rules
  19859. 2005-12-18 Alexander Olk <[email protected]>
  19860. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  19861. stripes
  19862. 2005-12-18 Alexander Olk <[email protected]>
  19863. * ThemeClearlooks.cs:
  19864. - Updated ProgressBar drawing
  19865. - Corrected drawing of ScrollBars and scroll buttons
  19866. - Some temporary fixes for minor pixel artefacts
  19867. 2005-12-18 Peter Dennis Bartok <[email protected]>
  19868. * Control.cs:
  19869. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  19870. cause events to be sent in the same order as MS does.
  19871. - Added ChangeParent() method to trigger various OnXXXChanged events
  19872. that need to be fired when a parent changes (This is a reworking
  19873. of the patch from r54254, with the X11 errors fixed)
  19874. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  19875. since on MS we get OnLayoutChanged events when calling Clear()
  19876. - Changed Enabled property to consider parent state as well, if a
  19877. parent is not enabled, the control will not be either
  19878. - Changed Parent property to simply call Controls.Add() since that
  19879. now does all the work required, this way we avoid code duplication
  19880. - Threw in a few OnBindingsContextChanged calls to try and match
  19881. when MS sends them. We seem to send a few too many, though.
  19882. - Added call to CreateControl when adding the control to a parent.
  19883. We were never calling CreateControl. Still needs some work, in
  19884. some places we treat HandleCreated and ControlCreated as equal,
  19885. which is wrong
  19886. - Removed obsolete commented out code from UpdateZOrder()
  19887. 2005-12-18 Alexander Olk <[email protected]>
  19888. * ThemeClearlooks.cs: Updated TrackBar drawing.
  19889. 2005-12-17 Alexander Olk <[email protected]>
  19890. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  19891. 2005-12-17 Alexander Olk <[email protected]>
  19892. * FileDialog.cs: Add the Help button and the open readonly
  19893. checkbox only if needed
  19894. 2005-12-16 Jackson Harper <[email protected]>
  19895. * Control.cs: Make sure we have an active menu before trying to
  19896. process commands on it. Prevents menu-less forms from crashing
  19897. when Alt is pressed.
  19898. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  19899. Dieter Bremes.
  19900. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  19901. 2.0 build.
  19902. 2005-12-16 Jackson Harper <[email protected]>
  19903. * InternalWindowManager.cs: Don't translate tool windows screen
  19904. coordinates. This fixes windows 'bouncing' around when being moved.
  19905. 2005-12-15 Peter Dennis Bartok <[email protected]>
  19906. * TextBoxBase.cs:
  19907. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  19908. not quite MS compatible, MS uses that number only for single line
  19909. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  19910. the limit at 2GB)
  19911. - Now enforcing the MaxLength limit when entering characters
  19912. - Added argument to internal Paste() method to track if it's called
  19913. from programatically or via keyboard, since keyboard driven pastes
  19914. need to enforce max-length
  19915. - Added logic to Paste to only paste as many chars as MaxLength
  19916. allows
  19917. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  19918. * TextControl.cs:
  19919. - Added Length property to return number of characters in document
  19920. - Added private CharCount property which only tracks actual chars
  19921. in the document (no linefeeds) and fires event when CharCount
  19922. changes
  19923. - Added tracking of character count to all methods that alter it
  19924. - Added LengthChanged event to allow applications to subscribe
  19925. to any changes to the document
  19926. 2005-12-15 Peter Dennis Bartok <[email protected]>
  19927. * TextBox.cs:
  19928. - Removed local password_char field (moved to TextBoxBase)
  19929. - Now setting the document's password var when password is
  19930. set
  19931. * TextBoxBase.cs:
  19932. - Added password_char field (needed here so MultiLine can
  19933. access it)
  19934. - Added logic to MultiLine property setter to set the document's
  19935. variable when password display is allowed
  19936. - Removed debug code and made some debug code conditional
  19937. * TextControl.cs:
  19938. - Added RecalculatePasswordLine() method to handle special password
  19939. char only lines
  19940. - Added PasswordChar property, also added related tracking vars
  19941. - Draw() method now uses local text var for grabbing text to draw,
  19942. this var is set to line.text unless we're doing password display,
  19943. then it is set to the pre-generated all-password-chars line
  19944. - Added calling RecalculatePasswordLine() method for password lines
  19945. 2005-12-14 Peter Dennis Bartok <[email protected]>
  19946. * Hwnd.cs:
  19947. - Added Reparented property to allow tracking of Window Manager
  19948. reparenting actions (which affect X/Y calculations of toplevel
  19949. windows)
  19950. - Made ToString() print window handles in hex
  19951. * XplatUIX11.cs:
  19952. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  19953. determine if X/Y needs offsetting
  19954. - AddConfigureNotify(): Fixed offset calculations
  19955. - Now adds ReparentNotify messages into the queue
  19956. - Now processes ReparentNotify messages and causes a
  19957. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  19958. is reparented (as most likely it's X/Y coordinates are changed
  19959. due to that)
  19960. 2005-12-14 Jackson Harper <[email protected]>
  19961. * XplatUIX11.cs: Tool windows still need to respek focus.
  19962. 2005-12-14 Peter Dennis Bartok <[email protected]>
  19963. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  19964. have a working release
  19965. 2005-12-13 Jackson Harper <[email protected]>
  19966. * Form.cs: Update styles after setting the border style regardless
  19967. of whether or not the window is using a window manager.
  19968. 2005-12-13 Jackson Harper <[email protected]>
  19969. * Form.cs: We now hook into an internal window manager instead of just an
  19970. MDI subsystem, this is so we can have properly behaving tool windows.
  19971. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  19972. * InternalWindowManager.cs: New internal class that acts as a
  19973. window manager for tool windows and as a base for mdi windows.
  19974. * MdiWindowManager.cs: New class that acts as a window manager for
  19975. mdi windows.
  19976. 2005-12-12 Jackson Harper <[email protected]>
  19977. * Control.cs: Updates so we match behavoir for for implicit
  19978. controls. Fixes explosions in MDI.
  19979. 2005-12-12 Jackson Harper <[email protected]>
  19980. * Control.cs: Implement Invalidate (Region).
  19981. 2005-12-12 Peter Dennis Bartok <[email protected]>
  19982. * Control.cs:
  19983. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  19984. the same events as MS does. MS fires events for each property
  19985. except, for unknown reasons, Cursor, when the control is reparented.
  19986. I can't seem to totally match add/remove since MS also fires some
  19987. VisibleChanged events, which makes no sense. Consolidated the
  19988. parenting code into a separate method so it can be called from
  19989. both Add and Remove. set_Parent no longer needs any special logic
  19990. as it calls the parent's add method which implicitly fires
  19991. all events
  19992. - Removed some obsolete code and debug output
  19993. - Enabled state is inherited from parents, if this is enabled
  19994. 2005-12-08 Peter Dennis Bartok <[email protected]>
  19995. * Form.cs: Removed commented out code
  19996. 2005-12-08 Peter Dennis Bartok <[email protected]>
  19997. * Control.cs:
  19998. - Added internal version of Invoke, with additional argument
  19999. indicating if we're calling it from a Dispose() handler. That
  20000. way we can avoid BeginInvoke throwing an exception if we're
  20001. calling for an already destroyed window.
  20002. - Added a dispose argument to BeginInvokeInternal, and made the
  20003. check if a valid window handle chain exists conditional on
  20004. it not being a dispose call
  20005. - Removed code in DestroyHandle to destroy our children. Since we
  20006. now handle the WM_DESTROY message we will catch all our children
  20007. being destroyed.
  20008. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  20009. * Form.cs:
  20010. - Added a field to track the application context of the form.
  20011. - No need to set closing variable as response to WM_CLOSE, instead
  20012. we destroy the window. We also call PostQuitMessage if the form
  20013. has an application context (which makes it the main app form,
  20014. which, when closed terminates the app)
  20015. * XplatUI.cs:
  20016. - Dropped Exit() method, it's naming was confusing
  20017. - Added PostQuitMessage() which causes GetMessage to return false
  20018. once the message queue is empty
  20019. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  20020. PostQuitMessage()
  20021. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  20022. no longer a valid XplatUI method, but left it in since it's used
  20023. internally. Added empty PostQuitMessage() method.
  20024. * MenuAPI.cs: Replaced call to Exit() with call to
  20025. PostQuitMessage, even though this is probably no longer needed.
  20026. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  20027. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  20028. * Application.cs:
  20029. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  20030. - Removed old debug code that would call XplatUI for exception
  20031. display, enabled standard exception handling (Still not enabled
  20032. though, until NativeWindow's ExternalExceptionHandler define
  20033. is removed
  20034. * NativeWindow.cs:
  20035. - Added internal method to allow control to update NativeWindow
  20036. after a window has been destroyed
  20037. - Added handling of already destroyed windows when calling i
  20038. DestroyWindow
  20039. - Added removal of handle from list on ReleaseHandle
  20040. * XplatUIX11.cs:
  20041. - Dropped GetMessageResult var and related code
  20042. - Added PostQuitState to field to track if PostQuitMessage has been
  20043. called
  20044. - Dropped Exit() method
  20045. - Added PostQuitMessage() method
  20046. - GetMessage now will return false if PostQuitState is set and no
  20047. more messages are in the queue.
  20048. - Expose handler will no longer generate WM_PAINT messages if we are
  20049. in PostQuitState since it's very likely any windows have already
  20050. been destroyed, and since Hwnd won't get updated until we have
  20051. processed the DestroyNotify we'd be causing X errors.
  20052. 2005-12-07 Peter Dennis Bartok <[email protected]>
  20053. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  20054. Thanks to Mike for pointing out the err of my ways.
  20055. 2005-12-07 Peter Dennis Bartok <[email protected]>
  20056. * Control.cs(PreProcessMessage): Moved menu handling back, but
  20057. after all other key handling, to match MS (who handles Menu in
  20058. DefWndProc)
  20059. * Menu.cs (WndProc): Removed my brainfart
  20060. 2005-12-07 Peter Dennis Bartok <[email protected]>
  20061. * Control.cs(PreProcessMessage): Removed special menu handling
  20062. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  20063. 2005-12-07 Mike Kestner <[email protected]>
  20064. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  20065. state according in tracker.
  20066. * Menu.cs : promote tracker field to base class and provide a tracker
  20067. lookup capability. Add/Remove shortcuts dynamically if the top menu
  20068. has a tracker. Unparent items that are removed from the collection.
  20069. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  20070. * Theme*.cs: add always_show_hotkeys field to support configurability
  20071. of mnemonic display. win32 doesn't show mnemonics until Alt is
  20072. pressed.
  20073. 2005-12-07 Jackson Harper <[email protected]>
  20074. * MdiChildContext.cs: Use Control.ResetCursor.
  20075. * Control.cs: ResetCursor needs to set the property so that the
  20076. correct XplatUI call gets made.
  20077. 2005-12-07 Peter Dennis Bartok <[email protected]>
  20078. * Control.cs: More fixes to make our key events match MS. We
  20079. were not setting the modifier state on KeyData, and we were
  20080. not generating any events when Alt was pressed with a key
  20081. since handling of WM_SYSxxx was missing for the OnKey methods.
  20082. 2005-12-07 Jackson Harper <[email protected]>
  20083. * MdiChildContext.cs: reenable the sizing code.
  20084. - When the mouse leaves a window reset its cursor.
  20085. 2005-12-07 Alexander Olk <[email protected]>
  20086. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  20087. 2005-12-07 Peter Dennis Bartok <[email protected]>
  20088. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  20089. widths of Fixed3D borders
  20090. 2005-12-07 Jackson Harper <[email protected]>
  20091. * MdiClient.cs: Fix warnings. Earn Mike's love.
  20092. 2005-12-07 Alexander Olk <[email protected]>
  20093. * ThemeClearlooks.cs:
  20094. - Adjusted mouse over button color
  20095. - Added first parts of CheckBox drawing
  20096. - Added correct color for selected text background
  20097. - Fixed ComboBox drawing
  20098. - Added CPDrawBorder3D and CPDrawBorder
  20099. 2005-12-06 Peter Dennis Bartok <[email protected]>
  20100. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  20101. 2005-12-06 Peter Dennis Bartok <[email protected]>
  20102. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  20103. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  20104. alert users via sound. We could add an enum arg with different
  20105. types of alerts in the future
  20106. 2005-12-06 Peter Dennis Bartok <[email protected]>
  20107. * Control.cs: Fix behaviour problems pointed out by Mike
  20108. 2005-12-05 Mike Kestner <[email protected]>
  20109. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  20110. prop setters. Calls parent.Refresh for now, but could be maybe be
  20111. optimized with an internal method on StatusBar at some point.
  20112. [Fixes #76513]
  20113. 2005-12-05 Peter Dennis Bartok <[email protected]>
  20114. * RichTextBox.cs: Implemented get_SelectionColor
  20115. 2005-12-05 Alexander Olk <[email protected]>
  20116. * ThemeClearlooks.cs:
  20117. - Removed dead code
  20118. - Draw black button border only if button is Form.AcceptButton
  20119. - Draw correct button color for pressed RadioButton if the mouse
  20120. has entered the button
  20121. - Updated ProgressBar drawing!
  20122. - Updated CPDrawSizeGrip drawing
  20123. - Updated StatusBarPanel drawing
  20124. 2005-12-05 Mike Kestner <[email protected]>
  20125. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  20126. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  20127. 2005-12-04 Alexander Olk <[email protected]>
  20128. * ThemeClearlooks.cs: Initial check-in, activate with
  20129. export MONO_THEME=clearlooks
  20130. * ThemeEngine.cs: Added ThemeClearlooks
  20131. 2005-12-03 Mike Kestner <[email protected]>
  20132. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  20133. [Fixes #76897]
  20134. 2005-12-02 Jackson Harper <[email protected]>
  20135. * Form.cs: If the child form has no menu the default main menu is
  20136. used as the active menu.
  20137. 2005-12-02 Peter Dennis Bartok <[email protected]>
  20138. * ListBox.cs: Check if any items exist before trying to resolve
  20139. coordinates into items
  20140. 2005-12-02 Peter Dennis Bartok <[email protected]>
  20141. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  20142. as the second color for the background hatch
  20143. 2005-12-02 Peter Dennis Bartok <[email protected]>
  20144. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  20145. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  20146. sure that what we pass to FormatText is always 1-based. Fixes #76885
  20147. 2005-11-29 Miguel de Icaza <[email protected]>
  20148. * NumericUpDown.cs (EndInit): When we are done initializing,
  20149. reflect any updates on the UI.
  20150. 2005-12-02 Jackson Harper <[email protected]>
  20151. * ImplicitHScrollBar.cs:
  20152. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  20153. their container controls.
  20154. * TreeView.cs: Use the new implicit scrollbars.
  20155. 2005-12-02 Jackson Harper <[email protected]>
  20156. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  20157. can play with it.
  20158. * TreeNodeCollection.cs: If we remove the topnode we need to
  20159. update topnode to the next node in line.
  20160. - When clearing nodes go through the same process as removing
  20161. them, so they get depareneted and checked if they are top node.
  20162. 2005-12-01 Jackson Harper <[email protected]>
  20163. * TreeView.cs: When imagelists are used the image area is
  20164. selectable as well as the text.
  20165. - If there are no selected nodes select the first one.
  20166. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  20167. so don't do it more then we need to.
  20168. 2005-12-01 Jackson Harper <[email protected]>
  20169. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  20170. that arrows can be scaled.
  20171. 2005-12-01 Jackson Harper <[email protected]>
  20172. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  20173. fail. Patch by Dieter Bremes
  20174. 2005-11-30 Jackson Harper <[email protected]>
  20175. * Form.cs: Property is 2.0 only
  20176. * PrintDialog.cs: Signature fix.
  20177. 2005-11-30 Peter Dennis Bartok <[email protected]>
  20178. * TextControl.cs:
  20179. - No longer artificially moves text 2 pixels down (now that we have
  20180. borders this is no longer needed)
  20181. - Added calcs for left, hanging and right indent
  20182. 2005-11-23 Mike Kestner <[email protected]>
  20183. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  20184. 2005-11-30 Jackson Harper <[email protected]>
  20185. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  20186. get cloned as part of CloneMenu ().
  20187. * Menu.cs: Make sure the parent of the items get set correctly
  20188. when they are added. And the owners are notified of the changes.
  20189. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  20190. we can change the menu being displayed/handled by the form without
  20191. changing the menu assosciated with the form.
  20192. - Don't let Mdi children draw/handle menus.
  20193. 2005-11-30 Jackson Harper <[email protected]>
  20194. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  20195. a MenuChanged event. Just to make the API a little more
  20196. consistent.
  20197. * MainMenu.cs:
  20198. * MenuItem.cs: Use the new OnMenuChanged
  20199. * MdiChildContext.cs: Handle menu merging.
  20200. * Form.cs: Implement MergedMenu.
  20201. 2005-11-30 Jackson Harper <[email protected]>
  20202. * Menu.cs: We were misusing Add. Add goes behind the specified
  20203. index according to the docs, and does not replace the specified
  20204. index. So I added an Insert method.
  20205. 2005-11-30 Peter Dennis Bartok <[email protected]>
  20206. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  20207. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  20208. is for Jackson
  20209. * RichTextBox.cs: Added calls to base for DnD events
  20210. 2005-11-28 Peter Dennis Bartok <[email protected]>
  20211. * TextControl.cs:
  20212. - Fixed drag-selection related crash; style fixes
  20213. - Implemented undo class
  20214. o Implemented method to capture document state for specified
  20215. range in document tree
  20216. o Implemented method to restore captured document state
  20217. o Implemented cursor tracking
  20218. o Implemented basic undo stack
  20219. - Added undo cursor tracking to methods altering cursor location
  20220. - Added undo tracking to selection deletion (still missing
  20221. other text-altering hookups)
  20222. * RichTextBox.cs:
  20223. - Added SelectionLength property
  20224. - Implemented CanPaste()
  20225. - Implemented Paste()
  20226. - Added missing protected methods
  20227. - Fixed RTF->Document conversion; now uses font index 0 and color
  20228. index 0 as the default font for the parsed text
  20229. - Fixed RTF<->Document font size translation
  20230. - Fixed RTF generation, now properly handles cross-tag boundaries
  20231. for single line selection
  20232. - No longer always appends blank line to generated RTF
  20233. - Removed TODOs
  20234. - Added missing attributes
  20235. - Hooked up undo-related methods
  20236. * TextBoxBase.cs:
  20237. - Implemented Copy()
  20238. - Implemented Paste()
  20239. - Implemented Cut()
  20240. - Fixed caret mis-behaviour on backspace across line-boundaries
  20241. 2005-11-29 Jackson Harper <[email protected]>
  20242. * MdiClient.cs: Add a method for activating mdi children. Very
  20243. basic right now. I imagine someday it might need more girth.
  20244. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  20245. children windows names are added to the menu item.
  20246. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  20247. mdilist. This happens regardless of whether or not there are any
  20248. mdi windows to see in the list, and according to my tests happens
  20249. before the items are even added. Also happens if there isn't even
  20250. an mdi client to get windows from.
  20251. 2005-11-29 Alexander Olk <[email protected]>
  20252. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  20253. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  20254. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  20255. * DataGridTableStyle.cs:
  20256. - Create always the styles for the missing columns even if they are
  20257. provided by the user (not default table style)
  20258. * DataGrid.cs:
  20259. - Fixes bug 76770
  20260. - Fixes SetDataBinding (always re-attach source)
  20261. - Fixes SetNewDataSource (only clear styles if they are not for
  20262. this source)
  20263. - Expands OnTableStylesCollectionChanged to handle style refresh
  20264. and remove properly
  20265. 2005-11-29 Jackson Harper <[email protected]>
  20266. * FileDialog.cs: Implement missing bits, remove some dead
  20267. code.
  20268. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  20269. creation of the panel so that the options set on the dialog are
  20270. seen when the panel is created.
  20271. * TreeView.cs: raise a click when items are clicked.
  20272. 2005-11-29 Jackson Harper <[email protected]>
  20273. * MdiClient.cs: Pass some signature methods through to base.
  20274. 2005-11-28 Jackson Harper <[email protected]>
  20275. * ListView.cs: Raise the click event when items are clicked.
  20276. 2005-11-28 Jackson Harper <[email protected]>
  20277. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  20278. a nullref.
  20279. 2005-11-27 Alexander Olk <[email protected]>
  20280. * ThemeNice.cs: - Removed 1 pixel bitmaps
  20281. - Use SmoothingMode.AntiAlias where it makes sense
  20282. (ScrollButton arrow for example)
  20283. - Enhanced Button focus drawing
  20284. - Fixed ComboBox drawing (no artefacts anymore, focus
  20285. rectangle is back again, reduced size of ComboButton, etc.)
  20286. - Fixed RadioButton focus drawing for Appearence.Button
  20287. - Slight ScrollButton redesign
  20288. - Some LinearGradientBrush size fixes
  20289. - GroupBoxes have now rounded edges
  20290. - Fixed StatusBar drawing
  20291. 2005-11-25 Alexander Olk <[email protected]>
  20292. * ThemeNice.cs: - Remove dead code
  20293. - use correct background colors for menus, etc.
  20294. - Fake pixel drawing with 1 pixel bitmaps
  20295. 2005-11-24 Jackson Harper <[email protected]>
  20296. * MdiClient.cs: Size the scrollbars when resizing the window.
  20297. - Resize the maximized windows when the client is resized
  20298. * Form.cs: Make the child context available
  20299. 2005-11-23 Jackson Harper <[email protected]>
  20300. * MdiChildContext.cs: Don't size windows if they are maximized.
  20301. 2005-11-23 Mike Kestner <[email protected]>
  20302. * ContextMenu.cs: use MenuTracker.
  20303. * Control.cs: remove menu handle usage.
  20304. * Form.cs: remove menu handle usage.
  20305. * Hwnd.cs: remove menu handle usage.
  20306. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  20307. motion and clicks to the new Tracker handlers.
  20308. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  20309. and handle usage.
  20310. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  20311. Killed the MENU and MENUITEM data types and associated collections
  20312. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  20313. MenuTracker class that exposes the leftovers from the old MenuAPI
  20314. static methods. Restructured Capture handling so that only one grab is
  20315. done for the entire menu hierarchy instead of handing off grabs to
  20316. submenus. Tracker now has an invisible control to Capture when active.
  20317. * MenuItem.cs: add sizing accessors, kill Create
  20318. and handle usage.
  20319. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  20320. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  20321. MENU(ITEM). remove menu handle usage, use Menu directly.
  20322. * XplatUIDriver.cs: remove menu handle usage.
  20323. * XplatUIOSX.cs: remove menu handle usage.
  20324. * XplatUIWin32.cs: remove menu handle usage.
  20325. * XplatUIX11.cs: remove menu handle usage.
  20326. 2005-11-22 Jackson Harper <[email protected]>
  20327. * Hwnd.cs: Don't compute the menu size for
  20328. DefaultClientRectangle.
  20329. - Reenable menu sizes being computed for GetClienRectangle.
  20330. * Form.cs: Remove comment of trechery
  20331. 2005-11-22 Jackson Harper <[email protected]>
  20332. * Hwnd.cs: The adjustments for the menu bar are made when it is
  20333. attached to the form.
  20334. 2005-11-19 Jackson Harper <[email protected]>
  20335. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  20336. (just like on windows).
  20337. 2005-11-19 Jackson Harper <[email protected]>
  20338. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  20339. use real buttons anymore because they are in non client area. The
  20340. one TODO here is that I need to somehow invalidate a section of
  20341. the non client area.
  20342. 2005-11-18 Jackson Harper <[email protected]>
  20343. * Control.cs: Put the enum check back in now that MDI doesnt have
  20344. to use this to set border styles.
  20345. * Form.cs: Only set mdi child windows borders if the handle has
  20346. been created.
  20347. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  20348. this directly on to the driver.
  20349. - Get the move start position before adjusting for the titlebar
  20350. height, this fixes the windows "skipping" when they are first
  20351. moved.
  20352. 2005-11-18 Jackson Harper <[email protected]>
  20353. * XplatUIX11.cs: Just compute the mdi borders separately as they
  20354. don't totally match up with normal form borders.
  20355. 2005-11-18 Jackson Harper <[email protected]>
  20356. * Control.cs: Set WS_ styles for borders, so that the driver does
  20357. not have to retrieve the control instance to figure out what kind
  20358. of borders it should have.
  20359. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  20360. driver can know its an mdi child easily.
  20361. * XplatUIX11.cs: Get the border styles and whether the window is
  20362. MDI from the Styles and ExStyles params instead of having to get a
  20363. control. This prevents a chicken and egg problem.
  20364. 2005-11-18 Jackson Harper <[email protected]>
  20365. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  20366. 2005-11-18 Jackson Harper <[email protected]>
  20367. * MdiClient.cs: Calculate when to add and remove scrollbars
  20368. correctly.
  20369. * MdiChildContext.cs: Adjust the y position to take the titlebar
  20370. into account.
  20371. - No height for FormBorderStyle.None
  20372. 2005-11-18 Jackson Harper <[email protected]>
  20373. * Control.cs: Allow non enum values to be used for
  20374. InternalBorderStyle. MDI does this to set a special border style.
  20375. - New utility methods for converting points to/from client coords
  20376. - Add the newly created control to the Controls collection before
  20377. updating its style. This way UpdateStyle can walk the control
  20378. heirarchy to find the control if needed.
  20379. so I don't need to create a new Point object all the time.
  20380. * Form.cs: Let MDI windows handle their border styles.
  20381. - Set styles on MDI windows so the correct title style is derived.
  20382. * MdiChildContext.cs: Move all the painting and window handling
  20383. into the non client area.
  20384. - Use correct sizing and put correct buttons on frames based on
  20385. the FormBorderStyle.
  20386. - Notify the mdi client about scrolling
  20387. - Need to handle the buttons ourselves now, because they are all
  20388. in non client areas and we can't add controls there.
  20389. * MdiClient.cs: Halfway to scrolling, this implementation is
  20390. somewhat broken though, we need to check to make sure other
  20391. windows aren't causing scrolling before removing the bars. Also
  20392. the bars need to be drawn on top, maybe I can switch implicit
  20393. controls to be on top.
  20394. * Hwnd.cs: caption_height and tool_caption_height are now
  20395. properties of an hwnd, this way they can be set by the driver
  20396. based on the type of window they are. In X11 the window manager
  20397. handles the decorations so caption_height is zero unless its an
  20398. MDI window.
  20399. - Add 3 pixel borders for MDI windows (0xFFFF).
  20400. - Get rid of some code duplication, have DefaultClientRectanle
  20401. just call GetClientRectangle.
  20402. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  20403. Hwnd now.
  20404. - Set border styles differently for mdi windows.
  20405. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  20406. Hwnd now.
  20407. 2005-11-15 Mike Kestner <[email protected]>
  20408. * Menu.cs: when adding an item to the collection, if item is already
  20409. parented, remove it from the parent.
  20410. 2005-11-13 Alexander Olk <[email protected]>
  20411. * X11DesktopColors.cs: Added KDE support
  20412. 2005-11-11 Peter Dennis Bartok <[email protected]>
  20413. * XplatUIWin32.cs:
  20414. - Clipboard methods now can translate Rtf format
  20415. - No longer removes clipboard contents whenever a new format is added
  20416. to allow placing multiple formats on the clipboard
  20417. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  20418. will place all formats contained in it onto the clipboard. Also
  20419. now cleans the clipboard before placing a new object onto it
  20420. * RichTextBox.cs:
  20421. - Implemented set_Rtf
  20422. - Implemented set_SelectedRtf
  20423. - Created InsertRTFFromStream() method to allow single code base
  20424. for all properties and methods that insert RTF into document
  20425. - Removed debug output
  20426. * TextControl.cs:
  20427. - Fixed Delete(int) to fix up line numbers
  20428. - Fixed ReplaceSelection to combine start and end line
  20429. - Fixed serious DeleteChars bug that would leave the document tree
  20430. broken
  20431. - Improved DumpTree with several logic checks to detect broken
  20432. document trees
  20433. - Removed debug lines
  20434. - Fixed Caret.WordForward/WordBack moving code, now always also
  20435. updates caret.tag (fixes crash when word-selecting across tag
  20436. boundaries via keyboard)
  20437. - Added Insert() method for inserting multiline text into documents
  20438. - Fixed DeleteChars() calculation errors that would cause a broken
  20439. tag chain with multiple tag lines
  20440. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  20441. - Split() no longer moves caret if split is at caret location
  20442. - ReplaceSelection() now updates the cursor and re-displays it
  20443. - ReplaceSelection() now uses new Insert() method to avoid code
  20444. duplication
  20445. - FormatText() can now handle formatting partial lines
  20446. * TextBoxBase.cs:
  20447. - Append now uses new TextControl.Insert() method (this avoids
  20448. duplicate code)
  20449. - Implemented Ctrl-X (Cut) (
  20450. - Implemented Ctrl-C (Copy)
  20451. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  20452. regeneration when pasting text; roundtripping Copy&Paste within
  20453. edit control still fails due to some calculation bugs in GenerateRTF)
  20454. - The Delete key will now remove the current selection if it is visible
  20455. * TextBox.cs: Removed debug lines
  20456. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  20457. driver to be initialized and can't therefore be done via a static ctor)
  20458. 2005-11-10 Peter Dennis Bartok <[email protected]>
  20459. * TextControl.cs: Added backend code for finding char arrays and strings
  20460. * TextBoxBase.cs:
  20461. - Added mouse wheel scroll support
  20462. - Added support for VScroll and HScroll events
  20463. * RichTextBox.cs:
  20464. - Implemented all seven Find() variants
  20465. - Implemented GetCharFromPosition()
  20466. - Implemented GetCharIndexFromPosition()
  20467. - Implemented GetLineFromIndex()
  20468. - Implemented GetPositionFromCharIndex();
  20469. - Implemented SaveFile for PlainText and UnicodeText
  20470. - Fixed set_Font, now setting a new font applies that font to
  20471. the whole document
  20472. - Implemented generic Document to RTF converter
  20473. - Implemented SaveFile for RichText format (still missing unicode
  20474. conversion for non-ansi chars)
  20475. - Implemented get_Rtf
  20476. - Implemented get_SelectedRtf
  20477. 2005-11-09 Peter Dennis Bartok <[email protected]>
  20478. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  20479. to allow any captures to be released before triggering OnClick. This
  20480. way a click handler may capture the mouse without interference.
  20481. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  20482. This way we send them even though X may not allow a grab (if the window
  20483. isn't visible, for example)
  20484. 2005-11-08 Pedro Martinez Julia <[email protected]>
  20485. * DataGridViewRowEventArgs.cs: DataGridView implementation
  20486. * DataGridViewElement.cs: DataGridView implementation
  20487. * DataGridViewComboBoxCell.cs: DataGridView implementation
  20488. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  20489. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  20490. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  20491. * ImageLayout.cs: DataGridView implementation
  20492. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  20493. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  20494. * DataGridViewSelectionMode.cs: DataGridView implementation
  20495. * IDataGridViewEditingControl.cs: DataGridView implementation
  20496. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  20497. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  20498. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  20499. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  20500. * DataGridViewColumnSortMode.cs: DataGridView implementation
  20501. * DataGridView.cs: DataGridView implementation
  20502. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  20503. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  20504. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  20505. * Padding.cs: DataGridView implementation
  20506. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  20507. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  20508. * DataGridViewRowEventHandler.cs: DataGridView implementation
  20509. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  20510. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  20511. * DataGridViewButtonCell.cs: DataGridView implementation
  20512. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  20513. * DataGridViewEditMode.cs: DataGridView implementation
  20514. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  20515. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  20516. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  20517. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  20518. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  20519. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  20520. * DataGridViewCellEventHandler.cs: DataGridView implementation
  20521. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  20522. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  20523. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  20524. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  20525. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  20526. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  20527. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  20528. * QuestionEventArgs.cs: DataGridView implementation
  20529. * IDataGridViewEditingCell.cs: DataGridView implementation
  20530. * DataGridViewTriState.cs: DataGridView implementation
  20531. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  20532. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  20533. * DataGridViewColumnCollection.cs: DataGridView implementation
  20534. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  20535. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  20536. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  20537. * DataGridViewColumn.cs: DataGridView implementation
  20538. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  20539. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  20540. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  20541. * DataGridViewRow.cs: DataGridView implementation
  20542. * DataGridViewImageCellLayout.cs: DataGridView implementation
  20543. * DataGridViewImageCell.cs: DataGridView implementation
  20544. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  20545. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  20546. * DataGridViewHeaderCell.cs: DataGridView implementation
  20547. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  20548. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  20549. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  20550. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  20551. * QuestionEventHandler.cs: DataGridView implementation
  20552. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  20553. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  20554. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  20555. * DataGridViewCell.cs: DataGridView implementation
  20556. * DataGridViewCellEventArgs.cs: DataGridView implementation
  20557. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  20558. * DataGridViewCellStyle.cs: DataGridView implementation
  20559. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  20560. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  20561. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  20562. * TextFormatFlags.cs: DataGridView implementation
  20563. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  20564. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  20565. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  20566. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  20567. * DataGridViewButtonColumn.cs: DataGridView implementation
  20568. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  20569. * HandledMouseEventArgs.cs: DataGridView implementation
  20570. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  20571. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  20572. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  20573. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  20574. * DataGridViewRowCollection.cs: DataGridView implementation
  20575. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  20576. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  20577. * DataGridViewHitTestType.cs: DataGridView implementation
  20578. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  20579. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  20580. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  20581. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  20582. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  20583. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  20584. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  20585. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  20586. * DataGridViewContentAlignment.cs: DataGridView implementation
  20587. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  20588. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  20589. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  20590. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  20591. * DataGridViewPaintParts.cs: DataGridView implementation
  20592. * DataGridViewCellCollection.cs: DataGridView implementation
  20593. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  20594. * DataGridViewImageColumn.cs: DataGridView implementation
  20595. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  20596. * DataGridViewElementStates.cs: DataGridView implementation
  20597. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  20598. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  20599. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  20600. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  20601. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  20602. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  20603. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  20604. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  20605. * DataGridViewTextBoxCell.cs: DataGridView implementation
  20606. * DataGridViewBand.cs: DataGridView implementation
  20607. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  20608. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  20609. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  20610. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  20611. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  20612. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  20613. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  20614. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  20615. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  20616. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  20617. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  20618. 2005-11-08 Peter Dennis Bartok <[email protected]>
  20619. * ThemeWin32Classic.cs:
  20620. - Draw the outside focus rectangle around buttons
  20621. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  20622. doesn't use end caps for every dash of a line anymore. This
  20623. workaround ignores the forecolor.
  20624. 2005-11-08 Kornél Pál <[email protected]>
  20625. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  20626. endian safe.
  20627. 2005-11-07 Jackson Harper <[email protected]>
  20628. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  20629. 2005-11-07 Jackson Harper <[email protected]>
  20630. * ScrollableControl.cs: Calculate the maximum and change vars
  20631. (more) correctly so that scrollbars appear as a sensible size.
  20632. 2005-11-04 Jackson Harper <[email protected]>
  20633. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  20634. collection.
  20635. * TreeView.cs: When the tree is sorted null out the top_node so
  20636. that it is recalculated.
  20637. - Use dotted lines instead of dashed lines to match MS better.
  20638. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  20639. * ListView.cs:
  20640. - Implements key search for items. Useful when browsing files with FileDialog
  20641. - When changing view mode or when clear the items reset scrollbar positions
  20642. 2005-11-04 Jackson Harper <[email protected]>
  20643. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  20644. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  20645. as to what the method may do as there is no real way of creating a
  20646. derived CurrencyManager and calling the method.
  20647. 2005-11-03 Jackson Harper <[email protected]>
  20648. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  20649. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  20650. method which seems to just be used internally to refresh the tabs.
  20651. 2005-11-03 Jackson Harper <[email protected]>
  20652. * TabControl.cs: Implement the remove method. Fix some broken
  20653. comments.
  20654. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20655. * DateTimePicker.cs:
  20656. - Added missing DateTimePickerAccessibleObject class
  20657. - Added missing events
  20658. - Added OnFontChanged method
  20659. * Form.cs: Added missing attributes
  20660. * TreeView.cs: Added missing attributes
  20661. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20662. * GridItemCollection.cs: Fix signatures
  20663. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20664. * XplatUI.cs: Updated build rev/date
  20665. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  20666. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  20667. * Application.cs: Trigger context-specific ExitThread events
  20668. 2005-11-03 Jackson Harper <[email protected]>
  20669. * Menu.cs:
  20670. * MainMenu.cs:
  20671. * GridTableStylesCollection.cs:
  20672. * Timer.cs:
  20673. * TabPage.cs:
  20674. * HelpProvider.cs:
  20675. * StatusBar.cs:
  20676. * MonthCalendar.cs: Signature fixes
  20677. 2005-11-03 Jackson Harper <[email protected]>
  20678. * TreeNodeCollection.cs: Remove should not be virtual.
  20679. * TreeView.cs: Implement the last of the missing methods.
  20680. 2005-11-03 Jackson Harper <[email protected]>
  20681. * TreeNodeConverter.cs: Implement to get off my class-status back.
  20682. 2005-11-03 Jackson Harper <[email protected]>
  20683. * TreeView.cs: Hookup the bits for drag and drop.
  20684. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  20685. that nodes can be moved from tree to tree easily this just causes
  20686. all sorts of problems.
  20687. * TreeNodeCollection: Don't need to give treenodes an index and
  20688. treeview anymore when they are added, these are computed on the
  20689. fly. Also make sure to remove a node before its added.
  20690. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20691. * TextControl.cs:
  20692. - Added CaretSelection enum
  20693. - Added comparison methods to Marker struct, makes selection code
  20694. more readable
  20695. - Added SelectionStart and SelectionEnd as 'moveable' location for
  20696. the CaretDirection enum and handler
  20697. - Added selection_prev variable to track optimized invalidation for
  20698. word and line selection
  20699. - Added SelectionVisible property (returns true if there is a valid
  20700. selection)
  20701. - Switched CaretHasFocus to only display the caret if there is no
  20702. visible selection
  20703. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  20704. using the direct character index; should be much faster
  20705. - Added various conditional debug statements
  20706. - Fixed invalidation calculation for selection ranges
  20707. - Added ExpandSelection() method to support word and line selection
  20708. - Switched SetSelectionToCaret to use new Marker compare overloads
  20709. - Added central IsWordSeparator() method to determine word
  20710. separators/whitespace and FindWordSeparator() to streamline common
  20711. usage of IsWordSeparator()
  20712. * TextBoxBase.cs:
  20713. - Removed unneeded grabbed variable, it was just mirroring
  20714. Control.Capture
  20715. - No longer firing OnTextChanged event when Text setter is called,
  20716. since the base will fire the event for us
  20717. - Added handling of Ctrl-Up/Down selection
  20718. - Added handling of Shift-Cursorkey selection
  20719. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  20720. words
  20721. - Added handling of Shift and Ctrl-Shift-Home/End selection
  20722. - Removed some debug output
  20723. - Added handling for single/double/tripple-click to place caret/
  20724. select word/select line respectively (Fixes bug #76031)
  20725. - Added support for drag expansion of word/line selection
  20726. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  20727. current selection
  20728. 2005-11-02 Jackson Harper <[email protected]>
  20729. * X11Dnd.cs: If the drag is going to and from a MWF window just
  20730. copy the data instead of sending it out through the X Selection
  20731. mechanism.
  20732. 2005-11-02 Jackson Harper <[email protected]>
  20733. * X11Dnd.cs:
  20734. * XplatUIX11.cs: When in a drag we don't want motion notify
  20735. messages to get passed on to the other controls. This prevents
  20736. mouse move messages from showing up in the drag source.
  20737. 2005-11-02 Jackson Harper <[email protected]>
  20738. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  20739. the correct button is release to end a drag.
  20740. * XplatUIX11.cs: Make the button state internal so the drag system
  20741. can access it. Dragging needs to know about all button releases,
  20742. not just left button.
  20743. 2005-11-02 Miguel de Icaza <[email protected]>
  20744. * Form.cs (Icon): If the icon is null, reset the icon to the
  20745. default value.
  20746. * Cursor.cs: When writing the AND-mask bitmap do not include the
  20747. number of colors, but hardcode those to two (black and white),
  20748. fixes the loading of color cursors (Paint Dot Net).
  20749. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  20750. turn off autoscaling.
  20751. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  20752. 2005-11-02 Jackson Harper <[email protected]>
  20753. * X11Dnd.cs: Make sure to send a status message if the pointer
  20754. enters a control that can not accept a drop, otherwise the cursor
  20755. isn't updated correctly. Also tried to compress the lines of code
  20756. a bit.
  20757. 2005-11-02 Jackson Harper <[email protected]>
  20758. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  20759. set actions correctly. This isn't perfect as XDND and win32 have
  20760. some differences on how you allow actions. I'll clear this up by
  20761. adding a path for drag from MWF to MWF windows.
  20762. * XplatUIX11.cs: Hook into the dnd system.
  20763. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  20764. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  20765. previously shown but they are no longer need it. Very obvious when
  20766. browsing files with FileDialog.
  20767. 2005-11-01 Peter Dennis Bartok <[email protected]>
  20768. * Control.cs: We always need to call OnPaintBackground. We pretty much
  20769. ignore AllPaintingInWmPaint and always do the painting there, whether
  20770. it's set or not, since we always ignore the WM_ERASEBKGND message
  20771. (which we don't generate on X11). This fixes #76616.
  20772. * Panel.cs: Removed unneeded background painting. This happens properly
  20773. in Control.cs already
  20774. 2005-10-31 Mike Kestner <[email protected]>
  20775. * Menu.cs: Add items to collection before setting their index.
  20776. * MenuItem.cs : add range checking with ArgumentException like MS.
  20777. [Fixes #76510]
  20778. 2005-10-31 Jackson Harper <[email protected]>
  20779. * ListBox.cs: Invalidate if the area is visible at all not just
  20780. contained in the visible rect. Fixes unselection of semi visible
  20781. items.
  20782. 2005-10-31 Jackson Harper <[email protected]>
  20783. * Control.cs: Consistently name the dnd methods. Make them
  20784. internal so we can override them to match some MS behavoir
  20785. internally.
  20786. * Win32DnD.cs: Use the new consistent names.
  20787. 2005-10-31 Jackson Harper <[email protected]>
  20788. * TreeView.cs: Don't draw the selected node when we lose focus.
  20789. 2005-10-31 Jackson Harper <[email protected]>
  20790. * X11Dnd.cs: We still need to reset the state even though a full
  20791. reset isn't being done, otherwise status's still get sent all over
  20792. the place.
  20793. 2005-10-31 Jackson Harper <[email protected]>
  20794. * Control.cs: Make the dnd_aware flag internal so the dnd
  20795. subsystem can check it. Catch exceptions thrown in dnd handlers to
  20796. match MS behavoir.
  20797. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  20798. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  20799. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  20800. flags to reduce the number of dnd enters/status's sent.
  20801. 2005-10-31 Jackson Harper <[email protected]>
  20802. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  20803. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  20804. * PictureBox.cs: Fixes 76512
  20805. 2005-10-28 Jackson Harper <[email protected]>
  20806. * X11Dnd.cs: Early implementation to support winforms being a drag
  20807. source for data on X11. Also restructured the converters so they
  20808. can go both ways now.
  20809. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  20810. 2005-10-27 Peter Dennis Bartok <[email protected]>
  20811. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  20812. clipboard requests
  20813. 2005-10-27 Jackson Harper <[email protected]>
  20814. * TreeNode.cs: Implement serialization so my DnD examples will work.
  20815. 2005-10-24 Kornél Pál <[email protected]>
  20816. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  20817. TreeView.cs: Don't dispose objects that are not owned.
  20818. 2005-10-24 Peter Dennis Bartok <[email protected]>
  20819. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  20820. should retrieve the current cursor and report that, but XplatUI
  20821. doesn't (yet) have an interface for that (and I'm not sure I even
  20822. can, on X11)
  20823. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  20824. until any message loop processing is done (and the WM_SETCURSOR
  20825. replaces the cursor to the proper one)
  20826. * XplatUIX11.cs:
  20827. - Fixed override behaviour, we can't set the cursor globally on X11,
  20828. just for our windows.
  20829. - Invalidating the System.Drawing X11 display handle when we are
  20830. shutting down
  20831. * Control.cs: Fix to make csc happy
  20832. 2005-10-23 Peter Dennis Bartok <[email protected]>
  20833. * TextBoxBase.cs:
  20834. - get_Text: Add last line (without trailing newline) to returned
  20835. value (Fixes 76212)
  20836. - get_TextLength: Count last line in returned length
  20837. - ToString: Call Text property instead of duplicating code
  20838. 2005-10-23 Kornél Pál <[email protected]>
  20839. * ImageList.cs: Dispose ImageAttributes objects.
  20840. 2005-10-22 Kornél Pál <[email protected]>
  20841. * ImageList.cs: Use attribute constructors with less arguments where
  20842. possible.
  20843. 2005-10-22 Kornél Pál <[email protected]>
  20844. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  20845. Use typeof instead of strings when assembly is referenced. Added
  20846. some more comments.
  20847. 2005-10-21 Jackson Harper <[email protected]>
  20848. * ListView.cs: Raise a double click event. Also tried to somewhat
  20849. fix when the selectedindexchanged event is raised. Its still
  20850. broken though.
  20851. 2005-10-21 Jackson Harper <[email protected]>
  20852. * TreeView.cs: New method to invalidate the plus minus area of a
  20853. node without invalidating the whole node (maybe this can be used
  20854. in some more places).
  20855. * TreeNodeCollection.cs: When adding to an empty node we need to
  20856. invalidate its plus minus area so the little block shows up.
  20857. 2005-10-21 Jackson Harper <[email protected]>
  20858. * TreeView.cs: Make sure that when we invalidate a node the bounds
  20859. are big enough to cover the selected box and the focus
  20860. rectangle. Use a different colour for the lines connecting nodes
  20861. so they show up with all themes.
  20862. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20863. * NativeWindow.cs: Don't call anything that could call into the driver,
  20864. we might be on a different thread.
  20865. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20866. * Control.cs(Dispose): Since Dispose might run on a different thread,
  20867. make sure that we call methods that could call into the driver via
  20868. invoke, to avoid thread issues
  20869. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20870. * XplatUI.cs: Removed finalizer
  20871. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  20872. not allowing to be called on the finalizer thread.
  20873. 2005-10-21 Kornél Pál <[email protected]>
  20874. * ImageList.cs:
  20875. - Reverted r51889 and r51891.
  20876. - Added ImageListItem class that stores unmodified image items and image
  20877. properties required to create list images until handle is created.
  20878. - Added AddItem and moved image creation logic to AddItemInternal.
  20879. - Added CreateHandle method that creates images based on unmodified items.
  20880. - Added DestroyHandle that changes state to store unmodified items.
  20881. - Add and AddStrip methods no more create handle.
  20882. - ReduceColorDepth has no return value.
  20883. - Dispose destroys handle.
  20884. - Modified other methods to reflect the above changes.
  20885. - Implemented key support.
  20886. - Added profile 2.0 members and attributes.
  20887. - Added private Reset and ShouldSerialize methods that provide the same
  20888. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  20889. them as they are private.
  20890. - Added some more comments about implementation details.
  20891. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20892. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  20893. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20894. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  20895. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20896. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  20897. * DataGridColumnStyle.cs: Remove debug message
  20898. 2005-10-20 Jackson Harper <[email protected]>
  20899. * TreeView.cs: We can always get input keys regardless of whether
  20900. or not editing is enabled. They are used for navigation.
  20901. 2005-10-20 Jackson Harper <[email protected]>
  20902. * TreeNode.cs: Use the viewport rect for determining if a node
  20903. needs to be moved for visibility. Don't use Begin/End edit. This
  20904. calls a full refresh when its done.
  20905. * TreeView.cs: New SetBottom works correctly. Make the viewport
  20906. rect property internal so the treenodes can see it. When clicking
  20907. on a node we need to ensure that its visible because it might just
  20908. be partly visible when clicked.
  20909. 2005-10-20 Jackson Harper <[email protected]>
  20910. * TreeNodeCollection.cs: Remove debug code.
  20911. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  20912. * Datagrid.cs: Implements column sorting in Datagrid
  20913. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  20914. 2005-10-20 Jackson Harper <[email protected]>
  20915. * TreeNodeCollection.cs: Remove items properly. Update the correct
  20916. area after removing them.
  20917. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  20918. * Datagrid.cs: Should not call base.OnPaintBackground
  20919. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20920. * XplatUIX11.cs (GetMessage):
  20921. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  20922. window instead of client window
  20923. - Now properly calculates NC_xBUTTONUP message coordinates
  20924. - ScreenToMenu now properly calculates it's coordinates of whole
  20925. window, since menus are in the whole window, not in the client
  20926. window
  20927. - Added WholeToScreen coordinate translation method
  20928. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20929. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  20930. want to return a message, loop back to the beginning of the function
  20931. and grab the next real message to process instead.
  20932. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20933. * Splitter.cs: Properly set limits if no filler control is used
  20934. 2005-10-19 Jackson Harper <[email protected]>
  20935. * ColorDialog.cs: Don't show the help button if it is not enabled
  20936. instead of disabling it (this is what MS does). Don't create the
  20937. panel until the dialog is run, otherwise the vars (such as
  20938. ShowHelp) are not set yet.
  20939. 2005-10-19 Jackson Harper <[email protected]>
  20940. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  20941. are reduced when adding nodes.
  20942. * TreeNode.cs:
  20943. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  20944. tree.
  20945. 2005-10-19 Jackson Harper <[email protected]>
  20946. * FolderBrowserDialog.cs: End editing our treeview so the window
  20947. actually gets refreshed.
  20948. 2005-10-18 Peter Dennis Bartok <[email protected]>
  20949. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  20950. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  20951. inside of WM_PAINT
  20952. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20953. * MenuAPI.cs: Returns after Hidding window
  20954. * XplatUIX11.cs: Added TODO found while debugging menu issues
  20955. 2005-10-18 Peter Dennis Bartok <[email protected]>
  20956. * XplatUIX11.cs: Do not re-map the whole window when it's size
  20957. becomes non-zero unless it's supposed to be actually visible
  20958. 2005-10-18 Jackson Harper <[email protected]>
  20959. * TreeView.cs: We don't need to keep a count anymore.
  20960. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  20961. use the Grow method.
  20962. 2005-10-18 Jackson Harper <[email protected]>
  20963. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  20964. implement it manually here.
  20965. 2005-10-18 Jackson Harper <[email protected]>
  20966. * ImageList.cs: Dont kill the list when the colour depth is
  20967. changed, just change the colour depth of all the images.
  20968. - Same goes for setting the image size. Just resize them all
  20969. instead of killing the list softly.
  20970. 2005-10-18 Jackson Harper <[email protected]>
  20971. * Control.cs: Don't invalidate empty rectangles.
  20972. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20973. * ListViewItem.cs:
  20974. - Adds checked item to the Checked/Item lists (where empty before)
  20975. - Do not add items to the Selected lists if they are already present
  20976. * ListView.cs:
  20977. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  20978. - When deleting items make sure that we delete them for the Selected
  20979. and Checked list also.
  20980. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20981. * Label.cs: Dispose objects no longer used
  20982. * ThemeWin32Classic.cs: Dispose objects no longer used
  20983. 2005-10-18 Jackson Harper <[email protected]>
  20984. * TabControl.cs: Don't refresh the whole control when the tabs are
  20985. scrolled, we just need to refresh the tab area.
  20986. 2005-10-17 Jackson Harper <[email protected]>
  20987. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  20988. after handle when we need it.
  20989. 2005-10-17 Peter Dennis Bartok <[email protected]>
  20990. * Control.cs: When the parent size changes, recalculate anchor
  20991. positions. Partial fix for #76462
  20992. 2005-10-17 Peter Dennis Bartok <[email protected]>
  20993. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  20994. drawn. Fixes #76462
  20995. 2005-10-17 Jackson Harper <[email protected]>
  20996. * MonthCalendar.cs: Don't create the numeric up down until our
  20997. handle is created. Otherwise our handle is created in the
  20998. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  20999. yet.
  21000. 2005-10-17 Jackson Harper <[email protected]>
  21001. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  21002. correctly.
  21003. 2005-10-17 Rafael Teixeira <[email protected]>
  21004. * TreeNode.cs : small logical fix (was using local var instead of field)
  21005. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  21006. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  21007. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  21008. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  21009. 2005-10-16 Peter Dennis Bartok <[email protected]>
  21010. * Control.cs:
  21011. - Re-implemented anchoring code. My first version was really broken.
  21012. This fixes bug #76033. Unlike the previous implementation we will
  21013. no longer have round errors since all numbers are calculated from
  21014. scratch every time. Removed various anchor-related obsolete vars.
  21015. - InitLayout no longer causes layout event firing and layout to be
  21016. performed
  21017. 2005-10-16 Jackson Harper <[email protected]>
  21018. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  21019. which was broken).
  21020. 2005-10-16 Jackson Harper <[email protected]>
  21021. * TabControl.cs: Remove debug code.
  21022. 2005-10-16 Jackson Harper <[email protected]>
  21023. * XEventQueue.cs: Increase the default queue size (very simple
  21024. apps needed to grow the queue).
  21025. * Hwnd.cs: No finalizer so we don't need to suppress
  21026. finalization. Compute the invalid area manually so a new rectangle
  21027. does not newto be created.
  21028. * ScrollableControl.cs: Don't set any params (otherwise visibility
  21029. isn't set correctly).
  21030. * MdiChildContext.cs: New constructor takes the mdi parent so it
  21031. doesn't have to be computed and avoids a crash on windows. Draw
  21032. the window icon properly, and allow the text to be seen.
  21033. * Form.cs: Use new MdiChildContext constructor. Make sure the
  21034. child context isn't null in wndproc.
  21035. * TabControl.cs: Don't set focus, this is muddling keyboard
  21036. behavoir. Expand the tab rows when a window size increase will
  21037. allow extra tabs to be seen. Don't allow tabs smaller than the
  21038. width of a window to be scrolled out of view.
  21039. * TreeNode.cs:
  21040. * TreeView.cs: Use measure string to calculate a nodes width, the
  21041. width is cached and only updated when the text or the font is
  21042. changed. Don't check for expand/collapse clicks on the first level
  21043. nodes if root lines are disabled.
  21044. 2005-10-16 Ritvik Mayank <[email protected]>
  21045. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  21046. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  21047. * DataGridBoolColumn.cs: fixes warning
  21048. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  21049. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  21050. to match more to match more precisely the MS Net behavior
  21051. 2005-10-13 Peter Dennis Bartok <[email protected]>
  21052. * Hwnd.cs: Added field to track if window is mapped
  21053. * XplatUIX11.cs:
  21054. - Unmap windows if they become 0-size, re-map when
  21055. they are >0 again; fixes #76035
  21056. - Re-set our error handler after initializing X11Desktop
  21057. to override any error handlers Gtk or whatever was called
  21058. may have set.
  21059. 2005-10-13 Peter Dennis Bartok <[email protected]>
  21060. * CheckedListBox.cs: Removed unused vars
  21061. * ListView.cs: Fixed signatures
  21062. * RichTextBox.cs: Removed unused vars
  21063. * TextBoxBase.cs: Removed unused vars
  21064. * XplatUIWin32.cs: Removed unused vars
  21065. * XplatUIX11.cs: Removed unused vars
  21066. * XplatUI.cs: Updated version and date to latest published
  21067. 2005-10-13 Peter Dennis Bartok <[email protected]>
  21068. * Cursor.cs: Added private .ctor to work around a bug in
  21069. resourceset (Thanks to Geoff Norton for the help on this)
  21070. * SplitterEventArgs.cs: Made fields accessible so we don't
  21071. waste boatloads of objects and can reuse the same one
  21072. in Splitter
  21073. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  21074. any captions and borders when generating screen coordinates
  21075. * Splitter.cs: Reimplemented control, now fully complete, uses
  21076. rubberband drawing, supports and obeys all properties, has
  21077. proper cursors
  21078. 2005-10-13 Miguel de Icaza <[email protected]>
  21079. * Form.cs (Form): Setup default values for autoscale and
  21080. autoscale_base_size; Make these instance variables, not static
  21081. variables.
  21082. (OnLoad): on the first load, adjust the size of the form.
  21083. 2005-10-13 Peter Dennis Bartok <[email protected]>
  21084. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  21085. width argument to DrawReversibleRectangle()
  21086. * XplatUIWin32.cs, XplatUIX11.cs:
  21087. - Implemented width for DrawReversibleRectangle()
  21088. - Added logic to DrawReversibleRectangle that recognizes a zero
  21089. width or height and only draws a line in that situation
  21090. 2005-10-12 Peter Dennis Bartok <[email protected]>
  21091. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  21092. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  21093. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  21094. method (it uses our FosterParent window to get a graphics context)
  21095. 2005-10-12 Peter Dennis Bartok <[email protected]>
  21096. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  21097. and SetWindowBackground methods
  21098. * Control.cs:
  21099. - Setting proper ControlStyles
  21100. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  21101. EraseWindowBackground, instead we draw the window background
  21102. ourselves in PaintControlBackground. This behaviour is
  21103. required to match MS, where, when OnPaintBackground is not
  21104. called, the background is not drawn.
  21105. - Removed unneeded Refresh() in set_Text
  21106. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  21107. * XplatUIX11.cs:
  21108. - Created DeriveStyles method to translate from CreateParams to
  21109. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  21110. matches FormBorderStyle enum values)
  21111. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  21112. style calculations into single DeriveStyles method
  21113. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  21114. from redrawing the whole window on any resize or expose.
  21115. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  21116. all styles were applied to our whole/client window appropriately
  21117. - Removed EraseWindowBackground() and SetWindowBackground() methods
  21118. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  21119. no longer clear/redraw the background through X
  21120. - Removed handling of erase_pending bit, we have no use for it (or
  21121. so it seems)
  21122. * XplatUIOSX.cs:
  21123. - Removed generation and handling of WM_ERASEBKGND message
  21124. - Removed EraseWindowBackground() and SetWindowBackground() methods
  21125. - Removed handling of hwnd.ErasePending flag
  21126. * XplatUIWin32.cs:
  21127. - Removed EraseWindowBackground() and SetWindowBackground() methods
  21128. - We no longer call EraseWindowBackground on PaintEventStart, we
  21129. ignore the fErase flag, erasing is handled in Control in the
  21130. background handler
  21131. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  21132. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  21133. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  21134. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  21135. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  21136. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  21137. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  21138. 2005-10-12 Jonathan Chambers <[email protected]>
  21139. * PropertyGrids.cs: Get sub properties
  21140. * PropertyGridView.cs: Fix drawing code
  21141. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  21142. * ListBox.cs: Fixes 76383
  21143. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  21144. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  21145. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  21146. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  21147. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  21148. * ComboBox.cs: Fixes border drawing
  21149. 2005-10-10 Miguel de Icaza <[email protected]>
  21150. * MimeIcon.cs: Ignore errors if the file can not be read.
  21151. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  21152. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  21153. - Fixed border calculations
  21154. - Fixed horizontal scrolling in single column listboxes
  21155. - Fixed drawing issues
  21156. 2005-10-10 Peter Dennis Bartok <[email protected]>
  21157. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  21158. FormBorderStyle enum
  21159. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  21160. code to determine FormBorderStyles from CreateParams
  21161. * Form.cs:
  21162. - Fixed bug where we'd set the wrong window styles if we were
  21163. not creating an MDI window
  21164. - Added call to XplatUI.SetBorderStyle when form borders are set
  21165. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  21166. * Hwnd.cs:
  21167. - Removed obsolete edge style
  21168. - Switched from BorderStyle to FormBorderStyle
  21169. 2005-10-10 Jackson Harper <[email protected]>
  21170. * Form.cs: Use the property to get the window handle instead of
  21171. accessing it directly. Prevents a null reference exception.
  21172. 2005-10-10 Jackson Harper <[email protected]>
  21173. * TreeView.cs: Don't adjust the rect given to DrawString now that
  21174. our libgdiplus draws correctly.
  21175. 2005-10-08 Jackson Harper <[email protected]>
  21176. * TreeView.cs: Don't try to find the clicked on node if there are
  21177. no nodes in the tree.
  21178. 2005-10-08 Alexander Olk <[email protected]>
  21179. * RichTextBox.cs:
  21180. restore
  21181. 2005-10-08 Alexander Olk <[email protected]>
  21182. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  21183. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  21184. ErrorProvider.cs:
  21185. Use ResPool for brushes and dispose System.Drawing objects that
  21186. are not used anymore.
  21187. 2005-10-07 Jackson Harper <[email protected]>
  21188. * MdiChildContext.cs: Use the new borders instead of drawing them
  21189. ourselves.
  21190. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  21191. * Calling UpdateBounds after changing the window's BorderStyle
  21192. since the style can change the ClientSize
  21193. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21194. * Control.cs: Made PaintControlBackground virtual
  21195. * Panel.cs: Overriding PaintControlBackground instead of using paint
  21196. event; paint event method was interfering with 'real' users of the
  21197. event.
  21198. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  21199. * ThemeWin32Classic.cs: remove border drawing since it is handled
  21200. by the base control class now and was causing double border drawing.
  21201. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21202. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  21203. but it does seem to match MS behaviour. This fixes bug #75324
  21204. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21205. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  21206. somewhat hackish looking
  21207. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21208. * TextBoxBase.cs:
  21209. - We now accept Enter even if AcceptEnter is false, if the containing
  21210. form does not have an AcceptButton configured (fixes bug #76355)
  21211. - Calculations are now fixed to no longer use Width/Height, but
  21212. ClientSize.Width/Height, since we now support borders (this was
  21213. a result of fixing borders and therefore bug #76166)
  21214. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  21215. true (fixes bug #76354)
  21216. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21217. * Control.cs:
  21218. - Defaulting BorderStyle and setting it in XplatUI when our window
  21219. is created
  21220. - Added enum check to InternalBorderStyle setter
  21221. * XplatUIX11.cs:
  21222. - Added drawing of window borders
  21223. - Now properly calculates WM decorations offset for toplevel
  21224. windows (fixes bug #74763)
  21225. * XplatUIWin32.cs:
  21226. - Implemented BorderStyles for windows (we're letting win32 draw
  21227. the border for us)
  21228. - Fixed the signature for SetWindowLong
  21229. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  21230. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  21231. setting borders
  21232. * UpDownBase.cs: Remove drawing of borders, this is handled by
  21233. the driver, outside the client area
  21234. * ListView.cs: Removed bogus border calculations. The control should
  21235. be oblivious to borders, since those are not part of the client
  21236. area.
  21237. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  21238. * ThemeWin32Classic.cs: Removed border calculations from ListView
  21239. drawing code
  21240. 2005-10-06 Jackson Harper <[email protected]>
  21241. * MdiChildContext.cs: Clear out the old virtual position remove
  21242. all the unneeded calls to CreateGraphics.
  21243. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21244. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  21245. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21246. * Form.cs:
  21247. - Added loading and setting of our new default icon
  21248. - Only set icon if window is already created
  21249. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21250. * Label.cs:
  21251. - Do not explicitly set the foreground and background colors, to
  21252. allow inheriting from parents (fixes #76302)
  21253. - Use Control's InternalBorderStyle property to deal with borders
  21254. 2005-10-06 Jackson Harper <[email protected]>
  21255. * MdiChildContext.cs: Use the new xplatui function to draw a
  21256. reversible rect.
  21257. 2005-10-06 Jackson Harper <[email protected]>
  21258. * Form.cs: Add the parent before creating the child context cause
  21259. we need the parent when setting up the child.
  21260. 2005-10-06 Jackson Harper <[email protected]>
  21261. * FolderBrowserDialog.cs: redo the tree population code so a
  21262. second thread isn't used. Should be a lot faster and more stable
  21263. now.
  21264. 2005-10-05 Jackson Harper <[email protected]>
  21265. * TreeView.cs: There are no expand/collapse boxes if the node has
  21266. no children.
  21267. 2005-10-05 Jackson Harper <[email protected]>
  21268. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  21269. 2005-10-05 Alexander Olk <[email protected]>
  21270. * FileDialog.cs: Fix InitialDirectory
  21271. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  21272. * ComboBox.cs:
  21273. - Fixes changing between styles
  21274. - Fixes simple mode
  21275. - Fixes last item crashing when navigating with keyboard
  21276. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  21277. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  21278. 2005-10-05 Jackson Harper <[email protected]>
  21279. * TreeView.cs: If updating the root node do a full refresh.
  21280. * TreeNode.cs: The root node should be expanded by default. Also
  21281. added a utility prop to tell if we are the root node.
  21282. * TreeNodeCollection.cs: Only refresh if the node we are being
  21283. added to is expanded. Also added a comment on a potential
  21284. optimization.
  21285. 2005-10-04 Peter Dennis Bartok <[email protected]>
  21286. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  21287. in dispose method. Fixes #76330
  21288. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  21289. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  21290. - Implements vertical and horizontal scrolling using XplatUI
  21291. - Fixes keyboard navagation
  21292. - Fixes EnsureVisible
  21293. - Drawing fixes
  21294. - Handles and draws focus properly
  21295. 2005-10-04 Kornél Pál <[email protected]>
  21296. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  21297. Create handle. NET_2_0: Destroy handle when value is null.
  21298. 2005-10-03 Jackson Harper <[email protected]>
  21299. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  21300. revert and a new patch to prevent the thumb from refreshing so
  21301. much.
  21302. 2005-10-02 Jackson Harper <[email protected]>
  21303. * ScrollBar.cs: Don't update position if it hasn't actually
  21304. changed. This occurs when you hold down the increment/decrement
  21305. buttons and the thumb gets to the max/min.
  21306. 2005-10-01 Jackson Harper <[email protected]>
  21307. * Form.cs:
  21308. * MdiChildContext.cs:
  21309. * MdiClient.cs: Implement ActiveMdiChild in Form.
  21310. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  21311. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  21312. 2005-10-01 Peter Dennis Bartok <[email protected]>
  21313. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  21314. be found
  21315. 2005-09-30 Jackson Harper <[email protected]>
  21316. * ListBox.cs: Don't do a full refresh unless some data has
  21317. actually changed.
  21318. 2005-09-30 Jackson Harper <[email protected]>
  21319. * TreeView.cs: Make sure that the checkboxes size is factored in
  21320. even when not visible.
  21321. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21322. * FileDialog.cs: Fix Jordi's build break
  21323. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  21324. * FileDialog.cs:
  21325. - Use standard the Windows colours for the combobox as espected
  21326. - Dispose objects that use resouces when no longer need them
  21327. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21328. * X11DesktopColors.cs: Initial incomplete implementation
  21329. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  21330. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21331. * Theme.cs:
  21332. - Switched Theme color names to match the names defined in
  21333. System.Drawing.KnownColors. Life's hard enough, no need to make
  21334. it harder.
  21335. - Added setters to all theme color properties so themes can set
  21336. their color schemes. The setters also propagate the color changes
  21337. to System.Drawing.KnownColors via reflection
  21338. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  21339. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  21340. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  21341. use the new, more logical theme color names
  21342. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  21343. post-NT colors
  21344. * ThemeWin32Classic.cs:
  21345. - Removed code to set the old classic Windows colors. Instead it
  21346. now relies on the colors returned by System.Drawing.KnownColors
  21347. which will be either modern static colors (Unix) or colors
  21348. read from the user's configuration (Win32)
  21349. - Updated to use the new, more logical theme color names
  21350. - Switched DataGrid drawing code to use only Theme colors instead of
  21351. a mix of System.Drawing.KnownColors and Theme colors
  21352. - DrawFrameControl(): Removed code that fills the button area, the
  21353. fill would overwrite any previous fill done by a control. This
  21354. fixes bug #75338
  21355. - Added DrawReversibleRectangle() stub
  21356. * ScrollableControl.cs: Set visible state to false when scrollbars
  21357. are removed (pdn fix)
  21358. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  21359. DrawReversibleRectangle() method to allow drawing primitive
  21360. 'rubber bands'
  21361. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  21362. 2005-09-30 Kornél Pál <[email protected]>
  21363. * ImageList.cs: Add(Icon): Create handle.
  21364. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  21365. * ListView.cs:
  21366. * ThemeWin32Classic.cs:
  21367. - Fixes detail mode
  21368. - Sets clippings
  21369. - Issues with drawing
  21370. 2005-09-30 Kornél Pál <[email protected]>
  21371. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  21372. source has to be the ImageList.
  21373. 2005-09-30 Kornél Pál <[email protected]>
  21374. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  21375. 2005-09-30 Kornél Pál <[email protected]>
  21376. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  21377. 2005-09-30 Kornél Pál <[email protected]>
  21378. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  21379. 2005-09-29 Jonathan Chambers <[email protected]>
  21380. * GridItem.cs: Fixed TODOs
  21381. * GridItemCollection.cs: Added ICollection interface
  21382. 2005-09-30 Kornél Pál <[email protected]>
  21383. * ImageList.cs: Resize icons when needed.
  21384. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  21385. * ListViewItem.cs
  21386. - Fixes GetBounds and returns on screen rects
  21387. * ListView.cs:
  21388. - Fixes vertical and horzintal scrolling of items
  21389. * ThemeWin32Classic.cs:
  21390. - Fixes drawing
  21391. 2005-09-29 Raja R Harinath <[email protected]>
  21392. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  21393. 2005-09-29 Kornél Pál <[email protected]>
  21394. * ImageList.cs: Added comments about handle creation. Moved Handle,
  21395. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  21396. Handle is created in Add methods.
  21397. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  21398. * DataGridDrawingLogic.cs:
  21399. - Takes rows into account on Colum calculations
  21400. - Returns the column when clickig
  21401. * DataGrid.cs:
  21402. - Fixes default HitTestInfo values
  21403. - Fixes HitTestInfo.ToString
  21404. - Fixes ResetBackColor
  21405. 2005-09-28 Jackson Harper <[email protected]>
  21406. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  21407. sizing or cursor changes). Also added some temp code to draw the
  21408. titlebars text (Makes dev a little easier).
  21409. 2005-09-28 Kornél Pál <[email protected]>
  21410. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  21411. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  21412. * ListBox.cs: Fixes bug 76253
  21413. 2005-09-28 Kornél Pál <[email protected]>
  21414. * ImageList.cs: Added comments about the current implementation. Added
  21415. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  21416. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  21417. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  21418. with Bitmap.LockBits for better performance. Revised the whole file to
  21419. match MS.NET behaviour and provide better performance. Non-public
  21420. interface members are calling public members even when they throw
  21421. NotSupportedException for better maintainability. Moved ColorDepth,
  21422. ImageSize, ImageStream and TransparentColor implementations to
  21423. ImageCollection for better performance as these properties are not used
  21424. by ImageList.
  21425. * ImageListStreamer.cs: Added a new internal constructor that takes an
  21426. ImageList.ImageCollection and serializes Images based on
  21427. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  21428. match ImageList property name.
  21429. 2005-09-28 Kazuki Oikawa <[email protected]>
  21430. * ListBox.cs: Fixes IndexFromPoint for last item
  21431. 2005-09-27 Jackson Harper <[email protected]>
  21432. * Form.cs: Set the position of new mdi children correctly.
  21433. 2005-09-27 Jackson Harper <[email protected]>
  21434. * MdiClient.cs: New mdi children need to be added to the back of
  21435. the controls collection so the zorder is set correctly. Also add a
  21436. count of all the child windows that have been created.
  21437. 2005-09-27 Jackson Harper <[email protected]>
  21438. * Form.cs (CreateParams): Setup MDI forms correctly.
  21439. 2005-09-27 Jackson Harper <[email protected]>
  21440. * MdiChildContext.cs:
  21441. * MonthCalendar.cs:
  21442. * UpDownBase.cs:
  21443. * ListBox.cs:
  21444. * ListView.cs:
  21445. * TextBoxBase.cs:
  21446. * TreeView.cs:
  21447. * ScrollableControl.cs:
  21448. * ComboBox.cs: Add implicit controls using the new implict control
  21449. functionality in ControlCollection. Also try to block multiple
  21450. control add in a suspend/resume layout to save some cycles.
  21451. 2005-09-27 Jackson Harper <[email protected]>
  21452. * Control.cs: Add functionality to the controls collection to add
  21453. 'implicit controls' these are controls that are created by the
  21454. containing control but should not be exposed to the user. Such as
  21455. scrollbars in the treeview.
  21456. * Form.cs: The list var of the ControlsCollection is no longer
  21457. available because of the potential of implicit controls getting
  21458. ignored by someone accessing the list directly.
  21459. 2005-09-26 Peter Dennis Bartok <[email protected]>
  21460. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  21461. loose it's parent. (Fixed bug introduced in r49103 when we added
  21462. setting the child parent to null on Remove)
  21463. 2005-09-26 Gert Driesen <[email protected]>
  21464. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  21465. * Splitter.cs: Added missing attributes for BorderStyle property.
  21466. * TextBoxBase.cs: Marked Calculate* methods internal.
  21467. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  21468. MS.NET.
  21469. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  21470. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  21471. 2005-09-25 Jackson Harper <[email protected]>
  21472. * TreeView.cs: Update the node bounds correctly regardless of
  21473. whether the node is visible.
  21474. 2005-09-25 Jackson Harper <[email protected]>
  21475. * ImageList.cs: Don't dispose the image after it is added to the
  21476. image list. Only reformat images that need to be resized.
  21477. 2005-09-25 Jackson Harper <[email protected]>
  21478. * ImageList.cs: Don't set the format when changing the image.
  21479. 2005-09-25 Jackson Harper <[email protected]>
  21480. * TreeView.cs: We can't just assume the node has a font. Use the
  21481. treeviews font if no node font is available.
  21482. 2005-09-25 Jackson Harper <[email protected]>
  21483. * TreeView.cs: Allow the scrollbars to be reset with negative
  21484. values.
  21485. - Don't add scrollbars to negative sized windows.
  21486. 2005-09-23 Jackson Harper <[email protected]>
  21487. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  21488. old Mono.Posix. Also remove some stray code that shouldn't have
  21489. been committed.
  21490. 2005-09-23 Jackson Harper <[email protected]>
  21491. * TreeView.cs: Attempt at proper sizing of the horizontal
  21492. scrollbar. Also don't resize the scrollbars unless they are
  21493. visible.
  21494. 2005-09-23 Jackson Harper <[email protected]>
  21495. * TreeView.cs: We don't need to expand the invalid area when the
  21496. selection changes, as this is all drawn in the node's bounding
  21497. box. The area needs to be expanded (previous typo was contracting
  21498. it) when the focus rect moves.
  21499. 2005-09-23 Jackson Harper <[email protected]>
  21500. * TreeView.cs: Display the selection box under the correct
  21501. circumstances. We were rendering white text with no selection box
  21502. before.
  21503. 2005-09-23 Peter Dennis Bartok <[email protected]>
  21504. * TextControl.cs(Split): Now updates selection start/end if it points
  21505. into a line that's being split. Fixes a FIXME and bug #75258
  21506. 2005-09-23 Jackson Harper <[email protected]>
  21507. * Binding.cs:
  21508. * ListControl.cs: Don't use the path when retrieving binding
  21509. managers from the binding context. My bat sense tells me that the
  21510. path is only used on insertion.
  21511. 2005-09-22 Jackson Harper <[email protected]>
  21512. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  21513. 2005-09-22 Jackson Harper <[email protected]>
  21514. * Splitter.cs: There are special cursors used for splitting.
  21515. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  21516. 2005-09-22 Jackson Harper <[email protected]>
  21517. * Splitter.cs: Change the cursor appropriately when the splitter
  21518. is moused over, so the user actually knows there is a splitter
  21519. there.
  21520. 2005-09-22 Hisham Mardam Bey <[email protected]>
  21521. * Label.cs : Fix ToString method to give same output as MS.NET
  21522. 2005-09-22 Jackson Harper <[email protected]>
  21523. * TreeView.cs: Create the scrollbars when the handle is created
  21524. and add them right away, just make them invisble. Also account for
  21525. the window being shrunk vertically to the point that the vert
  21526. scrollbar needs to be added.
  21527. - Remove some 0.5 adjustments to get around anti aliasing issues.
  21528. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  21529. * MainMenu.cs: Fixes default value
  21530. * MenuItem.cs: Fixes default value
  21531. 2005-09-22 Kazuki Oikawa <[email protected]>
  21532. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  21533. 2005-09-21 Jackson Harper <[email protected]>
  21534. * Control.cs: Don't try to set the border style on the window if
  21535. it hasn't been created. When the window is created the border
  21536. style will be used.
  21537. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21538. * Control.cs (Update): Don't call XplatUI if we don't have a
  21539. window handle yet
  21540. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21541. * ContainerControl.cs: Instead of throwing an exception, print
  21542. a one-time warning about Validate not being implemented
  21543. * XplatUIWin32.cs: Removed debug output
  21544. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21545. * Control.cs: Only set XplatUI background if we expect the windowing
  21546. system to handle the background. This stops controls that draw their
  21547. own background from flickering
  21548. * XplatUIX11.cs: Support custom visuals and colormaps for window
  21549. creation. This allows, amongst other things, using MWF X11 windows
  21550. with OpenGL.
  21551. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21552. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  21553. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  21554. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  21555. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  21556. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  21557. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  21558. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  21559. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  21560. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  21561. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  21562. GridColumnStylesCollection.cs,
  21563. IDataGridColumnStyleEditingNotificationService.cs,
  21564. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  21565. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  21566. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  21567. TreeNodeCollection.cs, AmbientProperties.cs,
  21568. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  21569. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  21570. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  21571. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  21572. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  21573. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  21574. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  21575. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  21576. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  21577. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  21578. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  21579. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  21580. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  21581. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  21582. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  21583. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  21584. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  21585. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  21586. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  21587. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  21588. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  21589. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  21590. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  21591. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  21592. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  21593. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  21594. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  21595. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  21596. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  21597. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  21598. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  21599. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  21600. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  21601. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  21602. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  21603. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  21604. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  21605. 2005-09-21 Jackson Harper <[email protected]>
  21606. * TreeNode.cs: Call Before/After Expand not Collapse when
  21607. expanding.
  21608. 2005-09-20 Jackson Harper <[email protected]>
  21609. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  21610. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  21611. * ListViewItem.cs:
  21612. - Fixes bug 76120
  21613. - Fixes proper storing of subitems
  21614. - Fixes not updated items
  21615. 2005-09-20 Peter Dennis Bartok <[email protected]>
  21616. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  21617. things if our window handle isn't created yet. Also disabled
  21618. debug for TextBoxBase
  21619. 2005-09-20 Peter Dennis Bartok <[email protected]>
  21620. * MenuAPI.cs: Remove filtering of events to allow menu usage
  21621. 2005-09-20 Miguel de Icaza <[email protected]>
  21622. * Cursor.cs: Allow null to be passed to Cursor.Current.
  21623. 2005-09-20 Alexander Olk <[email protected]>
  21624. * ThemeWin32Classic.cs:
  21625. - Change some private methods/fields to protected virtual so that
  21626. they can be accessed and overriden in derived classes
  21627. - First refactoring of some methods. Derived themes now don't
  21628. need to duplicate the complete code from ThemeWin32Classic
  21629. * ThemeNice.cs:
  21630. - Added nice StatusBar
  21631. - Derive from ThemeWin32Classic and not Theme
  21632. - Removed duplicate ThemeWin32Classic code
  21633. 2005-09-20 Miguel de Icaza <[email protected]>
  21634. * Control.cs (ControlCollection.Add): If the value null is passed
  21635. the control is ignored.
  21636. Optimize this loop.
  21637. 2005-09-19 Peter Dennis Bartok <[email protected]>
  21638. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  21639. PostQuitMessage state.
  21640. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  21641. 2005-09-19 Peter Dennis Bartok <[email protected]>
  21642. * Application.cs: Our constructor will never get called, move
  21643. initialization to fields; fixes bug #75933
  21644. 2005-09-19 Hisham Mardam Bey <[email protected]>
  21645. * FileDialog.cs :
  21646. - Allow files to be selected properly using file name
  21647. combo box.
  21648. - Add ability to change diretory (absolute / relative)
  21649. using file name combo box.
  21650. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  21651. * ListBox.cs:
  21652. - Fixes Multicolumn listboxes item wrong calculations
  21653. - Allows to click when only one item is in the listbox
  21654. - Fixes crash when no items using keyboard navigation
  21655. 2005-09-16 Alexander Olk <[email protected]>
  21656. * ComboBox.cs: Reverted almost everything from the latest patch which
  21657. broke ComboBox
  21658. 2005-09-16 Kazuki Oikawa <[email protected]>
  21659. * ToolTip.cs:
  21660. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  21661. * ComboBox.cs:
  21662. - When DropDownStyle is Simple, it does not show scrollbar
  21663. to the last item of the list.
  21664. - When DropDownStyle is Simple, it crashed when the list was
  21665. scrolled down with the down cursor key.
  21666. - Fixed a bug that when DropDownStyle is DropDownList, the
  21667. selected item was not shown.
  21668. - The position of the selected item was not preserved when
  21669. the next dropdown happened.
  21670. * ThemeWin32Classic.cs:
  21671. - Items were wrapped at the right end.
  21672. * CheckedListBox.cs:
  21673. - Fixed Add method
  21674. * ListBox.cs:
  21675. - Items should be fully shown.
  21676. - When resizing and vertical scrollbar disappeared, the item
  21677. of index 0 should be on the top of the list.
  21678. - GetItemRectangle should consider the size of ver. scrollbar
  21679. * StatusBar.cs:
  21680. - SizingGrip area should not be allocated when it is not
  21681. displayed.
  21682. - Now it reflects MinWidth of the containing panel and
  21683. fixed a crash that happens when its width becomes so small.
  21684. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  21685. * CheckedListBox.cs: Fixes bug 76028
  21686. * ListBox.cs: Fixes bug 76028
  21687. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  21688. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  21689. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  21690. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  21691. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  21692. 2005-09-09 Jonathan Chambers <[email protected]>
  21693. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  21694. 2005-09-09 Jonathan Chambers <[email protected]>
  21695. * IRootGridEntry.cs: Added
  21696. * PropertyGridCommands.cs: Added
  21697. * PropertiesTab.cs: Added missing methods and property
  21698. * PropertyGridView.cs: Made class internal
  21699. * PropertyGridTextBox.cs: Made class internal
  21700. 2005-09-09 Alexander Olk <[email protected]>
  21701. * MimeIcon.cs: Try to check some other environment variables
  21702. if "DESKTOP_SESSION" returns "default"
  21703. 2005-09-09 Alexander Olk <[email protected]>
  21704. * ThemeNice.cs: Corrected background colors (e.g. menus)
  21705. * ColorDialog.cs: Use correct background colors for controls
  21706. 2005-09-09 Alexander Olk <[email protected]>
  21707. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  21708. 2005-09-08 Peter Dennis Bartok <[email protected]>
  21709. * RichTextBox.cs: Added initial implementation
  21710. * lang.cs: Removed. Was accidentally checked in long time ago
  21711. * TODO: Removed. Contents were obsolete
  21712. 2005-09-06 Jonathan Chambers <[email protected]>
  21713. * PropertiesTab.cs : Added
  21714. 2005-09-06 Jonathan Chambers <[email protected]>
  21715. * PropertyGrid.cs : Update
  21716. * PropertyGridView.cs : Update
  21717. * System.Windows.Forms.resx : Added images and strings
  21718. 2005-09-06 Peter Dennis Bartok <[email protected]>
  21719. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  21720. 2005-09-06 Peter Dennis Bartok <[email protected]>
  21721. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  21722. a busy loop right after the Ungrab the X11 display is otherwise
  21723. blocked
  21724. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  21725. * ThemeWin32Classic.cs: Optimise the use of clipping
  21726. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  21727. * DataGrid.cs: fixes recursion bug
  21728. 2005-09-03 Alexander Olk <[email protected]>
  21729. * ThemeNice.cs:
  21730. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  21731. - Cleanup
  21732. 2005-09-02 Alexander Olk <[email protected]>
  21733. * ThemeNice.cs: Draw nice ProgressBars
  21734. 2005-09-01 Miguel de Icaza <[email protected]>
  21735. * VScrollBar.cs: Another buglet found by Aaron's tool.
  21736. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  21737. bug finder.
  21738. 2005-08-30 Alexander Olk <[email protected]>
  21739. * ThemeNice.cs:
  21740. - Added nicer menu drawing
  21741. - Updated DrawTab
  21742. - some refactoring
  21743. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21744. * CreateParams.cs (ToString): Made output match MS
  21745. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  21746. handle is already created (to avoid forcing window creation)
  21747. * XplatUIX11.cs: Set window text to caption after creating window,
  21748. in case Text was set before window was created
  21749. * Form.cs: Use this.Text instead of a static string as caption
  21750. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21751. * NotifyIcon.cs: Don't set the window to visible; this screws
  21752. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  21753. OnPaint without a bitmap)
  21754. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  21755. happen very often anyway; we could add the check to the WM_PAINT
  21756. event generation code
  21757. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21758. * NotifyIcon.cs: Fill the icon area with a background color, to
  21759. avoid 'residue' when transparent icons are drawn
  21760. * XplatUIX11.cs:
  21761. - Handle whole_window == client_window when destroying windows
  21762. - SystrayAdd(): Set client_window to whole_window value to
  21763. get mouse and other events passed to NotifyIcon
  21764. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21765. * Form.cs: Set proper default for Opacity property
  21766. * NotifyIcon.cs:
  21767. - ShowSystray(): Don't bother creating telling the OS
  21768. about the systray item if no icon is provided
  21769. - Now handles WM_NCPAINT message to deal with whole/client window
  21770. split
  21771. - Create window as visible to not get caught by Expose optimization
  21772. * Hwnd.cs: Removed debug message
  21773. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  21774. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  21775. PaintEventStart/End to use new client argument
  21776. * TextBoxBase.cs:
  21777. - Commented out debug messages
  21778. - Switched PaintEventStart/End to use new client argument
  21779. * XplatUI.cs: Added client window bool to PaintEventStart()/
  21780. PaintEventEnd() calls, to support drawing in non-client areas
  21781. * XplatUIDriver.cs:
  21782. - Added client window bool to PaintEventStart()/PaintEventEnd()
  21783. calls, to support drawing in non-client areas
  21784. - Added conditional compile to allow using MWF BeginInvoke
  21785. on MS runtime
  21786. * XplatUIX11.cs:
  21787. - Added some conditional debug output
  21788. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  21789. whole/client window split
  21790. - Implemented handling of client argument to PaintEventStart()/End()
  21791. * Control.cs:
  21792. - Throw exception if BeginInvoke() is called and the window handle
  21793. or one of the window's parent handles is not created
  21794. - Added conditional compile to allow using MWF BeginInvoke on
  21795. MS runtime
  21796. - get_Parent(): Only sets parent if handle is created. This avoids
  21797. forcing window handle creation when parent is set.
  21798. - Now fires Layout and Parent changed events in proper order
  21799. - Switched to use Handle instead of window.Handle for Z-Order setting,
  21800. the get_Parent() patch above causes us to possibly get null for 'window'
  21801. - Implemented handling of client argument to PaintEventStart()/End()
  21802. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  21803. default handling)
  21804. - Now sends a Refresh() to all child windows when Refresh() is called
  21805. 2005-08-29 Peter Dennis Bartok <[email protected]>
  21806. * Form.cs: Added (non-functional) Opacity property
  21807. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  21808. 2005-08-29 Alexander Olk <[email protected]>
  21809. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  21810. use export MONO_THEME=nice to activate it.
  21811. Currently supported controls:
  21812. - Button
  21813. - ComboBox
  21814. - ScrollBar
  21815. - TabControl (TabAlignment.Top only, other will follow)
  21816. * ThemeEngine.cs: Add theme nice
  21817. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  21818. if enabled
  21819. 2005-08-25 Jonathan Chambers <[email protected]>
  21820. * Splitter.cs: Resize docked control and its neighbor.
  21821. 2005-08-24 Rafael Teixeira <[email protected]>
  21822. -- Making Windows with Menus layout correctly --
  21823. * Form.cs : The first leg of the fix
  21824. Menu setter - adjust Client Size as needed to make space for the menu
  21825. SetClientSizeCore - doesn't call base version to be able to pass the
  21826. menu handle to XplatUI.CalculateWindowRect
  21827. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  21828. * XplatUIX11.cs: The critical second leg of the fix
  21829. GetWindowPos needs to use a recalculated client_rect
  21830. so that resizing the window doesn't break layout of child controls.
  21831. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  21832. Lots of \t\n killed
  21833. 2005-08-23 Peter Dennis Bartok <[email protected]>
  21834. * Label.cs: Now properly recalculates width and height on Font and Text
  21835. changes if AutoSize is set
  21836. 2005-08-19 Rafael Teixeira <[email protected]>
  21837. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  21838. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  21839. * ImageList.cs: Makes ToString method compatible with MS
  21840. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  21841. * MenuAPI.cs: fixes bug 75716
  21842. 2005-08-11 Umadevi S <[email protected]>
  21843. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  21844. 2005-08-11 Umadevi S <[email protected]>
  21845. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  21846. 2005-08-10 Umadevi S <[email protected]>
  21847. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  21848. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  21849. * Menu.cs: fixes bug 75700
  21850. * MenuAPI.cs: fixes navigation issues
  21851. 2005-08-09 Umadevi S <[email protected]>
  21852. * CheckedListBox.cs - simple fix for GetItemChecked.
  21853. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  21854. * ComboBox.cs: Serveral fixes
  21855. * ListBox.cs: Serveral fixes
  21856. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  21857. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  21858. * ListBox.cs: Fixes FindString methods
  21859. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  21860. * DataGrid.cs: fixes bugs exposed by new tests
  21861. 2005-08-04 Peter Dennis Bartok <[email protected]>
  21862. * Mime.cs: Compile Mono assembly references only if compiling
  21863. with Mono (Allows to build with VS.Net again)
  21864. 2005-07-28 Marek Safar <[email protected]>
  21865. * Control.cs (PaintControlBackground): Draw background image
  21866. corrrectly.
  21867. (CheckForIllegalCrossThreadCalls): Stubbed.
  21868. * Form.cs (OnCreateControl): Center when should be centered.
  21869. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  21870. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  21871. * Binding.cs: Binding to properties should be case unsensitive
  21872. 2005-07-18 [email protected]
  21873. * DataGrid.cs: fixes setmember order
  21874. 2005-07-07 Alexander Olk <[email protected]>
  21875. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  21876. * FileDialog.cs: FileDialog is now resizable and uses the new
  21877. MimeIconEngine
  21878. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  21879. * DataGridTextBoxColumn.cs: default value
  21880. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  21881. * GridTableStylesCollection.cs: fixes checking MappingName
  21882. * DataGridDrawingLogic.cs: fixes drawing logic issues
  21883. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  21884. * DataGrid.cs: fixes
  21885. 2005-07-06 Alexander Olk <[email protected]>
  21886. * MimeGenerated.cs: Use case sensitive comparer for
  21887. NameValueCollections
  21888. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  21889. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  21890. * ThemeWin32Classic.cs: bug fixes, code refactoring
  21891. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  21892. * DataGrid.cs: bug fixes, code refactoring
  21893. * DataGridTextBox.cs: bug fixes, code refactoring
  21894. * DataGridColumnStyle.cs: bug fixes, code refactoring
  21895. * Theme.cs: bug fixes, code refactoring
  21896. 2005-07-01 Peter Bartok <[email protected]>
  21897. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  21898. and other text box usage
  21899. 2005-07-01 Jackson Harper <[email protected]>
  21900. * TabControl.cs: Make sure the bottom of the tab covers the pages
  21901. border.
  21902. 2005-06-30 Peter Bartok <[email protected]>
  21903. * Form.cs (ShowDialog): Assign owner of the dialog
  21904. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  21905. might have been moved to a tag with different height
  21906. 2005-06-30 Jackson Harper <[email protected]>
  21907. * Form.cs: Don't create an infinite loop when setting focus
  21908. * MenuItem.cs: Don't dirty the parents if we don't have any
  21909. 2005-06-29 Ben Maurer <[email protected]>
  21910. * LibSupport.cs: Rename
  21911. 2005-06-29 Peter Bartok <[email protected]>
  21912. * TextBoxBase.cs: Re-align caret after deleting a character
  21913. * TextControl.cs:
  21914. - DeleteChars(): Ensure that tag covers the provided position
  21915. - StreamLine(): Drop reference for dropped tag
  21916. 2005-06-29 Peter Bartok <[email protected]>
  21917. * TextControl.cs:
  21918. - Selections now work properly, anchoring at the initial location
  21919. and properly extending in either direction (SetSelectionToCaret(),
  21920. SetSelectionStart() and SetSelectionEnd())
  21921. - No longer redraws the whole control on selection change, now
  21922. calculates delta between previous and new selection and only
  21923. invalidates/redraws that area
  21924. - Fixed FindPos() math off-by-one errors
  21925. - Changed DeleteChars() to verify the provided tag covers the
  21926. provided position, selections may have a tag that doesn't cover
  21927. the position if the selection is at a tag border
  21928. - Fixed off-by-one errors in DeleteChars()
  21929. - Added missing streamlining check in DeleteChars() to remove
  21930. zero-length tags
  21931. - Implemented Invalidate() method, now properly calculates exposures
  21932. between two given lines/positions
  21933. - Implemented SetSelection()
  21934. - Obsoleted and removed FixupSelection()
  21935. - Improved RecalculateDocument() logic, removing code duplication
  21936. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  21937. * LibSupport.cs: changes to match different input/output arguments.
  21938. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  21939. * LibSupport.cs: added libsupport.so init routine.
  21940. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  21941. * ControlBindingsCollection.cs
  21942. - Throws an exception on null datasource when adding
  21943. - Checks for duplicated bindings when adding
  21944. 2005-06-28 Jackson Harper <[email protected]>
  21945. * TreeView.cs (OnKeyDown): Support left and right properly
  21946. (navigates as well as expanding and collapsing.
  21947. - Add support for Multiply, this expands all the selected nodes
  21948. children.
  21949. - Fix some tabbing.
  21950. 2005-06-28 Jackson Harper <[email protected]>
  21951. * TreeView.cs: Implement keyboard navigation, currently supports,
  21952. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  21953. support for toggling checkboxes with the space bar.
  21954. 2005-06-28 Jackson Harper <[email protected]>
  21955. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  21956. tree.
  21957. 2005-06-28 Jackson Harper <[email protected]>
  21958. * TreeView.cs: Add missing event.
  21959. 2005-06-27 Peter Bartok <[email protected]>
  21960. * TextControl.cs:
  21961. - Made line ending size configurable (now allows for counting
  21962. lineendings as \n or \r\n)
  21963. - Added margin to viewport to keep caret visible on right side
  21964. - Fixed translation routines for line/pos to documentpos to consider
  21965. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  21966. - Fixed some line-endings to be unix style
  21967. - Fixed Document.FormatText to perform it's calculations 1-based
  21968. - Added descriptions for a few methods that might otherwise get
  21969. used wrong
  21970. - Added NOTE section with some basic conventions to remember at
  21971. the top of the file
  21972. - Major fixup for RichTextBox selection drawing:
  21973. * Fixed crashes when multiple tags on a single line were selected
  21974. * fixed selection box drawing not overlaying text
  21975. * fixed bogus offset calculation for tags not starting at index 1
  21976. * Switched behaviour from using multiple Substrings of a
  21977. StringBuilder.ToString() to using multiple
  21978. StringBuilder.ToString(start, length) statements, hoping this is
  21979. faster (kept original version commented out in the code, in case
  21980. original version was faster)
  21981. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  21982. alignment != Left
  21983. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  21984. call it as well
  21985. 2005-06-27 Jackson Harper <[email protected]>
  21986. * TabControl.cs: Move to the left and right with the arrow
  21987. keys. These keys don't cycle beyond first and last like
  21988. tab. Refresh all the tabs when scrolling them to the left or
  21989. right.
  21990. 2005-06-27 Jackson Harper <[email protected]>
  21991. * TabControl.cs:
  21992. - ToString: Added method
  21993. - CreateParams: Remove TODO and comment
  21994. - OnKeyDown: Cycle through bounds properly.
  21995. - SelectedIndex: Scroll to the right or left if we need to
  21996. display the newly selected tab.
  21997. 2005-06-23 Jackson Harper <[email protected]>
  21998. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  21999. set.
  22000. 2005-06-23 Jackson Harper <[email protected]>
  22001. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  22002. CTRL-SHIFT-TAB, and HOME, END are there any others?
  22003. 2005-06-23 Jackson Harper <[email protected]>
  22004. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  22005. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  22006. * DataGridTextBoxColumn.cs: fixes and enhancements
  22007. * ThemeWin32Classic.cs: fixes and enhancements
  22008. * DataGridBoolColumn.cs: fixes and enhancements
  22009. * DataGridDrawingLogic.cs: fixes and enhancements
  22010. * CurrencyManager.cs: fixes and enhancements
  22011. * DataGrid.cs: fixes and enhancements
  22012. * DataGridColumnStyle.cs: fixes and enhancements
  22013. 2005-06-22 Jackson Harper <[email protected]>
  22014. * TabControl.cs: Add some missing methods that just call into the
  22015. base. Make the TabPageCollection's IList interface behave in the
  22016. same manner as the MS implementation.
  22017. 2005-06-22 Peter Bartok <[email protected]>
  22018. * TextControl.cs: Added sanity check
  22019. * TextBoxBase.cs:
  22020. - Fixed wrapping behaviour, don't set wrap on single line controls
  22021. (this fixes the breakage of colordialog introduced in an earlier
  22022. checkin)
  22023. - Added rudimentary support for autoscrolling right-aligned controls
  22024. (still needs fixing, also, center alignment scroll is missing)
  22025. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  22026. * ScrollBar.cs: Fixes thumbpos on Maximum values
  22027. 2005-06-21 Jonathan Chambers <[email protected]>
  22028. * PropertyGridView.cs: Pass context information to UITypeEditors
  22029. 2005-06-21 Peter Bartok <[email protected]>
  22030. * TextBoxBase.cs:
  22031. - Now calling PositionCaret with absolute space coordinates
  22032. - Enabled vertical scrolling
  22033. - Better tracking of scrollbar changes, tied into WidthChange
  22034. event
  22035. - Improved cursor tracking
  22036. - Removed debug output
  22037. * TextControl.cs:
  22038. - PositionCaret coordinates are now works in absolute space, not
  22039. the canvas
  22040. - Improved tracking of document size
  22041. - Added events for width and height changes
  22042. 2005-06-21 Peter Bartok <[email protected]>
  22043. * Form.cs: Set focus to active control when form is activated
  22044. * TextControl.cs:
  22045. - Added word-wrap functionality to RecalculateLine()
  22046. - Added some short function descriptions for VS.Net to aid in
  22047. writing dependent controls
  22048. - Added Caret property, returning the current coords of the caret
  22049. - Added ViewPortWidth and ViewPortHeight properties
  22050. - Added Wrap property
  22051. - Added CaretMoved event
  22052. - Removed some old debug code
  22053. - Split() can now create soft splits
  22054. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  22055. - Added method to format existing text
  22056. - Fixed size/alignment calculations to use viewport
  22057. - RecalculateDocument now can handle changing line-numbers while
  22058. calculating lines
  22059. * TextBox.cs:
  22060. - Added some wrap logic, we don't wrap if alignment is not left
  22061. - Added casts for scrollbar var, base class switched types to
  22062. also support RichTextBoxA
  22063. - Implemented handling of scrollbar visibility flags
  22064. * TextBoxBase.cs:
  22065. - Switched scrollbars type to RichTextBoxScrollBars to support
  22066. RichTextBox
  22067. - Added tracking of canvas width/height
  22068. - Switched scrollbars to be not selectable (to keep focus on text)
  22069. - Added central CalculateDocument() method to handle all redraw
  22070. requirements
  22071. - Added ReadOnly support
  22072. - Added WordWrap support
  22073. - Fixed handling of Enter key (we now treat it as a DialogKey)
  22074. - Fixed caret positioning when h or v scroll is not zero
  22075. - Fixed placing/generation of vertical scrollbar
  22076. - Added CalculateScrollBars() method to allow updating scrollbar
  22077. limits and visibility
  22078. - Fixed handling of horizontal scroll
  22079. - Added handling of vertical scroll
  22080. - Implemented auto-'jump' when caret moves to close to a left or
  22081. right border and there is text to be scrolled into view (currently
  22082. there's the potential for a stack overflow, until a bug in
  22083. scrollbar is fixed)
  22084. 2005-06-21 Geoff Norton <[email protected]>
  22085. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  22086. 2005-06-19 Alexander Olk <[email protected]>
  22087. * Mime.cs:
  22088. - added inodes.
  22089. - return application/x-zerosize for files with size zero
  22090. (if no extension pattern matches).
  22091. - check matches collection for strings too.
  22092. - return only the first mime type if the name value
  22093. collection has more than one mime type.
  22094. 2005-06-18 Jonathan Chambers <[email protected]>
  22095. * PropertyGrid.cs: Cleaned up some TODOs
  22096. * PropertyGridView.cs: Added support for UITypeEditors
  22097. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  22098. * DataGrid.cs: clears cached value
  22099. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  22100. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  22101. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  22102. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  22103. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  22104. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  22105. * ThemeWin32Classic.cs: fixes colour
  22106. 2005-06-15 Peter Bartok <[email protected]>
  22107. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  22108. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  22109. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  22110. * Control.cs: Added some MWFCategory and MWFDescription attributes
  22111. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  22112. 2005-06-15 Alexander Olk <[email protected]>
  22113. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  22114. usage
  22115. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  22116. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  22117. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  22118. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  22119. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  22120. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  22121. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  22122. 2005-06-13 Jackson Harper <[email protected]>
  22123. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  22124. isn't printed when the user enables dropping. (X11 does accept
  22125. drops).
  22126. 2005-06-13 Jackson Harper <[email protected]>
  22127. * TreeView.cs: Remove some TODOS.
  22128. 2005-06-13 Jackson Harper <[email protected]>
  22129. * Form.cs: Hook into the mdi framework.
  22130. * MdiClient.cs: Use the base control collections add method so
  22131. parents get setup correctly. Set the default back colour and dock
  22132. style.
  22133. * MdiChildContext.cs: New class, this bad actor handles an
  22134. instance of an MDI window. Right now there is only basic
  22135. support. You can drag, close, and resize windows. Minimize and
  22136. Maximize are partially implemented.
  22137. 2005-06-13 Jackson Harper <[email protected]>
  22138. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  22139. freaky when both vals are negative. NOTE: There are probably other
  22140. places in XplatUIX11 that this needs to be done.
  22141. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  22142. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  22143. * DataGridColumnStyle.cs: fixes signature
  22144. 2005-06-12 Jackson Harper <[email protected]>
  22145. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  22146. windows.
  22147. 2005-06-11 Jackson Harper <[email protected]>
  22148. * StatusBarPanel.cs: Signature cleanups. Implement
  22149. BeginInit/EndInit.
  22150. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  22151. * DataGridTextBoxColumn.cs: Honors aligment
  22152. * GridColumnStylesCollection.cs: Contains is case unsensitive
  22153. * GridTableStylesCollection.cs: several fixes
  22154. * DataGridTableStyle.cs: default column creation
  22155. * DataGridDrawingLogic.cs: fixes
  22156. * CurrencyManager.cs: ListName property
  22157. * DataGrid.cs: multiple styles support
  22158. * DataGridColumnStyle.cs: fixes
  22159. 2005-06-10 Peter Bartok <[email protected]>
  22160. * Control.cs(Select): Moved SetFocus call to avoid potential
  22161. loops if controls change the active control when getting focus
  22162. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  22163. the up/down buttons
  22164. 2005-06-10 Matthias Felgner <[email protected]>
  22165. * ImageListConverter.cs: Implemented
  22166. 2005-06-10 John BouAntoun <[email protected]>
  22167. * MonthCalendar.cs: Wired in NumericUpDown control for year
  22168. 2005-06-10 John BouAntoun <[email protected]>
  22169. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  22170. DoubleClick events, since they are not meant to be fired.
  22171. 2005-06-09 Peter Bartok <[email protected]>
  22172. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  22173. Jonathan's standalone controls into MWF, implemented missing
  22174. events, attributes and methods; added xxxAccessible classes
  22175. * AccessibleObject.cs: Made fields internal so other classes
  22176. can change them if needed
  22177. 2005-06-09 Jonathan Gilbert <[email protected]>
  22178. * UpDownBase.cs: Complete implementation
  22179. * NumericUpDown.cs: Complete implementation
  22180. * DomainUpDown.cs: Complete implementation
  22181. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  22182. * DataGridTextBoxColumn.cs: drawing fixes
  22183. * DataGridCell.cs: fixes ToString method to match MSNet
  22184. * DataGridTableStyle.cs: fixes
  22185. * DataGridBoolColumn.cs: fixes, drawing
  22186. * DataGridDrawingLogic.cs: fixes, new methods
  22187. * DataGridTextBox.cs: Keyboard and fixes
  22188. * DataGrid.cs:
  22189. - Keyboard navigation
  22190. - Scrolling fixes
  22191. - Row selection (single, multiple, deletion, etc)
  22192. - Lots of fixes
  22193. 2005-06-07 Jackson Harper <[email protected]>
  22194. * ThemeWin32Classic.cs: Clear the background area when drawing
  22195. buttons.
  22196. 2005-06-06 Peter Bartok <[email protected]>
  22197. * ImageListStreamer.cs: Fixed signature for GetData
  22198. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  22199. * ComboBox.cs:
  22200. - Added missing ChildAccessibleObject class
  22201. - Added missing OnXXXFocus overrides, switched to using those
  22202. instead of the event handler
  22203. * Control.cs:
  22204. - Added Parent property for ControlAccessibleObject
  22205. - Fixed signatures
  22206. - Fixed attributes
  22207. - Added ResetBindings()
  22208. * ListBindingConverter.cs: Implemented some methods
  22209. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  22210. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  22211. * ContainerControl.cs: Fixed signature, now subscribing to the
  22212. ControlRemoved event instead of overriding the handler, LAMESPEC
  22213. * CurrencyManager.cs: Added missing attribute
  22214. * MonthCalendar.cs: Added missing properties
  22215. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  22216. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  22217. 2005-06-06 Gaurav Vaish and Ankit Jain
  22218. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  22219. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  22220. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  22221. * Control.cs: fixes CreateParams Width / Height.
  22222. 2005-06-05 Peter Bartok <[email protected]>
  22223. * Win32DnD.cs: Removed compilation warnings
  22224. 2005-06-05 Peter Bartok <[email protected]>
  22225. * Control.cs (CreateParams): Since we don't know if one of the
  22226. properties we use is overridden, lets make sure if we fail accessing
  22227. we continue with a backup plan
  22228. 2005-06-05 Peter Bartok <[email protected]>
  22229. * Win32DnD.cs:
  22230. - Removed debug output
  22231. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  22232. struct
  22233. - Plugged resource leak
  22234. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  22235. MS size
  22236. 2005-06-05 Peter Bartok <[email protected]>
  22237. * XplatUIWin32.cs: Removed DnD code
  22238. * Win32DnD.cs: Implemented drop source and drop target functionality
  22239. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  22240. * UpDownBase.cs: remove duplicate addition of event, enable some code
  22241. that was commented out.
  22242. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  22243. Validate input when a key is pressed. It works fine now for every
  22244. combination of Hexadecimal. Only missing some drawing love when sharing
  22245. space with other controls.
  22246. 2005-06-04 Peter Bartok <[email protected]>
  22247. * Control.cs:
  22248. - We need to pass a window for DragDrop, so enable callback events
  22249. - Added DnD callback events when being a DragSource
  22250. * XplatUI.cs (StartDrag): Added window handle argument
  22251. * XplatUIDriver.cs (StartDrag): Added window handle argument
  22252. * QueryContinueDragEventArgs: Made fields internally accessible so
  22253. drivers can set them
  22254. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  22255. can set them
  22256. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  22257. * DataGridTextBoxColumn.cs: column text editing
  22258. * DataGridTableStyle.cs: Respect columns styles created by the user
  22259. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  22260. * DataGridBoolColumn.cs: bool column editing
  22261. * DataGrid.cs: fixes to scrolling, properties, etc
  22262. * DataGridTextBox.cs: handle keyboard
  22263. * DataGridColumnStyle.cs: fixes
  22264. 2005-06-02 Jackson Harper <[email protected]>
  22265. * ImageListStreamer.cs: Somewhat broken implementation of
  22266. GetObjectData. The RLE needs some work to match MS properly.
  22267. 2005-06-02 Jackson Harper <[email protected]>
  22268. * X11Dnd.cs: Attempting to keep at least one file in MWF
  22269. monostyled.
  22270. 2005-06-02 Peter Bartok <[email protected]>
  22271. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  22272. that way
  22273. 2005-06-02 Peter Bartok <[email protected]>
  22274. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  22275. * XplatUI.cs: Added DoDragDrop() method
  22276. * XplatUIDriver.cs: Added DoDragDrop() method
  22277. 2005-06-02 Jackson Harper <[email protected]>
  22278. * Splitter.cs: Implement BorderStyle.
  22279. 2005-06-02 Jackson Harper <[email protected]>
  22280. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  22281. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  22282. X11 using XDND.
  22283. 2005-06-02 Peter Bartok <[email protected]>
  22284. * DataObject.cs:
  22285. - Added Data setter
  22286. - Fixed broken insertion code for SetData, now also
  22287. overwrites any existing entry of the same format name
  22288. * Hwnd.cs: Added list of pointers that automatically gets
  22289. freed when the window is disposed
  22290. * XplatUI.cs: Call driver initialization method when loading
  22291. a driver
  22292. * Control.cs:
  22293. - OnDragLeave takes EventArgs, not DragEventArgs
  22294. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  22295. supported
  22296. - Forces style update when drop state changes
  22297. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  22298. not perfect since we cannot (yet) call the IDataObject.GetData()
  22299. method, we keep getting 0x80004005 error, dunno why)
  22300. 2005-06-02 Peter Bartok <[email protected]>
  22301. * DragEventArgs.cs: Make fields internal so we can cache the
  22302. object and re-set the fields from XplatUI
  22303. 2005-06-02 Jackson Harper <[email protected]>
  22304. * Control.cs: Add some internal methods so the DnD subsystem can
  22305. raise DnD events. Also call into the driver when AllowDrop is set.
  22306. * XplatUI.cs:
  22307. * XplatUIDriver.cs: New method for setting whether or not a window
  22308. is allowed to accept drag and drop messages.
  22309. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  22310. * ScrollBar.cs: Make sure that values sent in Scroll events
  22311. are always between Maximum and Minimum.
  22312. 2005-06-01 Marek Safar <[email protected]>
  22313. * Menu.cs: Call MenuChanged when menuitem visibility has been
  22314. changed.
  22315. * MenuItem.cs: Rebuild menu when item is (not) visible.
  22316. * MainMenu.cs: MainMenu has special MenuChanged.
  22317. * Theme.cs: Caption and FrameBorderSize are not fixed.
  22318. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  22319. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  22320. * XplatUIX11.cs,
  22321. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  22322. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  22323. 2005-05-30 Jackson Harper <[email protected]>
  22324. * DataFormat.cs: We can't statically initialize this stuff because
  22325. it calls into the xplatui and could create a loop. So we lazy init
  22326. it.
  22327. 2005-05-28 Jackson Harper <[email protected]>
  22328. * Control.cs: Proper implementation of Product(Name/Version).
  22329. 2005-05-27 Jackson Harper <[email protected]>
  22330. * DataObject.cs: Dont crash if no data is found.
  22331. 2005-05-26 Rafael Teixeira <[email protected]>
  22332. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  22333. as per status page, guessing it should be set to true
  22334. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  22335. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  22336. * DataGridTableStyle.cs: set proper formatting text, def header text
  22337. * ThemeWin32Classic.cs: new themable paramaters
  22338. * DataGridBoolColumn.cs: paint check box, get data, fixes
  22339. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  22340. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  22341. * DataGridColumnStyle.cs: fixes
  22342. * Theme.cs: new themable paramaters
  22343. 2005-05-26 Peter Bartok <[email protected]>
  22344. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  22345. 2005-05-24 Jonathan S. Chambers <[email protected]>
  22346. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  22347. 2005-05-24 Peter Bartok <[email protected]>
  22348. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  22349. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  22350. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  22351. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  22352. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  22353. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  22354. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  22355. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  22356. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  22357. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  22358. missing attributes, etc
  22359. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  22360. 2005-05-24 Peter Bartok <[email protected]>
  22361. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  22362. when user tries to get help
  22363. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  22364. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  22365. to suppress warnings
  22366. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  22367. avoid unreachable code warning
  22368. 2005-05-20 Peter Bartok <[email protected]>
  22369. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  22370. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22371. * DataGridTextBoxColumn.cs: Basic painting methods
  22372. * DataGridTableStyle.cs: Set table style in the column
  22373. * ThemeWin32Classic.cs: Use Theme for colors
  22374. * DataGridDrawingLogic.cs: Implement more drawing
  22375. * DataGrid.cs: drawing, theming, enhacements, fixes
  22376. * DataGridColumnStyle.cs: fixes, drawing
  22377. * Theme.cs: theming for Datagrid
  22378. 2005-05-20 Peter Bartok <[email protected]>
  22379. * Cursor.cs: Implemented GetObjectData() method
  22380. 2005-05-20 Peter Bartok <[email protected]>
  22381. * Cursors.cs: Added setting of cursor name
  22382. * Cursor.cs:
  22383. - Implemented constructors
  22384. - Implemented Draw and DrawStretched
  22385. - Implemented Current property
  22386. - Implemented == and != operators
  22387. - Implemented Dispose()
  22388. - Implemented ToString
  22389. - Added missing attributes
  22390. * XplatUIX11.cs:
  22391. - Added missing reset for OverrideCursor when DoEvents is called
  22392. - Fixed creation of cursor, logic was wrong
  22393. * XplatUIWin32.cs:
  22394. - Added missing reset for OverrideCursor when DoEvents is called
  22395. - Fixed creation of cursor, bit arrays were swapped
  22396. * Clipboard.cs: Removed obsolete MonoTODO attribute
  22397. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22398. * ComboBox.cs: fixes OnSelectedItemChanged
  22399. * ControlBindingsCollection.cs: fixes item range check
  22400. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22401. * UpDownBase.cs:
  22402. - Calc preferred height properly
  22403. - Implement missing properties
  22404. * NumericUpDown.cs: Implement missing events
  22405. 2005-05-19 Jackson Harper <[email protected]>
  22406. * TabControl.cs: New method that resizes the tab pages before
  22407. redrawing them. This as needed as the control is double buffered
  22408. and sizing will not be recalculated unless ResizeTabPages is
  22409. called.
  22410. * TabPage.cs: Set base.Text instead of Text in the constructor so
  22411. that UpdateOwner does not get called. Use the new Redraw method of
  22412. TabControl instead of Refresh so the sizing is recalculated.
  22413. * ThemeWin32Classic.cs: Draw the text for button tabs.
  22414. 2005-05-19 Jackson Harper <[email protected]>
  22415. * Control.cs: Paint control background images. Fix typo where
  22416. PaintControlBackground was not getting called correctly.
  22417. 2005-05-19 Peter Bartok <[email protected]>
  22418. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  22419. I can investigate, apparently I broke FileDialog
  22420. 2005-05-19 Marek Safar <[email protected]>
  22421. * AxHost.cs: Some simple properties.
  22422. * Control.cs: window must be accessible after ctor.
  22423. * Form.cs: Added TransparencyKey property.
  22424. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  22425. * XplatUIWin32.cs: SetBorderStyle implemented.
  22426. 2005-05-18 Peter Bartok <[email protected]>
  22427. * DataObject.cs: Entries are not global but particular to the
  22428. DataObject, now it behaves that way
  22429. * XplatUIWin32.cs: Implemented Clipboard methods
  22430. * Clipboard.cs: Implemented
  22431. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  22432. * XplatUIOSX.cs: Updated to final clipboard prototypes
  22433. * XplatUIX11.cs: Implemented Clipboard methods
  22434. * XplatUIDriver.cs: Updated to final clipboard prototypes
  22435. * XplatUIStructs.cs:
  22436. - Added BITMAPINFOHEADER struct
  22437. - Added ClipboardFormats enum
  22438. * X11Structs.cs:
  22439. - Added ClipboardStruct
  22440. - Added Atom enum items for clipboard types
  22441. - Fixed atom types for Selection event structures
  22442. * DataFormats.cs:
  22443. - Added internal properties and methods for drivers to enumerate
  22444. all known formats
  22445. - Switched initialization method to allow drivers to assign their
  22446. own IDs even for the MS predefined clipboard IDs
  22447. * XplatUI.cs: Updated to final clipboard interface
  22448. 2005-05-18 Jonathan S. Chambers <[email protected]>
  22449. * PropertyGridView.cs: Fixed compiler warnings.
  22450. 2005-05-18 Jonathan S. Chambers <[email protected]>
  22451. * PropertyGrid.cs: Added some event calls
  22452. * PropertyGridView.cs: Change drawing code to use double buffering
  22453. * PropertyGridTextBox.cs: Changed Text property name
  22454. * GridItem.cs: Added Bounds property.
  22455. * GridEntry.cs: Added Bounds property.
  22456. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  22457. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  22458. since GetType() may not return the correct type if the object is
  22459. a remoting proxy.
  22460. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  22461. * TreeNodeCollection.cs: fixes get/set item ranges
  22462. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  22463. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  22464. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  22465. * ComboBox.cs: Fix item range comparation
  22466. * ListView.cs: Fix item range comparation
  22467. 2005-05-03 Alexander Olk <[email protected]>
  22468. * FontDialog.cs:
  22469. - Clear example panel when OnPaint is called
  22470. - Better solution for displaying the example panel text
  22471. - Select default indexes in the ListBoxes
  22472. 2005-05-11 Geoff Norton <[email protected]>
  22473. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  22474. 2005-05-11 Peter Bartok <[email protected]>
  22475. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  22476. * SelectionRangeConverter.cs: Implemented
  22477. * PropertyGrid.cs: Fixed attribute value
  22478. * Control.cs:
  22479. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  22480. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  22481. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  22482. that's common to all drivers. First methods to go there are
  22483. Sebastien Pouliot's CAS Stack Propagation helper methods
  22484. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  22485. Sebastien Pouliot for CAS Stack Propagation
  22486. 2005-05-11 Geoff Norton <[email protected]>
  22487. * OSXStructs.cs:
  22488. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  22489. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  22490. * DataGridTextBoxColumn.cs: fixed some members
  22491. * GridColumnStylesCollection.cs: indexed column is case insensitive
  22492. * DataGridTableStyle.cs: fixes
  22493. * ThemeWin32Classic.cs: add new theme parameter
  22494. * Theme.cs: add new theme parameter
  22495. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  22496. * DataGrid.cs: fixes, new internal properties, etc.
  22497. * DataGridColumnStyle.cs: allows to set grid value
  22498. *
  22499. 2005-05-10 Peter Bartok <[email protected]>
  22500. * AccessibleObject.cs:
  22501. - Removed MonoTODO attribute on help, method is correct
  22502. - Fixed Bounds property
  22503. * AxHost.cs: Moved MonoTODO
  22504. * ButtonBase.cs: Now setting AccessibleObject properties
  22505. * RadioButton.cs: Setting proper AccessibleObject role
  22506. * CheckBox.cs: Setting proper AccessibleObject role
  22507. * ControlBindingsCollection.cs: Added properties, methods and attributes
  22508. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  22509. userdefined DataFormats.Format items as well
  22510. * ListControl.cs: Removed data_member from the public eye
  22511. * OpenFileDialog.cs:
  22512. - Made class sealed
  22513. - Added missing attributes
  22514. * SaveFileDialog.cs: Added missing attributes
  22515. * ImageListStreamer.cs: Fixed code that caused warnings
  22516. * LinkLabel.cs: Removed unreachable code
  22517. * TreeView.cs: Fixed code that caused warnings
  22518. * PropertyGridView.cs: Fixed code that caused warnings
  22519. * GridColumnStylesCollection.cs: Added missing attributes
  22520. * GridTableStylesCollection: Added missing attribute
  22521. * PropertyManager: Added .ctor
  22522. * SecurityIDType: Added
  22523. * DataObject.cs: Implemented class
  22524. * LinkArea.cs: Added missing attribute
  22525. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  22526. * RadioButton.cs: call base method to allow to fire OnClick event
  22527. * UpDownBase.cs: OnMouseUp call base method
  22528. * CheckedListBox.cs: call base method before returning
  22529. * TrackBar.cs: call base method before returning
  22530. 2005-05-10 Peter Bartok <[email protected]>
  22531. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  22532. for messages
  22533. 2005-05-10 Peter Bartok <[email protected]>
  22534. * DataFormats.cs: Implemented
  22535. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  22536. XplatUIX11.cs: Added Clipboard APIs
  22537. * XplatUIWin32.cs: Implemented Clipboard APIs
  22538. * FolderBrowserDialog.cs: Added missing event, attributes
  22539. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  22540. * CheckBox.cs: call base method to allow to fire OnClick event
  22541. 2005-05-09 Sebastien Pouliot <[email protected]>
  22542. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  22543. 2005-05-06 Peter Bartok <[email protected]>
  22544. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  22545. * Screen.cs: Implemented
  22546. * HelpNavigator.cs: Added
  22547. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  22548. property
  22549. * HelpProvider.cs: Implemented all we can do until we have a CHM
  22550. help library (which means that "What's This" does work now)
  22551. 2005-05-06 Jackson Harper <[email protected]>
  22552. * XplatUIX11.cs: Fix waking up the main loop.
  22553. 2005-05-05 Peter Bartok <[email protected]>
  22554. * XplatUI.cs: Updated revision
  22555. * Form.cs: Removed enless loop
  22556. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  22557. * Label.cs (OnPaint): Added call to base.OnPaint()
  22558. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  22559. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  22560. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  22561. * AxHost.cs: Added
  22562. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  22563. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  22564. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  22565. reuse of ToolTipWindow by other controls
  22566. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  22567. * XplatUIX11.cs: Now clipping drawing area (experimental)
  22568. * PictureBox.cs: Moved base.OnPaint() call to end of method
  22569. * Theme.cs: Fixed ToolTip abstracts to match new format
  22570. * ErrorProvider.cs: Implemented
  22571. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  22572. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  22573. * LinkLabel.cs:
  22574. - Adds cursors
  22575. - Handles focus
  22576. - Implements LinkBehavior
  22577. - Fixes many issues
  22578. 2005-05-03 Jackson Harper <[email protected]>
  22579. * ListView.cs: Calculate the scrollbar positioning on resize and
  22580. paint, so they get put in the correct place.
  22581. 2005-05-03 Alexander Olk <[email protected]>
  22582. * ColorDialogs.cs: The small color panels are now handled by
  22583. SmallColorControl. This fixes drawing of the focus rectangle
  22584. and adds a 3D border.
  22585. 2005-05-03 Peter Bartok <[email protected]>
  22586. * Control.cs: Modified version of Jonathan Chamber's fix for
  22587. double-buffering
  22588. 2005-05-03 Jackson Harper <[email protected]>
  22589. * ListView.cs: Remove redraw variable. Control now handles whether
  22590. or not a redraw needs to be done, and will only raise the paint
  22591. event if redrawing is needed.
  22592. 2005-05-03 Jackson Harper <[email protected]>
  22593. * Splitter.cs: No decorations for the splitter form. Cache the
  22594. hatch brush.
  22595. 2005-05-03 Jackson Harper <[email protected]>
  22596. * TreeView.cs: Use dashed lines to connect nodes. Use the
  22597. ControlPaint method for drawing the focus rect instead of doing
  22598. that in treeview.
  22599. 2005-05-02 Peter Bartok <[email protected]>
  22600. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  22601. 2005-04-29 Jackson Harper <[email protected]>
  22602. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  22603. entire image buffer. Just clear the clipping rectangle.
  22604. 2005-04-29 Jackson Harper <[email protected]>
  22605. * ThemeWin32Classic.cs: Don't draw list view items that are
  22606. outside the clipping rectangle.
  22607. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  22608. * ListBox.cs: added horizontal item scroll
  22609. 2005-04-29 Jackson Harper <[email protected]>
  22610. * ThemeWin32Classic.cs: Remove some old debug code that was
  22611. causing flicker with the new double buffering code.
  22612. 2005-04-29 John BouAntoun <[email protected]>
  22613. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  22614. behave like combobox and comboboxlist (still not sure if this is
  22615. correct though).
  22616. 2005-04-28 Jackson Harper <[email protected]>
  22617. * ThemeWin32Classic.cs: Don't fill the middle of progress
  22618. bars. This fills areas outside of the clip bounds that don't need
  22619. to be filled.
  22620. 2005-04-28 Jackson Harper <[email protected]>
  22621. * Control.cs: Don't expose functionality to touch the image buffers.
  22622. * ProgressBar.cs:
  22623. * ListView.cs: We do not need to (and no longer can) manipulate
  22624. the image buffers directly. All of this is handled by Control.
  22625. 2005-04-28 Peter Bartok <[email protected]>
  22626. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  22627. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  22628. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  22629. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  22630. * Combobox:
  22631. - Adjust control's height for non-simple comboboxes (bug fix)
  22632. - Remove dead code
  22633. * MenuAPI.cs: remove unused var
  22634. * ScrollBar.cs: remove unsed var
  22635. * ListBox.cs: unselect items when clearing
  22636. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  22637. * ListControl.cs: honors OnPositionChanged and default Selected Item
  22638. * ListBox.cs: unselect items when clearing
  22639. 2005-04-27 Jackson Harper <[email protected]>
  22640. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  22641. if a "correct" keyboard is not found. This will make us not crash,
  22642. but might give some users bad keyboard layouts...seems to be the
  22643. same thing rewind does.
  22644. 2005-04-27 Jackson Harper <[email protected]>
  22645. * BindingManagerBase.cs: Attach the current/position changed
  22646. handlers to their respective events.
  22647. 2005-04-27 Jackson Harper <[email protected]>
  22648. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  22649. not just a blit.
  22650. * ThemeWin32Classic.cs: Don't fill the background for picture
  22651. boxes. This could overright user drawing.
  22652. * ComboBox.cs: Just fill the clipping rect not the entire client
  22653. rect when drawing the background. This prevents pieces of the
  22654. image buffer from getting overwritten and is theoretically faster.
  22655. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  22656. * ComboBox.cs: Databinding support fixes, fire missing events
  22657. * ListControl.cs: implement missing methods and properties, fixes
  22658. * ThemeWin32Classic.cs: Databiding support on Drawing
  22659. * CheckedListBox.cs: Databinding support fixes, fire missing events
  22660. * ListBox.cs: Databinding support fixes, fire missing events
  22661. 2005-04-25 Peter Bartok <[email protected]>
  22662. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  22663. 2005-04-25 Jackson Harper <[email protected]>
  22664. * TreeView.cs: Use the horizontal scrollbars height not width when
  22665. determining how much of the client area is available.
  22666. 2005-04-25 Jackson Harper <[email protected]>
  22667. * Control.cs: Double buffering is handled differently now. As per
  22668. the spec, the extra buffer is created in the WM_PAINT message and
  22669. passed down to the control's drawing code.
  22670. * GroupBox.cs:
  22671. * Label.cs:
  22672. * CheckBox.cs:
  22673. * ProgressBar.cs:
  22674. * RadioButton.cs:
  22675. * ColorDialog.cs:
  22676. * ComboBox.cs:
  22677. * PropertyGridView.cs:
  22678. * UpDownBase.cs:
  22679. * MessageBox.cs:
  22680. * MenuAPI.cs:
  22681. * ListView.cs:
  22682. * ButtonBase.cs:
  22683. * SizeGrip.cs:
  22684. * ScrollBar.cs:
  22685. * ListBox.cs:
  22686. * TrackBar.cs:
  22687. * ToolBar.cs:
  22688. * PictureBox.cs:
  22689. * DateTimePicker.cs:
  22690. * StatusBar.cs:
  22691. * TreeView.cs: Update to new double buffering system.
  22692. * MonthCalendar.cs: Uncomment block, as Capture is now
  22693. working. Update to new double buffering
  22694. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  22695. * PaintEventArgs.cs: New internal method allows us to set the
  22696. graphics object. This is used for double buffering.
  22697. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  22698. rectangle. The internal paint_area var has been removed from
  22699. StatusBar. The clipping rect should be used instead.
  22700. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  22701. * TabPage.cs: The RefreshTabs method was removed, so just call the
  22702. tab controls Refresh method now.
  22703. * TabControl.cs: Update to new double buffering. Make sure the
  22704. handle is created before sizing the tab pages, otherwise we will
  22705. get stuck in a loop.
  22706. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  22707. * LinkLabel.cs: Fix typo, bug #74719; patch
  22708. from Borja Sanchez Zamorano
  22709. 2005-04-22 Jackson Harper <[email protected]>
  22710. * TreeNode.cs: Implement Handle stuff.
  22711. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  22712. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  22713. * DataGridTextBoxColumn.cs: call base constructors, fixes
  22714. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  22715. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  22716. * DataGridTableStyle.cs: implements create default column styles
  22717. * DataGridBoolColumn.cs: which types can handle
  22718. * DataGrid.cs: missing methods, fixes, new functionality
  22719. * DataGridColumnStyle.cs: fixes
  22720. 2005-04-20 Alexander Olk <[email protected]>
  22721. * FolderBrowserDialog.cs:
  22722. - Use a thread to fill the TreeView
  22723. - Adjusted some sizes
  22724. 2005-04-19 Peter Bartok <[email protected]>
  22725. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  22726. property. Fixes #74360.
  22727. 2005-04-19 Jackson Harper <[email protected]>
  22728. * XEventQueue.cs: Lock when getting the lockqueue size.
  22729. * PictureBox.cs: Call base OnPaint
  22730. 2005-04-19 Peter Bartok <[email protected]>
  22731. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  22732. messages were no longer being processed (this broke BeginInvoke)
  22733. 2005-04-18 Jackson Harper <[email protected]>
  22734. * TreeView.cs: buglet that caused node images to get drawn
  22735. regardless of whether or not they were in the clipping rectangle.
  22736. 2005-04-18 Jackson Harper <[email protected]>
  22737. * CurrencyManager.cs: There are four rules for GetItemProperties:
  22738. - If the type is an array use the element type of the array
  22739. - If the type is a typed list, use the type
  22740. - If the list contains an Item property that is not an object, use
  22741. that property
  22742. - use the first element of the list if there are any elements in
  22743. the list.
  22744. 2005-04-17 Jackson Harper <[email protected]>
  22745. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  22746. click. This handles offsets for scrolling properly and reduces
  22747. memory. Also fixed GetNode to not offset now that TopNode works
  22748. properly.
  22749. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  22750. 2005-04-17 Jackson Harper <[email protected]>
  22751. * CursorConverter.cs: Initial implementation.
  22752. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  22753. * ListControl.cs: work towards complex data binding support on ListControl
  22754. * CurrencyManager.cs: work towards complex data binding support on ListControl
  22755. * ListBox.cs: work towards complex data binding support on ListControl
  22756. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  22757. * GridTableStylesCollection.cs: fixes name and constructor
  22758. * DataGridTableStyle.cs: fixes
  22759. * DataGridBoolColumn.cs: fixes names and constructors
  22760. * DataGrid.cs: define methods and properties. Some init implementations
  22761. * DataGridCell.cs: define methods and properties. Some init implementations
  22762. * GridTablesFactory.cs: Define methods and properties
  22763. 2005-04-15 Geoff Norton <[email protected]>
  22764. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  22765. graphics port changes. We still want the coordinates in global screen
  22766. coordinates.
  22767. 2005-04-14 Jackson Harper <[email protected]>
  22768. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  22769. check plus minus or checkbox clicks unless those features are enabled.
  22770. 2005-04-14 Jackson Harper <[email protected]>
  22771. * TreeView.cs: Add methods for setting the top and bottom visible
  22772. nodes. TreeNode::EnsureVisible uses these methods.
  22773. * TreeNode.cs: Implement EnsureVisible
  22774. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  22775. * Form.cs: Pospone menu assignation if the window has not been created yet
  22776. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  22777. size and position
  22778. 2005-04-12 Jackson Harper <[email protected]>
  22779. * TreeView.cs: Set the TopNode properly when scrolling
  22780. occurs. This has the added benifit of reducing the amount of
  22781. walking that needs to be done when drawing. Also removed an old
  22782. misleading TODO.
  22783. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  22784. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  22785. * Timer.cs: fixes interval setting when the timer is already enabled
  22786. 2005-04-10 Alexander Olk <[email protected]>
  22787. * FolderBrowserDialog.cs: First approach
  22788. 2005-04-09 Peter Bartok <[email protected]>
  22789. * FolderBrowserDialog: Added
  22790. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  22791. * LinkLabel.cs: move drawing code into the theme
  22792. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  22793. * Theme.cs: define DrawLinkLabel method
  22794. 2005-04-05 Jackson Harper <[email protected]>
  22795. * BindingContext.cs: Use weak references so these bad actors don't
  22796. stay alive longer then they need to.
  22797. 2005-04-05 Jackson Harper <[email protected]>
  22798. * ListControl.cs: Basic implementation of complex databinding.
  22799. * ComboBox.cs:
  22800. * ListBox.cs: Add calls to ListControl databinding methods.
  22801. 2005-04-05 Alexander Olk <[email protected]>
  22802. * FileDialog.cs:
  22803. - Don't change PopupButtonState to Normal when the
  22804. PopupButton gets pressed several times.
  22805. - Renamed ButtonPanel to PopupButtonPanel
  22806. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  22807. * ColorDialog.cs: Use cached objects instead of creating them
  22808. * LinkLabel.cs: Use cached objects instead of creating them
  22809. * Splitter.cs: Use cached objects instead of creating them
  22810. * FontDialog.cs: Use cached objects instead of creating them
  22811. * PropertyGridView.cs: Use cached objects instead of creating them
  22812. * MessageBox.cs: Use cached objects instead of creating them
  22813. * FileDialog.cs: Use cached objects instead of creating them
  22814. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  22815. * TreeView.cs: Use cached objects instead of creating them
  22816. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  22817. * Control.cs: use Equals to compare the font since no == op
  22818. * ScrollBar.cs: use Equals to compare the font since no == op
  22819. 2005-04-04 Alexander Olk <[email protected]>
  22820. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  22821. 2005-04-01 Jackson Harper <[email protected]>
  22822. * Binding.cs: Implement IsBinding.
  22823. * BindingManagerBase.cs:
  22824. * PropertyManager.cs:
  22825. * CurrencyManager.cs: Add IsSuspended property.
  22826. 2005-04-01 Jackson Harper <[email protected]>
  22827. * Binding.cs: Had some IsAssignableFrom calls backwards.
  22828. 2005-04-01 Jackson Harper <[email protected]>
  22829. * Binding.cs: Handle null data members when pulling data.
  22830. * PropertyManager.cs: Handle the data member being a property that
  22831. does not exist.
  22832. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  22833. * DataGridTextBoxColumn.cs: fixes signature
  22834. * DataGrid.cs: calls right constructor
  22835. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  22836. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  22837. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  22838. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  22839. * DataGridTableStyle.cs: implements DataGridTableStyle
  22840. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  22841. * DataGridTextBox.cs: implements DataGridTextBox
  22842. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  22843. 2005-03-31 Alexander Olk <[email protected]>
  22844. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  22845. 2005-03-29 Peter Bartok <[email protected]>
  22846. * Application.cs:
  22847. - Properly implemented CompanyName property
  22848. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  22849. returns a path that includes CompanyName, ProductName and
  22850. Version (fixes bug #70330)
  22851. 2005-03-29 Stefan Buehler <[email protected]>
  22852. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  22853. fixes bug #72588.
  22854. 2005-03-28 Alexander Olk <[email protected]>
  22855. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  22856. - Added ReadOnly CheckBox
  22857. - Further refactoring: moved some code from Open-/SaveFileDialog
  22858. to FileDialog
  22859. 2005-03-28 Alexander Olk <[email protected]>
  22860. * OpenFileDialog.cs: Fixed CheckFileExists
  22861. * FileDialog.cs:
  22862. Moved FileView and DirComboBox outside FileDialog class.
  22863. They can now be used outside FileDialog
  22864. 2005-03-27 Alexander Olk <[email protected]>
  22865. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  22866. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  22867. 2005-03-27 Alexander Olk <[email protected]>
  22868. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  22869. - Added missing CreatePrompt property in SaveDialog
  22870. - Overall SaveDialog handling should be better now
  22871. - Added non standard ShowHiddenFiles property
  22872. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  22873. - Added InitialDirectory and RestoreDirectory support
  22874. 2005-03-26 Alexander Olk <[email protected]>
  22875. * FileDialog.cs: Made dirComboBox usable
  22876. 2005-03-24 Alexander Olk <[email protected]>
  22877. * FileDialog.cs: Added Filter support (case sensitiv)
  22878. 2005-03-24 Jackson Harper <[email protected]>
  22879. * TabControl.cs: Need a couple more pixels for the lines.
  22880. 2005-03-23 Jackson Harper <[email protected]>
  22881. * TabControl.cs: Give the tab page focus when it is selected.
  22882. 2005-03-23 Jackson Harper <[email protected]>
  22883. * TabControl.cs: Account for the drawing of tabs borders when
  22884. invalidating. If the slider was clicked dont do click detection on
  22885. the tabs.
  22886. 2005-03-23 Jackson Harper <[email protected]>
  22887. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  22888. 2005-03-22 Jonathan Chambers <[email protected]>
  22889. * CategoryGridEntry.cs: Added
  22890. * GridItem.cs: Added helper properties
  22891. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  22892. * GridEntry.cs: Updated code for collection
  22893. * PropertyGrid.cs: Cleaned up some formatting
  22894. * PropertyGridView.cs: Added drop down functionality for enums.
  22895. * GridItemCollection.cs: Added enumerator logic
  22896. * PropertyGridEntry.cs: Added
  22897. 2005-03-19 Alexander Olk <[email protected]>
  22898. * FileDialog.cs:
  22899. - Removed unnecessary commented code
  22900. - Fixed handling for entering the filename manually in the combobox
  22901. 2005-03-19 Alexander Olk <[email protected]>
  22902. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  22903. 2005-03-18 Peter Bartok <[email protected]>
  22904. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  22905. them being touching the border
  22906. 2005-03-18 Peter Bartok <[email protected]>
  22907. * TextControl.cs: Quick hack to center text better
  22908. 2005-03-18 Peter Bartok <[email protected]>
  22909. * ControlPaint.cs:
  22910. - Don't throw NotImplemented exceptions, just print a notice once
  22911. instead (requested by Miguel). This makes running existing SWF
  22912. apps a bit easier
  22913. * Control.cs:
  22914. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  22915. - Added context menu trigger on right click
  22916. * Panel.cs: Trigger invalidate on resize
  22917. * StatusBar.cs:
  22918. - Removed old double-buffer drawing
  22919. - Added ResizeRedraw style to force proper update of statusbar
  22920. * ListView.cs:
  22921. - Removed debug output
  22922. * ThemeWin32Classic.cs:
  22923. - Fixed drawing of status bar, now draws Text property if there
  22924. are no defined panels
  22925. 2005-03-18 Jackson Harper <[email protected]>
  22926. * ImageList.cs: When the image stream is set pull all the images
  22927. from it.
  22928. * ImageListStreamer.cs: Implement reading image list streams.
  22929. 2005-03-18 Peter Bartok <[email protected]>
  22930. * ThemeWin32Classic.cs (DrawPictureBox):
  22931. - Fixed calculations for centered drawing
  22932. - Fixed drawing for normal mode, not scaling the image on normal
  22933. 2005-03-18 Peter Bartok <[email protected]>
  22934. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  22935. textbox
  22936. * FileDialog.cs:
  22937. - Made Open/Save button the accept button for FileDialog
  22938. - Tied the cancel button to the IButtonControl cancel button
  22939. - Save/Open now properly builds the pathname
  22940. - Now handles user-entered text
  22941. - Preventing crash on right-click if no item is selected
  22942. - Fixed Text property, now uses contents of textbox
  22943. - Fixed SelectedText property, now just returns the text part that
  22944. is selected in the text box
  22945. 2005-03-18 Jackson Harper <[email protected]>
  22946. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  22947. rect, make sure to de-adjust the interior rect after drawing the
  22948. tab text.
  22949. 2005-03-18 Peter Bartok <[email protected]>
  22950. * MenuAPI.cs: Remove menu *before* executing selected action to
  22951. prevent the menu from 'hanging around'
  22952. 2005-03-17 Geoff Norton <[email protected]>
  22953. * XplatUIOSX.cs: Implemented WorkingArea property
  22954. 2005-03-17 Peter Bartok <[email protected]>
  22955. * XplatUIX11.cs: Fixed menu coord calculations
  22956. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  22957. for calculating offsets
  22958. 2005-03-17 Peter Bartok <[email protected]>
  22959. * Hwnd.cs: Do not consider menu presence for default client
  22960. rectangle location/size
  22961. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  22962. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  22963. translation functions
  22964. * FileDialog.cs: Fixed (what I presume is a) typo
  22965. 2005-03-17 Jonathan Gilbert <[email protected]>
  22966. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  22967. X access (avoids X-Async errors)
  22968. 2005-03-16 Jackson Harper <[email protected]>
  22969. * TabControl.cs: Raise the SelectedIndexChanged event.
  22970. 2005-03-16 Alexander Olk <[email protected]>
  22971. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  22972. - Removed vertical ToolBar and replaced it with a custom panel
  22973. (desktop and home button already work)
  22974. - Added Help button (some controls get resized or relocated then)
  22975. - Draw correct text depending on Open or Save.
  22976. - Fixed some typos...
  22977. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  22978. * ScrollBar.cs:
  22979. - Only change Maximum and Minimum when need it (bug fix)
  22980. 2005-03-15 Peter Bartok <[email protected]>
  22981. * Form.cs: Use Handle for icon, to trigger creation if
  22982. the window does not yet exist
  22983. * Control.cs:
  22984. - CanSelect: Slight performance improvement
  22985. - Focus(): Preventing possible recursion
  22986. - Invalidate(): Removed ControlStyle based clear flag setting
  22987. - WM_PAINT: fixed logic for calling OnPaintBackground
  22988. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  22989. EraseWindowBackground if the control doesn't paint background
  22990. * XplatUIWin32.cs:
  22991. - Moved EraseWindowBackground() method to internal methods
  22992. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  22993. is sent via SendMessage on BeginPaint call on Win32
  22994. * XplatUIX11.cs:
  22995. - Added EraseWindowBackground() method
  22996. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  22997. PaintEventStart, which more closely matches Win32 behaviour
  22998. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  22999. - Fixed SetFocus() to properly deal with client and whole windows
  23000. * Hwnd.cs: Added ErasePending property
  23001. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  23002. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  23003. 2005-03-12 Geoff Norton <[email protected]>
  23004. * XplatUIOSX.cs:
  23005. - Fix hard loop when timers exist.
  23006. - Fix bugs with middle and right click for 3 button mice.
  23007. 2005-03-11 Peter Bartok <[email protected]>
  23008. * XplatUIX11.cs:
  23009. - get_WorkingArea: Need to call X directly, GetWindowPos only
  23010. returns cached data now
  23011. - Added sanity check to GetWindowPos hwnd usage
  23012. 2005-03-11 Jackson Harper <[email protected]>
  23013. * BindingManagerBase.cs: This method isn't used anymore as
  23014. PullData now updates the data in the control.
  23015. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  23016. * Form.cs: fixes menu drawing on X11
  23017. * MenuAPI.cs: fixes menu drawing on X11
  23018. 2005-03-11 Peter Bartok <[email protected]>
  23019. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  23020. from Jonathan Gilbert; should fix bug #73606
  23021. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  23022. in Screen coordinates. Thanks, Jordi.
  23023. * Form.cs: Added missing attribute
  23024. 2005-03-11 Peter Bartok <[email protected]>
  23025. * Form.cs:
  23026. - Rudimentary Mdi support
  23027. - Removed outdated FormParent code
  23028. - Implemented lots of missing properties and methods, still missing
  23029. transparency support
  23030. - Added missing attributes
  23031. - Implemented support for MaximumBounds
  23032. - Added firing of various events
  23033. * XplatUI.cs: Added SetIcon() method
  23034. * XplatUIDriver.cs: Added SetIcon() abstract
  23035. * XplatUIOSX.cs: Stubbed out SetIcon() method
  23036. * XplatUIX11.cs:
  23037. - Implemented SetIcon() support
  23038. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  23039. - Switched to unix line endings
  23040. * XplatUIWin32.cs:
  23041. - Made POINT internal so for can access it as part of MINMAX
  23042. - Implemented SetIcon() support
  23043. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  23044. native Mdi support again, might have to go managed)
  23045. * Control.cs: Now fires the StyleChanged event
  23046. * MdiClient.cs: Added; still mostly empty
  23047. 2005-03-10 Peter Bartok <[email protected]>
  23048. * SaveFileDialog.cs: Added emtpy file
  23049. 2005-03-08 Peter Bartok <[email protected]>
  23050. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  23051. in turn triggers OnCreateContro) when creating a handle for the
  23052. first time.
  23053. * TextControl.cs: Fixed endless loop in certain cases when
  23054. replacing the current selection
  23055. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  23056. * ScrollBar.cs:
  23057. - Honors NewValue changes in Scroll events allowing apps to change it
  23058. - Adds First and Last Scroll events
  23059. - Fixes Thumb events
  23060. 2005-03-07 Peter Bartok <[email protected]>
  23061. * Hwnd.cs: Added DefaultClientRectangle property
  23062. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  23063. more detailed debug information
  23064. * XplatUIX11.cs:
  23065. - Fixed size-change feedback loop, where we would pull an old size
  23066. off the queue and mistakenly change our window's size to an
  23067. earlier value
  23068. - Now compressing ConfigureNotify events, to reduce looping and
  23069. redraw issues
  23070. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  23071. is called
  23072. 2005-03-07 Jackson Harper <[email protected]>
  23073. * Binding.cs: Push data pushes from data -> property. Check if the
  23074. property is readonly when attempting to set it.
  23075. 2005-03-07 Jackson Harper <[email protected]>
  23076. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  23077. instead of IsSubclassOf. Pulling data now sets the value on the
  23078. control.
  23079. * PropertyManager.cs:
  23080. * CurrencyManager.cs: Just need to pull data when updating now,
  23081. because PullData will set the value on the control.
  23082. 2005-03-04 Jackson Harper <[email protected]>
  23083. * Binding.cs: Implement data type parsing and converting on pulled
  23084. data. TODO: Are there more ways the data can be converted?
  23085. 2005-03-04 Jackson Harper <[email protected]>
  23086. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  23087. controls Validating method so we can repull the data when the
  23088. control loses focus.
  23089. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  23090. * ColumnHeader.cs:
  23091. - Fixes null string format
  23092. * ListView.cs:
  23093. - Adds enum type checks
  23094. - Fixes redrawing and recalc need after changing some properties
  23095. - Fixes on focus_item set after the event
  23096. - Fixes adding columns after the control has been created
  23097. * ThemeWin32Classic.cs:
  23098. - Fixes CheckBox focus rectangle
  23099. - Fixes ColumnHeader drawing
  23100. 2005-03-03 Jackson Harper <[email protected]>
  23101. * Binding.cs: Bind to <Property>Changed events so we can detect
  23102. when properties are changed and update the data.
  23103. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  23104. * ImageList.cs:
  23105. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  23106. - Fixes ImageList constructor with ImageList container
  23107. - Fixes image scaling (wrong parameters at DrawImage)
  23108. 2005-02-02 Jackson Harper <[email protected]>
  23109. * Binding.cs: Make property searches case-insensitive. Eliminate
  23110. some duplicated code.
  23111. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  23112. * ComboBox.cs:
  23113. - Handle focus event
  23114. - Fix scrollbar events
  23115. - Discard highlighted item if remove it
  23116. - Fixes SelectedItem with strings
  23117. 2005-03-01 Peter Bartok <[email protected]>
  23118. * Control.cs:
  23119. - Fixed Visible property, now follows (once again) parent chain
  23120. to return false if any control in the chain is visible=false
  23121. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  23122. - Fixed several places where is_visible instead of Visible was used
  23123. - Implemented FIXME related to focus selection when setting focused
  23124. control to be invisible
  23125. * XplatUIWin32.cs: Now using proper method to find out if window is
  23126. visible. Thanks to Jordi for pointing it out
  23127. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  23128. * ComboBox.cs: show/hide scrollbar instead of creating it
  23129. 2005-02-27 Jackson Harper <[email protected]>
  23130. * CurrencyManager.cs: Add PositionChanged stuff.
  23131. 2005-02-27 Peter Bartok <[email protected]>
  23132. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  23133. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  23134. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  23135. * XplatUIX11.cs:
  23136. - Implemented GetMenuDC()
  23137. - Implemented GetMenuOrigin()
  23138. - Implemented ReleaseMenuDC()
  23139. - Implemented generation of WM_NCPAINT message
  23140. - Implemented generation and handling of WM_NCCALCSIZE message
  23141. * Form.cs: Added debug helper message for Jordi's menu work
  23142. * Hwnd.cs:
  23143. - Modified ClientRect property; added setter, fixed getter to handle
  23144. setting of ClientRect
  23145. - Added MenuOrigin property
  23146. 2005-02-26 Peter Bartok <[email protected]>
  23147. * XplatUIX11.cs:
  23148. - Destroys the caret if a window that's being destroyed contains it
  23149. - Ignores expose events coming from the X11 queue for windows that
  23150. already are destroyed
  23151. - Now uses the proper variable for handling DestroyNotify, before we
  23152. marked the wrong window as destroyed
  23153. - Improved/added some debug output
  23154. 2005-02-26 Peter Bartok <[email protected]>
  23155. * X11Keyboard.cs: Fixes to work on 64bit systems
  23156. 2005-02-26 Peter Bartok <[email protected]>
  23157. * Control.cs:
  23158. - Now calling OnHandleDestroyed from DestroyHandle()
  23159. instead of Dispose()
  23160. - Removed bogus call to controls.Remove() from DestroyHandle()
  23161. 2005-02-26 Peter Bartok <[email protected]>
  23162. * Control.cs: Properly destroy child windows when our handle is
  23163. destroyed
  23164. 2005-02-25 Peter Bartok <[email protected]>
  23165. * XplatUI.cs:
  23166. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  23167. - Alphabetized Static Methods and Subclasses
  23168. * XplatUIX11.cs:
  23169. - Added XException class to allow custom handling of X11 exceptions
  23170. - Created custom X11 error handler, tied into XException class
  23171. - Added support for MONO_XEXCEPTIONS env var to allow the user
  23172. to either throw an exception on X errors or continue running
  23173. after displaying the error
  23174. - Added handling of DestroyNotify message
  23175. - Added handler for CreateNotify message (still disabled)
  23176. - Improved (tried to at least) Where method to provide file and lineno
  23177. * X11Structs.cs:
  23178. - Added XErrorHandler delegate
  23179. - Added XRequest enumeration (to suppor translation of errors)
  23180. 2005-02-25 Jackson Harper <[email protected]>
  23181. * PropertyManager.cs: Implement editing features
  23182. * CurrencyManager.cs:
  23183. * Binding.cs: First attempt at UpdateIsBinding
  23184. * BindingManagerBase.cs: Call UpdateIsBinding before
  23185. pushing/pulling data.
  23186. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  23187. * MenuAPI.cs: Respect disabled items
  23188. * ThemeWin32Classic.cs
  23189. - Caches ImageAttributes creation for DrawImageDisabled
  23190. - Fixes vertical menu line drawing
  23191. - Draws disabled arrows in disable menu items
  23192. 2005-02-24 Peter Bartok <[email protected]>
  23193. * Hwnd.cs:
  23194. - Added UserData property to allow associating arbitrary objects
  23195. with the handle
  23196. - Fixed leak; now removing Hwnd references from static windows array
  23197. * XplatUIWin32.cs:
  23198. - Fixed Graphics leak in PaintEventEnd
  23199. - Removed usage of HandleData, switched over to Hwnd class
  23200. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  23201. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  23202. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  23203. * ScrollBar.cs: Fixes bug
  23204. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  23205. keyboard navigation enhancements
  23206. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  23207. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  23208. * GroupBox.cs: Add control styles
  23209. * Label.cs: Add control styles
  23210. * UpDownBase.cs: Add control styles
  23211. * ListBox.cs: Add control styles
  23212. * XplatUIWin32.cs: Fixes wrong parameter order
  23213. 2005-02-23 Chris Bacon <[email protected]>
  23214. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  23215. 2005-02-23 Jackson Harper <[email protected]>
  23216. * PropertyManager.cs: Implement property binding. This doesn't
  23217. seem to work yet though as (I think) there are some bugs in
  23218. System.ComponentModel.PropertyDescriptor.
  23219. * BindingContext.cs: Use new PropertyManager constructor.
  23220. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  23221. * ProgressBar.cs: use clip region in ProgressBar
  23222. * ThemeWin32Classic.cs: use clip region in ProgressBar
  23223. 2004-02-22 Jackson Harper <[email protected]>
  23224. * BindingsCollection.cs: Remove some debug code.
  23225. 2005-02-22 Jackson Harper <[email protected]>
  23226. * BindingContext.cs:
  23227. * ControlBindingsCollection.cs:
  23228. * CurrencyManager.cs:
  23229. * Binding.cs:
  23230. * BindingManagerBase.cs: Initial implementation
  23231. * BindingsCollection.cs: Add an internal contains method that the
  23232. BindingManagerBase uses to ensure bindings aren't added twice to
  23233. the collection.
  23234. * PropertyManager.cs: Stubbed out.
  23235. * Control.cs:
  23236. * ContainerControl.cs: Hook up databinding
  23237. 2005-02-22 Geoff Norton <[email protected]>
  23238. * XplatUIOSX.cs:
  23239. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  23240. Fixed Invalidate/Update chain.
  23241. Fixed tons of other minor bugs (this is almost a complete rewrite).
  23242. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  23243. * ComboBox.cs: do subcontrol creation when the control is created
  23244. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23245. * Label.cs: fixes image drawing (image and imagelist)
  23246. * ThemeWin32Classic.cs: cache brushes
  23247. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23248. * Form.cs: Move menu drawing code to Theme class
  23249. * ComboBox.cs: Move ComboBox drawing code to Theme class
  23250. * MenuItem.cs: Move menu drawing code to Theme class
  23251. * MenuAPI.cs: Move menu drawing code to Theme class
  23252. * ThemeWin32Classic.cs: New methods
  23253. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  23254. * ListBox.cs: Move Listbox drawing code to Theme class
  23255. * Theme.cs: New methods
  23256. 2005-02-20 Peter Bartok <[email protected]>
  23257. * Control.cs:
  23258. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  23259. only process mnemonics on those)
  23260. - Fixed event sequence for key handling; first calling
  23261. ProcessKeyEventArgs now
  23262. * TextBoxBase.cs:
  23263. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  23264. for processing non-character keys
  23265. - Fixed WM_CHAR to generate proper event sequence before processing
  23266. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  23267. generation
  23268. 2005-02-19 Peter Bartok <[email protected]>
  23269. * UserControl.cs: Added TextChanged event; added attributes
  23270. * SizeGrip.cs: Implemented resizing and optional display of grip
  23271. * Form.cs: Fixed attribute
  23272. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  23273. Changed meaning of ScrollWindow bool argument; instead of the
  23274. clear attribute (which will be true usually anyway), it gives the
  23275. option of moving child controls as well.
  23276. * XplatUIX11.cs:
  23277. - Changed to match new ScrollWindow argument
  23278. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  23279. now handles the implicit parent window a WM puts around us
  23280. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  23281. to work)
  23282. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  23283. * TreeView.cs: Adjusted to new ScrollWindow arguments
  23284. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23285. * Form.cs: Menu integration with non-client area
  23286. * MenuItem.cs: Menu integration with non-client area
  23287. * MenuAPI.cs: Menu integration with non-client area
  23288. 2005-02-18 Peter Bartok <[email protected]>
  23289. * MethodInvoker.cs: Added
  23290. * MdiLayout.cs: Added
  23291. * SendKeys.cs: Started implementation
  23292. * ErrorIconAlignment.cs: Added
  23293. 2005-02-18 Peter Bartok <[email protected]>
  23294. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  23295. * Form.cs: Added handling for Menu-related Non-client messages
  23296. 2005-02-17 Peter Bartok <[email protected]>
  23297. * UpDownBase.cs: Fixed typo, compilation errors
  23298. * DomainUpDown.cs: Fixed attribute value
  23299. 2005-02-16 Miguel de Icaza <[email protected]>
  23300. * UpDownBase.cs: Attach entry events.
  23301. Propagate events.
  23302. Add ForeColor property, Focused, InterceptArrowKeys (interception
  23303. does not work yet).
  23304. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  23305. * Form.cs:
  23306. - Redraw non client are on Setmenu
  23307. - Calc proper menu starting point
  23308. 2005-02-17 Peter Bartok <[email protected]>
  23309. * Application.cs: Fixed message_filter check
  23310. 2005-02-17 Peter Bartok <[email protected]>
  23311. * Application.cs: Now calls registered message filters
  23312. * DockStyle.cs: Fixed attribute
  23313. * Form.cs: Fixed attribute
  23314. * Menu.cs: Fixed attribute
  23315. * ToolTip.cs: Fixed attribute
  23316. * TreeNode.cs: Added missing attributes and arranged in regions
  23317. * PropertyGrid.cs: Fixed signatures
  23318. * TreeNodeCollection.cs: Added attributes
  23319. * Splitter.cs: Added missing attributes; arranged into regions
  23320. * TabPage.cs: Added missing attributes; arranged into regions
  23321. * TextBoxBase.cs: Added missing attributes
  23322. * TextBox.cs: Added missing attributes
  23323. * ArrangeDirection.cs: Added missing attributes
  23324. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  23325. * ToolBarButton.cs: Fixed attributes
  23326. * AnchorStyles.cs: Fixed attribute
  23327. * TrackBar.cs: Fixed attributes
  23328. * TabControl.cs: Added missing attributes and arranged into regions
  23329. * ToolBar.cs: Fixed attribute
  23330. * StatusBar.cs: Fixed signature, organized into regions and added
  23331. attributes
  23332. * StatusBarPanel.cs: Fixed attributes
  23333. * ContentsResizedEventArgs.cs: Implemented
  23334. * ContentsResizedEventHandler.cs: Implemented
  23335. * DateBoldEventArgs.cs: Implemented
  23336. * DateBoldEventHandler.cs: Implemented
  23337. * UpDownEventArgs.cs: Implemented
  23338. * UpDownEventHandler.cs: Implemented
  23339. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  23340. * Form.cs: first Menu NC refactoring
  23341. * MenuAPI.cs: first Menu NC refactoring
  23342. 2005-02-16 Peter Bartok <[email protected]>
  23343. * ImeMode.cs: Added missing attributes
  23344. * Menu.cs: Fixed attribute
  23345. * GroupBox.cs: Fixed attribute
  23346. * Label.cs: Fixed attribute
  23347. * ColorDialog.cs (RunDialog): Removed TODO attribute
  23348. * ComboBox.cs: Fixed attributes
  23349. * ListControl.cs: Added missing attributes
  23350. * PropertyGrid.cs: Fixed attributes
  23351. * Control.cs: Fixed attributes
  23352. * ListViewItem.cs: Added TypeConverter attribute
  23353. * NotifyIcon.cs: Fixed attributes
  23354. * ListView.cs: Fixed attributes
  23355. * ButtonBase.cs: Fixed attribute
  23356. * ImageList.cs: Added missing attributes
  23357. * ContainerControl.cs: Fixed signature
  23358. * CheckedListBox.cs: Fixed attribute; added missing attributes
  23359. * Panel.cs: Fixed attributes
  23360. * PropertyTabChangedEventArgs.cs: Added missing attribute
  23361. * PropertyValueChangedEventArgs.cs: Added missing attribute
  23362. * Binding.cs: Fixed attribute
  23363. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  23364. * ListBox.cs: Fixed attribute; added missing attributes;
  23365. * ScrollableControl.cs: Added missing attributes
  23366. * PictureBox.cs: Added missing attributes; implemented missing property
  23367. * DateTimePicker.cs: Added missing attributes
  23368. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  23369. * MonthCalendar.cs: Fixed attributes
  23370. * StatusBarPanel.cs: Added missing attributes
  23371. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  23372. 2005-02-16 Peter Bartok <[email protected]>
  23373. * TextBoxBase.cs: The previous method to enforce height yet remember
  23374. the requested high was less than ideal, this is an attempt to do
  23375. it better.
  23376. * Control.cs: Added comment about possible problem
  23377. * Copyright: Updated format
  23378. * GridItemType.cs: Fixed swapped values
  23379. 2005-02-15 Jackson Harper <[email protected]>
  23380. * BaseCollection.cs: Use property so we never access an
  23381. uninitialized list. Also initialize the list in the property.
  23382. 2005-02-15 Peter Bartok <[email protected]>
  23383. * GroupBox.cs (ProcessMnemonic): Implemented
  23384. * Label.cs (ProcessMnemonic): Implemented
  23385. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  23386. hotkeys
  23387. 2005-02-15 Peter Bartok <[email protected]>
  23388. * RadioButton.cs (ProcessMnemonic): Implemented
  23389. * CheckBox.cs (ProcessMnemonic): Implemented
  23390. * Control.cs:
  23391. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  23392. handling
  23393. - Added internal method to allow calling ProcessMnemonic from other
  23394. controls
  23395. * ContainerControl.cs:
  23396. - Started support for handling validation chain handling
  23397. - Implemented ProcessMnemonic support
  23398. - Added Select() call to Active, to make sure the active control
  23399. receives focus
  23400. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  23401. FormParent rewrite)
  23402. * ThemeWin32Classic.cs:
  23403. - DrawCheckBox(): Fixed stringformat to show hotkeys
  23404. - DrawRadioButton(): Fixed stringformat to show hotkeys
  23405. * CommonDialog.cs: Removed WndProc override, not needed
  23406. 2005-02-14 Peter Bartok <[email protected]>
  23407. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  23408. missed those in the rewrite
  23409. 2005-02-14 Miguel de Icaza <[email protected]>
  23410. * NumericUpDown.cs (Increment, ToString): Add.
  23411. (DecimalPlaces): implement.
  23412. Add attributes.
  23413. * UpDownBase.cs: Add the designer attributes.
  23414. 2005-02-13 Peter Bartok <[email protected]>
  23415. * Panel.cs: Removed border_style, now in Control
  23416. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  23417. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  23418. 2005-02-13 Peter Bartok <[email protected]>
  23419. * MouseButtons.cs: Added missing attributes
  23420. * XplatUIStructs.cs: Added enumeration for title styles
  23421. * LeftRightAlignment.cs: Added missing attributes
  23422. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  23423. it compatible with Graphics.FromHwnd()
  23424. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  23425. * Keys.cs: Added missing attributes
  23426. * SelectionRange.cs: Added missing attributes
  23427. * SelectionRangeConverter.cs: Added
  23428. * XplatUI.cs:
  23429. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  23430. ReleaseMenuDC methods
  23431. - Renamed ReleaseWindow to UngrabWindow
  23432. - Added proper startup notice to allow version identification
  23433. * Form.cs:
  23434. - Added missing attributes
  23435. - Removed FormParent concept
  23436. * Label.cs: Removed border_style field, now in Control
  23437. * RadioButton.cs: Now properly selects RadioButton when focus is
  23438. received
  23439. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  23440. * Control.cs:
  23441. - Added missing attributes
  23442. - Added borderstyle handling
  23443. - Removed FormParent concept support
  23444. - Fixed calls to XplatUI to match changed APIs
  23445. - Fixed bug that would case us to use disposed Graphics objects
  23446. - Removed unneeded internal methods
  23447. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  23448. - SelectNextControl(): Fixed to properly check common parents
  23449. * TextBoxBase.cs: Removed border_style field (now in Control)
  23450. * MessageBox.cs:
  23451. - Patch by Robert Thompson ([email protected]): Added icon support,
  23452. fixed calculations for form size
  23453. - Added support for localized strings and icons
  23454. - Improved form size calculations, added border
  23455. * ListView.cs: Removed border_style field (now in Control)
  23456. * X11Structs.cs: Moved several structs from X11 driver here
  23457. * X11Keyboard.cs: Changed debug message
  23458. * Application.cs: Removed FormParent concept support
  23459. * CommonDialog.cs:
  23460. - Resetting end_modal flag
  23461. - Removed FormParent concept support
  23462. * NativeWindow.cs: Removed FormParent concept support
  23463. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  23464. Client area and Non-Client whole window to allow support for WM_NC
  23465. messages
  23466. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  23467. prevent using it until it supports Hwnd as per Geoff Norton's request
  23468. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  23469. * PictureBox.cs: Removed border_style field, now in Control
  23470. * XplatUIWin32.cs: Added new driver methods
  23471. 2005-02-12 Peter Bartok <[email protected]>
  23472. * OpacityConverter.cs: Implemented
  23473. * Hwnd.cs: Internal class to support drivers that need to emulate
  23474. client area/non-client area window behaviour
  23475. 2005-02-11 Peter Bartok <[email protected]>
  23476. * KeysConverter.cs: Implemented
  23477. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  23478. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  23479. * LinkLabel: Added missing attributes
  23480. * MainMenu.cs: fixes ToString
  23481. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  23482. * ListBox.cs: fixes event position
  23483. * TrackBar.cs: adds missing attributes and events
  23484. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  23485. * MenuItem.cs: Use SystemInformation and bug fixes
  23486. * MenuAPI.cs: Use SystemInformation and bug fixes
  23487. 2005-02-09 Jackson Harper <[email protected]>
  23488. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  23489. their keystate otherwise things like VK_MENU get stuck "on".
  23490. 2005-02-09 Kazuki Oikawa <[email protected]>
  23491. * ListBox.cs: Fixes AddRange bug
  23492. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  23493. * ProgressBar.cs
  23494. - Add missing attributes
  23495. - Add missing method
  23496. * CheckedListBox.cs: Added missing attributes
  23497. - Add missing attributes
  23498. - Remove extra method
  23499. * ComboBox.cs: Added missing attributes
  23500. * VScrollBar.cs: Added missing attributes
  23501. * ScrollBar.cs: Added missing attributes
  23502. * ListBox.cs: Fixes signature, add missing consts
  23503. * LinkArea.cs: Added missing attributes
  23504. 2005-02-08 Peter Bartok <[email protected]>
  23505. * Menu.cs: Added missing attributes
  23506. * MainMenu.cs: Added missing attributes
  23507. * GroupBox.cs: Added missing attributes
  23508. * Label.cs: Added missing attributes
  23509. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  23510. * ColorDialog.cs:
  23511. - Added Instance and Options properties
  23512. - Added missing attributes
  23513. * Cursor.cs: Made Serializable
  23514. * NotifyIcon: Added missing attributes
  23515. * MenuItem.cs: Added missing attributes
  23516. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  23517. * Panel.cs: Added Missing attributes
  23518. * MonthCalendar.cs: Fixed CreateParams
  23519. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  23520. * LinkLabel.cs:
  23521. - Fixes signature
  23522. - Fixes issues with links
  23523. - Adds the class attributes
  23524. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  23525. * ComboBox.cs:
  23526. - Fixes button when no items available in dropdown
  23527. - Fixes repainting problems
  23528. - Adds the class attributes
  23529. 2005-02-07 Geoff Norton <[email protected]>
  23530. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  23531. the current theme. Cache these on startup.
  23532. 2005-02-07 Jackson Harper <[email protected]>
  23533. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  23534. the scrollbar buttons when they are depressed.
  23535. 2005-02-07 Geoff Norton <[email protected]>
  23536. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  23537. Get the display size from the main displayid. We currently dont
  23538. support multiple display configurations.
  23539. 2005-02-07 Geoff Norton <[email protected]>
  23540. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  23541. 2005-02-07 Miguel de Icaza <[email protected]>
  23542. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  23543. 2005-02-05 Jonathan Chambers <[email protected]>
  23544. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  23545. 2005-02-04 Jackson Harper <[email protected]>
  23546. * ThemeWin32Classic.cs: Respect the clipping rect when
  23547. drawing. Only fill the intersection of clips and rects so there
  23548. isn't a lot of large fills.
  23549. * ScrollBar.cs: Pass the correct clipping rect to the theme
  23550. engine. Remove some debug code.
  23551. 2005-02-05 John BouAntoun <[email protected]>
  23552. * DateTimePicker.cs:
  23553. - Fixed crash on DateTime.Parse, use Constructor instead
  23554. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  23555. * MenuItem.cs:
  23556. * MenuAPI.cs:
  23557. - Owner draw support (MeasureItem and DrawItem)
  23558. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  23559. * Menu.cs:
  23560. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  23561. - Fixes MenuItems.Add range
  23562. * MenuItem.cs:
  23563. - MergeMenu and Clone and CloneMenu functions
  23564. 2005-02-03 Jackson Harper <[email protected]>
  23565. * ScrollBar.cs: Make abstract
  23566. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  23567. is abstract.
  23568. 2005-02-03 Jackson Harper <[email protected]>
  23569. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  23570. all the unneeded refreshes and uses invalidates with properly
  23571. computed rects.
  23572. 2005-02-03 Peter Bartok <[email protected]>
  23573. * ComponentModel.cs: Added
  23574. * IDataGridEditingService.cs: Added
  23575. * Timer.cs: Added missing attributes
  23576. * ToolTip.cs: Added missing attributes
  23577. 2005-02-03 Jonathan Chambers <[email protected]>
  23578. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  23579. 2005-02-03 Peter Bartok <[email protected]>
  23580. * ListBox.cs: Added missing attributes
  23581. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  23582. * ListBox.cs:
  23583. - Fixes font height after font change
  23584. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  23585. 2005-02-02 Peter Bartok <[email protected]>
  23586. * HandleData.cs: Introduced static methods to allow class
  23587. to be more self-contained and track it's own HandleData objects
  23588. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  23589. HandleData to use new static methods
  23590. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  23591. * Combobox.cs:
  23592. - Fixes default size and PreferredHeight
  23593. - Missing events
  23594. - ObjectCollection.Insert implementation
  23595. * ListControl.cs
  23596. - Fixes signature
  23597. * ListBox.cs:
  23598. - Several fixes
  23599. - ObjectCollection.Insert implementation
  23600. - No selection after clean
  23601. - Small fixes
  23602. 2005-01-31 John BouAntoun <[email protected]>
  23603. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  23604. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  23605. * Combobox.cs:
  23606. - Caches ItemHeight calculation for OwnerDrawVariable
  23607. - Handles dropdown properly
  23608. - Fixes several minor bugs
  23609. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  23610. * ListBox.cs:
  23611. - Fixes 71946 and 71950
  23612. - Fixes changing Multicolumn on the fly
  23613. - Fixes keyboard navigation on Multicolumn listboxes
  23614. 2005-01-31 Geoff Norton <[email protected]>
  23615. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  23616. crash reporter log.
  23617. 2005-01-31 Geoff Norton <[email protected]>
  23618. * XplatUIOSX.cs: Allow applications to actually exit.
  23619. 2005-01-31 Geoff Norton <[email protected]>
  23620. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  23621. their parent at creation time rather than lazily later. Fixes a major
  23622. regression we were experiencing.
  23623. 2005-01-31 John BouAntoun <[email protected]>
  23624. * ThemeWin32Classic.cs: more date time picker painting fixes
  23625. * DateTimePicker.cs: more monthcalendar drop down fixes
  23626. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  23627. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  23628. * ScrollBar.cs:
  23629. - When moving the thumb going outside the control should stop the moving
  23630. - Adds the firing of missing events
  23631. - Fixes no button show if Size is not specified
  23632. - End / Home keys for keyboard navigation
  23633. 2005-01-30 Peter Bartok <[email protected]>
  23634. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  23635. sanity check to prevent theoretical loop
  23636. * XplatUIWin32.cs (SetVisible): Removed debug output
  23637. * XplatUIX11.cs (SystrayChange): Added sanity check
  23638. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  23639. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  23640. behaviour, valid until the X11 client window rewrite is done
  23641. * TextBox.cs (ctor): Setting proper default foreground and background
  23642. colors
  23643. 2005-01-30 John BouAntoun <[email protected]>
  23644. * Theme: Added DrawDateTimePicker to interface
  23645. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  23646. * DateTimePicker.cs: Created (still needs keys and painting code)
  23647. * DateTimePickerFormat.cs: added
  23648. * MonthCalendar.cs: fixed CreateParams for popup window mode
  23649. 2005-01-29 Peter Bartok <[email protected]>
  23650. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  23651. this should also the calculations for ligher/darker
  23652. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  23653. 2005-01-29 Peter Bartok <[email protected]>
  23654. * ArrangeDirection.cs: Added
  23655. * ArrangeStartingPositon.cs: Added
  23656. * SystemInformation.cs: Implemented
  23657. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  23658. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  23659. used by SystemInformation class
  23660. * X11Strucs.cs: Added XSizeHints structure
  23661. * MenuAPI.cs:
  23662. - Fixed CreateParams to make sure the menu window is always visible
  23663. - TrackPopupMenu: Added check to make sure we don't draw the
  23664. menu offscreen
  23665. 2005-01-29 Peter Bartok <[email protected]>
  23666. * HandleData.cs: Added method for altering invalid area
  23667. * TextBoxBase.cs: Implemented TextLength
  23668. 2005-01-28 Peter Bartok <[email protected]>
  23669. * XplatUIX11.cs: Improvement over last patch, not sending
  23670. the WM_PAINT directly anymore, instead we scroll any pending
  23671. exposed areas and let the system pick out the WM_PAINT later
  23672. 2005-01-28 Peter Bartok <[email protected]>
  23673. * SWF.csproj: Deleted, no longer used. Instead,
  23674. Managed.Windows.Forms/SWF.csproj should be used
  23675. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  23676. directly, to avoid a potential race condition with the next
  23677. scroll
  23678. 2005-01-28 Peter Bartok <[email protected]>
  23679. * XplatUI.cs: Made class internal
  23680. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  23681. * CheckedListBox.cs:
  23682. - Draw focus
  23683. - Fixed Drawing
  23684. - Missing methods and events
  23685. 2005-01-27 Peter Bartok <[email protected]>
  23686. * Application.cs (Run): Don't use form if we don't have one
  23687. 2005-01-27 Peter Bartok <[email protected]>
  23688. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  23689. 2005-01-27 Peter Bartok <[email protected]>
  23690. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  23691. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  23692. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  23693. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  23694. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  23695. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  23696. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23697. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  23698. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23699. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23700. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23701. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  23702. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  23703. * Combobox.cs:
  23704. - Draw focus on Simple Combobox
  23705. - Fixes drawing issues
  23706. - fixes 71834
  23707. 2005-01-27 Peter Bartok <[email protected]>
  23708. * Form.cs:
  23709. - Place window in default location, instead of hardcoded 0/0
  23710. - Send initial LocationChanged event
  23711. * Control.cs:
  23712. - UpdateBounds after creation to find out where the WM placed us
  23713. - Make sure that if the ParentForm changes location the Form
  23714. is notified
  23715. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  23716. to the root, but to whatever the WM placed around us.
  23717. Translate to root coordinates before returning toplevel
  23718. coordinates
  23719. * XplatUIWin32.cs: Removed debug output
  23720. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  23721. flag to GetWindowPos, to allow translation of coordinates on X11
  23722. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  23723. * ListBox.cs: connect LostFocus Event
  23724. 2005-01-27 Peter Bartok <[email protected]>
  23725. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  23726. XplatUIX11.cs: Extended the Systray API
  23727. * Form.cs: Removed debug output
  23728. * Application.cs: Fixed focus assignment, always need to call
  23729. XplatUI.Activate() since Form.Activate() has rules that may
  23730. prevent activation
  23731. * NotifyIcon.cs: Should be complete now
  23732. * ToolTip.cs: Worked around possible timer bug
  23733. 2005-01-27 Jackson Harper <[email protected]>
  23734. * TabControl.cs:
  23735. - Only invalidate the effected tabs when the
  23736. selected index changes. This reduces drawing and gets rid of some
  23737. flicker.
  23738. - Only refresh if the tabs need to be shifted, otherwise only
  23739. invalidate the slider button.
  23740. - On windows the tabs are not filled to right if the slider is
  23741. visible.
  23742. 2005-01-27 Jackson Harper <[email protected]>
  23743. * TabControl.cs: Only refresh on mouseup if we are showing the
  23744. slider. Also only invalidate the button whose state has changed.
  23745. 2005-01-26 Peter Bartok <[email protected]>
  23746. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  23747. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  23748. and SystrayRemove() methods
  23749. * XplatUIOSX.cs: Stubbed Systray methods
  23750. * XplatUIX11.cs:
  23751. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  23752. methods
  23753. - Fixed broken XChangeProperty calls (marshalling messed up things)
  23754. * X11Structs.cs: Added enums and structs required for Size hinting
  23755. * NotifyIcon.cs: Added & implemented
  23756. 2005-01-26 Jackson Harper <[email protected]>
  23757. * TabControl.cs: Space vertically layed out tabs properly.
  23758. 2005-01-26 Peter Bartok <[email protected]>
  23759. * Form.cs (CreateClientParams): Always set the location to 0,0
  23760. since we're a child window.
  23761. * Control.cs (SetVisibleCore): Always explicitly setting the location
  23762. of a toplevel window, apparently X11 doesn't like to move windows
  23763. while they're not mapped.
  23764. 2005-01-26 Jackson Harper <[email protected]>
  23765. * TabControl.cs: Implement FillToRight size mode with vertically
  23766. rendered tabs.
  23767. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  23768. * ControlPaint.cs, ThemeWin32Classic.cs
  23769. - Fixes DrawFocusRectangle
  23770. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  23771. * MenuAPI.cs:
  23772. - MenuBar tracking only starts when item is first clicked
  23773. - Fixes menu hidding for multiple subitems
  23774. - Unselect item in MenuBar when item Executed
  23775. - Fixes bug 71495
  23776. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  23777. * ListControl.cs:
  23778. - IsInputKey for ListBox
  23779. * ListBox.cs:
  23780. - Focus item
  23781. - Shift and Control item selection
  23782. - Implement SelectionMode.MultiExtended
  23783. - Fixes RightToLeft
  23784. * ComboBox.cs:
  23785. - IsInputKey implemented
  23786. - Do not generate OnTextChangedEdit on internal txt changes
  23787. 2005-01-23 Peter Bartok <[email protected]>
  23788. * AccessibleObject.cs: Partially implemented Select()
  23789. * MonthCalendar.cs: Added missing attributes and events
  23790. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  23791. form can properly override CreateParams.
  23792. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  23793. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  23794. Control performs Invalidate & Update
  23795. * NativeWindow (CreateHandle): Added special handling for Form
  23796. and Form.FormParent classes to allow overriding of From.CreateParams
  23797. * Control.cs:
  23798. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  23799. name 'owner'
  23800. - ControlNativeWindow: Added Owner property
  23801. - Removed usage of Refresh() on property changes, changed into
  23802. Invalidate(), we need to wait until the queue is processed for
  23803. updates, direct calls might cause problems if not all vars for
  23804. Paint are initialized
  23805. - Added call to UpdateStyles() when creating the window, to set any
  23806. styles that CreateWindow might have ignored.
  23807. - Added support for Form CreateParent overrides to UpdateStyles()
  23808. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  23809. CreateParams are now properly overridable
  23810. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  23811. CreateParams are now properly overridable
  23812. 2005-01-23 Miguel de Icaza <[email protected]>
  23813. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  23814. OnTextBoxChanged.
  23815. Capture LostFocus and OnTextBoxChanged. The later introduces a
  23816. recursive invocation that I have not figured out yet.
  23817. Reset the timer when not using (it was accumulating).
  23818. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  23819. user has made changes that require validation.
  23820. Reset changing to avoid loops.
  23821. 2005-01-22 Miguel de Icaza <[email protected]>
  23822. * NumericUpDown.cs: Display value at startup.
  23823. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  23824. ValidateEditText.
  23825. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  23826. filled in. Added some basic parsing of text.
  23827. Still missing the OnXXX method overrides, and figuring out the
  23828. events that must be emitted.
  23829. * UpDownBase.cs: Handle UserEdit on the Text property.
  23830. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  23831. * ComboBox.cs:
  23832. - Fixes IntegralHeight
  23833. - ToString method
  23834. 2005-01-21 Jackson Harper <[email protected]>
  23835. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  23836. is set so that the page visibility is updated and the tabs are
  23837. sized correctly.
  23838. 2005-01-21 Jackson Harper <[email protected]>
  23839. * TabControl.cs: Use cliping rectangle for blitting. Give the
  23840. theme the clipping rect so we can do clipping while
  23841. drawing. Remove some debug code.
  23842. 2005-01-21 Jackson Harper <[email protected]>
  23843. * TabPage.cs: Add a new method so tab pages can force the tab
  23844. control to recalculate the tab page sizes.
  23845. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  23846. sizes.
  23847. 2005-01-20 Jackson Harper <[email protected]>
  23848. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  23849. 2005-01-20 Jackson Harper <[email protected]>
  23850. * TreeView.cs: Set the bounds for nodes properly. They were
  23851. getting screwed up when checkboxes were not enabled, but images
  23852. were.
  23853. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  23854. * ListBox.cs:
  23855. - Owner draw support
  23856. - Fixes
  23857. 2005-01-20 Jackson Harper <[email protected]>
  23858. * XplatUIStructs.cs: More misc keys
  23859. * X11Keyboard.cs: Ignore some control keys.
  23860. 2005-01-20 Jackson Harper <[email protected]>
  23861. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  23862. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  23863. 2005-01-19 Peter Bartok <[email protected]>
  23864. * Control.cs: Un-selecting the control when it is loosing focus
  23865. 2005-01-19 Jackson Harper <[email protected]>
  23866. * TreeView.cs: Hook up to the text controls leave event so we can
  23867. end editing when the users clicks outside the text box.
  23868. 2005-01-19 Jackson Harper <[email protected]>
  23869. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  23870. get set in the conversion array.
  23871. 2005-01-19 Peter Bartok <[email protected]>
  23872. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  23873. focus is properly set
  23874. * Button.cs:
  23875. - Added missing attributes
  23876. - removed styles, those are already set in the base class
  23877. * ButtonBase.cs:
  23878. - Added missing attributes
  23879. - Added clip window styles
  23880. * CheckBox.cs: Added missing attributes
  23881. * CommonDialog.cs:
  23882. - FormParentWindow.CreateParams: Added required clip styles
  23883. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  23884. also filters modifier keys
  23885. * MessageBox.cs:
  23886. - Added assignment of Accept and Cancel button to enable Enter
  23887. and Esc keys in MessageBox dialogs
  23888. - FormParentWindow.CreateParams: Added required clip styles
  23889. * RadioButton.cs: Added missing attributes
  23890. * TextControl.cs: No longer draws selection if control does not
  23891. have focus
  23892. * TextBoxBase.cs:
  23893. - Now draws simple rectangle around test area to make it obvious
  23894. there's a control. This is a hack until we properly support borders
  23895. - A few simple fixes to support selections better, now erases selected
  23896. text when typing, and resets selection when using movement keys
  23897. 2005-01-19 Miguel de Icaza <[email protected]>
  23898. * UpDownBase.cs: Added some new properties.
  23899. * DomainUpDown.cs: Implement a lot to get my test working.
  23900. 2005-01-19 Geoff Norton <[email protected]>
  23901. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  23902. 2005-01-19 Geoff Norton <[email protected]>
  23903. * OSXStructs (WindowAttributes): Fixed csc complaints
  23904. 2005-01-19 Geoff Norton <[email protected]>
  23905. * XplayUIOSX.cs:
  23906. OSXStructs.cs: Initial refactor to move enums and consts into
  23907. OSXStructs and use them in the driver for greater readability.
  23908. 2005-01-19 Geoff Norton <[email protected]>
  23909. * XplatUIOSX.cs: Initial support for Standard Cursors.
  23910. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  23911. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  23912. * ComboBox.cs: ability to change style when the ctrl is already
  23913. created, missing methods and events, bug fixes, signature fixes
  23914. 2005-01-19 Peter Bartok <[email protected]>
  23915. * Cursors.cs (ctor): Added ctor to fix signature
  23916. 2005-01-18 Peter Bartok <[email protected]>
  23917. * Button.cs: Implemented DoubleClick event
  23918. * ButtonBase.cs:
  23919. - Fixed keyboard handling to behave like MS, where the press of
  23920. Spacebar is equivalent to a mousedown, and the key release is
  23921. equivalent to mouseup. Now a spacebar push will give the same
  23922. visual feedback like a mouse click.
  23923. - Added missing attributes
  23924. - Added ImeModeChanged event
  23925. - Added support for generating DoubleClick event for derived classes
  23926. * CheckBox.cs:
  23927. - Implemented DoubleClick event
  23928. - Added missing attributes
  23929. * CommonDialog.cs: Added missing attribute
  23930. * ContextMenu.cs: Added missing attributes
  23931. * RadioButton.cs:
  23932. - AutoChecked buttons do not allow to be unselected when clicked
  23933. (otherwise we might end up with no selected buttons in a group)
  23934. - Added missing attributes
  23935. - Implemented DoubleClickEvent
  23936. * ThreadExceptionDialog.cs: Enabled TextBox code
  23937. 2005-01-18 Peter Bartok <[email protected]>
  23938. * Form.cs: Removed debug output
  23939. * Button.cs: Added support for DoubleClick method
  23940. 2005-01-18 Peter Bartok <[email protected]>
  23941. * Form.cs:
  23942. - Added method to parent window that allows triggering size
  23943. calculations when a menu is added/removed
  23944. - set_Menu: Cleaned up mess from early days of Form and Control,
  23945. now properly triggers a recalc when a menu is added/removed
  23946. - Added case to select form itself as focused form if no child
  23947. controls exist
  23948. - Added PerformLayout call when showing dialog, to ensure properly
  23949. placed controls
  23950. * Control.cs:
  23951. - Select(): Made internal so Form can access it
  23952. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  23953. status
  23954. * Application.cs (Run): Removed hack and calls PerformLayout instead
  23955. to trigger calculation when Form becomes visible
  23956. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  23957. * ComboBox.cs: fixes for ownerdraw
  23958. 2005-01-18 Peter Bartok <[email protected]>
  23959. * TextControl.cs:
  23960. - Sentinel is no longer static, each Document gets it's own, this
  23961. avoids locking or alternatively overwrite problems when more
  23962. than one text control is used simultaneously.
  23963. - Switched to use Hilight and HilightText brushes for text selection
  23964. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  23965. 2005-01-18 Peter Bartok <[email protected]>
  23966. * Control.cs:
  23967. - Hooked up the following events:
  23968. o ControlAdded
  23969. o ControlRemoved
  23970. o HandleDestroyed
  23971. o ImeModeChanged
  23972. o ParentChanged
  23973. o TabStopChanged
  23974. o Invalidated
  23975. o SystemColorsChanged
  23976. o ParentFontChanged
  23977. o Move
  23978. - Removed debug output
  23979. - Added a call to the current theme's ResetDefaults when a color change
  23980. is detected
  23981. * Form.cs: Now setting the proper ImeMode
  23982. * Theme.cs: Defined a method to force recreation of cached resources
  23983. and rereading of system defaults (ResetDefaults())
  23984. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  23985. 2005-01-17 Peter Bartok <[email protected]>
  23986. * Control.cs: Added missing attributes
  23987. 2005-01-17 Jackson Harper <[email protected]>
  23988. * TreeNode.cs: Implement editing. Add missing properties selected
  23989. and visible.
  23990. * TreeView.cs: Implement node editing. Also some fixes to use
  23991. Invalidate (invalid area) instead of Refresh when selecting.
  23992. 2005-01-17 Peter Bartok <[email protected]>
  23993. * Control.cs:
  23994. - Implemented InvokeGotFocus() method
  23995. - Implemented InvokeLostFocus() method
  23996. - Implemented InvokePaint() method
  23997. - Implemented InvokePaintBackground() method
  23998. - Implemented InvokeClick() method
  23999. - Implemented FindForm() method
  24000. - Implemented RectangleToClient() method
  24001. - Implemented ClientToRectangle() method
  24002. - Implemented ResetBackColor() method
  24003. - Implemented ResetCursor() method
  24004. - Implemented ResetFont() method
  24005. - Implemented ResteForeColor() method
  24006. - Implemented ResetImeMode() method
  24007. - Implemented ResetLeftToRight() method
  24008. - Implemented ResetText() method
  24009. - Implemented Scale() methods
  24010. - Implemented ScaleCore() method
  24011. - Implemented Update() method
  24012. - Removed unused variables
  24013. - Stubbed AccessibilityNotifyClients and
  24014. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  24015. with those yet)
  24016. - Now setting proper default for RightToLeft property
  24017. - Fixed bug in SetClientSizeCore that would cause windows to get
  24018. really big
  24019. - Now sending Click/DoubleClick events
  24020. - Now selecting controls when left mouse button is clicked on
  24021. selectable control
  24022. * AccessibleEvents.cs: Added
  24023. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  24024. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  24025. * XplatUIWin32.cs: Implemented UpdateWindow() method
  24026. * XplatUIX11.cs: Implemented UpdateWindow() method
  24027. * Form.cs: Removed stray semicolon causing CS0162 warning
  24028. * ThemeWin32Classic.cs: Fixed unused variable warnings
  24029. * ScrollableControl.cs: Now calls base method for ScaleCore
  24030. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  24031. style to avoid interference with internal click handler (which is
  24032. different than standard Control click handling)
  24033. * RadioButton.cs:
  24034. - Now unchecks all sibling radio buttons when control is
  24035. selected (Fixes #68756)
  24036. - Removed internal tabstop variable, using the one inherited from
  24037. Control
  24038. 2005-01-17 Jackson Harper <[email protected]>
  24039. * NavigateEventArgs.cs: Fix base type.
  24040. * LinkLabel.cs: Sig fix
  24041. 2005-01-17 Jackson Harper <[email protected]>
  24042. * TreeView.cs: Only invalidate the effected nodes bounds when
  24043. selecting nodes.
  24044. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  24045. * XplatUIWin32.cs: fixes Win32 marshaling
  24046. * XplatUIX11.cs: fixes method signature
  24047. 2005-01-17 Peter Bartok <[email protected]>
  24048. * XplatUIX11.cs: Clean up resources when we no longer need them
  24049. 2005-01-17 Peter Bartok <[email protected]>
  24050. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  24051. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  24052. and DestroyCursor() methods.
  24053. * Cursor.cs: Partially implemented, now supports standard cursors;
  24054. still contains some debug code
  24055. * Cursors.cs: Implemented class
  24056. * Control.cs:
  24057. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  24058. appropriate cursor
  24059. - Implemented Cursor property
  24060. - Replaced break; with return; more straightforwar and possibly
  24061. faster
  24062. - Now properly setting the result for WM_HELP
  24063. * X11Structs.cs: Added CursorFontShape enum
  24064. * XplatUIStructs.cs:
  24065. - Added StdCursor enum (to support DefineStdCursor() method)
  24066. - Added HitTest enum (to support sending WM_SETCURSOR message)
  24067. * XplatUIX11.cs:
  24068. - Now sends the WM_SETCURSOR message
  24069. - Implemented new cursor methods
  24070. * XplatUIOSX.cs: Stubbed new cursor methods
  24071. * XplatUIWin32.cs:
  24072. - Implemented new cursor methods
  24073. - Added GetSystemMetrics function and associated enumeration
  24074. 2005-01-15 Peter Bartok <[email protected]>
  24075. * Control.cs:
  24076. - WndProc(): Now handles EnableNotifyMessage
  24077. - SelectNextControl(): Fixed bug where if no child or sibling
  24078. controls exist we looped endlessly
  24079. 2005-01-14 Jackson Harper <[email protected]>
  24080. * TreeView.cs: Recalculate the tab pages when a new one is added
  24081. so that the proper bounding rects are created.
  24082. 2005-01-14 Jackson Harper <[email protected]>
  24083. * TreeView.cs: Draw a gray box instead of a grip in the lower
  24084. right hand corner when there are both horizontal and vertical
  24085. scroll bars.
  24086. 2005-01-14 Jackson Harper <[email protected]>
  24087. * Control.cs: When erasing backgrounds use FromHwnd instead of
  24088. FromHdc when there is a NULL wparam. This occurs on the X driver.
  24089. * XplatUIX11.cs: Set the wparam to NULL.
  24090. 2005-01-13 Jackson Harper <[email protected]>
  24091. * PictureBox.cs: Implement missing methods (except ToString, need
  24092. to test that on windows) and events. When visibility is changed we
  24093. need to redraw the image because the buffers are killed. When size
  24094. is changed refresh if the sizemode needs it.
  24095. 2005-01-13 Peter Bartok <[email protected]>
  24096. * Control.cs (SelectNextControl): Was using wrong method to select
  24097. a control
  24098. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  24099. * ComboBox.cs: fixes dropstyle
  24100. 2005-01-13 Peter Bartok <[email protected]>
  24101. * Form.cs:
  24102. - Implemented Select() override
  24103. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  24104. - Now sets keyboard focus on startup
  24105. * Control.cs (SelectNextControl): Now properly handles directed=true
  24106. * TextBoxBase.cs:
  24107. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  24108. - Added (really bad) focus rectangle (mostly for testing)
  24109. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  24110. to enforce redraw on focus changes
  24111. * ContainerControl.cs:
  24112. - Fixed detection of Shift-Tab key presses
  24113. - Fixed traversal with arrow keys
  24114. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  24115. gonna keep this or if it's complete yet
  24116. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  24117. * ComboBox.cs: missing properties, fixes
  24118. 2005-01-13 Peter Bartok <[email protected]>
  24119. * Panel.cs (ctor): Setting Selectable window style to off
  24120. * Splitter.cs (ctor): Setting Selectable window style to off
  24121. * GroupBox.cs (ctor): Setting Selectable window style to off
  24122. * Label.cs (ctor): Setting Selectable window style to off
  24123. 2005-01-12 Miguel de Icaza <[email protected]>
  24124. * UpDownBase.cs (InitTimer): If the timer has been already
  24125. created, enable it.
  24126. Use a TextBox instead of a Label.
  24127. 2005-01-12 Jackson Harper <[email protected]>
  24128. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  24129. draw the connecting node lines (when ShowLines is true).
  24130. * TreeNode.cs: The nodes index can now be updated. This is used
  24131. when a node collection is sorted.
  24132. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  24133. insert or an existing unsorted node collection can be sorted.
  24134. 2005-01-12 Peter Bartok <[email protected]>
  24135. * ContainerControl.cs: Implemented ProcessDialogKeys()
  24136. 2005-01-12 Peter Bartok <[email protected]>
  24137. * Control.cs:
  24138. - Implemented SelectNextControl() method
  24139. - Several focus related bug fixes
  24140. - Fixed Docking calculations to match MS documentation and
  24141. behaviour
  24142. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  24143. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  24144. bug fixes
  24145. 2005-01-12 Peter Bartok <[email protected]>
  24146. * Control.cs:
  24147. - Fixed broken Contains() method
  24148. - Implemented GetNextControl() method. Finally. This is the pre-
  24149. requisite for focus handling.
  24150. 2005-01-12 Peter Bartok <[email protected]>
  24151. * OSXStrucs.cs: Added
  24152. 2005-01-12 Peter Bartok <[email protected]>
  24153. * XplatUIWin32.cs:
  24154. - Removed PeekMessageFlags
  24155. - Implemented SetWindowStyle() method
  24156. * XplatUIStructs.cs: Added PeekMessageFlags
  24157. * X11Structs: Added missing border_width field to XWindowChanges struct
  24158. * XplatUIX11.cs:
  24159. - PeekMessage: Now throws exception if flags which are not yet
  24160. supported are passed
  24161. - Implemented SetWindowStyle() method
  24162. - Fixed SetZOrder to handle AfterHwnd properly
  24163. * XplatUI.cs: Added SetWindowStyle() method
  24164. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  24165. * Control.cs:
  24166. - Implemented UpdateStyles() method
  24167. - Implemented UpdateZOrder() method
  24168. * XplatUIOSX.cs: Added SetWindowStyle() stub
  24169. 2005-01-12 Geoff Norton <[email protected]>
  24170. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  24171. button mouse).
  24172. 2005-01-11 Jackson Harper <[email protected]>
  24173. * TreeView.cs: Still need to draw lines to siblings even if out of
  24174. the current node is out of the clip.
  24175. 2005-01-11 Jackson Harper <[email protected]>
  24176. * TreeView.cs: When setting the hbar/vbar/grip position use
  24177. SetBounds so that perform layout is only called once. Also suspend
  24178. and resume layout so layout is only done once for all controls.
  24179. - Removed some debug fluff
  24180. * SizeGrip.cs: Call base implmentation in overriding methods.
  24181. - When visibility is changed the drawing buffers are killed so we
  24182. need to redraw.
  24183. 2005-01-11 Jackson Harper <[email protected]>
  24184. * TreeView.cs: Calculate the open node count while drawing. This
  24185. saves us an entire tree traversal for every paint operation. Use
  24186. a member var for the open node count so less vars are passed around.
  24187. 2005-01-11 John BouAntoun <[email protected]>
  24188. * MonthCalendar.cs:
  24189. - fixed selection to use mousemove, not mouse polling on timer
  24190. * ThemeWin32Classic.cs
  24191. - removed redundant unused variable "no_more_content"
  24192. 2005-01-11 Peter Bartok <[email protected]>
  24193. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  24194. are pending, so it now calls PeekMessage instead of GetMessage;
  24195. implemented a incomplete version of PeekMessage
  24196. 2005-01-11 Peter Bartok <[email protected]>
  24197. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  24198. I18n issues
  24199. * TextBoxBase.cs: Added sending of TextChanged event
  24200. 2005-01-10 Jackson Harper <[email protected]>
  24201. * TreeView.cs: Try not to draw outside the clipping rectangle on
  24202. each node element.
  24203. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  24204. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  24205. 2005-01-10 Jackson Harper <[email protected]>
  24206. * TreeView.cs:
  24207. - Implement fast scrolling. Now only the newly
  24208. exposed nodes are drawn and the old image is moved using the
  24209. XplatUI::ScrollWindow method.
  24210. - Factor in height of nodes when calculating whether or not the
  24211. node is in the clipping rect.
  24212. 2005-01-10 Jackson Harper <[email protected]>
  24213. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  24214. 2005-01-10 Peter Bartok <[email protected]>
  24215. * Application.cs: Added temporary hack to resolve all our resize
  24216. required issues on startup. This will get fixed properly at
  24217. some point in the future
  24218. 2005-01-10 Jackson Harper <[email protected]>
  24219. * SizeGrip.cs: New internal class that is used as a sizing
  24220. grip control...hence the name.
  24221. 2005-01-10 Peter Bartok <[email protected]>
  24222. * Control.cs: Implemented proper TabIndex handling, now assigning
  24223. a tabindex when a control is added to a container
  24224. * GroupBox.cs (ctor): Now sets the Container style bit, required
  24225. for Control.GetNextControl()
  24226. 2005-01-09 Jackson Harper <[email protected]>
  24227. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  24228. 2005-01-09 Peter Bartok <[email protected]>
  24229. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  24230. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  24231. an overload for ScrollWindow to allow only scrolling a rectangle
  24232. 2005-01-09 Peter Bartok <[email protected]>
  24233. * Form.cs:
  24234. - Implemented SetDesktopBounds method
  24235. - Implemented SetDesktopLocation method
  24236. 2005-01-08 Jackson Harper <[email protected]>
  24237. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  24238. the node count has changed, this removes to VScroll::Refresh calls
  24239. when drawing.
  24240. 2005-01-08 Geoff Norton <[email protected]>
  24241. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  24242. 2005-01-07 Jackson Harper <[email protected]>
  24243. * TreeNode.cs: Just update the single node when it is
  24244. checked. Don't refresh after toggling, the Expand/Collapse already
  24245. handles this.
  24246. * TreeView.cs: Respect clipping a little more when drawing. Try
  24247. not to redraw things that don't need to be redrawn. Just hide the
  24248. scrollbars when they are no longer needed instead of removing
  24249. them, so they don't have to be created again and again.
  24250. 2005-01-07 Geoff Norton <[email protected]>
  24251. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  24252. coordinates to window space to place the caret properly, FIXED.
  24253. Implement GetWindowState & SetWindowState
  24254. 2005-01-06 Peter Bartok <[email protected]>
  24255. * Form.cs:
  24256. - Implemented ClientSize property
  24257. - Implemented DesktopBounds property
  24258. - Implemented DesktopLocation property
  24259. - Implemented IsRestrictedWindow property
  24260. - Implemented Size property
  24261. - Implemented TopLevel property
  24262. - Implemented FormWindowState property
  24263. * Control.cs:
  24264. - Implemented GetTopLevel() method
  24265. - Implemented SetTopLevel() method
  24266. * X11Structs.cs (Atom):
  24267. - Added AnyPropertyType definition
  24268. - Added MapState definiton and updated XWindowAttribute struct
  24269. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  24270. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  24271. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  24272. * XplatUIWin32.cs:
  24273. - Implemented GetWindowState() and SetWindowState() methods
  24274. - Fixed Win32GetWindowLong return type
  24275. * XplatUIX11.cs:
  24276. - Introduced central function for sending NET_WM messages
  24277. - Implemented GetWindowState() and SetWindowState() methods
  24278. * TextBoxBase.cs (set_Lines):
  24279. - Now uses Foreground color for text added via Text property (Duh!)
  24280. - Added code to remember programmatically requested size (fixes
  24281. behaviour when Multiline is set after Size)
  24282. - Added AutoSize logic
  24283. 2005-01-06 Jackson Harper <[email protected]>
  24284. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  24285. 2005-01-06 Jackson Harper <[email protected]>
  24286. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  24287. set to less then 0.
  24288. 2005-01-06 Jackson Harper <[email protected]>
  24289. * ScrollableControl.cs: Lazy init the scrollbars.
  24290. 2005-01-06 Jackson Harper <[email protected]>
  24291. * Theme.cs: Speed up getting pens and solid brushes, by using
  24292. their ARGB as a hash instead of tostring and not calling Contains.
  24293. 2005-01-06 Peter Bartok <[email protected]>
  24294. * Form.cs:
  24295. - Implemented OnActivated and OnDeactivate event trigger
  24296. - Implemented Activate() method
  24297. - Fixed ShowDialog() to activate the form that was active before
  24298. the dialog was shown
  24299. * XplatUIX11.cs:
  24300. - Added global active_window var that tracks the currently active
  24301. X11 window
  24302. - Now always grabs Property changes from the root window to always
  24303. catch changes on the active window property
  24304. - Added code to PropertyNotify handler to send Active/Inactive
  24305. messages when state changes. This puts X11 and Win32 en par on
  24306. WM_ACTIVATE notifications (except for double notifications when
  24307. the user clicks away from our modal window to another one of our
  24308. windows)
  24309. 2005-01-05 Jackson Harper <[email protected]>
  24310. * ImageList.cs: Implment ctor
  24311. 2005-01-05 Geoff Norton <[email protected]>
  24312. * XplatUIOSX.cs: Implement Activate/SetTopmost
  24313. 2005-01-05 Geoff Norton <[email protected]>
  24314. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  24315. 2005-01-05 Geoff Norton <[email protected]>
  24316. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  24317. 2005-01-05 Peter Bartok <[email protected]>
  24318. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  24319. XplatUIOSX.cs: Added GetActive method to return the currently
  24320. active window for the application (or null, if none is active)
  24321. * Form.cs:
  24322. - Implemented ActiveForm
  24323. - Commented out owner assignment for modal dialogs (causes problems
  24324. on Win32, since the owner will be disabled)
  24325. - Reworked some Active/Focus handling (still incomplete)
  24326. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  24327. (causes problems on Win32, since the owner will be disabled)
  24328. * IWin32Window: Added ComVisible attribute
  24329. 2005-01-05 Peter Bartok <[email protected]>
  24330. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  24331. required XplatUI functions.
  24332. 2005-01-05 Peter Bartok <[email protected]>
  24333. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  24334. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  24335. to implement focus and activation handling; still incomplete and
  24336. with debug output
  24337. 2005-01-04 Peter Bartok <[email protected]>
  24338. * TextBoxBase.cs: Changed access level for Document property to
  24339. match switch to internal for TextControl
  24340. 2005-01-04 Peter Bartok <[email protected]>
  24341. * AccessibleObject: Added ComVisible attribute
  24342. 2005-01-04 Jackson Harper <[email protected]>
  24343. * X11Keyboard.cs: Remove unneeded var.
  24344. 2005-01-04 Jackson Harper <[email protected]>
  24345. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  24346. but PAINT.
  24347. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  24348. ClientMessage. This makes apps exit cleanly (more often).
  24349. 2005-01-04 Jackson Harper <[email protected]>
  24350. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  24351. handling focus, return correct colors and fonts,
  24352. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  24353. handle selection, horizontal scrolling, and mouse interaction.
  24354. 2005-01-04 Peter Bartok <[email protected]>
  24355. * ICommandExecutor.cs: Added
  24356. * IDataGridColumnStyleEditingNotificationService.cs: Added
  24357. * IFeatureSupport.cs: Added
  24358. * IFileReaderService.cs: Added
  24359. * IDataObject.cs: Added ComVisible attribute
  24360. * AmbientProperties.cs: Added
  24361. * BaseCollection.cs: Added missing attributes
  24362. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  24363. * BaseCollection.cs: Added missing attributes
  24364. * Binding.cs: Added TypeConverter attribute
  24365. * BindingContext.cs: Added DefaultEvent attribute
  24366. * BindingsCollection.cs: Added DefaultEvent attribute
  24367. * Button.cs: Added DefaultValue attribute
  24368. * DragEventArgs.cs: Added ComVisible attribute
  24369. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  24370. * KeyEventArgs.cs: Added ComVisible attribute
  24371. * KeyPressEventArgs.cs: Added ComVisible attribute
  24372. * MouseEventArgs.cs: Added ComVisible attribute
  24373. * NavigateEventArgs.cs: Added
  24374. * NavigateEventHandler.cs: Added
  24375. * FeatureSupport.cs: Added
  24376. * OSFeature.cs: Added
  24377. * Theme.cs: Added abstract Version property to support OSFeature
  24378. * ThemeWin32Classic.cs: Added Version property to
  24379. support OSFeature.Themes
  24380. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  24381. the proper styles to avoid background drawing are set, also doesn't
  24382. match MS signature
  24383. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  24384. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  24385. * ScrollEventArgs.cs: Added ComVisible attribute
  24386. * SplitterEventArgs.cs: Added ComVisible attribute
  24387. * AccessibleSelection.cs: Added Flags attribute
  24388. * Appearance.cs: Added ComVisible attribute
  24389. * Border3DSide.cs: Added ComVisible attribute
  24390. * Border3DStyle.cs: Added ComVisible attribute
  24391. * BorderStyle.cs: Added ComVisible attribute
  24392. * DragAction.cs: Added ComVisible attribute
  24393. * ErrorBlinkStyle.cs: Added
  24394. * ScrollEventType.cs: Added ComVisible attribute
  24395. * AnchorStyles.cs: Added Editor attribute
  24396. * DockStyle.cs: Added Editor attribute
  24397. * HorizontalAlignment.cs: Added ComVisible attribute
  24398. * HelpEventArgs.cs: Added ComVisible attribute
  24399. * PaintEventArgs.cs: Added IDisposable
  24400. 2005-01-04 Peter Bartok <[email protected]>
  24401. * TextControl.cs: Switched Line, LineTag and Document classes to
  24402. internal
  24403. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  24404. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  24405. Simple mode, fixes, IntegralHeight, etc.
  24406. 2005-01-04 Peter Bartok <[email protected]>
  24407. * TextBoxBase.cs: Using proper font variable now
  24408. 2005-01-04 Peter Bartok <[email protected]>
  24409. * Form.cs (ShowDialog): Set parent to owner, if provided
  24410. * GroupBox.cs: Removed unused vars
  24411. * TextControl.cs:
  24412. - Added GetHashCode() for Document and LineTag classes
  24413. - Removed unused variables
  24414. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  24415. to allow translation between continuous char position and line/pos
  24416. * CheckBox.cs: Removed vars that are provided by base class
  24417. * RadioButton.cs: Removed vars that are provided by base class, added
  24418. new keyword where required
  24419. * LinkLabel.cs: Added new keyword where required
  24420. * Control.cs (WndProc): Removed unused variable
  24421. * TextBoxBase.cs:
  24422. - Finished SelectionLength property
  24423. - Implemented SelectionStart property
  24424. - Implemented Text property
  24425. - Removed unused vars
  24426. * MessageBox.cs: Added new keyword where required
  24427. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  24428. WndProc signature
  24429. * MenuAPI.cs: Added new keyword where required
  24430. * ButtonBase.cs: Removed vars that are provided by base class, added
  24431. new keyword where required
  24432. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  24433. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  24434. into this)
  24435. * Application.cs (Run): Now triggers the ThreadExit event
  24436. * CommonDialog.cs: Added new keyword where required; now properly sets
  24437. parent (owner) for dialog
  24438. * XplatUIX11.cs: Commented out unused vars
  24439. * StatusBar.cs: Fixed signature for Text property
  24440. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  24441. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  24442. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  24443. TrackBar.cs, MonthCalendar.cs: remove unused vars
  24444. 2005-01-03 Jackson Harper <[email protected]>
  24445. * ThemeWin32Classic.cs:
  24446. * X11Keyboard.cs: Remove unused vars.
  24447. 2005-01-03 Peter Bartok <[email protected]>
  24448. * TextBox.cs:
  24449. - set_Text: Tied into TextControl
  24450. - set_TextAlignment: Tied into TextControl
  24451. * TextControl.cs:
  24452. - Added alignment properties and implemented alignment handling
  24453. and drawing (still has a bug, not generating proper expose events)
  24454. - Added new Line() constructor to allow passing the line alignment
  24455. - Fixed selection setting, properly handling end<start now
  24456. - Added aligment considerations to RecalculateDocument()
  24457. * TextBoxBase.cs:
  24458. - Now properly enforces control height for single line controls
  24459. - Added support for CharacterCasing
  24460. - Added IsInputKey override
  24461. - Fixed Keys.Enter logic
  24462. - Added SetBoundsCore override
  24463. - Fixed mouse selection handling
  24464. 2005-01-03 Jackson Harper <[email protected]>
  24465. * TreeView.cs:
  24466. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  24467. - Checkboxes are always aligned to the bottom of the node,
  24468. regardless of item height.
  24469. - Use the node bounds to draw the text so we can center it when
  24470. the item height is greater then the font height.
  24471. - Node::Bounds are only the text part of the node.
  24472. * TreeNode.cs: New method to combine collapsing and unchecking all
  24473. nodes recursively.
  24474. 2005-01-02 Jackson Harper <[email protected]>
  24475. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  24476. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  24477. tree when a check is changed. TODO: Only refresh the checked node.
  24478. 2004-12-30 Jackson Harper <[email protected]>
  24479. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  24480. * TreeNode.cs: When collapsing make sure to never collapse the
  24481. root node.
  24482. 2004-12-29 Jackson Harper <[email protected]>
  24483. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  24484. 2004-12-28 Zoltan Varga <[email protected]>
  24485. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  24486. 2004-12-28 Peter Bartok <[email protected]>
  24487. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  24488. not yet assigned
  24489. 2004-12-28 Peter Bartok <[email protected]>
  24490. * Control.cs (WndProc): Added WM_HELP handler, now generates
  24491. HelpRequested event
  24492. * Form.cs: Added HelpButton property and required support code
  24493. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  24494. 2004-12-28 Peter Bartok <[email protected]>
  24495. * CommonDialog.cs:
  24496. - Made DialogForm.owner variable internal
  24497. - Added check to ensure owner form is set before setting
  24498. owner properties in CreateParams
  24499. 2004-12-28 Geoff Norton <[email protected]>
  24500. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  24501. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  24502. GetCursorPos. Fix major visibility issues. Rework the windowing
  24503. system to support borderless/titleless windows (implements menus).
  24504. Fix GetWindowPos. Implement initial background color support for
  24505. views.
  24506. 2004-12-28 Peter Bartok <[email protected]>
  24507. * Form.cs (get_CreateParams): Make sure we have an owner before using
  24508. the owner variable. Implement proper default if no owner exists
  24509. 2004-12-28 Peter Bartok <[email protected]>
  24510. * In preparation for making Managed.Windows.Forms the default build target
  24511. for System.Windows.Forms, the following stubbed files were added.
  24512. Dialogs are currently being implemented by contributors and are only
  24513. short-term place holders.
  24514. * ColorDialog.cs: Initial check-in (minmal stub)
  24515. * DataGrid.cs: Initial check-in (minimal stub)
  24516. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  24517. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  24518. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  24519. * FontDialog.cs: Initial check-in (minimal stub)
  24520. * FileDialog.cs: Initial check-in (minimal stub)
  24521. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  24522. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  24523. * OpenFileDialog: Initial check-in (minimal stub)
  24524. * IComponentEditorPageSite.cs: Initial check-in
  24525. * Splitter.cs: Initial check-in (for Jackson)
  24526. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  24527. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  24528. * TextBox.cs: Initial check-in; still needs some wiring to
  24529. TextControl backend
  24530. * Form.cs: Implemented ControlBox property
  24531. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  24532. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  24533. * TextControl.cs: Added selection functionality; added todo header
  24534. * TextBoxBase.cs:
  24535. - Implemented Lines property
  24536. - Implemented TextHeight property
  24537. - Implemented SelectedText property
  24538. - Implemented SelectionLength property
  24539. - Implemented SelectAll method
  24540. - Implemented ToString method
  24541. - Removed and cleaned up some debug code
  24542. - Implemented (still buggy) mouse text selection
  24543. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  24544. * ComboBox.cs: Complete DropDownList implementation, fixes.
  24545. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  24546. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  24547. * ComboBoxStyle.cs: ComboBoxStyle enum
  24548. * ComboBox.cs: Initial work on ComboBox control
  24549. 2004-12-21 Peter Bartok <[email protected]>
  24550. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  24551. forward so that anything that creates a window gets the default,
  24552. also no longer uses Visible property in CreateParams to avoid
  24553. walking up the parent chain and possibly get the wrong visible
  24554. status. Fixed IsVisible to no longer walk up to the parent.
  24555. 2004-12-21 Peter Bartok <[email protected]>
  24556. * Form.cs (ShowDialog): Unset modality for the proper window
  24557. 2004-12-20 Peter Bartok <[email protected]>
  24558. * CommonDialog.cs: Initial check-in
  24559. 2004-12-20 Peter Bartok <[email protected]>
  24560. * Control.cs (Visible): Now uses the parent window instead of the
  24561. client area window for the property
  24562. * Form.cs
  24563. - ShowDialog(): Now uses the proper window for modality
  24564. - The default visibility state for the form parent is now false. This
  24565. will prevent the user from seeing all the changes to the form and
  24566. its controls before the application hits Application.Run()
  24567. - Removed some stale commented out code
  24568. * NativeWindow.cs:
  24569. - Added FindWindow() method to have a method to check for existence
  24570. of a window handle
  24571. - Added ability to override default exception handling (for example
  24572. when debugging with VS.Net; to do this the ExternalExceptionHandler
  24573. define must be set
  24574. - Removed some useless debug output
  24575. * XplatUIX11.cs:
  24576. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  24577. not working as expected
  24578. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  24579. property to allow switching back to the modal window if focus is
  24580. given to another one of our windows (Application Modal)
  24581. - Now only sets override_redirect if we create a window
  24582. without WS_CAPTION
  24583. - Moved EventMask selection before mapping of newly created window
  24584. so we can catch the map event as well
  24585. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  24586. - Added various Atom related DllImports
  24587. - Implemented Exit() method
  24588. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  24589. in the CreateParams
  24590. * MessageBox.cs: Now properly deals with the FormParent window by
  24591. providing an override the FormParent CreateParams property to
  24592. set as POPUP instead of OVERLAPPED window.
  24593. 2004-12-19 Geoff Norton <[email protected]>
  24594. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  24595. Minor code cleanup.
  24596. 2004-12-19 Geoff Norton <[email protected]>
  24597. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  24598. 2004-12-18 Peter Bartok <[email protected]>
  24599. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  24600. implementing SetModal() method
  24601. 2004-12-18 Peter Bartok <[email protected]>
  24602. * X11Structs.cs (XGCValues): Fixed type of function element
  24603. * XplatUI.cs: Added ScrollWindow() method
  24604. * XplatUIDriver.cs: Added ScrollWindow() abstract
  24605. * XplatUIWin32.cs: Implemented ScrollWindow() method
  24606. * XplatUIX11.cs: Implemented ScrollWindow() method
  24607. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  24608. 2004-12-17 Geoff Norton <[email protected]>
  24609. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  24610. Some more keyboard support (INCOMPLETE)
  24611. 2004-12-17 Peter Bartok <[email protected]>
  24612. * TextControl.cs:
  24613. - Added color attribute to line tags.
  24614. - Added color argument to all functions dealing with tags
  24615. - Added color argument support to various functions
  24616. - Fixed miss-calculation of baseline/shift in certain circumstances
  24617. * TextBoxBase.cs: Added new color option to test code
  24618. 2004-12-17 Jackson Harper <[email protected]>
  24619. * TreeNode.cs:
  24620. * MonthCalendar.cs: Signature fixes
  24621. 2004-12-17 Geoff Norton <[email protected]>
  24622. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  24623. keyboard event moved it. Create a new graphics context for each paint resolves this
  24624. 2004-12-17 Geoff Norton <[email protected]>
  24625. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  24626. Make caret exist and go blink blink. Initial keyboard support.
  24627. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  24628. works.
  24629. 2004-12-17 Jackson Harper <[email protected]>
  24630. * XplatUIStructs.cs: Updated set of virtual keycodes.
  24631. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  24632. 2004-12-17 Jackson Harper <[email protected]>
  24633. * XplatUIX11.cs: Prune old keyboard code.
  24634. 2004-12-17 Jackson Harper <[email protected]>
  24635. * XplatUIX11.cs: When generating mouse wparams get the modifier
  24636. keys from the ModifierKeys property.
  24637. 2004-12-17 Jackson Harper <[email protected]>
  24638. * X11Keyboard.cs: Send up/down input when generating
  24639. messages. Remove some unused vars.
  24640. 2004-12-17 Jackson Harper <[email protected]>
  24641. * TabControl.cs:
  24642. * TreeView.cs: get rid of warnings.
  24643. 2004-12-17 Jackson Harper <[email protected]>
  24644. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  24645. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  24646. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  24647. CheckedListBox.cs: Implementation
  24648. 2004-12-17 Peter Bartok <[email protected]>
  24649. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  24650. 2004-12-16 Peter Bartok <[email protected]>
  24651. * TextControl.cs:
  24652. - InsertCharAtCaret(): Fixed start pos fixup
  24653. - CaretLine_get: No longer derives the line from the tag, the tag
  24654. could be stale if lines in the document have been added or deleted
  24655. - RebalanceAfterDelete(): Fixed bug in balancing code
  24656. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  24657. - Line.Streamline(): Now can also elminate leading empty tags
  24658. - DumpTree(): Added a few more tests and prevented exception on
  24659. uninitialized data
  24660. - Added Debug section for Combining lines
  24661. - Delete(): Now copies all remaining properties of a line
  24662. * TextBoxBase.cs:
  24663. - Left mousebutton now sets the caret (and middle button still acts
  24664. as formatting tester, which must go away soon)
  24665. - Added Debug section for Deleting/Combining lines
  24666. - Fixed calculations for UpdateView after Combining lines
  24667. 2004-12-16 Peter Bartok <[email protected]>
  24668. * TextControl.cs: Now properly aligns text on a baseline, using the
  24669. new XplatUI.GetFontMetrics() method. Simplified several calculations
  24670. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  24671. defined
  24672. 2004-12-16 Peter Bartok <[email protected]>
  24673. * XplatUI.cs: Added GetFontMetrics() method
  24674. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  24675. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  24676. into libgdiplus, our private GetFontMetrics function
  24677. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  24678. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  24679. 2004-12-16 Jackson Harper <[email protected]>
  24680. * XplatUIStruct.cs: Add enum for dead keys
  24681. * X11Keyboard.cs: Map and unmap dead keys.
  24682. 2004-12-16 Jackson Harper <[email protected]>
  24683. * X11Keyboard.cs: Detect and use the num lock mask.
  24684. 2004-12-16 Peter Bartok <[email protected]>
  24685. * Control.cs (CreateGraphics): Added check to make sure the
  24686. handle of the window exists before calling Graphics.FromHwnd()
  24687. 2004-12-16 Peter Bartok <[email protected]>
  24688. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  24689. contains a lot of code that's not supposed to be there for the
  24690. real thing, but required for developing/testing the textbox
  24691. backend.
  24692. 2004-12-16 Peter Bartok <[email protected]>
  24693. * TextControl.cs:
  24694. - Fixed Streamline method
  24695. - Added FindTag method to Line
  24696. - Added DumpTree method for debugging
  24697. - Added DecrementLines() method for deleting lines
  24698. - Fixed UpdateView to update the cursor to end-of-line on single-line
  24699. updates
  24700. - Added PositionCaret() method
  24701. - Fixed MoveCaret(LineDown) to move into the last line, too
  24702. - Added InsertChar overload
  24703. - Fixed InsertChar tag offset calculations
  24704. - Added DeleteChar() method
  24705. - Added Combine() method for folding lines
  24706. - Fixed Delete() method, no longer allocates wasted Line object and
  24707. now copies all properties when swapping nodes
  24708. - Delete() method now updates document line counter
  24709. 2004-12-15 Jackson Harper <[email protected]>
  24710. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  24711. * X11Keyboard.cs: Expose the currently selected modifier keys
  24712. through a property.
  24713. 2004-12-15 Peter Bartok <[email protected]>
  24714. * TextControl.cs: Initial check-in. Still incomplete
  24715. 2004-12-15 Jackson Harper <[email protected]>
  24716. * TreeNode.cs:
  24717. * TreeView.cs: Fix build on csc (second time today ;-))
  24718. 2004-12-15 Jackson Harper <[email protected]>
  24719. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  24720. is calculated and use this for click testing.
  24721. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  24722. 2004-12-15 Jackson Harper <[email protected]>
  24723. * TreeView.cs: Pass the nodes image index to the image list when
  24724. drawing that image.
  24725. 2004-12-15 Jackson Harper <[email protected]>
  24726. * X11Keyboard.cs: Set messages hwnd.
  24727. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  24728. post_message calls.
  24729. 2004-12-15 Jackson Harper <[email protected]>
  24730. * X11Keyboard.cs: Fix to compile with csc.
  24731. 2004-12-15 Jackson Harper <[email protected]>
  24732. * X11Structs.cs: Add key mask values
  24733. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  24734. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  24735. down/up foo into WM_CHAR foo
  24736. * KeyboardLayouts.cs: Common keyboard layouts
  24737. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  24738. post messages into the main queue.
  24739. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  24740. * Button.cs: implement ProcessMnemonic
  24741. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  24742. brushes everytime
  24743. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  24744. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  24745. 2004-12-12 John BouAntoun <[email protected]>
  24746. * MonthCalendar.cs: Implemented click-hold for next/previous month
  24747. and date selection
  24748. 2004-12-11 Peter Bartok <[email protected]>
  24749. * X11Structs.cs:
  24750. - Added XKeyboardState (moved from XplatUIX11.cs)
  24751. - Added XCreateGC related enums and structures
  24752. - Added GXFunction for XSetFunction
  24753. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  24754. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  24755. CaretVisible() calls
  24756. * ToolTip.cs: Added code to prevent stealing focus from app windows
  24757. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  24758. DestroyCaret, SetCaretPos and CaretVisible)
  24759. * XplatUIX11.cs:
  24760. - Added implementation for caret functions
  24761. - Moved hover variables into a struct, to make it a bit easier
  24762. on the eyes and to debug
  24763. - Removed XKeyboardState (moved to XplatUIX11.cs)
  24764. - Moved Keyboard properties into the properties region
  24765. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  24766. call to get a graphics context for our control
  24767. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  24768. * TreeView.cs: Fixed bug. No matter what color was set it would always
  24769. return SystemColors.Window
  24770. * XplatUIWin32.cs: Implemented caret overrides
  24771. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  24772. * ListBox.cs: fire events, implement missing methods and properties,
  24773. sorting.
  24774. 2004-12-10 John BouAntoun <[email protected]>
  24775. * MonthCalendar.cs: invalidation bug fixing
  24776. * ThemeWin32Classic.cs: paint fixing
  24777. 2004-12-09 Geoff Norton <[email protected]>
  24778. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  24779. prepare the CGContextRef there now.
  24780. 2004-12-09 John BouAntoun <[email protected]>
  24781. * MonthCalendar.cs:
  24782. - optimisationL only invalidate areas that have changed
  24783. * ThemeWin32Classic.cs:
  24784. - only paint parts that intersect with clip_area
  24785. 2004-12-09 Peter Bartok <[email protected]>
  24786. * Application.cs: Undid changes from r37004 which cause problems
  24787. on X11
  24788. 2004-12-09 Ravindra <[email protected]>
  24789. * ToolBar.cs: Added support for displaying ContextMenu
  24790. attached to a button on ToolBar.
  24791. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  24792. property.
  24793. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  24794. * Label.cs: autosize works in text change and removes unnecessary
  24795. invalidate
  24796. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  24797. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  24798. remove warnings
  24799. 2004-12-08 Geoff Norton <[email protected]>
  24800. * XplatUIOSX.cs: Added mouse move/click/grab support
  24801. Remove some debugging WriteLines not needed anymore.
  24802. Add window resizing/positioning.
  24803. Fix visibility on reparenting.
  24804. 2004-12-08 Peter Bartok <[email protected]>
  24805. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  24806. 2004-12-07 Geoff Norton <[email protected]>
  24807. * XplatUIOSX.cs: Initial checkin
  24808. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  24809. 2004-12-03 Ravindra <[email protected]>
  24810. * ListView.cs: Added some keybindings and fixed scrolling.
  24811. ScrollBars listen to ValueChanged event instead of Scroll
  24812. Event. This would let us take care of all changes being
  24813. done in the scrollbars' values programmatically or manually.
  24814. * ListView.cs (CanMultiselect): Added a check for shift key.
  24815. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  24816. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  24817. of ListViewSubItemCollection as well.
  24818. 2004-12-06 Peter Bartok <[email protected]>
  24819. * Control.cs (Parent): Added check and exception to prevent
  24820. circular parenting
  24821. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  24822. * ListBox.cs: implemented clipping, selection single and multiple,
  24823. bug fixing
  24824. 2004-12-03 Ravindra <[email protected]>
  24825. * ListView.cs (ListView_KeyDown):
  24826. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  24827. when CTRL key is pressed.
  24828. * ListViewItem.cs (Selected): Fixed setting the property.
  24829. 2004-12-03 Marek Safar <[email protected]>
  24830. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  24831. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  24832. MinimizeBox, ShowInTaskbar, TopMost properties.
  24833. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  24834. will be implemented).
  24835. 2004-12-03 Marek Safar <[email protected]>
  24836. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  24837. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  24838. tests.
  24839. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  24840. * TreeView.cs: BackColor is Colors.Window.
  24841. 2004-12-01 Jackson Harper <[email protected]>
  24842. * TreeView.cs: When resizing the tree if the user is making it
  24843. smaller we don't get expose events, so we need to handle adding
  24844. the horizontal scrollbar in the size changed handler as well as
  24845. the expose handler.
  24846. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  24847. * DrawItemState.cs: fixes wrong enum values
  24848. 2004-12-01 Jackson Harper <[email protected]>
  24849. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  24850. 2004-12-01 Jackson Harper <[email protected]>
  24851. * NodeLabelEditEventArgs.cs:
  24852. * NodeLabelEditEventHandler.cs:
  24853. * OpenTreeNodeEnumerator.cs:
  24854. * TreeNode.cs:
  24855. * TreeNodeCollection.cs:
  24856. * TreeView.cs:
  24857. * TreeViewAction.cs:
  24858. * TreeViewCancelEventArgs.cs:
  24859. * TreeViewCancelEventHandler.cs:
  24860. * TreeViewEventArgs.cs:
  24861. * TreeViewEventHandler.cs: Initial implementation.
  24862. 2004-12-01 Ravindra <[email protected]>
  24863. * ListView.cs (CalculateListView): Fixed scrolling related
  24864. calculations. Also, removed some debug statements from other
  24865. places.
  24866. * ListViewItem.cs: Changed access to 'selected' instance variable
  24867. from private to internal.
  24868. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  24869. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  24870. * ThemeWin32Classic.cs: remove cache of brush and pens for
  24871. specific controls and use the global system, fixes scrollbutton
  24872. bugs (for small sizes, disabled, etc)
  24873. * ScrollBar.cs: does not show the thumb for very small controls
  24874. (as MS) and allow smaller buttons that the regular size
  24875. 2004-12-01 Miguel de Icaza <[email protected]>
  24876. * UpDownBase.cs: Add abstract methods for the interface.
  24877. Add new virtual methods (need to be hooked up to TextEntry when it
  24878. exists).
  24879. Add override methods for most features.
  24880. Computes the size, forces the height of the text entry.
  24881. * NumericUpDown.cs: Put here the current testing code.
  24882. * Set eol-style property on all files that do not have mixed line
  24883. endings, to minimize the future problems. There are still a few
  24884. files with mixed endings, and someone should choose whether they
  24885. want to move it or not.
  24886. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  24887. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  24888. System.Colors
  24889. 2004-11-30 Ravindra <[email protected]>
  24890. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  24891. drawing and replaced use of SystemColors by theme colors.
  24892. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  24893. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  24894. same ListViewItem is being added more than once.
  24895. 2004-11-30 John BouAntoun <[email protected]>
  24896. * MonthCalendar.cs:
  24897. - ControlStyles love to make the control not flicker
  24898. 2004-11-30 Peter Bartok <[email protected]>
  24899. * CharacterCasing.cs: Added
  24900. 2004-11-29 Peter Bartok <[email protected]>
  24901. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  24902. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  24903. I am removing these files as they conflict with already completed
  24904. work. While it is fantastic to get contributions to MWF, I
  24905. respectfully ask that everyone please coordinate their contributions
  24906. through mono-winforms-list or #mono-winforms at this time. We're
  24907. explicitly avoiding stubbing and don't want controls that don't have
  24908. their basic functionality implemented in svn. Please also see
  24909. http://www.mono-project.com/contributing/winforms.html
  24910. 2004-11-29 Marek Safar <[email protected]>
  24911. * Application.cs (ModalRun): Don't hang after exit.
  24912. * Theme.cs: New TreeViewDefaultSize property.
  24913. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  24914. with less hardcoded SystemColors constant.
  24915. Implemented TreeViewDefaultSize.
  24916. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  24917. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  24918. 2004-11-29 John BouAntoun <[email protected]>
  24919. * MonthCalendar.cs:
  24920. - Fix NextMonthDate and PrevMonthDate click moving calendar
  24921. 2004-11-26 John BouAntoun <[email protected]>
  24922. * MonthCalendar.cs:
  24923. - Fix usage of ScrollChange Property when scrolling months
  24924. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  24925. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  24926. - Fixes menu destroying
  24927. - Support adding and removing items on already created menus
  24928. 2004-11-26 John BouAntoun <[email protected]>
  24929. * MonthCalendar.cs:
  24930. - Re-worked all bolded dates handling to match win32
  24931. * ThemeWin32Classic.cs:
  24932. - Fixed rendering with bolded dates
  24933. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  24934. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  24935. - Horizontal scroolbar
  24936. - Multicolumn
  24937. - Fixes
  24938. 2004-11-25 John BouAntoun <[email protected]>
  24939. * MonthCalendar.cs:
  24940. - Fix Usage of MaxSelectionCount from SelectionRange
  24941. - Fixed Shift + Cursor Selection
  24942. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  24943. - Fixed normal cursor selection to be compat with win32
  24944. - Fixed Shift + Mouse Click selection
  24945. 2004-11-24 Peter Bartok <[email protected]>
  24946. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  24947. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  24948. * XplatUIX11.cs:
  24949. - CreatedKeyBoardMsg now updates keystate with Alt key
  24950. - Added workaround for timer crash to CheckTimers, Jackson will
  24951. develop a proper fix and check in later
  24952. - Implemented DispatchMessage
  24953. - Removed calling the native window proc from GetMessage (call
  24954. now moved to DispatchMessage)
  24955. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  24956. the keydata (Fixes bug #69831)
  24957. * XplatUIWin32.cs:
  24958. - (DispatchMessage): Switched to return IntPtr
  24959. - Added DllImport for SetFocus
  24960. 2004-11-24 Ravindra <[email protected]>
  24961. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  24962. background drawing.
  24963. * ListViewItem.cs: Fixed various properties, calculations
  24964. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  24965. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  24966. and some internal properties. Fixed MouseDown handler and Paint
  24967. method.
  24968. 2004-11-24 John BouAntoun <[email protected]>
  24969. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  24970. 2004-11-24 John BouAntoun <[email protected]>
  24971. * ContainerControl.cs: correct accidental check in of local changes
  24972. 2004-11-24 John BouAntoun <[email protected]>
  24973. * ThemeWin32Classic.cs:
  24974. - Fixed Drawing Last month in grid (sometimes not showing)
  24975. * MonthCalendar.cs:
  24976. - Fixed title width calculation bug (makeing title small)
  24977. 2004-11-23 Peter Bartok <[email protected]>
  24978. * XplatUIX11.cs:
  24979. - Added generation of WM_MOUSEHOVER event
  24980. - Added missing assignment of async_method atom
  24981. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  24982. 2004-11-23 John BouAntoun <[email protected]>
  24983. * ThemeWin32Classic.cs:
  24984. - Fixed Drawing of today circle when showtodaycircle not set
  24985. - fixed drawing of first and last month in the grid (gay dates)
  24986. * MonthCalendar.cs:
  24987. - Fixed Drawing of today circle
  24988. - Fixed drawing of grady dates
  24989. - Fixed HitTest for today link when ShowToday set to false
  24990. - Fixed DefaultSize to obey ShowToday
  24991. 2004-11-23 John BouAntoun <[email protected]>
  24992. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  24993. * System.Windows.Forms/Theme.cs
  24994. * MonthCalendar.cs: added for MonthCalendar
  24995. * SelectionRange.cs: added for MonthCalendar
  24996. * Day.cs: added for MonthCalendar: added for MonthCalendar
  24997. * DateRangeEventArgs.cs: added for MonthCalendar
  24998. * DateRangeEventHandler.cs: added for MonthCalendar
  24999. 2004-11-22 Ravindra <[email protected]>
  25000. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  25001. property.
  25002. 2004-11-22 Miguel de Icaza <[email protected]>
  25003. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  25004. event handler.
  25005. * NumericUpDown.cs: Added new implementation.
  25006. * UpDownBase.cs: Added new implementation.
  25007. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  25008. implementations.
  25009. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  25010. implementations.
  25011. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  25012. methods.
  25013. 2004-11-21 Miguel de Icaza <[email protected]>
  25014. * Timer.cs (Dispose): Should call the base dispose when
  25015. overriding.
  25016. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  25017. * ScrollBar.cs: updates thumb position when max, min or increment
  25018. is changed
  25019. 2004-11-21 Ravindra <[email protected]>
  25020. * ListView.cs: Implemented item selection, activation and
  25021. column header style. Fixed properties to do a redraw, if
  25022. required. Added support for MouseHover, DoubleClick, KeyDown
  25023. and KeyUp event handling and some minor fixes.
  25024. * ListViewItem.cs: Fixed constructor.
  25025. * ThemeWin32Classic.cs: Improved drawing for ListView.
  25026. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  25027. * ThemeWin32Classic.cs: initial listbox drawing code
  25028. * DrawMode.cs: new enumerator
  25029. * ListControl.cs: stubbed class
  25030. * ListBox.cs: initial implementation
  25031. * Theme.cs: new methods definitions
  25032. * SelectionMode.cs: new enumerator
  25033. 2004-11-17 Peter Bartok <[email protected]>
  25034. * XplatUIWin32.cs: Added double-click events to the class style
  25035. * Control.cs (WndProc):
  25036. - Added handling of click-count to MouseDown/ MouseUp events.
  25037. - Added handling of middle and right mouse buttons
  25038. - Removed old debug code
  25039. 2004-11-17 Jackson Harper <[email protected]>
  25040. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  25041. 2004-11-17 Ravindra <[email protected]>
  25042. * ListView.cs: Added event handling for MouseMove/Up/Down.
  25043. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  25044. * ThemeWin32Classic.cs: We need to clear the graphics context and
  25045. draw column header in a proper state.
  25046. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  25047. * Menu.cs: fixes signature
  25048. 2004-11-16 Peter Bartok <[email protected]>
  25049. * XplatUIX11.cs (GetMessage): Implemented generation of
  25050. double click mouse messages
  25051. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  25052. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  25053. not by menu
  25054. 2004-11-11 Peter Bartok <[email protected]>
  25055. * HandleData.cs: Added Visible property
  25056. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  25057. HandleData
  25058. * XplatUIX11.cs: Removed old debug leftovers
  25059. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  25060. * Control.cs (WndProc): Removed old debug leftovers,
  25061. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  25062. needed WM_SIZE handling
  25063. 2004-11-11 Jackson Harper <[email protected]>
  25064. * OwnerDrawPropertyBag.cs:
  25065. * TreeViewImageIndexConverter.cs: Initial implementation
  25066. 2004-11-10 Jackson Harper <[email protected]>
  25067. * ThemeWin32Classic.cs:
  25068. * TabControl.cs: instead of moving tabs by the slider pos just
  25069. start drawing at the tab that is offset by the slider. This way
  25070. scrolling always moves by exactly one tab.
  25071. 2004-11-10 Jackson Harper <[email protected]>
  25072. * TabControl.cs: You can only scroll left when the slider has
  25073. already ben moved right.
  25074. 2004-11-10 Jackson Harper <[email protected]>
  25075. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  25076. the clip area.
  25077. 2004-11-10 Jackson Harper <[email protected]>
  25078. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  25079. clip area.
  25080. 2004-11-09 Jackson Harper <[email protected]>
  25081. * TabControl.cs (CalcXPos): New helper method so we can determine
  25082. the proper place to start drawing vertical tabs.
  25083. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  25084. 2004-11-09 Jackson Harper <[email protected]>
  25085. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  25086. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  25087. and Bottom, left and right are illegal values for this and
  25088. multiline is enabled when the alignment is set to left or right.
  25089. (DrawTab): Each alignment block should draw the text itself now
  25090. because Left requires special love. Also add rendering for Left
  25091. aligned tabs.
  25092. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  25093. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  25094. does not destroy the windows, removes debugging messages
  25095. 2004-11-09 jba <[email protected]>
  25096. * ThemeWin32Classic.cs
  25097. (DrawButtonBase): Fix verticle text rect clipping in windows
  25098. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  25099. rendering and incorrect text rect clipping
  25100. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  25101. rendering and incorrect text rect clipping
  25102. 2004-11-08 Jackson Harper <[email protected]>
  25103. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  25104. bottom when they are bottom aligned so the bottoms of the tabs get
  25105. displayed.
  25106. * TabControl.cs (DropRow): Move rows up instead of down when the
  25107. tab control is bottom aligned.
  25108. 2004-11-08 13:59 pbartok
  25109. * XplatUIX11.cs:
  25110. - Added handling for various window styles
  25111. - Added handling for popup windows
  25112. - Added SetTopmost handling
  25113. 2004-11-08 13:55 pbartok
  25114. * XplatUIWin32.cs:
  25115. - Added argument to SetTopmost method
  25116. - Fixed broken ClientToScreen function
  25117. 2004-11-08 13:53 pbartok
  25118. * XplatUIStructs.cs:
  25119. - Added missing WS_EX styles
  25120. 2004-11-08 13:53 pbartok
  25121. * XplatUI.cs, XplatUIDriver.cs:
  25122. - Added argument to SetTopmost
  25123. 2004-11-08 13:52 pbartok
  25124. * X11Structs.cs:
  25125. - Added XSetWindowAttributes structure
  25126. - Improved XWindowAttributes structure
  25127. - Added SetWindowValuemask enum
  25128. - Added window creation arguments enum
  25129. - Added gravity enum
  25130. - Added Motif hints structure
  25131. - Added various Motif flags and enums
  25132. - Added PropertyMode enum for property functions
  25133. 2004-11-08 13:50 pbartok
  25134. * Form.cs:
  25135. - Fixed arguments for updated SetTopmost method
  25136. 2004-11-08 13:49 pbartok
  25137. * ToolTip.cs:
  25138. - Fixed arguments for updated SetTopmost function
  25139. - Fixed usage of PointToClient
  25140. 2004-11-08 13:44 pbartok
  25141. * MenuAPI.cs:
  25142. - Added Clipping of children and siblings
  25143. 2004-11-08 13:41 pbartok
  25144. * MainMenu.cs:
  25145. - Removed SetMenuBarWindow call. We do this in Form.cs
  25146. 2004-11-08 13:40 jackson
  25147. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  25148. scrolling jimmi in the correct location with bottom aligned tabs
  25149. 2004-11-08 13:36 pbartok
  25150. * ContainerControl.cs:
  25151. - Implemented BindingContext
  25152. - Implemented ParentForm
  25153. 2004-11-08 12:46 jackson
  25154. * TabControl.cs: Put bottom rendered tabs in the right location
  25155. 2004-11-08 07:15 jordi
  25156. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  25157. removes dead code
  25158. 2004-11-05 17:30 jackson
  25159. * TabControl.cs: When selected tabs are expanded make sure they
  25160. don't go beyond the edges of the tab control
  25161. 2004-11-05 14:57 jackson
  25162. * TabControl.cs: Reset show_slider so if the control is resized to
  25163. a size where it is no longer needed it's not displayed anymore
  25164. 2004-11-05 13:16 jackson
  25165. * TabControl.cs: Make tab pages non visible when added to the
  25166. control
  25167. 2004-11-05 12:42 jackson
  25168. * TabControl.cs: Implement SizeMode.FillToRight
  25169. 2004-11-05 12:16 jackson
  25170. * Control.cs: Do not call CreateHandle if the handle is already
  25171. created
  25172. 2004-11-05 11:46 jackson
  25173. * TabControl.cs: Remove superflous call to CalcTabRows
  25174. 2004-11-05 09:07 jackson
  25175. * XplatUIX11.cs: Update for Mono.Posix changes
  25176. 2004-11-05 07:00 ravindra
  25177. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  25178. scrolling.
  25179. 2004-11-04 22:47 jba
  25180. * ThemeWin32Classic.cs:
  25181. - Fix Button rendering for FlatStyle = Flat or Popup
  25182. - Fix RadioButton and CheckBox rendering when Appearance = Button
  25183. (normal and flatstyle).
  25184. - Correct outer rectangle color when drawing focus rectangle
  25185. - Adjust button bounds to be 1 px smaller when focused
  25186. - Make button not draw sunken 3d border when pushed (windows compat)
  25187. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  25188. - Offset the text in RadioButton and Checkbox when being rendered as
  25189. a button.
  25190. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  25191. radiobuttons
  25192. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  25193. - Fixed disabled text rendering for normally rendered radiobuttons
  25194. 2004-11-04 10:26 jackson
  25195. * TabControl.cs: Recalculate tab rows when resizing
  25196. 2004-11-04 07:47 jordi
  25197. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  25198. collection completion, drawing issues, missing features
  25199. 2004-11-04 05:03 ravindra
  25200. * ScrollBar.cs:
  25201. - We need to recalculate the Thumb area when
  25202. LargeChange/maximum/minimum values are changed.
  25203. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  25204. than minimum. This is required to handle the case if large_change is
  25205. more than max, and use LargeChange property instead of large_change
  25206. variable.
  25207. - We return max+1 when large_change is more than max, like MS does.
  25208. 2004-11-04 04:29 ravindra
  25209. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  25210. - Changed default value signatures (prefixed all with ListView).
  25211. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  25212. ListView.
  25213. - Fixed calculations for ListViewItem and implemented Clone()
  25214. method.
  25215. 2004-11-04 04:26 ravindra
  25216. * Theme.cs, ThemeWin32Classic.cs:
  25217. - Changed default ListView values signatures (prefixed all with
  25218. ListView).
  25219. - Fixed default size values for VScrollBar and HScrollBar.
  25220. - Fixed DrawListViewItem method.
  25221. 2004-11-04 04:05 ravindra
  25222. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  25223. 2004-11-04 04:04 ravindra
  25224. * ImageList.cs: Implemented the missing overload for Draw method.
  25225. 2004-11-03 19:29 jackson
  25226. * TabControl.cs: Handle dropping rows on selection properly
  25227. 2004-11-03 11:59 jackson
  25228. * TabControl.cs: remove debug code
  25229. 2004-11-03 11:52 jackson
  25230. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  25231. the scrolly widgerywoo
  25232. 2004-11-02 13:52 jackson
  25233. * TabControl.cs: Resize the tab pages and tabs when the tab control
  25234. is resized
  25235. 2004-11-02 13:40 jackson
  25236. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  25237. selected tab to the bottom
  25238. 2004-11-02 13:39 jackson
  25239. * TabPage.cs: Store the tab pages row
  25240. 2004-11-02 12:33 jordi
  25241. * MenuItem.cs: fixes handle creation
  25242. 2004-11-02 11:42 jackson
  25243. * TabControl.cs: signature fix
  25244. 2004-11-02 08:56 jackson
  25245. * TabControl.cs: Calculate whether the tab is on an edge properly.
  25246. Remove top secret debugging code
  25247. 2004-11-01 19:57 jackson
  25248. * TabControl.cs: Add click handling, and proper sizing
  25249. 2004-11-01 19:47 jackson
  25250. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  25251. tab controls
  25252. 2004-11-01 19:39 jackson
  25253. * TabPage.cs: add internal property to store the bounds of a tab
  25254. page
  25255. 2004-10-30 04:23 ravindra
  25256. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  25257. values.
  25258. 2004-10-30 04:21 ravindra
  25259. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  25260. fixed calculations.
  25261. 2004-10-30 03:06 pbartok
  25262. * XplatUIX11.cs:
  25263. - Removed extension of DllImported libs
  25264. 2004-10-29 09:55 jordi
  25265. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  25266. navigation, itemcollection completion, menu fixes
  25267. 2004-10-27 22:58 pbartok
  25268. * XplatUIX11.cs:
  25269. - Now throws a nice error message when no X display could be opened
  25270. 2004-10-26 13:51 jordi
  25271. * ListView.cs: removes warning
  25272. 2004-10-26 03:55 ravindra
  25273. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  25274. ThemeWin32Classic.cs: Some formatting for my last checkins.
  25275. 2004-10-26 03:36 ravindra
  25276. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  25277. control and default values.
  25278. 2004-10-26 03:35 ravindra
  25279. * Theme.cs: Added some default values for ListView control.
  25280. 2004-10-26 03:33 ravindra
  25281. * ToolBar.cs: ToolBar should use the user specified button size, if
  25282. there is any. Added a size_specified flag for the same.
  25283. 2004-10-26 03:33 ravindra
  25284. * ColumnHeader.cs: Added some internal members and calculations for
  25285. ColumnHeader.
  25286. 2004-10-26 03:32 ravindra
  25287. * ListViewItem.cs: Calculations for ListViewItem.
  25288. 2004-10-26 03:31 ravindra
  25289. * ListView.cs: Added some internal members and calculations for
  25290. ListView.
  25291. 2004-10-22 13:31 jordi
  25292. * MenuAPI.cs: speedup menus drawing
  25293. 2004-10-22 13:16 jackson
  25294. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  25295. expose event
  25296. 2004-10-22 11:49 jackson
  25297. * Control.cs: oops
  25298. 2004-10-22 11:41 jackson
  25299. * Control.cs: Check to see if the window should have its background
  25300. repainted by X when drawing.
  25301. 2004-10-22 11:31 jackson
  25302. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  25303. clear is true, this way we do not get flicker from X repainting the
  25304. background
  25305. 2004-10-22 11:28 jackson
  25306. * XEventQueue.cs: Queue properly
  25307. 2004-10-21 09:38 jackson
  25308. * XEventQueue.cs: Fix access modifier
  25309. 2004-10-21 09:36 jackson
  25310. * XEventQueue.cs: Don't loose messages
  25311. 2004-10-21 09:22 jackson
  25312. * XEventQueue.cs: Don't loose messages
  25313. 2004-10-20 04:15 jordi
  25314. * BootMode.cs: enum need it by SystemInfo
  25315. 2004-10-19 21:58 pbartok
  25316. * XplatUIWin32.cs:
  25317. - Small sanity check
  25318. 2004-10-19 21:56 pbartok
  25319. * Form.cs:
  25320. - Added private FormParentWindow class which acts as the container
  25321. for our form and as the non-client area where menus are drawn
  25322. - Added/Moved required tie-ins to Jordi's menus
  25323. - Fixed/Implemented the FormStartPosition functionality
  25324. 2004-10-19 21:52 pbartok
  25325. * Control.cs:
  25326. - Removed unneeded locals
  25327. - Added code to all size and location properties to understand and
  25328. deal with the parent container of Form
  25329. 2004-10-19 21:33 pbartok
  25330. * Application.cs:
  25331. - Fixed to deal with new Form subclasses for menus
  25332. 2004-10-19 17:48 jackson
  25333. * XEventQueue.cs: commit correct version of file
  25334. 2004-10-19 16:50 jackson
  25335. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  25336. 2004-10-19 16:15 jordi
  25337. * MenuAPI.cs: MenuBarCalcSize returns the height
  25338. 2004-10-19 08:31 pbartok
  25339. * Control.cs:
  25340. - Added missing call to PreProcessMessage before calling OnXXXKey
  25341. methods
  25342. 2004-10-19 00:04 ravindra
  25343. * ToolTip.cs: Fixed constructor.
  25344. 2004-10-18 09:31 jordi
  25345. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  25346. 2004-10-18 09:26 jordi
  25347. * MenuItem.cs: fixes MenuItem class signature
  25348. 2004-10-18 08:56 jordi
  25349. * MenuAPI.cs: prevents windows from showing in the taskbar
  25350. 2004-10-18 00:28 ravindra
  25351. * ToolTip.cs: Suppressed a warning message.
  25352. 2004-10-18 00:27 ravindra
  25353. * Control.cs: Default value of visible property must be true.
  25354. 2004-10-17 23:19 pbartok
  25355. * ToolTip.cs:
  25356. - Complete implementation
  25357. 2004-10-17 23:19 pbartok
  25358. * XplatUIX11.cs:
  25359. - Added EnableWindow method
  25360. - Added SetModal stub
  25361. - Added generation of WM_ACTIVATE message (still needs testing)
  25362. - Added SetTopMost stub
  25363. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  25364. 2004-10-17 23:17 pbartok
  25365. * XplatUIWin32.cs:
  25366. - Removed VirtualKeys to XplatUIStructs
  25367. - Implemented SetTopMost method
  25368. - Implemented EnableWindow method
  25369. - Bugfix in ScreenToClient()
  25370. - Bugfixes in ClientToScreen()
  25371. 2004-10-17 22:51 pbartok
  25372. * XplatUIStructs.cs:
  25373. - Added WS_EX styles to WindowStyles enumeration
  25374. 2004-10-17 22:50 pbartok
  25375. * XplatUI.cs, XplatUIDriver.cs:
  25376. - Added method for enabling/disabling windows
  25377. - Added method for setting window modality
  25378. - Added method for setting topmost window
  25379. 2004-10-17 22:49 pbartok
  25380. * ThemeWin32Classic.cs:
  25381. - Added ToolTip drawing code
  25382. 2004-10-17 22:49 pbartok
  25383. * Theme.cs:
  25384. - Added ToolTip abstracts
  25385. 2004-10-17 22:47 pbartok
  25386. * Form.cs:
  25387. - Fixed Form.ControlCollection to handle owner relations
  25388. - Added Owner/OwnedForms handling
  25389. - Implemented Z-Ordering for owned forms
  25390. - Removed unneeded private overload of ShowDialog
  25391. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  25392. so I hope)
  25393. - Fixed Close(), had wrong default
  25394. - Added firing of OnLoad event
  25395. - Added some commented out debug code for Ownership handling
  25396. 2004-10-17 22:16 pbartok
  25397. * Control.cs:
  25398. - Fixed/implemented flat list of controls
  25399. 2004-10-17 22:14 pbartok
  25400. * Application.cs:
  25401. - Added code to simulate modal dialogs on Win32
  25402. 2004-10-17 16:11 jordi
  25403. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  25404. mouse event
  25405. 2004-10-17 13:39 jordi
  25406. * MenuAPI.cs: menu drawing fixes
  25407. 2004-10-15 09:10 ravindra
  25408. * StructFormat.cs: General Enum.
  25409. 2004-10-15 09:09 ravindra
  25410. * SizeGripStyle.cs: Enum for Form.
  25411. 2004-10-15 09:08 ravindra
  25412. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  25413. in Theme for ListView.
  25414. 2004-10-15 09:06 ravindra
  25415. * ColumnHeader.cs: Flushing some formatting changes.
  25416. 2004-10-15 09:05 ravindra
  25417. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  25418. style.
  25419. 2004-10-15 09:03 ravindra
  25420. * ListView.cs: Implemented Paint method and fixed coding style.
  25421. 2004-10-15 07:34 jordi
  25422. * MenuAPI.cs: fix for X11
  25423. 2004-10-15 07:32 ravindra
  25424. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  25425. - Renamed Paint() method to Draw() for clarity. Also, moved
  25426. DrawImage() to OnPaint().
  25427. 2004-10-15 07:25 ravindra
  25428. * CheckBox.cs, RadioButton.cs:
  25429. - Removed Redraw (), we get it from ButtonBase.
  25430. - Implemented Paint (), to do class specific painting.
  25431. 2004-10-15 07:16 ravindra
  25432. * ButtonBase.cs:
  25433. - Redraw () is not virtual now.
  25434. - Added an internal virtual method Paint (), so that
  25435. derived classes can do their painting on their own.
  25436. - Modified OnPaint () to call Paint ().
  25437. 2004-10-15 06:43 jordi
  25438. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  25439. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  25440. 2004-10-15 00:30 ravindra
  25441. * MessageBox.cs:
  25442. - MessageBox on windows does not have min/max buttons.
  25443. This change in CreateParams fixes this on Windows. We
  25444. still need to implement this windowstyle behavior in
  25445. our X11 driver.
  25446. 2004-10-14 05:14 ravindra
  25447. * ToolBar.cs:
  25448. - Changed Redraw () to do a Refresh () always.
  25449. - Fixed the MouseMove event handling when mouse is pressed,
  25450. ie drag event handling.
  25451. - Replaced the usage of ToolBarButton.Pressed property to
  25452. ToolBarButton.pressed internal variable.
  25453. 2004-10-14 05:10 ravindra
  25454. * ToolBarButton.cs:
  25455. - Added an internal member 'inside' to handle mouse move
  25456. with mouse pressed ie mouse drag event.
  25457. - Changed 'Pressed' property to return true only when
  25458. 'inside' and 'pressed' are both true.
  25459. - Some coding style love.
  25460. 2004-10-14 00:17 ravindra
  25461. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  25462. public method.
  25463. 2004-10-14 00:15 ravindra
  25464. * ButtonBase.cs: Redraw () related improvements.
  25465. 2004-10-14 00:14 ravindra
  25466. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  25467. removed unnecessary calls to Button.Show () method.
  25468. 2004-10-13 17:50 pbartok
  25469. * XplatUIX11.cs:
  25470. - Formatting fix
  25471. - Removed destroying of window until we solve the problem of X
  25472. destroying the window before us on shutdown
  25473. 2004-10-13 16:32 pbartok
  25474. * ButtonBase.cs:
  25475. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  25476. 2004-10-13 14:18 pbartok
  25477. * XplatUIX11.cs:
  25478. - Added code to destroy the X window
  25479. 2004-10-13 14:18 pbartok
  25480. * XplatUIWin32.cs:
  25481. - Added code to destroy a window
  25482. 2004-10-13 14:12 pbartok
  25483. * ButtonBase.cs:
  25484. - Added the Redraw on Resize that got dropped in the last rev
  25485. 2004-10-13 09:06 pbartok
  25486. * ThemeWin32Classic.cs:
  25487. - Path from John BouAntoun:
  25488. * Fix check rendering (centre correctly for normal style, offset
  25489. correctly for FlatStyle).
  25490. * Fix border color usage (use backcolor) for FlatStyle.Popup
  25491. * Use checkbox.Capture instead of checkbox.is_pressed when
  25492. rendering flatstyle states.
  25493. 2004-10-12 21:48 pbartok
  25494. * ThemeWin32Classic.cs:
  25495. - Removed all occurences of SystemColors and replaced them with the
  25496. matching theme color
  25497. 2004-10-12 21:41 pbartok
  25498. * ThemeWin32Classic.cs:
  25499. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  25500. him using the function for flatstyle drawing
  25501. - Changed functions to use the new version of CPDrawBorder3D
  25502. 2004-10-12 21:15 pbartok
  25503. * ControlPaint.cs:
  25504. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  25505. match MS documentation. They need to return defined colors if the
  25506. passed color matches the configured control color. Thanks to John
  25507. BouAntoun for pointing this out.
  25508. 2004-10-12 20:57 pbartok
  25509. * Control.cs:
  25510. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  25511. color is changed
  25512. 2004-10-12 20:46 pbartok
  25513. * CheckBox.cs:
  25514. - Fix from John BouAntoun: Now properly sets the Appearance property
  25515. 2004-10-12 20:45 pbartok
  25516. * ThemeWin32Classic.cs:
  25517. - Fixes from John BouAntoun: now handles forecolors and backcolors
  25518. for flatstyle rendered controls much better; It also fixes normal
  25519. checkbox rendering when pushed or disabled.
  25520. 2004-10-08 02:50 jordi
  25521. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  25522. work
  25523. 2004-10-07 08:56 jordi
  25524. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  25525. 2004-10-06 03:59 jordi
  25526. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  25527. XplatUIWin32.cs: removes warnings from compilation
  25528. 2004-10-05 12:23 jackson
  25529. * RadioButton.cs: Fix ctor
  25530. 2004-10-05 11:10 pbartok
  25531. * MessageBox.cs:
  25532. - Partial implementation by Benjamin Dasnois
  25533. 2004-10-05 10:15 jackson
  25534. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  25535. by John BouAntoun
  25536. 2004-10-05 03:07 ravindra
  25537. * ToolBar.cs:
  25538. - Removed a private method, Draw ().
  25539. - Fixed the ButtonDropDown event handling.
  25540. - Fixed MouseMove event handling.
  25541. 2004-10-05 03:04 ravindra
  25542. * ThemeWin32Classic.cs:
  25543. - Added DrawListView method and ListViewDefaultSize property.
  25544. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  25545. - Changed DOS style CRLF to Unix format (dos2unix).
  25546. 2004-10-05 03:03 ravindra
  25547. * Theme.cs:
  25548. - Added DrawListView method and ListViewDefaultSize property.
  25549. 2004-10-05 02:42 ravindra
  25550. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  25551. clicks on DropDown arrow.
  25552. 2004-10-04 22:56 jackson
  25553. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  25554. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  25555. Control handle the buffers, derived classes should not have to
  25556. CreateBuffers themselves.
  25557. 2004-10-04 21:20 jackson
  25558. * StatusBar.cs: The control handles resizing the buffers now.
  25559. 2004-10-04 21:18 jackson
  25560. * Control.cs: When resizing the buffers should be invalidated. This
  25561. should be handled in Control not in derived classes.
  25562. 2004-10-04 14:45 jackson
  25563. * TabPage.cs: oops
  25564. 2004-10-04 02:14 pbartok
  25565. * LeftRightAlignment.cs:
  25566. - Initial check-in
  25567. 2004-10-04 01:09 jordi
  25568. * ThemeWin32Classic.cs: fixes right button position causing right
  25569. button not showing on horizontal scrollbars
  25570. 2004-10-02 13:12 pbartok
  25571. * XplatUIX11.cs:
  25572. - Simplified the Invalidate method by using an X call instead of
  25573. generating the expose ourselves
  25574. - Added an expose when the window background is changed
  25575. - Implemented ClientToScreen method
  25576. 2004-10-02 13:08 pbartok
  25577. * XplatUIWin32.cs:
  25578. - Added Win32EnableWindow method (test for implementing modal
  25579. dialogs)
  25580. - Added ClientToScreen method and imports
  25581. 2004-10-02 13:07 pbartok
  25582. * XplatUI.cs, XplatUIDriver.cs:
  25583. - Added ClientToScreen coordinate translation method
  25584. 2004-10-02 13:06 pbartok
  25585. * KeyPressEventArgs.cs:
  25586. - Fixed access level for constructor
  25587. 2004-10-02 13:06 pbartok
  25588. * NativeWindow.cs:
  25589. - Changed access level for the window_collection hash table
  25590. 2004-10-02 13:05 pbartok
  25591. * Form.cs:
  25592. - Added KeyPreview property
  25593. - Added Menu property (still incomplete, pending Jordi's menu work)
  25594. - Implemented ProcessCmdKey
  25595. - Implemented ProcessDialogKey
  25596. - Implemented ProcessKeyPreview
  25597. 2004-10-02 13:02 pbartok
  25598. * Control.cs:
  25599. - Added private method to get the Control object from the window
  25600. handle
  25601. - Implemented ContextMenu property
  25602. - Implemented PointToScreen
  25603. - Implemented PreProcessMessage
  25604. - Implemented IsInputChar
  25605. - Implemented IsInputKey
  25606. - Implemented ProcessCmdKey
  25607. - Completed ProcessKeyEventArgs
  25608. - Fixed message loop to call the proper chain of functions on key
  25609. events
  25610. - Implemented ProcessDialogChar
  25611. - Implemented ProcessDialogKey
  25612. - Implemented ProcessKeyMessage
  25613. - Implemented ProcessKeyPreview
  25614. - Added RaiseDragEvent stub (MS internal method)
  25615. - Added RaiseKeyEvent stub (MS internal method)
  25616. - Added RaiseMouseEvent stub (MS Internal method)
  25617. - Added RaisePaintEvent stub (MS Internal method)
  25618. - Added ResetMouseEventArgs stub (MS Internal method)
  25619. - Implemented RtlTranslateAlignment
  25620. - Implemented RtlTranslateContent
  25621. - Implemented RtlTranslateHorizontal
  25622. - Implemented RtlTranslateLeftRight
  25623. - Added generation of KeyPress event
  25624. 2004-10-02 05:57 ravindra
  25625. * ListViewItem.cs: Added attributes.
  25626. 2004-10-02 05:32 ravindra
  25627. * ListView.cs: Added attributes.
  25628. 2004-10-01 11:53 jackson
  25629. * Form.cs: Implement the Close method so work on MessageBox can
  25630. continue.
  25631. 2004-09-30 14:06 pbartok
  25632. * XplatUIX11.cs:
  25633. - Bug fixes
  25634. 2004-09-30 11:34 jackson
  25635. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  25636. 2004-09-30 07:26 ravindra
  25637. * ListViewItemConverter.cs: Converter for ListViewItem.
  25638. 2004-09-30 07:26 ravindra
  25639. * SortOrder.cs: Enum for ListView control.
  25640. 2004-09-30 07:25 ravindra
  25641. * ColumnHeader.cs: Supporting class for ListView control.
  25642. 2004-09-30 07:24 ravindra
  25643. * ListView.cs, ListViewItem.cs: Initial implementation.
  25644. 2004-09-30 07:20 ravindra
  25645. * ItemActivation.cs: Enum for ListView Control.
  25646. 2004-09-29 20:29 pbartok
  25647. * XplatUIX11.cs:
  25648. - Added lookup of pixel value for background color; tries to get a
  25649. color 'close' to the requested color, it avoids having to create a
  25650. colormap. Depending on the display this could mean the used color
  25651. is slightly off the desired color. Might have to change it to a more
  25652. resource intensive colormap approach, but it will work as a
  25653. workaround to avoid red screens.
  25654. 2004-09-29 14:27 jackson
  25655. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  25656. 2004-09-28 12:44 pbartok
  25657. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  25658. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  25659. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  25660. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  25661. TrackBar.cs, VScrollBar.cs:
  25662. - Streamlined Theme interfaces:
  25663. * Each DrawXXX method for a control now is passed the object for
  25664. the control to be drawn in order to allow accessing any state the
  25665. theme might require
  25666. * ControlPaint methods for the theme now have a CP prefix to avoid
  25667. name clashes with the Draw methods for controls
  25668. * Every control now retrieves it's DefaultSize from the current
  25669. theme
  25670. 2004-09-28 12:17 jackson
  25671. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  25672. drawing
  25673. 2004-09-24 14:57 jackson
  25674. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  25675. Gives us a nice little performance boost.
  25676. 2004-09-24 12:02 jackson
  25677. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  25678. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  25679. Control and supporting classes. Initial checkin
  25680. 2004-09-23 13:08 jackson
  25681. * Form.cs: Temp build fixage
  25682. 2004-09-23 01:39 ravindra
  25683. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  25684. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  25685. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  25686. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  25687. EventHandlers needed by ListView Control.
  25688. 2004-09-22 14:12 pbartok
  25689. * ScrollableControl.cs:
  25690. - Implemented DockPadding property
  25691. - Implemented AutoScroll property
  25692. - Implemented AutoScrollMargin property
  25693. - Implemented AutoScrollMinSize property
  25694. - Implemented AutoScrollPosition property
  25695. - Implemented DisplayRectangle property (still incomplete)
  25696. - Implemented CreateParams property
  25697. - Implemented HScroll property
  25698. - Implemented VScroll property
  25699. - Implemented OnVisibleChanged property
  25700. 2004-09-22 14:09 pbartok
  25701. * Form.cs:
  25702. - Added Form.ControllCollection class
  25703. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  25704. RemoveOwnedForm (still incomplete, missing on-top and common
  25705. minimize/maximize behaviour)
  25706. - Added StartPosition property (still incomplete, does not use when
  25707. creating the form)
  25708. - Added ShowDialog() methods (still incomplete, missing forcing the
  25709. dialog modal)
  25710. 2004-09-22 14:05 pbartok
  25711. * Application.cs:
  25712. - Added message loop for modal dialogs
  25713. 2004-09-22 14:02 pbartok
  25714. * GroupBox.cs:
  25715. - Fixed wrong types for events
  25716. 2004-09-22 14:00 pbartok
  25717. * Shortcut.cs, FormWindowState.cs:
  25718. - Fixed wrong values
  25719. 2004-09-22 12:01 jackson
  25720. * Control.cs: Text is never null
  25721. 2004-09-20 22:14 pbartok
  25722. * XplatUIWin32.cs:
  25723. - Fixed accessibility level for Idle handler
  25724. 2004-09-20 18:54 jackson
  25725. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  25726. XplatUIX11.cs: New message loop that uses poll so we don't get a
  25727. busy loop
  25728. 2004-09-17 10:43 pbartok
  25729. * ScrollBar.cs:
  25730. - Fixed behaviour of arrow buttons. Now properly behaves like
  25731. Buttons (and like Microsoft's scrollbar arrow buttons)
  25732. 2004-09-17 10:14 pbartok
  25733. * ScrollBar.cs:
  25734. - Added missing release of keyboard/mouse capture
  25735. 2004-09-17 06:18 jordi
  25736. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  25737. Theme.cs: Very early menu support
  25738. 2004-09-16 17:45 pbartok
  25739. * XplatUIWin32.cs:
  25740. - Fixed sending a window to the front
  25741. - Added overload for SetWindowPos to avoid casting
  25742. 2004-09-16 17:44 pbartok
  25743. * Control.cs:
  25744. - Added SendToBack and BringToFront methods
  25745. 2004-09-16 07:00 ravindra
  25746. * Copyright: Added Novell URL.
  25747. 2004-09-16 07:00 ravindra
  25748. * ToolBar.cs: Invalidate should be done before redrawing.
  25749. 2004-09-15 21:19 ravindra
  25750. * ColumnHeaderStyle.cs: Enum for ListView Control.
  25751. 2004-09-15 21:18 ravindra
  25752. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  25753. ListView Control.
  25754. 2004-09-13 18:26 jackson
  25755. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  25756. properly
  25757. 2004-09-13 18:13 jackson
  25758. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  25759. a second thread and post messages into the main threads message
  25760. queue. This makes timing much more consistent. Both win2K and XP
  25761. have a minimum timer value of 15 milliseconds, so we now do this
  25762. too.
  25763. 2004-09-13 15:18 pbartok
  25764. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  25765. XplatUIX11.cs:
  25766. - Added Z-Ordering methods
  25767. 2004-09-13 10:56 pbartok
  25768. * Form.cs:
  25769. - Fixed #region names
  25770. - Moved properties and methods into their proper #regions
  25771. 2004-09-13 10:51 pbartok
  25772. * Form.cs:
  25773. - Added Accept and CancelButton properties
  25774. - Added ProcessDialogKey() method
  25775. 2004-09-13 08:18 pbartok
  25776. * IWindowTarget.cs:
  25777. - Initial check-in
  25778. 2004-09-10 21:50 pbartok
  25779. * Control.cs:
  25780. - Added DoDragDrop() [incomplete]
  25781. - Properly implemented 'Visible' handling
  25782. - Added SetVisibleCore()
  25783. - Implemented FindChildAtPoint()
  25784. - Implemented GetContainerControl()
  25785. - Implemented Hide()
  25786. 2004-09-10 19:28 pbartok
  25787. * Control.cs:
  25788. - Moved methods into their appropriate #regions
  25789. - Reordered methods within regions alphabetically
  25790. 2004-09-10 18:57 pbartok
  25791. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  25792. - Added method to retrieve text from window
  25793. 2004-09-10 18:56 pbartok
  25794. * Control.cs:
  25795. - Moved some internal functions into the internal region
  25796. - Implemented FontHeight
  25797. - Implemented RenderRightToLeft
  25798. - Implemented ResizeRedraw
  25799. - Implemented ShowFocusCues
  25800. - Implemented ShowKeyboardCues
  25801. - Implemented FromChildHandle
  25802. - Implemented FromHandle
  25803. - Implemented IsMnemonic
  25804. - Implemented ReflectMessage
  25805. - All public and protected Static Methods are now complete
  25806. 2004-09-10 16:54 pbartok
  25807. * Control.cs:
  25808. - Implemented remaining missing public instance properties
  25809. - Alphabetized some out of order properties
  25810. 2004-09-10 05:51 ravindra
  25811. * PictureBox.cs: Added a check for null image.
  25812. 2004-09-10 00:59 jordi
  25813. * GroupBox.cs: remove cvs tag
  25814. 2004-09-09 05:25 ravindra
  25815. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  25816. 2004-09-09 05:23 ravindra
  25817. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  25818. parent redraw.
  25819. 2004-09-09 02:28 pbartok
  25820. * ThemeWin32Classic.cs:
  25821. - Improve disabled string look
  25822. 2004-09-09 01:15 jordi
  25823. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  25824. args and handler
  25825. 2004-09-08 23:56 ravindra
  25826. * ItemBoundsPortion.cs: It's enum, not a class!
  25827. 2004-09-08 23:47 ravindra
  25828. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  25829. Enums for Form.
  25830. 2004-09-08 21:13 ravindra
  25831. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  25832. ListView control.
  25833. 2004-09-08 21:03 ravindra
  25834. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  25835. avoid crash.
  25836. 2004-09-08 21:01 ravindra
  25837. * ScrollableControl.cs: Removed unreachable code.
  25838. 2004-09-08 06:45 jordi
  25839. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  25840. 2004-09-08 01:00 jackson
  25841. * XplatUIX11.cs: Only run the timers when updating the message
  25842. queue. This effectively gives X messages a higher priority then
  25843. timer messages. Timers still need love though
  25844. 2004-09-07 14:01 jackson
  25845. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  25846. this for us and the handle is no longer valid.
  25847. 2004-09-07 13:59 jackson
  25848. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  25849. loop that manages to not crash. TODO: Add poll and cleanup timers
  25850. 2004-09-07 11:12 jordi
  25851. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  25852. 2004-09-07 03:40 jordi
  25853. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  25854. fixes, methods, multiple links
  25855. 2004-09-06 06:55 jordi
  25856. * Control.cs: Caches ClientRectangle rectangle value
  25857. 2004-09-05 02:03 jordi
  25858. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  25859. certain situations
  25860. 2004-09-04 11:10 jordi
  25861. * Label.cs: Refresh when font changed
  25862. 2004-09-02 16:24 pbartok
  25863. * Control.cs:
  25864. - Added sanity check to creation of double buffer bitmap
  25865. 2004-09-02 16:24 pbartok
  25866. * ButtonBase.cs:
  25867. - Fixed selection of text color
  25868. - Fixed handling of resize event; now properly recreates double
  25869. buffering bitmap
  25870. - Added missing assignment of TextAlignment
  25871. - Added proper default for TextAlignment
  25872. 2004-09-02 14:26 pbartok
  25873. * RadioButton.cs:
  25874. - Added missing RadioButton.RadioButtonAccessibleObject class
  25875. 2004-09-02 14:26 pbartok
  25876. * Control.cs:
  25877. - Added missing Control.ControlAccessibleObject class
  25878. - Started to implement Select()ion mechanisms, still very incomplete
  25879. 2004-09-02 14:25 pbartok
  25880. * AccessibleObject.cs:
  25881. - Added missing methods
  25882. 2004-09-02 14:23 pbartok
  25883. * AccessibleNavigation.cs, AccessibleSelection.cs:
  25884. - Initial check-in
  25885. 2004-09-02 10:32 jordi
  25886. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  25887. pool for pens, brushes, and hatchbruses
  25888. 2004-09-01 15:30 jackson
  25889. * StatusBar.cs: Fix typo
  25890. 2004-09-01 14:44 pbartok
  25891. * RadioButton.cs:
  25892. - Fixed state
  25893. 2004-09-01 14:39 pbartok
  25894. * Button.cs, RadioButton.cs:
  25895. - Functional initial check-in
  25896. 2004-09-01 14:01 pbartok
  25897. * CheckBox.cs:
  25898. - Added missing default
  25899. - Added missing region mark
  25900. 2004-09-01 09:10 jordi
  25901. * Label.cs: fixes method signatures, new methods, events, fixes
  25902. autosize
  25903. 2004-09-01 07:19 jordi
  25904. * Control.cs: Init string variables with an empty object
  25905. 2004-09-01 04:20 jordi
  25906. * Control.cs: fires OnFontChanged event
  25907. 2004-08-31 20:07 pbartok
  25908. * ButtonBase.cs:
  25909. - Enabled display of strings
  25910. 2004-08-31 20:05 pbartok
  25911. * Form.cs:
  25912. - Added (partial) implementation of DialogResult; rest needs to be
  25913. implemented when the modal loop code is done
  25914. 2004-08-31 19:55 pbartok
  25915. * CheckBox.cs:
  25916. - Fixed to match the removal of the needs_redraw concept
  25917. 2004-08-31 19:55 pbartok
  25918. * ButtonBase.cs:
  25919. - Removed the rather odd split between 'needs redraw' and redrawing
  25920. - Now handles the events that require regeneration (ambient
  25921. properties and size)
  25922. 2004-08-31 19:41 pbartok
  25923. * Control.cs:
  25924. - Added firing of BackColorChanged event
  25925. - Added TopLevelControl property
  25926. - Fixed handling of WM_ERASEBKGRND message
  25927. 2004-08-31 12:49 pbartok
  25928. * ButtonBase.cs:
  25929. - Removed debug
  25930. - Minor fixes
  25931. 2004-08-31 12:48 pbartok
  25932. * CheckBox.cs:
  25933. - Finished (famous last words)
  25934. 2004-08-31 04:35 jordi
  25935. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  25936. scrolling bugs, adds new methods
  25937. 2004-08-30 14:42 pbartok
  25938. * CheckBox.cs:
  25939. - Implemented CheckBox drawing code
  25940. 2004-08-30 14:42 pbartok
  25941. * ButtonBase.cs:
  25942. - Made Redraw() and CheckRedraw() virtual
  25943. - Improved mouse up/down/move logic to properly track buttons
  25944. 2004-08-30 09:44 pbartok
  25945. * CheckBox.cs:
  25946. - Updated to fix broken build. Not complete yet.
  25947. 2004-08-30 09:28 pbartok
  25948. * CheckState.cs:
  25949. - Initial checkin
  25950. 2004-08-30 09:17 pbartok
  25951. * Appearance.cs:
  25952. - Initial check-in
  25953. 2004-08-27 16:12 ravindra
  25954. * ToolBarButton.cs: Added TypeConverter attribute.
  25955. 2004-08-27 16:07 ravindra
  25956. * ImageIndexConverter.cs: Implemented.
  25957. 2004-08-27 14:17 pbartok
  25958. * Control.cs:
  25959. - Removed unneeded stack vars
  25960. - First attempt to fix sizing issues when layout is suspended
  25961. 2004-08-25 15:35 jordi
  25962. * ScrollBar.cs: more fixes to scrollbar
  25963. 2004-08-25 14:04 ravindra
  25964. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  25965. Added the missing divider code and grip for ToolBar Control.
  25966. 2004-08-25 13:20 pbartok
  25967. * Control.cs:
  25968. - Control now properly passes the ambient background color to child
  25969. controls
  25970. 2004-08-25 13:20 jordi
  25971. * ScrollBar.cs: small bug fix regarding bar position
  25972. 2004-08-25 12:33 pbartok
  25973. * Timer.cs:
  25974. - Now only calls SetTimer or KillTimer if the enabled state has
  25975. changed
  25976. 2004-08-25 12:33 pbartok
  25977. * XplatUIWin32.cs:
  25978. - Fixed timer handling, now seems to work
  25979. - Improved error message for window creation
  25980. 2004-08-25 12:32 pbartok
  25981. * Control.cs:
  25982. - Fixed generation of MouseUp message
  25983. 2004-08-25 12:29 jordi
  25984. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  25985. and fixes for progressbar
  25986. 2004-08-24 18:43 ravindra
  25987. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  25988. in ToolBar control.
  25989. 2004-08-24 17:15 pbartok
  25990. * Panel.cs:
  25991. - Added #region
  25992. - Added missing events
  25993. - Alphabetized
  25994. 2004-08-24 17:14 pbartok
  25995. * StatusBar.cs, PictureBox.cs:
  25996. - Now uses Control's CreateParams
  25997. 2004-08-24 16:36 pbartok
  25998. * XplatUIX11.cs:
  25999. - Fixed background color handling
  26000. - Fixed sending of enter/leave events on a grab
  26001. 2004-08-24 16:35 pbartok
  26002. * X11Structs.cs:
  26003. - Refined definitions for CrossingEvent
  26004. 2004-08-24 12:37 jordi
  26005. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  26006. formmating, methods signature, and adds missing events
  26007. 2004-08-24 12:24 jordi
  26008. * Control.cs: fire OnEnabledChanged event
  26009. 2004-08-24 11:17 pbartok
  26010. * XplatUIWin32.cs:
  26011. - Implemented SetTimer() and KillTimer()
  26012. 2004-08-24 11:16 pbartok
  26013. * XplatUIX11.cs:
  26014. - Now uses Remove instead of Add to kill the timer
  26015. 2004-08-24 10:16 jackson
  26016. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  26017. picture boxes in the theme now. Draw picture box borders and obey
  26018. sizing modes
  26019. 2004-08-24 05:49 jackson
  26020. * Timer.cs: Remove top secret debugging code
  26021. 2004-08-24 05:34 jackson
  26022. * PictureBox.cs: Temp hack to make picture boxes draw their full
  26023. image
  26024. 2004-08-24 05:29 jackson
  26025. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26026. XplatUIX11.cs: Move timers to the driver level. On X they are
  26027. queued by the driver and checked on idle.
  26028. 2004-08-24 01:07 jackson
  26029. * XplatUIX11.cs: Use a queue for async messages instead of passing
  26030. them as ClientMessages since that was totally broken. Also simply
  26031. check for events and return an idle message if none are found. This
  26032. gives us an idle handler, and prevents deadlocking when no messages
  26033. are in the queue.
  26034. 2004-08-23 18:19 ravindra
  26035. * XplatUIWin32.cs: Removed the unwanted destructor.
  26036. 2004-08-23 17:27 pbartok
  26037. * ButtonBase.cs:
  26038. - Finishing touches. Works now, just needs some optimizations.
  26039. 2004-08-23 16:53 jordi
  26040. * ScrollBar.cs: small fix
  26041. 2004-08-23 16:45 pbartok
  26042. * Application.cs:
  26043. - Removed debug output
  26044. - Simplifications
  26045. 2004-08-23 16:43 jordi
  26046. * ScrollBar.cs: [no log message]
  26047. 2004-08-23 16:10 pbartok
  26048. * Form.cs:
  26049. - Fixed handling of WM_CLOSE message
  26050. - Removed debug output
  26051. 2004-08-23 16:09 pbartok
  26052. * Application.cs:
  26053. - Added handling of Idle event
  26054. - Added handling of form closing
  26055. - Fixed reporting of MessageLoop property
  26056. - Removed some unneeded code, should provide a bit of a speedup
  26057. 2004-08-23 15:22 pbartok
  26058. * Control.cs:
  26059. - Added InitLayout() method
  26060. - Added code to properly perform layout when Anchor or Dock property
  26061. is changed
  26062. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  26063. LAMESPEC, tried to do it in a way that makes sense
  26064. 2004-08-23 14:10 jordi
  26065. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  26066. properties and methods
  26067. 2004-08-23 13:55 pbartok
  26068. * Control.cs:
  26069. - Properly fixed Jordi's last fix
  26070. - Now uses Cursor's Position property instead of calling XplatUI
  26071. directly
  26072. 2004-08-23 13:44 jordi
  26073. * PaintEventHandler.cs: Adding missing attribute
  26074. 2004-08-23 13:39 pbartok
  26075. * Cursor.cs:
  26076. - Implemented Position property
  26077. 2004-08-23 13:39 pbartok
  26078. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  26079. - Added method to move mouse cursor
  26080. 2004-08-23 13:39 pbartok
  26081. * XplatUIX11.cs:
  26082. - Fixed setting of background color
  26083. - Added method to move mouse cursor
  26084. 2004-08-23 13:16 jordi
  26085. * Control.cs: avoids null exception
  26086. 2004-08-22 17:46 jackson
  26087. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  26088. PictureBox
  26089. 2004-08-22 17:40 jackson
  26090. * XplatUIX11.cs: Add some missing locks
  26091. 2004-08-22 15:10 pbartok
  26092. * Control.cs, Form.cs:
  26093. - Removed OverlappedWindow style from Control, instead it's default
  26094. now is child
  26095. - Made form windows OverlappedWindow by default
  26096. 2004-08-22 13:34 jackson
  26097. * ScrollBar.cs: Update the position through the Value property so
  26098. the OnValueChanged event is raised.
  26099. 2004-08-22 12:04 pbartok
  26100. * SWF.csproj:
  26101. - Added Cursor.cs and UserControl.cs
  26102. 2004-08-22 12:03 pbartok
  26103. * Cursor.cs:
  26104. - Started implementation, not usable yet
  26105. 2004-08-22 12:00 pbartok
  26106. * UserControl.cs:
  26107. - Implemented UserControl (complete)
  26108. 2004-08-21 19:20 ravindra
  26109. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  26110. 2004-08-21 18:49 ravindra
  26111. * ToolBar.cs: Probably this completes the missing attributes in
  26112. toolbar control.
  26113. 2004-08-21 18:03 ravindra
  26114. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  26115. Fixed toolbar control signatures.
  26116. 2004-08-21 16:32 pbartok
  26117. * LinkLabel.cs:
  26118. - Signature Fixes
  26119. 2004-08-21 16:30 pbartok
  26120. * Label.cs:
  26121. - Signature fixes
  26122. 2004-08-21 16:19 pbartok
  26123. * Control.cs, Label.cs:
  26124. - Signature fixes
  26125. 2004-08-21 15:57 pbartok
  26126. * ButtonBase.cs:
  26127. - Added loads of debug output for development
  26128. - Fixed typo in method name
  26129. 2004-08-21 15:52 pbartok
  26130. * ToolBarButtonClickEventArgs.cs:
  26131. - Added missing base class
  26132. 2004-08-21 14:53 pbartok
  26133. * Control.cs:
  26134. - Updated to match new GrabWindow signature
  26135. 2004-08-21 14:51 pbartok
  26136. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26137. - Added method to get default display size
  26138. 2004-08-21 14:23 pbartok
  26139. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26140. - Added method to query current grab state
  26141. - Added argument to allow confining a grab to a window
  26142. 2004-08-21 14:22 pbartok
  26143. * Keys.cs:
  26144. - Added [Flags] attribute so that modifiers can be used in bitwise
  26145. ops
  26146. 2004-08-21 14:21 pbartok
  26147. * TrackBar.cs, ScrollBar.cs:
  26148. - Replaced direct XplatUI calls with their Control counterpart
  26149. 2004-08-21 13:32 pbartok
  26150. * Control.cs:
  26151. - Implemented Created property
  26152. 2004-08-21 13:28 pbartok
  26153. * Control.cs:
  26154. - Implemented ContainsFocus
  26155. 2004-08-21 13:26 pbartok
  26156. * Control.cs:
  26157. - Implemented CausesValidation
  26158. 2004-08-21 13:21 pbartok
  26159. * Control.cs:
  26160. - Implemented CanFocus
  26161. - Implemented CanSelect
  26162. - Implemented Capture
  26163. 2004-08-21 12:35 pbartok
  26164. * XplatUIWin32.cs:
  26165. - Fixed bug with Async message handling
  26166. - Implemented getting the ModifierKeys
  26167. 2004-08-21 12:32 jackson
  26168. * AsyncMethodResult.cs: Make sure we have the mutex before we
  26169. release it. Fixes BeginInvoke on windows
  26170. 2004-08-21 11:31 pbartok
  26171. * XplatUIWin32.cs, XplatUIX11.cs:
  26172. - Drivers now return proper mouse state
  26173. 2004-08-21 10:54 jackson
  26174. * Control.cs: Implement EndInvoke
  26175. 2004-08-21 10:48 jackson
  26176. * Timer.cs: Remove unneeded finalizer
  26177. 2004-08-20 19:52 ravindra
  26178. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  26179. in mouse event handling in the ToolBar control.
  26180. 2004-08-20 19:50 ravindra
  26181. * ImageList.cs: Changed draw method to use the arguments passed in
  26182. to draw the image.
  26183. 2004-08-20 18:58 pbartok
  26184. * XplatUIStructs.cs:
  26185. - Added private message for async communication
  26186. 2004-08-20 17:38 ravindra
  26187. * Control.cs: Made RightToLeft property virtual and removed a
  26188. Console.WriteLine.
  26189. 2004-08-20 14:39 jordi
  26190. * ThemeGtk.cs: use style_attach
  26191. 2004-08-20 14:39 pbartok
  26192. * XplatUIWin32.cs:
  26193. - Added jackson's Async code from X11 to Win32
  26194. 2004-08-20 14:09 pbartok
  26195. * SWF.csproj:
  26196. - Added all new files
  26197. 2004-08-20 14:09 pbartok
  26198. * Control.cs:
  26199. - Added call to set window background color
  26200. 2004-08-20 14:03 pbartok
  26201. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  26202. - Added method for setting the window background
  26203. 2004-08-20 14:02 pbartok
  26204. * XplatUIWin32.cs:
  26205. - Added method for setting the background color
  26206. - Added handling for erasing the window background
  26207. 2004-08-20 13:45 jordi
  26208. * TrackBar.cs: fixes timer, new properties and methods
  26209. 2004-08-20 13:34 jackson
  26210. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  26211. correct thread
  26212. 2004-08-20 13:22 jackson
  26213. * Timer.cs: Timer Tick events are now handed through Controls Async
  26214. mechanism so the callbacks are executed in the same thread as X
  26215. 2004-08-20 13:19 jackson
  26216. * XplatUIDriver.cs: Expose functionality to send async messages
  26217. through the driver
  26218. 2004-08-20 13:18 jackson
  26219. * Control.cs: Implement Begininvoke
  26220. 2004-08-20 13:14 jackson
  26221. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  26222. messages through the driver
  26223. 2004-08-20 13:12 jackson
  26224. * XplatUIX11.cs: Lock before all X operations. Also added Async
  26225. method functionality through XSendEvent
  26226. 2004-08-20 13:11 jackson
  26227. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  26228. This will screw up on 64 bit systems)
  26229. 2004-08-20 13:10 jackson
  26230. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  26231. Async messages through X/Win32
  26232. 2004-08-19 19:39 pbartok
  26233. * XplatUIX11.cs:
  26234. - Updated code to match new HandleData.DeviceContext type
  26235. 2004-08-19 19:38 pbartok
  26236. * HandleData.cs:
  26237. - Made DeviceContext a generic object to allow usage from various
  26238. drivers
  26239. - Added support for queueing Windows messages
  26240. 2004-08-19 19:37 pbartok
  26241. * XplatUIWin32.cs:
  26242. - Added generation of MouseEnter, MouseLeave and MouseHover events
  26243. - Added cleanup on EndPaint
  26244. 2004-08-19 19:17 pbartok
  26245. * Control.cs:
  26246. - Added handling of WM_MOUSEHOVER
  26247. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  26248. code
  26249. 2004-08-19 18:55 jordi
  26250. * ThemeGtk.cs: fixes button order
  26251. 2004-08-19 18:12 jordi
  26252. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  26253. 2004-08-19 17:09 pbartok
  26254. * Control.cs:
  26255. - Added Right property
  26256. - Added RightToLeft property
  26257. 2004-08-19 16:27 jordi
  26258. * ThemeGtk.cs: experimental GTK theme support
  26259. 2004-08-19 16:26 jordi
  26260. * ITheme.cs, Theme.cs: move themes from an interface to a class
  26261. 2004-08-19 16:25 jordi
  26262. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  26263. theme enhancaments
  26264. 2004-08-19 16:04 pbartok
  26265. * XplatUIX11.cs:
  26266. - Added colormap basics
  26267. - Added a way to re-initialize with a different display handle
  26268. - Fixed setting of the window background color
  26269. - Added various X11 imports related to colors and colormaps
  26270. 2004-08-19 15:51 pbartok
  26271. * X11Structs.cs:
  26272. - Removed packing hints (Paolo suggested this a while back)
  26273. - fixed colormap type
  26274. - Added default Atom types
  26275. - Added Screen and color structs and enums
  26276. 2004-08-19 15:39 pbartok
  26277. * ImageList.cs:
  26278. - Added missing Draw() method
  26279. - Added missing RecreateHandle event
  26280. 2004-08-19 15:30 pbartok
  26281. * Form.cs:
  26282. - Added handling of WM_CLOSE
  26283. 2004-08-18 13:16 jordi
  26284. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  26285. a table
  26286. 2004-08-18 09:56 jordi
  26287. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  26288. 2004-08-17 15:31 ravindra
  26289. * SWF.csproj: Updated project.
  26290. 2004-08-17 15:25 pbartok
  26291. * Control.cs:
  26292. - Drawing improvement; don't call UpdateBounds if we are not visible
  26293. (or have been minimized)
  26294. 2004-08-17 15:24 pbartok
  26295. * XplatUIWin32.cs:
  26296. - Finished IsVisible
  26297. - Added Win32GetWindowPlacement
  26298. 2004-08-17 15:08 jackson
  26299. * Panel.cs: Initial checkin of the Panel
  26300. 2004-08-17 14:25 pbartok
  26301. * Control.cs:
  26302. - Fixed broken handling of default window sizes
  26303. 2004-08-17 13:29 jackson
  26304. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  26305. has a large startup time.
  26306. 2004-08-17 10:25 jackson
  26307. * HandleData.cs: union areas properly
  26308. 2004-08-17 10:12 jackson
  26309. * HandleData.cs: union areas properly
  26310. 2004-08-16 20:00 ravindra
  26311. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  26312. 2004-08-16 18:48 ravindra
  26313. * ToolBar.cs: Added attributes.
  26314. 2004-08-16 17:17 ravindra
  26315. * SWF.csproj: Updated project.
  26316. 2004-08-16 17:16 jackson
  26317. * XplatUIX11.cs: Check for more expose events before sending a
  26318. WM_PAINT so they can all be grouped together. This makes dragging a
  26319. window across another window redraw in a sane way.
  26320. 2004-08-16 15:47 pbartok
  26321. * Control.cs:
  26322. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  26323. support OnMouseEnter/Leave()
  26324. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  26325. exposure handling
  26326. 2004-08-16 15:46 pbartok
  26327. * XplatUIStructs.cs, XplatUIX11.cs:
  26328. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  26329. OnMouseEnter/Leave()
  26330. 2004-08-16 15:34 jackson
  26331. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  26332. sure messages get the message field set to WM_NULL if they are not
  26333. handled.
  26334. 2004-08-16 15:24 jackson
  26335. * HandleData.cs: HandleData is used for storing message information
  26336. for window handles
  26337. 2004-08-15 17:23 ravindra
  26338. * ColorDepth.cs: Added attribute.
  26339. 2004-08-15 17:23 ravindra
  26340. * SWF.csproj: Updated project for ToolBar Control.
  26341. 2004-08-15 17:20 ravindra
  26342. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  26343. control and also dos2unix format.
  26344. 2004-08-15 17:13 ravindra
  26345. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  26346. ToolBarButtonClickEventArgs.cs,
  26347. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  26348. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  26349. 2004-08-15 15:31 pbartok
  26350. * ButtonBase.cs:
  26351. - First (mostly) working version
  26352. 2004-08-13 16:15 pbartok
  26353. * Control.cs:
  26354. - Fixed Anchor default
  26355. 2004-08-13 15:43 pbartok
  26356. * Control.cs:
  26357. - Changed GetCursorPos signature
  26358. 2004-08-13 15:42 pbartok
  26359. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  26360. - Changed signature for GetCursorPos
  26361. 2004-08-13 15:25 pbartok
  26362. * XplatUIX11.cs:
  26363. - Cleanup
  26364. - Fixed resizing/exposure handling
  26365. 2004-08-13 15:22 jordi
  26366. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  26367. with tickposition
  26368. 2004-08-13 14:55 jordi
  26369. * TrackBar.cs: change from wndproc to events
  26370. 2004-08-13 13:00 jordi
  26371. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26372. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  26373. 2004-08-13 12:53 pbartok
  26374. * XplatUIWin32.cs:
  26375. - Changed GetWindowPos to also provide client area size
  26376. - Fixed broken prototypes for several win32 functions
  26377. 2004-08-13 12:53 pbartok
  26378. * XplatUI.cs, XplatUIDriver.cs:
  26379. - Changed GetWindowPos to also provide client area size
  26380. 2004-08-13 12:52 pbartok
  26381. * XplatUIX11.cs:
  26382. - Added generation of WM_POSCHANGED
  26383. - Changed GetWindowPos to also provide client area size
  26384. 2004-08-13 12:52 pbartok
  26385. * Control.cs:
  26386. - Added Dispose() and destructor
  26387. - Fixed resizing and bounds calculation
  26388. - Fixed Layout
  26389. - Added memory savings for invisible windows
  26390. 2004-08-13 12:46 jordi
  26391. * TrackBar.cs: adds timer and grap window
  26392. 2004-08-13 10:25 jackson
  26393. * Timer.cs: SWF Timer
  26394. 2004-08-12 16:59 pbartok
  26395. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26396. - Implemented method to get current mouse position
  26397. 2004-08-12 14:29 jordi
  26398. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  26399. enhancement, fix mouse problems, highli thumb, etc
  26400. 2004-08-12 13:31 pbartok
  26401. * Control.cs:
  26402. - Fixed Anchoring bugs
  26403. 2004-08-12 13:01 jackson
  26404. * StatusBar.cs: Don't forget things
  26405. 2004-08-12 12:54 jackson
  26406. * ThemeWin32Classic.cs: Handle owner draw status bars
  26407. 2004-08-12 12:54 jackson
  26408. * StatusBar.cs: Implement missing properties, events, and methods.
  26409. Handle mouse clicking
  26410. 2004-08-12 10:19 jackson
  26411. * StatusBarPanelClickEventArgs.cs,
  26412. StatusBarPanelClickEventHandler.cs: Classes for handling status
  26413. bar panel click events
  26414. 2004-08-12 10:10 jackson
  26415. * Control.cs: Add missing properties
  26416. 2004-08-12 09:46 pbartok
  26417. * BindingsManagerBase.cs:
  26418. - Name changed to BindingManagerBase.cs
  26419. 2004-08-12 09:25 jordi
  26420. * ScrollableControl.cs: calls ctrlbase instead of exeception
  26421. 2004-08-11 16:28 pbartok
  26422. * InputLanguageChangingEventArgs.cs:
  26423. - Never check in before compiling. Fixes the last check-in
  26424. 2004-08-11 16:26 pbartok
  26425. * InputLanguageChangingEventArgs.cs:
  26426. - More signature fixes
  26427. 2004-08-11 16:20 pbartok
  26428. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  26429. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  26430. ImageListStreamer.cs, InputLanguage.cs,
  26431. InputLanguageChangedEventArgs.cs,
  26432. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  26433. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  26434. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  26435. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26436. - Signature fixes
  26437. 2004-08-11 16:16 pbartok
  26438. * Application.cs:
  26439. - Fixed Signature
  26440. - Added .Net 1.1 method
  26441. 2004-08-11 15:25 pbartok
  26442. * SWF.csproj:
  26443. - Fixed BindingManagerBase.cs filename
  26444. 2004-08-11 15:22 pbartok
  26445. * BindingManagerBase.cs:
  26446. - Was checked in with wrong filename
  26447. 2004-08-11 14:50 pbartok
  26448. * SWF.csproj:
  26449. - Updated
  26450. 2004-08-11 13:41 jordi
  26451. * XplatUIWin32.cs: Fixes ClientRect
  26452. 2004-08-11 13:19 pbartok
  26453. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26454. XplatUIX11.cs:
  26455. - We had SetWindowPos and MoveWindow to set window positions and
  26456. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  26457. keep SetWindowPos as matching counterpart
  26458. - Added some X11 sanity checking
  26459. 2004-08-11 12:59 pbartok
  26460. * Control.cs:
  26461. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  26462. (It seems that SetBounds is just a front for SetBoundsCore and
  26463. SetBoundsCore updates the underlying window system and
  26464. UpdateBounds is responsible for updating the variables associated
  26465. with the Control and sending the events)
  26466. - Major cleanup of Size handling; we now have two sizes, client_size
  26467. and bounds. Bounds defines the window with decorations, client_size
  26468. without them.
  26469. 2004-08-11 12:55 pbartok
  26470. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26471. - Added method to calculate difference between decorated window and
  26472. raw client area
  26473. 2004-08-11 12:54 pbartok
  26474. * Label.cs:
  26475. - Forcing redraw on resize
  26476. 2004-08-11 11:43 pbartok
  26477. * ImageList.cs:
  26478. - Removed disposing of the actual images when the list is disposed
  26479. 2004-08-11 09:13 pbartok
  26480. * Control.cs:
  26481. - Now properly reparents windows
  26482. 2004-08-11 08:37 pbartok
  26483. * Control.cs:
  26484. - Duh!
  26485. 2004-08-11 07:47 pbartok
  26486. * Control.cs:
  26487. - Rewrote the collection stuff. Might not be as fast now, not
  26488. keeping the number of children around and accessible directly, but
  26489. it's more straightforward
  26490. 2004-08-11 07:44 pbartok
  26491. * AccessibleObject.cs:
  26492. - Fixed to match ControlCollection rewrite
  26493. 2004-08-11 07:43 pbartok
  26494. * ImageList.cs:
  26495. - Added missing creation of the collection list
  26496. 2004-08-10 20:08 jackson
  26497. * StatusBar.cs: Get the paint message from WndProc
  26498. 2004-08-10 19:31 jackson
  26499. * ThemeWin32Classic.cs: Create Brushes as little as possible
  26500. 2004-08-10 19:20 jackson
  26501. * UICues.cs: Add Flags attribute
  26502. 2004-08-10 19:19 jackson
  26503. * StatusBarPanel.cs: Signature cleanup
  26504. 2004-08-10 19:10 jackson
  26505. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  26506. Initial implementation of status bar item drawing
  26507. 2004-08-10 17:27 jordi
  26508. * TrackBar.cs: add missing methods, properties, and restructure to
  26509. hide extra ones
  26510. 2004-08-10 16:24 jackson
  26511. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  26512. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  26513. attribute
  26514. 2004-08-10 13:21 jordi
  26515. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  26516. enhancements and standarize on win colors defaults
  26517. 2004-08-10 12:52 jackson
  26518. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  26519. ThemeWin32Classic.cs: Implement DrawItem functionality
  26520. 2004-08-10 12:47 jordi
  26521. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  26522. 2004-08-10 12:32 jordi
  26523. * Control.cs: throw ontextchange event
  26524. 2004-08-10 11:43 pbartok
  26525. * Control.cs:
  26526. - Added more to the still unfinished Dock/Anchor layout code
  26527. 2004-08-10 11:39 pbartok
  26528. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  26529. - Added GetWindowPos method
  26530. 2004-08-10 11:36 pbartok
  26531. * XplatUIWin32.cs:
  26532. - Implemented several methods
  26533. 2004-08-10 09:47 jackson
  26534. * TrackBar.cs: Allow control to handle buffering
  26535. 2004-08-10 09:41 jackson
  26536. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  26537. 2004-08-10 09:24 jackson
  26538. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  26539. 2004-08-10 09:09 jackson
  26540. * StatusBar.cs: Let Control handle all the buffering.
  26541. 2004-08-10 09:08 jackson
  26542. * Control.cs: Control will now handle the buffering code, so each
  26543. control does not have to implement this.
  26544. 2004-08-10 08:34 jackson
  26545. * XplatUIDriver.cs: Use default colors from the theme
  26546. 2004-08-09 17:12 pbartok
  26547. * ImageList.cs:
  26548. - Fixed several bugs Ravindra pointed out
  26549. 2004-08-09 16:11 pbartok
  26550. * Control.cs:
  26551. - Added incomplete dock layout code
  26552. - Added support for mouse wheel
  26553. 2004-08-09 16:09 pbartok
  26554. * XplatUIX11.cs:
  26555. - Added handling for middle and right mousebutton
  26556. - Added handling for mouse wheel
  26557. - Added handling for key state and mouse state and position
  26558. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  26559. messages
  26560. 2004-08-09 15:40 jackson
  26561. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  26562. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  26563. checkin
  26564. 2004-08-09 15:37 jackson
  26565. * StatusBar.cs: Initial implementation of StatusBar
  26566. 2004-08-09 15:36 jackson
  26567. * ITheme.cs: Add support for drawing status bar and getting status
  26568. bar item sizes
  26569. 2004-08-09 15:35 pbartok
  26570. * MouseButtons.cs:
  26571. - Fixed values
  26572. 2004-08-09 15:34 jackson
  26573. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  26574. status bar item sizes
  26575. 2004-08-09 15:21 jackson
  26576. * ThemeWin32Classic.cs: Use known colors for default control
  26577. colours
  26578. 2004-08-09 15:12 jackson
  26579. * ThemeWin32Classic.cs: Make the default font static, it is static
  26580. in control so this doesn't change functionality and creating fonts
  26581. is sloooooow.
  26582. 2004-08-09 14:56 pbartok
  26583. * X11Structs.cs:
  26584. - Added GrabMode enum
  26585. 2004-08-09 14:55 pbartok
  26586. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26587. - Removed Run method, was only required for initial development
  26588. 2004-08-09 14:51 pbartok
  26589. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26590. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  26591. capture
  26592. 2004-08-09 13:48 pbartok
  26593. * XplatUIX11.cs:
  26594. - Fixed default sizing for child windows
  26595. 2004-08-09 12:56 pbartok
  26596. * XplatUIX11.cs:
  26597. - Added generation of WM_DESTROY message
  26598. - Added handling of window manager induced shutdown
  26599. 2004-08-09 11:31 jackson
  26600. * ThemeWin32Classic.cs: New names for control properties
  26601. 2004-08-09 11:25 jackson
  26602. * Control.cs: Use new color names
  26603. 2004-08-09 11:02 jackson
  26604. * XplatUI.cs: Get default window properties from the theme
  26605. 2004-08-09 11:01 jackson
  26606. * ITheme.cs: The theme engine now controls default window
  26607. properties
  26608. 2004-08-09 11:00 jackson
  26609. * ThemeWin32Classic.cs: Add default window color properties
  26610. 2004-08-09 10:17 jackson
  26611. * ThemeWin32Classic.cs: Use correct default back color
  26612. 2004-08-09 10:05 jackson
  26613. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  26614. the theme now.
  26615. 2004-08-09 09:56 jackson
  26616. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  26617. 2004-08-09 09:54 jackson
  26618. * Control.cs: Get default properties from the theme.
  26619. 2004-08-09 09:53 jackson
  26620. * ITheme.cs: Themes now handle default control properties
  26621. 2004-08-09 09:53 jackson
  26622. * ThemeWin32Classic.cs: Themes now handle default control
  26623. properties so coloring will be consistent
  26624. 2004-08-08 16:54 jordi
  26625. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  26626. 2004-08-08 15:08 jordi
  26627. * XplatUIX11.cs: fixes keyboard crash
  26628. 2004-08-08 13:47 jordi
  26629. * Label.cs: add cvs header info
  26630. 2004-08-08 12:09 jackson
  26631. * ThemeWin32Classic.cs: Add pen_buttonface
  26632. 2004-08-08 11:52 jordi
  26633. * Label.cs, LinkLabel.cs: [no log message]
  26634. 2004-08-08 11:34 jordi
  26635. * ThemeWin32Classic.cs: Use Windows Standard Colours
  26636. 2004-08-07 17:32 jordi
  26637. * TrackBar.cs: throw exceptions of invalid enums values
  26638. 2004-08-07 17:31 jordi
  26639. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  26640. draw method name
  26641. 2004-08-07 16:56 jackson
  26642. * HorizontalAlignment.cs: Initial checkin
  26643. 2004-08-07 13:16 jordi
  26644. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  26645. methods
  26646. 2004-08-07 13:05 jordi
  26647. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  26648. GetSysColor defines
  26649. 2004-08-06 18:01 pbartok
  26650. * ThemeWin32Classic.cs:
  26651. - Fixed some rounding issues with float/int
  26652. 2004-08-06 18:00 jackson
  26653. * DockStyle.cs, AnchorStyles.cs:
  26654. Add flags and serializable attributes.
  26655. 2004-08-06 17:46 pbartok
  26656. * XplatUIX11.cs:
  26657. - Implemented GetParent
  26658. 2004-08-06 17:18 pbartok
  26659. * TrackBar.cs:
  26660. - Fixed some rounding issues with float/int
  26661. 2004-08-06 17:17 pbartok
  26662. * X11Structs.cs, XplatUIX11.cs:
  26663. - Fixed Refresh and Invalidate
  26664. 2004-08-06 15:30 pbartok
  26665. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  26666. - Fixed recursive loop when resizing
  26667. - Improved/fixed redrawing on expose messages
  26668. 2004-08-06 09:53 jordi
  26669. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  26670. keyboard navigation
  26671. 2004-08-06 08:02 pbartok
  26672. * X11Structs.cs, XplatUIX11.cs:
  26673. - Fixed reparenting
  26674. - Fixed window border creation
  26675. 2004-08-05 15:38 pbartok
  26676. * XplatUIX11.cs:
  26677. - Attempted fix for reparenting problems
  26678. 2004-08-04 15:14 pbartok
  26679. * Control.cs:
  26680. - Fixed Invalidation bug (calculated wrong client area)
  26681. - Added ClientSize setter
  26682. 2004-08-04 15:13 pbartok
  26683. * Form.cs:
  26684. - Added AutoScale properties
  26685. 2004-08-04 15:13 pbartok
  26686. * SWF.csproj:
  26687. - Added latest files
  26688. 2004-08-04 14:11 pbartok
  26689. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26690. XplatUIX11.cs:
  26691. - Added Invalidate handling
  26692. 2004-08-03 17:09 jordi
  26693. * XplatUIDriver.cs: fixes spelling mistake
  26694. 2004-07-27 09:53 jordi
  26695. * TrackBar.cs: fixes trackbar events, def classname, methods
  26696. signature
  26697. 2004-07-27 09:29 jordi
  26698. * ScrollBar.cs: fixes scrollbar events
  26699. 2004-07-27 04:38 jordi
  26700. * Control.cs: changes to be able to run winforms samples
  26701. 2004-07-26 11:42 jordi
  26702. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  26703. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  26704. 2004-07-26 05:41 jordi
  26705. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  26706. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  26707. implementation
  26708. 2004-07-22 09:22 jordi
  26709. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  26710. check link overlapping, implement events, and fixes
  26711. 2004-07-21 10:28 jordi
  26712. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  26713. 2004-07-21 10:19 jordi
  26714. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  26715. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  26716. LinkLabelLinkClickedEventArgs.cs,
  26717. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  26718. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  26719. implementation
  26720. 2004-07-19 13:09 jordi
  26721. * Control.cs, Label.cs: label control re-written: added missing
  26722. functionlity, events, and properties
  26723. 2004-07-19 10:49 jordi
  26724. * Control.cs: fixes SetBounds logic
  26725. 2004-07-19 01:29 jordi
  26726. * Control.cs: Call RefreshWindow only if the window has created
  26727. 2004-07-15 14:05 pbartok
  26728. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  26729. - Implemented ImageList and ImageList.ImageCollection classes
  26730. - Added ColorDepth enumeration
  26731. - Updated SWF VS.Net project
  26732. 2004-07-15 11:06 jordi
  26733. * XplatUIStructs.cs: added MsgButons enum
  26734. 2004-07-15 11:03 jordi
  26735. * Control.cs: added basic mouse handeling events
  26736. 2004-07-15 03:38 jordi
  26737. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  26738. Vertical TrackBar control implementation
  26739. 2004-07-13 09:33 jordi
  26740. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  26741. 2004-07-13 09:31 jordi
  26742. * Control.cs, Form.cs: commit: new properties and fixes form size
  26743. problems
  26744. 2004-07-09 14:13 miguel
  26745. * ProgressBar.cs: Spelling
  26746. 2004-07-09 11:25 pbartok
  26747. * ProgressBar.cs:
  26748. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  26749. faster
  26750. 2004-07-09 11:17 miguel
  26751. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  26752. * ProgressBar.cs: Fixed spelling for `block'
  26753. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  26754. style guidelines.
  26755. Avoid using the += on rect.X, that exposed a bug in the compiler.
  26756. 2004-07-08 23:21 pbartok
  26757. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  26758. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  26759. BaseCollection.cs, Binding.cs, BindingContext.cs,
  26760. BindingMemberInfo.cs, BindingsCollection.cs,
  26761. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  26762. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  26763. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  26764. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  26765. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  26766. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  26767. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  26768. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  26769. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  26770. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  26771. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  26772. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  26773. InputLanguageChangedEventArgs.cs,
  26774. InputLanguageChangedEventHandler.cs,
  26775. InputLanguageChangingEventArgs.cs,
  26776. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  26777. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  26778. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  26779. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  26780. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  26781. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  26782. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  26783. QueryAccessibilityHelpEventArgs.cs,
  26784. QueryAccessibilityHelpEventHandler.cs,
  26785. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  26786. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  26787. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  26788. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  26789. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  26790. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  26791. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  26792. XplatUIX11.cs, lang.cs:
  26793. - Initial check-in