ChangeLog 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208
  1. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  2. * Control.cs: Remove the ancient code in ResetText, which was setting
  3. the internal field to String.Empty, instead of doing it for our Text
  4. property, as .net does (which also causes a TextChanged event and all
  5. the other related routines).
  6. Fixes #531587.
  7. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  8. * TreeNodeCollection.cs: Correctly implement Contains by using a
  9. linear search - there's no possible way to use a binary search, since
  10. the node instances are not implementing IComparable, nor have a
  11. specific order.
  12. Fixes #529927.
  13. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  14. * DataGrid.cs: If we are *not* changing a row
  15. already added to the source, and thus we are adding a new
  16. row instead, try to move to the previous row when Esc is
  17. pressed -if possible-.
  18. Fixes some bits of #322974.
  19. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  20. * DataGridTextBoxColumn.cs:
  21. * DataGrid.cs: Moving the cell to the add row (the last one) should
  22. not immediately add a new row - this should happen until the very
  23. first change happens in that textbox.
  24. Fixes part of #322974.
  25. 2009-08-19 Carlos Alberto Cortez <[email protected]>
  26. * ToolStripDropDown.cs: When assigning the owner item, use its Font as
  27. well.
  28. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  29. * ToolStripItem.cs: When the owner changes its Font, call the
  30. OnFontChanged event, so we let our users know that we likely have a
  31. new font - since Font is an ambient property.
  32. * ToolStripDropDownItem.cs: When our Font changes, propagate that
  33. information to our DropDown control, if any.
  34. Fixes #531515.
  35. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  36. * DataGrid.cs:
  37. * ThemeWin32Classic.cs: When the user clicks on a new cell, we should reset any
  38. previous selection, just like .net does. Also, in the cases where a
  39. cell is being edited and it keeps the selected status, use the normal
  40. colors for it, and use the selected colors for the rest of the columns of
  41. that row.
  42. Fixes the remaining bits of #323051.
  43. 2009-08-16 Carlos Alberto Cortez <[email protected]>
  44. * DataGrid.cs: When getting ProcessKeyPreview fired, call Edit() if we
  45. are not editing already - so the edition is actually active on our
  46. column style textbox. Also, it seems the code handling process the
  47. grid keys is repeated, but instead of removing it, just comment it for
  48. now.
  49. Fixes part of #323051.
  50. 2009-08-13 Carlos Alberto Cortez <[email protected]>
  51. * AsyncMethodResult.cs: Store a exception field in case the called
  52. method actually caused an exception. This way we can throw it later.
  53. * XplatUIDriver.cs: Check if the async method result has an exception
  54. - throw it if needed.
  55. The idea is that Control.Invoke throws the exception from the thread
  56. that called it, not the main MWF thread.
  57. Patch by Tom Spink <[email protected]>. Fixes #497175.
  58. 2009-08-12 Carlos Alberto Cortez <[email protected]>
  59. * DataGrid.cs: In mouse move we need to shift the selection in case
  60. the pointer is on the row headers.
  61. Fixes #323052.
  62. 2009-08-11 Ivan N. Zlatev <[email protected]>
  63. * SplitContainer.cs: Avoid updating the splitter distance if it hasn't
  64. moved. Updating the distance was causing a re-layout which was resetting
  65. the clicks counter and preventing DoubleClick from every firing.
  66. [Fixes bug #521387]
  67. 2009-08-11 Carlos Alberto Cortez <[email protected]>
  68. * DataGrid.cs: When a new TableStyle is added, don't create new
  69. columns for it unless it is empty - this is the correct way to both
  70. respect the columns if they were provided by our user, or create them
  71. for him in case the column collection is empty.
  72. Fixes #323111.
  73. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  74. * DataGrid.cs: Actually call BindColumns in the handler for
  75. ListManager.MetaDataChanged, since the current code is already taking
  76. into account the scenario when a custom table style is used - this was
  77. confusing us before, and that's why we commented the call to
  78. BindColumns. Also call CallAreasAndInvalidate, to properly reflect the
  79. changes as needed.
  80. Fixes #465021.
  81. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  82. * DataGrid.cs: When setting the data source, if we have a user
  83. provided table style available, force a complete bind in case the
  84. column styles for that table style is empty.
  85. 2009-08-09 Ivan N. Zlatev <[email protected]>
  86. * DataGridViewCell.cs: Handle null and DBNull values.
  87. 2009-08-07 Rodrigo Kumpera <[email protected]>
  88. * ListBindingHelper.cs: Fix the 1.0 build by making this type available
  89. under that profile.
  90. 2009-08-07 Ivan N. Zlatev <[email protected]>
  91. * CurrencyManager.cs: Remove duplicate code.
  92. 2009-08-07 Ivan N. Zlatev <[email protected]>
  93. * DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs:
  94. Massive population performance boost. From seconds to ms.
  95. [Fixes bug #528887]
  96. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  97. * DataGrid.cs: When handling mouse down on a column, don't do any sort
  98. even if the list supports it if we are empty. This way we avoid an exc
  99. sorting the empty list, and keep the UI compatible with .net.
  100. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  101. * DataGrid.cs: In Edit () check we have any row before trying to use
  102. the current row. Fixes a IOOR exc with an empty data grid.
  103. 2009-08-03 Carlos Alberto Cortez <[email protected]>
  104. * DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
  105. the owner DataGrid - even if this seems to be the right thing to do,
  106. .net is not doind this check at this point, but in later operations.
  107. Fixes #465019.
  108. 2009-07-28 Mike Gorse <[email protected]>
  109. * ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.
  110. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  111. * Application.cs: Make FilterMessage internal for 1.1. Fixes the 1.1 build.
  112. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  113. * XplatUIX11.cs:
  114. * XplatUIWin32.cs: We need to filter the messages using
  115. Application.FilterMessage for our DoEvents implementations. Observe
  116. that I don't like the idea of XplatUI call the upper level Application
  117. class, but at this point is easier and simpler to do this call - based
  118. on the fact it's only one simple call.
  119. Fixes #516735.
  120. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  121. * TreeNodeCollection.cs: When removing the selected node, set the
  122. SelectedNode value of TreeView to null if there aren't more nodes left -
  123. this is better than to clear the selected node in Clear, since we need
  124. to handle the situation in the Remove methods as well.
  125. Fixes #525002.
  126. 2009-07-24 Carlos Alberto Cortez <[email protected]>
  127. * ToolStripItemCollection.cs: Find should do a case insensitive
  128. search, and should throw an ArgumentNullException if the parameter is
  129. an empty string.
  130. 2009-07-23 Carlos Alberto Cortez <[email protected]>
  131. * PropertyGrid.cs: Use click handlers for each ToolStripButton instead
  132. of using a global handler for the ToolStrip. This way the buttons can
  133. be recovered and can have its PerformClick method called properly.
  134. Fixes #522454.
  135. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  136. * X11Dnd.cs: Implement support for XdndActionList, so we can get the
  137. complete list of the supported actions in the drag source, and use the
  138. action passed in the Position message only as a fallback. This will
  139. help us with dnd operations with non winforms apps.
  140. Fixes #402158.
  141. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  142. * ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
  143. Find. This should fix the exception we were getting when trying to
  144. convert the ArrayList to an array of objects (since we were losing the
  145. type parameter).
  146. Fixes #519944.
  147. 2009-07-17 Carlos Alberto Cortez <[email protected]>
  148. * RadioButton.cs: Setting Checked when none of the sibligs is checked
  149. should happen *not* in GotFocus, but in the Enter event. This is
  150. specially important since we should get that Checked behaviour even if
  151. no handle is created yet - and thus, no actual GotFocus call happens at
  152. the time.
  153. Fixes #520764.
  154. 2009-07-16 Carlos Alberto Cortez <[email protected]>
  155. * ComboBox.cs: Adjust manually the top border for out internal
  156. ComboBox, since removing the border from it leaves it without any
  157. margin. This is not noticeable in a default ComboBox, but it is in an
  158. instance shown on top of ToolStrip.
  159. Fixes the remaining part of #507462.
  160. 2009-07-13 Carlos Alberto Cortez <[email protected]>
  161. * TextBoxBase.cs: Expose the margin top width as a property, to keep
  162. the code clean.
  163. * ToolStripTextBox.cs: Since we are actually using no border in the
  164. default TextBox impl, and we are drawing the border ourselves, we need
  165. to manually set the top margin.
  166. Fixes part of #507462.
  167. 2009-07-06 Carlos Alberto Cortez <[email protected]>
  168. * PrintPreviewDialog.cs: Record when left was pressed, so we can
  169. simulate Tab+Alt when moving the focus throughout our buttons and
  170. controls.
  171. Fixes the remaining bits of #509142.
  172. 2009-07-05 Carlos Alberto Cortez <[email protected]>
  173. * TabControl.cs: When computing the width of each tab page, use the
  174. page's Font instead of the tab control one.
  175. Fixes #514368.
  176. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  177. * MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
  178. the current menu is specifically a ContextMenu (this is what .net does
  179. as well). This way we also avoid a crash caused by MenuTracker trying
  180. to use the menu when it was already hidden.
  181. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  182. * PrintPreviewDialog.cs: Remove the code used to handle the
  183. DropDown menu, since we are now doing it by default in ToolBar, and
  184. just call the base impl as needed.Also, deactivate the dropdown menu
  185. before moving the focus to a different button in our toolbar, as .net
  186. does.
  187. * ContextMenu.cs:
  188. * MenuAPI.cs: Make as internal the needed bits to deactivate a
  189. ContextMenu, and also to keep some beauty in our api.
  190. 2009-07-02 Carlos Alberto Cortez <[email protected]>
  191. * ToolBar.cs: When handling the key down message, if we are on a
  192. drop down button, either show the DropDownMenu or pass the key to its
  193. ProcessCmdKey method as needed.
  194. Fixes the remaining bits of #509985.
  195. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  196. * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
  197. set current_item when navigating with the keyboard, so we can use it
  198. properly later. Finally, handle both Enter and Space to fire
  199. OnButtonClick *only*, without any other impact, as .net does.
  200. Fixes part of #509985.
  201. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  202. * MenuAPI.cs: Close any active menu when we get a simple Alt.
  203. Fixes #509299.
  204. 2009-06-26 Carlos Alberto Cortez <[email protected]>
  205. * ToolBar.cs: In OnButtonClick only change the Pushed value for
  206. buttons with toogle style. We were previously doing it for
  207. DropDownButton's buttons, but that's not what .net is doing.
  208. Fixes #510030.
  209. 2009-06-26 Atsushi Enomoto <[email protected]>
  210. * XplatUICarbon.cs : support multi-byte text input.
  211. Fixed bug #501276.
  212. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  213. * ListBox.cs: When creating DrawItemEventArgs, pass either
  214. Theme.ColorHighlightText or ForeColor depending on the selected state
  215. of our item, as .net does.
  216. Fixes #512115.
  217. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  218. * ComboBox.cs: When handling WM_CHAR, process the message first, and
  219. send it to the textbox only if it wasn't handled.
  220. Fixes #507459.
  221. 2009-06-18 Jonathan Pobst <[email protected]>
  222. * ComboBox.cs: Only do my big sort at the end of AddRange if
  223. the combobox is actually set to Sorted.
  224. 2009-06-18 Tom Hindle <[email protected]>
  225. * XplatUIX11.cs: Enabled Text to coexist with custom data formats.
  226. Fixes #511849.
  227. 2009-06-18 Carlos Alberto Cortez <[email protected]>
  228. * ListBox.cs: When calculating the scrollbars for non MultiColumn
  229. mode, force the use of the horizontal scrollbar only if
  230. ScrollAlwaysVisible is true as well.
  231. Fixes #513029.
  232. 2009-06-17 Jonathan Pobst <[email protected]>
  233. * ComboBox.cs: When using AddRange on a sorted combobox, don't
  234. try to use our inefficient sorted insert method, just append
  235. it and sort the whole thing at then end.
  236. [Fixes bug #511247]
  237. 2009-06-16 Carlos Alberto Cortez <[email protected]>
  238. * ToolBar.cs: Expose as internal the code used to show a dropdown menu.
  239. * PrintPreviewDialog.cs: Handle the down/up arrow keys for our
  240. DropDown element.
  241. Fixes #509152.
  242. 2009-06-16 Ivan N. Zlatev <[email protected]>
  243. * DataGridView.cs: Scrolling fixes.
  244. [Fixes bug #512816]
  245. 2009-06-16 Ivan N. Zlatev <[email protected]>
  246. * DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and
  247. optimize for batch adding rows.
  248. 2009-06-16 Ivan N. Zlatev <[email protected]>
  249. * DataGridView.cs: Avoid calling ReBind twice during the initial data
  250. binding.
  251. [Fixes bug #512807]
  252. 2009-06-16 Ivan N. Zlatev <[email protected]>
  253. * DataGridView.cs: Suppress invalidation during data binding.
  254. [Fixes part of bug #512807]
  255. 2009-06-15 Carlos Alberto Cortez <[email protected]>
  256. * PrintPreviewDialog.cs: Tune the navigation among the buttons and
  257. controls that are part of our ToolBar, so we can mimic the behaviour
  258. observed in .Net, by handling also the arrow keys and doing the
  259. preprocess for them too.
  260. Fixes the remaining bits of #509142.
  261. 2009-06-12 Carlos Alberto Cortez <[email protected]>
  262. * ToolBar.cs: Expose the current item as internal.
  263. * PrintPreviewDialog.cs: Tune the TabStop property for
  264. PrintPreviewControl/ToolBar so we match the .net scenario regarding
  265. Tab navigation. Also implement support to navigate throughout the
  266. items in the ToolBar.
  267. Fixes #509142.
  268. 2009-06-09 Ivan N. Zlatev <[email protected]>
  269. * DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs:
  270. Implement items syncing in the non-databound scenario.
  271. [Fixes bug #494031]
  272. 2009-06-09 Ivan N. Zlatev <[email protected]>
  273. * DataGridView.cs: Call OnCellValidating and OnCellValidated and
  274. handle the Cancel accordingly.
  275. [Fixes bug #506838]
  276. 2009-06-09 Ivan N. Zlatev <[email protected]>
  277. * DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
  278. [Fixes bug #506796]
  279. 2009-06-09 Ivan N. Zlatev <[email protected]>
  280. * DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs,
  281. DataGridView.cs: Fire CollectionChangeAction.Refresh collection
  282. changed when Clearing the collections so that the DataGridView
  283. can know and reset the current cell.
  284. [Fixes bug #492549]
  285. 2009-06-09 Ivan N. Zlatev <[email protected]>
  286. * BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor
  287. with the PropertyDescriptor parameter instead of index, because the
  288. latter will set some irelevant indices. Fixes a bug uncovered by recent
  289. fix to ListChangedEventArgs.
  290. 2009-06-09 Carlos Alberto Cortez <[email protected]>
  291. * DataObject.cs: When looking for any specific format, do a case
  292. insensitive search, as .net does.
  293. Fixes #509199.
  294. 2009-06-09 Ivan N. Zlatev <[email protected]>
  295. * CurrencyManager.cs: In AllowNew firstly check if the list is a
  296. IBindingList and proxy to AllowNew. IBindingList has slightly differet
  297. logic and eventhough it's an IList IsReadOnly should not be used in this
  298. case as it might be True but AllowNew could be True as well.
  299. Fixes a bug uncovered by a fix to the Array class.
  300. 2009-06-08 Carlos Alberto Cortez <[email protected]>
  301. * ListBindingHelper.cs: In GetListItemType do a null check when
  302. looking for IList.Item, since the impl could be explicit, and thus
  303. private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  304. Fixes the remaining part of #507120
  305. 2009-06-07 Carlos Alberto Cortez <[email protected]>
  306. * DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
  307. to match them in all the cases, as this is exactly what .net does.
  308. Fixes #510728.
  309. 2009-06-06 Carlos Alberto Cortez <[email protected]>
  310. * ListBindingHelper.cs: In GetListItemType handle gracefully the case
  311. where an instance of IEnumerator returns a null value for its Current
  312. property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  313. Fixes #507120.
  314. 2009-06-05 Carlos Alberto Cortez <[email protected]>
  315. * ComboBox.cs: Properly detect whether we need to use our vertical
  316. scrollbar or not, specially for DropDownList/DropDown styles,
  317. depending on the value of DropDownHeight.
  318. Fixes #508541.
  319. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  320. * ToolTip.cs: Call the base implementation in Dispose, but do it
  321. before anything else to avoid a regression. This way we do the default
  322. routines related to any System.ComponentModel.Container.
  323. Fixes #508586.
  324. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  325. * Clipboard.cs:
  326. * XplatUIX11.cs:
  327. * DataFormats.cs: Implement support for serializable types in our
  328. clipboard.
  329. Fixes #357642.
  330. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  331. * ColorDialog.cs: Actually add the help button to the form, so it can
  332. be visible.
  333. Fixes #478555.
  334. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  335. * PrintPreviewDialog.cs: Don't use Dock.Fill for the
  336. PrintPreviewControl, since it will be hidden in the top by our
  337. toolbar. Use manual location and anchoring instead.
  338. Fixes #474889.
  339. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  340. * FileDialog.cs: When saving the size of the dialog, use the
  341. ClientSize instead of Size, so we have always the same size for the
  342. form. Patch by Alex Shulgin.
  343. Fixes #503064.
  344. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  345. * MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
  346. show a beep, similar to what .net does.
  347. Fixes #473725.
  348. 2009-05-23 Carlos Alberto Cortez <[email protected]>
  349. * ContainerControl.cs:
  350. * MenuStrip.cs
  351. * ToolStrip.cs: Implicit mnemonic processing should happen for every
  352. ToolStrip child, not only for MenuStrip, so we are going to do that in
  353. ToolStrip.ProcessMnemonic, where we already had that exactly
  354. functionality, but we are only just checking that either this instance
  355. is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
  356. remove the extra code, since we are not going to use it now.
  357. Fixes the remaining bits of #503663.
  358. 2009-05-21 Neville Gao <[email protected]>
  359. * ContextMenu.cs: Cleaned up UIA properties.
  360. 2009-05-20 Dick Porter <[email protected]>
  361. * XplatUICarbon.cs: Add more locking around MessageQueue
  362. manipulations.
  363. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  364. * DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
  365. duplication of code, as well as actually getting the focus back in
  366. *any* scenario where the drop down is closed.
  367. 2009-05-18 Tom Hindle <[email protected]>
  368. * ScrollableControl.cs: Ignore setting properties HScroll and
  369. VScroll when AutoScroll is true.
  370. [Fixes bug #500213]
  371. 2009-05-18 Jonathan Pobst <[email protected]>
  372. * ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
  373. disabled graphics look closer to the ones that .Net produces.
  374. [Fixes bug #473660]
  375. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  376. * DateTimePicker.cs: When calculating the max width for the year part,
  377. use the current value, since *all* the possible values are exactly a 4
  378. digits number. This way we avoid a ArgumentOutOfRangeException trying
  379. to check against different values.
  380. Fixes #500917.
  381. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  382. * MessageBox.cs: When handling ProcessDialogChar, check that
  383. CancelButton is not null before trying to use it, to avoid a null ref
  384. exception. We don't need to do that on the ok/yes buttons, since they
  385. always exist.
  386. Fixes #503935.
  387. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  388. * ListBox.cs: Handle the key down event in WndProc instead of doing it
  389. in an event handler, as we need to avoid any operation in case
  390. the user has handled it in its own OnKeyDown handler, and this can't
  391. be achieved since our handler would be the first one always.
  392. * FontDialog.cs: Update the calls since our method handling key down
  393. has been renamed.
  394. Fixes #503469.
  395. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  396. * Application.cs: We should dismiss the active ToolStrip when we
  397. receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
  398. keyboard short cut can be properly processed by another menu item.
  399. Fixes part of #503663.
  400. 2009-05-13 Andreia Gaita <[email protected]>
  401. * HtmlDocument.cs: If the objects are strings, wrap them in ""
  402. 2009-05-13 Andreia Gaita <[email protected]>
  403. * HtmlDocument.cs: Fix InvokeScript call (duh).
  404. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  405. * TextBox.cs: Expose IsAutoCompleteAvailable as internal.
  406. * ComboBox.cs: If auto complete is being used, it is needed to update
  407. the actual value of the combo box, doing it immediately if the user
  408. presses Enter, or doing it when our combo box loses focus. Finally,
  409. when handling Enter and Escape keys for the combobox, don't try to
  410. hide the listbox if it is not visible in the first place.
  411. Fixes part of #489339.
  412. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  413. * ToolStripDropDownMenu.cs: Use the height returned by
  414. ToolStripItem.GetPreferredHeight to calculate our own height.
  415. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  416. * TreeNode.cs: When setting Checked, do a double null check, since the
  417. current node can still get a null parent handling
  418. TreeView.OnAfterCheck.
  419. Fixes #502567.
  420. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  421. * Control.cs: When assigning ContextMenu, do a null check before
  422. assigning its container field.
  423. 2009-05-08 Brad Taylor <[email protected]>
  424. * DateTimePicker.cs: Add a UIA-specific property to ensure that if
  425. is_checkbox_checked is changed, we won't break.
  426. 2009-05-08 Andrés G. Aragoneses <[email protected]>
  427. * ToolStripItem.cs: Prevent NRE when our holder is a
  428. ToolStripDropDownButton and we get Select()ed.
  429. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  430. * ToolStripControlHost.cs: DefaultSize must return the current size of
  431. the Control, not the value returned by GetPreferredSize. Also connect
  432. a handle to the control Resize event, and use it to fire
  433. OnHostedControlReize.
  434. Fixes the remaining bits of #483146.
  435. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  436. * ToolStripDropDown.cs: When performing the layout, use
  437. ToolStripItem.GetPreferredSize ().Height instead of
  438. ToolStripItem.Height, since we are already using it that way in this
  439. same method.
  440. Fixes part of ##483146.
  441. 2009-05-08 Brad Taylor <[email protected]>
  442. * DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers. Send
  443. OnUIASelectionChanged when ShowCheckbox is true and the checkbox
  444. recieves focus. Part of fix for #502029.
  445. 2009-05-06 Mike Gorse <[email protected]>
  446. * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
  447. Add PerformClick and PerformDoubleClick to PopupButton.
  448. Fixes #499851.
  449. 2009-05-04 Andrés G. Aragoneses <[email protected]>
  450. * TabControl.cs: call Focus() to emit GotFocus event at the
  451. proper time when SelectionIndex changes. Fixes #499887.
  452. 2009-05-03 Carlos Alberto Cortez <[email protected]>
  453. * MonthCalendar.cs: In SetBoundsCore always do the bounds check to
  454. have valid values, even if BoundSpecified is not including
  455. Size/Height/Width - this is useful when we are in a control using Dock
  456. or Anchor.
  457. Fixes part of #483146.
  458. 2009-04-27 Carlos Alberto Cortez <[email protected]>
  459. * ComboBox.cs: When losing the focus, if our textbox is not null,
  460. close its auto complete list, if any.
  461. Fixes part of #489339.
  462. 2009-04-27 Andrés G. Aragoneses <[email protected]>
  463. * ListView.cs: Make OnColumnClick +internal to be used by a11y.
  464. 2009-04-27 Brad Taylor <[email protected]>
  465. * ToolStripButton.cs: Emit an internal event when CheckOnClick is
  466. changed.
  467. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  468. * XplatUIX11.cs: Properly support UTF8 when handling the
  469. SelectionRequest event - this is helpful supporting some window
  470. managers, such KDE, that explictly request the text in utf8, as
  471. opposed to gnome, that supports ascii.
  472. Fixes #489393.
  473. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  474. * ToolStripDropDownItem.cs: When assigning a new
  475. ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
  476. Capture duties performed by Application/ToolStripManager are handled
  477. nicely and we don't end up in an inconsisten stat.
  478. Fixes #492815.
  479. 2009-04-25 Carlos Alberto Cortez <[email protected]>
  480. * ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
  481. any ToolStripDropDownItem when receiving a mouse down event in an
  482. empty area.
  483. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  484. * ToolBarButton.cs: add UIA events for style and dropdownmenu changes.
  485. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  486. * ToolBarButton.cs: rename a method to include UIA prefix.
  487. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  488. * ToolBarButton.cs: change visibility of some UIA methods from
  489. protected virtual to private.
  490. 2009-04-24 Carlos Alberto Cortez <[email protected]>
  491. * ToolStripDropDown.cs: In OnVisibleChanged, if we have an OwnerItem,
  492. fire OnDropDownOpened/OnDropDownClosed depending on the new
  493. visibility. This also ensures that any direct access to this instance
  494. will fire the mentioned events for the OwnerItem.
  495. * ToolStripDropDownItem.cs: Remove the invocations to
  496. OnDropDownOpened/OnDropDownClosed, since they are handled in
  497. ToolStripDropDown, as well as updating the
  498. OnDropDownHide/OnDropDownShow calls to be in the right order.
  499. Fixes #496193.
  500. 2009-04-21 Carlos Alberto Cortez <[email protected]>
  501. * Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any
  502. shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the
  503. event is the same as the owner of the menu item. Also set properly
  504. SourceControl for ContextMenuStrip, as well as add an internal field to
  505. contain the control that owns the ContextMenuStrip (we need to know this
  506. even before the public property is assigned).
  507. Fixes bits of #393775.
  508. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  509. * StatusStrip.cs: Use the same icon as .net when the mouse is over the
  510. size grip.
  511. Fixes #492828.
  512. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  513. * ComboBox.cs: When calculating the height of the ComboListBox,
  514. specially for the 2.0 profile, use MaxDropDownItems if the
  515. DropDownHeight property hasn't been set, and use the later if it has
  516. been set. This way we support both properties.
  517. Fixes #493308.
  518. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  519. * ThreadExceptionDialog.cs: Draw the error icon, previously missing.
  520. Fixes #474253.
  521. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  522. * ContainerControl.cs: Implement support for Control.CausesValidation,
  523. by adding a pending list of controls to be validated in the top
  524. container control, and postpone validation as needed.
  525. Also remove any control in the validation chain in case it gets removed
  526. from its owner before the pending validation actually happens.
  527. Fixes #457170.
  528. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  529. * ListBox.cs: The default instance StringFormat field used to draw our
  530. items should use the StringFormatFlags.NoWrap value, so it doesn't try
  531. to put in a different line the text that doesn't fit our bounds, but
  532. show it partially.
  533. Fixes #475581.
  534. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  535. * CheckedListbox.cs: When executing OnItemClick check that the index
  536. is different to -1 before trying to retrieve an item using that value.
  537. Fixes a ArgumentOutOfRangeException thrown when the horizontal
  538. scrollbar was visible but not needed, and then a clicked was received
  539. on its area.
  540. 2009-04-08 Carlos Alberto Cortez <[email protected]>
  541. * MaskedTextBox.cs: If Insert is pressed, change the internal
  542. overwrite mode for our default value.
  543. Fixes some bits of #477395.
  544. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  545. * ListView.cs: In EnsureVisible avoid any direct access to items if we
  546. are using virtual mode - otherwise use the bounds stored in a specific
  547. item in a given index. This is specially important when using groups
  548. or when items are re-arranged, since the position in the items
  549. collection can be different than that one being displayed.
  550. Fixes the rest of ##491978.
  551. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  552. * ThemeWin32Classic.cs: Include the previous check for ListView in a
  553. 2.0 define as needed.
  554. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  555. * ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups.
  556. Fixes part of #491978.
  557. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  558. * ToolTip.cs: New fields to store the title/icon information.
  559. * ThemeWin32Classic.cs: Implement support for tooltip's title and
  560. icon.
  561. Fixes #491978.
  562. 2009-04-03 Carlos Alberto Cortez <[email protected]>
  563. * TabControl.cs: When removing a tab that was previously selected, set
  564. internally the value of selected_index to -1, to avoid trying to
  565. access the previous one when trying to set the new one (and was
  566. already removed from the collection). This is what .net seems to do
  567. too.
  568. Fixes #490937.
  569. 2009-04-02 Carlos Alberto Cortez <[email protected]>
  570. * XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
  571. separated, and we cannot fallback on Text if Rtf is requested but not
  572. present.
  573. * Clipboard.cs: Actually use the format specified by our user when
  574. putting data.
  575. 2009-03-31 Carlos Alberto Cortez <[email protected]>
  576. * X11Clipboard.cs: Actually look for the RtfText format when calling
  577. GetRftText in our clipboard formats list, instead of using the
  578. generical Text format.
  579. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  580. * TextBox.cs: Process auto completion properly when we are using the
  581. internal source provided by ComboBox, and also remove some repeated
  582. checks.
  583. Fixes #489339.
  584. 2009-03-30 Tom Hindle <[email protected]>
  585. * DataGridView added Support for Invisible Columns to
  586. AutoFillColumnsInternal method.
  587. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  588. * X11Structs:
  589. * X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to
  590. its own file, since it is adding some functionality and thus is not a
  591. simple struct as before.
  592. * XplatUIX11.cs: Add support to store different formats that could
  593. have been specified by the user when puting data in the Clipboard -
  594. this is important when more than one format is supported (such plain
  595. text and rtf text). Update in the needed places, as well as simplify
  596. the code.
  597. Fixes #489625.
  598. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  599. * XplatUIX11.cs: When handling the SelectionRequest event, use
  600. SelectionRequestEvent instead of SelectionEvent, so we get the right
  601. data for the app asking for clipboard data. Set the member of
  602. SelectioneEvent.property to indicate the place where we are storing
  603. the information as well - this is specially important for gnome/kde
  604. apps using the TARGETS atom to ask for the supported permission before
  605. actually asking for a specific format.
  606. Fixes #489393.
  607. 2009-03-28 Ivan N. Zlatev <[email protected]>
  608. * DataGridViewCell.cs: We don't support drawing all types of cell borders,
  609. so fallback and at least draw something instead of nothing.
  610. 2009-03-27 Ivan N. Zlatev <[email protected]>
  611. * DataGridView.cs: If the column header isn't visible allow resizing
  612. using the cell column border. Also be sure to reset the cursor properly.
  613. [Fixes bug #489929]
  614. 2009-03-26 Carlos Alberto Cortez <[email protected]>
  615. * ToolStrip.cs: When disposing, iterate over the items in reverse
  616. order, since disposing the items modifies the collection.
  617. * ToolStripItem.cs: Remove from the owner when disposing.
  618. Fixes #485769.
  619. 2009-03-26 Ivan N. Zlatev <[email protected]>
  620. * DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No
  621. longer throws a NotImplementedException.
  622. Based on a patch by Tom Hindle <[email protected]>
  623. [Fixes bug #488319]
  624. 2009-03-26 Ivan N. Zlatev <[email protected]>
  625. * DataGridView.cs: Implement IsCurrentRowDirty. No longer throws
  626. NotImplementedException.
  627. 2009-03-26 Ivan N. Zlatev <[email protected]>
  628. * DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs:
  629. Fix SortMode clash handling.
  630. [Fixes bug #488263]
  631. 2009-03-26 Ivan N. Zlatev <[email protected]>
  632. * DataGridView.cs: Do not show the vertical scrollbar if there is only
  633. one row or less. For the sake of MSNET compatibility.
  634. [Fixes bug #487988]
  635. 2009-03-26 Ivan N. Zlatev <[email protected]>
  636. * DataGridView.cs: When the current cell is moved out of the editing row
  637. be sure to reset it back to a place holder row.
  638. 2009-03-19 Ivan N. Zlatev <[email protected]>
  639. * DataGridView.cs: If IsHandleCreated and the very first row is added
  640. to the grid in a non-databound scenario - select the first cell.
  641. [Fixes bug #486881]
  642. 2009-03-19 Ivan N. Zlatev <[email protected]>
  643. * DataGridView.cs: If we are not databound and empty once the first row
  644. gets added select the first cell.
  645. [Fixes bug #486881]
  646. 2009-03-19 Ivan N. Zlatev <[email protected]>
  647. * DataGridView.cs, DataGridViewColumn.cs: Do not set Row/CellTemplate's
  648. DataGridView. They do not belong to a DataGridView.
  649. [Fixes bug #486645]
  650. 2009-03-19 Ivan N. Zlatev <[email protected]>
  651. * DataGridViewCellCollection.cs, DataGridViewColumnCollection.cs:
  652. Set indices and associate with DataGridView only after the item is
  653. add to the internal list.
  654. [Fixes part of bug #486645]
  655. 2009-03-19 Ivan N. Zlatev <[email protected]>
  656. * DataGridView.cs: Do not add any cells to the FullRowTemplate in RowCount.
  657. FullRowTemplate already contains all the cells.
  658. [Fixes part of bug #486645]
  659. 2009-03-19 Ivan N. Zlatev <[email protected]>
  660. * DataGridView.cs, DataGridViewCellCollection.cs: Split the column removal
  661. to perform Pre and Post removal actions to allow the current cell to be
  662. moved and all events fired properly before the column is removed.
  663. 2009-03-19 Ivan N. Zlatev <[email protected]>
  664. * DataGridView.cs, DataGridViewRow.cs: Split the row removal to perform Pre and
  665. Post removal action to allow the current cell to be moved and all events fired
  666. properly before the row is removed.
  667. 2009-03-18 Ivan N. Zlatev <[email protected]>
  668. * DataGridView.cs: Fire CellEnter and CellLeave events for the Cell.
  669. [Fixes bug #486640]
  670. 2009-03-18 Jonathan Pobst <[email protected]>
  671. * XplatUICarbon.cs: Commit patch from Alex Shulgin that fixes window
  672. placement of popup windows on OSX.
  673. 2009-03-18 Matt Guo <[email protected]>
  674. * FontDialog.cs: Override "ToString" for FontDialog.ColorComboBox.ColorComboBoxItem
  675. [Fixes bug #482690]
  676. 2009-03-18 Ivan N. Zlatev <[email protected]>
  677. * DataGridView.cs: Implement the CellMouseDoubleClick event.
  678. [Fixes bug #486262]
  679. 2009-03-18 Ivan N. Zlatev <[email protected]>
  680. * DataGridView.cs: Fix scrolling to take into account that the
  681. scrollbars are actually inside the client area of the datagridview.
  682. 2009-03-18 Ivan N. Zlatev <[email protected]>
  683. * DataGridView.cs: Implement mouse wheel scrolling.
  684. [Fixes bug #486159]
  685. 2009-03-17 Ivan N. Zlatev <[email protected]>
  686. * DataGridView.cs: When DataSource changes the rebinding should happen
  687. not if IsHandleCreated but if BindingContext != null.
  688. [Fixes bug #486013]
  689. 2009-03-17 Ivan N. Zlatev <[email protected]>
  690. * DataGridView.cs: Browsable(false) properties should be skipped when
  691. autogenerating the columns.
  692. [Fixes bug #486021]
  693. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  694. * DomainUpDown.cs: When ReadOnly is true, all the text entered by the
  695. user should use a different handling, trying to use every pressed char
  696. as a unique and only one prefix to compare against the items. Also,
  697. refactor some input check code to avoid duplication.
  698. Fixes #458607.
  699. 2009-03-16 Ivan N. Zlatev <[email protected]>
  700. * DataGridViewCell.cs: In OwningColumng Handle invalid column index
  701. silently.
  702. [Fixes bug #485278]
  703. 2009-03-16 Ivan N. Zlatev <[email protected]>
  704. * DataGridViewBand.cs: Update our State whenever a property changes.
  705. * DataGridView.cs: Don't be so generous in reseting Displayed, because
  706. it will spawn lots and lots of unneeded State changed events.
  707. [Fixes bug #484989]
  708. 2009-03-16 Ivan N. Zlatev <[email protected]>
  709. * DataGridView.cs, DataGridViewRow.cs, DataGridViewColumn.cs:
  710. Add support for invisible rows and columns.
  711. [Fixes bug #484951]
  712. 2009-03-16 Ivan N. Zlatev <[email protected]>
  713. * DataGridViewCell.cs: Escape literal { in ToString.
  714. * DataGridViewTextBoxCell.cs: Fix ToString.
  715. [Fixes bug #484923]
  716. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  717. * MenuAPI.cs: When navigating items using the keyboard properly handle
  718. the case when no item is selected - this way we should try to select
  719. the first or the last item depending on the direction, but no the
  720. second or third one, etc.
  721. 2209-03-15 Carlos Alberto Cortez <[email protected]>
  722. * Form.cs: When calling ProcessCmdKey, just after checking for any
  723. MainMenu, check if there's an active ContextMenu that is *not* owned
  724. by the form - this is needed when a non-focusable control owns a
  725. ContextMenu but its ProcessCmdKey method can't be called since it
  726. can't receive any input.
  727. Fixes #477655.
  728. 2009-03-13 Neville Gao <[email protected]>
  729. * ToolBar.cs: Sent ButtonClick events when button style is DropDown.
  730. * ContextMenu.cs: Add UIA Framework property UIAVisible to detect if
  731. ContextMenu is displayed.
  732. 2009-03-12 Carlos Alberto Cortez <[email protected]>
  733. * XplatUIX11.cs: In GetMessage when F1 gets pressed, besides sending a
  734. WM_HELP message for the associated window, don't call
  735. NativeWindow.WndProc *at all*, since this could send a WM_*
  736. key-related to Control.WndProc. Also, return the keypress message, in
  737. case it needs to be preprocessed for any menu.
  738. Fixes #478476.
  739. 2009-03-08 Ivan N. Zlatev <[email protected]>
  740. * DataGridView.cs: When removing the first displayed row and moving
  741. the current cell up one we must invalidate the first displayed row
  742. index before calculating the row heights, etc.
  743. [Fixes bug #483202]
  744. 2009-03-08 Ivan N. Zlatev <[email protected]>
  745. * DataGridView.cs: Fix three column bugs:
  746. - Rows should be cleared (but not removed) if columns become 0.
  747. - The current cell should get moved
  748. - ColumnCount increase was adding too many columns.
  749. 2009-03-07 Ivan N. Zlatev <[email protected]>
  750. * DataGridView.cs: Fix RowCount decrease which wasn't working well
  751. in both scenarions - with and without editing row.
  752. 2009-03-06 Ivan N. Zlatev <[email protected]>
  753. * DataGridView.cs: Be compatible with MS in that the scroll to
  754. selection has a synchronous effect. The trick here is that in
  755. order to avoid unnecessary calculations each time a row/column
  756. is added/removed we recalculate the whole grid size just before
  757. just before the scroll to selection.
  758. [Fixes bug #482478]
  759. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  760. * RichTextBox.cs: LoadFile(string path) should pass by default
  761. RichTextBoxStreamType.RichText, without caring about the detection or
  762. extension of the file.
  763. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  764. * RichTextBox.cs: When calling LoadFile, remove the extra EOL
  765. introduced by StreamReader, since it will convert the EOF to an EOL.
  766. Fixes #479646.
  767. 2009-03-06 Jonathan Pobst <[email protected]>
  768. * ToolStripDropDownMenu.cs: Use Math.Max instead of calculating
  769. preferred size twice.
  770. 2009-03-06 Jonathan Pobst <[email protected]>
  771. * ToolStripMenuItem.cs: Don't draw the dropdown arrow or shortcut
  772. string if we aren't on a ToolStripDropDownMenu.
  773. 2009-03-06 Jonathan Pobst <[email protected]>
  774. * ToolStripDropDownButton.cs, ToolStripItem.cs: Refactor some Button
  775. code from Item to Button. Patch from Alex Shulgin.
  776. 2009-03-05 Jonathan Pobst <[email protected]>
  777. * ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
  778. * ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
  779. not a ToolStripDropDown.
  780. * ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.
  781. 2009-03-04 Ivan N. Zlatev <[email protected]>
  782. * DataGridView.cs: Fix RowCount/ColumnCount decreasing.
  783. Based on a patch by Tom Hindle <[email protected]>
  784. [Fixes bug #482133]
  785. 2009-03-04 Ivan N. Zlatev <[email protected]>
  786. * DataGridView.cs, DataGridViewElement.cs:
  787. - Always calls OnDataGridViewChanged() if the new DGV is
  788. not the same/null as the current one.
  789. - Do not throw NREs when setting TopLeftHeaderCell to null
  790. - Unset the DGV for TopLeftHeaderCell when replacing it
  791. Based on a patch by Tom Hindle <[email protected]>
  792. [Fixes bug #481681]
  793. 2009-03-04 Jonathan Pobst <[email protected]>
  794. * ToolStripDropDown.cs: When dismissing control due to ESC, don't
  795. hit a NRE if we are a ContextMenuStrip and do not have a parent.
  796. [Fixes bug #478616]
  797. 2009-03-01 Carlos Alberto Cortez <[email protected]>
  798. * ListView.cs: When removing items from a ListViewItemCollection
  799. contained in ListView (not in ListViewGroup), before actually removing
  800. the items remove them also from their -if any- associated groups. If
  801. the item is present in ListViewGroup.Items but not in ListView.Items,
  802. then don't remove it - this is *exactly* what .net seems to do.
  803. Fixes the remaining bits of #478689.
  804. 2009-02-28 Carlos Alberto Cortez <[email protected]>
  805. * ListView.cs: In our MouseDown handler in ItemControl use the item in
  806. the very specific *real* position where the mouse was pressed, using
  807. GetItemAtDisplayIndex for that purpose, instead of directly accessing
  808. Items - this is specially useful when groups with Details view is
  809. used. This is what we do in other places when using groups.
  810. Fixes part of #478689.
  811. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  812. * MaskedTextBox.cs: Properly replace selection when a new valid key
  813. is pressed - even when IsOverwriteMode is false. This is what .net
  814. does.
  815. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  816. * MaskedTextBox.cs: When setting Text and RejectOnFirstFailure is
  817. true, use MaskedTextProvider.Set instead of MaskedTextProvider.Replace,
  818. since Set will keep the previous value in case of error (just what we
  819. need), but still call MaskedTextProvider.Clear if
  820. RejectOnFirstFailure is false - match .net.
  821. 2009-02-26 Carlos Alberto Cortez <[email protected]>
  822. * MaskedTextBox.cs: When setting Text use the very precise algorithm
  823. that .net uses: iterate over every char of the new value, trying to
  824. use every char, and use a normal call to MaskedTextProvider.Replace
  825. call if RejectInputOnFirstFailure is true. Fire OnMaskInputRejected
  826. in case of error in both cases, as well.
  827. Fixes #477408.
  828. 2009-02-25 Neville Gao <[email protected]>
  829. * ColorDialog.cs: Added UIA Framwork Property:
  830. UIASelectedSmallColorControl.
  831. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  832. * MaskedTextBox.cs: Forgot to update the call of the new method
  833. introduces in the previous patch.
  834. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  835. * MaskedTextBox.cs: Handle OnKeyDown to properly process the Delete
  836. key. Also create a new method to avoid code duplication between
  837. OnKeyDown and OnKeyPress.
  838. Fixes #477388.
  839. 2009-02-24 Ivan N. Zlatev <[email protected]>
  840. * DataGridViewCell.cs: Invalidate the datagrid when the cell is selected
  841. or deselected.
  842. [Fixes bug #479124]
  843. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  844. * MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
  845. actually inversed, so put it the right way. Also, don't automatically
  846. look for the next editable item after adding a new one, but way for
  847. the next insertion (this is what .net does) - this is not needed when
  848. MaskedTextProvider.InsertAt is called however, since it already looks for the
  849. next editable position.
  850. Fixes the remaining bits of #477383.
  851. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  852. * MaskedTextBox.cs: In OnKeyPress handle backspace by calling
  853. MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
  854. property after the text was modified, adjust the testPosition value
  855. depending on what method was called.
  856. Fixes part of #477383.
  857. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  858. * ListView.cs: For EnsureVisible, adjust the view port bounds based on
  859. the existence of the column headers, as well as using this information
  860. to adjust the vscrollbar value, so items never get hidden by the
  861. column headers.
  862. Fixes #478498.
  863. 2009-02-23 Ivan N. Zlatev <[email protected]>
  864. * DataGridView.cs: Make the ScrollBars property work properly.
  865. 2009-02-22 Carlos Alberto Cortez <[email protected]>
  866. * TextBox.cs: Some code lifting for AutoComplete's support. First,
  867. when handling non-navigation keys, save the original Text typed by the
  868. user, and don't motify it BEFORE. This was a design mistake, since the
  869. re-assignation happens only when navigating the append/suggest list,
  870. not while creating the matches. Also, process the Delete key just like
  871. the backspace one. Finally, when handling WM_CHAR, ignore both Escape
  872. and Enter keys.
  873. Fixes some missing bits of #469967.
  874. 2009-02-22 Ivan N. Zlatev <[email protected]>
  875. * DataGridView.cs: Fix row removal in the data-bound scenario.
  876. 2009-02-19 Ivan N. Zlatev <[email protected]>
  877. * DataGridViewCell.cs: Use strict equality comparison in order to
  878. prevent superfluous CellValueChanged events.
  879. 2009-02-19 Ivan N. Zlatev <[email protected]>
  880. * DataGridView.cs: Do not reset the columns when the data list changes,
  881. but only the rows. Fixes multiple bugs related to sorting, custom
  882. column styles being reset and more.
  883. 2009-02-19 Jonathan Pobst <[email protected]>
  884. * ThemeWin32Classic.cs: Respect a PictureBox's Padding when
  885. drawing the image.
  886. 2009-02-18 Andrés G. Aragoneses <[email protected]>
  887. * ToolBarButton.cs: Oops, use the correct event (fix r127298).
  888. 2009-02-17 Andrés G. Aragoneses <[email protected]>
  889. * ToolBarButton.cs: Event for Enabled property (needed to fix
  890. UIA #474197).
  891. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  892. * TextBox.cs: When handling WndProc with autocomplete activated,
  893. event if the new text is not causing any change in the look up
  894. algorithm, save it as we normally do when numbers and letters.
  895. Fixes #469967.
  896. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  897. * TreeNode.cs: When Text/StateImageIndex/StateImageKey/NodeFont change
  898. Invalidate the proper bounds in the TreeView, not only resetting the
  899. width.
  900. Fixes #475542.
  901. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  902. * TreeNode.cs: Don't return TreeView.BackColor when retrieving our own
  903. BackColor property. This is what .net does in both 1.1 and 2.0.
  904. * TreeView.cs: When selected_node is not the same as highlighted_node,
  905. we need to handle the back color in a different way, trying to use the
  906. node's BackColor if it's not Color.Empty.
  907. Fixes #464200.
  908. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  909. * TreeView.cs: When canceling selection in our MouseUp handler,
  910. invalidate also the previous selected node bounds.
  911. Fixes #464191.
  912. 2009-02-07 Ivan N. Zlatev <[email protected]>
  913. * DataGridView.cs: End or if end fails then cancel the current edit
  914. operation before clearing the data source.
  915. 2009-02-07 Ivan N. Zlatev <[email protected]>
  916. * DataGridView.cs: Data-bind only after the handle is created.
  917. [Fixes bug #473680]
  918. 2009-02-06 Carlos Alberto Cortez <[email protected]>
  919. * TreeView.cs: When handling the MouseMove event, check if
  920. focused_node and selected_node fields are null - usually they are non
  921. null, since we have always a selected node, but canceling selection by
  922. handling BeforeSelect event leaves the two of them as null.
  923. Fixes #470451.
  924. 2009-02-06 Neville Gao <[email protected]>
  925. * TabControl.cs: Control enabled to support accessibility.
  926. [Fixes Bug #472428]
  927. 2009-02-05 Ivan N. Zlatev <[email protected]>
  928. * DataGridViewRowCollection.cs, DataGridView.cs: Fix row insertation:
  929. - Use ArrayList.Insert instead of the Item property so that the item
  930. is actually inserted and not an existing item replaced.
  931. - Call DataGridView.OnRowsAddedInternal and drop internal from
  932. OnRowsAdded for binary compitability. This also fixes several
  933. redrawing issues.
  934. [Fixes bug #472968]
  935. 2009-02-05 Andrés G. Aragoneses <[email protected]>
  936. * ToolBarButton.cs: Doh, fire OnUIATextChanged *after* setting
  937. the value.
  938. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  939. * ToolBarButton.cs: Add another event (OnUIATextChanged).
  940. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  941. * ToolBarButton: Fix typo in previous commit (r125704).
  942. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  943. * ToolBar.cs, ToolBarButton.cs: Add new UIA events to know
  944. when a button gets focus, firing the events from the ToolBar.
  945. r: jpobst
  946. 2009-02-04 Mario Carrion <[email protected]>
  947. * ColumnHeader.cs: Raising ListView.ColumnWidthChanged when setting
  948. Width.
  949. * ListView.cs: Internal method added: RaiseColumnWidthChanged, used by
  950. ColumnHeader to raise ColumnWidthChanged.
  951. [Fixes Bug #467086]
  952. 2009-02-03 Ivan N. Zlatev <[email protected]>
  953. * DataGridViewRowCollection.cs, DataGridView.cs: Move row completion
  954. code in the row collection code, so that the completion happens before
  955. the CollectionChanged event, also better encapsulation.
  956. [Fixes bug #471987]
  957. 2009-02-02 Ivan N. Zlatev <[email protected]>
  958. * DataGridView.cs: When editing is finished do not remove the editing
  959. row, because it has already become a real one. Instead add a new one.
  960. [Fixes bug #471754]
  961. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  962. * TreeView.cs: When drawing the node's image, check that the index
  963. specified by the node is valid for the ImageList.
  964. Fixes #471094.
  965. 2009-02-02 Andrés G. Aragoneses <[email protected]>
  966. * ToolBar.cs: Add new UIAPerformClick method to be called by
  967. UIAutomationWinforms when someone calls Invoke() on the
  968. ToolBarButtonProvider. r: jpobst
  969. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  970. * XplatUIX11.cs: Don't send a WM_SHOWWINDOW message when receiving
  971. MapNotify/UnmapNotify events - we are already firing those events in
  972. the proper places, so we avoid this way to send the same message two
  973. times. I'm leaving the handling code in case we could break something
  974. in the future, as this change seems dangerous (but needed).
  975. Fixes #467546.
  976. 2009-02-01 Ivan N. Zlatev <[email protected]>
  977. * DataGridView.cs: Complete incomplete rows when they are added to
  978. the grid.
  979. [Fixes bug #471068]
  980. 2009-02-01 Ivan N. Zlatev <[email protected]>
  981. * DataGridView.cs, DataGridViewColumnCollection.cs: Ensure that the
  982. binding is cleared prior to setting it to null. Fixes a regression
  983. causing exceptions when the DataSource is set to null and then set
  984. again to a data source.
  985. 2009-02-01 Ivan N. Zlatev <[email protected]>
  986. * DataGridView.cs, DataGridViewImageColumn.cs, DataGridViewCell.cs:
  987. - Make Image/Bitmap cells work.
  988. - Handle images with size greater than the cell.
  989. - Default to MiddleCenter alignment for image cells.
  990. [Fixes bug #471101]
  991. 2009-01-30 Ivan N. Zlatev <[email protected]>
  992. * UpDownBase.cs: Force Height to PreferredHeight.
  993. 2009-01-29 Carlos Alberto Cortez <[email protected]>
  994. * XplatUIX11.cs: We should use utf8 handling clipboard transference
  995. with other x11 applications, and use utf16 when handling clipboard
  996. data in the class library. Update the related points as well.
  997. Fixes #468683.
  998. 2009-01-28 Ivan N. Zlatev <[email protected]>
  999. * DataGridViewCell.cs: Format strings according to the supplied
  1000. CellStyle.Format.
  1001. [Fixes bug #470384]
  1002. 2009-01-28 Ivan N. Zlatev <[email protected]>
  1003. * DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
  1004. addition or removal. Fixes multiple crashes in OnMouseMove.
  1005. 2009-01-27 Ivan N. Zlatev <[email protected]>
  1006. * DataGridView.cs: Fix a NRE when setting the CurrentCell to null.
  1007. 2009-01-27 Ivan N. Zlatev <[email protected]>
  1008. * XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
  1009. current context.
  1010. [Fixes bug #469239]
  1011. 2009-01-26 Andreia Gaita <[email protected]>
  1012. * WebBrowser.cs: fix initial value of ScrollbarsEnabled, so they
  1013. won't be disabled by default.
  1014. Fixes #468690
  1015. 2009-01-26 Ivan N. Zlatev <[email protected]>
  1016. * DataGridView.cs: Do not clear the rows if we are not databound.
  1017. 2009-01-26 Ivan N. Zlatev <[email protected]>
  1018. * DataGridView.cs: Do not be too smart about selecting the first cell
  1019. when the first row is added as this is not what MS does. Fixes the
  1020. failing unit tests.
  1021. 2009-01-26 Carlos Alberto Cortez <[email protected]>
  1022. * TreeNode.cs: NextVisibleNode and PrevVisibleNode properties don't
  1023. take into account the fact that OpenTreeNodeEnumerator needs to call
  1024. MoveNext/MovePrevious to actually put the passed node as the one
  1025. retrieved in Current. This way this property should work as really
  1026. expected in .net.
  1027. Fixes part of #467225.
  1028. 2000-01-26 Carlos Alberto Cortez <[email protected]>
  1029. * TreeView.cs: When calculating the scrollbars, don't use
  1030. TreeNode.Bounds, since it still can have the values of the previous
  1031. -and now invalid- layout -which depends on TreeView.skipped_nodes, and
  1032. could not have been updated as well-, and use the actual number of
  1033. visible number of nodes to compute the height needed to contain all
  1034. the nodes. Also reset the value of vbar to 0 when disabled - this way
  1035. we make sure that, when re-enabled, it will update the visible area of
  1036. the treeview, even if the previous value before disabling it is the
  1037. same as now. Finally don't do anything for the vbar.ValueChanged
  1038. handler - for the case wheer we manually set the value but don't the
  1039. vbar is disabled already.
  1040. Fixes part of #467225.
  1041. 2009-01-23 Jonathan Pobst <[email protected]>
  1042. * ToolStrip.cs: Switch from foreach to for, in case the collection
  1043. somehow changes while enumerating it.
  1044. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1045. * DataGridView.cs, DataGridViewCell.cs: Fix crashes when there is no
  1046. editing control.
  1047. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1048. * DataGridView.cs: Fix new row adding/editing in the non-databound
  1049. scenario.
  1050. 2009-01-21 Mike Gorse <[email protected]>
  1051. * TrackBar.cs: Make LargeIncrement/Decrement internal so that UIA can
  1052. use them.
  1053. Added UIAValueParamChangedEvent.
  1054. 2009-01-21 Carlos Alberto Cortez <[email protected]>
  1055. * TreeView.cs: In CollapseAll, set vbar to the maximum value, instead
  1056. of trying to set as top node the highest parent of the previous top
  1057. node. Moving to the bottom of the TreeView after a call to CollapseAll
  1058. is exactly what .net does. This should avoid some nasty issue when
  1059. CollapseAll is called and we don't need the vertical scroll bar.
  1060. 2009-01-21 Mario Carrion <[email protected]>
  1061. * Form.cs: UIA Support: Internal events added: UIAWindowStateChanged
  1062. and UIATopMostChanged.
  1063. 2009-01-21 Sandy Armstrong <[email protected]>
  1064. * MenuItem.cs: Add UIACheckChanged, UIARadioCheckChanged,
  1065. UIAEnabledChanged, and UIATextChanged events.
  1066. * Form.cs: Add UIAMenuChanged event.
  1067. * Menu.cs:
  1068. * MenuAPI.cs: Note which internal APIs are being used by UIA.
  1069. 2009-01-21 Neville Gao <[email protected]>
  1070. * ToolBar.cs: Control enabled to support accessibility.
  1071. [Fixes Bug #455950]
  1072. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1073. * TreeView.cs: When handling mouse up event, check whether
  1074. highlighted_node is null or not - usually it should be non-null
  1075. alwaays, since the mouse down handler sets it, but some externa
  1076. operations, such TreeNodeCollection.Clear, could set it to null.
  1077. Fixes #438650.
  1078. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1079. * ThemeWin32Classic.cs: Draw the menu item shortcut even if the menu
  1080. item is disabled.
  1081. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1082. * MenuAPI.cs: Do not handle shortcuts if the menu item is disabled.
  1083. [Fixes bug #467285]
  1084. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1085. * MonthCalendar.cs: When handling the selection changes using the
  1086. mouse, don't set SelectionRange if the selection range didn't actually
  1087. change. This matters because, even if we set the range to the same
  1088. previous range, an extra DateChanged event is fired. Just to be clear:
  1089. SelectionRage property doesn't check whether the new value is
  1090. different to the previous one (by ref equals doesn't work here).
  1091. Fixes other bits of #364914.
  1092. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1093. * MonthCalendar.cs: Remove the extra OnDateChanged call when handling
  1094. selection using the keyboard, since we are already firing this event
  1095. when setting SelectionRange. Also don't set SelectionRange if the
  1096. previous and the new value are the same (the property, just as .net
  1097. does, doesn't check whether the previous value and the new one are the
  1098. same). This saves us from firing OnDateChanged event if the selection
  1099. range didn't change actually.
  1100. Fixes the remaining bits of #364914.
  1101. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1102. * ListBox.cs: When removing an item and the last item is selected,
  1103. remove it from the selection, and if selection mode is One try to
  1104. select the new last item.
  1105. Fixes #465422.
  1106. 2009-01-16 Mike Gorse <[email protected]>
  1107. * Splitter.cs: Make MaxSize internal so that UIA code can use it.
  1108. 2009-01-16 Mario Carrion <[email protected]>
  1109. * ColumnHeader.cs: UIA Support: raising internal event UIATextChanged
  1110. when changing Text.
  1111. 2009-01-16 Carlos Alberto Cortez <[email protected]>
  1112. * X11Structs.cs:
  1113. * XplatUIX11.cs: Properly encode/decode the unicode strings we
  1114. store/retrieve in the Clipboard. Also, since we try to convert the
  1115. data to different formats, separate the source and the result of
  1116. it, so we can always fallback to the original and don't mix wrong
  1117. conversions.
  1118. 2009-01-16 Mike Gorse <[email protected]>
  1119. * TextControl.cs: Add UIASelectionChanged event.
  1120. 2009-01-16 Ivan N. Zlatev <[email protected]>
  1121. * DataGridView.cs: Forward the first key events to the editing control.
  1122. [Fixes bug #457307]
  1123. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1124. * Application.cs: Oops, launch the copied handler of PreRun instead of
  1125. the global one (gendarme would bark otherwise). (Improving r123375)
  1126. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1127. * XplatUI.cs:
  1128. * Application.cs: Move the PreRun event fire to the end of the XplatUI
  1129. static ctor (we don't move the PreRun event to this class because its
  1130. usage would cause the call to the static ctor). This way we can get
  1131. a11y support for dialogs that run without App.Run.
  1132. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1133. * ListView.cs: New internal property to know the inner array's length of
  1134. the location of items, in order to avoid a try-catch strategy for the
  1135. case when this array has not been resized yet (for reference, look at
  1136. r123288). r: jpobst
  1137. 2009-01-13 Andrés G. Aragoneses <[email protected]>
  1138. * Application.cs: Simplify UIA initialization, reducing it from 4 to 1
  1139. reflection calls. This requires UIAutomationWinforms r123213.
  1140. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1141. * MonthCalendar.cs: Detect selection changes in MouseDown/MouseMove
  1142. handlers and fire the DateSelected event until MouseUp is reached,
  1143. like .net does, instead of firing it for each mouse event.
  1144. Fixes part of #364914.
  1145. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1146. * TreeView.cs: When the selection gets canceled using the BeforeSelect
  1147. event, invalidate the previous highlighted_node bounds, to show the
  1148. user that the item was *not* selected.
  1149. Fixes #464191.
  1150. 2009-01-11 Carlos Alberto Cortez <[email protected]>
  1151. * ComboBox.cs: Separate some scroll logic: setting SelectedIndex, as
  1152. well as -in DropDown and Simple modes- writing in the textbox should
  1153. try to set the requested item as the top one, but navigating with the
  1154. keyboard and handling mouse selection don't need that behaviour. Also,
  1155. when resetting selected_index handling key press events, reset
  1156. ComboListBox.HighlightIndex.
  1157. Fixes the remaining bits of #464188.
  1158. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1159. * DataGridView.cs: Fix crashes when shortcut keys are pressed, but
  1160. there are no cells:
  1161. - CurrentCellAddress should be -1, -1 and not 0, 0.
  1162. - Be tolerant and fall back to clearing the current cell if either
  1163. column or row is -1 in MoveCurrentCell.
  1164. - Misc. more -1 checks.
  1165. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1166. * DataGridView.cs: Preserve the column index. Fixes a regression
  1167. introduced by the data binding position tracking code.
  1168. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1169. * DataGridView.cs: If the bottom of the row matches the client height
  1170. do not regard the row as partially visible. Fixes the weird scrolling
  1171. when there is no scrollbar.
  1172. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1173. * DataGridViewComboBoxCell.cs: Implement/Fix the data binding.
  1174. 2009-01-09 Mario Carrion <[email protected]>
  1175. * MessageBox.cs: Fixed internal UIAIconRectangle property.
  1176. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1177. * DataGridViewCheckBoxCell.cs: Respect the ReadOnly state of the Cell.
  1178. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1179. * DataGridView.cs: Track the Position in the CurrencyManager.
  1180. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1181. * DataGridView.cs: Implement data-bound new item editing/addition.
  1182. * DataGridViewRowCollection.cs: Make it possible for us to internally
  1183. remove the edit row.
  1184. [Fixes bugs #457107, #457308, #325240]
  1185. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1186. * CurrencyManager.cs: Even if Position is set to a greater value than the
  1187. list count reset it to position of the last item.
  1188. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1189. * BindingSource.cs: AddNew doesn't set index/add_pending for IBindingList.
  1190. Fix that in order to make CancelNew to work.
  1191. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1192. * BindingSource.cs: When adding a new item try to delegate to the internal
  1193. list first before throwing an exception.
  1194. 2009-01-09 Carlos Alberto Cortez <[email protected]>
  1195. * ComboBox.cs: When setting the text and adjusting the top_item, do it
  1196. *only* if the current item is *not* visible already.
  1197. Fixes part of #464188.
  1198. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1199. * DataGridView.cs: Requesting the CurrencyManager for the first time can
  1200. lead to unexpected OnBindingContextChanged calls and recursive rebinding.
  1201. Fix that.
  1202. [Fixes bug #464493]
  1203. 2009-01-08 Brad Taylor <[email protected]>
  1204. * ComboBox.cs: Expose a few private fields as internal UIA properties.
  1205. 2009-01-07 Mario Carrion <[email protected]>
  1206. * DataGrid.cs: CWL removed.
  1207. 2009-01-06 Carlos Alberto Cortez <[email protected]>
  1208. * RadioButton.cs: When setting Checked, we should first update the
  1209. check state of the current RadioButton, as well as invalidating it,
  1210. and after that actually update the siblings. This is done to match
  1211. .net.
  1212. Fixes the remaining bits of #463028.
  1213. 2009-01-05 Carlos Alberto Cortez <[email protected]>
  1214. * RadioButton.cs: Setting Checked to false should set TabStop to stop
  1215. as well. Also, when we get the focus and no other RadioButton is
  1216. selected in the parent control, we should mark ourselves as Checked.
  1217. Fixes part of #463028.
  1218. 2009-01-05 Mario Carrion <[email protected]>
  1219. * DataGrid.cs: UIA suppport. internal events:
  1220. UIAGridCellChanged, UIAColumnsHeadersVisibleChanged,
  1221. UIASelectionChanged, UIACollectionChanged. Internal properties:
  1222. UIARowHeight, UIACellsArea, UIACaptionArea,
  1223. UIAColumnHeadersArea, UIASelectedRows, UIACurrentTableStyle,
  1224. UIAVScrollBar and UIAHScrollBar.
  1225. 2009-01-05 Jonathan Pobst <[email protected]>
  1226. * ToolStripSplitStackLayout.cs: Enable the overflow button if any
  1227. of the buttons are set to Overflow = Always.
  1228. [Fixes bug #463013]
  1229. 2009-01-03 Carlos Alberto Cortez <[email protected]>
  1230. * BindingNavigator.cs: Properly enable/disable the toolstrip buttons,
  1231. based on whether the binding source is availble or not. Fixes #463008.
  1232. 2009-01-03 Ivan N. Zlatev <[email protected]>
  1233. * DataGridViewCell.cs: We should return a value even if we are not bound
  1234. to a DataGridView.
  1235. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1236. * CurrencyManager.cs, DataGrid.cs:
  1237. - Rename CanAddRows to AllowNew. The CurrencyManager has no
  1238. concept of "rows".
  1239. - Add two more internal properties AllowRemove and AllowEdit.
  1240. * DataGridView.cs: Refactor in a data-bound situation AllowUserToAddRows,
  1241. AllowUserToDeleteRows and cell ReadOnly state to be also checked against the
  1242. CurrencyManager data source.
  1243. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1244. * DataGridView.cs: Fix crashes caused by assigning negative values to
  1245. ScrollBar.LargeIncrement when the ClientSize.Width/Height is less than
  1246. the column/row heights/widths.
  1247. [Fixes bug #462684]
  1248. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1249. * DataGridView.cs: Non-autogenerated columns that have a data property
  1250. set that exists in the current datasource should be set to be data-bound.
  1251. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1252. * DataGridView.cs: Fix column sorting for columns containing null
  1253. values. A "null" value is not always "null" (e.g could be String.Empty)
  1254. and thus parsing numeric types throwed an exception for "null" values.
  1255. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1256. * DataGridView.cs: Detach the editing control when the edit is
  1257. finished.
  1258. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1259. * DataGridView.cs: Multiple fixes to handle last column/row removal
  1260. and cell movement after that instead of throwing exceptions.
  1261. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1262. * DataGridViewCellCollection.cs: When cells are removed the column
  1263. indices become invalid if the cell is not the last one and have to
  1264. be refreshed.
  1265. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1266. * DataGridView.cs: Return false in CommitEdit if there was an error.
  1267. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1268. * DataGridView.cs: Remove a leftover Console.WriteLine.
  1269. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1270. * DataGridViewRow.cs: Access the indexer of the data manager directly
  1271. instead of the internal list.
  1272. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1273. * DataGridViewCell.cs, DataGridView.cs, DataGridViewCheckBoxCell.cs:
  1274. Rewrite the value getting, setting, parsing, formatting logic:
  1275. - If data-bound value get/set should actually get and set from the
  1276. data source.
  1277. - Make proper usage of TypeConverters for value parsing/formatting.
  1278. - Raise DataError if setting the new value fails.
  1279. - Get rid off the internal valueType field and get/set the ValueType
  1280. property instead.
  1281. [Fixes bug #462051]
  1282. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1283. * DataGridView.cs: Rewrite the DataBinding layer:
  1284. - Get rid off all BindingSource/IBindingList/DataSet/DataTable
  1285. specific code.
  1286. - Get rid off the per DataSource type column autogeneration code.
  1287. - Use the CurrencyManager for everything that is DataBinding related.
  1288. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1289. * CurrencyManager.cs: Do not fire duplicate ListChanged events.
  1290. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1291. * DataGridView.cs, DataGridViewRow.cs: Add a new internal property
  1292. DataManager to fetch the CurrencyManager for the DataGridView and to
  1293. spare this logic for the other components to follow.
  1294. 2008-12-31 Mario Carrion <[email protected]>
  1295. * MessageBox.cs: UIA support: new properties: UIAMessage,
  1296. UIAMessageRectangle and UIAIconRectangle.
  1297. 2008-12-31 Sandy Armstrong <[email protected]>
  1298. * FileDialog.cs: Add PopupButtonPanel.PopupButton.PerformClick method
  1299. and DirComboBox.DirComboBoxItem.ToString override for UIA support.
  1300. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1301. * DataGridView.cs: Do not autogenerate duplicate column for a
  1302. data member that has already problematically been assigned one.
  1303. [Fixes bug #457305]
  1304. 2008-12-30 Jonathan Pobst <[email protected]>
  1305. * ProfessionalColorTable.cs: Better detection of user's theme.
  1306. [Fixes bug #462766]
  1307. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1308. * DataGridView.cs: In the case where there are no autogenerated
  1309. columns and the user adds columns problematically we must generate
  1310. the rows after the very first column is added.
  1311. 2008-12-30 Carlos Alberto Cortez <[email protected]>
  1312. * DateTimePicker.cs: When increasing/decreasing the value of month
  1313. with ShowUpDown set to true, moving from december to january, and
  1314. moving from january to december should adjust the year to the next and
  1315. the previous year, respectively.
  1316. Fixes the remaining bits of #459674.
  1317. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1318. * DataGridView.cs: If a new cell is selected edit mode should be
  1319. immediately enabled only if EditOnEnter is set. Whether the mouse
  1320. or not was used to select the cell is irrelevant.
  1321. 2008-12-29 Ivan N. Zlatev <[email protected]>
  1322. * DataGridView.cs: Remove a bogus ReBind call, which was causing
  1323. recursive rebinding.
  1324. 2008-12-24 Carlos Alberto Cortez <[email protected]>
  1325. * DateTimePicker.cs: Handle the "MMMM" month format.
  1326. Fixes #459674.
  1327. 2008-12-23 Ivan N. Zlatev <[email protected]>
  1328. * DataGridView.cs:
  1329. - Make ReBind private and refactor various calls to call ReBind
  1330. instead of ClearBinding/DoBinding
  1331. - Rebind when the column collection changes
  1332. * DataGridViewColumnCollection.cs:
  1333. - Leave the rebinding on change to be handled by the DataGridView.
  1334. 2008-12-23 Jonathan Pobst <[email protected]>
  1335. * DataGridView.cs: Add a ReBind convenience method.
  1336. * DataGridViewColumnCollection.cs: Rebind when a column is added.
  1337. [Fixes bug #462019]
  1338. 2008-12-23 Neville Gao <[email protected]>
  1339. * StatusBar.cs: Modified argument variable.
  1340. * SplitContainer.cs: Control enabled to support accessibility.
  1341. [Fixes Bug #455950]
  1342. 2008-12-22 Jonathan Pobst <[email protected]>
  1343. * ToolStripMenuItem.cs: Guard against an NRE.
  1344. [Fixes bug #457110]
  1345. 2008-12-22 Mario Carrion <[email protected]>
  1346. * Control.cs: AccessibleXXXX properties don't return
  1347. AccessibleObject.XXXX, instead a local referece is returned.
  1348. 2008-12-22 Neville Gao <[email protected]>
  1349. * PrintPreviewControl.cs: Added internal properties to support
  1350. accessibility.
  1351. [Fixes Bug #459699]
  1352. 2008-12-19 Mario Carrion <[email protected]>
  1353. * Control.cs: Reverted r121561.
  1354. 2008-12-19 Andrés G. Aragoneses <[email protected]>
  1355. * X11DesktopColors.cs: Since r121873 we don't need gtk a11y checks here,
  1356. it has been moved to the bridge.
  1357. 2008-12-18 Brad Taylor <[email protected]>
  1358. * DateTimePicker.cs: Add a few UIA specific events, and a couple
  1359. internal methods useful for UIA.
  1360. 2008-12-18 Mario Carrion <[email protected]>
  1361. * ListBox.cs: Fixed GetItemRectangle when MultiColumn is true.
  1362. [Fixes Bug #455752]
  1363. 2008-12-17 Mike Gorse <[email protected]>
  1364. * ListView.cs, ListViewItem.cs: Send OnUIAFocusedItemChanged if an
  1365. item's Focused property is set.
  1366. 2008-12-17 Sandy Armstrong <[email protected]>
  1367. * TreeView.cs:
  1368. * TreeNode.cs:
  1369. * TreeNodeCollection.cs: Add events for UIA support:
  1370. UIACheckBoxesChanged, UIALabelEditChanged, UIANodeTextChanged, and
  1371. UIACollectionChanged.
  1372. 2008-12-17 Bill Holmes <[email protected]>
  1373. * ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
  1374. SubItemStyle member field.
  1375. Contributed under MIT/X11 license.
  1376. 2008-12-16 Carlos Alberto Cortez <[email protected]>
  1377. * ListBox.cs: In MultiColumn mode don't use top_index to calculate the
  1378. y coord, since it's useless in this case, and we need to rely only on
  1379. the number of rows and ItemHeight to compute this value.
  1380. Fixes part of #257471.
  1381. 2008-12-15 Mike Gorse <[email protected]>
  1382. * StatusBar.cs: Send OnUIACollectionChanged in Remove().
  1383. 2008-12-15 Mario Carrion <[email protected]>
  1384. * Control.cs: Accessibility properties instantiate AccessibilityObject when
  1385. needed.
  1386. [Fixes Bug #459223]
  1387. 2008-12-15 Brad Taylor <[email protected]>
  1388. * ToolStripItem.cs: Add a UIA specific event for listening for when a
  1389. ToolStripItem becomes selected or deselected.
  1390. 2008-12-15 Carlos Alberto Cortez <[email protected]>
  1391. * MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
  1392. .net does. Use the date in the point of the mouse move coords as the
  1393. new range as well, if the left button of the mouse is being pressed.
  1394. Fixes #364914.
  1395. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1396. * MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
  1397. MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
  1398. effectively repaint the control.
  1399. Fixes the remaining bits of #417961.
  1400. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1401. * MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
  1402. range to contain only dates within the new possible range.
  1403. Fixes part of #417961.
  1404. 2008-12-11 Carlos Alberto Cortez <[email protected]>
  1405. * MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
  1406. length of the text, but the end position, so we need to substract 1 to
  1407. have a valid value. Also, in the same InputText method, don't use
  1408. SelectionLength as the length of the text, since the selected text
  1409. could actually be empty, but we need to set the value anyway.
  1410. Fixes #457370.
  1411. 2008-12-10 Carlos Alberto Cortez <[email protected]>
  1412. * TextBox.cs: Don't do any auto complete task if the custom source is
  1413. null or empty. Also avoid duplication of code.
  1414. Fixes #457743.
  1415. 2008-12-09 Ivan N. Zlatev <[email protected]>
  1416. * DataGridView.cs: Refresh column sizes when new rows are added.
  1417. [Fixes bug #457050]
  1418. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1419. * RichTextBox.cs: When parsing the contents of a rtf file, don't call
  1420. Split to create a line - we are already doing this, by _adding_ a new
  1421. one when rtf_cursor_x is 0 (this field gets this value just after we
  1422. receive the newline param as true). This avoids having a proportional number
  1423. of empty lines in the end of the rich text box.
  1424. Fixes #396664.
  1425. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1426. * RichTextBox.cs: When saving the contents as a plain text, don't add
  1427. a new line for every Line structure, since the data in Document
  1428. already contains the new line characters. This avoids duplicated new
  1429. lines using the Save methods.
  1430. Fixes #445618.
  1431. 2008-12-09 Sandy Armstrong <[email protected]>
  1432. * TreeView.cs: Expose ScrollBars as internal properties, for use by UIA
  1433. framework. Fixes bug #457678.
  1434. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1435. * DataGridViewRow.cs: Prevent an exception on a not yet databound grid,
  1436. where datasource is null.
  1437. [Fixes exception reported in bug 441240]
  1438. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1439. * DataGridView.cs: EndEdit validation fixes.
  1440. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1441. * DataGridView.cs: This is the cool patch that adds support for
  1442. actually updating the data in the databinding backend after editing.
  1443. With bonus firing and handling the DataError event.
  1444. 2008-12-08 Carlos Alberto Cortez <[email protected]>
  1445. * Line.cs: When calculating the text tags's Shift value, store it as
  1446. pixels instead of points. This way we can actually handle different
  1447. fonts in the same RichTextBox, as well as the right size of the caret.
  1448. Fixes part of #351938.
  1449. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1450. * DataGridViewCheckBoxCell.cs: Fix to make it work. Wrong value was
  1451. casted to CheckState causing InvalidCastExceptions.
  1452. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1453. * DataGridView.cs: Fix the DataGridViewEditMode.EditOnEnter behavior
  1454. to not depend on the item being clicked.
  1455. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1456. * DataGridView.cs: Implement NotifyCurrentCellDirty, so that it no
  1457. longer throws a NotImplementedException.
  1458. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1459. * DataGridView.cs: Set EditingControlFormattedValue when preparing an
  1460. IDataGridViewEditingControl for editing.
  1461. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1462. * DataGridViewComboBoxCell.cs: Implement data binding support.
  1463. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1464. * DataGridView.cs: Use the CurrencyManager to update the data source
  1465. binding position instead of casting the data sourcde to BindingSource.
  1466. This enables position updating for other type of data sources.
  1467. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1468. * ComboBox.cs: Update the SelectedIndex before updating the Text
  1469. in OnDisplayMemberChanged.
  1470. 2008-12-07 Ivan N. Zlatev <[email protected]>
  1471. * DataGridView.cs: Fix our support for IDataGridViewEditingControl.
  1472. [Fixes bug #457112]
  1473. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1474. * DataGridView.cs: Sorting fixes:
  1475. - Be strict when sorting is enabled.
  1476. - If there is a data source delegate the sorting request.
  1477. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1478. * Binding.cs: When converting the data also try with the destination
  1479. type typeconverter. This indirectly adds support for Nullable types
  1480. in our databinding layer.
  1481. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1482. * DataGridView.cs: When cell editing is finished focus back the
  1483. DataGridView. Fixes keyboard navigation post-editing.
  1484. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1485. * DataGridView.cs: Fix the cell editing by delaying the currentCell
  1486. setting to after EndEdit is called for the old cell.
  1487. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1488. * BindingSource.cs: Reset the bindings. Fixes a NotWorking test.
  1489. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1490. * XplatUIX11.cs: Send WM_HELP only to the focused window.
  1491. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1492. * CurrencyManager.cs: Fix exceptions when resetting the data source
  1493. for the same time (e.g. in ComboBox):
  1494. - Do not set the list position if we are still transferring data
  1495. - When resetting the list firstly push the data then update the
  1496. binding.
  1497. * Binding.cs: Check BindingManager.Position == -1 instead of
  1498. BindingManager.Current == null in order to avoid unexpected
  1499. exceptions.
  1500. 2008-12-05 Brad Taylor <[email protected]>
  1501. * MonthCalendar.cs: Add UIA specific events so that we can know when
  1502. the selection changes, and when MaxSelectedCount changes.
  1503. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1504. * DataGridView.cs: Cleanup rows_displayed out of OnPaint. It's not
  1505. used for anything.
  1506. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1507. * DataGridView.cs: Fix scrolling and selection of cells/rows prior
  1508. to the control being drawn for the first time by:
  1509. - Implement DisplayedRowsCount to not rely on the control being
  1510. already painted. Also added support for the partial row flag.
  1511. - Fix scrolling to take into account partial rows and scroll to
  1512. them.
  1513. [Fixes bug #456527]
  1514. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1515. * DataGridView.cs: Do not reset the CurrentCell when the handle is
  1516. created if the user has already set it.
  1517. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1518. * DataGridView.cs: Fix CurrentCell to actually select the cell.
  1519. 2008-12-01 Carlos Alberto Cortez <[email protected]>
  1520. * XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
  1521. text and then let the underneath users of IDataObject interpret and
  1522. parse by themselves.
  1523. Fixes #439251.
  1524. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1525. * DataGridView.cs: Fix my previous commit to actually update what it
  1526. was supposed to.
  1527. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1528. * DataGridView.cs: Ensure that when a row is removed the all the
  1529. current row/column/cell get updated. Fixes multiple exceptions.
  1530. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1531. * DataGridView.cs: Fix scrolling to the current cell when key navigation
  1532. is used.
  1533. [Fixes bug #443560]
  1534. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1535. * DataGridView.cs, DataGridViewCell.cs: Fire CellStateChanged events.
  1536. * DataGridViewCell.cs: Set the cell as selected prior to setting the
  1537. new state.
  1538. [Fixes issue 1 in bug #443560]
  1539. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1540. * DataGridView.cs: Invalidate after the current row/column seletion
  1541. chagnes.
  1542. [Fixes bug #438434]
  1543. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1544. * DataGridView.cs: Refresh the data if the data list is reset, etc.
  1545. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1546. * DataGridView.cs: Handle datasource state changes:
  1547. - IBindingList - list changes
  1548. - BindingSource - list changed and datasource changes
  1549. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1550. * DataGridView.cs: Select the first cell when databound.
  1551. Visually select when CurrentCell is set.
  1552. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1553. * DataGridView.cs: Set the current cell before raising CellClick.
  1554. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1555. * DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
  1556. CellLeave events as this is already done in SetCurrentCellAddressCore.
  1557. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1558. * DataGridView.cs: Set the minimum size for the columns to be the
  1559. width of their header, so that the columns don't get squashed
  1560. all together.
  1561. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1562. * DataGridView.cs: After the data is bound PerformLayout, so that
  1563. the columns get autosized.
  1564. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1565. * DataGridView.cs: Move all currentCell setting code into
  1566. one central place - SetCurrentCellAddressCore. That way the
  1567. current cell is properly updated when programatically set.
  1568. Fire RowEnter/Leave events.
  1569. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1570. * DataGridView.cs: Update the CurrencyManager.Position, so that
  1571. when a BindingSource is used BindingSource.Current will be correct.
  1572. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1573. * GroupBoxRenderer.cs: Fix when VisualStyles disabled:
  1574. - No caption text is drawn because Color.Empty is used.
  1575. - Fix top and height off by 1.
  1576. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1577. * DataGridViewRow.cs: Implement DataBoundItem.
  1578. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1579. * BindingSource.cs: Return null for Current if there is no data present.
  1580. 2008-11-29 Carlos Alberto Cortez <[email protected]>
  1581. * MenuAPI.cs: Add a Menu.SelectedItem null check when navigating the
  1582. menus using the arrow keys. Also when handling the left arrow key, don't
  1583. assign the current menu to the parent one, if the parent is null.
  1584. Fixes #446392.
  1585. 2008-11-24 Everaldo Canuto <[email protected]>
  1586. * PrintPreviewDialog.cs: Fix toolbar size, height must be 26. Fixes bug
  1587. #413501.
  1588. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  1589. * Scrollbar.cs:
  1590. * ScrollableControl.cs: Simplify the code to manually set the size of
  1591. the thum area, avoiding duplication of code, and also preserving the
  1592. right value for different code paths - this can happen when size
  1593. changes are made to the scrollbar after setting LargeChange, Maximum
  1594. or related properties for the ScrollBar.
  1595. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  1596. * ScrollableControl.cs: When scrolling, don't invalidate the entire
  1597. area, and call to XplatUIX11.ScrollWindow instead. This is exactly
  1598. what .Net does: copy the visible area, and only invalidate the part of
  1599. the area that wasn't visible before scrolling.
  1600. Fixes #441738.
  1601. 2008-11-24 Jonathan Pobst <[email protected]>
  1602. * DataGridView.cs: Listen for a DataTable's TableCleared event so we
  1603. can clear ourselves when it is raised, we don't have a newrowindex
  1604. if we don't have any columns.
  1605. * DataGridViewRowCollection.cs: Ensure we always delete all the rows,
  1606. re-index after each delete so the NewRow will have the correct index.
  1607. [Fixes bug #448005]
  1608. 2008-11-24 Jonathan Pobst <[email protected]>
  1609. * Form.cs: Don't change min/max size if it is empty.
  1610. [Fixes bug #447873]
  1611. 2008-11-23 Carlos Alberto Cortez <[email protected]>
  1612. * ScrollBar.cs:
  1613. * ScrollableControl.cs: When the manual thumb size is used, the
  1614. maximum allowed value should depend on that thumb size, instead of
  1615. LargeChange (using the maximum - LargeChange + 1 value). But
  1616. LargeChange should be used normally when incrementing/decrementing.
  1617. Fixes the remaining part of #441546.
  1618. 2008-11-23 Andreia Gaita <[email protected]>
  1619. * WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
  1620. until an about:blank has been loaded (according to spec). Fix
  1621. ScrollbarsEnabled to set when a document is loaded (since we use js
  1622. for it). Fix url so it reflects the current loading document and not
  1623. the previous one. Send StatusChanged events.
  1624. 2008-11-23 Andreia Gaita <[email protected]>
  1625. * Application.cs: If a message comes in for an embedded control
  1626. (like webbrowser) when we're capturing the keyboard, release the
  1627. capture and continue.
  1628. [fixes #429462]
  1629. 2008-11-22 Andreia Gaita <[email protected]>
  1630. * XplatUI.cs: Only use PlatformID.MacOSX enum when not building on VS
  1631. 2008-11-21 Andreia Gaita <[email protected]>
  1632. * WebBrowser.cs, HtmlDocument.cs: Fixes for #428172
  1633. 2008-11-21 Carlos Alberto Cortez <[email protected]>
  1634. * ScrollBar.cs:
  1635. * ScrollableControl.cs: Set manually the thumb size for the
  1636. ScrollableControl scrollbars, so any further changes to the underneath
  1637. scrollbars respect the original size.
  1638. Fixes part of #441546.
  1639. 2008-11-21 Geoff Norton <[email protected]>
  1640. * XplatUI.cs: Ensure that we can run on .net 2.0 with mono 2.2 where
  1641. PlatformID.MacOSX now exists.
  1642. 2008-11-20 Jonathan Pobst <[email protected]>
  1643. * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
  1644. Having something internal abstract isn't very nice for people who want
  1645. to inherit from this class.
  1646. 2008-11-20 Jonathan Pobst <[email protected]>
  1647. * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
  1648. invalid value. Just return null for the Image, and use the ImageList's
  1649. ImageSize for calculations.
  1650. 2008-11-20 Jonathan Pobst <[email protected]>
  1651. * ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
  1652. through DroppedDown so the proper events get called and state gets reset.
  1653. [Fixes bug #446805]
  1654. 2008-11-18 Jonathan Pobst <[email protected]>
  1655. * DataGridViewColumnCollection.cs: Make sure we re-index the columns after
  1656. the collection is modified.
  1657. 2008-11-17 Jonathan Pobst <[email protected]>
  1658. * DomainUpDown.cs: Remove string cache and reflection optimizations. They
  1659. aren't always correct, and fixing them for every case is not worth the
  1660. negligible benefit they provide.
  1661. [Fixes bug #445713]
  1662. 2008-11-17 Jonathan Pobst <[email protected]>
  1663. * DataGridView.cs: We should never add actual cells to the RowTemplate.
  1664. Internally, use RowTemplateFull to give us a new row with cells.
  1665. * DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
  1666. * DataGridViewRowCollection.cs: Use RowTemplateFull.
  1667. 2008-11-17 Carlos Alberto Cortez <[email protected]>
  1668. * XplatUIX11.cs: Forms without borders should be able to change its
  1669. size - specially they should be able to be maximized, adding the
  1670. respective MotifFunctions.Resize bit when setting window properties as
  1671. well as *not* marking the Hwnd as size fixed.
  1672. Fixes #444347.
  1673. 2008-11-12 Jonathan Pobst <[email protected]>
  1674. * DataGridViewCellStyle.cs: Allow SelectionBackColor to have
  1675. an alpha value.
  1676. [Fixes bug #444348]
  1677. 2008-11-11 Jonathan Pobst <[email protected]>
  1678. * DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
  1679. * DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
  1680. AutoSizeColumnModeChanged.
  1681. [Fixes bug #443609]
  1682. 2008-11-11 Jonathan Pobst <[email protected]>
  1683. * DataGridViewRowCollection.cs: Guard against the user deleting the
  1684. NewRow. Add an internal delete so we can still delete it.
  1685. * DataGridView.cs: Use the new internal delete when deleting the NewRow.
  1686. [Fixes bug #442181]
  1687. 2008-11-10 Jonathan Pobst <[email protected]>
  1688. * TextControl.cs: Add some order of operation to our math so
  1689. we don't end up with a negative height for our invalidate rect.
  1690. [Fixes bug #381889]
  1691. 2008-11-10 Jonathan Pobst <[email protected]>
  1692. * Control.cs: When our enabled changes, notify our implicit children
  1693. controls as well as our regular controls.
  1694. [Fixes bug #441523]
  1695. 2008-11-08 Andreia Gaita <[email protected]>
  1696. * HtmlElement.cs: Small code cleanup
  1697. 2008-11-06 Carlos Alberto Cortez <[email protected]>
  1698. * BindingNavigator.cs: MoveFirstItem should be enabled only if
  1699. position is larger than 0, not only different than 0. Also Position
  1700. and Count items should be enabled if the BindingSource is non null and
  1701. non empty.
  1702. Fixes #439961.
  1703. 2008-11-05 Jonathan Pobst <[email protected]>
  1704. * TabControl.cs: Don't raise SelectedIndexChanged until we have
  1705. actually modified the tab collection, so TabCount will be correct.
  1706. [Fixes bug #441896]
  1707. 2008-11-05 Sandy Armstrong <[email protected]>
  1708. * ListViewItem.cs: Mark ListViewSubItem.UIATextChanged event as
  1709. NonSerialized to fix serialization of ListViewItem.
  1710. 2008-11-04 Mike Gorse <[email protected]>
  1711. * ListView.cs: Call OnUIAFocusedItemChanged after completing the
  1712. focus change, and always call in SetFocusedItem.
  1713. * ListBox.cs: Add UIAFocusedItemChanged as in ListView.
  1714. 2008-11-04 Jonathan Pobst <[email protected]>
  1715. * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
  1716. mode. Based on a patch by John Mortlock.
  1717. [Fixes bug #436790]
  1718. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  1719. * ListView.cs: Use the UsingGroups property where needed, instead of
  1720. duplicating the check in other places.
  1721. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  1722. * ListView.cs: When calculating layout, refresh the count of items
  1723. belonging to the default item, insteas of doing it only one time. This
  1724. was already working fine for icon views, not not for details.
  1725. Fixes #438948.
  1726. 2008-11-03 Carlos Alberto Cortez <[email protected]>
  1727. * ListView.cs:
  1728. * ListViewItem.cs:
  1729. * ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
  1730. to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
  1731. does.
  1732. Fixes #437933.
  1733. 2008-11-03 Sandy Armstrong <[email protected]>
  1734. * ListView.cs: Wrap call to OnUIAFocusedItemChanged with #if NET_2_0.
  1735. 2008-11-03 Sandy Armstrong <[email protected]>
  1736. * ListView.cs: Add internal UIAFocusedItemChanged event. Fixes bug
  1737. #441280, patch by Mike Gorse <[email protected]>.
  1738. 2008-11-03 Jonathan Pobst <[email protected]>
  1739. * TreeView.cs: When doing ExpandAll, don't scroll to the bottom
  1740. if there is no scrollbar.
  1741. [Fixes bug #440885]
  1742. 2008-11-03 Jonathan Pobst <[email protected]>
  1743. * ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
  1744. patch from Andy Hume that fixes many issues with ProgressBar.
  1745. [See bug #440220]
  1746. 2008-11-03 Jonathan Pobst <[email protected]>
  1747. * Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
  1748. [Fixes bug #438866]
  1749. 2008-11-03 Sandy Armstrong <[email protected]>
  1750. * UpDownBase.cs:
  1751. * DomainUpDown.cs:
  1752. * NumericUpDown.cs: Internal events added to UpDownBase:
  1753. UIAUpButtonClick and UIADownButtonClick. Patch by Neville Gao
  1754. <[email protected]>.
  1755. 2008-11-03 Sandy Armstrong <[email protected]>
  1756. * ToolStripLabel.cs: Internal event added: UIAIsLinkChanged.
  1757. 2008-11-02 Carlos Alberto Cortez <[email protected]>
  1758. * ListView.cs:
  1759. * ThemeWin32Classic.cs: Don't use groups nor insertion mark in
  1760. Application.EnableVisualStyles hasn't been called.
  1761. Fixes part of #437933.
  1762. 2008-10-31 Andreia Gaita <[email protected]>
  1763. * Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  1764. if the container is not focused already, we need to specifically set
  1765. focus to the first available control, or to the form itself if there
  1766. are no controls.
  1767. 2008-10-31 Andreia Gaita <[email protected]>
  1768. activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
  1769. WM_ACTIVATE have been processed before returning, so it is guaranteed that
  1770. once it returns and the form is visible, it is actually on the screen on X11
  1771. * ContainerControl.cs: Only send focus to the control if the top container
  1772. is already focused. This is so that, when a form is first shown, all
  1773. the enter/leave events are done first before any focus stuff comes in.
  1774. If a control has no top container, there's an extra check on Control.Focus
  1775. to make sure it gets focused in this particular case.
  1776. * Control.cs: Force focus if the control is active but did not receive
  1777. focus after being set as active.
  1778. * MdiClient.cs: Dispose the form when closing
  1779. * XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  1780. doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  1781. if the window is a top Form.
  1782. Reset all hwnd properties when the window has been destroyed so that
  1783. we don't land in any codepaths that might try to do something with it.
  1784. Added a bunch of debugging messages. If TRACE is defined, all X calls
  1785. are logged through DebugHelper. Set a few missing EntryPoint attributes.
  1786. 2008-10-29 Mario Carrion <[email protected]>
  1787. * ListViewItem.cs: Control enabled to support Accessibility:
  1788. - Internal events: UIATextChanged, UIASubItemTextChanged.
  1789. - Internal event UIATextChanged in ListViewSubItem that triggers
  1790. UIASubItemTextChanged.
  1791. * ListView.cs: Control enabled to support Accessibility:
  1792. - Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  1793. UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
  1794. - Internal event UIACollectionChanged in ColumnHeaderCollection.
  1795. - Internal event UIACollectionChanged in ListViewItemCollection.
  1796. - Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  1797. UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
  1798. - Internal methods: UIAGetHeaderBounds.
  1799. 2008-10-25 Carlos Alberto Cortez <[email protected]>
  1800. * ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
  1801. the event from the respective scrollbars.
  1802. Fixes #436709.
  1803. 2008-10-24 Carlos Alberto Cortez <[email protected]>
  1804. * ComboBox.cs: Use the new CanNavigateAutoCompleteList property of the
  1805. textbox to know whether any navigation key will be handled or not. If
  1806. not, don't pass the message to the textbox, and use it here instead.
  1807. * TextBox.cs: Define a new CanNavigateAutoCompleteList property -which
  1808. is more precise- than the previous AutoCompleteMatches one.
  1809. This should the keyboard navigation in ComboBox when using auto
  1810. complete modes.
  1811. 2008-10-24 Jonathan Pobst <[email protected]>
  1812. * ComboBox.cs: Fix item height calculation based off Font to match .Net.
  1813. [Fixes bug #436730]
  1814. 2008-10-24 Jonathan Pobst <[email protected]>
  1815. * ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
  1816. overridden methods will get called.
  1817. * ToolStripItem.cs: Raise Click before MouseUp.
  1818. * ToolStripSplitButton.cs: Fix up some bounding rectangles to take
  1819. the item's location into account.
  1820. [Fixes bug #437683]
  1821. 2008-10-24 Neville Gao <[email protected]>
  1822. * NumericUpDown.cs: Control enabled to support accessibility.
  1823. [Fiexes bug #438135]
  1824. 2008-10-23 Carlos Alberto Cortez <[email protected]>
  1825. * TextBox.cs: Check that we actually have items no navigate, select
  1826. text when pressing enter, as well as handle direction keys only if
  1827. mode is different to Suggest or the suggest listbox is visible.
  1828. 2008-10-23 Andreia Gaita <[email protected]>
  1829. * WebBrowser.cs: Use the new ContentStream property to retrieve
  1830. a stream encoded from the document content
  1831. 2008-10-23 Andreia Gaita <[email protected]>
  1832. * HtmlDocument.cs,
  1833. HtmlElement.cs,
  1834. HtmlWindow.cs: Fix GetHashcode for null objects
  1835. 2008-10-22 Andreia Gaita <[email protected]>
  1836. * HtmlDocument.cs,
  1837. HtmlElement.cs,
  1838. HtmlWindow.cs: Fix equality operators (fixes #428173)
  1839. 2008-10-21 Jonathan Pobst <[email protected]>
  1840. * XplatUIWin32.cs: Apply patch from John Mortlock that ensures
  1841. mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
  1842. [Fixes bug #436772]
  1843. 2008-10-21 Jonathan Pobst <[email protected]>
  1844. * ComboBox.cs: Fire SelectedIndexChanged when the user selects the
  1845. same item with the mouse as was already selected.
  1846. [Fixes bug #436789]
  1847. 2008-10-21 Brad Taylor <[email protected]>
  1848. * TextControl.cs: Break out code to get the visible range into
  1849. GetVisibleLineIndexes to be used in UIA code.
  1850. * Line.cs:
  1851. * TextControl.cs:
  1852. * TextBoxBase.cs: Add comments indicating that the method or property
  1853. is used via reflection from UIA code.
  1854. 2008-10-20 Carlos Alberto Cortez <[email protected]>
  1855. * ListViewItem.cs: Match .net serialization.
  1856. Fixes remaining part of #417520.
  1857. 2008-10-20 Jonathan Pobst <[email protected]>
  1858. * ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
  1859. 2008-10-20 Mario Carrion <[email protected]>
  1860. * ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
  1861. added: UIAToolTipRectangle.
  1862. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  1863. * ListViewItem.cs: When deserializing enumerate over the data, instead
  1864. of accessing the data directly. This way we handle much better the
  1865. cases were we lack information.
  1866. Fixes #417520.
  1867. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  1868. * ListView.cs: When removing an item from a main ListView.Items
  1869. collection (and not a ListViewGroupCollection.Items one), remove it
  1870. also from the group, as .net does. Patch by Mario Carrion (mario at
  1871. novell dot com).
  1872. Fixes #436653.
  1873. 2008-10-19 Andreia Gaita <[email protected]>
  1874. * Form.cs: Forms that get closed without a handle being created are
  1875. disposed in 2.0. Fixes failing FormTest.FormClose and
  1876. FormTest.FormClose2 on windows.
  1877. 2008-10-18 Carlos Alberto Cortez <[email protected]>
  1878. * ListView.cs: If both scrollbars are visible, the vertical one
  1879. shouldn't extend too far down.
  1880. Fixes #435771.
  1881. 2008-10-17 Jonathan Pobst <[email protected]>
  1882. * DataGridView.cs: Add the ability to resize columns and rows with
  1883. the mouse. Also support double-clicking to autoresize.
  1884. * DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
  1885. * DataGridViewRow.cs: Invalidate the grid if a row's height changes.
  1886. * DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
  1887. isn't shown on autoresize.
  1888. [Fixes bug #420193]
  1889. 2008-10-17 Mario Carrion <[email protected]>
  1890. * ComboBox.cs: Remove UIAListbox.
  1891. 2008-10-17 Mario Carrion <[email protected]>
  1892. * ComboBox.cs, ListBox.cs: Using added/removed item in
  1893. OnUIACollectionChangedEvent instead of index.
  1894. 2008-10-17 Jonathan Pobst <[email protected]>
  1895. * ComboBox.cs: When we are sorting the items, if the item's type
  1896. doesn't support IComparer, use a default one that compares based
  1897. off the item's visible text.
  1898. [Fixes bug #436328]
  1899. 2008-10-17 Carlos Alberto Cortez <[email protected]>
  1900. * ColumnHeader.cs: Invalidate ListView.header_control when setting
  1901. ImageIndex/ImageKey.
  1902. * ThemeWin32Classic.cs: When drawing the column header, draw a image
  1903. for the column if available, and make the required adjustments to the
  1904. text location.
  1905. Fixes #435105.
  1906. 2008-10-17 Neville Gao <[email protected]>
  1907. * StatusBarPanel.cs: Control enabled to support accessibility.
  1908. [Fixes bug #435988]
  1909. 2008-10-16 Jonathan Pobst <[email protected]>
  1910. * DataGridView.cs: When a user begins an edit in the 'new row',
  1911. make that a real row, and add a new 'new row'. If the user
  1912. cancels the edit, remove the new 'new row' and reset everything.
  1913. Also, ensure UserAddedRow and UserRemovedRow events are raised.
  1914. [Fixes bug #430954]
  1915. 2008-10-16 Ivan N. Zlatev <[email protected]>
  1916. * TableLayoutSettings.cs: Fix NREs when deserializing and
  1917. panel is not yet set.
  1918. [Fixes bug #436199]
  1919. 2008-10-16 Jonathan Pobst <[email protected]>
  1920. * DataGridView.cs: Invalidate after deleting a row.
  1921. 2008-10-16 Jonathan Pobst <[email protected]>
  1922. * DataGridView.cs: Handle Enter and Escape keys.
  1923. - Move call to EndEdit to MoveCurrentCell.
  1924. - Remove call to EndEdit from navigation key routines.
  1925. - Fire CellLeave and CellEnter.
  1926. 2008-10-16 Jonathan Pobst <[email protected]>
  1927. * DataGridViewCell.cs: Some fixes to the new cell border
  1928. painting code.
  1929. 2008-10-16 Jonathan Pobst <[email protected]>
  1930. * ThemeEngine.cs: Enable visualstyles rendering by default
  1931. (on platforms that support it).
  1932. 2008-10-15 Ivan N. Zlatev <[email protected]>
  1933. * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
  1934. MainForm.OnLoad has completed unless DoEvents is forced.
  1935. [Fixes bug #412536]
  1936. 2008-10-15 Jonathan Pobst <[email protected]>
  1937. * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
  1938. 2008-10-15 Jonathan Pobst <[email protected]>
  1939. * Control.cs: Make our implementation of DrawToBitmap better
  1940. match WmPaint. [Fixes bug #435579]
  1941. 2008-10-14 Andreia Gaita <[email protected]>
  1942. * WebBrowser.cs: Use DocumentElement as the document's root for the
  1943. whole content. Should fix DocumentText and DocumentStream problems.
  1944. 2008-10-14 Jonathan Pobst <[email protected]>
  1945. * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
  1946. these will get called in DGV.OnCollectionChanged. Make sure
  1947. OnCollectionChanged always gets called.
  1948. * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
  1949. from every row. Call this in OnCollectionChanged.
  1950. [Fixes bug #433669]
  1951. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  1952. * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
  1953. textbox if auto complete is used, since we need to navigate over it.
  1954. And in this case don't pass this messages to the base impl. Also hide
  1955. the auto complete list box when displaying the drop down listbox.
  1956. * TextBox.cs: new internal members to expose some of the auto complete
  1957. functionality to combobox.
  1958. 2008-10-13 Ivan N. Zlatev <[email protected]>
  1959. * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
  1960. MainForm.OnLoad has completed.
  1961. [Fixes bug #412536]
  1962. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  1963. * TextBox.cs: Apply an old-approved patch that adds autocomplete's
  1964. Append support to this controls. We need it to apply new patches.
  1965. 2008-10-12 Carlos Alberto Cortez <[email protected]>
  1966. * Control.cs: When updating z order in child controls, send to back
  1967. the implicit controls. Also, do it explicitly, instead of making
  1968. GetAllControls return the implicit controls in a specific order, and
  1969. thus avoid depending on that, which could change in the future.
  1970. Fixes #434304.
  1971. 2008-10-11 Carlos Alberto Cortez <[email protected]>
  1972. * X11Dnd.cs: Try to call Application.DoEvents before returning in a
  1973. call to StartDrag, since we must fire DragDrop/DragLeave *before*
  1974. that, as .net does - instead of firing DragDrop/DragLeave *after* the
  1975. call to Control.DoDragDrop has completed. This is needed since at the
  1976. point of returning, we have sent related dnd ClientMessages, but we
  1977. need to wait for them to fire the wmf respective ones.
  1978. Fixes #325076.
  1979. 2008-10-09 Everaldo Canuto <[email protected]>
  1980. * LinkLabel.cs: Recreate link pieces when change Padding.
  1981. 2008-10-09 Everaldo Canuto <[email protected]>
  1982. * LinkLabel.cs: Take Padding into account when recreate link pieces.
  1983. [Fixes bug #412530]
  1984. 2008-10-08 Everaldo Canuto <[email protected]>
  1985. * Control.cs: Implement internal property PaddingClientRectangle, it will be
  1986. useful for drawing controls that must take care about Padding property.
  1987. 2008-10-08 Jonathan Pobst <[email protected]>
  1988. * BindingSource.cs: Make item_type internal so we can access it in DGV.
  1989. * DataGridView.cs: Add support for autogenerating columns from a
  1990. BindingSource.
  1991. 2008-10-07 Jonathan Pobst <[email protected]>
  1992. * DataGridView.cs: Comment out an exception that is getting thrown
  1993. too often currently.
  1994. 2008-10-07 Jonathan Pobst <[email protected]>
  1995. * DataGridView.cs: Always rebind to the datasource, as things may
  1996. have changed in it that we aren't capturing yet.
  1997. 2008-10-07 Jonathan Pobst <[email protected]>
  1998. * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
  1999. drawing mode. If we are top aligned, give ourselves some top padding.
  2000. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  2001. * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
  2002. events on the control under the mouse pointer, instead of firing them
  2003. on the window generating the dnd operation. To achieve this re-use the
  2004. code used to get the window under the pointer when getting MouseMove
  2005. events.
  2006. Fixes #381876.
  2007. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  2008. * X11Dnd.cs: Don't check that that the window sending the dnd events
  2009. is the owner of the selection. Although Gtk+ sets it that way, it's
  2010. not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
  2011. So, just as Gtk+ does, we set our window sending the dnd events as the
  2012. owner of the selection, but don't check it when receiving them. This
  2013. should fix interoperability with Qt/Kde.
  2014. Fixes #324251.
  2015. 2008-10-06 Jonathan Pobst <[email protected]>
  2016. * DataGridView.cs: Make sure we take the vertical scrollbar into
  2017. account when autosizing columns.
  2018. 2008-10-06 Jonathan Pobst <[email protected]>
  2019. * DataGridView.cs: Handle sorting datetimes.
  2020. 2008-10-04 Ivan N. Zlatev <[email protected]>
  2021. * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
  2022. TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
  2023. compilation warnings.
  2024. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2025. * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
  2026. ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
  2027. ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
  2028. ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
  2029. compilation warnings.
  2030. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2031. * DataGridView.cs, DataGridViewCell.cs,
  2032. DataGridViewCellValidatingEventArgs.cs,
  2033. DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
  2034. DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  2035. DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
  2036. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2037. * HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
  2038. Cleanup compilation warnings.
  2039. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2040. * XplatUIWin32.cs: Cleanup compilation warnings.
  2041. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2042. * PropertyGrid.cs: Cleanup compilation warnings.
  2043. 2008-10-02 Jonathan Pobst <[email protected]>
  2044. * DataGridViewRow.cs: Only clear the row background if we
  2045. are going to paint a new background.
  2046. 2008-10-02 Jonathan Pobst <[email protected]>
  2047. * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
  2048. DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
  2049. use PaintBorder instead.
  2050. 2008-10-02 Jonathan Pobst <[email protected]>
  2051. * DataGridView.cs: When CellBorderStyle is set, update the
  2052. AdvancedCellBorderStyle to match.
  2053. 2008-10-02 Jonathan Pobst <[email protected]>
  2054. * DataGridViewCell.cs: Add helper methods to convert Alignment
  2055. to TextFormatFlags and align rectangles.
  2056. * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
  2057. * DataGridViewImageCell.cs: Use Alignment when painting the image.
  2058. 2008-10-02 Ivan N. Zlatev <[email protected]>
  2059. * ToolTip.cs: Display tooltips only for controls on the active form.
  2060. [Fixes bug #428115]
  2061. 2008-10-02 Jonathan Pobst <[email protected]>
  2062. * DataGridView.cs: Make OnCellValueNeeded internal.
  2063. * DataGridViewCell.cs: Raise the CellValueNeeded event so the
  2064. user can supply their own value if they choose.
  2065. 2008-10-02 Jonathan Pobst <[email protected]>
  2066. * DataGridViewColumnHeaderCell.cs: Create a new style object
  2067. so the DefaultCellStyle doesn't get changed.
  2068. 2008-10-02 Jonathan Pobst <[email protected]>
  2069. * ToolStripItem.cs: Check to make sure the owner is actually
  2070. changing in InternalOwner before doing any work. Fixes some
  2071. failing tests.
  2072. 2008-10-01 Jonathan Pobst <[email protected]>
  2073. * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
  2074. * DataGridView.cs: Use a column header's inherited style instead
  2075. of just using the default.
  2076. 2008-10-01 Jonathan Pobst <[email protected]>
  2077. * SplitContainer.cs: Raise SplitterMoved when the splitter is
  2078. moved through code.
  2079. 2008-10-01 Mario Carrion <[email protected]>
  2080. * ScrollBar.cs: Internal property added: UIAThumbPosition.
  2081. 2008-10-01 Jonathan Pobst <[email protected]>
  2082. * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
  2083. 2008-10-01 Jonathan Pobst <[email protected]>
  2084. * ToolStripItem.cs: When the user sets Owner, we need to remove
  2085. it from its previous owner and then add it to the new owner's
  2086. item collection. Also, create InternalOwner, so we can set the owner
  2087. that doesn't do this new stuff.
  2088. * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
  2089. 2008-10-01 Jonathan Pobst <[email protected]>
  2090. * ToolStripItem.cs: When our parent changes, recalculate our text
  2091. size, since we may be getting our Font from our parent. When our
  2092. owner's Font changes, recalculate ourselves as we may be using
  2093. that font.
  2094. 2008-10-01 Everaldo Canuto <[email protected]>
  2095. * MenuAPI.cs: Select the first option of a popup when opening the popup via
  2096. return key. [Fixes bug #413792].
  2097. 2008-10-01 Jonathan Pobst <[email protected]>
  2098. * ToolStripItem.cs: Make Font, BackColor, and ForeColor be
  2099. ambient properties. (Get their value from their parents if
  2100. values haven't been set.)
  2101. 2008-10-01 Jonathan Pobst <[email protected]>
  2102. * ToolStripSystemRenderer.cs: Call overridden methods' bases
  2103. after our logic, so users can do painting by handling the events.
  2104. Currently, we draw over any user painting.
  2105. 2008-10-01 Jonathan Pobst <[email protected]>
  2106. * ToolStripProfessionalRenderer.cs: Call overridden methods' bases
  2107. after our logic, so users can do painting by handling the events.
  2108. Currently, we draw over any user painting.
  2109. 2008-09-30 Everaldo Canuto <[email protected]>
  2110. * MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
  2111. 2008-09-30 Jonathan Pobst <[email protected]>
  2112. * TreeNode.cs, TreeView.cs: Move logic that determines the node
  2113. image to draw to TreeNode. Give Index/Keys put on the node
  2114. precedence over the global one for the TreeView.
  2115. 2008-09-30 Jonathan Pobst <[email protected]>
  2116. * TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
  2117. 2008-09-29 Mario Carrion <[email protected]>
  2118. * ListBox.cs: Index fixed.
  2119. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2120. * TabControl.cs: When expanding the tab -because it's selected now-,
  2121. using Right alignment, instead of adding some selected delta value to
  2122. the X origin, substract it, so it gets a location adjacent to the panel,
  2123. instead of be more separated.
  2124. Fixes #409170.
  2125. 2008-09-29 Jonathan Pobst <[email protected]>
  2126. * MessageBox.cs: Use SystemIcons for graphics instead of keeping our
  2127. own copies of them.
  2128. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2129. * X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
  2130. as well as the other static fields, to avoid using their previous
  2131. values my mistake when handling the dnd events. This should avoid
  2132. handling any status event after the drop has been finalized/cancelled.
  2133. 2008-09-28 Carlos Alberto Cortez <[email protected]>
  2134. * X11Dnd.cs: We have to send a dnd enter event as soon as we start the
  2135. operation, instead of waiting until we get any movement - this will
  2136. help us to have the data available in case no movement was detected
  2137. and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
  2138. Finally add a windows.forms-only fallback to fire the mentioned events
  2139. if no movement at all was detected, just like .net does.
  2140. Fixes #381876.
  2141. 2008-09-27 Jonathan Pobst <[email protected]>
  2142. * ThemeWin32Classic.cs: When drawing a status bar panel, don't
  2143. return early if the text is empty because the icon doesn't get
  2144. drawn then. [Fixes bug #428113]
  2145. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2146. * FileDialog.cs: Implement basic support for sorting by columns in
  2147. Details view. Patch by Eric Petit.
  2148. Fixes #428006.
  2149. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2150. * ThemeWin32Classis.cs: When drawing gridlines take into account the
  2151. case where ListView.ItemSize hasn't been computed, and provide a
  2152. fallback as well. This prevents a division by 0.
  2153. 2008-09-24 Jonathan Pobst <[email protected]>
  2154. * ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
  2155. correctly draw tooltip backgrounds.
  2156. 2008-09-24 Jonathan Pobst <[email protected]>
  2157. * ImageList.cs: Change CopyTo implementation to ensure clones are
  2158. created of our images.
  2159. [Fixes bug #409169]
  2160. 2008-09-24 Jonathan Pobst <[email protected]>
  2161. * Control.cs: When setting fonts, we need to ensure we change our
  2162. reference to the new font object, even if it represents the same
  2163. font as before. If we don't, the original font can get disposed
  2164. and we will still try to use it.
  2165. [Fixes bug #386450]
  2166. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2167. * FileDialog.cs: Take into account Tile view when selecting the view
  2168. (2.0 profile).
  2169. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2170. * ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
  2171. the item bounds, since we can't iterate over them in virtual mode.
  2172. Also fix wrong calculation of the gridlines when using scrolling.
  2173. Fixes #400390.
  2174. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2175. * XplatUIX11.cs: When handling EnterNotify events, take into account
  2176. both the public and implicit controls when trying to detect the
  2177. grab/ungrab process. This should fix ListView selection in Details
  2178. view.
  2179. 2008-09-23 Jonathan Pobst <[email protected]>
  2180. * TreeView.cs: Redraw the whole node area when the selected node changes.
  2181. Things like state images were not getting redrawn because the invalid
  2182. rectangle was too small.
  2183. [Fixes bug #428211]
  2184. 2008-09-23 Mario Carrion <[email protected]>
  2185. * ListBox.cs: UIA Selection Pattern fully supported in ListBox control.
  2186. [Fixes bug #428993]
  2187. 2008-09-23 Jonathan Pobst <[email protected]>
  2188. * Form.cs: Do not set the Form's icon in the backend if showicon = false.
  2189. [Fixes bug #428114]
  2190. 2008-09-23 Jonathan Pobst <[email protected]>
  2191. * ThemeWin32Classic.cs: Allow tooltips to be multiline.
  2192. [Fixes bug #427884]
  2193. 2008-09-23 Jonathan Pobst <[email protected]>
  2194. * StatusBar.cs: Add tooltip support.
  2195. [Fixes bug #428113]
  2196. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2197. * ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
  2198. alignments of sub items in Details view. Patch by John Mortlock (johnm at
  2199. hlaustralia.com.au).
  2200. Fixes #425360.
  2201. 2008-09-23 Neville Gao <[email protected]>
  2202. * StatusBar.cs: Add UIA event in AddInternal () to support accessibility.
  2203. [Fixes bug #419079]
  2204. 2008-09-22 Jonathan Pobst <[email protected]>
  2205. * TextBoxBase.cs: Set Text to "" instead of null in Clear().
  2206. [Fixes bug #428107]
  2207. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2208. * ListView.cs: Don't do anything when EnsureVisible is called inside a
  2209. BeginUpdate/EndUpdate block.
  2210. Fixes #425049.
  2211. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2212. * ListViewItem.cs: The semantics for the public .ctor of
  2213. ListViewSubItemCollection need us to already have a Text value for the
  2214. item, which in our implementation have as available *after* adding the
  2215. first sub item. So create an internal .ctor that satisfies our needs
  2216. and let the public .ctor have the same semantics as .net.
  2217. Fixes #427561.
  2218. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2219. * ListControl.cs: Changes in Formatting related values should call
  2220. RefreshItems, as .net does.
  2221. * ComboBox.cs:
  2222. * ListBox.cs: In the respective overrides of RefreshItems calculate
  2223. layout as well as refreshing - again, this is what .net does.
  2224. Fixes #426168.
  2225. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2226. * ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
  2227. since we are already doing that when we change the value of the
  2228. scrollbar or force the call to ScrollWindow in the same method. This
  2229. way we don't cause a Invalidate call for all the listbox bounds for
  2230. methods calling UpdateTopItem with an already updated top item. This
  2231. was happening specially calling EnsureVisible with already visible
  2232. items.
  2233. 2008-09-18 Mike Gorse <[email protected]>
  2234. * Application.cs, IKeyFilter.cs, X11Keyboard.cs, XplatUI.cs,
  2235. XplatUIStructs.cs: Added KeyFilter
  2236. [Fixes bug #427039]
  2237. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2238. * RelatedPropertyManager.cs: The properties returned by
  2239. GetItemProperties should be that ones of the *actual* object returned
  2240. by the property, not the property type - this is very special when the
  2241. property exposes a type, but the returned object actually is a child
  2242. class and implements more functionality and properties.
  2243. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2244. * Binding.cs: Don't look for the property in the data source if the
  2245. passed string is empty.
  2246. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2247. * XplatUIX11.cs: Comment out _NET_WM_WINDOW_TYPE_DIALOG in order to
  2248. fix unused variable warnings.
  2249. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2250. * XplatUIX11.cs: Send WM_HELP when F1 is pressed.
  2251. [Fixes bug #427073]
  2252. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2253. * XplatUIX11.cs:
  2254. - Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
  2255. leads to the window manager overriding our border style and zorder.
  2256. - Allow the activation of non-modal forms, which are children of a
  2257. modal form.
  2258. [Fixes bug #423417]
  2259. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2260. * XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
  2261. ask the window manager to do the work instead of changing the property
  2262. directly.
  2263. [Fixes bug #423417]
  2264. 2008-09-17 Everaldo Canuto <[email protected]>
  2265. * CurrencyManager.cs: Check for positon before call ChangeRecordState in
  2266. AddNew to fix some navigation for empty datasets. [Fixes #323053]
  2267. 2008-09-17 Everaldo Canuto <[email protected]>
  2268. * FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
  2269. InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
  2270. border and fixes some drawing issues when resize form.
  2271. 2008-09-17 Everaldo Canuto <[email protected]>
  2272. * FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
  2273. * ThemeWin32Classic.cs: We don't need to reduce button size when it is
  2274. AcceptButton.
  2275. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2276. * TextBoxBase.cs: For standard textbox the scrollbars are always
  2277. visible if Multiline is true.
  2278. [Fixes bug #426896]
  2279. 2008-05-12 Everaldo Canuto <[email protected]>
  2280. * DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
  2281. patch.
  2282. 2008-05-12 Everaldo Canuto <[email protected]>
  2283. [Fixes most od DBNull and HeadersVisible problems]
  2284. * DataGrid.cs:
  2285. - ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
  2286. returns the value that we need.
  2287. - Fixed FromPixelToColumn method that return zero for first column and for
  2288. row header cell, now it returns -1 for row header cell.
  2289. - Fixed HitTest to check row header cell in column header area, it now
  2290. returns HitTestType.None. [Fixes #322864]
  2291. - Fixed the calculation of visible columns in UpdateVisibleColumn, now it
  2292. checks for RowHeadersVisible and other things.
  2293. - If an exception occurs when setting CurrentCell and user type 'yes' in
  2294. message dialog, invalidade current and new cell and set setting_current_cell
  2295. to false to prevent future errors. [Partially fixes #323050]
  2296. * DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
  2297. value (SetColumnValueAtRow), it must be done by grid to properly show
  2298. messages. [Fixes #323050]
  2299. * ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
  2300. better draw column and row header. Also dont draw anything when column
  2301. headers is not visible.
  2302. 2008-09-16 Jonathan Pobst <[email protected]>
  2303. * ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
  2304. logic.
  2305. 2008-09-16 Jonathan Pobst <[email protected]>
  2306. * TreeView.cs: Don't start editing a node on right click, only
  2307. left click.
  2308. 2008-09-16 Jonathan Pobst <[email protected]>
  2309. * NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
  2310. disabled over a year ago.
  2311. * Form.cs: Wrap calling Load in a try/catch because it can happen
  2312. before the catch-all one in NativeWindow.
  2313. [Fixes bug #425414]
  2314. 2008-09-16 Jonathan Pobst <[email protected]>
  2315. * ToolStripDropDownMenu.cs: Calculate the connected area better
  2316. to take into account when the drop down is not directly under the
  2317. owner item.
  2318. * ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.
  2319. 2008-09-16 Mario Carrion <[email protected]>
  2320. * ScrollBar.cs: New event added: UIAValueChanged, generated when
  2321. LargeChange, SmallChange, Maximum or Minimum values are changed.
  2322. [Fixes bug #426464]
  2323. 2008-09-16 Mario Carrion <[email protected]>
  2324. * ErrorProvider.cs: Component enabled to support accessibility.
  2325. * Application.cs: Updated to Initialize UIA in ErrorProvider.
  2326. [Fixes bug #426459]
  2327. 2008-09-16 Jonathan Pobst <[email protected]>
  2328. * TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
  2329. so we don't highlight on first focus.
  2330. [Fixes bug #360869]
  2331. 2008-09-16 Jonathan Pobst <[email protected]>
  2332. * TextControl.cs: Correctly calculate the height of the area we
  2333. need to invalidate when we have started scrolling and viewport_y
  2334. is used. [Fixes bug #387608]
  2335. 2008-09-16 Jonathan Pobst <[email protected]>
  2336. * TextControl.cs: When getting the SelectedText, don't add in
  2337. NewLine characters, as they are already contained in the lines.
  2338. [Fixes bug #388115]
  2339. 2008-09-16 Jonathan Pobst <[email protected]>
  2340. * TextBoxBase.cs: Replace the buggy Lines setter with one that
  2341. simply concats the lines and send it to the Text setter.
  2342. [Fixes issue #2 and #3 of 388115]
  2343. 2008-09-16 Carlos Alberto Cortez <[email protected]>
  2344. * Binding.cs: The default value of DataSourceNullValue should be
  2345. Convert.DBNull actually. Also, the NullValue should only be used *if*
  2346. itself is not null, and use the null/Convert.DBNull value instead.
  2347. 2008-09-15 Jonathan Pobst <[email protected]>
  2348. * TextControl.cs: Add a method to convert a string newline to the
  2349. newline enum.
  2350. * TextBoxBase.cs: When the user hits enter, insert a native newline.
  2351. [Fixes part 1 of bug #388115]
  2352. 2008-09-15 Mario Carrion <[email protected]>
  2353. * ToolTip.cs: UnPopup event set to internal to match public API.
  2354. 2008-09-15 Jonathan Pobst <[email protected]>
  2355. * TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
  2356. have to remove the Ctrl in order for the focus moving code to kick in.
  2357. [Fixes bug #426170]
  2358. 2008-09-15 Jonathan Pobst <[email protected]>
  2359. * CheckedListBox.cs: Return the real item index from Add. It may not be
  2360. the last item if the list is sorted. The user can change the NewValue in
  2361. the ItemCheck event, we need to use that value if so.
  2362. * ListBox.cs: Return the real item index from a sorted Add.
  2363. [Fixes bug #426166]
  2364. 2008-09-15 Ivan N. Zlatev <[email protected]>
  2365. * MimeIcon.cs: Add null checks in the GnomeHandler, because it might
  2366. happen that the icons from the theme is missing or the particular size
  2367. unavailable.
  2368. [Fixes bug #424981]
  2369. 2008-09-15 Carlos Alberto Cortez <[email protected]>
  2370. * Binding.cs: When assigning null or DBNull depending on value/ref type,
  2371. use IsValueType instead to get the precise desired value.
  2372. Fixes #424276.
  2373. 2008-09-12 Jonathan Pobst <[email protected]>
  2374. * TreeNodeCollection.cs: When adding a new node to an opened node,
  2375. we have to invalidate everything below the parent node because
  2376. every node scoots down and we have to repaint them.
  2377. [Fixes bug #411386]
  2378. 2008-09-12 Jonathan Pobst <[email protected]>
  2379. * ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
  2380. property into account when drawing.
  2381. [Fixes bug #416064]
  2382. 2008-09-12 Carlos Alberto Cortez <[email protected]>
  2383. * ListBox.cs: When calling Items.Clear(), call
  2384. SelectedIndexCollection.ClearCore instead of normal Clear method, to
  2385. not fire any Selected*Changed event - this is done to match .net and
  2386. don't have invalid values when changing the DataSourceProperty.
  2387. Fixes #424273.
  2388. 2008-09-12 Mario Carrion <[email protected]>
  2389. * HelpProvider.cs: Control enabled to support accessibility.
  2390. * Application.cs: Updated to Initialize UIA in HelpProvider.
  2391. [Fixes bug #425988]
  2392. 2008-09-12 Jonathan Pobst <[email protected]>
  2393. * Form.cs: When we are showing a dialog box, if its owner is TopMost,
  2394. make the dialog TopMost as well.
  2395. [Fixes bug #425984]
  2396. 2008-09-12 Jonathan Pobst <[email protected]>
  2397. * Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
  2398. clipboard data better.
  2399. [Fixes bug #414446]
  2400. 2008-09-12 Jonathan Pobst <[email protected]>
  2401. * TextBoxBase.cs: Applied patch from John Mortlock that ensures
  2402. TextChanged and SelectionChanged events fire in the same order as .Net.
  2403. [Fixes bug #425725]
  2404. 2008-09-12 Jonathan Pobst <[email protected]>
  2405. * DataGridView.cs: When sorting a column, if it only contains numbers,
  2406. do a numeric sort instead of a string sort.
  2407. [Fixes bug #425849]
  2408. 2008-09-12 Jonathan Pobst <[email protected]>
  2409. * TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
  2410. against NRE's when the settings have a null panel.
  2411. * TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
  2412. the panel gets set.
  2413. [Fixes bug #425647]
  2414. 2008-09-11 Mario Carrion <[email protected]>
  2415. * ToolTip.cs: Control enabled to support accessibility.
  2416. * Application.cs: Updated to Initialize UIA in ToolTip.
  2417. [Fixes bug #425277]
  2418. 2008-09-11 Jonathan Pobst <[email protected]>
  2419. * Control.cs: Make the custom Enumerator internal to fix build.
  2420. 2008-09-11 Jonathan Pobst <[email protected]>
  2421. * DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
  2422. already in edit mode, begin edit mode. Generally edit mode isn't
  2423. started until the second click, but CheckBoxes are special.
  2424. 2008-09-11 Jonathan Pobst <[email protected]>
  2425. * ErrorProvider.cs: Never try to add our icons to ContainerControl,
  2426. since that can be set to anything. Always add them to the Control's
  2427. parent. [Fixes bug #416058]
  2428. 2008-09-11 Jonathan Pobst <[email protected]>
  2429. * ListView.cs: Use a custom enumerator for ListViewItemCollection
  2430. so items can be deleted in a foreach.
  2431. [Fixes bug #425342]
  2432. 2008-09-11 Jonathan Pobst <[email protected]>
  2433. * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
  2434. Store the user set explicit height so that the row can be AutoSized
  2435. and then when AutoSize is turned off, it can get its original size back.
  2436. * DataGridView.cs: Use the Row's GetPreferredHeight instead of
  2437. duplicating the logic. When setting AutoSizeRowsMode to None, reset
  2438. rows' heights back to their explicit values.
  2439. [Fixes bug #415780]
  2440. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  2441. * DateTimePicker.cs: When getting focus, select the checkbox if we are
  2442. already showing it. Also, don't change its value when pressing space
  2443. if the checkbox is not visible (ShowCheckBox as false). Finally, the
  2444. checkbox should remain selected as long as Checked is false, and the
  2445. other parts are disabled.
  2446. Fixes #424267.
  2447. 2008-09-11 Jonathan Pobst <[email protected]>
  2448. * MessageBox.cs: Handle shortcut keys to dialog buttons.
  2449. [Fixes bug #425425]
  2450. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  2451. * Binding.cs: When the value retrieved from the control property is
  2452. null, don't return Convert.DBNull for Nullable instances, since they
  2453. can *actually* get a null value.
  2454. Fixes #424265.
  2455. 2008-09-10 Jonathan Pobst <[email protected]>
  2456. * Control.cs: Add an internal field to force doublebuffering regardless
  2457. of what the public mechanisms are set to. This is because MS's native
  2458. controls are doublebuffered even though their .Net bits are set to false.
  2459. * ProgressBar.cs: Set force_double_buffer to true.
  2460. [Fixes bug #406595]
  2461. 2008-09-10 Jonathan Pobst <[email protected]>
  2462. * DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
  2463. the cell template.
  2464. * DataGridViewCheckBoxCell.cs: Add proper support for threestate.
  2465. * DataGridViewCell.cs: Implement GetEditedFormattedValue for types
  2466. without EditingControls, paint background selection for types without
  2467. EditingControls, reset the EditingCellValueChanged flag when the
  2468. cell's value is committed.
  2469. * DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
  2470. have EditingControls, remove a double call to a cell's OnContentClickInternal,
  2471. don't do cell changing logic in OnMouseDown if the cell didn't change.
  2472. [Fixes bug #420351]
  2473. 2008-09-10 Carlos Alberto Cortez <[email protected]>
  2474. * DateTimePicker.cs: Fix the edition of am/pm specifier.
  2475. 2008-09-09 Jonathan Pobst <[email protected]>
  2476. * TextControl.cs: Add "&" to the list of valid characters in a URL.
  2477. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  2478. * DateTimePicker.cs: Before incrementing or decrementing any part in
  2479. the textbox, end any current edit. Also when ending the current edit
  2480. use the editing_part_index field instead of the current selected
  2481. value, since they can be out of synch, and we really need to work on
  2482. the *real* current edit part. Finally when PartData.Selected changes,
  2483. always try to end any ongoing edit.
  2484. This should fix some small errors handling mouse navigation and
  2485. increase/decrease operations.
  2486. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  2487. * DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
  2488. respectively) should handled different, since the 12 hours format
  2489. needs the value typed by the user to be adjusted depending on the
  2490. a.m/p.m value, so it is preserved, and only changed when the value
  2491. reaches the 12 value (when it changes from a.m to p.m).
  2492. Fixes part of #416555.
  2493. 2008-09-08 Jonathan Pobst <[email protected]>
  2494. * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
  2495. * ToolStripDropDownItem.cs: Don't fire events and such again if
  2496. ShowDropDown is called on an already dropped down item.
  2497. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
  2498. subitems, the user may add some in the DropDownOpening event.
  2499. [Fixes bug #417877]
  2500. 2008-09-08 Jonathan Pobst <[email protected]>
  2501. * ComboBox.cs: Fix IOORE when setting SelectedItem to null.
  2502. [Fixes bug #424270]
  2503. 2008-09-08 Jonathan Pobst <[email protected]>
  2504. * MdiClient.cs: When looking for menustrips on a child form to merge,
  2505. look inside ToolStripContainers.
  2506. [Fixes bug #424264]
  2507. 2008-09-08 Ivan N. Zlatev <[email protected]>
  2508. * ErrorProvider.cs: Unbreak my previous commit.
  2509. 2008-09-08 Ivan N. Zlatev <[email protected]>
  2510. * ErrorProvider.cs: Icon should always be 16x16.
  2511. [Fixes bug #424380]
  2512. 2008-09-07 Ivan N. Zlatev <[email protected]>
  2513. * GridEntry.cs: Invalidate the child items cache when the property
  2514. value changes.
  2515. 2008-09-07 Ivan N. Zlatev <[email protected]>
  2516. * GridEntry.cs, PropertyGridView.cs:
  2517. - Update the ReadOnly detection and rendering to finally hopefully
  2518. match the one of MSFT.
  2519. - Niceify and move the debug CWLS.
  2520. [Fixes bug #409028]
  2521. 2008-09-05 Carlos Alberto Cortez <[email protected]>
  2522. * ListView.cs: Don't call Invalidate at all from SetItemLocation,
  2523. since we are already calling Invalidate for the entire control when
  2524. needed - and call Redraw() when size changes, since we need to paint
  2525. there by ourselved and not anymore from the mentioned method.
  2526. This should improve the layout process. Also clean some not needed calls
  2527. here and there.
  2528. 2008-09-05 Jonathan Pobst <[email protected]>
  2529. * MenuAPI.cs: Add a null check to the Alt-F4 code.
  2530. [Fixes bug #420309]
  2531. 2008-09-05 Jonathan Pobst <[email protected]>
  2532. * ThreadExceptionDialog.cs: Disable AutoScaling for this dialog.
  2533. [Fixes bug #423040]
  2534. 2008-09-04 Ivan N. Zlatev <[email protected]>
  2535. * GridEntry.cs, CategoryGridEntry.cs, RootGridEntry.cs, PropertyGrid.cs,
  2536. PropertyGridView.sc: Implement lazy/delayed propertygrid population
  2537. on item expansion. Improves performance and fixes bug #417955.
  2538. [Fixes bug #417955]
  2539. 2008-09-05 Stephane Delcroix <[email protected]>
  2540. * Control.cs: only check for OptimizedDoubleBuffer in NET_2_0.
  2541. fix the build.
  2542. 2008-09-04 Jonathan Pobst <[email protected]>
  2543. * TextControl.cs: Add "_" to the list of valid characters in a URL.
  2544. [Fixes bug #423408]
  2545. 2008-09-04 Jonathan Pobst <[email protected]>
  2546. * Control.cs: If using OptimizedDoubleBuffer, ensure the clip
  2547. region gets set.
  2548. [Fixes bug #414166]
  2549. 2008-09-04 Jonathan Pobst <[email protected]>
  2550. * FontDialog.cs: When storing our font size from the starting font,
  2551. use SizeInPoints instead of Size in case Size is a different unit
  2552. from Points.
  2553. [Fixes bug #416489]
  2554. 2008-09-04 Jonathan Pobst <[email protected]>
  2555. * FileDialog.cs: When enter is pressed on a SaveFileDialog and we
  2556. don't use it for anything else, check if a directory is highlighted.
  2557. If it is, navigate into it.
  2558. [Fixes bug #422087]
  2559. 2008-09-04 Carlos Alberto Cortez <[email protected]>
  2560. * Binding.cs: When acquiring a BindingManagerBase for the first time,
  2561. check that the specified property actually exists in the data source,
  2562. and throw an ArgumentException if that's not the case - this is only
  2563. done for this scenario, since for later cases (such Position changes)
  2564. we throw different exceptions (match .Net).
  2565. 2008-09-03 Ivan N. Zlatev <[email protected]>
  2566. * ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  2567. FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  2568. PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  2569. TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  2570. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  2571. ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  2572. properties.
  2573. [Fixes bug #418684]
  2574. 2008-09-03 Neville Gao <[email protected]>
  2575. * StatusBar.cs: Control enabled to support accessibility.
  2576. [Fixes bug #419079]
  2577. 2008-09-02 Carlos Alberto Cortez <[email protected]>
  2578. * Binding.cs: When connecting the event handler for the "Changed"
  2579. event for the property, only do it for PropertyManager, and not for
  2580. CurrencyManager - this is exactly what does .Net, totally ignoring any
  2581. change in the property of the elements of a list.
  2582. Fixes the tests.
  2583. 2008-09-02 Jonathan Pobst <[email protected]>
  2584. * XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
  2585. to Windows when creating a window, as we fake MDI stuffs.
  2586. [Fixes bug #421858]
  2587. 2008-09-01 Ivan N. Zlatev <[email protected]>
  2588. * TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
  2589. change takes effect.
  2590. 2008-08-24 Ivan N. Zlatev <[email protected]>
  2591. * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
  2592. [Fixes bug #419001]
  2593. 2008-08-27 Jonathan Pobst <[email protected]>
  2594. * DataGridView.cs: Raise CellContentClick event.
  2595. [Fixes part of bug #420351]
  2596. 2008-08-27 Mario Carrion <[email protected]>
  2597. * ScrollBar.cs: Control enabled to support accessibility.
  2598. [Fixes bug #416759]
  2599. 2008-08-27 Mario Carrion <[email protected]>
  2600. * ComboBox.cs: Control enabled to support accessibility.
  2601. [Fixes bug #416663]
  2602. 2008-08-27 Mario Carrion <[email protected]>
  2603. * ListBox.cs: Control enabled to support accessibility.
  2604. [Fixes bug #416640]
  2605. 2008-08-27 Jonathan Pobst <[email protected]>
  2606. * ComboBox.cs: Don't suppress the TextChanged event when changing
  2607. the SelectedIndex.
  2608. * ToolStripComboBox.cs: Listen to the ComboBox's TextChanged event
  2609. and re-raise it.
  2610. [Fixes bug #420673]
  2611. 2008-08-26 Jonathan Pobst <[email protected]>
  2612. * ErrorProvider.cs: Fix a regression NRE when setting properties
  2613. for a control before it has a parent.
  2614. [Fixes bug #420305]
  2615. 2008-08-25 Carlos Alberto Cortez <[email protected]>
  2616. * Binding.cs: Use the BindingManagerBase.Current value to obtain
  2617. connect the property "Changed" event, instead of using the data
  2618. sources - this is useful when the property specifies actually a
  2619. multiple objects path.
  2620. Fixes part of #417973.
  2621. 2008-08-24 Carlos Alberto Cortez <[email protected]>
  2622. * RelatedPropertyManager.cs: PropertyManager instances associated to a
  2623. nested properties should return not the properties of the data source
  2624. itself, but the properties of the type of a specific property in the
  2625. data source - match .net.
  2626. 2008-08-24 Gert Driesen <[email protected]>
  2627. * ListBox.cs (IntegerCollection): To avoid duplication, moved code for
  2628. AddRange overloads into AddItems method, and added missing NULL check.
  2629. Added extra argument check to RemoveAt for compatibility with MS.
  2630. Modified IList implementation of Add, Contains, IndexOf and Remove to
  2631. throw an ArgumentException if item is not an int. Modified IList.Insert
  2632. to throw a NotSupportException instead of an Exception. Implemented
  2633. ICollection.
  2634. (ObjectCollection): To avoid duplication, use AddItems method from
  2635. AddRange overloads. On 1.0 profile, first perform NULL check on items
  2636. in AddItems.
  2637. 2008-08-23 Gert Driesen <[email protected]>
  2638. * Control.cs: Do not modify bounds directly in .ctor's. Fixes bug
  2639. #419087.
  2640. 2008-08-22 Atsushi Enomoto <[email protected]>
  2641. * X11Keyboard.cs : comment out some Console.WriteLine().
  2642. 2008-08-22 Atsushi Enomoto <[email protected]>
  2643. * X11Keyboard.cs : fixed wrong call to XOpenIM() which happened
  2644. even if premises are not filled. Also XLookupString() was not
  2645. receiving correct input, which blocked precise input handling
  2646. on non-XIM mode.
  2647. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2648. * ListView.cs: When calling OnCacheVirtualItems, cast to the right
  2649. type of delegate, instead of EventHandler - this was causing a type
  2650. cast exception in all apps handling this event.
  2651. Fixes #417876.
  2652. 2008-08-20 Jonathan Pobst <[email protected]>
  2653. * ToolStripDropDownItem.cs: Always raise DropDownOpening in
  2654. ShowDropDown to give the user a chance to dynamically add
  2655. drop down items. [Step 1 of fixing bug #417877]
  2656. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2657. * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
  2658. had any mouse motion since the call to StartDrag, to match the dnd
  2659. behaviour of .net.
  2660. Fixes part of #381876.
  2661. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2662. * XplatUIX11.cs: Only do the children control bounds check for EnterNotify
  2663. if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
  2664. Also, if we are actually moving into a different window after
  2665. grabbing, generate a LeaveNotify event for the previous window, since
  2666. we need to fire the leave events until the grab ends, not when
  2667. actually moving outside of the control.
  2668. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  2669. * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
  2670. events only for client windows was wrong - we need to compare the
  2671. client window against the window receiving the EnterNotify event, not
  2672. against zero (since client window is never Zero, btw).
  2673. This prevents having unnecessary handling of EnterNotify events for
  2674. non-client windows when a gran begins.
  2675. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  2676. * XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
  2677. MouseMove/MotionNotify events at all (which should only happen after
  2678. MouseUp/ButtonRelease, as .Net does).
  2679. This avoids firing an extra and unnecessary MouseMove event just after
  2680. every MouseDown event.
  2681. 2008-08-19 Jonathan Pobst <[email protected]>
  2682. * LinkLabel.cs: Always clear any previous links when LinkArea
  2683. is set. [Fixes bug #410709]
  2684. 2008-08-19 Jonathan Pobst <[email protected]>
  2685. * ToolStripProfessionalRenderer.cs: Revert last change.
  2686. * ProfessionalColorTable.cs: For Classic, use SystemColors.Window
  2687. for ToolStripDropDownBackground.
  2688. 2008-08-19 Jonathan Pobst <[email protected]>
  2689. * ToolStripProfessionalRenderer.cs: Use Window color for the
  2690. background of dropdowns to match .Net when the user is not
  2691. using the default white. [Fixes bug #418108]
  2692. 2008-08-19 Atsushi Enomoto <[email protected]>
  2693. * XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  2694. it caused timer registration twice. Fixed bug #418107.
  2695. 2008-08-18 Carlos Alberto Cortez <[email protected]>
  2696. [Correction: This is the actual change to X11Dnd issue, not the
  2697. previous one, which was actually a different issue.]
  2698. * X11Dnd.cs: Increase the interval for the Timer, to not fire our
  2699. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  2700. when the pointer is actually in motion, but only when the pointer
  2701. seems to stop (as .net does).
  2702. Fixes part of #381876.
  2703. 2008-08-18 Jonathan Pobst <[email protected]>
  2704. * ListBox.cs: Fix CopyTo implementation.
  2705. [Fixes bug #409169]
  2706. 2008-08-18 Jonathan Pobst <[email protected]>
  2707. * ThemeWin32Classic.cs: Use ClientRectangle instead of Bounds when
  2708. drawing a ComboBox's background. Fixes bad disabled rendering when
  2709. the control is not at 0,0.
  2710. [Fixes bug #416063]
  2711. 2008-08-16 Ivan N. Zlatev <[email protected]>
  2712. * GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
  2713. ComponentModel layer, which will properly prioritize the attributes.
  2714. Avoids wrong prioritization of duplicate attributes when retrieving
  2715. the converter and editor.
  2716. [Fixes bug #417729]
  2717. 2008-08-15 Carlos Alberto Cortez <[email protected]>
  2718. * XplatUIX11.cs: Increase the interval for the Timer, to not fire our
  2719. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  2720. when the pointer is actually in motion, but only when the pointer
  2721. seems to stop (as .net does).
  2722. Fixes part of #381876.
  2723. 2008-08-15 Ivan N. Zlatev <[email protected]>
  2724. * GridEntry.cs: Perform stricter check for the ParentEntry's
  2725. PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
  2726. implementation.
  2727. [Fixes bug #417567]
  2728. 2008-08-14 Geoff Norton <[email protected]>
  2729. * XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
  2730. Fixes #396983. Properly fix ActiveWindow trackin and do not
  2731. prematurely show POPUP windows.
  2732. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  2733. * XplatUIX11.cs: Handle the obscured regions while scrolling using
  2734. GraphicsExpose event, processing it just after we copy the scrolled
  2735. area. This ensures that the next calls to ScrollWindow will copy
  2736. regions already updated, and the scrolling will be smooth. Also remove
  2737. the code that was trying to detect the obscured regions, since we are
  2738. not using it anymore (too slow).
  2739. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  2740. * ListBox.cs: Fix the -temporary- broken selection in ListBox for
  2741. MultiExtended mode, by separating some logic between the ctrl/shift
  2742. handling. Also ignore any MouseMove events generated together with
  2743. MouseDown events - we are only interested in the real motion event.
  2744. Fixes part of #414963.
  2745. 2008-08-08 Jonathan Pobst <[email protected]>
  2746. * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
  2747. is selected. [Fixes bug #414143]
  2748. 2008-08-07 Ivan N. Zlatev <[email protected]>
  2749. * GridEntry.cs: Check if current property is a ICustomTypeDescriptor
  2750. and not the parent one (the propertyowner). Fixes the behavior of
  2751. GetConverter/GetEditor.
  2752. [Fixes bug #415452]
  2753. 2008-08-07 Ivan N. Zlatev <[email protected]>
  2754. * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
  2755. [Fixes part of bug #415452]
  2756. 2008-08-05 Ivan N. Zlatev <[email protected]>
  2757. * GridEntry.cs: ITypeDescriptorContext should be relative to the parent
  2758. GridEntry, not the current.
  2759. [Fixes bug #413896]
  2760. 2008-08-04 Ivan N. Zlatev <[email protected]>
  2761. * TextBoxBase.cs: De-internalize max_length field.
  2762. * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
  2763. share the same logic.
  2764. [Fixes bug #414454]
  2765. 2008-08-03 Carlos Alberto Cortez <[email protected]>
  2766. * ListBox.cs: Selection changes made in the MouseDown handler should
  2767. use the *Core versions of selection in SelectedIndices collection,
  2768. since the SelectedIndexChanged/SelectedValueChanged events are fired
  2769. until we get a MouseUp event, and thus we need to separate the logic
  2770. from the events, as done in the keyboard navigation. Also, fire those
  2771. selection events from keyboard navigation in SelectionMode.None, even
  2772. if we don't have a selection, as .Net does.
  2773. 2008-08-01 Jonathan Pobst <[email protected]>
  2774. * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
  2775. last change introduced when an item is clicked but isn't on a toolstrip.
  2776. 2008-07-31 Carlos Alberto Cortez <[email protected]>
  2777. * ListBindingHelper.cs: When looking for an object's properties, check
  2778. if it implements ICustomTypeDescriptor, in which case we should
  2779. resolve the propertu based on its GetProperties method, not in its
  2780. actual properties. This is what .Net seems to do.
  2781. Fixes a UsingWebBrowser problem during initialization.
  2782. 2008-07-31 Jonathan Pobst <[email protected]>
  2783. * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
  2784. sitting on a MenuStrip.
  2785. 2008-07-31 Jonathan Pobst <[email protected]>
  2786. * ToolStripButton.cs: If we "click" a top button on a menustrip that has
  2787. no children with the keyboard, we need to release the keyboard capture.
  2788. [Fixes bug #413567]
  2789. 2008-07-31 Jonathan Pobst <[email protected]>
  2790. * ToolStripMenuItem.cs: If we "click" a top level menu item that has
  2791. no children with the keyboard, we need to release the keyboard capture.
  2792. [Fixes bug #413567]
  2793. 2008-07-31 George Giolfan <[email protected]>
  2794. * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
  2795. the GTK+-based implementation of VisualStyles.
  2796. * ThemeWin32Classic.cs: Exposed various layout values for use in the
  2797. GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
  2798. ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
  2799. ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
  2800. TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
  2801. TrackBarHorizontalTrackHeight.
  2802. 2008-07-31 George Giolfan <[email protected]>
  2803. * TabControl.cs: Added hot style handling for the scroll buttons.
  2804. right_slider_state, left_slider_state are now of type PushButtonState to
  2805. allow for a hot state. Added tracking of the mouse button being held down
  2806. on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
  2807. LeftScrollButtonArea.
  2808. * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
  2809. TabControlGetRightScrollRect.
  2810. 2008-07-30 Everaldo Canuto <[email protected]>
  2811. * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent
  2812. runtime errors.
  2813. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2814. * Form.cs: Ensure that we reset the shown_raised flag after
  2815. the form is closed, so that we raise the show events the next
  2816. time the form is shown.
  2817. [Fixes bug #413141]
  2818. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2819. * Form.cs: Ensure closing events are raised only once.
  2820. [Fixes bug #413143]
  2821. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2822. * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode,
  2823. so that we can successfully generate the LParam in-place instead of
  2824. in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard
  2825. navigation for menus.
  2826. 2008-07-30 Everaldo Canuto <[email protected]>
  2827. * MenuAPI.cs: When montion don't set the keyboard navigation state to
  2828. 'navigating'. Fixes bug #411356.
  2829. 2008-07-30 Everaldo Canuto <[email protected]>
  2830. [Fixed remaining issues of #406773 (#1)]
  2831. * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
  2832. * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
  2833. MainMenu (already done) and ContextMenu creation.
  2834. * ContextMenu.cs: Create tracker on construction.
  2835. 2008-07-30 Everaldo Canuto <[email protected]>
  2836. * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
  2837. possible to instantiate MenuTracker without GrabControl.
  2838. 2008-07-30 Everaldo Canuto <[email protected]>
  2839. * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
  2840. * MainMenu.cs: Set GrabControl on SetForm using current form.
  2841. 2008-07-30 Everaldo Canuto <[email protected]>
  2842. * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
  2843. 2008-07-30 Everaldo Canuto <[email protected]>
  2844. * MenuAPI.cs: Check if menu is activated before deactivate it in
  2845. ProcessShortcut.
  2846. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2847. * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
  2848. ColumnStyle.cs:
  2849. Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
  2850. - One style instance can only participate in a single style collection.
  2851. - Styles can request their owner to layout whenever their properties
  2852. change.
  2853. [Fixes bugs #412583 and #412582]
  2854. 2008-07-29 Ivan N. Zlatev <[email protected]>
  2855. * X11Keyboard.cs: Implement the generation of the LParam for
  2856. all keyboard messages.
  2857. [Fixes bug #378728]
  2858. 2008-07-29 Jonathan Pobst <[email protected]>
  2859. * ListBox.cs: Don't let the user set TopIndex so high that it
  2860. scrolls up far enough to show empty items.
  2861. [Fixes bug #412728]
  2862. 2008-07-29 Carlos Alberto Cortez <[email protected]>
  2863. * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
  2864. (I'm an idiot and forgot to commit the actual changes, as well as
  2865. specify the right file, which is this one, not ListView.cs).
  2866. 2008-07-28 Carlos Alberto Cortez <[email protected]>
  2867. * ListView.cs: Don't draw ListViewSubItem instances from
  2868. DrawListViewItem - we need to reuse the main item's drawing for the
  2869. first sub item in case owner draw is true, but wants the system to
  2870. do the default draw for the first sub item, without incurring in a
  2871. recursion problem.
  2872. Fixes #410880.
  2873. 2008-07-28 Jonathan Pobst <[email protected]>
  2874. * ToolStripButton.cs: Update Checked for CheckOnClick before
  2875. raising the Click event. [Fixes bug #412505]
  2876. 2008-07-28 Ivan N. Zlatev <[email protected]>
  2877. * Form.cs: Remove some seems leftover code for non-TopLevel's
  2878. CreateParams, which is breaking ClientSize sizing, because it
  2879. removes the border window styles.
  2880. 2008-07-27 Ivan N. Zlatev <[email protected]>
  2881. * PropertyGrid.cs: Invalidate the View when the PropertyTab
  2882. changes.
  2883. 2008-07-25 Gert Driesen <[email protected]>
  2884. * WebBrowser.cs: Removed debug output.
  2885. 2008-07-25 Jonathan Pobst <[email protected]>
  2886. * FileDialog.cs: Apply patch from Ernesto to clean up some
  2887. dialog messages.
  2888. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2889. * TableLayoutPanel.cs: Perform layout on GrowStyle change, so
  2890. that the change has an immediate effect.
  2891. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2892. * ScrollableControl.cs: Update PerformLayout calls to include
  2893. provide the name of the property that changed.
  2894. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2895. * TableLayoutPanel.cs: Draw relative to the DisplayRectangle
  2896. location. Fixes drawing of border and cell borders if scrollable.
  2897. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2898. * ScrollableControl.cs: Perform layouting after the AutoScroll
  2899. properties have changed, so that the changes have immediate
  2900. effect.
  2901. [Fixes bug #409090]
  2902. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2903. * XplatUIX11.cs: Non Client area is actually Client such in the
  2904. case of NotifyIcon, so double check WholeWindow == ClientWindow
  2905. when adding an expose.
  2906. [Fixes bugs #324237 and #357022]
  2907. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2908. * TableLayoutPanel.cs: Invalidate after layouting, so that we
  2909. repaint the cell borders.
  2910. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2911. * PropertyGridTextBox.cs: Stop filtering messages prior to our
  2912. disposal to avoid unexpected ObjectDisposedExceptions.
  2913. 2008-07-24 Ivan N. Zlatev <[email protected]>
  2914. * TableLayoutPanel.cs: Layout on Row/Column count change.
  2915. 2008-07-22 Gert Driesen <[email protected]>
  2916. * ListViewItem.cs: Changed binary serialization to match MS. Fixes
  2917. bug #409351.
  2918. * PictureBox.cs: When ImageLocation is set to null or an empty string,
  2919. only set image to null if it was previously initialized from an url
  2920. (or using ImageLocation). In ImageLocation, load specified image
  2921. asynchronously if WaitOnLoad is false. Added support for local file
  2922. paths to LoadAsync, and added missing argument check.
  2923. 2008-07-22 Carlos Alberto Cortez <[email protected]>
  2924. * DateTimePicker.cs:
  2925. * ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
  2926. order to set the value as required (which means: when selection
  2927. changes for a part being edited, and not before that if not needed).
  2928. Also use an enum to describe which part are we using, and use the
  2929. selection as a property in PartData, in order to notify the
  2930. DateTimePicker owner that we need to end the current edit.
  2931. Fixes #383462.
  2932. 2008-07-17 Ivan N. Zlatev <[email protected]>
  2933. * PropertyGridTextBox.cs: Validation should be performed only if we
  2934. are focused. We can lose focus for example if the Return key is used
  2935. to set the entry and there is an error. When the message box is
  2936. displayed we would have validate on click in the message box.
  2937. 2008-07-16 Ivan N. Zlatev <[email protected]>
  2938. * GridEntry.cs: Checking for DesignerSerializaitonVisibility.Content
  2939. in order to determine that we are expandable is wrong. There was a bug,
  2940. now fixed, in TypeDescriptor that was causing the wrong converter to be
  2941. returned which caused GetPropertiesSupported == false in most cases.
  2942. [Fixes bug #409027]
  2943. 2008-07-15 Jonathan Pobst <[email protected]>
  2944. * ImageList.cs: Fix ICollection.CopyTo implementation for
  2945. ImageListCollection. [Fixes bug #409169]
  2946. 2008-07-14 Jonathan Pobst <[email protected]>
  2947. * MenuAPI.cs, ToolStripDropDown.cs: Use VirtualScreen instead of
  2948. WorkingArea so that menus can appear on the second monitor
  2949. when one has dual monitors.
  2950. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2951. * TextBox.cs: Auto complete stuff in WndProc should be 2.0 only.
  2952. Fixes build.
  2953. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2954. * TextBox.cs: Implement navigation support for auto complete in
  2955. TextBox, as well as refactor the code to show the auto complete window
  2956. when receiving a WM_CHAR message, instead of TextChanged, since
  2957. autocomplete itself should be able to set the Text a lot of times and
  2958. finally only typing should show it, not changes from code.
  2959. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2960. * TabControl.cs: When expanding the selected tab, don't adjust the
  2961. width if alignment is Right, since it has a different offset than 0,
  2962. as opposed to the other alignments.
  2963. Fixes the selected tab not being painted at all with alignment = Right
  2964. and using FillToRight size mode.
  2965. 2008-07-14 Jonathan Pobst <[email protected]>
  2966. * TreeView.cs: Fix ToString to match MS. [Fixes bug #409029]
  2967. 2008-07-14 Jonathan Pobst <[email protected]>
  2968. * NumericUpDown.cs: Apply patch from Andy Hume to clamp out of range
  2969. values from the textbox to the boundary values. [Fixes bug #409026]
  2970. 2008-07-14 Jonathan Pobst <[email protected]>
  2971. * TreeNodeCollection.cs: We were copying one too many elements when
  2972. doing our array copy. Fixes a crash when RemoveAt is called.
  2973. [Fixes bug #408999]
  2974. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2975. * TabControl.cs: When doing the layout and need to call FillRow -using
  2976. FillToRight size mode-, use the overload receiving a bool param
  2977. indicating whether we need to do a vertical or horizontal calculation.
  2978. Fixes part of #399583.
  2979. 2008-07-13 Carlos Alberto Cortez <[email protected]>
  2980. * TextBox.cs: When painting, use the value returned by
  2981. GetLastVisibleItem instead of using the cached last_item field, since
  2982. there could be a desynchronization between the layout and the
  2983. painting. Fixes a AOOR exception in auto complete mode.
  2984. 2008-07-12 George Giolfan <[email protected]>
  2985. * ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
  2986. NonClientAreaEnabled until our VisualStyles is modified to allow it.
  2987. 2008-07-12 Gert Driesen <[email protected]>
  2988. * TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
  2989. 2008-07-11 Carlos Alberto Cortez <[email protected]>
  2990. * TextBox.cs: When focus is lost, if the auto complete listbox is
  2991. visible, hide it.
  2992. 2008-07-11 George Giolfan <[email protected]>
  2993. * InternalWindowManager.cs: HandleSizing: Implemented a better minimum
  2994. tracking size for tool windows.
  2995. * Theme.cs, ThemeWin32Classic.cs : Extracted
  2996. ManagedWindowSpacingAfterLastTitleButton.
  2997. 2008-07-11 Jonathan Pobst <[email protected]>
  2998. * ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
  2999. They are bit-rotted and have always been listed as "unsupported".
  3000. 2008-07-11 Jonathan Pobst <[email protected]>
  3001. * PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
  3002. 2008-07-11 George Giolfan <[email protected]>
  3003. * ThemeVisualStyles.cs: Fixed minimized window height adjustment.
  3004. 2008-07-10 Jonathan Pobst <[email protected]>
  3005. * ListBox.cs: Make sure last_item_visible gets reset before we try
  3006. to do a layout due to scrollbars appearing or disappearing.
  3007. [Fixes bug #408139]
  3008. 2008-07-10 Jonathan Pobst <[email protected]>
  3009. * XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
  3010. for different window themes. [Fixes bug #339140]
  3011. 2008-07-10 George Giolfan <[email protected]>
  3012. * ThemeWin32Classic.cs: Implemented minimized window border width properly,
  3013. in ManagedWindowBorderWidth.
  3014. 2008-07-10 Jonathan Pobst <[email protected]>
  3015. * InternalWindowManager.cs: Change MouseMove to take a point, so
  3016. we can use the same point later on.
  3017. * MdiWindowManager.cs: Store point sent to MouseMove so we can
  3018. later reset to it. On Windows, the Cursor.Position had already
  3019. changed by the time we were resetting to it.
  3020. [Fixes bug #363239]
  3021. 2008-07-10 Jonathan Pobst <[email protected]>
  3022. * InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
  3023. are inactive.
  3024. * ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
  3025. user requested it.
  3026. [Fixes bug #398686]
  3027. 2008-07-10 Jonathan Pobst <[email protected]>
  3028. * MdiWindowManager.cs: Double-clicking on the title bar should not
  3029. maximize a MDI form if MaximizeBox = false.
  3030. 2008-07-10 George Giolfan <[email protected]>
  3031. * ThemeVisualStyles.cs: Fixed a warning.
  3032. 2008-07-10 George Giolfan <[email protected]>
  3033. * ThemeVisualStyles.cs: Fixed warnings and formatted.
  3034. 2008-07-10 George Giolfan <[email protected]>
  3035. * ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
  3036. implementation produces a better result.
  3037. 2008-07-10 George Giolfan <[email protected]>
  3038. * ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
  3039. windows.
  3040. 2008-07-10 George Giolfan <[email protected]>
  3041. * Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
  3042. cannot be used from the ThemeEngine constructor.
  3043. * ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
  3044. Application.VisualStylesEnabled because it does not work on X11.
  3045. 2008-07-09 Jonathan Pobst <[email protected]>
  3046. * StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
  3047. that we did not always check for, as well as fixes to the IList
  3048. implementations. [Fixes bug #402703]
  3049. 2008-07-09 George Giolfan <[email protected]>
  3050. * IDeviceContext.cs: Added Dispose.
  3051. 2008-07-09 George Giolfan <[email protected]>
  3052. * Control.cs: Added OnSizeInitializedOrChanged.
  3053. * Form.cs: OnLoadInternal: Added a call to
  3054. Control.OnSizeInitializedOrChanged.
  3055. * InternalWindowManager.cs:
  3056. * HandleTitleBarMouseMove: No longer invalidates the parent window.
  3057. * DrawTitleButton: Extracted Theme.ManagedWindowDrawMenuButton.
  3058. * TitleButton: Added Entered.
  3059. * TitleButtons.MouseMove: Added handling of TitleButton.Entered.
  3060. * MdiWindowManager.cs:
  3061. * HandleTitleBarMouseMove: Now invalidates the parent window when a mouse
  3062. move over the maximized title buttons causes a change.
  3063. * IsActive: Can now be called before the window is added to a MDI parent.
  3064. * Theme.cs: Added ManagedWindowTitleButtonHasHotElementStyle,
  3065. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3066. * ThemeVisualStyles.cs: Implemented proper managed window rendering.
  3067. * ThemeWin32Classic.cs:
  3068. * Extracted ManagedWindowDrawTitleBarAndBorders, ManagedWindowDrawTitleButton.
  3069. * DrawTitleButton takes a new form parameter.
  3070. * Added ManagedWindowTitleButtonHasHotElementStyle,
  3071. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3072. 2008-07-09 George Giolfan <[email protected]>
  3073. * ThemeEngine.cs: ThemeVisualStyles is now selected if
  3074. Application.EnableVisualStyles has been called, even if the current system
  3075. configuration does not support rendering with Visual Styles.
  3076. * ThemeVisualStyles.cs: Now falls back to ThemeWin32Classic when Visual
  3077. Styles should not be used.
  3078. 2008-07-08 Jonathan Pobst <[email protected]>
  3079. * ComboBox.cs: PreferredHeight is not tied to ItemHeight. Fixes 3rd
  3080. ComboBox in FormsTest.
  3081. 2008-07-08 Ivan N. Zlatev <[email protected]>
  3082. * ThemeWin32Classic.cs: (ManagedWindowBorderWidth): width 3 is only
  3083. for fixed toolwindows.
  3084. 2008-07-08 George Giolfan <[email protected]>
  3085. * Form.cs: SetBoundsCore: Added minimum size for minimized windows.
  3086. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3087. * Control.cs: CreateControl just returns if the Control is diposed
  3088. and doesn't throw ObjectDisposedException.
  3089. [Fixes bug #406566]
  3090. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3091. * Control.cs: Do not create the control if the parent isn't created
  3092. yet, e.g in the case of a parented form on which .Show is called.
  3093. It will be created when the parent is made visible/created.
  3094. Improves #402446.
  3095. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3096. * Form.cs: Avoid recursively calling OnSizeChanged due to recursive
  3097. WM_WINDOWPOSCHANGED caused by the layouting code on win32.
  3098. [Fixes bug #406786]
  3099. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3100. * Form.cs: When disposed set owner to null. Improves #402446.
  3101. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3102. * Form.cs, FlowLayoutPanel.cs: When calculating the PreferredSize
  3103. use children's PreferredSize if in AutoSize mode and ExplicitBounds
  3104. if not.
  3105. * Form.cs: Take the Padding into account for the PreferredSize.
  3106. [Fixes bug #402849]
  3107. 2008-07-07 Carlos Alberto Cortez <[email protected]>
  3108. * TabControl.cs: Since we don't support more than one direction in
  3109. TabControl rows alignment (this is, the row becomes the
  3110. bottom row when selected), make Direction return always 1. This way
  3111. the layout doesn't get confused about a bad calculation.
  3112. Fixes #399582.
  3113. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3114. * XplatUIX11.cs: Implement NC hit-testing for mouse down/up messages,
  3115. so that the wparam is properly set.
  3116. Fixes form moving in the test case in bug 402446.
  3117. 2008-07-07 Jonathan Pobst <[email protected]>
  3118. * FolderBrowserDialog.cs: If we can't find the SelectedPath, display
  3119. the full tree instead of nothing. [Improves bug #406584]
  3120. 2008-07-07 George Giolfan <[email protected]>
  3121. * ThemeWin32Classic.cs: Adjusted minimized window painting.
  3122. 2008-07-07 George Giolfan <[email protected]>
  3123. * InternalWindowManager.cs: No longer draws decorations for maximized MDI
  3124. children.
  3125. 2008-07-04 Jonathan Pobst <[email protected]>
  3126. * TreeView.cs: Add a null check when using CollapseAll on an
  3127. empty tree. [Fixes bug #406449]
  3128. 2008-07-03 Jonathan Pobst <[email protected]>
  3129. * Form.cs: Make OnMenuComplete internal so we can call it.
  3130. * MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
  3131. [Fixes bug #399321]
  3132. 2008-07-03 Jonathan Pobst <[email protected]>
  3133. * TabControl.cs: Handle Up and Down keys when TabControl is in
  3134. vertical alignment.
  3135. [Fixes bug #399585]
  3136. 2008-07-03 Jonathan Pobst <[email protected]>
  3137. * TabControl.cs: Invalidate when we remove a tab. Guard against
  3138. an AOORE when trying to remove a tabpage that is not owned by the
  3139. parent control.
  3140. [Fixes bug #399927]
  3141. 2008-07-03 Jonathan Pobst <[email protected]>
  3142. * ScrollBar.cs: Change the LargeChange calculation to be correct.
  3143. Ensure we are using LargeChange instead of large_change so we our
  3144. calculations are correct.
  3145. [Fixes bug #403122]
  3146. 2008-07-03 Jonathan Pobst <[email protected]>
  3147. * TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
  3148. we need to ensure the ColumnCount/RowCount gets set.
  3149. [Fixes bug #404851]
  3150. 2008-07-02 Carlos Alberto Cortez <[email protected]>
  3151. * ListBox.cs: When handling item navigation, if selection mode is
  3152. None, call EnsureVisible, since scrolling is normally handled by
  3153. selection, that we are not calling in this case.
  3154. Fixes #398345.
  3155. 2008-07-02 Jonathan Pobst <[email protected]>
  3156. * ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
  3157. a null check to our focus walking code. [Fixes bug #394332]
  3158. 2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3159. * ComboBox.cs: Case missed in bug 379596 "Support item
  3160. navigation by entering text": On _close_ drop-down select
  3161. the first item matching the text in the textbox. [Fixes bug #397265]
  3162. 2008-07-02 Jonathan Pobst <[email protected]>
  3163. * DataGridView.cs: Fix a crash when sorting by column headers,
  3164. mentioned in bug #404841. Remove some dead switch cases.
  3165. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3166. * ComboBox.cs:
  3167. * TextBox.cs: Implement AutoComplete support for ComboBox, which just
  3168. uses the AutoComplete support in the internal TextBox. Also TextBox
  3169. can store a reference to ComboBox, in case AutoCompleteSource is set
  3170. to ListItems (this is, ComboBox's items, and we don't want to pass an
  3171. additional collection).
  3172. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3173. * ListViewItem.cs: Restore the initial value of bounds rect to
  3174. Rectangle.Empty, and is this value for Layout detection in virtual
  3175. mode. Fixes the tests.
  3176. 2008-06-30 Jonathan Pobst <[email protected]>
  3177. * XPlatUI.cs: Remove references to "new" X11 backend.
  3178. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3179. * Control.cs: Add an internal virtual OnDragDropEnd method
  3180. to allow controls such as ListBox, which depend on a sequence
  3181. of MouseDown+Move+End events, to handle the lack of a MouseUp
  3182. when a DnD operation is started in MouseDown.
  3183. * ListBox.cs: If a DnD operation is started in MouseDown we won't
  3184. get a MouseUp, so reset our state whenever a DnD operation ends.
  3185. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3186. * PropertyGrid.cs: Clear the root griditem first thing when
  3187. new object/s is/are selected. Fixes some rare cases where
  3188. the View will get a paint request and won't know that the
  3189. grid is in the process of repopulating.
  3190. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3191. * XplatUIX11.cs, InternalWindowManager.cs:
  3192. If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
  3193. doesn't automagically update the FormBorderStyle, so we must
  3194. double check the CreateParams explicitly to determine if the
  3195. window is a toolwindow.
  3196. * ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
  3197. instead of doing custom checks.
  3198. Fixes toolwindows for the test case in bug #402446
  3199. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3200. * Control.cs: Visibility of the control should be false
  3201. when the handle is destroyed in WmDestroy and not immediately
  3202. in Dispose(). This is effectively where the disposing process
  3203. ends even though the control is marked as Disposed immediately
  3204. after calling Dispose().
  3205. [Fixes bug #402446]
  3206. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3207. * PropertyGridTextBox.cs: Start monitoring the mouse clicks
  3208. when the textbox gets focus.
  3209. [Fixes bug #402704]
  3210. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3211. * PropertyGridTextBox.cs, PropertyGridView.cs:
  3212. - Alt + Down should show the drop down editor.
  3213. - Focus the editor when showing it
  3214. [Fixes bug #402710]
  3215. 2008-06-25 Jonathan Pobst <[email protected]>
  3216. * ThemeWin32Classic.cs: Fix from Andy for panel text for panels
  3217. that are not the first panel.
  3218. * StatusBar.cs: Ensure that the X coordinate of panels is always
  3219. stored. Fix IList implementation of StatusBarPanelCollection to
  3220. call the regular methods.
  3221. [Fixes bug #403599, #402165]
  3222. 2008-06-23 Jonathan Pobst <[email protected]>
  3223. * ThemeWin32Classic.cs: Fix position calculation for centered
  3224. text on status bar panels. [Fixes bug #402165]
  3225. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3226. * Splitter.cs: Fix Splitter to:
  3227. - Work for arbitrary splitter size
  3228. - Handle MinSize and MinExtra properly
  3229. - Get rid of absolute positioning during drag and use relative
  3230. - Multiple other fixes
  3231. [Fixes bug #338966]
  3232. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3233. * Cursor.cs: Show shouldn't hide the cursor.
  3234. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3235. * ListViewItem.cs: When invalidating, add some extra space to bounds,
  3236. since focus rectangle and selection can add some space and need to
  3237. take into account those small offsets - specially in Details view.
  3238. * ListView.cs: Instead of invalidate using item Bounds directly, call
  3239. item.Invalidate, to have the code centralized.
  3240. Fixes focused/selection garbage when selecting and deselecting items
  3241. that are close.
  3242. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3243. * ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
  3244. mode we can check whether we have to force a Layout or not, and can
  3245. cache based on this, instead of avoiding caching all the the time. Do
  3246. this check in GetBounds and TextBounds.
  3247. Fixes selection in Details view.
  3248. 2008-06-20 Carlos Alberto Cortez <[email protected]>
  3249. * ListView.cs: Make HeaderControl internal, thus the theme engine can
  3250. get its *real* height instead of trying to infere it.
  3251. * ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
  3252. get the position of them, since it's in general a bad idea in general,
  3253. and because we can't do that in virtual mode. Instead get the first
  3254. visible item as well as item height, and draw them.
  3255. Fixes #400390.
  3256. 2008-06-20 Jonathan Pobst <[email protected]>
  3257. * ToolStripSplitButton.cs: We can't add in extra width if
  3258. the button is not AutoSize. [Fixes bug #401279]
  3259. 2008-06-20 Ivan N. Zlatev <[email protected]>
  3260. * PaddingConverter.cs:
  3261. - Implement conversion to InstanceDescriptor
  3262. - Handle "All" in CreateInstance by using the supplied
  3263. ITypeDescriptorContext.
  3264. [Fixes bugs #396076 and #396078]
  3265. Patch by Andy Hume <[email protected]>
  3266. Code contributed under MIT/X11 license.
  3267. 2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3268. * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
  3269. ButtonBase.cs:
  3270. Add Category attributes.
  3271. Code is contributed under the MIT/X11 license.
  3272. 2008-06-18 Ivan N. Zlatev <[email protected]>
  3273. * Form.cs:
  3274. - Fix a NRE when unparenting a form.
  3275. - Do not recreate or destroy a parented form when
  3276. unparenting.
  3277. 2008-06-18 Carlos Alberto Cortez <[email protected]>
  3278. * TextBox.cs: Implement basic support for AutComplete with custom
  3279. sources.
  3280. 2008-06-18 Jonathan Pobst <[email protected]>
  3281. * ToolStripSplitButton.cs: Left and Top of ButtonBounds, SplitterBounds,
  3282. DropDownButtonBounds should be from the origin of the button, not the
  3283. ToolStrip. [Fixes bug #401279]
  3284. 2008-06-16 Sandy Armstrong <[email protected]>
  3285. * X11DesktopColors.cs: Clear GTK_MODULES environment variable before
  3286. running gtk_init_check. This prevents GAIL from loading
  3287. unnecessarily, which was breaking UIA support. Initial fix for bug
  3288. #375987.
  3289. * Application.cs: Add UIA support to Winforms. New static constructor
  3290. uses reflection to initialize UIAutomationWinforms assembly. Added
  3291. PreRun event so UIA can initialize before the mainloop starts, and
  3292. FormAdded event so UIA can provide a11y support for new Forms in an
  3293. Application.
  3294. 2008-06-16 Jonathan Pobst <[email protected]>
  3295. * DataGridView.cs: When binding to a dataset, subscribe to table
  3296. and column change events. Unsubscribe to these when we clear bindings.
  3297. [Fixes bug #399601]
  3298. 2008-06-14 Everaldo Canuto <[email protected]>
  3299. [DataGrid drawing refactory]
  3300. * DataGrid.cs: Fix the caption size, we need one pixel more for divider.
  3301. * DataGridColumnStyle.cs: Removing PaintHeader code, the draw operations
  3302. must be handle by Theme, now it call DataGridPaintColumnHeader.
  3303. * DataGridTextBoxColumn.cs: Fix the textbox size. It must be one pixel less,
  3304. test cases must be also fixed because it checks for wrong size.
  3305. * ThemeWin32Classic.cs:
  3306. - Draw the bottom line of grid caption.
  3307. - Prevent to draw caption text when it is empty.
  3308. - Use CPDrawBorder3D for 3D efects to simplify code.
  3309. - Uses 3D (when not flat) to paint corner shared between row and column
  3310. header.
  3311. - Fix header drawing issues on win32, now borders are drawing.
  3312. - Fix column header paint issues to mimic win32.
  3313. - Adjust header drawing for last column, like first one it must be draw
  3314. different.
  3315. - Added DataGridPaintRowHeaderStar to draw star like .net does, it is
  3316. not an character.
  3317. - DataGridPaintColumnHeader created to draw column headers, it also
  3318. paint stuff right on Win32.
  3319. - Use DataGridPaintColumnHeader method instead of DataGridColumnStyle
  3320. class.
  3321. * Theme.cs:
  3322. - DataGridPaintRowHeaderStar method added.
  3323. - DataGridPaintColumnHeader method added.
  3324. 2008-06-13 Jonathan Pobst <[email protected]>
  3325. * Control.cs: Don't reset to Dock style layout if DockStyle is
  3326. set to none. [Fixes bug #399316]
  3327. 2008-06-12 Everaldo Canuto <[email protected]>
  3328. * Win32DnD.cs: Fix the check for control not equal null.
  3329. Fixes bug #341420 and #381886.
  3330. 2008-06-12 Jonathan Pobst <[email protected]>
  3331. * DataGridViewRowCollection.cs: Update the indexes of rows after
  3332. one has been removed.
  3333. * DataGridViewSelectedRowCollection.cs: Add internal clear method.
  3334. * DataGridViewSelectedColumnCollection.cs: Add internal clear method.
  3335. * DataGridView.cs: Add support for deleting rows via Delete key, deleting
  3336. rows for the Rows collection, or deleting rows from the bound DataSet.
  3337. 2008-06-12 Jonathan Pobst <[email protected]>
  3338. * DataGridView.cs: Listen to a DataSet's changed event even
  3339. when autogeneratecolumns is false. Refactor the changed event's
  3340. add row code to use the same as the existing add row code.
  3341. [Fixes bug #399601]
  3342. 2008-06-11 Jonathan Pobst <[email protected]>
  3343. * TextBoxBase.cs: We need to call RaiseSelectionChanged pretty
  3344. much any time the caret moves and there is text, not just when
  3345. the selection changes as one would think.
  3346. * RichTextBox.cs: Override RaiseSelectionChanged and fire
  3347. SelectionChanged.
  3348. [Fixes bug #397271]
  3349. 2008-06-11 Jonathan Pobst <[email protected]>
  3350. * FontDialog.cs: Forward ListBox keyboard events to the ListBox
  3351. instead of trying to duplicate the code.
  3352. * ListBox.cs: Make method internal so we can send keyboard events.
  3353. [Fixes bug #398344]
  3354. 2008-06-11 Jonathan Pobst <[email protected]>
  3355. * TextBoxBase.cs: When pasting and checking the max length,
  3356. subtract the selected text length (the text we will be replacing) from
  3357. the document length.
  3358. * TextControl.cs: Ensure every character insertion is reflected in
  3359. charcount, so max length will work properly.
  3360. [Fixes bug #398605]
  3361. 2008-06-11 Jonathan Pobst <[email protected]>
  3362. * ListBox.cs: Ensure scrollbars are updated when a single
  3363. column listbox with an already set top-index is created.
  3364. [Fixes bug #398342]
  3365. 2008-06-11 Jonathan Pobst <[email protected]>
  3366. * FontDialog.cs: Typing in the font/style textboxes should search
  3367. the list boxes case-insensitively. [Fixes bug #398343]
  3368. 2008-06-11 George Giolfan <[email protected]>
  3369. * ThemeWin32Classic.cs: Managed window title bar layout now uses actual
  3370. widths of icon and buttons instead of hard coded values.
  3371. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3372. * ListBox.cs: When SelectionMode is None, clicking an item should move focus
  3373. as well as generating a SelectedIndexChanged event, just like .Net does
  3374. -surprise-.
  3375. Fixes #398345.
  3376. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3377. * ListBox.cs: When navigating items visually, use FocusedItem as the
  3378. reference point instead of SelectedIndex, since even in
  3379. SelectionMode.None we need to support navigation, and in that case we
  3380. just can't use SelectedIndex.
  3381. Fixes part of #398345.
  3382. 2008-06-10 Jonathan Pobst <[email protected]>
  3383. * Control.cs: Make a SetBoundsInternal that avoids the new
  3384. SetBounds code.
  3385. * ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
  3386. SetBoundsInternal instead of SetBoundsCoreInternal.
  3387. 2008-06-10 Ivan N. Zlatev <[email protected]>
  3388. * ScrollableControl.cs: Use SetBoundsCoreInternal instead of
  3389. SetBounds for the scrollbars.
  3390. 2008-06-10 Andreia Gaita <[email protected]>
  3391. * HtmlDocument.cs: Implement RightToLeft, ContextMenuShowing,
  3392. FocusingEvent, LosingFocusEvent, OnMouseDown, OnMouseLeave,
  3393. OnMouseMove, OnMouseOver, OnMouseUp
  3394. * HtmlElement.cs: Optimize InsertBefore. Implement RemoveFocus,
  3395. ScrollIntoView, Focusing, GotFocus, LosingFocus, LostFocus.
  3396. * HtmlElementCollection.cs, HtmlWindowCollection.cs: Keep a reference
  3397. to the WebControl object to pass to new collection objects
  3398. * HtmlHistory.cs: Implement support for individual window histories.
  3399. * HtmlWindow.cs: Implement History, Position, Size, WindowFrameElement,
  3400. AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
  3401. GotFocus, LostFocus, OnLoad, OnUnload
  3402. * WebBrowser.cs: Implement EncryptionLevel, ScrollBarsEnabled,
  3403. ContextMenu
  3404. * WebBrowserBase.cs: Implement Cursor, Enabled, UseWaitCursor, Add
  3405. security level changes and context menu event support.
  3406. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3407. * ComboBox.cs: Pressing Enter should close the dropdown listbox, just
  3408. as happens with Esc, patch my Andy Hume.
  3409. Fixes #396294.
  3410. 2008-06-10 George Giolfan <[email protected]>
  3411. * MdiWindowManager.cs: DrawMaximizedButtons now uses
  3412. ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
  3413. * Theme.cs: Made MenuButtonSize platform dependent. Added
  3414. ManagedWindowButtonSize.
  3415. * ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
  3416. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
  3417. 2008-06-10 George Giolfan <[email protected]>
  3418. * DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
  3419. Added support for rendering with VisualStyles.
  3420. 2008-06-10 George Giolfan <[email protected]>
  3421. * ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  3422. support for rendering the border with VisualStyles.
  3423. 2008-06-10 George Giolfan <[email protected]>
  3424. * InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
  3425. the icon is not shown.
  3426. * ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
  3427. its own logic.
  3428. 2008-06-10 George Giolfan <[email protected]>
  3429. * InternalWindowManager.cs: Draw minimized windows even if they don't have
  3430. borders.
  3431. 2008-06-09 Jonathan Pobst <[email protected]>
  3432. * ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
  3433. 2008-06-09 Jonathan Pobst <[email protected]>
  3434. * Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
  3435. [Fixes bug #397943]
  3436. 2008-06-06 Carlos Alberto Cortez <[email protected]>
  3437. * ComboBox.cs: When snaping height -because of IntegralHeight set to
  3438. true- with ComboBoxStyle.Simple, set the height to PreferredHeight
  3439. if the requested height leaves the listbox area with *less* than the
  3440. required are to see one item. We were setting it to PreferredHeight
  3441. even for values matching the height for a single item.
  3442. Fixes #396297.
  3443. 2008-06-06 Jonathan Pobst <[email protected]>
  3444. * DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.
  3445. 2008-06-06 Jonathan Pobst <[email protected]>
  3446. * DataGridViewCell.cs: Use property instead of field.
  3447. 2008-06-06 George Giolfan <[email protected]>
  3448. * InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
  3449. null checks.
  3450. 2008-06-06 George Giolfan <[email protected]>
  3451. * Theme.cs: Added #region around the managed window code. Made the managed
  3452. window methods abstract.
  3453. * ThemeWin32Classic.cs: Added #region around the managed window code.
  3454. 2008-06-06 George Giolfan <[email protected]>
  3455. * InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
  3456. if it has borders.
  3457. * ThemeWin32Classic.cs: Removed HasBorders checks in
  3458. DrawManagedWindowDecorations.
  3459. 2008-06-06 George Giolfan <[email protected]>
  3460. * InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  3461. Extracted ManagedWindowGetTitleBarIconArea.
  3462. 2008-06-05 Jonathan Pobst <[email protected]>
  3463. * DataGridViewCellStyle.cs: Don't clone the font.
  3464. 2008-06-05 Jonathan Pobst <[email protected]>
  3465. * DataGridViewCell.cs: Ensure we don't pass null to GetConverter.
  3466. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  3467. * XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
  3468. also on 64 bit machinges. Fixes the BadWindow errors while scrolling
  3469. in 64 bit machines.
  3470. 2008-06-05 Jonathan Pobst <[email protected]>
  3471. * DataGridViewCell.cs: Correctly get converters for FormattedValue.
  3472. Use Format/FormatProvider before trying converters.
  3473. * DataGridViewCellStyle.cs: ApplyStyle should only apply things that
  3474. are 'set'. Change constructor to not use ApplyStyle since it wants
  3475. everything applied. Clone the Font.
  3476. * DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
  3477. ApplyStyle the rest.
  3478. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  3479. * ListView.cs: We need to calculate the scrollbars even if the handle
  3480. hasn't been created - this is needed when methods using scrollbars
  3481. info, such EnsureVisible, are called before control has been created.
  3482. Fixes #397272.
  3483. 2008-06-05 George Giolfan <[email protected]>
  3484. * ThemeVisualStyles.cs: ScrollBar is now rendered with the VisualStyles API
  3485. only if the elements are defined.
  3486. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3487. * ComboBox.cs: I'm an idiiot - forgot to commit the last ComboBox
  3488. section. Also, when setting bounds, snap height as well as save the
  3489. requested height if Dock has any value affecting the height: Left,
  3490. Right and Bottom - important if using IntegralHeight as true.
  3491. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3492. * ComboBox.cs: When calling UpdateComboBoxBounds, adjust the height
  3493. passed to SetBounds to reflect the new adjusted height (Integral-wise),
  3494. instead of doing that only in our SetBoundsCore override, since the
  3495. bounds cached can be the same as saved one and we could not get the
  3496. new height applied.
  3497. Fixes #396297.
  3498. 2008-06-04 George Giolfan <[email protected]>
  3499. * Theme.cs: Made ToolWindowCaptionButtonSize platform dependent.
  3500. * XplatUI.cs: Added ToolWindowCaptionButtonSize.
  3501. * XplatUIDriver.cs: Changed SmallCaptionButtonSize to 15,15. Added
  3502. ToolWindowCaptionButtonSize.
  3503. * XplatUIWin32.cs: Added ToolWindowCaptionButtonSize.
  3504. 2008-06-04 George Giolfan <[email protected]>
  3505. * MdiWindowManager.cs: Now uses SystemInformation.DoubleClickTime instead of
  3506. hard coded values.
  3507. * Theme.cs: Made DoubleClickTime plaform dependent.
  3508. 2008-06-04 George Giolfan <[email protected]>
  3509. * Theme.cs: Made ToolWindowCaptionHeight platform dependent.
  3510. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  3511. ToolWindowCaptionHeight.
  3512. 2008-06-04 George Giolfan <[email protected]>
  3513. * InternalWindowManager.cs: The adjustment to ensure positive client area
  3514. sizes is now platform dependent (disabled on Windows).
  3515. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  3516. RequiresPositiveClientAreaSize.
  3517. 2008-06-04 George Giolfan <[email protected]>
  3518. * Form.cs: Fixed null handling in Icon (see SettingIconToNull in the tests).
  3519. 2008-06-04 George Giolfan <[email protected]>
  3520. * InternalWindowManager.cs: Changed IconicSize to use
  3521. SystemInformation.MinimizedWindowSize.
  3522. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinimizedWindowSize.
  3523. * XplatUIDriver.cs: Changed MinimizedWindowSize to provide a default value.
  3524. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3525. * ComboBox.cs: If the combobox is anchored both on top and bottom,
  3526. adjust height if IntegralHeight is true when calling SetBoundsCore (as
  3527. likely the height was modified even if Height wasn't specified in
  3528. BoundsSpecified parameter).
  3529. Fixes part of #396297.
  3530. 2008-06-04 George Giolfan <[email protected]>
  3531. * InternalWindowsManager.cs: Changed minimum window size while resizing to
  3532. SystemInformation.MinWindowTrackSize.
  3533. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinWindowTrackSize.
  3534. * XplatUIDriver.cs: Changed MinWindowTrackSize to provide a default value.
  3535. 2008-06-03 George Giolfan <[email protected]>
  3536. * MenuItem.cs: Fixed Dispose.
  3537. 2008-06-03 George Giolfan <[email protected]>
  3538. * ColumnHeader.cs: CalcColumnHeader now uses the theme to get the height.
  3539. * DataGridView.cs: * EnableHeadersVisualStyles: Fixed default value.
  3540. EnteredHeaderCell, PressedHeaderCell: Added.
  3541. * DataGridViewCell.cs: Refactored: Extracted GetBorderPen.
  3542. * DataGridViewColumnHeaderCell.cs, DataGridViewRowHeaderCell.cs: Gave the
  3543. theme a chance to override default painting.
  3544. * ListView.cs: Added EnteredColumnHeader. Refactored: Extracted
  3545. GetColumnHeaderInvalidateArea, Invalidate(ColumnHeader).
  3546. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added members for
  3547. ListView and DataGridView header rendering.
  3548. 2008-06-03 Ivan N. Zlatev <[email protected]>
  3549. * RichTextBox.cs: GetPositionFromCharIndex should return the
  3550. visual position of the character relative to the viewport.
  3551. [Fixes part of bug #396664]
  3552. 2008-06-03 Ivan N. Zlatev <[email protected]>
  3553. * GridEntry.cs: Make HasCustomEditor check for EditStyle != None
  3554. and not just for the existance of an UITypeEditor. In some cases
  3555. there is an editor associated just to do PaintValue, but which
  3556. doesn't actually support editing.
  3557. [Fixes bug #396632]
  3558. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  3559. * ComboBox.cs: page_size as well as vscrollbar.LargeChange should be 1
  3560. if needed, instead of 0 - this should help us in the corner case where
  3561. we have more than one item but we are only partially showing 1 item.
  3562. Fixes part of #374713.
  3563. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  3564. * XplatUiX11.cs: When scrolling and detecting the obscured areas in a
  3565. control, return immediately if the any parent control's handle hasn't
  3566. been created or isn't visible, as well as avoiding creating the parent
  3567. Form if the handle hasn't been previously created.
  3568. Fixes tests.
  3569. 2008-06-02 Jonathan Pobst <[email protected]>
  3570. * TableLayoutPanel.cs: Use border sizes when calculating the
  3571. panel's preferred size. [Fixes part of bug #396433]
  3572. 2008-06-02 Ivan N. Zlatev <[email protected]>
  3573. * SplitContainer.cs:
  3574. - Fix SplitterDistance to update only if needed.
  3575. - Make it force min and max validation.
  3576. - Handle properly mouse moves outside the resizeable area.
  3577. [Fixes bug #396232]
  3578. 2008-06-02 Andreia Gaita <[email protected]>
  3579. * WebBrowserBase.cs: Implement support for ScriptErrorsSuppressed
  3580. (which also suppresses all popup dialogs). Throw NotSupported
  3581. exceptions for activex getters/setters.
  3582. * WebBrowser.cs: Implement DocumentStream, DocumentType, IsBusy,
  3583. IsOffline, ReadyState, ScriptErrorsSuppressed, ScrollbarsEnabled,
  3584. StatusText, Version, GoSearch
  3585. * HtmlDocument.cs: Add DocType support
  3586. 2008-06-02 Andy Hume <[email protected]>
  3587. * TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
  3588. [Fixes bug 396124]
  3589. 2008-06-02 Ivan N. Zlatev <[email protected]>
  3590. * GridEntry.cs: Pass the ITypeDescriptorContext everywhere.
  3591. 2008-06-02 Jonathan Pobst <[email protected]>
  3592. * TableLayoutPanel.cs: When calculating preferred size, use the
  3593. actual number of columns and rows, not what the user set them to.
  3594. [Fixes bug #396141]
  3595. 2008-06-02 George Giolfan <[email protected]>
  3596. * Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
  3597. 394311.
  3598. 2008-06-01 Carlos Alberto Cortez <[email protected]>
  3599. * XplatUIX11.cs: When detecting areas obscured in a control by other
  3600. toplevel windows while scrolling, return if the control hasn't a
  3601. container form.
  3602. Fixes some tests.
  3603. 2008-05-01 Carlos Alberto Cortez <[email protected]>
  3604. * XplatUIX11.cs: Properly detect the visible area of a control being
  3605. scrolled (obscured by other winforms controls and any X toplevel
  3606. windows), to mark as invalid the requested area to be scrolled that
  3607. isn't visible and thus can't be copied.
  3608. Fixes #324513.
  3609. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  3610. * ListBox.cs: Compute the precise amount to vertically scroll when
  3611. using DrawMode.OwnerDrawVariable.
  3612. Patch by jkeymer ([email protected]).
  3613. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  3614. * ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
  3615. to avoid setting an invalid value for the verticall scrollbar
  3616. when navigating items. And, duh, also remove my silly debug messages
  3617. from previous commits.
  3618. Fixes #374713.
  3619. 2008-05-30 Ivan N. Zlatev <[email protected]>
  3620. * FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
  3621. make it MS compatible.
  3622. 2008-05-30 Ivan N. Zlatev <[email protected]>
  3623. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
  3624. - Allow the editing of entries even if their parent is read-only.
  3625. - Do not render expandable properties read-only.
  3626. - Refactor expansion checks form PropertyGrid into PropertyGrid.
  3627. 2008-05-30 George Giolfan <[email protected]>
  3628. * ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  3629. support for the hover style.
  3630. 2008-05-29 Andreia Gaita <[email protected]>
  3631. * ContainerControl.cs: Check for null dead-end when traversing the tree
  3632. of parent controls.
  3633. [Fixes #394332, patch by Ernesto Carrea]
  3634. 2008-05-29 Geoff Norton <[email protected]>
  3635. * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
  3636. constant that it is. Fixes #393981
  3637. 2008-05-29 Jonathan Pobst <[email protected]>
  3638. * Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
  3639. that the user probably doesn't want to set this.
  3640. 2008-05-29 Jonathan Pobst <[email protected]>
  3641. * ThemeWin32Classic.cs: Don't let the text size be bigger than
  3642. the control size for CheckBox/RadioBox.
  3643. [Fixes part of bug #394645]
  3644. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3645. * PropertyGrid.cs: Update the state of the sorting buttons in
  3646. the toolbar if PropertySort is set programatically.
  3647. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3648. * GridItemCollection.cs: Add multiple items with conflicting names
  3649. support and also preserve name ordering.
  3650. [Fixes #395345]
  3651. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3652. * GridItemCollection.cs: Revert my multiple items with same
  3653. name patch.
  3654. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  3655. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  3656. or middle ones.
  3657. Fixes part of #393908.
  3658. 2008-05-28 Jonathan Pobst <[email protected]>
  3659. * ToolStripDrowDown.cs: When using the Show () methods that have a
  3660. Control parameter, set the menu owner to that Control.
  3661. [Fixes bug #394345]
  3662. 2008-05-28 Ivan N. Zlatev <[email protected]>
  3663. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  3664. [Fixes bug #362756]
  3665. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3666. * GridItemCollection.cs: Refactor to support multiple items with the
  3667. same name.
  3668. [Fixes bug #394314]
  3669. 2008-05-27 Jonathan Pobst <[email protected]>
  3670. * Control.cs: The 2.0 check for illegal cross thread calls in
  3671. Control.Handle were throwing an exception when we were getting
  3672. the Handle in order to invoke correctly. Created a private
  3673. version that does not contain this check.
  3674. [Fixes bug #394531]
  3675. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3676. * PropertyGrid.cs: Respect DefaultTabType.
  3677. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3678. * ListView.cs: SPACE selects an item.
  3679. [Fixes bug #393023]
  3680. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3681. * ListView.cs: Reset the search string whenever the items are
  3682. modified.
  3683. [Fixes bug #393020]
  3684. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  3685. * ListControl.cs: For the first added item PositionChanged is fired
  3686. _before_ ItemChanged, which leave us in a temporary invalid state - so
  3687. we need to set the selected index from ItemChanged handler *if* we
  3688. know that the first item has just been added *and* the items have been
  3689. actually added to the ListControl.
  3690. Fixes #369048.
  3691. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  3692. * TabControl.cs: Only clicks with the left button should be
  3693. handled.
  3694. Fixes #393908.
  3695. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  3696. * ComboBox.cs:
  3697. * FIleDialog.cs:
  3698. * TextBox.cs: Expose an internal method in TextBox to restore the
  3699. original context menu, and call it from ComboBox to re-use it in the
  3700. combobox containing the file name in FileDialog.cs.
  3701. Fixes part of #393775.
  3702. 2008-05-24 George Giolfan <[email protected]>
  3703. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  3704. style.
  3705. 2008-05-24 George Giolfan <[email protected]>
  3706. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  3707. down button style.
  3708. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  3709. * ComboBox.cs: Minor correction to previous patch: PageDown should
  3710. also *try* to move by one item if the computed offset is negative,
  3711. just like the PageUp case.
  3712. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  3713. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  3714. should be done for at least 1 item, and not stay at the same item.
  3715. Fixes part of #374713.
  3716. 2008-05-23 Jonathan Pobst <[email protected]>
  3717. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  3718. directories. [Fixes bug #393931]
  3719. 2008-05-22 Andreia Gaita <[email protected]>
  3720. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  3721. Don't fire events until the initial about:blank page has finished
  3722. loading. Clean up events.
  3723. 2008-05-22 Atsushi Enomoto <[email protected]>
  3724. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  3725. FocusIn() too. This should fix the issue on switching
  3726. scim keyboards.
  3727. 2008-05-22 Atsushi Enomoto <[email protected]>
  3728. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  3729. number (ideally the input textbox size, but that could be
  3730. too messy).
  3731. 2008-05-22 Jonathan Pobst <[email protected]>
  3732. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  3733. the ToolStripItem's TextChanged. [Fixes bug #393597]
  3734. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  3735. * TabControl.cs: When invalidating in SelectedIndex and we need to
  3736. inflate to take into account the border of the tabs, make sure that
  3737. the invalidated rect doesn't overflow the control bounds, since that
  3738. would avoid updating at all.
  3739. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  3740. * TabControl.cs: Don't substract scroller width from the row width,
  3741. since we need to take into account the total width of the control when
  3742. calculating the position of the tabs. This avoids showing scroller
  3743. when it is actually not needed.
  3744. Fixes part of #322325.
  3745. 2008-05-21 George Giolfan <[email protected]>
  3746. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  3747. 2008-05-21 George Giolfan <[email protected]>
  3748. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  3749. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  3750. 2008-05-21 Jonathan Pobst <[email protected]>
  3751. * DataGridView.cs: Only paint the top left header cell if there
  3752. are columns.
  3753. 2008-05-21 Jonathan Pobst <[email protected]>
  3754. * DataGridView.cs: When binding to a BindingSource, get the underlying
  3755. list to bind to. [Fixes bug #345483]
  3756. 2008-05-21 Jonathan Pobst <[email protected]>
  3757. * DataGridView.cs: Do not bind to collection properties.
  3758. [Fixes bug #337470]
  3759. 2008-05-21 George Giolfan <[email protected]>
  3760. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  3761. 2008-05-21 George Giolfan <[email protected]>
  3762. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  3763. thumb style.
  3764. 2008-05-21 George Giolfan <[email protected]>
  3765. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  3766. 2008-05-21 George Giolfan <[email protected]>
  3767. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  3768. background.
  3769. 2008-05-21 George Giolfan <[email protected]>
  3770. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  3771. 2008-05-21 George Giolfan <[email protected]>
  3772. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  3773. checked styles.
  3774. 2008-05-21 George Giolfan <[email protected]>
  3775. * TabControl.cs: Extended to handle the hot style.
  3776. 2008-05-21 George Giolfan <[email protected]>
  3777. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  3778. Extended UpDownBase code to handle hot and disabled styles.
  3779. 2008-05-20 Jonathan Pobst <[email protected]>
  3780. * DataGridView.cs: Handle databinding to generic list type things.
  3781. [Fixes bug #325239]
  3782. 2008-05-20 Jonathan Pobst <[email protected]>
  3783. * DataGridViewCellCollection.cs: Add a method to find the cell
  3784. with the given DataPropertyName.
  3785. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  3786. * DataGridViewColumnCollection.cs: Add a method to clear all
  3787. autogenerated columns.
  3788. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  3789. columns.
  3790. [Fixes bug #348082]
  3791. 2008-05-20 Jonathan Pobst <[email protected]>
  3792. * DataGridView.cs: Don't try to update the RowTemplate with
  3793. a null CellTemplate.
  3794. 2008-05-20 Jonathan Pobst <[email protected]>
  3795. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  3796. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  3797. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  3798. a DataSet.
  3799. 2008-05-20 Jonathan Pobst <[email protected]>
  3800. * Control.cs: Remove invalidating implicit child controls when
  3801. control is invalidated. It was causing too many redraws on
  3802. controls with implicit scrollbars.
  3803. * ListView.cs: Listen to the Invalidated event and invalidate
  3804. child controls.
  3805. 2008-05-20 Andreia Gaita <[email protected]>
  3806. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  3807. * HtmlDocument.cs: Check for nulls
  3808. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  3809. * Control.cs: In ControlCollection.RemoveInternal, remove the
  3810. internal control before calling PerformLayout and OnControlRemoved,
  3811. which was leaving us in an invalid state and causing a X error (bad
  3812. match). Observe that Remove () call has the same order.
  3813. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  3814. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  3815. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  3816. being fired if ControlStyles.UserPaint style is activated.
  3817. Fixes #371905.
  3818. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3819. * GridEntry.cs: Don't be so strict when setting the value -
  3820. do not check if what we set is what we get.
  3821. [Fixes bug #389245]
  3822. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3823. * XplatUIX11.cs: If there are no timers timeout should be 0
  3824. [Fixes bug #363522]
  3825. 2008-05-19 Jonathan Pobst <[email protected]>
  3826. * Control.cs: As a followup to invalidating implicit children when
  3827. a control is invalidated, only invalidate them if they are in the
  3828. clip rectangle.
  3829. 2008-05-19 George Giolfan <[email protected]>
  3830. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  3831. 2008-05-19 George Giolfan <[email protected]>
  3832. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  3833. 2008-05-19 George Giolfan <[email protected]>
  3834. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  3835. * XplatUIWin32.cs: Made Win32DeleteObject public.
  3836. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3837. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  3838. PropertyDescriptor.ShouldSerializeValue.
  3839. [Fixes bug #391924]
  3840. 2008-05-19 George Giolfan <[email protected]>
  3841. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  3842. in the classic theme.
  3843. 2008-05-19 George Giolfan <[email protected]>
  3844. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  3845. ThumbPressed.
  3846. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  3847. ScrollBarHasPressedThumbStyle.
  3848. 2008-05-19 George Giolfan <[email protected]>
  3849. * TextRenderer.cs: Included some methods in the 1.1 profile.
  3850. 2008-05-19 Jonathan Pobst <[email protected]>
  3851. * Control.cs: When we make a control visible, it may have been
  3852. previously visible and while it wasn't visible, the z-order of
  3853. things may have been shuffled, so the control needs to have its
  3854. z-order updated just in case. [Fixes bug #391518]
  3855. 2008-05-19 George Giolfan <[email protected]>
  3856. * ThemeVisualStyles.cs: Added support for GroupBox.
  3857. 2008-05-19 George Giolfan <[email protected]>
  3858. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  3859. 2008-05-16 Atsushi Enomoto <[email protected]>
  3860. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  3861. bug #389996; XSelectInput() behaved as mouse handler robber,
  3862. so remove extra call to it.
  3863. 2008-05-15 Jonathan Pobst <[email protected]>
  3864. * Control.cs: Simplify ControlCollection.Contains method.
  3865. 2008-05-15 Jonathan Pobst <[email protected]>
  3866. * DataGridViewRow.cs: Implement GetPreferredSize.
  3867. 2008-05-15 Jonathan Pobst <[email protected]>
  3868. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  3869. 2008-05-15 Jonathan Pobst <[email protected]>
  3870. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  3871. painting and edit control fixes.
  3872. 2008-05-14 Jonathan Pobst <[email protected]>
  3873. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  3874. checks to make sure we are in an actual row/col for top left header cell.
  3875. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  3876. 2008-05-14 Jonathan Pobst <[email protected]>
  3877. * Control.cs: Use long instead of int when handling WParam from
  3878. mousewheel scrolling. Int was overflowing on Win64.
  3879. 2008-05-14 Jonathan Pobst <[email protected]>
  3880. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  3881. flow panel without scrolling first, and then calculate the
  3882. scrolling based on the new layout. [Fixes bug #390149]
  3883. 2008-05-14 Jonathan Pobst <[email protected]>
  3884. * ListBox.cs: Invalidate after scrolling up when selected index
  3885. changes. [Fixes bug #390151]
  3886. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  3887. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  3888. set, default height to 150. I tried first with DefaultSize, but this
  3889. is not generating a SetBoundsCore call before handle creation time, so
  3890. we can take it into account. This is just what .net does.
  3891. 2008-05-13 Jonathan Pobst <[email protected]>
  3892. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  3893. as it broke some stuff. Calberto is filing a bug for eno to
  3894. work with.
  3895. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  3896. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  3897. to 0 is the current value is -1, and if style is not Simple, just
  3898. return, like .net does.
  3899. Fixes part of #374713.
  3900. 2008-05-13 Jonathan Pobst <[email protected]>
  3901. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  3902. progress bar stuffs, use doubles instead of ints to prevent
  3903. overflow. [Fixes bug #389798]
  3904. 2008-05-13 Atsushi Enomoto <[email protected]>
  3905. * XplatUIX11.cs, X11Keyboard.cs :
  3906. Significant refactoring on XIM support. Now IM engine UI
  3907. should show up, at mostly-correct preedit position.
  3908. - Eliminated use of FocusWindow, as it is never mapped
  3909. and hence blocks correct preedit position. XIC is now
  3910. created per window, and it must be destroyed too when
  3911. the window is destroyed.
  3912. - WM_QUIT messages should not be filtered even when hwnd
  3913. is zombie. Filtering it could cause endless loop.
  3914. - Preedit position must move only when the window is alive.
  3915. - Make it IDisposable and make sure to release XIM/XICs.
  3916. 2008-05-13 Atsushi Enomoto <[email protected]>
  3917. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  3918. XplatUIX11.cs, XplatUIWin32.cs :
  3919. fix for bug #325033 and #387693;
  3920. - WM_QUIT should not be sent when no running application
  3921. exists.
  3922. - SetTimer/KillTimer (especially on win32) should be
  3923. invoked for the window that the timer is/will_be attached.
  3924. - There could be unattached timers to a window when it's
  3925. started. For those timers, hold pending timers and when
  3926. a window is mapped, attach them to it.
  3927. - WaitForHwndMessage() could run into loop when
  3928. WM_SHOWWINDOW is handled before this method is called.
  3929. So, strictly check wm_showwindow state.
  3930. - Tick handler should not be invoked while one Tick handler
  3931. call is still running (introduced Busy state).
  3932. 2008-05-13 Andreia Gaita <[email protected]>
  3933. * WebBrowserBase.cs: Override Internal alternative methods for
  3934. SetBoundsCore and OnResize instead of the protected ones.
  3935. * Control.cs: Move SetBoundsCore and OnResize implementations to
  3936. SetBoundsCoreInternal and OnResizeInternal, so they can be
  3937. overriden internally (WebBrowserBase needs to catch them but can't
  3938. override the protected methods without api compat problems)
  3939. 2008-05-13 Andreia Gaita <[email protected]>
  3940. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  3941. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  3942. * Binding.cs:
  3943. * ListView.cs: Remove debug messages.
  3944. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  3945. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  3946. area is empty. Also calculate scrollbars in Simple mode based in area
  3947. height and total number of items, not in MaxDropDownItems.
  3948. Fixes part of #371991.
  3949. 2008-05-12 Jonathan Pobst <[email protected]>
  3950. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  3951. 2008-05-12 Jonathan Pobst <[email protected]>
  3952. * BindingSource.cs: GetListSortDescription is not public.
  3953. 2008-05-12 Jonathan Pobst <[email protected]>
  3954. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  3955. 2008-05-12 Jonathan Pobst <[email protected]>
  3956. * HtmlElement.cs: Fix parameter names to match MS.
  3957. * HtmlWindowCollection.cs: Should not be sealed.
  3958. 2008-05-12 Jonathan Pobst <[email protected]>
  3959. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  3960. button, because the thumb button will not get drawn if the scrollbar
  3961. is disabled. [Fixes bug #389262]
  3962. 2008-05-12 Jonathan Pobst <[email protected]>
  3963. * ListBox.cs: Handle End key for multi-column listboxen.
  3964. [Fixes bug #389266]
  3965. 2008-05-12 Jonathan Pobst <[email protected]>
  3966. * ListBox.cs: Fix algorithm to determine which column our item is in.
  3967. [Fixes bug #389265]
  3968. 2008-05-12 Jonathan Pobst <[email protected]>
  3969. * ListBox.cs: Invalidate when the listbox is resized.
  3970. [Fixes bug #389256]
  3971. 2008-05-12 Jonathan Pobst <[email protected]>
  3972. * ListBox.cs: There is always at least one row in the ListBox (if
  3973. we are doing these calculations.) [Fixes bug #389253]
  3974. 2008-05-12 Jonathan Pobst <[email protected]>
  3975. * ListBox.cs: There is always at least one column in the ListBox.
  3976. [Fixes bug #389250]
  3977. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  3978. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  3979. ensure in Simple mode that the height is exactly the requested one.
  3980. Also add the ComboBoxListControl to the controls collection in Simple
  3981. mode even if handle hasn't been created.
  3982. Fixes part of #371991.
  3983. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  3984. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  3985. our ComboBox owner instead of giving it back to the previous control (
  3986. as done in other controls). Also remove the empty override of Select
  3987. method, since we want to be selected *and* give focus to our owner.
  3988. This should let the user do keys-navigation in Simple mode.
  3989. 2008-05-10 Geoff Norton <[email protected]>
  3990. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  3991. problems with rapid scrolling of treeviews. Fixes #381084
  3992. 2008-05-10 Geoff Norton <[email protected]>
  3993. * XplatUICarbon.cs: Deactivate the active window before
  3994. activating the desired window. Completes fixing #386504
  3995. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  3996. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  3997. SmallChange to the item size width plus the padding, to match .net.
  3998. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  3999. * FileDialog.cs: Apply the custom filter typed by the user in the file
  4000. name combobox as much as possible while navigating in the file dialog.
  4001. Fixes #385261.
  4002. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  4003. * Binding.cs: Actually use NullValue if the retrieved value of
  4004. data source is null or DBNull. Makes a test pass.
  4005. 2008-05-09 Jonathan Pobst <[email protected]>
  4006. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  4007. * MimeIcon.cs: Provide a way to get icons from resources.
  4008. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  4009. * Binding.cs: When the value retrieved from the control to be assigned
  4010. to the data source is null, actually use the 2.0 DataSourceNullValue
  4011. value. Make pass a data binding test.
  4012. 2008-05-08 Jonathan Pobst <[email protected]>
  4013. * Control.cs: We need to invalidate implicit children even when
  4014. invalidate is called with invalidatechildren = false. (Implicit
  4015. children are really part of the parent.)
  4016. * ListView.cs: Double-buffer internal child controls for less
  4017. flicker.
  4018. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  4019. owner ListView subitems for greatly increased performance.
  4020. [Fixes bug #388477]
  4021. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  4022. * FileDialog.cs: When the user types a wildcard character in the
  4023. filename combobox, update the contents of the folder using the text as
  4024. a filter.
  4025. Fixes part of #385261.
  4026. 2008-05-08 Jonathan Pobst <[email protected]>
  4027. * ListBox.cs: Various fixes for MultiColumn listboxen.
  4028. [Fixes bug #388114]
  4029. 2008-05-08 Andreia Gaita <[email protected]>
  4030. * HtmlElement.cs: Implement Style property
  4031. 2008-05-08 Jonathan Pobst <[email protected]>
  4032. * ListBox.cs: Respect checkboxes when measuring item size.
  4033. * ThemeWin32Classis.cs: When drawing list items, don't draw
  4034. text outside of the item's bounds to prevent overlapping.
  4035. (.Net actually overlaps, but that's just silly.)
  4036. [Fixes bug #388117]
  4037. 2008-05-08 Everaldo Canuto <[email protected]>
  4038. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  4039. Gert Driesen. Fixes bug #324830.
  4040. 2008-05-07 Everaldo Canuto <[email protected]>
  4041. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  4042. method implemented.
  4043. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4044. * BindingSource.cs: When calling IsSynchronized, return the value of
  4045. the related IList list.
  4046. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4047. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  4048. make a test pass.
  4049. 2008-05-07 Jonathan Pobst <[email protected]>
  4050. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  4051. navigation to scroll the grid if the current cell is not visible.
  4052. 2008-05-07 Andreia Gaita <[email protected]>
  4053. * HtmlElement.cs: Implement TabIndex
  4054. 2008-05-07 Jonathan Pobst <[email protected]>
  4055. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  4056. properties, even when there are no items.
  4057. [Fixes bug #387611]
  4058. 2008-05-07 Ivan N. Zlatev <[email protected]>
  4059. * NativeWindow.cs: Add support for multiple handles per window.
  4060. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  4061. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  4062. directly - use FromHandle instead.
  4063. [Fixes bug #374660]
  4064. 2008-05-07 Andreia Gaita <[email protected]>
  4065. * HtmlElement.cs: Implement InnerHTML setter
  4066. 2008-05-07 Andreia Gaita <[email protected]>
  4067. * HtmlDocument.cs: Implement Focused
  4068. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4069. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  4070. methods, as well as add messages to the exceptions.
  4071. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4072. * BindingSource.cs: Setting DataSource should only reset DataMember if
  4073. the previous value was null (make pass a not working test).
  4074. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4075. * BindingSource.cs: When EndInit call is postponed and is called until
  4076. DataSource.EndInit is called, remove the handler for data source.
  4077. 2008-05-06 Jonathan Pobst <[email protected]>
  4078. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  4079. 2008-05-06 Jonathan Pobst <[email protected]>
  4080. * ToolStripManager.cs: Store references to toolstrips as
  4081. weak references so they do not prevent forms from getting collected.
  4082. [Fixes bug #386483]
  4083. 2008-05-06 Jonathan Pobst <[email protected]>
  4084. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  4085. on .Net. So do the same thing in WndProc.
  4086. 2008-05-06 Jonathan Pobst <[email protected]>
  4087. * TrackBar.cs: Commit patch from Andy Hume that corrects
  4088. the clickable areas to better match .Net.
  4089. [Fixes bug #387074]
  4090. 2008-05-06 Jonathan Pobst <[email protected]>
  4091. * TrackBar.cs: Commit patch from Andy Hume that adds the
  4092. ResizeRedraw control flag so the track bar repaints itself
  4093. when it is resized. [Fixes bug #387072]
  4094. 2008-05-06 Jonathan Pobst <[email protected]>
  4095. * TrackBar.cs: Commit patch from Andy Hume that adds better
  4096. support for keyboard navigation when the TrackBar is vertical.
  4097. [Fixes bug #387071]
  4098. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  4099. * BindingSource.cs: Implement ISupportInitializeNotification support.
  4100. 2008-05-06 George Giolfan <[email protected]>
  4101. * ThemeVisualStyles.cs: Added support for ToolBar.
  4102. 2008-05-06 George Giolfan <[email protected]>
  4103. * ToolBar.cs: Made the Vertical property internal.
  4104. 2008-05-05 George Giolfan <[email protected]>
  4105. * ThemeVisualStyles.cs: Added support for TrackBar.
  4106. 2008-05-05 George Giolfan <[email protected]>
  4107. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  4108. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  4109. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  4110. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  4111. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  4112. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  4113. 2008-05-05 George Giolfan <[email protected]>
  4114. * ThemeVisualStyles.cs: Added support for UpDownBase.
  4115. 2008-05-05 George Giolfan <[email protected]>
  4116. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  4117. Extracted Theme.UpDownBaseDrawButton.
  4118. 2008-05-05 Jonathan Pobst <[email protected]>
  4119. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  4120. removed from the static toolstrips collection in ToolStripManager
  4121. when they are disposed. Provides a workaround for bug #386483.
  4122. 2008-05-05 Ivan N. Zlatev <[email protected]>
  4123. * GridEntry.cs: Read-only properties with Editor with
  4124. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  4125. [Fixes bug #384184]
  4126. 2008-05-05 Jonathan Pobst <[email protected]>
  4127. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  4128. the menu key and there are no items on the menu.
  4129. [Fixes bug #386644]
  4130. 2008-05-05 Sebastien Pouliot <[email protected]>
  4131. * Control.cs: Avoid calling ToString on a string.
  4132. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  4133. * GroupBox.cs: In FlatStyle property throw, not just create, the
  4134. exception. Avoid calling ToString on a string.
  4135. * ProgressBar.cs: Avoid calling ToString on a string.
  4136. * ScrollBar.cs: Avoid calling ToString on a string.
  4137. [All issues were found using Gendarme]
  4138. 2008-05-05 Everaldo Canuto <[email protected]>
  4139. * NotifyIcon.cs: Prevent click events to be trigger after double click
  4140. events. Fixes remaining issues of bug #324832.
  4141. 2008-05-05 Everaldo Canuto <[email protected]>
  4142. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  4143. to mimic win32 behavior. Partially fixes bug #324832.
  4144. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4145. * BindingSource.cs: Implement Find methods.
  4146. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4147. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  4148. RemoveSort methods.
  4149. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4150. * ListBindingHelper.cs: When calling GetListItemProperties and the
  4151. passed object is ITypedList, return the result of
  4152. ITypedList.GetItemProperties instead.
  4153. 2008-05-04 Everaldo Canuto <[email protected]>
  4154. * LinkLabel.cs: Set default value of name on constructor of Link class
  4155. only for 2.0 profile.
  4156. 2008-05-04 Everaldo Canuto <[email protected]>
  4157. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  4158. Fixes remaining issues of bug #346154.
  4159. 2008-05-04 Everaldo Canuto <[email protected]>
  4160. * LinkLabel.cs: Set a default value for name on internal contructor of
  4161. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  4162. 2008-05-04 Everaldo Canuto <[email protected]>
  4163. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  4164. and refer all instances to owner.links. Partially fixes #346154.
  4165. 2008-05-03 Everaldo Canuto <[email protected]>
  4166. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  4167. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  4168. the LinkLabel test 'TestLinkArea'.
  4169. 2008-05-03 Everaldo Canuto <[email protected]>
  4170. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  4171. [Fixes #386460]
  4172. 2008-05-03 Everaldo Canuto <[email protected]>
  4173. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  4174. [Fixes #386463]
  4175. 2008-05-03 Everaldo Canuto <[email protected]>
  4176. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  4177. [Fixed bug #357004]
  4178. 2008-05-03 Everaldo Canuto <[email protected]>
  4179. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  4180. 2008-05-03 Everaldo Canuto <[email protected]>
  4181. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  4182. [Fixes bug #375398]
  4183. 2008-05-03 Everaldo Canuto <[email protected]>
  4184. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  4185. of bug #367492.
  4186. 2008-05-03 Everaldo Canuto <[email protected]>
  4187. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  4188. sometimes we open a conext menu on mouse down of some controls and the mouse
  4189. up is dispatched to menu and dont need to. It fix remaining issues of
  4190. #363711 and other problems related to menu mouse click events.
  4191. 2008-05-02 Everaldo Canuto <[email protected]>
  4192. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  4193. some var names to better fit changes, now we have month_menu and today_menu
  4194. vars. Fixes bug #363711.
  4195. 2008-05-02 Everaldo Canuto <[email protected]>
  4196. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  4197. right now the default month menu but it will be change to have "Go to today"
  4198. menu.
  4199. 2008-05-02 Jonathan Pobst <[email protected]>
  4200. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  4201. 2008-05-02 Everaldo Canuto <[email protected]>
  4202. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  4203. 2008-05-02 George Giolfan <[email protected]>
  4204. * ThemeVisualStyles.cs: Added support for TreeView.
  4205. 2008-05-02 George Giolfan <[email protected]>
  4206. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  4207. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  4208. 2008-05-02 Jonathan Pobst <[email protected]>
  4209. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  4210. 2008-05-02 Jonathan Pobst <[email protected]>
  4211. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  4212. Implement 2.0 SP1 stuffs.
  4213. 2008-05-02 Jonathan Pobst <[email protected]>
  4214. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  4215. 2008-05-02 Jonathan Pobst <[email protected]>
  4216. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  4217. Implement CanEnableIme property. (2.0 SP1)
  4218. 2008-05-02 Jonathan Pobst <[email protected]>
  4219. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  4220. from the 2.0 API.
  4221. 2008-05-02 Jonathan Pobst <[email protected]>
  4222. * Control.cs: Provide an internal way for a control to override
  4223. the setting of Height.
  4224. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  4225. set height using new method.
  4226. 2008-05-02 George Giolfan <[email protected]>
  4227. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  4228. 2008-05-02 George Giolfan <[email protected]>
  4229. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  4230. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  4231. 2008-05-02 George Giolfan <[email protected]>
  4232. * ThemeVisualStyles.cs: Added support for StatusBar.
  4233. 2008-05-02 Jonathan Pobst <[email protected]>
  4234. * DataObject.cs: Add the other IDataObject interface.
  4235. 2008-05-02 George Giolfan <[email protected]>
  4236. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  4237. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  4238. 2008-05-02 Jonathan Pobst <[email protected]>
  4239. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  4240. * ListView.cs: Hide non-public API.
  4241. * MaskedTextBox.cs: Remove extra attribute.
  4242. 2008-05-02 Jonathan Pobst <[email protected]>
  4243. * DataGridViewImageCell.cs: Use formatted value instead of value
  4244. to calculate preferred size.
  4245. 2008-05-01 Jonathan Pobst <[email protected]>
  4246. * ListBox.cs: Move some initialization around so that selected_indices
  4247. is not accessed before it is created.
  4248. 2008-05-01 Jonathan Pobst <[email protected]>
  4249. * InputLanguageCollection.cs: Implement the collection better.
  4250. [Fixes bug #385506]
  4251. 2008-05-01 Jonathan Pobst <[email protected]>
  4252. * ToolStripDropDownItem.cs: Get the correct event object for
  4253. DropDownItemClicked.
  4254. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  4255. [Fixes bug #385475]
  4256. 2008-05-01 Jonathan Pobst <[email protected]>
  4257. * DataGridViewRowCollection.cs: We don't currently support shared
  4258. rows. Should fix test failures caused by previous commit.
  4259. 2008-04-30 Jonathan Pobst <[email protected]>
  4260. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  4261. datagridview gets set. Only paint cells in visible columns.
  4262. * DataGridViewCell.cs: Draw border after cell content.
  4263. * DataGridView.cs: Invalidate after setting some properties. Only
  4264. use visible columns. Fit hit test bug with areas in the col/row header
  4265. area but not in a row or col. Implement UpdateCell/Row methods.
  4266. 2008-04-30 Jonathan Pobst <[email protected]>
  4267. * DataGridViewElement.cs: Don't throw NIEX.
  4268. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  4269. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  4270. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  4271. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  4272. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  4273. if the user filled in the formatting Value, use it.
  4274. 2008-04-30 Jonathan Pobst <[email protected]>
  4275. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  4276. to a string.
  4277. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  4278. * BindingSource.cs: Some corrections to Filter property, as well as
  4279. setting it for our list when resetting it.
  4280. 2008-04-29 Jonathan Pobst <[email protected]>
  4281. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  4282. than the maximum. Fixes reopened bug #384182.
  4283. 2008-04-28 Everaldo Canuto <[email protected]>
  4284. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  4285. Fixes remaining issues of #367490.
  4286. 2008-04-28 Everaldo Canuto <[email protected]>
  4287. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  4288. SystemInformation.WorkingArea to get max_screen value.
  4289. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4290. * BindingSource.cs: Implement Filter and RemoveFilter.
  4291. 2008-04-28 Everaldo Canuto <[email protected]>
  4292. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  4293. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4294. * X11Dnd.cs: When trying to convert data and we know we started the
  4295. dnd loop, don't try to use the cached data if the loop is not running,
  4296. which means that the data has been resetted.
  4297. Fixes #378191.
  4298. 2008-04-28 Everaldo Canuto <[email protected]>
  4299. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  4300. win32 behavior.
  4301. 2008-04-28 Everaldo Canuto <[email protected]>
  4302. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  4303. it to drawn off screen edge. Fixes bug #367490.
  4304. 2008-04-28 Everaldo Canuto <[email protected]>
  4305. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  4306. menu position to have only one assignment of Location var.
  4307. 2008-04-28 Everaldo Canuto <[email protected]>
  4308. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  4309. for this patch. Fixes bug #384115.
  4310. 2008-04-28 Jonathan Pobst <[email protected]>
  4311. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  4312. the same. If LargeChange is zero, set a minimum size for the scroll
  4313. thumb grip. [Fixes bug #384182]
  4314. 2008-04-28 Jonathan Pobst <[email protected]>
  4315. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  4316. [Fixes bug #384181]
  4317. 2008-04-28 Jonathan Pobst <[email protected]>
  4318. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  4319. 2008-04-28 George Giolfan <[email protected]>
  4320. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  4321. patch from Ernesto).
  4322. 2008-04-28 George Giolfan <[email protected]>
  4323. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  4324. 2008-04-28 George Giolfan <[email protected]>
  4325. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  4326. 2008-04-28 George Giolfan <[email protected]>
  4327. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  4328. 2008-04-28 George Giolfan <[email protected]>
  4329. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  4330. 2008-04-27 George Giolfan <[email protected]>
  4331. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  4332. 2008-04-27 Andreia Gaita <[email protected]>
  4333. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  4334. supposed to return a reference to an mshtml interface, which we
  4335. don't support).
  4336. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  4337. reference to an mshtml interface, which we don't support). Code
  4338. formatting cleanup.
  4339. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  4340. DomDocument getter (it's supposed to return a reference to an
  4341. mshtml interface, which we don't support). Code formatting cleanup.
  4342. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4343. * ListView.cs: Ouch, forgot to commit.
  4344. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4345. * ListView.cs:
  4346. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  4347. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4348. * ListView.cs: When calculating box selection for virtual mode, don't
  4349. look for intersection with item's text, but item bounds, since that
  4350. would mean read ListViewItem's text for _every_ item, and that's
  4351. something we just can't do in virtual mode (items are only requested
  4352. when drawn).
  4353. 2008-04-26 George Giolfan <[email protected]>
  4354. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  4355. partial support for managed windows (based on the patch from Ernesto).
  4356. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4357. * ListView.cs: When doing a key search use FindItemWithText method
  4358. instead of doing the search by ourselves, this way we avoid
  4359. duplicating the code and also we handle the special case for virtual
  4360. mode. To achieve that make our private overload of FindItemWithText
  4361. internal and also have a 'roundtrip' parameter.
  4362. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4363. * ListView.cs: When doing the layout don't request the
  4364. ListViewItem instance if we are in virtual mode (since we can't request it
  4365. until the item is actully drawn).
  4366. 2008-04-25 George Giolfan <[email protected]>
  4367. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  4368. from Ernesto).
  4369. 2008-04-25 George Giolfan <[email protected]>
  4370. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  4371. the patch from Ernesto).
  4372. 2008-04-25 George Giolfan <[email protected]>
  4373. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  4374. * ThemeVisualStyles.cs: Added.
  4375. 2008-04-25 George Giolfan <[email protected]>
  4376. * IDeviceContext.cs: Added a missing using.
  4377. 2008-04-25 George Giolfan <[email protected]>
  4378. * ButtonBase.cs: Made IsDefault protected internal.
  4379. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  4380. 2008-04-25 George Giolfan <[email protected]>
  4381. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  4382. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  4383. RadioButtonRenderer.cs: Included in the 1.1 profile.
  4384. * IDeviceContext.cs: Added.
  4385. * TextRenderer.cs: Included a member in the 1.1 profile.
  4386. 2008-04-25 George Giolfan <[email protected]>
  4387. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  4388. 2008-04-24 Jonathan Pobst <[email protected]>
  4389. * ErrorProvider.cs: Make the error icons come after the control
  4390. they refer to. It isn't the way the MS does it, but its better
  4391. than what we were doing. See bug #368587.
  4392. 2008-04-24 Jonathan Pobst <[email protected]>
  4393. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  4394. from Eric Albright that lazy loads the input language as ensures
  4395. everything gets properly initialized. Fixes bug #373871.
  4396. 2008-04-24 Jonathan Pobst <[email protected]>
  4397. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  4398. implicit mnemonics. [Fixes bug #383000]
  4399. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4400. * X11Dnd.cs: When canceling the operation, automatically restore the
  4401. default cursor - normally the default cursor is restored when the
  4402. mouse buttons are released, but we should be able to restore it even
  4403. if the buttons are still pressed (for example, when pressing ESC to
  4404. cancel).
  4405. Fixes #381894.
  4406. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4407. * X11Dnd.cs: When starting a new drad and drop operation, set control
  4408. field to null, just as the other fields, to avoid calling any
  4409. operation on a previous control. Also, when calling DndLeave on a
  4410. control, set it to null, thus we don't fire that event multiple times
  4411. for that control.
  4412. Fixes #209264.
  4413. 2008-04-23 Geoff Norton <[email protected]>
  4414. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  4415. the whole_window object. Fixes #377084.
  4416. 2008-04-23 Andreia Gaita <[email protected]>
  4417. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  4418. embedded browser)
  4419. 2008-04-23 Jonathan Pobst <[email protected]>
  4420. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  4421. 2008-04-23 Andreia Gaita <[email protected]>
  4422. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  4423. invocation
  4424. 2008-04-23 Andreia Gaita <[email protected]>
  4425. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  4426. attaching/detaching
  4427. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4428. * X11Dnd.cs: When the drop was cancelled, or could just not be
  4429. performed, return DragDropEffect.None always (match .net).
  4430. 2008-04-22 Jonathan Pobst <[email protected]>
  4431. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  4432. 2008-04-22 Jonathan Pobst <[email protected]>
  4433. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  4434. 2008-04-22 Jonathan Pobst <[email protected]>
  4435. * DataGridView.cs: Add support for error icon tool tips.
  4436. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  4437. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  4438. 2008-04-22 Ivan N. Zlatev <[email protected]>
  4439. * X11Structs.cs: Add mouse button masks enum.
  4440. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  4441. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  4442. form resize/move operation instead of for each step of it.
  4443. [Fixes bug #346529 for the x11 backend]
  4444. 2008-04-21 Jonathan Pobst <[email protected]>
  4445. * DataGridView*: Implement support for drawing error icons.
  4446. 2008-04-21 Jonathan Pobst <[email protected]>
  4447. * TreeView.cs: Make vbar and hbar internal.
  4448. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  4449. scrollbars, invalidate the whole thing.
  4450. [Fixes bug #382001]
  4451. 2008-04-21 Jonathan Pobst <[email protected]>
  4452. * TreeView.cs: Calling Sort() sets Sorted = true.
  4453. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  4454. if the nodes need to be sorted.
  4455. [Fixes bug #382028]
  4456. 2008-04-21 Ivan N. Zlatev <[email protected]>
  4457. * Form.cs: Fire SizeChanged for both when the form is minimized and
  4458. restored.
  4459. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  4460. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  4461. 2008-04-21 Jonathan Pobst <[email protected]>
  4462. * ComboBox.cs: If the combobox is disabled, draw a disabled
  4463. background before painting anything else.
  4464. [Fixes bug #381729]
  4465. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  4466. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  4467. forget to send a Leave event to the target window - just as .net does
  4468. when cancelling dnd operations.
  4469. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  4470. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  4471. soon as possible - this happens when we send the drop message to the
  4472. target window. This way we avoid firing any DragOver _after_ drop finished.
  4473. Fixes #378179.
  4474. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4475. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  4476. * Form.cs: Handle form minimization as a special state, where size doesn't
  4477. change, but we have to fire SizeChanged.
  4478. [Fixes bug #325122 for the win32 and x11 backends]
  4479. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4480. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  4481. if the handle is disabled.
  4482. [Fixes bug #371751]
  4483. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4484. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  4485. for forms with FormBorderStyle.None.
  4486. [Fixes bug #349571]
  4487. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4488. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  4489. WM_EXITSIZEMOVE.
  4490. [Fixes bug #346529 for the X11 backend]
  4491. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4492. * XplatUIX11.cs:
  4493. - Send a mouse Enter message after say dragging the mouse with a
  4494. button down and then release it in another client.
  4495. - Reset the cursor to prevent X11 from remembering it and setting it
  4496. before the control gets WM_SETCURSOR.
  4497. - Qeueue a mouse move after a mouse enter like win32.
  4498. [Fixes bug #323234]
  4499. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4500. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  4501. It's sent when the form gets moved, resized, closed.
  4502. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  4503. [Fixes bug #359193 for X11]
  4504. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4505. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  4506. the build.
  4507. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4508. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  4509. group. Fixes the 1.1 build.
  4510. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4511. * ListView.cs: Use display indexes for selection in Details view, as
  4512. well as do the proper layout based on display indexes for that view
  4513. too.
  4514. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4515. * ListView.cs: Focused item information is now stored as a display
  4516. index, and display indexes are used all over the place for selection,
  4517. instead of ListViewItem.Index values, which doesn't give us enough
  4518. information to modify the selection in groups mode, and was broken.
  4519. 2008-04-18 Ivan N. Zlatev <[email protected]>
  4520. * Control.cs: Do not fire MouseDown if validation of the control has
  4521. failed.
  4522. * Form.cs: Validate the form before closing.
  4523. [Fixes bugs #330501 and #353310]
  4524. 2008-04-18 Andreia Gaita <[email protected]>
  4525. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  4526. CreateWebBrowserSiteBase implementations
  4527. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  4528. Style and TabIndex setters
  4529. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4530. * ListViewGroup.cs: When returning the actual item count, return the
  4531. proper count for default group.
  4532. Fix the tests.
  4533. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4534. * ListView.cs:
  4535. * ListViewGroup.cs: When calculating groups layout, get the actual
  4536. number of items per group, since groups added to the group BUT not
  4537. added to the ListView are just ignored, and can cause some nasty
  4538. exceptions because of the lack of synchronization. Also for
  4539. ListViewGroup don't use lazy initialization for items, since we
  4540. the common scenario is to use it always - and it helps us to refactor
  4541. and clean the .ctor overloads.
  4542. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4543. * ListView.cs: When adding an item to a ListViewItemCollection
  4544. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  4545. the added item hasn't beeen previously added to the ListView instance
  4546. refered by the group, since it will be ignored. This should avoid some
  4547. really nasty flickering.
  4548. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  4549. * ListView.cs: When accessing an item in a specific display
  4550. position, use the helper method GetItemAtDisplayIndex, instead of
  4551. direct access to the reordered_items_indices array. When doing layout
  4552. for groups set the correct Items index for the display position (since
  4553. in groups mode items don't have the same position as in Items
  4554. collection).
  4555. * ListViewGroup.cs: Add a field to store the starting item number,
  4556. which is later used when calculating the layout.
  4557. Fixes #360805.
  4558. 2008-04-17 Gert Driesen <[email protected]>
  4559. * Application.cs: Fixed ProductVersion to fallback to the assembly
  4560. version. Fixes regression for bug #325413.
  4561. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  4562. * ListView.cs: New helper method to retrieve an item in a _specific
  4563. display_ position (the items can be displayed in a different order
  4564. than one of Items collection).
  4565. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  4566. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  4567. specific display position (again remember that items can be sorted
  4568. different than Items).
  4569. 2008-04-16 Jonathan Pobst <[email protected]>
  4570. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  4571. list and update it when the collection changes. We were recreating
  4572. this several times per row paint and for every pixel the mouse moved
  4573. across the grid.
  4574. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  4575. changes.
  4576. 2008-04-16 Jonathan Pobst <[email protected]>
  4577. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  4578. list to use generics.
  4579. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  4580. and remove unneccessay casts.
  4581. 2008-04-16 Jonathan Pobst <[email protected]>
  4582. * DataGridViewBand.cs: Add internal way to set displayed variable.
  4583. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  4584. * DataGridView.cs: Make sure we always keep track of Displayed
  4585. rows and columns, and only draw things that are displayed.
  4586. 2008-04-16 Atsushi Enomoto <[email protected]>
  4587. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  4588. whether the key events are filtered or not. Introduced
  4589. PreFilter() process for this purpose. This fixes atokx3/iiimx
  4590. shift state issue.
  4591. 2008-04-16 Andreia Gaita <[email protected]>
  4592. * HtmlHistory.cs: Implement Length property
  4593. 2008-04-15 Jonathan Pobst <[email protected]>
  4594. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  4595. away the edit textbox. Refactor to reuse column sort code.
  4596. 2008-04-12 Everaldo Canuto <[email protected]>
  4597. * MenuAPI.cs: Remove the code that save and restore capture status of
  4598. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  4599. cause some others, I cant figure the possible problems of this patch but
  4600. right now remove the code looks to be better than keep it. This patch fixes
  4601. bugs #357638, #378721 and #379570.
  4602. 2008-04-12 Andreia Gaita <[email protected]>
  4603. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  4604. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  4605. add missing properties and event handlers.
  4606. 2008-04-14 Jonathan Pobst <[email protected]>
  4607. * ListBox.cs: Make sure the LargeChange we are setting is at least
  4608. zero, to prevent an IOORE. [Fixes bug #379531]
  4609. 2008-04-13 Andy Hume <[email protected]>
  4610. * ComboBox.cs: Support item navigation by entering text. Firstly,
  4611. in DropDownList mode, for each key-press select the next item
  4612. starting with that letter.
  4613. For other modes, when no item selected, on arrow-up/-down and open
  4614. drop-down select the first item matching the text in the textbox.
  4615. 2008-04-14 Atsushi Enomoto <[email protected]>
  4616. * X11Keyboard.cs : Control.FromHandle() could return null
  4617. in MoveCurrentCaretPos().
  4618. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4619. * ListView.cs: When changing the size in VirtualMode, also Reset the
  4620. selection.
  4621. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  4622. changing selection info for VirtualMode.
  4623. Fixes #372618.
  4624. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4625. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  4626. view, don't use LineLimit for the first item - use NoWrap *always*
  4627. instead, since ListView.LabelWrap is not used for this view.
  4628. Fixes #378054.
  4629. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4630. * Binding.cs: Call UpdateIsBinding when setting control - probably
  4631. Binding is already usable and we don't need to wait to check the
  4632. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  4633. Created, just like 2.0 does.
  4634. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  4635. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  4636. * Binding.cs: Just realized we don't need to have a handler for
  4637. BindingContextChanged, since this info should be now consumed directly
  4638. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  4639. state info is checked directly, instead of caching it.
  4640. * CurrencyManager.cs: IsSuspended should return always false if Count
  4641. == 0.
  4642. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  4643. * Binding.cs: When calling PushData, return if manager.Count == 0,
  4644. since we just don't have data to be read. Also, when setting the
  4645. Control for binding, hook up some events to refresh the IsBinding
  4646. state when BindingContext change or control gets created; use
  4647. Control.IsHandleCreated instead of Control.Created check to set
  4648. IsBinding state - we *actually* need to modify IsBinding when control
  4649. is created, but we don't have any Created event, only HandleCreated.
  4650. Fixes part of #349364.
  4651. 2008-04-11 Geoff Norton <[email protected]>
  4652. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  4653. warping a null Caret.
  4654. 2008-04-11 Jonathan Pobst <[email protected]>
  4655. * DataGridView.cs: Implement row/column autosizing methods. Implement
  4656. autosorting.
  4657. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  4658. * DataGridViewRowCollection.cs: Add an internal sorting method.
  4659. 2008-04-11 Jonathan Pobst <[email protected]>
  4660. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  4661. value in ListView drawing code.
  4662. 2008-04-11 Jonathan Pobst <[email protected]>
  4663. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  4664. is clicked. Respect the user setting Cancel in FileOk.
  4665. 2008-04-11 Geoff Norton <[email protected]>
  4666. * ListView.cs: Avoid setting and resetting control Width/Heights and
  4667. calculate the final value and set it once. Prevents a feedback loop
  4668. on the mac.
  4669. 2008-04-10 Jonathan Pobst <[email protected]>
  4670. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  4671. [Fixes bug #378869]
  4672. 2008-04-10 Atsushi Enomoto <[email protected]>
  4673. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  4674. Add some on-the-spot code, but it seems we don't need it.
  4675. 2008-04-10 Jonathan Pobst <[email protected]>
  4676. * Form.cs: Add method for DataGridView to trigger focus cues
  4677. even when it handles the tab keypress.
  4678. 2008-04-10 Jonathan Pobst <[email protected]>
  4679. * DataGridView.cs: More keyboard handling, tab, esc.
  4680. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  4681. when at the beginning or end of the text in the text box.
  4682. 2008-04-09 Jonathan Pobst <[email protected]>
  4683. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  4684. 2008-04-09 Jonathan Pobst <[email protected]>
  4685. * DataGridView.cs: Some fixups for showing and adding the edit control.
  4686. * DataGridViewButtonColumn.cs: Implement ToString.
  4687. * DataGridViewCell.cs: Size and position the control simultaneously.
  4688. * DataGridViewTextBoxCell.cs: Use base to position control.
  4689. 2008-04-09 Jonathan Pobst <[email protected]>
  4690. * DataGridViewCell.cs: Fix up some formatting and painting code.
  4691. * DataGridViewImageCell.cs: Implement some NIEX methods.
  4692. 2008-04-09 Jonathan Pobst <[email protected]>
  4693. * ToolStripItemCollection.cs: What moving an item from one owner
  4694. to another, remove from source owner before adding to destination.
  4695. [Fixes bug #378109]
  4696. 2008-04-09 Jonathan Pobst <[email protected]>
  4697. * PictureBox.cs: Call Load when ImageLocation is set.
  4698. [Fixes bug #378308]
  4699. 2008-04-09 Atsushi Enomoto <[email protected]>
  4700. * X11Keyboard.cs, XplatUIX11.cs :
  4701. Implement over-the-spot mode (with some odd offsets).
  4702. - set preedit position when caret is set.
  4703. - Wrap XMoveResizeWindow() to move preedit position.
  4704. 2008-04-08 Everaldo Canuto <[email protected]>
  4705. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  4706. array lenght.
  4707. 2008-04-08 Everaldo Canuto <[email protected]>
  4708. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  4709. and ScanTableIndex public, it fix compilations errors when compiling
  4710. WinForms to generate keyboard layout resources.
  4711. 2008-04-08 Everaldo Canuto <[email protected]>
  4712. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  4713. different element count than scan table. It prevents some errors in non
  4714. standard keyboards.
  4715. 2008-04-08 Jonathan Pobst <[email protected]>
  4716. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  4717. 2008-04-08 Jonathan Pobst <[email protected]>
  4718. * DataGridView.cs: Call OnContentClick.
  4719. * DataGridViewCell.cs: Do a null check on ValueType instead
  4720. of valueType.
  4721. * DataGridViewCheckBoxCell.cs: Implement.
  4722. 2008-04-08 Atsushi Enomoto <[email protected]>
  4723. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  4724. 2008-04-08 Atsushi Enomoto <[email protected]>
  4725. * X11Keyboard.cs : Check XGetIMValues() return value in
  4726. case it does not return input styles in some environment.
  4727. 2008-04-08 Atsushi Enomoto <[email protected]>
  4728. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  4729. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  4730. * BindingContext.cs: Stub UpdateBinding method.
  4731. 2008-04-07 Atsushi Enomoto <[email protected]>
  4732. * X11Structs.cs : added couple of structs for XIM support.
  4733. * X11Keyboard.cs :
  4734. Release XIM in case it failed to create XIC.
  4735. Use consts for XNblah string.
  4736. Add support for IM style customization and XIC creation
  4737. for preedit-position and preedit-callback.
  4738. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  4739. (list of: over-the-spot | on-the-spot | root). Only root
  4740. mode works so far.
  4741. (redoing r99172 with fix.)
  4742. 2008-04-07 Jonathan Pobst <[email protected]>
  4743. * TreeView.cs: Center the checkbox a little better.
  4744. 2008-04-07 Jonathan Pobst <[email protected]>
  4745. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  4746. Apply very nice patch from Ernesto Carrea that simplifies our
  4747. scrollbar drawing. [From bug #376146]
  4748. 2008-04-07 Jonathan Pobst <[email protected]>
  4749. * TreeView.cs: Correct the location of the root node checkbox when
  4750. ShowRootLines = false. Don't draw the root lines for the root node
  4751. when ShowRootLines = false. [Fixes bug #377535]
  4752. 2008-04-06 Gert Driesen <[email protected]>
  4753. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  4754. Fixed line endings.
  4755. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  4756. line endings.
  4757. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  4758. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  4759. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  4760. * ImeMode.cs: Added missing field.
  4761. * HtmlWindow.cs: Code formatting. Fixed line endings.
  4762. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  4763. warnings.
  4764. * HtmlHistory.cs: Code formatting. Fixed line endings.
  4765. * HtmlDocument.cs: Code formatting. Fixed line endings.
  4766. * ToolStripPanel.cs: Added missing IList implementation.
  4767. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  4768. 2008-04-06 Gert Driesen <[email protected]>
  4769. * BindingContext.cs: Changed argument names to fix corcompare errors.
  4770. * DataGridView.cs: Removed extra explicit interface implementation
  4771. of IDropTarget. Code formatting.
  4772. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  4773. * ComboBox.cs: Changed argument names to fix corcompare errors.
  4774. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  4775. errors.
  4776. * GridColumnStylesCollection.cs: Changed argument names to fix
  4777. corcompare errors. Removed extra tabs.
  4778. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  4779. errors.
  4780. * Control.cs: Changed argument names to fix corcompare errors. Code
  4781. formatting. Removed extra explicit IList implementation.
  4782. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  4783. formatting. Use string.Empty instead of "".
  4784. * GridItemCollection.cs: Changed argument names to fix corcompare
  4785. errors. Code formatting.
  4786. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  4787. corcompare errors. Code formatting.
  4788. * ImageList.cs: Changed argument names to fix corcompare errors.
  4789. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  4790. * DataGridViewRowCollection.cs: Changed argument names to fix
  4791. corcompare errors. Code formatting.
  4792. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  4793. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  4794. fix corcompare errors. Code formatting.
  4795. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  4796. corcompare errors. Code formatting.
  4797. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  4798. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  4799. formatting.
  4800. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  4801. Code formatting.
  4802. * BindingSource.cs: Changed argument names to fix corcompare errors.
  4803. Removed extra explicit interface implementations.
  4804. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  4805. fix corcompare errors. Code formatting.
  4806. * ToolStripItemCollection.cs: Removed extra explicit interface
  4807. implementation of IList.ReadOnly.
  4808. * DataGridViewColumnCollection.cs: Changed argument names to fix
  4809. corcompare errors. Code formatting.
  4810. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  4811. * ListView.cs: Changed argument names to fix corcompare errors.
  4812. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  4813. errors.
  4814. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  4815. errors.
  4816. * ListBindingHelper.cs: Changed argument names to fix corcompare
  4817. errors.
  4818. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  4819. fix corcompare errors. Code formatting.
  4820. * ToolStripPanel.cs: Removed extra explicit implementation of
  4821. IDropTarget interface.
  4822. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  4823. formatting. Removed extra tabs and spaces.
  4824. * DataGridViewCellCollection.cs: Changed argument names to fix
  4825. corcompare errors.
  4826. * Help.cs: Changed argument names to fix corcompare errors. Code
  4827. formatting.
  4828. * TabControl.cs: Changed argument names to fix corcompare errors.
  4829. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  4830. errors.
  4831. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  4832. errors.
  4833. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  4834. * ListBindingHelper.cs: When returning properties, only return those
  4835. that are browsable. Also, don't do a linear search of the properties,
  4836. but use the indexer of the PropertyDescriptorCollection class.
  4837. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  4838. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  4839. Dictionary containing the related (child) currency managers. Also,
  4840. when setting DataSource, add datasource to our List if it is not a list.
  4841. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4842. * PropertyGridTextBox.cs: Fix background color of the buttons.
  4843. * PropertyGridView.cs: Make the entry less jumpy.
  4844. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4845. * PropertyGrid.cs: Fix unused variable warnings.
  4846. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4847. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  4848. double-click. It expanded it once in the mouse down and then
  4849. again in the double-click handler.
  4850. 2008-04-04 Ivan N. Zlatev <[email protected]>
  4851. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  4852. TypeConverter and UITypeEditors.
  4853. 2008-04-04 Ivan N. Zlatev <[email protected]>
  4854. * Control.cs: Visibility should be set synchronously,
  4855. so we must also redraw once it is and not rely on layouting or
  4856. other code to repaint.
  4857. [Fixes bug #339898]
  4858. 2008-04-04 Jonathan Pobst <[email protected]>
  4859. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  4860. 2008-04-03 Jonathan Pobst <[email protected]>
  4861. * Control.cs: Invalidate when the alpha channel is less than 255,
  4862. not only when control is transparent.
  4863. 2008-04-03 Jonathan Pobst <[email protected]>
  4864. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  4865. Implement some painting convenience methods that threw NIEX.
  4866. 2008-04-03 Jonathan Pobst <[email protected]>
  4867. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  4868. * DataGridViewLinkCell.cs: Implement.
  4869. 2008-04-03 Ivan N. Zlatev <[email protected]>
  4870. * GridEntry.cs: Report the conversion exception error description.
  4871. [Fixes bug #375792]
  4872. 2008-04-03 Ivan N. Zlatev <[email protected]>
  4873. * PropertyGridView.cs: Do not scroll to item on resize.
  4874. [Fixes bug #375789]
  4875. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  4876. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  4877. dataSource parameter is ICurrencyManagerProvider, then return
  4878. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  4879. instead of creating a new one.
  4880. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  4881. * BindingSource.cs: Implement support for Type instances as
  4882. DataSource.
  4883. 2008-04-02 Jonathan Pobst <[email protected]>
  4884. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  4885. * DataGridViewCell.cs: Make some painting routines internally virtual.
  4886. * DataGridViewButtonCell.cs: Implement.
  4887. 2008-04-02 Jonathan Pobst <[email protected]>
  4888. * Control.cs: We always need to invalidate our children with
  4889. transparent backgrounds when we are invalidated.
  4890. [Fixes bug #376081]
  4891. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  4892. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  4893. and CancelCurrentEdit on CurrencyManager respectively. Implement
  4894. support for ICancelAddNew too.
  4895. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  4896. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  4897. call EndNew/CancelNew if list is ICancelAddNew.
  4898. 2008-04-01 Jonathan Pobst <[email protected]>
  4899. * DataGridView.cs: Guard against an exception while painting
  4900. if there are no rows.
  4901. 2008-04-01 Jonathan Pobst <[email protected]>
  4902. * DataGridView.cs: Implement a bunch of keyboard commands.
  4903. 2008-03-31 Jonathan Pobst <[email protected]>
  4904. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  4905. isn't set, don't call OnPaint. [Fixes bug #375300]
  4906. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  4907. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  4908. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  4909. hookup the remaining events related to CurrencyManager, and fire
  4910. OnListChanged also for the Clear () method.
  4911. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  4912. * BindingSource.cs: Use Current and Position implementations in
  4913. CurrencyManager instead of using our own routines, since we need
  4914. to be in synch with it. Count should NEVER return a -1 value, and
  4915. also report ListChanged events for both simple IList data
  4916. sources (manually) as well for IBindingList ones (by hooking up an
  4917. event handler for it).
  4918. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  4919. * BindingSource.cs: Make one .ctor call the another, to avoid
  4920. duplicate code. Add the CurrencyManager property, and also for AddNew
  4921. throw the proper exceptions and show better error messages.
  4922. 2008-03-28 Jonathan Pobst <[email protected]>
  4923. * ComboBox.cs: Only adjust selectedindex if Handle has been
  4924. created. Fixes failing test.
  4925. 2008-03-28 Jonathan Pobst <[email protected]>
  4926. * ComboBox.cs: Adjust selectedindex if we insert a new item
  4927. above the current selectedindex in a sorted ComboBox.
  4928. [Fixes bug #374654]
  4929. 2008-03-28 Jonathan Pobst <[email protected]>
  4930. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  4931. [Fixes bug #374712]
  4932. 2008-03-28 Jonathan Pobst <[email protected]>
  4933. * DataGridViewTextBoxCell.cs: Implement stuffs.
  4934. 2008-03-27 Jonathan Pobst <[email protected]>
  4935. * TreeView.cs: Create the scrollbars even earlier to be
  4936. double dog certain they are created before they are accessed.
  4937. 2008-03-27 Jonathan Pobst <[email protected]>
  4938. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  4939. 2008-03-27 Jonathan Pobst <[email protected]>
  4940. * ScrollBar.cs: Create an internal safe Value setter so we
  4941. won't crash if we try to set a value outside the min and max.
  4942. * TextBoxBase.cs: Use safe value setter to guard against a
  4943. potential NRE that is being reported by Reflector.
  4944. 2008-03-27 Jonathan Pobst <[email protected]>
  4945. * TreeView.cs: Create the scrollbars earlier in the constructor
  4946. to attempt to guard against an NRE in SetTop in Reflector.
  4947. 2008-03-27 Jonathan Pobst <[email protected]>
  4948. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  4949. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  4950. show messagebox on data format error, use column display index
  4951. correctly, make sure HitTest supports new layout stuff,
  4952. make sure scrollbars support new layout stuff.
  4953. 2008-03-27 Atsushi Enomoto <[email protected]>
  4954. * XplatUIX11.cs : Patch by Doug Rintoul.
  4955. For some IM engines, keypress events need to delay call
  4956. to XPending() and XNextEvent() in the loop so that it
  4957. does not mess the orders in XIM commit callback.
  4958. Some KeyRelease events such as shift keys need to be
  4959. processed both in the IM engine and winforms driver
  4960. itself since winforms holds its own state check.
  4961. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  4962. 2008-03-27 Atsushi Enomoto <[email protected]>
  4963. * X11Keyboard.cs, XplatUIX11.cs :
  4964. add primitive support for XIM input support (preedit-
  4965. nothing and status-nothing). It requires precise event
  4966. capturing (XSelectInput/"filterEvents") and different
  4967. call to XFilterEvent against root window.
  4968. Get composed string and send dummy WM_IME_COMPOSITION.
  4969. Free XIM and XIC instances in finalizer.
  4970. (This first patch does not include suggested changes
  4971. by Doug Rintoul. It will follow.)
  4972. 2008-03-26 Jonathan Pobst <[email protected]>
  4973. * DataGridView.cs: When binding to a property, if the property
  4974. doesn't have a setter, set the column to readonly.
  4975. [Fixes bug #343965]
  4976. 2008-03-26 Jonathan Pobst <[email protected]>
  4977. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  4978. we aren't dropped down. Support Home/End in DropDownList mode.
  4979. [Fixes bug #371990]
  4980. 2008-03-26 Jonathan Pobst <[email protected]>
  4981. * TreeNodeCollection.cs: Don't increment count until we've
  4982. saved our index to return.
  4983. [Fixes bug #373603]
  4984. 2008-03-25 Jonathan Pobst <[email protected]>
  4985. * Label.cs: Add padding to the label's AutoSize calculation.
  4986. [Fixes bug #373792]
  4987. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  4988. * ListBindingHelper.cs: Actually implement GetListName method.
  4989. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  4990. * BindingSource.cs: Throw the propert expceptions for some methods, as
  4991. well as detect the list item type for Add method if DataSource is null.
  4992. 2008-03-25 Jonathan Pobst <[email protected]>
  4993. * DataGridViewCell.cs: I don't know why I commented this out,
  4994. putting it back for now.
  4995. 2008-03-25 Jonathan Pobst <[email protected]>
  4996. * DataGridViewCell.cs: Remove storage for owning column, just
  4997. use column index.
  4998. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  4999. * DataGridViewColumnHeaderCell.cs: If the header text has been
  5000. explicitly set, return it.
  5001. [Fixes bug #325979]
  5002. 2008-03-25 Jonathan Pobst <[email protected]>
  5003. * DataGridViewRowCollection.cs: Disable row sharing when
  5004. using data binding. Its a great feature, but lets work on
  5005. getting DGV usable first before we worry about optimizations.
  5006. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  5007. * BindingSource.cs: When resetting our internal list, compute list
  5008. item type information to be used for indirect list access. Also
  5009. implement/tune some properties and methods related to the list access
  5010. too.
  5011. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  5012. BindingSource.
  5013. 2008-03-24 Jonathan Pobst <[email protected]>
  5014. * DataGridView.cs: If RowCount is increased while ColumnCount
  5015. is zero, add a column. [Fixes bug #331649]
  5016. 2008-03-24 Jonathan Pobst <[email protected]>
  5017. * DataGridViewRowCollection.cs: When adding new rows for
  5018. databinding, make sure they are place before the add row.
  5019. [Fixes bug #343961]
  5020. 2008-03-24 Jonathan Pobst <[email protected]>
  5021. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  5022. instead of Index order.
  5023. 2008-03-24 Jonathan Pobst <[email protected]>
  5024. * DataGridView.cs: If columns are added by increasing ColumnCount,
  5025. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  5026. [Fixes bug #325588]
  5027. 2008-03-24 Jonathan Pobst <[email protected]>
  5028. * DataGridView.cs: Turn off and on the "new row" when
  5029. AllowUserToAddRows is toggled. When the handle is created,
  5030. set current cell and selected cell/row/col.
  5031. 2008-03-24 Jonathan Pobst <[email protected]>
  5032. * ComboBox.cs: When navigating the drop down by keyboard, we
  5033. need to scroll the list box if our selection moves out of the
  5034. currently shown items. [Fixes bug #371990]
  5035. 2008-03-24 Luke Page <[email protected]>
  5036. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  5037. on the control. Also now handles unicode compatibility characters and
  5038. stores the unicode compatibility length on the stack. Fixes Bugs
  5039. #355198 and #366436.
  5040. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5041. * BindingSource..cs: Take into account DataMember when re-creating the
  5042. List property, and also create a specific kind of list as needed.
  5043. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5044. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  5045. get an empty IEnumerable, try to detect whether the datamember is
  5046. valid or not for that type, if true, return null, and throw exception
  5047. otherwise.
  5048. 2008-03-22 Jonathan Pobst <[email protected]>
  5049. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  5050. retract it. [Fixes bug #371989]
  5051. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5052. * PropertyGrid.cs: Initialize the sorting button as pushed.
  5053. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5054. * PropertyGrid.cs:
  5055. - Visually select the PropertyTab.
  5056. - Filter Properties by Attributes properly.
  5057. 2008-03-21 Jonathan Pobst <[email protected]>
  5058. * MenuItem.cs: Remove menu item from parent when disposed.
  5059. [Fixes bug #372845]
  5060. 2008-03-21 Jonathan Pobst <[email protected]>
  5061. * ToolBar.cs: Don't reset layout_type if Dock = None.
  5062. 2008-03-21 Andreia Gaita <[email protected]>
  5063. * UserControl.cs: Select the first available control when we get focus.
  5064. Fixes #372616
  5065. 2008-03-21 Jonathan Pobst <[email protected]>
  5066. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  5067. the content if we are in edit mode. [Fixes bug #343964]
  5068. 2008-03-21 Jonathan Pobst <[email protected]>
  5069. * DataGridViewCell.cs: Fix border painting for column headers.
  5070. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5071. * BindingSource.cs: When setting or resetting data source,
  5072. use ListBindingHelper.GetList () method, since it will get the list in
  5073. case datasource is IListSource.
  5074. 2008-03-20 Jonathan Pobst <[email protected]>
  5075. * DataGridViewCell.cs: Implement lots more stuffs.
  5076. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5077. * PropertyGridView.cs, GridEntry.cs: Implement support for
  5078. UITypeEditor.IsDropDownResizable.
  5079. 2008-03-20 Jonathan Pobst <[email protected]>
  5080. * DataGridViewCell.cs: Remove unused variables, improve how
  5081. several of the property getters work.
  5082. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  5083. get its size from the parent row/col.
  5084. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5085. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  5086. user alters manually the PropertyTabs collection via the
  5087. PropertyTabs property.
  5088. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5089. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  5090. new tests for them to be sure to be compatible with .net.
  5091. 2008-03-20 Andreia Gaita <[email protected]>
  5092. * WebBrowserBase.cs: Fix attributes, add events
  5093. * WebBrowser.cs: Fix Padding signature
  5094. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5095. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  5096. 2008-03-19 Jonathan Pobst <[email protected]>
  5097. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  5098. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  5099. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  5100. passes the new suite of tests for it.
  5101. 2008-03-18 Andreia Gaita <[email protected]>
  5102. * WebBrowser.cs: Add missing attributes, missing Padding and
  5103. DefaultSize properties, remove extraneous getters
  5104. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  5105. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  5106. method overloads.
  5107. 2008-03-16 Jonathan Pobst <[email protected]>
  5108. * ComboBox.cs: Move resetting the selected index to keypress
  5109. instead of textchanged. Changing the text programmatically
  5110. should not trigger resetting the selected index. Fixes test.
  5111. 2008-03-16 Jonathan Pobst <[email protected]>
  5112. * ComboBox.cs: When the user types into the textbox, reset
  5113. the selected index to -1. [Fixes bug #371672]
  5114. 2008-03-16 Jonathan Pobst <[email protected]>
  5115. * FileDialog.cs: Support Control-A for selecting everything
  5116. in an OpenFileDialog. [Fixes bug #371564]
  5117. 2008-03-15 Jonathan Pobst <[email protected]>
  5118. * DataGridView.cs: When row/column visible/height properties
  5119. change, invalidate. Take the NIEX out of InvalidateRow/Column
  5120. etc. We don't support them yet, but we can just invalidate
  5121. everything until we do support them. (Added MonoTODO). Set
  5122. proper control styles.
  5123. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  5124. are turned off.
  5125. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  5126. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  5127. 2008-03-14 Jonathan Pobst <[email protected]>
  5128. * DataGridViewRow.cs: Only paint the white background in
  5129. cell bounds, the row bounds extends past the cells if the
  5130. grid width isn't as wide as the DGV.
  5131. 2008-03-14 Jonathan Pobst <[email protected]>
  5132. * DataGridView*: Completely revamp the drawing to match the
  5133. public API. Our grids now look better, and call all the
  5134. appropriate methods and event to allow users to override
  5135. the painting and do their own.
  5136. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  5137. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  5138. 2008-03-13 Jonathan Pobst <[email protected]>
  5139. * DataGridView.cs: Implement BorderStyle.
  5140. 2008-03-13 Jonathan Pobst <[email protected]>
  5141. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  5142. are comparing attributes, make sure we only look at the
  5143. one we are interested. These calls were failing if there
  5144. were more than one attribute.
  5145. [Fixes bug #370385]
  5146. 2008-03-13 Jonathan Pobst <[email protected]>
  5147. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  5148. 2008-03-12 Jonathan Pobst <[email protected]>
  5149. * PageSetupDialog.cs: Stub EnableMetric.
  5150. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  5151. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  5152. ProcessTabKey.
  5153. 2008-03-12 Jonathan Pobst <[email protected]>
  5154. * MonthCalendar.cs: Remove unused variable.
  5155. 2008-03-12 Jonathan Pobst <[email protected]>
  5156. * DataGridView*.cs: corcompare stuffs.
  5157. 2008-03-11 Jonathan Pobst <[email protected]>
  5158. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  5159. The savings aren't worth the extra code to fix the optimization.
  5160. [Fixes bug #368585]
  5161. 2008-03-11 Jonathan Pobst <[email protected]>
  5162. * ToolBar.cs: Always call base.Dock in the Dock override so that
  5163. Control's layout_type gets reset correctly.
  5164. [Fixes bug #368882]
  5165. 2008-03-11 Ivan N. Zlatev <[email protected]>
  5166. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  5167. 2008-03-11 Jonathan Pobst <[email protected]>
  5168. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  5169. at the same time we do explicit ones, because we have to give all
  5170. other controls on the container a chance to handle explicit ones
  5171. first. If no one has an explicit mnemonic, then we can let the
  5172. MenuStrip have a shot at implicit mnemonics.
  5173. * MenuStrip.cs: Create an implicit mnemonic function.
  5174. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  5175. mnemonics for MenuStrips.
  5176. [Fixes bug #368493]
  5177. 2008-03-11 Jonathan Pobst <[email protected]>
  5178. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  5179. DataGridColumnStyle.cs: corcompare stuffs.
  5180. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  5181. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  5182. Details - This is needed after we added the bits to use any available
  5183. column also for List and SmallIcon view.
  5184. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  5185. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  5186. at the proper place, not only when changing SelectedIndex and changing
  5187. the selection using keys/mouse, as .net does.
  5188. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5189. * ControlBindingsCollection.cs: Implement last 2.0
  5190. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  5191. in the new 2.0 Add methods.
  5192. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5193. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  5194. return if no items are previously selected - this is done to avoid
  5195. firing OnSelectedIndexChanged without need to do so. Also,
  5196. when creating handle ensure that the focused item is visible (as
  5197. .net does).
  5198. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  5199. * ListBox.cs: Rewrote/refactored most of selection code. We require
  5200. the following things in selection: a) keep selection sorted (both
  5201. indices and items), b) SelectedIndices automatically detect the
  5202. selection mode, c) SelectedIndex should be the first selected item
  5203. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  5204. not only for SelectedIndex, which is specially important in Multi*
  5205. selection modes. To achieve this we are moving the selection core to
  5206. SelectedIndexCollection and make depend all selection modifications on
  5207. it.
  5208. Fixes #366438.
  5209. 2008-03-06 Jonathan Pobst <[email protected]>
  5210. * ToolStrip.cs: Enable implicit mnemonics for drop down
  5211. menu strips. [Fixes part of bug #367692]
  5212. 2008-03-06 Jonathan Pobst <[email protected]>
  5213. corcompare - fix parameter names [stragglers].
  5214. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  5215. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  5216. TabControl.cs.
  5217. 2008-03-06 Jonathan Pobst <[email protected]>
  5218. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  5219. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  5220. mnemonic, let the ToolStripManager have it even if it doesn't
  5221. have a matching mnemonic.
  5222. [Fixes bug #367499]
  5223. 2008-03-06 Jonathan Pobst <[email protected]>
  5224. corcompare - fix warning about implicit implementation
  5225. * ToolStrip.cs: Add IToolStripData interface.
  5226. * IToolStripData.cs: Add.
  5227. 2008-03-06 Jonathan Pobst <[email protected]>
  5228. corcompare - fix warning about implicit implementation
  5229. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  5230. * IBounds.cs: Add.
  5231. 2008-03-05 Jonathan Pobst <[email protected]>
  5232. corcompare - fix parameter names [N-Z].
  5233. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  5234. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  5235. PropertyManager.cs, RichTextBox.cs,
  5236. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  5237. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  5238. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  5239. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  5240. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  5241. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  5242. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  5243. ToolStripPanel.cs, ToolStripSeparator.cs,
  5244. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  5245. UICuesEventHandler.cs, UpDownBase.cs.
  5246. 2008-03-05 Jonathan Pobst <[email protected]>
  5247. corcompare - fix parameter names [G-M].
  5248. GridColumnStylesCollection.cs, GridItemCollection.cs,
  5249. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  5250. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  5251. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  5252. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  5253. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  5254. 2008-03-05 Jonathan Pobst <[email protected]>
  5255. corcompare - fix parameter names [A-F].
  5256. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  5257. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  5258. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  5259. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  5260. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  5261. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  5262. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  5263. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5264. * GridEntry.cs: Do not convert not only if the types match,
  5265. but also if the property type is assigneable from the value's
  5266. type.
  5267. [Fixes bug #366566]
  5268. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5269. * PropertyGridView.cs:
  5270. - Subscribe to the listbox only once and not everytime.
  5271. - Update the textbox even if SetValue fails.
  5272. - Close the listbox before calling TrySetValue just in case.
  5273. [Fixes bug #366569]
  5274. 2008-03-03 Jonathan Pobst <[email protected]>
  5275. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  5276. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  5277. * ListView.cs: Implement support for custom column width based on
  5278. Columns collection (we were previously using this collection only
  5279. with Details view).
  5280. Fixes #364484.
  5281. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  5282. * ListViewItem.cs: For Tile view, always set bounds for the first
  5283. subitem (which is the main one), and also don't let Width be larger
  5284. than ListView.TileSize.Width. Improve code readibility also.
  5285. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  5286. in Tile view, _always_ use the NoWrap flag.
  5287. Fixes #360798.
  5288. 2008-02-29 Ivan N. Zlatev <[email protected]>
  5289. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  5290. in case.
  5291. * GridEntry.cs: For MS compitability make all child properties
  5292. readonly if the parent is readonly. Ugh.
  5293. [Fixes bug #365945 and #365944]
  5294. 2008-02-29 Andreia Gaita <[email protected]>
  5295. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  5296. relative to the history
  5297. 2008-02-29 Andreia Gaita <[email protected]>
  5298. * HtmlElement.cs: More handlers for mouse and key events
  5299. 2008-02-28 Andreia Gaita <[email protected]>
  5300. * WebBrowserBase.cs: MouseClick sig changed.
  5301. * HtmlHistory.cs: Implement history navigation
  5302. * HtmlElement.cs: Add event handlers, and connect them.
  5303. 2008-02-28 Ivan N. Zlatev <[email protected]>
  5304. * GridEntry.cs:
  5305. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  5306. so that DisplayNameAttribute doesn't get ignored.
  5307. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  5308. - Add support for PasswordPropertyTextAttribute
  5309. * PropertyGridView.cs: Check if an entry is a password.
  5310. [Fixes bugs #365589, #365586, #365588]
  5311. 2008-02-28 Andreia Gaita <[email protected]>
  5312. * PropertyGridView.cs: Revert the message filtering change, as we
  5313. need it to block after all. Remove block parameter, unnecessary.
  5314. 2008-02-27 Jonathan Pobst <[email protected]>
  5315. * UserControl.cs: Better implementation of GetPreferredSize.
  5316. First step to fixing bug #361441.
  5317. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  5318. * Binding.cs: Actually implement data binding support for
  5319. classes implementing IBindableComponent.
  5320. * ControlBindingsCollection.cs: Likewise.
  5321. 2008-02-26 Andreia Gaita <[email protected]>
  5322. * PropertyGridView.cs: Use a message filter to check when to
  5323. close the dropdown
  5324. 2008-02-26 Andreia Gaita <[email protected]>
  5325. * Application.cs: Change the message_filters loop so a filter
  5326. can be removed while looping.
  5327. 2008-02-26 Ivan N. Zlatev <[email protected]>
  5328. * GridEntry.cs: Optimization in ToggleValue so that it caches
  5329. the current value.
  5330. * PropertyGridView.cs: An optimization so that the property isn't
  5331. re-read twice for each StandardValue added to the drop-down menu.
  5332. Patch by Andy Hume <[email protected]> under the MIT/X11
  5333. license.
  5334. [Fixes bug #362755]
  5335. 2008-02-26 Jonathan Pobst <[email protected]>
  5336. * Application.cs: Apply patch from Justin Cherniak to match
  5337. MS better for ProductName, ProductVersion, and CompanyName.
  5338. [Fixes bug #361709]
  5339. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  5340. * Binding.cs: Actually implement 2.0 NullValue property. Also
  5341. when changing the formatting related properties, only update the state
  5342. if formatting_enabled is true (we don't mind otherwise).
  5343. 2008-02-25 Jonathan Pobst <[email protected]>
  5344. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  5345. [Fixes bug #364486]
  5346. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5347. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  5348. of GetType on the current value as it uses reflection to
  5349. determine the type. This fixes the case where the new value is
  5350. null.
  5351. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5352. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  5353. past the view.
  5354. 2008-02-24 Luke Page <[email protected]>
  5355. * Line.cs, TextControl.cs: Implement offset x and y so that a
  5356. document doesn't have to begin at (0,0) on the viewpoint.
  5357. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  5358. bars and switches the text alignment (and therefore is now
  5359. implemented for textbox). Fixes #321383.
  5360. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  5361. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  5362. properties. Also when changing FormattingEnabled update the control
  5363. property -as .Net does-.
  5364. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  5365. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  5366. * Binding.cs: Add stubs for the overloads of the Add method in
  5367. CBCollection.
  5368. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  5369. * Binding.cs: PullData () returns a false value if we got an exception.
  5370. Also when validating the control and we get an error, instead of
  5371. setting the value of the previous one, cancel the event (tested in 1.1
  5372. and 2.0).
  5373. 2008-02-22 Jonathan Pobst <[email protected]>
  5374. * TreeView.cs: Make selected_node and highlighted_node internal.
  5375. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  5376. to null when Nodes.Clear is called.
  5377. [Fixes bug #363884]
  5378. 2008-02-21 Jonathan Pobst <[email protected]>
  5379. * FontDialog.cs: Ensure that when the Font is set in code,
  5380. all the gui pieces are updated accordingly.
  5381. [Fixes bug #361020]
  5382. 2008-02-21 Jonathan Pobst <[email protected]>
  5383. * TextRenderer.cs: Respect proposed size for MeasureString.
  5384. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  5385. autosize, use a proposed width to force wrapping for long text.
  5386. [Fixes bug #360981]
  5387. 2008-02-21 Jonathan Pobst <[email protected]>
  5388. * TreeView.cs: Factor in checkboxes = false and state images in
  5389. to HitTest. [Fixes bug #363360]
  5390. 2008-02-21 Jonathan Pobst <[email protected]>
  5391. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  5392. when drawing the selected range.
  5393. [Fixes bug #363648]
  5394. 2008-02-21 Jonathan Pobst <[email protected]>
  5395. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  5396. ResizeRedraw control styles.
  5397. [Fixes bug #363555]
  5398. 2008-02-20 Jonathan Pobst <[email protected]>
  5399. * TreeView.cs: StateImages are basically custom checkboxes, so
  5400. factor their size the same as real checkboxes when determining
  5401. what got clicked.
  5402. [Fixes bug #363367]
  5403. 2008-02-20 Jonathan Pobst <[email protected]>
  5404. * MessageBox.cs: Make the message box wider if the form caption
  5405. is longer than the text in the form.
  5406. [Fixes bug #361137]
  5407. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5408. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  5409. 2008-02-20 Jonathan Pobst <[email protected]>
  5410. * TreeNode.cs: Guard against an NRE when the parent's
  5411. StateImageList hasn't been set.
  5412. [Fixes bug #363353]
  5413. 2008-02-20 Jonathan Pobst <[email protected]>
  5414. * SplitContainer.cs: Add SupportsTransparentBackColor and
  5415. OptimizedDoubleBuffering control styles.
  5416. [Fixes bug #363303]
  5417. 2008-02-20 Jonathan Pobst <[email protected]>
  5418. * Application.cs: For the app data paths and the registry key paths,
  5419. ensure they are created before returning them to the user.
  5420. [Fixes bug #361709]
  5421. 2008-02-20 Jonathan Pobst <[email protected]>
  5422. * Application.cs: Guard against an NRE in CompanyName and
  5423. ProductName.
  5424. 2008-02-20 Jonathan Pobst <[email protected]>
  5425. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  5426. make sure we handle all three cases correctly: attribute is present,
  5427. attribute is present but is an empty string, and attribute is not
  5428. present.
  5429. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5430. * PropertyGridView.cs:
  5431. - Fix a NRE that caused a test failure
  5432. - Another performance improvement - cache the standard values
  5433. listbox.
  5434. 2008-02-19 Jonathan Pobst <[email protected]>
  5435. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  5436. code paths.
  5437. 2008-02-19 Ivan N. Zlatev <[email protected]>
  5438. * PropertyGridView.cs: Fix a big performance bug.
  5439. 2008-02-19 Jonathan Pobst <[email protected]>
  5440. * SelectionRange.cs: Apply patch from Andy Hume to make
  5441. constructor behavior more accurate. [Fixes bug #362117]
  5442. 2008-02-19 Andreia Gaita <[email protected]>
  5443. * Control.cs: Added a new flag is_disposing to track if the
  5444. window is currently in the process of being disposed of.
  5445. This is used so that, when firing visibility changes triggered
  5446. by unparenting controls during Dispose, the control doesn't
  5447. get created again.
  5448. 2008-02-19 Jonathan Pobst <[email protected]>
  5449. * ComboBox.cs: Set height to preferred height when the handle
  5450. is created. [Fixes bug #360862]
  5451. 2008-02-18 Andreia Gaita <[email protected]>
  5452. * XplatUIX11.cs: Create FosterParent with border width at 0.
  5453. With the previous value of 4, everytime a control got reparented
  5454. from parent = null, it's location would be shifted right and
  5455. down by 4, since these coordinates would be offset by the
  5456. FosterParent's border width.
  5457. 2008-02-18 Ivan N. Zlatev <[email protected]>
  5458. * Control.cs: During diposing firstly remove ourselfes from
  5459. the parent and *then* destroy our handle, because removing
  5460. ourselfes from the parent controls collection causes
  5461. VisibilityChange, etc events, which require a handle and end
  5462. up recreating the control.
  5463. 2008-02-17 Ivan N. Zlatev <[email protected]>
  5464. * GridEntry.cs: Set expanded state before notifying that the
  5465. expansion has taken place.
  5466. * PropertyGridView.cs:
  5467. - Set the propertygridtextbox text to the selected
  5468. StandardValue before proceeding to setting it.
  5469. - Scrolling bugfixes.
  5470. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5471. * GridEntry.cs:
  5472. - Fix ValueText to not return null.
  5473. - Fix conversion error reporting to actually happen.
  5474. * PropertyGridView.cs: Set entry only if the text has changed.
  5475. [Fixes bug #362116]
  5476. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5477. * GridEntry.cs:
  5478. - Fix handling of a null current value.
  5479. - Swallow editor exceptions.
  5480. [Fixes bug #362114]
  5481. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5482. * PropertyGrid.cs: Clear current items first thing before
  5483. repopulating subitems.
  5484. * GridEntry.cs:
  5485. - Handle null StandardValuesCollection.
  5486. - Mark as not editable if there is no PropertyDescriptor and
  5487. if the Converter cannot convert from string.
  5488. [Part of fix for bugs #360666 and #358332]
  5489. 2008-02-15 Luke Page <[email protected]>
  5490. * MaskedTextBox.cs: Now skips non editable characters after a
  5491. character has been entered and we are progressing to the next
  5492. position in the MaskedTextBox.
  5493. 2008-02-15 Luke Page <[email protected]>
  5494. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  5495. that it changes the selection rather than just repositioning the
  5496. cursor. Fixes Bug #360873.
  5497. 2008-02-15 Luke Page <[email protected]>
  5498. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  5499. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  5500. correctly. See #359330
  5501. 2008-02-15 Andreia Gaita <[email protected]>
  5502. * XplatUIX11.cs: If the handle is null when posting a message, use the
  5503. current thread queue to post instead. Fixes #332409
  5504. * SendKeys.cs: Slight optimization
  5505. 2008-02-14 Ivan N. Zlatev <[email protected]>
  5506. * PropertyGrid.cs, PropertyGridView.cs:
  5507. Fix multiple scrolling and sizing issues.
  5508. [Fixes bug #359199]
  5509. 2008-02-12 Ivan N. Zlatev <[email protected]>
  5510. * PropertyGridView.cs: Ensure that drop down editors are shown
  5511. in the WorkingArea of the screen.
  5512. [Fixes bug #359807]
  5513. 2008-02-12 Ivan N. Zlatev <[email protected]>
  5514. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  5515. [Fixes bug #360666]
  5516. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  5517. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  5518. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5519. * PropertyGridView.cs:
  5520. - Clear the controls in the drop down form after it is hidden.
  5521. - Fix Width sizing of the dropdown editors to match MSFT.
  5522. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5523. * PropertyGridView.cs:
  5524. - Fix height for drawing the grid entry
  5525. text value, so that it clips multiline text properly.
  5526. - Fix unfocusing to match MSFT.
  5527. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5528. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  5529. Fixes a bug where on repopulation after value changed items become
  5530. expandable.
  5531. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  5532. * Binding.cs: For the 2.0 profile, look for a
  5533. 'PropertyChanged' event in the target control, and add checks for
  5534. DataSourceUpdateMode property to change -or not- the data source
  5535. from validation/control property change.
  5536. 2008-02-10 Atsushi Enomoto <[email protected]>
  5537. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  5538. not compare struct with null in 2.0).
  5539. 2008-02-10 Luke Page <[email protected]>
  5540. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  5541. updates the provider and if not using a provider, uses the internal document
  5542. class implementation of password char. Also when showing text, uses display string
  5543. from the provider, instead of the actual text.
  5544. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  5545. * Binding.cs: Ooooops, forgot to take into account the data_source
  5546. and binding_member_info null case (it was breaking the Binding tests).
  5547. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  5548. * Binding.cs: Implement support for data source changes exposed by
  5549. 'PropertyNameChanged' events, and update the control property as
  5550. needed.
  5551. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  5552. * Binding.cs: Implement 2.0 WriteValue method.
  5553. 2008-02-08 Jonathan Pobst <[email protected]>
  5554. Commit patch from James Purcell for better AutoScale implementation:
  5555. * ScaleControl should call GetScaledBounds with the control's total size rather
  5556. than client size. GetScaledBounds should handle ignoring the borders in its
  5557. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  5558. (for the most part they just call the base code now since that is fixed).
  5559. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  5560. without having to override ScaleChildren (since none of .NET's controls do).
  5561. This is required for most controls in Mono that have scrollbars to prevent the
  5562. scrollbars from being moved/resized.
  5563. * Nested ContainerControls can have a different scale mode than their parent.
  5564. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  5565. designer produce different results both of which look incorrect).
  5566. * Default AutoScaleMode for ContainerControl should be Inherit.
  5567. * Simplified workaround for ComboBox scaling issue.
  5568. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  5569. 1.0 style auto scaling should scale the whole control's size instead of
  5570. ignoring the borders (except for Form) and the rounding is done differently to
  5571. preserve control alignment.
  5572. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  5573. GetAutoScaleSize.
  5574. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  5575. * CurrentAutoScaleDimensions should round the estimated character width instead
  5576. of truncating.
  5577. * ListBox's GetScaledBounds should always use the height it was set to instead
  5578. of the height that was passed in. This prevents rounding errors from
  5579. accumulating quickly with IntegralHeight.
  5580. [Bug #359098]
  5581. 2008-02-08 Andreia Gaita <[email protected]>
  5582. * Form.cs: Add a null check (darn it).
  5583. 2008-02-08 Jonathan Pobst <[email protected]>
  5584. * MdiClient.cs: Make sure the requesting form actually owns the
  5585. control menu items before removing them. Also, use
  5586. Suspend/ResumeLayout when adding or removing items so we only
  5587. layout once.
  5588. [Fixes bug #359887]
  5589. 2008-02-08 Jonathan Pobst <[email protected]>
  5590. * Control.cs: Guard against an NRE in ShowFocusCues.
  5591. [Fixes bug #359830]
  5592. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  5593. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  5594. property, as well as stubbing DataSourceUpdateMode.
  5595. 2008-02-08 Andreia Gaita <[email protected]>
  5596. * Form.cs: When closing forms, get focus back to the active control of the
  5597. active form. [Fixes #341314, corner case]
  5598. 2008-02-07 Jonathan Pobst <[email protected]>
  5599. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  5600. area, so any old scrollbar artifacts are cleaned up.
  5601. [Fixes bug #336305]
  5602. 2008-02-07 Jonathan Pobst <[email protected]>
  5603. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  5604. for our menus, display that control box menu instead of the 1.1
  5605. menu one.
  5606. 2008-02-07 Jonathan Pobst <[email protected]>
  5607. * MdiControlStrip.cs: Add property to access the mdi form tied to
  5608. each toolstripitem.
  5609. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  5610. to the implicitly merged menu. Every time we clicked the form, items
  5611. were getting removed and the re-added, causing the form to jump around
  5612. as the menu resized.
  5613. 2008-02-07 Jonathan Pobst <[email protected]>
  5614. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  5615. was being reset by the implicit menu merge for menustrips.
  5616. [Fixes bug #336296]
  5617. 2008-02-07 Jonathan Pobst <[email protected]>
  5618. * Form.cs: Don't do the previous change when WindowState = Normal,
  5619. or it messes up where the window is placed. Fixes test failure.
  5620. 2008-02-07 Jonathan Pobst <[email protected]>
  5621. * Form.cs: When becoming visible, if we are an MDI child, call
  5622. SetWindowState with a dummy old_state so that changes will actually
  5623. be made.
  5624. [Fixes the 2nd part of bug #325473]
  5625. 2008-02-07 Andreia Gaita <[email protected]>
  5626. * Control.cs: Reset properties to their pre parent-change values in case
  5627. the new parent == null (in which case we're basically removing the control,
  5628. and don't want any events fired due to fake property changes)
  5629. [Fixes #355850]
  5630. 2008-02-06 Ivan N. Zlatev <[email protected]>
  5631. * PropertyGridView.cs:
  5632. - Refactor SetValue to allow setting the value
  5633. when a custom editor is used, but the entry is not editable.
  5634. - Remove the custom editor control on CloseDropDown.
  5635. [Fixes #359196]
  5636. 2008-02-06 Andreia Gaita <[email protected]>
  5637. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  5638. reflection only on 1.1, this property is public on system.drawing on 2.0.
  5639. Fixed #359247
  5640. 2008-02-06 Andreia Gaita <[email protected]>
  5641. * WebBrowser.cs: Do a normal page refresh by default.
  5642. 2008-02-05 Andreia Gaita <[email protected]>
  5643. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  5644. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  5645. platforms. Fixes #359036
  5646. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  5647. platform-specific flags.
  5648. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  5649. * Binding.cs: Add 2.0 BindableComponent property - just return control
  5650. by now.
  5651. 2008-02-05 Everaldo Canuto <[email protected]>
  5652. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  5653. Jonathan for this patch. Fixes #358442.
  5654. 2008-02-05 Jonathan Pobst <[email protected]>
  5655. * Form.cs: If we change the active MDI child form, let the others
  5656. know they need to repaint their title bar so it will appear inactive.
  5657. [Fixes part 1 of bug #325473]
  5658. 2008-02-05 Ivan N. Zlatev <[email protected]>
  5659. * PropertyGridView.cs: Do not trucate custom editors' width
  5660. and align them to the left.
  5661. [Fixes #358353 and #358349]
  5662. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  5663. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  5664. Also fix the arguments passed to CollectionChangeEventArgs in the
  5665. related methods.
  5666. 2008-02-04 Geoff Norton <[email protected]>
  5667. * Hwnd.cs: The conversion to Quartz coordinates happens in
  5668. System.Drawing. Removing this translation from here.
  5669. 2008-02-04 Ivan N. Zlatev <[email protected]>
  5670. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  5671. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  5672. GridItemCollection.cs:
  5673. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  5674. 2008-02-04 Geoff Norton <[email protected]>
  5675. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  5676. SYSKEYUP if any other key has been pressed in the mean time.
  5677. Fixes #324404
  5678. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  5679. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  5680. when the item in current position is different than 0. Also, save the
  5681. item index in the beginning of the operation, instead of getting the
  5682. index of the item when the event is actually performed. Lastly clean
  5683. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  5684. triggered.
  5685. [Fixes #357873]
  5686. 2008-02-03 Jonathan Pobst <[email protected]>
  5687. * Form.cs: Alt-Minus for MDI children system menu should work
  5688. with both the minus keys on the keyboard.
  5689. [Fixes bug #336295]
  5690. 2008-02-03 Jonathan Pobst <[email protected]>
  5691. * Control.cs: Don't invalidate on region change. The WM should
  5692. take care of this automagically. Keeps us out of an infinite
  5693. paint loop if someone changes the Region in the OnPaint.
  5694. [Fixes bug #358327]
  5695. 2008-02-04 Ivan N. Zlatev <[email protected]>
  5696. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  5697. 2008-02-03 Jonathan Pobst <[email protected]>
  5698. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  5699. down the MonthCalendar only on F4, not Alt+F4.
  5700. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  5701. [Fixes bug #358340]
  5702. 2008-02-03 Jonathan Pobst <[email protected]>
  5703. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  5704. if its part of a DateTimePicker, else, use the back color.
  5705. [Fixes bug #358339]
  5706. 2008-02-03 Jonathan Pobst <[email protected]>
  5707. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  5708. [Fixes bug #358342]
  5709. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  5710. * CurrencyManager.cs: When we get a ListChanged event from our source,
  5711. always fire our own ListChanged event, as .Net does.
  5712. 2008-02-03 Luke Page <[email protected]>
  5713. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  5714. #358379.
  5715. 2008-02-03 Luke Page <[email protected]>
  5716. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  5717. property. Removed if for richtext property that was always true.
  5718. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  5719. 2008-02-03 Luke Page <[email protected]>
  5720. * TextBoxBase.cs - commited patch from James Purcell that
  5721. correctly sets the FixedHeight control style when the MultiLine
  5722. property is changed on a TextBox control. Fixes bug 358229.
  5723. 2008-02-02 Luke Page <[email protected]>
  5724. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  5725. Fixes bug 351938 - caret is positioned correctly when drawn
  5726. and when calculating textual position of caret, no longer
  5727. has a NRE in certain situations.
  5728. 2008-02-01 Geoff Norton <[email protected]>
  5729. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  5730. get that region removed from the paint event.
  5731. * XplatUICarbon.cs: Remove the window mapping after disposing of
  5732. window. Prevents a crash with handle reuse. Optimize exposes
  5733. only onto visible windows (rare; but possible).
  5734. 2008-02-01 Jonathan Pobst <[email protected]>
  5735. * UpDownBase.cs: Make sure the internal textbox calls the base's
  5736. OnMouseDown and OnMouseUp so the textbox will function correctly.
  5737. There were notes saying it doesn't chain up, but its an internal
  5738. class, so our implementation may differ.
  5739. [Fixes bug #357482]
  5740. 2008-02-01 Jonathan Pobst <[email protected]>
  5741. * ListBox.cs: Fix a logic error and don't process MouseDown
  5742. for mouse buttons other than Left.
  5743. 2008-02-01 Jonathan Pobst <[email protected]>
  5744. * Control.cs: Remove HeightInternal.
  5745. * ListBox.cs: Commit patch from James Purcell that correctly
  5746. calculates heights for ListBoxen.
  5747. [Fixes bug #357152]
  5748. 2008-02-01 Jonathan Pobst <[email protected]>
  5749. * Label.cs: Apply patch from James Purcell that corrects the
  5750. signature of the AutoSize property.
  5751. [Fixes bug #357605]
  5752. 2008-02-01 Jonathan Pobst <[email protected]>
  5753. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  5754. other than the left mouse button.
  5755. 2008-01-31 Jonathan Pobst <[email protected]>
  5756. * Control.cs: Remove my awesome optimization as it caused some
  5757. regressions with control ordering. :(
  5758. [Fixes bug #357467]
  5759. 2008-01-31 Ivan N. Zlatev <[email protected]>
  5760. * PropertyGridView.cs: Fix a NRE on double click when there is no
  5761. selected object.
  5762. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  5763. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  5764. 2008-01-30 Jonathan Pobst <[email protected]>
  5765. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  5766. [Fixes bug #357146]
  5767. 2008-01-29 Jonathan Pobst <[email protected]>
  5768. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  5769. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  5770. instead of Hwnd.bmp_g.
  5771. 2008-01-29 Jonathan Pobst <[email protected]>
  5772. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  5773. Use the Hwnd one instead.
  5774. 2008-01-29 Jonathan Pobst <[email protected]>
  5775. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  5776. 2008-01-29 Jonathan Pobst <[email protected]>
  5777. * Form.cs: corcompare for RestoreBounds.
  5778. 2008-01-29 Jonathan Pobst <[email protected]>
  5779. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  5780. 2008-01-29 Jonathan Pobst <[email protected]>
  5781. * Form.cs: Handle Alt-Minus for MDI children forms.
  5782. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  5783. Add mnemonics to the control menu.
  5784. [Fixes bug #336295]
  5785. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  5786. * Binding.cs: Initial implementation bits of FormattingEnabled
  5787. property and BindingComplete event (2.0).
  5788. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  5789. and exception.
  5790. 2008-01-28 Jonathan Pobst <[email protected]>
  5791. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  5792. table.Location. [Fixes bug #354672]
  5793. 2008-01-28 Jonathan Pobst <[email protected]>
  5794. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  5795. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  5796. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  5797. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  5798. of doing all the re-bound work, just invalidate and call SetControlText
  5799. to set the updated text of selected item to our textbox.
  5800. Fixes #333750.
  5801. 2008-01-28 Andreia Gaita <[email protected]>
  5802. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  5803. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  5804. missing properties and methods. Add Load, Unload, Error, GotFocus,
  5805. LostFocus, Resize, Scroll events (only load and unload are connected)
  5806. 2008-01-27 Gert Driesen <[email protected]>
  5807. * AccessibleObject.cs: Modified argument names to match MS.
  5808. * Button.cs: Modified argument names to match MS.
  5809. * BindingContext.cs: Modified argument names to match MS.
  5810. * BindingMemberInfo.cs: Modified argument names to match MS.
  5811. * ButtonBase.cs: Modified argument names to match MS.
  5812. * ComboBox.cs: Modified argument names to match MS.
  5813. * Control.cs: Modified argument names to match MS.
  5814. * CheckedListBox.cs: Modified argument names to match MS.
  5815. * CommonDialog.cs: Modified argument names to match MS.
  5816. * DataGrid.cs: Modified argument names to match MS.
  5817. * CursorConverter.cs: Modified argument names to match MS.
  5818. * ControlPaint.cs: Modified argument names to match MS.
  5819. * CheckBox.cs: Modified argument names to match MS.
  5820. * ControlBindingsCollection.cs: Modified argument names to match MS.
  5821. * BindingSource.cs: Modified argument names to match MS.
  5822. * DataFormats.cs: Modified argument names to match MS.
  5823. * ContainerControl.cs: Modified argument names to match MS.
  5824. * CurrencyManager.cs: Modified argument names to match MS.
  5825. * Application.cs: Modified argument names to match MS.
  5826. * ContextMenuStrip.cs: Modified argument names to match MS.
  5827. * ContextMenu.cs: Modified argument names to match MS.
  5828. * BindingManagerBase.cs: Modified argument names to match MS.
  5829. * WindowsFormsSection.cs: Fixed line ending.
  5830. 2008-01-27 Andreia Gaita <[email protected]>
  5831. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  5832. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  5833. while.
  5834. 2008-01-26 Gert Driesen <[email protected]>
  5835. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  5836. MS. Code formatting.
  5837. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  5838. * Binding.cs: Don't avoid the Format event if the control
  5839. property type is object. Also, if the value retrieved by
  5840. the data source is null _and_ the control proeprty type
  5841. is object, return Convert.DBNull (match .Net).
  5842. Fixes part of #324286.
  5843. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  5844. * ListControl.cs: Since we are getting two BinginContextChanged events
  5845. for the same binding context instance (when the control is added to
  5846. form, and when the form is actually shown), take it into account only the
  5847. first time for a given binding context instance.
  5848. Fixes part of #324286.
  5849. 2008-01-26 Ivan N. Zlatev <[email protected]>
  5850. * PropertryGridView.cs: Ops.
  5851. 2008-01-26 Ivan N. Zlatev <[email protected]>
  5852. * PropertyGridView.cs: Close dropdown form if the owner form is
  5853. moved or minimized.
  5854. [Fixes bug #322446]
  5855. 2008-01-25 Ivan N. Zlatev <[email protected]>
  5856. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  5857. RootGridEntry.cs, CategoryGridEntry.cs:
  5858. PropertyGrid rewrite.
  5859. - Rewrite all of the control logic in PropertyGrid.
  5860. - Rewrite all of the ComponentModel logic in GridEntry.
  5861. - Rewrite all UI work in PropertyGridView.
  5862. - Many bugfixes, etc.
  5863. 2008-01-24 Jonathan Pobst <[email protected]>
  5864. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  5865. when all contained controls are autosize or dock-fill. Also take into
  5866. account when the total percentage of column/row sizes is not 100%.
  5867. [Fixes bug #354672]
  5868. 2008-01-24 Andreia Gaita <[email protected]>
  5869. * HtmlDocument.cs:
  5870. - Save a reference to the IDocument in the instance and
  5871. use that one instead of going to WebHost.Document; the document that the
  5872. WebHost returns might not be the right one (in case of frames).
  5873. - Use the hashcode returned from the IDocument interface.
  5874. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  5875. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  5876. LinkColor, Url, VisitedColor, Window
  5877. * HtmlElement.cs:
  5878. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  5879. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  5880. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  5881. SetAttribute, Equals, equality operators.
  5882. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  5883. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  5884. * HtmlElementCollection.cs: Change implementation to use a generic
  5885. collection. Implemented Enumerator and CopyTo
  5886. * HtmlHistory.cs: Add constructor, no implementation yet.
  5887. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  5888. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  5889. Equals, equality operators.
  5890. * HtmlWindowCollection.cs: Implemented.
  5891. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  5892. has been deprecated).
  5893. * WebBrowserBase.cs: Use Completed event to track document loading
  5894. (Navigated has been deprecated)
  5895. 2008-01-24 Jonatham Pobst <[email protected]>
  5896. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  5897. level MenuItems do not respect tabs.
  5898. [Fixes bug #355196]
  5899. 2008-01-23 Geoff Norton <[email protected]>
  5900. * XplatUICarbon.cs: Ensure that windows are created in their initial
  5901. FormWindowState. Finished fixing Fullscreen windows on Carbon
  5902. 2008-01-23 Everaldo Canuto <[email protected]>
  5903. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  5904. be used as grab_control. Also save status of capture before show ContextMenu
  5905. and restore it after close.
  5906. 2008-01-23 Everaldo Canuto <[email protected]>
  5907. * Control.cs: Internal FindRootParent method added to return high control
  5908. in parent tree.
  5909. 2008-01-23 Geoff Norton <[email protected]>
  5910. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  5911. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  5912. it work again. Handle HITTEST events.
  5913. 2008-01-23 Geoff Norton <[email protected]>
  5914. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  5915. a crash in certain cases. Support for fullscreen windows in certain cases.
  5916. 2008-01-23 Jonathan Pobst <[email protected]>
  5917. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  5918. [Fixes bug #355703]
  5919. 2008-01-23 Geoff Norton <[email protected]>
  5920. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  5921. 2008-01-23 Geoff Norton <[email protected]>
  5922. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  5923. 2008-01-23 Everaldo Canuto <[email protected]>
  5924. * SplitContainer.cs: Remove unused declarations.
  5925. * Binding.cs: Remove unused declarations.
  5926. 2008-01-23 Everaldo Canuto <[email protected]>
  5927. * Form.cs: Remove unused declaration of 'active' in Activate method.
  5928. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  5929. prevent compilation warnings.
  5930. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  5931. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  5932. * Bindings.cs: Remove unused formatting_enabled declaration.
  5933. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  5934. warnings.
  5935. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  5936. warnings.
  5937. * PropertyGridView.cs: Remove usused 'ex' declaration.
  5938. * DataGridView.cs: Remove unused declarations.
  5939. 2008-01-23 Everaldo Canuto <[email protected]>
  5940. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  5941. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  5942. to Control class, it makes possible to grab menu to controls that can't
  5943. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  5944. WmMouseMove removed since it was used only to track menu events.
  5945. * Control.cs:
  5946. - Moved all active_tracker stuff from Form.
  5947. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  5948. can call this method instead of reimplement all necessary code handle for
  5949. menu tracker.
  5950. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  5951. and WmMouseMove).
  5952. * MenuAPI.cs:
  5953. - Remove special handle to ToolStripOverflow, now we can grab menu to
  5954. controls that can't reach Form using parent tree.
  5955. - Change type of grab_control from Form to Control.
  5956. 2008-01-22 Geoff Norton <[email protected]>
  5957. * TextBoxBase.cs: Split up the sizing of controls and placing of
  5958. controls. Fixes a bug where scrollbars in Reflector could be sized
  5959. wrong and have non-working thumbers.
  5960. 2008-01-23 Geoff Norton <[email protected]>
  5961. * XplatUI.cs: Refactor environment variables to default support to the
  5962. Carbon driver on the Mac.
  5963. 2008-01-23 Everaldo Canuto <[email protected]>
  5964. * Label.cs: Uses new LabelPainter for drawing operations.
  5965. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  5966. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  5967. 2008-01-22 Geoff Norton <[email protected]>
  5968. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  5969. 2008-01-22 Jonathan Pobst <[email protected]>
  5970. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  5971. through the normal flat button code and don't draw the checkbox glyph.
  5972. * Theme.cs: Button->ButtonBase signature change.
  5973. [Fixes bug #324755]
  5974. 2008-01-22 Everaldo Canuto <[email protected]>
  5975. * LinkLabel.cs: Uses new class LinkLabelPainter.
  5976. 2008-01-22 Everaldo Canuto <[email protected]>
  5977. * MessageBox.cs: Adjust right border space, we don't need to add
  5978. "space_border*2" two times.
  5979. 2008-01-22 Jonathan Pobst <[email protected]>
  5980. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  5981. becomes a wrapper around Padding.
  5982. [Fixes a part of bug #354676]
  5983. 2008-01-22 Geoff Norton <[email protected]>
  5984. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  5985. acquired. Also ensure the buffer is large enough to grab the header
  5986. we need on linux boxes.
  5987. 2008-01-22 Jonathan Pobst <[email protected]>
  5988. * Control.cs: Implement a custom enumerator so people can delete
  5989. from the Controls collection while in a foreach.
  5990. [Fixes bug #355074]
  5991. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5992. * PropertyGridView.cs: Fix focusing behavior:
  5993. - Tab should focus the grid text box.
  5994. - Clicking on the labels shouldn't focus the grid text box.
  5995. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5996. * PropertyGridView.cs: IsValueTypeGridItem should return true
  5997. for Arrays as well.
  5998. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5999. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  6000. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  6001. reflect the property name role.
  6002. - PropertyGrid.GetTarget is not required as the target is known
  6003. (TargetObjects).
  6004. - Setting values will handle value types as a special case now and
  6005. populate them up in the chain.
  6006. [Fixes #354990]
  6007. 2008-01-21 Jonathan Pobst <[email protected]>
  6008. * Hwnd.cs: Create a public property for the Graphics we keep around.
  6009. 2008-01-21 Ivan N. Zlatev <[email protected]>
  6010. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  6011. when the current object selection changes.
  6012. Fixes failing test SelectedObject_Null2.B5.
  6013. 2008-01-21 Ivan N. Zlatev <[email protected]>
  6014. * PropertyGrid.cs: Process Browsable properties with
  6015. DesignerSerializationVisibilityAttribute.Content as being expandable.
  6016. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  6017. will not be expandable. We should be nested components-friendly now.
  6018. 2008-01-21 Andreia Gaita <[email protected]>
  6019. * WebBrowserBase.cs: Check if control was loaded properly,
  6020. don't bind if it wasn't.
  6021. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  6022. GetElementFromPoint, equality operators, OpenNew, Write.
  6023. Remove extra set_Body
  6024. 2008-01-18 Jonathan Pobst <[email protected]>
  6025. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  6026. that makes our AutoScale* stuff more tolerant to different orders
  6027. of being set. [Fixes bug #354669]
  6028. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6029. * PropertyGridView.cs, PropertyGridTextBox.cs:
  6030. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  6031. [Fixes #339005 and #348209]
  6032. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6033. * PropertyGridView.cs: Hide the grid text box before adjusting it
  6034. for the newly selected GridItem.
  6035. [Fixes #338999]
  6036. 2008-01-18 Jonathan Pobst <[email protected]>
  6037. * Form.cs: Give MDI children the opportunity to cancel the parent form
  6038. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  6039. properly for both the parent and child.
  6040. * Application.cs: Signature of internal method changed, pass the previous
  6041. default of false.
  6042. [Fixes bug #354286]
  6043. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6044. * PropertyGridView.cs: Set the property value only if it has changed.
  6045. [Fixes bug #338997]
  6046. 2008-01-17 Jonathan Pobst <[email protected]>
  6047. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  6048. If the mouse hasn't actually moved, ignore these messages so the currently
  6049. highlighted menuitem isn't reset to the one under the mouse.
  6050. [Fixes bug #333668]
  6051. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6052. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  6053. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  6054. to reflect the change visually.
  6055. [Fixes bug #338998]
  6056. 2008-01-17 Jonathan Pobst <[email protected]>
  6057. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  6058. to 2.0 button drawing.
  6059. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  6060. the button text is tall enough for one line. LineLimit says it will
  6061. always draw at least one line, but it is a lie.
  6062. [Fixes bug #324941]
  6063. 2008-01-17 Atsushi Enomoto <[email protected]>
  6064. * XplatUIStructs.cs, X11Keyboard.cs :
  6065. added some more VK_* keys to be handled.
  6066. 2008-01-16 Andreia Gaita <[email protected]>
  6067. * Control.cs: Check if there is a container before setting or getting
  6068. the validation flag.
  6069. 2008-01-16 Andreia Gaita <[email protected]>
  6070. * ContainerControl.cs: Add flag to track if a control cancels validation,
  6071. so we don't fire click events.
  6072. * Control.cs:
  6073. - (HandleClick) Check if validation was cancelled before firing the click
  6074. events (doubleclicks are fired, but not clicks)
  6075. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  6076. ContainerControl.set_ActiveControl, but in the case of non-selectable
  6077. controls, like a Label, activecontrol is not set.
  6078. * ButtonBase.cs: Only fire clicks if validation passes.
  6079. Fixes #353310
  6080. 2008-01-16 Geoff Norton <[email protected]>
  6081. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  6082. trunk
  6083. 2008-01-16 Jonathan Pobst <[email protected]>
  6084. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  6085. SelectedPath, just display the default dialog instead of crashing.
  6086. [Fixes bug #348989]
  6087. 2008-01-16 Geoff Norton <[email protected]>
  6088. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  6089. AddExpose instead of trusting apples compositing manager which doesn't
  6090. work for our use case. Remove some dead code causing warnings and
  6091. redecorate some other code to prevent warnings.
  6092. 2008-01-16 Geoff Norton <[email protected]>
  6093. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  6094. carbon signals us to redraw. Fixes another portion of the flickering bug
  6095. 2008-01-16 Everaldo Canuto <[email protected]>
  6096. * Form.cs: Prevent the MdiParent property to be set when value is the same
  6097. as value already set. Fixes bug #328019.
  6098. 2008-01-16 Everaldo Canuto <[email protected]>
  6099. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  6100. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  6101. 2008-01-16 Everaldo Canuto <[email protected]>
  6102. * InternalWindowManager.cs: Invalidade close button after mouse up when
  6103. mdi form is prevented to close.
  6104. 2008-01-16 Everaldo Canuto <[email protected]>
  6105. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  6106. thanks to Andy Hume. Fixes bug #325433.
  6107. 2008-01-16 Andreia Gaita <[email protected]>
  6108. * LinkLabel.cs: Reset focused_index when resellecting the control.
  6109. Fixes #323190
  6110. 2008-01-15 Geoff Norton <[email protected]>
  6111. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  6112. messages.
  6113. 2008-01-15 Jonathan Pobst <[email protected]>
  6114. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  6115. of truncate.
  6116. 2008-01-15 Jonathan Pobst <[email protected]>
  6117. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  6118. Form.AutoScale to false.
  6119. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  6120. AutoScaleBaseSize should be changed on Font change unless it has been
  6121. explicitly set.
  6122. [Fixes bug #353827]
  6123. 2008-01-15 Everaldo Canuto <[email protected]>
  6124. * MenuAPI.cs: On instance of MenuTracker check if source control is
  6125. ToolStripOverflow and use properly method to find form.
  6126. [Fixes bug #338511]
  6127. 2008-01-15 Everaldo Canuto <[email protected]>
  6128. [Fixes bug #323241 Transparent toolbar support]
  6129. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  6130. is flat.
  6131. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  6132. defined in control style to mimic win32 behavior.
  6133. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  6134. it will be transparent.
  6135. 2008-01-14 Everaldo Canuto <[email protected]>
  6136. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  6137. CreateParams for ToolBar controls.
  6138. 2008-01-14 Jonathan Pobst <[email protected]>
  6139. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  6140. FixedToolWindow, SizeableToolWindow, or None for border styles have
  6141. different minimum sizes than regular forms. Implemented to fix
  6142. regression in PDN with toolbox being too wide.
  6143. 2008-01-14 Andreia Gaita <[email protected]>
  6144. * HtmlElementCollection.cs: Implemented
  6145. * HtmlElement.cs: Implemented:
  6146. - All
  6147. - InnerHtml
  6148. - InnerText
  6149. - Id
  6150. - Name
  6151. - FirstChild
  6152. * HtmlDocument.cs: Implemented GetElementsByTagName.
  6153. 2008-01-14 Jonathan Pobst <[email protected]>
  6154. * Screen.cs: Stub BitsPerPixel to always return 32.
  6155. 2008-01-14 Jonathan Pobst <[email protected]>
  6156. * Form.cs: Implement RestoreBounds.
  6157. 2008-01-14 Jonathan Pobst <[email protected]>
  6158. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  6159. Sebastien and his fabulous magical problem-finding machine:
  6160. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  6161. respect the value set.
  6162. 2008-01-14 Everaldo Canuto <[email protected]>
  6163. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  6164. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  6165. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  6166. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  6167. messages (to match .Net), we need to remove the capture ourselves.
  6168. 2008-01-11 Jonathan Pobst <[email protected]>
  6169. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  6170. will process the message and close our window.
  6171. [Fixes bug #324328]
  6172. 2008-01-10 Geoff Norton <[email protected]>
  6173. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  6174. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  6175. window manager.
  6176. 2008-01-10 Jonathan Pobst <[email protected]>
  6177. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  6178. failing test.
  6179. 2008-01-10 Jonathan Pobst <[email protected]>
  6180. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  6181. Linux doesn't care, having a minimum matches MS and keeps the window
  6182. from becoming too small to use window decorations.
  6183. [Fixes bug #338996]
  6184. 2008-01-10 Jonathan Pobst <[email protected]>
  6185. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  6186. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  6187. control. [Fixes bug #325419]
  6188. 2008-01-10 Jonathan Pobst <[email protected]>
  6189. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  6190. SelectedIndexChanged event. This closes the combobox dropdown, and we
  6191. were trying to dispose it. [Fixes bug #352830]
  6192. 2008-01-09 Jonathan Pobst <[email protected]>
  6193. * Control.cs, Form.cs: Implement the necessary semantics for
  6194. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  6195. to determine if a focus rectangle should be drawn.
  6196. * PropertyGrid.cs: Fix property visibility to match override.
  6197. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  6198. 2008-01-09 Jonathan Pobst <[email protected]>
  6199. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  6200. [Fixes bug #323552]
  6201. 2008-01-09 Geoff Norton <[email protected]>
  6202. * XplatUICarbon.cs: Scroll windows in the correct direction.
  6203. 2008-01-09 Geoff Norton <[email protected]>
  6204. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  6205. when the app is deactivated or spaces is enabled.
  6206. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  6207. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  6208. extra separation pixel for the label rect origin if SmallImageList is
  6209. null, and thus we don't need that separation between icon and label
  6210. rects.
  6211. Patch by Ernesto Carrea.
  6212. Fixes # 340195.
  6213. 2008-01-08 Jonathan Pobst <[email protected]>
  6214. * StatusStrip.cs: Invalidate after completing a layout. The base
  6215. OnLayout does this, but we don't call the base.
  6216. * ToolStripItem.cs: Revert the previous change to invalidate after
  6217. the item moves.
  6218. [Fixes bug #351341 better.]
  6219. 2008-01-07 Geoff Norton <[email protected]>
  6220. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  6221. not a notification to exit the application. Listen for WM_QUIT
  6222. instead.
  6223. 2008-01-07 Andreia Gaita <[email protected]>
  6224. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  6225. 2008-01-07 Jonathan Pobst <[email protected]>
  6226. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  6227. so it can repaint at the correct location.
  6228. [Fixes bug #351341]
  6229. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  6230. * ListControl.cs: SelectedValue should return a null value if
  6231. SelectedIndex is -1. Also, when setting it, it should throw an
  6232. ArgumentNullException if the value is null, as well as taking
  6233. into account the String.Empty value, instead of ignoring it (we have
  6234. tests for that now).
  6235. Fixes part of #324286.
  6236. 2008-01-06 Jonathan Pobst <[email protected]>
  6237. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  6238. SelectionStart is updated after pressing enter. Fixes bug #351918.
  6239. 2008-01-05 Jonathan Pobst <[email protected]>
  6240. * TextControl.cs: Revert a piece r92316 that prevented the fix
  6241. from working when there were multiple tags in the text box.
  6242. Fixes bug #351881.
  6243. 2008-01-05 Jonathan Pobst <[email protected]>
  6244. * TextControl.cs: Apply patch from Luke Page that prevents an
  6245. NRE when determining the beginning of a paragraph.
  6246. Fixes bug #351886.
  6247. 2008-01-05 Jonathan Pobst <[email protected]>
  6248. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  6249. caret gets moved with clicking away from a selected block of
  6250. text. Fixes bug #351885.
  6251. 2008-01-05 Jonathan Pobst <[email protected]>
  6252. * TextControl.cs: Apply patch from Luke Page that takes line
  6253. alignment into account for mouse selection, so that center and
  6254. right aligned text can be selected.
  6255. Fixes bug #351881.
  6256. 2008-01-05 Jonathan Pobst <[email protected]>
  6257. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  6258. issues after loading an RTF file by using the correct line feeds.
  6259. Fixes bug #351841.
  6260. 2008-01-05 Jonathan Pobst <[email protected]>
  6261. * TextControl.cs: When deleting multiple line selections, we need
  6262. to invalidate every line beginning at the first line of the selection.
  6263. Patch from Luke Page fixes bug #351791.
  6264. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  6265. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  6266. event, don't set SelectedIndex if the number of items is 1. This is
  6267. because, for the first item, PositionChanged is fired _before_
  6268. ItemChanged (the place where we actually populate the items), and
  6269. leave us in a temporary invalid state (since items collection is
  6270. empty).
  6271. Fixes #349655.
  6272. 2008-01-04 Geoff Norton <[email protected]>
  6273. * XplatUICarbon.cs: Create native toolwindows instead of
  6274. the managed drawing ones.
  6275. 2008-01-03 Jonathan Pobst <[email protected]>
  6276. * LineTag.cs: If the line doesn't have any characters, return
  6277. 0 for GetCharIndex. Fixes an AOORE exception after certain
  6278. caret movements. Fixes bug #351683. Patch by Luke Page.
  6279. 2008-01-03 Jonathan Pobst <[email protected]>
  6280. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  6281. is hit when there is selected text, only the selected text gets
  6282. deleted, not the character in front of the selection as well.
  6283. Fixes bug #351578.
  6284. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  6285. * ComboBox.cs: When the values are displayed, calculate the
  6286. ComboListBox scrollbar's LargeChange based on the visible area's
  6287. height and the actuall ItemHeight, instead of calculating it
  6288. based on MaxDropItems value, since it's not used by our _current_
  6289. 2.0 profile.
  6290. Fixes #332366.
  6291. 2008-01-03 Jonathan Pobst <[email protected]>
  6292. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  6293. Patch from Luke Page that fixes issues with font colors and styles
  6294. not showing up in a readonly RichTextBox. Fixes bug #324354.
  6295. 2008-01-03 Jonathan Pobst <[email protected]>
  6296. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  6297. from Luke Page. This one fixes bug #349926.
  6298. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  6299. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  6300. an item in the IBindingList source changes with
  6301. ListChangedType.ItemAdded. Ignore for now firing the event for other
  6302. changes, since we want to have tests for those cases as well.
  6303. 2007-12-28 Jonathan Pobst <[email protected]>
  6304. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  6305. created.
  6306. 2007-12-28 Jonathan Pobst <[email protected]>
  6307. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  6308. character. This is effective because the typical usage of a
  6309. TextBox is with a limited amount of fonts and characters, and
  6310. the current implementation of TextBox measures everything one
  6311. character at a time. Another second or two speedup for bug #347238.
  6312. 2007-12-28 Jonathan Pobst <[email protected]>
  6313. * Control.cs: Rewrite the Font getter to only query the parent's
  6314. Font property once instead of twice. Since this operation is
  6315. recursive, the queries were growing exponentially as the control
  6316. tree got deeper. Another second or two speedup for bug #347238.
  6317. 2007-12-28 Jonathan Pobst <[email protected]>
  6318. * Control.cs: Avoid setting a parent (and more importantly, updating
  6319. the zorder of all its children) if the parent is already correct in
  6320. WmShowWindow. Decreases the startup time of the test case on bug
  6321. #347238 from 35 seconds to 11 seconds.
  6322. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  6323. * X11Dnd.cs: When the dnd operation has started and we are
  6324. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  6325. This is done to match .Net, which doesn't send those messages after
  6326. dnd operation was completed/cancelled.
  6327. Fixes #349922.
  6328. 2007-12-27 Jonathan Pobst <[email protected]>
  6329. * ToolStrip.cs: Previous change should be != null, not == null.
  6330. Thanks Gert!
  6331. 2007-12-27 Jonathan Pobst <[email protected]>
  6332. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  6333. user may have moved the mouse off the current item during the event.
  6334. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  6335. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  6336. calling GetItemAt for every MouseMove event by also taking into
  6337. account whether any mouse button is pressed (probably dragging);
  6338. if so, we can call GetItemAt, and if not, try to not call it
  6339. (GetItemAt can be quite expensive when used with a large number of items).
  6340. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  6341. * ListView.cs: Implement -finally- support for dnd, by calling
  6342. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  6343. authors list ;-).
  6344. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  6345. simple calculation of distances for all the items in the owner
  6346. listview.
  6347. 2007-12-21 Geoff Norton <[email protected]>
  6348. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  6349. for windows that are originally created as invisible. Fixes missing
  6350. main window in paint-mono.
  6351. 2007-12-21 Geoff Norton <[email protected]>
  6352. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  6353. subclass handler for com.novell.mwfview subclassing HIView. Implement
  6354. Pasteboard and Dnd methods.
  6355. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  6356. * ListBox.cs: When we got focus, give focus to first item if there
  6357. wasn't any pervious focused item. Also update navigation to depend on
  6358. SelectedIndex rather than FocusedItem, just as .Net does.
  6359. Fixes #349174.
  6360. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  6361. * ListBox.cs: Both FindString and FindStringExact methods must do an
  6362. case insensitive search, should allow the last valid index to be
  6363. passed in the overload taking an initial index, and should also
  6364. continue searching from the top back to the specified index when it
  6365. reaches the bottom.
  6366. 2007-12-19 Jonathan Pobst <[email protected]>
  6367. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  6368. redraw issue, and allows RichTextBox to draw colored text even while
  6369. disabled or readonly.
  6370. 2007-12-19 Jonathan Pobst <[email protected]>
  6371. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  6372. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  6373. and doesn't grey text in a disabled RichTextBox.
  6374. 2007-12-19 Jonathan Pobst <[email protected]>
  6375. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  6376. for many RTF commands: quad alignment, separate formatting for blocks
  6377. inside groups, and ParDef support. Makes the test case from bug #324589
  6378. look much better.
  6379. 2007-12-19 Jonathan Pobst <[email protected]>
  6380. * LineTag.cs: Fix an error in the new Draw method that caused
  6381. a crash when rendering the document on bug #324589.
  6382. 2007-12-19 Jonathan Pobst <[email protected]>
  6383. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  6384. TextControl.cs: Apply patch from Luke Page that adds support
  6385. for URL links in RichTextBox.
  6386. [Fixes enhancement #342516]
  6387. 2007-12-18 Everaldo Canuto <[email protected]>
  6388. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  6389. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  6390. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  6391. * ListBox.cs: When a key gets pressed, try to find a string
  6392. if the key is a character or a digit.
  6393. Fixes #343971.
  6394. 2007-12-17 Jonathan Pobst <[email protected]>
  6395. * TableLayoutPanel.cs: Remove some unused variables.
  6396. 2007-12-17 Jonathan Pobst <[email protected]>
  6397. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  6398. we don't end up at an invalid date when we click the up/down
  6399. spinner to change the month or year. Fixes bug #348682.
  6400. 2007-12-17 Jonathan Pobst <[email protected]>
  6401. * Application.cs: Calling Exit in 2.0 should chain to the
  6402. Exit (CancelEventArgs) version so it can be cancelled.
  6403. * Form.cs: Create a flag to allow raising the Closing
  6404. events to be skipped. We raise them once in Application.Exit
  6405. and don't want to raise them again when the Form is actually
  6406. closed. [Fixes bug #349073]
  6407. 2007-12-16 Jonathan Pobst <[email protected]>
  6408. * ToolStripDropDown.cs: Guard against an NRE when there
  6409. hasn't been a mainform set in the application context.
  6410. [Fixes bug #349108]
  6411. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  6412. * ListBox.cs: When SetBoundsCore gets called, besides
  6413. calling UpdateScrollBars, update the value of
  6414. last_visible_index, since we could need to show more items
  6415. than before, and we need to let the paint routines know that.
  6416. Fixes #344445.
  6417. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6418. * ListView.cs: Add DesignerSerializationVisibility attribute to
  6419. InsertionMark property.
  6420. * ListViewItem.cs: Add same attribute to Position property.
  6421. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6422. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  6423. is 2.0 only.
  6424. 2007-12-14 Jonathan Pobst <[email protected]>
  6425. * ThemeWin32Classic.cs: Don't draw the background on a
  6426. flat button if there is a background image.
  6427. [Fixes bug #348649]
  6428. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  6429. * ListBox.cs: If we remove the item currently selected,
  6430. remove it not only from SelectedItems, but also
  6431. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  6432. the items count decreased and focused_item has bigger value than that.
  6433. 2007-12-13 Jonathan Pobst <[email protected]>
  6434. * Control.cs: Perform our layout after we resize ourselves
  6435. if we had to adjust our AutoSize. Missed commit for bug
  6436. #346246.
  6437. 2007-12-13 Jonathan Pobst <[email protected]>
  6438. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  6439. we can provide an implementation of AutoSize.
  6440. [Fixes bug #346246]
  6441. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  6442. * ListBox.cs: Add the internal overload Sort (bool paint),
  6443. to indicate whether we actually need a paint or we will
  6444. call Refresh ourselves. This way we don't request a paint
  6445. _before_ having an updated and valid layout.
  6446. Fixes #347233.
  6447. 2007-12-12 Andreia Gaita <[email protected]>
  6448. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  6449. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  6450. properly invalidated.
  6451. Fixes #324237
  6452. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  6453. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  6454. don't simply assign it to our internal group field, but instead
  6455. use our Group property, which should do all the neccessary work
  6456. required to support groups. Fixes an issue reported to me (mail) by a
  6457. guy using this new feature.
  6458. 2007-12-11 Jonathan Pobst <[email protected]>
  6459. * Control.cs: Use Scale instead of ScaleControl to ensure the
  6460. whole hierarchy gets scaled.
  6461. [Fixes bug #347282]
  6462. 2007-12-10 Jonathan Pobst <[email protected]>
  6463. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  6464. Parent property. Doing this causes the control to be hosted by
  6465. the Form instead of being a popup window.
  6466. [Fixes bug #347665]
  6467. 2007-12-10 Jonathan Pobst <[email protected]>
  6468. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  6469. at an index higher than Count, just use Add instead of Insert.
  6470. [Fixes bug #347669]
  6471. 2007-12-10 Jonathan Pobst <[email protected]>
  6472. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  6473. DrawPictureBox, this is handled by Control.PaintBackground.
  6474. [Fixes bug #347276]
  6475. 2007-12-10 Everaldo Canuto <[email protected]>
  6476. * MenuAPI.cs: When process menu keys return true by default only if menu is
  6477. active. Fixes bug #342892.
  6478. 2007-12-09 Andreia Gaita <[email protected]>
  6479. * Control.cs: check if windows are actually mapped before
  6480. trying to zorder. Fixes #342509, #346955
  6481. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  6482. * ListView.cs:
  6483. * ListViewInsertionMark.cs:
  6484. * ThemeWin32Classic.cs: Implement the drawing side of the
  6485. new 2.0 ListView.InsertionMark property.
  6486. 2007-12-07 Jonathan Pobst <[email protected]>
  6487. * CurrencyManager.cs: Silence some debug spew.
  6488. 2007-12-07 Geoff Norton <[email protected]>
  6489. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  6490. masks for our children as well as siblings to avoid having to query
  6491. Quartz for this information.
  6492. * XplatUICarbon.cs: Implement a delegate based system to pass
  6493. information to System.Drawing. Implement Async methods. Remove
  6494. the hack for the resize thumb and imlpement a transparent Grow Box.
  6495. Rework the messaging system to proplery create window's and messages,
  6496. fixes TabControl.
  6497. 2007-12-06 Andreia Gaita <[email protected]>
  6498. * X11Keyboard.cs: Use Xutf8LookupString to support international
  6499. characters under alternate codepages. Patch from #340878
  6500. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  6501. * ListView.cs: When doing layout computations, set position in the
  6502. ListView instances (we cache the position just as .Net does).
  6503. * ListViewItem.cs: New internal setter method for Position. Also set
  6504. position field as also available in 1.1, since we are going to use it
  6505. now in the common case.
  6506. 2007-12-06 Andreia Gaita <[email protected]>
  6507. * Control.cs: When removing controls, get the actual container
  6508. to notify about active control changes. Fixes 341314.
  6509. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  6510. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  6511. 2007-12-05 Andreia Gaita <[email protected]>
  6512. * Control.cs: When updating the zorder, ignore windows that are not
  6513. mapped. Fixes #342509
  6514. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  6515. * ListViewItem.cs: Actually implement serialization on this class.
  6516. 2007-12-05 Gert Driesen <[email protected]>
  6517. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  6518. LinkCollection. Spaces to tabs, and removed extra tabs.
  6519. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  6520. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  6521. tests to fail (hopefully).
  6522. 2007-12-03 Jonathan Pobst <[email protected]>
  6523. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  6524. the image margin so custom renderers can correctly place it.
  6525. 2007-12-03 Jonathan Pobst <[email protected]>
  6526. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  6527. so custom renderers can correctly place it.
  6528. 2007-12-03 Jonathan Pobst <[email protected]>
  6529. * Application.cs: Let WM_CHAR messages flow through to controls
  6530. hosted in Strips. [Fixes bug #343972]
  6531. 2007-12-02 Jonathan Pobst <[email protected]>
  6532. * ToolStripManager.cs: Guard against an NRE I ran into.
  6533. 2007-12-02 Jonathan Pobst <[email protected]>
  6534. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  6535. a Link is manually added to the Links collection, we need to set
  6536. its owner, so it can invalidate properly.
  6537. [Fixes bug #344012]
  6538. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  6539. * ListView.cs: When changing ListViewItem.Position (which calls
  6540. ListView.ChangeItemLocation), invalidate not only the area
  6541. corresponding to the main item, but also to the area occupied
  6542. by the items being moved.
  6543. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  6544. * ListView.cs: When changing the position of a given item,
  6545. don't use item bounds, but item areas (which includes the item spacing
  6546. between them). Also, use first/last position if the requested
  6547. position is outside bounds (as .Net does). Invalidate the previous and
  6548. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  6549. in a specific position, instead of directly accessing Items collection
  6550. (this is done to get the right item - remember an Item can have a
  6551. different position in the grid than in the Items collection).
  6552. 2007-11-23 Everaldo Canuto <[email protected]>
  6553. * MessageBox.cs: Calculate text area instead of just top left, this rect
  6554. area will be used in DrawString. Fixes bug #343364.
  6555. 2007-11-23 Everaldo Canuto <[email protected]>
  6556. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  6557. screen width. Partially fixes bug #343364.
  6558. 2007-11-23 Everaldo Canuto <[email protected]>
  6559. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  6560. code inside recalculate, it makes code more simple.
  6561. 2007-11-22 Everaldo Canuto <[email protected]>
  6562. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  6563. between update or add icon. Fixes bug #324344.
  6564. 2007-11-21 Andreia Gaita <[email protected]>
  6565. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  6566. window manager, since that stretches the drawing area to include
  6567. the window decorations, and they get hidden. Reverts r84444 and fixes
  6568. #335849 and #342790 (mdi and pdn3 regression)
  6569. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  6570. * ListView.cs: When setting focused item, try to give focus to the
  6571. previous one _only_ if the previous one remains valid.
  6572. Fixes #342504.
  6573. 2007-11-20 Jonathan Pobst <[email protected]>
  6574. * Application.cs: Revert r89650, as it broke a common case to fix
  6575. an obscure case. Fixes bug #342606.
  6576. 2007-11-20 Everaldo Canuto <[email protected]>
  6577. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  6578. 2007-11-20 Everaldo Canuto <[email protected]>
  6579. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  6580. alignment. [Fixes #324228]
  6581. 2007-11-19 Jonathan Pobst <[email protected]>
  6582. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  6583. [Fixes bug #342123]
  6584. 2007-11-19 Everaldo Canuto <[email protected]>
  6585. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  6586. it prevent problems when empty captions. [Fixes #342141]
  6587. 2007-11-19 Jonathan Pobst <[email protected]>
  6588. * Label.cs: Use Size instead of None. Fixes bug #342077.
  6589. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  6590. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  6591. 2007-11-17 Jonathan Pobst <[email protected]>
  6592. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  6593. but there isn't a MdiContainer.
  6594. [Fixes bug #342358]
  6595. 2007-11-17 Jonathan Pobst <[email protected]>
  6596. * TextControl.cs: Don't recalculate document if the recalc_start and
  6597. recalc_end hasn't changed.
  6598. [Fixes bug #342505]
  6599. 2007-11-17 Gert Driesen <[email protected]>
  6600. * DataGridViewTextBoxCell.cs: Removed CWL.
  6601. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6602. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  6603. 2007-11-16 Jonathan Pobst <[email protected]>
  6604. * TextControl.cs: Missed some code for bug 341534 to trigger a
  6605. recalculation when the font changes.
  6606. 2007-11-16 Andreia Gaita <[email protected]>
  6607. * Control.cs: When updating the zorder, check if the child to update is
  6608. the same control that is set to always be on top (i.e., scrollbars), and
  6609. just put it on top directly. Fixes BadMatch error on pdn3
  6610. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6611. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  6612. 2007-11-16 Jonathan Pobst <[email protected]>
  6613. * Control.cs: Don't perform a new layout when a label changes its text,
  6614. cause label handles its own autosizing.
  6615. [Fixes bug #342077]
  6616. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6617. * ListView.cs: Implement 2.0 FindNearestItem methods.
  6618. 2007-11-15 Jonathan Pobst <[email protected]>
  6619. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  6620. even if the rest of what Join does isn't supported. Add some more
  6621. support for vertical toolbars.
  6622. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  6623. [Fixes the application breaking parts of bug #341998]
  6624. 2007-11-15 Jonathan Pobst <[email protected]>
  6625. * ToolStripItem.cs: When determining if we have a check/image margin,
  6626. we need to look at ShowCheckMargin as well as ShowImageMargin.
  6627. 2007-11-15 Geoff Norton <[email protected]>
  6628. * XplatUIOSX.cs: Rename to...
  6629. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  6630. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  6631. 2007-11-15 Jonathan Pobst <[email protected]>
  6632. * KeysConverter.cs: The default values should be an array of Keys, not
  6633. strings. Also, the array has more values for 2.0.
  6634. [Fixes bug #341851]
  6635. 2007-11-14 Jonathan Pobst <[email protected]>
  6636. * Application.cs: Change ExecutablePath to use
  6637. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  6638. [Fixes bug #323552]
  6639. 2007-11-14 Jonathan Pobst <[email protected]>
  6640. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  6641. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  6642. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  6643. be ignored. Create a new GetLineEnding that can specify which types of
  6644. line endings to look for. On Insert, only create new lines for \n and \r\n.
  6645. [Fixes bug #324274]
  6646. 2007-11-14 Jonathan Pobst <[email protected]>
  6647. * TextBoxBase.cs: As we loop through each line changing the font, tell
  6648. the document that the line needs to be recalculated. Fixes bug #341534.
  6649. 2007-11-13 Jonathan Pobst <[email protected]>
  6650. [Another round of refactoring]
  6651. * Line.cs: Add DeleteCharacters.
  6652. * LineTag.cs: Add Delete.
  6653. * TextBoxBase.cs: Update to use new methods.
  6654. * TextControl.cs: Refactor the Delete* methods.
  6655. 2007-11-13 Everaldo Canuto <[email protected]>
  6656. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  6657. the patch. [Fixes #324856]
  6658. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  6659. * ListView.cs:
  6660. * ListViewItem.cs: Add an initial implementation of
  6661. 2.0 ListViewItem.Position getter.
  6662. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  6663. * ListView.cs: Add a reordered_items_indices array, to allow us
  6664. to have a different sorting than that of Items (the sorting in Items
  6665. could not match the actual sorting in screen). This is needed to
  6666. implement a pair of 2.0 features.
  6667. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  6668. actual position in the ListView grid, since it could have a position
  6669. different than its Index (position in ListViewItemCollection).
  6670. 2007-11-09 Jonathan Pobst <[email protected]>
  6671. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  6672. not draw partial lines.
  6673. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  6674. LineLimit flag from the base is preserved.
  6675. Fixes the windows part of bug #338965.
  6676. 2007-11-09 Jonathan Pobst <[email protected]>
  6677. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  6678. so that it can be canceled in KeyPress.
  6679. Fixes bug #340078.
  6680. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  6681. * ListView.cs: In ItemControl, reset mouse-handling related
  6682. fields even if we dont' have items (we still should reset them when
  6683. we had items but then called Items.Clear). Partially based in a patch
  6684. by George Giolfan.
  6685. Fixes #338399.
  6686. 2007-11-08 Gert Driesen <[email protected]>
  6687. * Application.cs: In ProductVersion first try AssemblyFileVersion
  6688. before falling back to assembly version. Fixes bug #339787.
  6689. 2007-11-08 Andreia Gaita <[email protected]>
  6690. * HtmlElement.cs: Implement InnerText setter.
  6691. * WebBrowserBase.cs: Implement Navigated event support.
  6692. Add flag to track when the browser "document" is ready to be retrieved.
  6693. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  6694. Make sure browser document is ready before retrieving it.
  6695. Clean up cached objects (document) when moving to a new page through
  6696. any of the navigation methods.
  6697. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  6698. Implement OnNavigated event.
  6699. 2007-11-07 Jonathan Pobst <[email protected]>
  6700. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  6701. DrawLinkLabel, this is handled by OnPaintBackground.
  6702. Fixes bug #339565, part II.
  6703. 2007-11-07 Andreia Gaita <[email protected]>
  6704. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  6705. getting a Select call on click, so this call needs to be here for now.
  6706. Unfixes #325809
  6707. 2007-11-07 Geoff Norton <[email protected]>
  6708. * OSXStructs.cs: Add the kEventClassApplication constants.
  6709. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  6710. application is deactivated otherwise Menu overlays linger on top of
  6711. other application windows.
  6712. 2007-11-07 Geoff Norton <[email protected]>
  6713. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  6714. dont support cursors yet anyways. This allows Reflector to run.
  6715. 2007-11-07 Geoff Norton <[email protected]>
  6716. * XplatUIOSX.cs: Implement DragSize.
  6717. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  6718. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  6719. ItemControl, request the focus, as .Net does. This is needed after
  6720. Control does not request focus anymore when it receives a
  6721. WM_LBUTTONDOWN.
  6722. 2007-11-06 Jonathan Pobst <[email protected]>
  6723. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  6724. Remove the DrawImage call from OnPaint.
  6725. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  6726. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  6727. but before we draw the text for DrawLabel and DrawLinkLabel.
  6728. Fixes bug #339565.
  6729. 2007-11-05 Andreia Gaita <[email protected]>
  6730. * Control.cs: Remove select call on click. Fixes #325809
  6731. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  6732. * ListViewItem.cs: Add 2.0 Position property getter.
  6733. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6734. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  6735. Also, to make it work properly, change item's BackColor and
  6736. BackgroundImageLayout as needed.
  6737. * ThemeWin32Classic.cs: Don't fill any background rectangle
  6738. in ListView.ItemControl when drawing items; just let the Control
  6739. base implementation fill it.
  6740. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6741. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  6742. as well as adding a custom 'dummy' Converter, as .net does.
  6743. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6744. * PropertyGridView.cs: When clicking drop-down button,
  6745. select an index in the listbox only if our standard values collection
  6746. has one or more items.
  6747. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6748. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  6749. property.
  6750. 2007-11-04 Gert Driesen <[email protected]>
  6751. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  6752. the value is not changed. This ensure a pushed button remains in that
  6753. state when clicked again. When switching the value of PropertySort
  6754. between Categorized and CategorizedAlphabetical, do not update the
  6755. grid items and do not fire a PropertyChangedEvent. When clicking the
  6756. sorting buttons, do not modify the PropertySort value when switching
  6757. between Categorized and CategorizedAlphabetical but only update the
  6758. button state.
  6759. 2007-11-04 Gert Driesen <[email protected]>
  6760. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  6761. formatting.
  6762. * PropertyGrid.cs: Also put Categorized button in pushed state when
  6763. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  6764. for help description label.
  6765. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  6766. * ListView.cs: When calculating the biggest item for a given column,
  6767. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  6768. the item's width.
  6769. 2007-11-03 Gert Driesen <[email protected]>
  6770. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  6771. value for PropertySort on 1.0 profile. PropertySortChanged event
  6772. should only be fired on 2.0 profile. Fixed NullReferenceException
  6773. in UpdateSortLayout when PropertyGrid contains no items.
  6774. 2007-11-02 Jonathan Pobst <[email protected]>
  6775. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  6776. [Fixes bug #338554]
  6777. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  6778. * ListViewItem.cs: Implement 2.0 IndentCount property.
  6779. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  6780. * X11Dnd.cs: When sending status in a dnd operation, compare current
  6781. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  6782. the later is only created when a Winforms application is both the
  6783. source and the target, but not when we are the target only.
  6784. Fixes part of #324251.
  6785. 2007-11-01 Geoff Norton <[email protected]>
  6786. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  6787. order of Z-Order.
  6788. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  6789. children out of the drawing view on mac.
  6790. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  6791. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  6792. 2007-11-01 Jonathan Pobst <[email protected]>
  6793. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  6794. on the non-hosted-control part of it shouldn't do anything.
  6795. Fixes part of bug #327498.
  6796. 2007-11-01 Andreia Gaita <[email protected]>
  6797. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  6798. 2007-11-01 Jonathan Pobst <[email protected]>
  6799. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  6800. it does not use flow through to controls that are hosted in menus.
  6801. Same with mouse clicks.
  6802. * Form.cs: Don't close all menus on click if the click is on a
  6803. control hosted in a menu.
  6804. Fixes part of bug #327498, and part of bug #325969.
  6805. 2007-10-31 Andreia Gaita <[email protected]>
  6806. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  6807. 2007-10-31 Jonathan Pobst <[email protected]>
  6808. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  6809. Addresses an issue raised in bug #336218.
  6810. 2007-10-30 Jonathan Pobst <[email protected]>
  6811. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  6812. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  6813. 2007-10-30 Andreia Gaita <[email protected]>
  6814. * ContainerControl.cs: Check if the active control is a
  6815. child of a removed control and update active_control accordingly.
  6816. Fixes #329718
  6817. 2007-10-29 Jonathan Pobst <[email protected]>
  6818. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  6819. or the MaxDate. Fixed bug #337693.
  6820. 2007-10-29 Jonathan Pobst <[email protected]>
  6821. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  6822. after calling SetWindowLong for a form, to force an immediate NC refresh.
  6823. Fixes first part of bug #325150.
  6824. 2007-10-29 Jonathan Pobst <[email protected]>
  6825. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  6826. simple. Fixes the last part of bug #322668.
  6827. 2007-10-29 Jonathan Pobst <[email protected]>
  6828. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  6829. needs to be TopMost as well, or else the MessageBox is under the form.
  6830. Patch by George fixes bug #325300.
  6831. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  6832. * X11Dnd.cs: When starting a new drag operation, reset the static
  6833. 'dropped' field to false (previously the implementation didn't reset
  6834. it and got confused after the first drag).
  6835. Fixes #325071.
  6836. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  6837. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  6838. items instead of re-creating them all. For this purpose we now cache
  6839. both CategoryGridEntry items and the GridEntries for the main object's
  6840. properties.
  6841. * GridItem.cs: Make SetParent method abstract.
  6842. * GridEntry.cs: Override the SetParent method (already there, but now
  6843. we override it).
  6844. Fixes #324866.
  6845. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  6846. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  6847. depending on its depth (as .Net does). Update the needed values in
  6848. MouseDown handler. Also draw the plus/minus rect after the label,
  6849. so we don't draw on top of it.
  6850. 2007-10-24 Everaldo Canuto <[email protected]>
  6851. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  6852. processed by forms or controls when menu is active. [Fixes #333548]
  6853. 2007-10-24 Jonathan Pobst <[email protected]>
  6854. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  6855. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  6856. focus on mouse over.
  6857. 2007-10-24 Jonathan Pobst <[email protected]>
  6858. * TextControl.cs: Code cleaning, simplifying.
  6859. 2007-10-24 Geoff Norton <[email protected]>
  6860. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  6861. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  6862. 2007-10-24 Jonathan Pobst <[email protected]>
  6863. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  6864. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  6865. 2007-10-24 Andreia Gaita <[email protected]>
  6866. * SendKeys.cs: apply jpobst's patch to bug #332409
  6867. 2007-10-23 Andreia Gaita <[email protected]>
  6868. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  6869. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  6870. for some reason
  6871. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  6872. * PropertyGridView.cs: If a property has an UIEditor available,
  6873. make the drop-down/editor button available only if the property
  6874. is _not_ read only.
  6875. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  6876. * PropertyGridView.cs: Don't make the grid item textbox
  6877. editable when a drop-down control is available, but
  6878. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  6879. true. The same bur the color of the grid item value's label.
  6880. 2007-10-22 Geoff Norton <[email protected]>
  6881. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  6882. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  6883. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  6884. driver. Padd the bottom of all real windows so the resize thumb doesn't
  6885. obscure scroll/status bars.
  6886. 2007-10-22 Jonathan Pobst <[email protected]>
  6887. * WindowsFormsSection.cs: Implement.
  6888. 2007-10-22 Everaldo Canuto <[email protected]>
  6889. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  6890. closed see #325434 patch.
  6891. 2007-10-22 Everaldo Canuto <[email protected]>
  6892. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  6893. see #325434 patch.
  6894. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  6895. * PropertyGridView.cs: When showing the textbox for a grid item,
  6896. have two local variables to store the read-only and non-editable
  6897. status of a grid item (we were previously using just one variable
  6898. to do this, when actually they are slightly different).
  6899. Fixes part of #325023.
  6900. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  6901. * PropertyGridView.cs: When showing a drop-down list, try to get the
  6902. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  6903. part of #325023.
  6904. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  6905. * PropertyGrid.cs: When updating a property and populating sub grid
  6906. items, remove the previous ones, and invalidate the specific area.
  6907. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  6908. area behind a grid item.
  6909. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  6910. clean the items if needed (specially for controls implementing
  6911. ICustomTypeDescriptor and returning a variable number of properties).
  6912. Fixes #324865.
  6913. 2007-10-19 Jonathan Pobst <[email protected]>
  6914. * TextControl.cs: Clean up and document the Insert function.
  6915. 2007-10-17 Jonathan Pobst <[email protected]>
  6916. * TextControl.cs: Make sure we know our start point for updating the view
  6917. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  6918. update the view.
  6919. 2007-10-17 Jonathan Pobst <[email protected]>
  6920. * ListView: Couple of corcompare fixes.
  6921. 2007-10-17 Geoff Norton <[email protected]>
  6922. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  6923. the title caption of real window.
  6924. 2007-10-17 Jonathan Pobst <[email protected]>
  6925. * ErrorProvider.cs: Add the error provider's internal window to a
  6926. containercontrol when the parent changes. [Fixes bug #329714]
  6927. 2007-10-17 Geoff Norton <[email protected]>
  6928. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  6929. When we make a new window; restore the old active window - fixes dialogs.
  6930. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  6931. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  6932. when modifying a property, and if found then invalidate as
  6933. requested.
  6934. Fixes part of #324865.
  6935. 2007-10-17 Geoff Norton <[email protected]>
  6936. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  6937. highly experimental. Fixed coordinate translation. Fixed window locations.
  6938. Initial support for clipping. Implemented NC areas and menus. Support for
  6939. launching from command line from Will Johansson ([email protected]).
  6940. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  6941. [email protected])
  6942. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  6943. Hwnds now track the existence of all of their children for Mac clipping.
  6944. * XplatUI.cs: Re-enabled the native driver on the Mac.
  6945. 2007-10-17 Jonathan Pobst <[email protected]>
  6946. * Line.cs: Move the InsertString function to here.
  6947. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  6948. functionality to Line.
  6949. 2007-10-17 Geoff Norton <[email protected]>
  6950. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  6951. 2007-10-16 Gert Driesen <[email protected]>
  6952. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  6953. always setting value to true.
  6954. * Form.cs: When changing AcceptButton, notify new and original button.
  6955. 2007-10-16 Jonathan Pobst <[email protected]>
  6956. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  6957. a custom control that implements IButtonControl instead of an actual
  6958. button. [Fixes bug #334244]
  6959. 2007-10-15 Everaldo Canuto <[email protected]>
  6960. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  6961. MdiWindowManager.
  6962. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  6963. active control when activate a new mdi window.
  6964. [Fixes bug #330495]
  6965. 2007-10-15 Everaldo Canuto <[email protected]>
  6966. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  6967. is already added.
  6968. [Fixes bug #333617]
  6969. 2007-10-15 Jonathan Pobst <[email protected]>
  6970. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  6971. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  6972. so we always recalculate the whole document instead of just the new part.
  6973. [Fixes bug #325082]
  6974. 2007-10-15 Jonathan Pobst <[email protected]>
  6975. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  6976. when the mouse was to the left of the first character in the line.
  6977. 2007-10-15 Jonathan Pobst <[email protected]>
  6978. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  6979. character, use the property instead of the variable so that the
  6980. UseSystemPasswordChar property is taken into account.
  6981. [Fixes bug #333748]
  6982. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6983. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  6984. folder" contex menu appears, actually add the new folder to it, even
  6985. if the node is not currently selected. Still use SelectedNode in case
  6986. there wasn't found a node under the pointer.
  6987. Fixes #325452.
  6988. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6989. * ListViewItem.cs: When retrieving the focused state, the index check
  6990. should be done only when ListView is in virtualmode, as it is an
  6991. expensive check for normal mode.
  6992. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6993. * ListViewItem.cs: Make the focus state information be stored
  6994. in the ListView, not in the items. This is done to match the MS
  6995. behaviour for items that are not yet part of a ListView control;
  6996. besides that, since just one item can be focused at the same time,
  6997. we save a little space in our items.
  6998. Fixes part of #331643.
  6999. 2007-10-13 Gert Driesen <[email protected]>
  7000. * ComboBox.cs: When focus is lost, deselect the text. When setting
  7001. text of control, select all text. Do not hide selection when control
  7002. does not have focus. Fixes bug #333663.
  7003. 2007-10-13 Gert Driesen <[email protected]>
  7004. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  7005. instead of ArgumentException when SelectionLength is set to negative
  7006. value. Added same check to SelectionStart. Code formatting.
  7007. 2007-10-13 Gert Driesen <[email protected]>
  7008. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  7009. or SelectionStart. Code formatting.
  7010. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  7011. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  7012. indicating that there was not a previous drag-and-drop operation going
  7013. on.
  7014. Fixes part of #325071.
  7015. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  7016. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  7017. AllowedEffect, don't let the drop operation happen.
  7018. Fixes #32580.
  7019. 2007-10-12 Jonathan Pobst <[email protected]>
  7020. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  7021. 2007-10-12 Jonathan Pobst <[email protected]>
  7022. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  7023. is called.
  7024. 2007-10-12 Jonathan Pobst <[email protected]>
  7025. * Line.cs: Add a method that finds the tag that contains an x-coord.
  7026. * LineTag.cs: Add a method that finds the character at an x-coord using
  7027. a binary search, the old way was a linear search.
  7028. * TextControl.cs: Change FindCursor to use the above new methods.
  7029. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  7030. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  7031. value different than AllowedEffect). This should be possible to
  7032. indicate that dragging is not possible in some control/area.
  7033. 2007-10-11 Jonathan Pobst <[email protected]>
  7034. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  7035. descent internally when font changes instead of outside code being responsible
  7036. for setting it.
  7037. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  7038. instead of accessing internal variables.
  7039. 2007-10-09 Everaldo Canuto <[email protected]>
  7040. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  7041. remove special treatment for ArrangeIcons since it is already arranged.
  7042. 2007-10-09 Jonathan Pobst <[email protected]>
  7043. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  7044. the Win32 backend uses Color.
  7045. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  7046. Refactor to store a Color instead of a Brush for Color.
  7047. 2007-10-09 Jonathan Pobst <[email protected]>
  7048. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  7049. away. I didn't realize I needed this when I refactored these earlier.
  7050. 2007-10-09 Jonathan Pobst <[email protected]>
  7051. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  7052. store a Color structure and use the ResPool for back color instead of
  7053. holding onto brushes.
  7054. 2007-10-09 Jonathan Pobst <[email protected]>
  7055. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  7056. [Fixes bug #325592]
  7057. 2007-10-08 Jonathan Pobst <[email protected]>
  7058. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  7059. to recalculate its size. Fixes a part of bug #331052.
  7060. 2007-10-08 Jonathan Pobst <[email protected]>
  7061. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  7062. button. Fixes a part of bug #331052.
  7063. 2007-10-08 Jonathan Pobst <[email protected]>
  7064. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  7065. the CreateParams.
  7066. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  7067. decorations.
  7068. [Fixes bug #330986]
  7069. 2007-10-08 Jonathan Pobst <[email protected]>
  7070. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  7071. doesn't exist in 1.1. (Thanks jb!)
  7072. 2007-10-08 Jonathan Pobst <[email protected]>
  7073. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  7074. class to allow us to use different backends on different platforms.
  7075. Linux uses the current [Draw|Measure]String backend. Windows uses
  7076. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  7077. of GDI+. This leads to better looking text and more accurate measurements
  7078. on Windows, fixing many of the reported issues.
  7079. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  7080. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7081. * FolderBrowserDialog.cs: When running on Windows,
  7082. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  7083. since we must match both "C:" and "C:\" forms. A little hackish, but
  7084. works.
  7085. Fixes #325247.
  7086. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7087. * ListView.cs: When calling EndEdit (after editing an item),
  7088. create a new instance of LabelEditEventArgs to keep clean the fields
  7089. in case we get a new call to BeginEdit; also do Application.DoEvents
  7090. to have focus in synch. This is a fix similar to TreeView's #325244.
  7091. 2007-10-07 Andreia Gaita <[email protected]>
  7092. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  7093. * WebBrowserBase.cs: Added dialog support, calling the
  7094. WebBrowserDialogs classes for each specific dialog type.
  7095. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7096. * ListView.cs: When the last item is focused and is removed,
  7097. move the focus to the previous item (in Items order). This is what MS
  7098. does.
  7099. Fixes #330415.
  7100. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7101. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  7102. instead of the opposite (RemoveAt call Remove). This is a better
  7103. approach since we don't need to to a pair of traversals when using
  7104. RemoveAt.
  7105. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7106. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  7107. check that the node actually has nodes, and if not, move to the
  7108. parent node instead.
  7109. Fixes #325265.
  7110. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7111. * TreeView.cs: Move the previous change to the general case (to
  7112. call Application.DoEvents in cases where the method was called by
  7113. different places).
  7114. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  7115. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  7116. call Application.DoEvents. This is neccessary when we get a call to
  7117. BeginEdit from an AfterLabelEdit handler, because the focus always
  7118. goes to the TreeView, even if we try to give it to our
  7119. LabelEditTextBox. The call do Application.DoEvents seems to
  7120. synchronize the focus, basically.
  7121. Fixes #325244.
  7122. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  7123. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  7124. should be false. This also removes some nasty recursive paths. Fixes
  7125. part of #325244.
  7126. 2007-10-04 Everaldo Canuto <[email protected]>
  7127. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  7128. state to normal. Also resize window when cascading. Fixes #325433.
  7129. 2007-10-04 Jonathan Pobst <[email protected]>
  7130. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  7131. DefaultForeColor, as drawing empty colored lines isn't very useful.
  7132. [Fixes the not drawn lines part of bug #324358]
  7133. 2007-10-04 Jonathan Pobst <[email protected]>
  7134. * TextControl.cs: Move Line and LineTag classes into separate files to
  7135. make things easier to find.
  7136. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  7137. * RichTextBox.cs: Capitalize LineTag.Length property access.
  7138. - This is purely an organizational/formatting change, no logic changed. -
  7139. 2007-10-03 Everaldo Canuto <[email protected]>
  7140. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  7141. text is empty.
  7142. 2007-10-03 Everaldo Canuto <[email protected]>
  7143. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  7144. text is empty.
  7145. 2007-10-03 Everaldo Canuto <[email protected]>
  7146. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  7147. prevent calling of OnBackColorChanged. Fixes #325321.
  7148. 2007-10-03 Everaldo Canuto <[email protected]>
  7149. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  7150. because control can be disabled because owner is disabled.
  7151. 2007-10-02 Jonathan Pobst <[email protected]>
  7152. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  7153. string.Empty, test failed from previous change.
  7154. 2007-10-02 Jonathan Pobst <[email protected]>
  7155. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  7156. is null, not String.Empty. See bug #323038.
  7157. 2007-10-01 Jonathan Pobst <[email protected]>
  7158. * TextControl.cs: Change the margins to match MS a little better.
  7159. Still not perfect for X11 due to some DrawString differences, but
  7160. is still an improvement over the old stuff.
  7161. Partially fixes #324467.
  7162. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  7163. * FolderBrowserDialog.cs: When using MyComputer as
  7164. RootFolder, let absolute paths be considered as valid ones. Also, use
  7165. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  7166. for Windows compatibility.
  7167. Partially fixes #325247.
  7168. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7169. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  7170. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  7171. method, since it causes the dialog to not select folders directly
  7172. under the root path (when setting SelectedPath property).
  7173. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7174. * TreeNode.cs: When calling Expand/Collapse and need to call
  7175. ExpandBelow/CollapseBelow respectively, take into account
  7176. partially visible nodes (previously Expanding/Collapsing
  7177. a partially visible node in the bottom was not updating its +- sign).
  7178. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7179. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  7180. expand nodes below (ExpandBelow), scroll the entire Viewport
  7181. area if the node is above it and not visible (instead of scrolling
  7182. the area from node's Bottom, which applies only when the node is
  7183. visible).
  7184. Fixes #325266.
  7185. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7186. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  7187. node in the bottom area (as .Net does). This is done to preserve the
  7188. scroll position when ExpandAll is called before handle is created for
  7189. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  7190. Fixes #324103.
  7191. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7192. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  7193. bottom area if we are in fact not using the vertical scroll bar.
  7194. Fixes #324824.
  7195. 2007-09-27 Jonathan Pobst <[email protected]>
  7196. * Control.cs: Comment out a double buffering optimization that doesn't
  7197. take into account invalidates created in OnPaint, causing the control
  7198. to never be redrawn. It would take quite a bit of work to work around
  7199. this, but I left it commented with an explanation for later possible
  7200. optimization.
  7201. [Fixes bug #328681]
  7202. 2007-09-27 Jonathan Pobst <[email protected]>
  7203. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  7204. the text changes.
  7205. * RadioButton.cs: Implement GetPreferredSizeCore.
  7206. [Fixes bug #328672]
  7207. 2007-09-26 Jonathan Pobst <[email protected]>
  7208. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  7209. corcompare stuffs.
  7210. 2007-09-26 Jonathan Pobst <[email protected]>
  7211. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  7212. so that it doesn't get uninstalled on modal forms.
  7213. * Control.cs: Install a sync context when a control is created.
  7214. * WindowsFormsSyncronizationContext.cs: Create a private static control
  7215. to invoke on. This is easier than trying to find a created control we
  7216. can use.
  7217. [Fixes bug #327608]
  7218. 2007-09-25 Jonathan Pobst <[email protected]>
  7219. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  7220. run loop, and uninstall it when done.
  7221. * WindowsFormsSynchronizationContext.cs: Implement.
  7222. [Fixes the common case in bug #327608]
  7223. 2007-09-23 Gert Driesen <[email protected]>
  7224. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  7225. Use case-insensitive lookup of column name in indexer. Code
  7226. formatting.
  7227. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  7228. * TreeNode.cs: When collapsing or expanding a node, check whether its
  7229. change will affect the visible area (we were previously doing a
  7230. IsVisible check, but that check is not enough since children nodes
  7231. could be still visible). Fixes part of #325266.
  7232. 2007-09-21 Jonathan Pobst <[email protected]>
  7233. * TreeView.cs: Always select the first node when the TreeView gets
  7234. focus if there is no currently selected node.
  7235. [Fixes bug #324279]
  7236. 2007-09-21 Jonathan Pobst <[email protected]>
  7237. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  7238. node being selected is null.
  7239. [Patch from Yves Bastide fixes bug #326858]
  7240. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  7241. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  7242. whether all the parent nodes are expanded.
  7243. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  7244. call RecalculateVisibleOrder if all previous nodes are expanded.
  7245. Before that we were doing a IsVisible check, but sometimes the node
  7246. is not in the visible area, but _should_already be ready, because of
  7247. all previous nodes are expanded. Fixes #325259.
  7248. 2007-09-20 Jonathan Pobst <[email protected]>
  7249. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  7250. portion of the item is clicked.
  7251. 2007-09-20 Jonathan Pobst <[email protected]>
  7252. * TextControl.cs: Do not tell the system to move the cursor if the
  7253. textbox isn't focused. Fixes part of bug #322668.
  7254. 2007-09-20 Jonathan Pobst <[email protected]>
  7255. * ComboBox.cs: When there are no items, do not show the dropdown if
  7256. the down arrow is clicked. Fixes part of bug #322668.
  7257. 2007-09-20 Jonathan Pobst <[email protected]>
  7258. * ToolStripComboBox.cs: Manually set the size of this control in the
  7259. constructor, as it doesn't seem to be the same as DefaultSize.
  7260. Fixes a failing monobuild test.
  7261. 2007-09-19 Jonathan Pobst <[email protected]>
  7262. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  7263. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  7264. 2007-09-19 Jonathan Pobst <[email protected]>
  7265. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  7266. Desktop. This lets it work for people who have moved their desktops
  7267. from the default location on windows. For people who have not, both
  7268. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  7269. 2007-09-18 Jonathan Pobst <[email protected]>
  7270. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  7271. but when the base constructor sets this, the control is null. Set it
  7272. again in the constructor. Fixes a failing monobuild test.
  7273. 2007-09-18 Jonathan Pobst <[email protected]>
  7274. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  7275. get called.
  7276. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  7277. called.
  7278. 2007-09-18 Jonathan Pobst <[email protected]>
  7279. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  7280. will handle it themselves.
  7281. * ToolStripItem.cs: When deciding what the text of a tooltip should
  7282. be, use the Text property instead of the text field.
  7283. * ToolStripTextBox.cs: Handle tooltips.
  7284. [Fixes bugs #325417 and #325973]
  7285. 2007-09-18 Jonathan Pobst <[email protected]>
  7286. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  7287. left click. Fixes the easy part of bug #325969.
  7288. 2007-09-18 Jonathan Pobst <[email protected]>
  7289. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  7290. bug #325406, but set a minimum for StatusStrip to 22 to keep
  7291. bug #325390 fixed. I think this minimum would have been figured
  7292. up automatically if the grip was actually a ToolStripItem, but it
  7293. currently is not.
  7294. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7295. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  7296. as this is apparently the actual value used by .Net. Also apply
  7297. ItemPadding in Details view only, and decrease the general width padding,
  7298. to have only the needed. This should fix #324340 in Windows too.
  7299. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7300. * ListViewItem.cs: Don't Invalidate item if parent is inside
  7301. a BeginUpdate/EndUpdate block. This prevents to have differences
  7302. between the ListView and items state, as well as avoid some exceptions
  7303. there.
  7304. * ListView.cs: Make 'updating' field internal.
  7305. 2007-09-17 Jonathan Pobst <[email protected]>
  7306. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  7307. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  7308. size if appropriate.
  7309. Fixes reopened bug #325414.
  7310. 2007-09-17 Jonathan Pobst <[email protected]>
  7311. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  7312. * ToolStripItem.cs: Invalidate before and after our new autosize when
  7313. text changes.
  7314. Fixes reopened bug #325390.
  7315. 2007-09-17 Jonathan Pobst <[email protected]>
  7316. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  7317. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  7318. #325044.
  7319. 2007-09-17 Jonathan Pobst <[email protected]>
  7320. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  7321. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  7322. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  7323. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  7324. #82734.
  7325. 2007-09-14 Jonathan Pobst <[email protected]>
  7326. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  7327. item to select when the ToolStrip is selected.
  7328. * ToolStripControlHost: Realign the control when the bounds or visibility
  7329. change.
  7330. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  7331. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  7332. preferred height.
  7333. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  7334. base.OnPaint. Was causing text not to be drawn.
  7335. 2007-09-14 Jonathan Pobst <[email protected]>
  7336. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  7337. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  7338. * TreeView.cs: When creating the label edit text box,
  7339. set is initially to Visible = false. This is done to
  7340. prevent a confusion in the layout which makes it to lose
  7341. focus when shown the first time. Fixes part of #82592.
  7342. 2007-09-13 Andreia Gaita <[email protected]>
  7343. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  7344. 2007-09-13 Jonathan Pobst <[email protected]>
  7345. * ToolStrip.cs: Take Margin into account when calculating preferred
  7346. size. Also, allow preferred size to get smaller than the explicit
  7347. size.
  7348. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  7349. First step towards fixing bug #82747.
  7350. 2007-09-13 Jonathan Pobst <[email protected]>
  7351. * TreeView.cs: Applied patch from [email protected] to not paint the
  7352. full row select background over the plus/minus glyph. Also, turn
  7353. off the focus rectangle for full row select since MS doesn't seem
  7354. to ever paint it. [Fixes bug #81839]
  7355. 2007-09-13 Jonathan Pobst <[email protected]>
  7356. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  7357. This was causing keyboard opened dropdowns to lose focus.
  7358. [Fixes bug #82803]
  7359. 2007-09-13 Jonathan Pobst <[email protected]>
  7360. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  7361. ClientRectangle instead. [Fixes bug #82838]
  7362. 2007-09-13 Jonathan Pobst <[email protected]>
  7363. * SplitContainer.cs: We can't reset Visible on every layout because
  7364. someone may have set Visible = false explicitly on a SplitterPanel.
  7365. Make sure when we switch orientation the SplitterDistance does not
  7366. change. Fixes two failing tests.
  7367. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7368. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  7369. TextRenderer, since the latter is only available in 2.0.
  7370. 2007-09-13 Ivan N. Zlatev <[email protected]>
  7371. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  7372. * SplitContainer.cs: Implement FixedPanel layouting.
  7373. 2007-09-12 Andreia Gaita <[email protected]>
  7374. * WebBrowserBase.cs: setup shutdown routine
  7375. 2007-09-12 Andreia Gaita <[email protected]>
  7376. * Application.cs: Let keyboard events that are targetted
  7377. to non-mwf windows hosted inside mwf (as in, webbrowser),
  7378. propagate properly. Fixes keyboard handling on the webbrowser.
  7379. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7380. * ListView.cs: When handling MouseUp event and we are
  7381. highligting a node with the mouse right button, don't trigger
  7382. Before/AfterSelecting event, since we are not actually selecting
  7383. the node.
  7384. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7385. * TreeView.cs: When editing a node, modify the edit text box
  7386. depending on the text length (as you are typing), like MS does.
  7387. 2007-09-12 Jonathan Pobst <[email protected]>
  7388. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  7389. Override GetPreferredSizeCore to perform calculations. Remove custom
  7390. autosize logic. [Fixes bug #82739]
  7391. 2007-09-12 Jonathan Pobst <[email protected]>
  7392. * TextBoxBase.cs: Modified should default to false.
  7393. 2007-09-11 Jonathan Pobst <[email protected]>
  7394. * Control.cs: Update the anchoring distances even when layout is supspended.
  7395. Patch provided by George fixes bug #82805.
  7396. 2007-09-11 Jonathan Pobst <[email protected]>
  7397. * Control.cs: Provide a setter for ExplicitHeight.
  7398. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  7399. remove the hacks in here for requested_height.
  7400. [Fixes bug #82749]
  7401. 2007-09-11 Jonathan Pobst <[email protected]>
  7402. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  7403. Maximum to lower that its current Value caused an ArgumentException by setting
  7404. the Value to the new Maximum.
  7405. 2007-09-11 Jonathan Pobst <[email protected]>
  7406. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  7407. handle moves to the closest tick when it is being dragged.
  7408. [Fixes bug #82751]
  7409. 2007-09-11 Jonathan Pobst <[email protected]>
  7410. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  7411. can't let them count as real items when calculating where to merge in the
  7412. user's items. [Fixed bug #82786]
  7413. 2007-09-10 Jonathan Pobst <[email protected]>
  7414. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  7415. who want to add a menu item directly onto a toolstrip.
  7416. [Fixes bug #82775, part II]
  7417. 2007-09-10 Jonathan Pobst <[email protected]>
  7418. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  7419. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  7420. don't set it to available.
  7421. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  7422. [Fixes bug #82727, part II]
  7423. 2007-09-10 Jonathan Pobst <[email protected]>
  7424. * StatusStrip.cs: Change item placement to None if not visible.
  7425. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  7426. These should have been committed to fix 82723, but I missed them.
  7427. 2007-09-10 Jonathan Pobst <[email protected]>
  7428. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  7429. Click, and that it is only called once.
  7430. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  7431. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  7432. dropped down.
  7433. [Fixes bug #82775]
  7434. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7435. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  7436. to match .Net.
  7437. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  7438. instead of 8, just like above. Partially fixes #82734.
  7439. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7440. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  7441. fixes #82734.
  7442. * ListView.cs: Remove extra space between rows in Details view (match
  7443. .Net).
  7444. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  7445. the DefaultFont.
  7446. 2007-09-08 Gert Driesen <[email protected]>
  7447. * Application.cs: Modified ProductVersion to return value of
  7448. AssemblyInformationVersion if available, and fallback to assembly
  7449. version. Fixes bug #82746. Code formatting.
  7450. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  7451. instead.
  7452. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  7453. * Control.cs: When updating ZOrder for a child control,
  7454. take into account the implicit ones (we need it in our controls
  7455. using them). Fixes #82642.
  7456. 2007-09-07 Jonathan Pobst <[email protected]>
  7457. * ToolStripItem.cs: Add support for animated images.
  7458. [Fixes bug #82726]
  7459. 2007-09-07 Jonathan Pobst <[email protected]>
  7460. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  7461. visible. [Fixes bug #82727]
  7462. 2007-09-06 Jonathan Pobst <[email protected]>
  7463. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  7464. so we repaint using the new size. [Fixes bug #82723]
  7465. 2007-09-06 Jonathan Pobst <[email protected]>
  7466. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  7467. option. [Fixes bug #81779]
  7468. 2007-09-06 Jonathan Pobst <[email protected]>
  7469. * TreeView.cs: Override HandleClick because the StandardClick style is
  7470. set to false. According to MSDN (and testing), the click events should
  7471. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  7472. 2007-09-06 Jonathan Pobst <[email protected]>
  7473. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  7474. the border will disappear. Fixes reopened #82653.
  7475. 2007-09-06 Jonathan Pobst <[email protected]>
  7476. * Control.cs: If the control is autosize, and its preferred size changes
  7477. when it lays out its children, tell its parent so it can be re-layed out.
  7478. Fixing some of the fallout from r85433.
  7479. 2007-09-06 Jonathan Pobst <[email protected]>
  7480. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  7481. and CheckBox share some code.
  7482. 2007-09-06 Jonathan Pobst <[email protected]>
  7483. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  7484. the TrackBar, not every mouse move. [Fixed bug #82718]
  7485. 2007-09-06 Jonathan Pobst <[email protected]>
  7486. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  7487. under 2.0 rendering. [Fixes bug #82657]
  7488. 2007-09-06 Jonathan Pobst <[email protected]>
  7489. * TreeView.cs: If we found a TreeNode to display a context menu, but
  7490. it doesn't have one to show, let the TreeView display its menu
  7491. instead. [Fixes bug #82680]
  7492. 2007-09-06 Jonathan Pobst <[email protected]>
  7493. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  7494. OnPaintInternal instead. Give the internal TextBox a Border property
  7495. so it can draw itself more correctly. [Fixes bug #82653]
  7496. 2007-09-06 Zoltan Varga <[email protected]>
  7497. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  7498. 2007-09-05 Everaldo Canuto <[email protected]>
  7499. * ComboBox.cs: Adjust combobox button state to reflect current state when
  7500. back to enabled = true. Fixes first issue of #82654.
  7501. 2007-09-05 Everaldo Canuto <[email protected]>
  7502. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  7503. setting visible property.
  7504. 2007-09-05 Everaldo Canuto <[email protected]>
  7505. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  7506. fix zorder for controls initially created as non visible. Fixes #82667.
  7507. 2007-09-04 Everaldo Canuto <[email protected]>
  7508. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  7509. mimic win32 look. Fixes #82656.
  7510. 2007-09-01 Zoltan Varga <[email protected]>
  7511. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  7512. Stubs for new net 3.5 classes.
  7513. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  7514. * ListViewItem.cs: In ListViewItemCollection operations calculate
  7515. Layout for owner as well as invalidate it. Fixes part of #82642.
  7516. 2007-08-31 Jonathan Pobst <[email protected]>
  7517. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  7518. when returning Enabled. [Fixes bug #82651]
  7519. 2007-08-30 Everaldo Canuto <[email protected]>
  7520. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  7521. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  7522. * ListView.cs: Put item padding info in a single place
  7523. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  7524. columns again.
  7525. * ThemeWin32Classic.cs:
  7526. * Theme.cs: Likewise.
  7527. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  7528. * ListView.cs: When a ListViewSubItem instance is invalidated,
  7529. invoke Invalidate on parent ListViewItem, not parent ListView.
  7530. Fixes #81570.
  7531. 2007-08-30 Jonathan Pobst <[email protected]>
  7532. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  7533. 2007-08-30 Jonathan Pobst <[email protected]>
  7534. * BindingMemberInfo.cs: Implement == and != operators.
  7535. 2007-08-30 Jonathan Pobst <[email protected]>
  7536. * HtmlElementEventArgs.cs: Implement properties.
  7537. 2007-08-29 Jonathan Pobst <[email protected]>
  7538. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  7539. 2007-08-29 Jonathan Pobst <[email protected]>
  7540. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  7541. Add (string,string,string) to implement the imagekey. It turns out, we
  7542. use the requested imagekey whereas .Net does not. So I broke ours to match
  7543. theirs. :(
  7544. 2007-08-29 Jonathan Pobst <[email protected]>
  7545. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  7546. 2007-08-29 Jonathan Pobst <[email protected]>
  7547. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  7548. 2007-08-29 Gert Driesen <[email protected]>
  7549. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  7550. up-to-date. Fixes bug #82618.
  7551. 2007-08-29 Everaldo Canuto <[email protected]>
  7552. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  7553. reflect document changes. Fixes #82367.
  7554. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  7555. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  7556. as well as add new ones. This should make work the BackgroundImage
  7557. property for ListView again.
  7558. 2007-08-28 Jonathan Pobst <[email protected]>
  7559. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  7560. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  7561. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  7562. 2007-08-28 Jonathan Pobst <[email protected]>
  7563. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  7564. IsKeyLocked.
  7565. 2007-08-28 Jonathan Pobst <[email protected]>
  7566. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  7567. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  7568. 2007-08-28 Jonathan Pobst <[email protected]>
  7569. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  7570. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  7571. 2007-08-27 Ivan N. Zlatev <[email protected]>
  7572. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  7573. 2007-08-27 Ivan N. Zlatev <[email protected]>
  7574. * GridEntry.cs: Implement GetService.
  7575. 2007-08-27 Jonathan Pobst <[email protected]>
  7576. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  7577. for label editting, make sure we focus back on the TreeView.
  7578. [Fixes bug #82590]
  7579. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  7580. * ListView.cs: Add some 2.0 overrides.
  7581. 2007-08-27 Everaldo Canuto <[email protected]>
  7582. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  7583. because getter dont returns right value before handle creation. Thanks
  7584. to George. Fixes #82569.
  7585. 2007-08-27 Everaldo Canuto <[email protected]>
  7586. * Theme.cs: Revert last patch, it causes error under win32.
  7587. 2007-08-27 Everaldo Canuto <[email protected]>
  7588. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  7589. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  7590. logical Desktop rather than the physical file system location. Fixes #82603.
  7591. 2007-08-26 Everaldo Canuto <[email protected]>
  7592. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  7593. for the patch. Fixes #82568.
  7594. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  7595. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  7596. methods.
  7597. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  7598. * ListViewInsertionMark.cs: New stubbed class.
  7599. 2007-08-25 Gert Driesen <[email protected]>
  7600. * FolderBrowserDialog.cs: When adding folder, immediately create the
  7601. directory with temporary name and rename the directory when editing
  7602. finishes. This matches MS. Ensure the node for the new folder is
  7603. selected and LabelEdit is disabled, when editing is either finished
  7604. or cancelled.
  7605. 2007-08-25 Gert Driesen <[email protected]>
  7606. * TreeView.cs: When editing label of node, ensure node is visible.
  7607. 2007-08-25 Ivan N. Zlatev <[email protected]>
  7608. * PropertyGridView.cs: Set the value only if it has changed.
  7609. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7610. * ListView.cs: Some more code refactoring to add support sorting
  7611. with groups (now for Details view). Remove unused code also.
  7612. 2007-08-24 Jonathan Pobst <[email protected]>
  7613. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  7614. Not a big fan of reacting immediately to a field in an EventArg, but that's
  7615. the way it's done. (This is part of the previous commit that got left out.)
  7616. 2007-08-25 Gert Driesen <[email protected]>
  7617. * FolderBrowserDialog.cs: Removed need for separate description field.
  7618. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  7619. has focus when dialog box is displayed again, regardless of what
  7620. button was pressed the previous time. Set RootFolder and SelectedPath
  7621. each time dialog box is displayed. This ensures the treeview is
  7622. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  7623. when it does not have focus. Added support for more special folders.
  7624. 2007-08-24 Jonathan Pobst <[email protected]>
  7625. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  7626. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  7627. it resets the edit_args.
  7628. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  7629. [Fixes bug #82577]
  7630. 2007-08-24 Gert Driesen <[email protected]>
  7631. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  7632. button to match MS. Provide more meaningful exception message for
  7633. invalid RootFolder value. Use zero-length string when SelectedPath
  7634. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  7635. them in FolderBrowserTreeView. Allow folders to be created in
  7636. RootFolder. Fixes bug #82576.
  7637. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7638. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  7639. since we need to take into account the group headers and the margin
  7640. between them.
  7641. * ListViewGroup.cs: Add a rows field to store the number of rows per
  7642. group.
  7643. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  7644. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  7645. Anyways, let's just follow the lead.
  7646. 2007-08-24 Jonathan Pobst <[email protected]>
  7647. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  7648. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  7649. controls in GetPreferredSizeCore.
  7650. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  7651. [Fixes bug #82488]
  7652. 2007-08-24 Jonathan Pobst <[email protected]>
  7653. * PrintDialog.cs: Need to instantiate the form variable here too.
  7654. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7655. * ListView.cs: Do some reorganization to support sorting in groups,
  7656. by doing the layout sequentially in ListView.Items. Also add support
  7657. for the Default Group, which should be available for items with no
  7658. group assigned.
  7659. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  7660. for storing layout info also.
  7661. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  7662. collection, as well as providing internal members to do a traversal
  7663. including the default group (needed when doing layout/drawing).
  7664. * ThemeWin32Classic.cs: When drawing group headers use internal
  7665. ListViewGroupCollection members to take into account the default
  7666. group.
  7667. 2007-08-23 George Giolfan <[email protected]>
  7668. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  7669. 2007-08-23 Jonathan Pobst <[email protected]>
  7670. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  7671. been created. If handle is created, we want arror keys. If we are editing
  7672. a node, we want things like enter, esc, home, end, page up, page down.
  7673. Allows Esc to work for FolderBrowserDialog.
  7674. 2007-08-23 Jonathan Pobst <[email protected]>
  7675. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  7676. they close when ESC is pressed. Thanks Andy!
  7677. 2007-08-23 Jonathan Pobst <[email protected]>
  7678. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  7679. This way we can tell if this is a CommonDialog provided with mono, or one
  7680. that is being implemented outside by a developer. If it is an external one,
  7681. the developer is responsible for showing their own form. We were showing
  7682. our blank form after the developer showed his.
  7683. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  7684. PageSetupDialog.cs: Instantiate form variable in our constructor.
  7685. [Fixes bug #82531]
  7686. 2007-08-23 Jonathan Pobst <[email protected]>
  7687. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  7688. and always return true. [Fixes bug #81616]
  7689. 2007-08-23 Jonathan Pobst <[email protected]>
  7690. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  7691. TextBox. [Fixes bug #82549]
  7692. 2007-08-23 Gert Driesen <[email protected]>
  7693. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  7694. or entered then do not close the dialog. Fixes bug #82539. Removed
  7695. CWLs.
  7696. 2007-08-22 Everaldo Canuto <[email protected]>
  7697. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  7698. code to this method. It is calling every time filter changes. This method
  7699. will help to fix the bug #80887.
  7700. 2007-08-22 Jonathan Pobst <[email protected]>
  7701. * CheckBox.cs: Implement AutoSize calculation.
  7702. 2007-08-22 Jonathan Pobst <[email protected]>
  7703. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  7704. * Theme.cs: Method declarations for 2.0 rendering path.
  7705. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  7706. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  7707. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  7708. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  7709. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  7710. only call Redraw on the parent one time.
  7711. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  7712. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  7713. GetClipboardContent.
  7714. * DataGridViewCell.cs: Implemented GetClipboardContent,
  7715. GetEditedFormattedValue, GetFormattedValue.
  7716. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  7717. 2007-08-21 Jonathan Pobst <[email protected]>
  7718. * TableLayoutStyleCollection.cs: corcompare fix.
  7719. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  7720. * DataObject.cs: Implemented retrieval of convertible / not convertible
  7721. objects.
  7722. 2007-08-21 Jonathan Pobst <[email protected]>
  7723. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  7724. ourselves. This ensures the entire old bounds are repainted, in case our new
  7725. size is smaller. [Fixes bug #82518]
  7726. 2007-08-20 Everaldo Canuto <[email protected]>
  7727. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  7728. flag to make fast handle of mouse events, without this the mouse move is
  7729. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  7730. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7731. * ListView.cs: When doing layout calculations don't use a ref
  7732. param to keep the current item; instead use its Index value (this
  7733. is specially important when doing the layout with Groups
  7734. and Items being sparse). Also don't take into account items added to
  7735. the Group but not yet added to the main ListView.Items collection.
  7736. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7737. * ListViewGroupCollection.cs: Forgot to mimic an issue
  7738. in the indexer (don't assign the ListView owner for new values).
  7739. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7740. * ListViewGroupCollection.cs: Make the string indexer use
  7741. the int based indexer to re-use code, instead of duplicate the code.
  7742. Also Redraw as needed and take into account null values.
  7743. 2007-08-20 Jonathan Pobst <[email protected]>
  7744. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  7745. [Fixes bug #82481]
  7746. 2007-08-20 Jonathan Pobst <[email protected]>
  7747. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  7748. when other buttons are clicked or navigated to.
  7749. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7750. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  7751. it's XplatUIX11 that attaches them.
  7752. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7753. * DataGridView.cs: If a column has been added, recreate the editing row.
  7754. Fixes #82226.
  7755. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7756. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  7757. of the tag to draw. Makes disappearing text show up again.
  7758. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7759. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  7760. Contents. Fixes #82487.
  7761. 2007-08-19 Andreia Gaita <[email protected]>
  7762. * Added HtmlElement.cs, HtmlElementCollection.cs,
  7763. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  7764. 2007-08-19 Andreia Gaita <[email protected]>
  7765. * BindingSource.cs: Implement this, dispose and getenumerator.
  7766. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  7767. out of AddInternal, throw it only on public Add calls. The
  7768. UsingWebBrowser sample was blowing up with this when setting the
  7769. DataSource after adding DataBindings, so it's likely that .net
  7770. only throws this exception when Add is called directly.
  7771. * ToolStripControlHost.cs: Return the hosted control's text
  7772. property, and not the ToolStripItem one (it would always return
  7773. the initial value).
  7774. * HtmlDocument.cs: Implement GetElementById and All
  7775. * WebBrowser.cs: Remove exception on set_DocumentStream.
  7776. 2007-08-19 Everaldo Canuto <[email protected]>
  7777. * Form.cs: Fix the max and min value for opacity (0~1).
  7778. 2007-08-19 Everaldo Canuto <[email protected]>
  7779. [Fixes #80118]
  7780. * DataGridTableStyle.cs: Default header font is now null, on getter it
  7781. returns datagrid font when is null. On setter permits null.
  7782. * DataGrid.cs:
  7783. - When ResetHeaderFont set header font to null.
  7784. - On EndInit set grid_style.DataGrid.
  7785. 2007-08-19 Everaldo Canuto <[email protected]>
  7786. * TabControl.cs: Fix regression in default padding x.
  7787. 2007-08-19 Everaldo Canuto <[email protected]>
  7788. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  7789. 2007-08-19 Everaldo Canuto <[email protected]>
  7790. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  7791. not 2. Fixes #82229.
  7792. 2007-08-18 Everaldo Canuto <[email protected]>
  7793. * TabControl.cs: Fix tab size when image height is less than text height.
  7794. Partially fixes #81837.
  7795. 2007-08-18 Everaldo Canuto <[email protected]>
  7796. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  7797. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  7798. from taskbar and keep it on "alt_tab". Fixes #81722.
  7799. 2007-08-18 Everaldo Canuto <[email protected]>
  7800. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  7801. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  7802. Fixes #80877 and #79418.
  7803. 2007-08-18 Everaldo Canuto <[email protected]>
  7804. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  7805. between position and one of the screen borders. Fixes #82349.
  7806. 2007-08-18 Everaldo Canuto <[email protected]>
  7807. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  7808. the MessageBox in the taskbar. Fixes #82457.
  7809. 2007-08-18 Everaldo Canuto <[email protected]>
  7810. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  7811. than icon. Fixes #82468.
  7812. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  7813. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  7814. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  7815. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  7816. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  7817. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  7818. FormBorderStyle to decide if we're calculating a new size from the
  7819. client size or not. CreateParams: Don't fake tool windows, only the X11
  7820. backend manages toolwindows manually.
  7821. 2007-08-17 Jonathan Pobst <[email protected]>
  7822. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  7823. ObjectDisposedException.
  7824. 2007-08-17 Jonathan Pobst <[email protected]>
  7825. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  7826. in OnLoad should not have any effect. [Fixes bug #82470]
  7827. 2007-08-17 Jonathan Pobst <[email protected]>
  7828. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  7829. paint for controls that create their own ToolTipWindow instead of
  7830. going through ToolTip.
  7831. 2007-08-17 Jonathan Pobst <[email protected]>
  7832. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  7833. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  7834. * ListViewGroupCollection.cs: Use generic List instead of an
  7835. ArrayList, since this collection is 2.0 only.
  7836. 2007-08-17 Jeffrey Stedfast <[email protected]>
  7837. * ToolTip.cs (Hide): Made public to make the build work (should
  7838. this not be public?).
  7839. 2007-08-17 Jonathan Pobst <[email protected]>
  7840. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  7841. ToolTipWindow.
  7842. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  7843. 2007-08-17 Jonathan Pobst <[email protected]>
  7844. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  7845. PopupEventHandler.cs: Make these internal for 1.1.
  7846. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  7847. use ToolTipWindow internals.
  7848. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  7849. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  7850. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7851. * X11Dnd.cs: Add a null check.
  7852. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7853. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  7854. nothing else succeeds. Fixes #82453.
  7855. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7856. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  7857. rectangle if we're painting to another window than the one the paint
  7858. message was generated on. Simplify the code somewhat, which makes
  7859. PaintEventEnd also simpler.
  7860. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7861. * Control.cs: When changing parent of a form, let the form decide whether
  7862. XplatUI.SetParent should be called or not.
  7863. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  7864. recreating the handle. If the new parent's handle isn't created, don't
  7865. recreate our handle, just destroy it. CreateParams: Check if the
  7866. parent's handle is created before fetching it.
  7867. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7868. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  7869. Update calls to PaintEventStart/End to take a Message argument.
  7870. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  7871. take a Message argument.
  7872. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  7873. Message argument, and handle the case where we don't paint to the window
  7874. for which the paint message was generated.
  7875. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7876. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  7877. Marshal.GetLastWin32Error. Plug nasty memory leak in
  7878. PaintEventStart/End, we were creating a DC we weren't releasing.
  7879. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  7880. * ListView.cs: Add Groups support in Details view. Also have a small
  7881. method to do the layout of the group header. Don't use a separate
  7882. method to do the groups calculation in Icons view, since our methods
  7883. are now a little simpler.
  7884. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  7885. `Bounds'.
  7886. * ThemeWin32Classic.cs: Likewise.
  7887. 2007-08-16 Jonathan Pobst <[email protected]>
  7888. * Application.cs: Add FilterMessage method and rework our message loop
  7889. logic to use it.
  7890. 2007-08-16 Jonathan Pobst <[email protected]>
  7891. * Application.cs: Add some methods and stub a few methods that are
  7892. pretty much never used.
  7893. 2007-08-15 Jonathan Pobst <[email protected]>
  7894. * TreeNode.cs: Add some serialization methods.
  7895. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  7896. * ListView.cs: In ListViewItemCollection have a
  7897. 'is_main_collection' field to not modify ListViewItem.ListView
  7898. when using it as ListViewGroup.Items (and not ListView.Items)
  7899. and also don't modify selection state (.Net behaviour).
  7900. Instead, set group for items contained in a ListViewGroup.Items collection.
  7901. * ListViewItem.cs: Simplify some code in Group setter.
  7902. * ListViewGroup.cs: use the new .ctor to pass the current instance
  7903. to the ItemsCollection.
  7904. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  7905. instances when adding/removing. Also make Remove use RemoveAt, which
  7906. should perform better.
  7907. 2007-08-14 Jonathan Pobst <[email protected]>
  7908. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  7909. that crept into the 1.1 profile.
  7910. 2007-08-14 Jonathan Pobst <[email protected]>
  7911. * ToolBarButton.cs: Implement ImageKey.
  7912. 2007-08-14 Jonathan Pobst <[email protected]>
  7913. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  7914. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  7915. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  7916. created, it might have gotten destroyed since we last checked. Fixes
  7917. #82405.
  7918. 2007-08-11 Jonathan Pobst <[email protected]>
  7919. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  7920. tooltip will hide when mouse is moved off the control.
  7921. [Fixes bug #82407]
  7922. 2007-08-11 Andreia Gaita <[email protected]>
  7923. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  7924. using Mono.Mozilla for loading and navigating webcontrol
  7925. with xulrunner.
  7926. The initial implementation was done on
  7927. /trunk/mozembed/tests/browser , and copied here.
  7928. 2007-08-11 Gert Driesen <[email protected]>
  7929. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  7930. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  7931. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  7932. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  7933. RowTemplateFull: throw an exception if a column doesn't have a template.
  7934. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  7935. add the row just before it.
  7936. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  7937. selected.
  7938. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  7939. DataGridView field to be able to reach the grid's editing row.
  7940. 2007-08-10 Jonathan Pobst <[email protected]>
  7941. * ToolTip.cs: If the control's handle hasn't been created when it has a
  7942. tooltip set on it, don't check to see if we need to show the tooltip. This
  7943. check was causing the control's handle to be created.
  7944. [Fixes bug #82399]
  7945. 2007-08-10 Jonathan Pobst <[email protected]>
  7946. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  7947. 1.1 2.0
  7948. Handle Not Created -1 0
  7949. Handle Created 0 0
  7950. [Fixes bug #82371]
  7951. 2007-08-10 Jonathan Pobst <[email protected]>
  7952. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  7953. [Fixes bug #82348]
  7954. 2007-08-09 Jonathan Pobst <[email protected]>
  7955. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  7956. * ToolTip.cs: Implement some properties and owner draw.
  7957. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7958. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  7959. show them again, since setting visibility causes a paint, causing an
  7960. endless loop (instead use a temporary and set it all when it's known if
  7961. they should be shown or not). Fixes #79265.
  7962. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7963. * DataGridView.cs: Only do a full column/row selection if a header was
  7964. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  7965. isn't pressed, deselect everything before selecting something.
  7966. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7967. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  7968. behaviour according to bug #81075 - they are returned in the order they
  7969. are selected. Fix HitTest to check if the point is within any of the
  7970. headers. Allow for row/column selection when in ColumnHeader or
  7971. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  7972. the row and column to call when their selected state changes, and
  7973. updated selected_[rows|columns] whenever SetSelected* is called.
  7974. * DataGridViewBand.cs: Initialize isRow correctly. Call
  7975. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  7976. add a SelectedInternal to avoid StackOverflows.
  7977. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  7978. ReadOnly no matter what.
  7979. * DataGridViewSelectedColumnCollection.cs,
  7980. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  7981. the items in reverse order (just as MS does...)
  7982. 2007-08-09 Jonathan Pobst <[email protected]>
  7983. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  7984. itself, not part of a mnemonic. [Fixes bug #82378]
  7985. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7986. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  7987. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  7988. the DGV, the column, the row, or the cell itself is readonly.
  7989. 2007-08-09 Gert Driesen <[email protected]>
  7990. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  7991. OSVersion.Platform.
  7992. * FileDialog.cs: Same.
  7993. * TextRendered.cs: Same.
  7994. * FolderBrowserDialog.cs: Same.
  7995. * TextBoxBase.cs: Same.
  7996. * Application.cs: Same.
  7997. * Cursors.cs: Same.
  7998. * ThemeClearLooks.cs: Same.
  7999. 2007-08-09 Gert Driesen <[email protected]>
  8000. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  8001. instead of duplicating these checks everywhere.
  8002. * FileDialog.cs: Use case-insensitive comparison for populating the
  8003. DirComboBox when not running on unix. Fixes bug #82385.
  8004. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  8005. "Look in".
  8006. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8007. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  8008. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  8009. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  8010. cell and column selection with ctrl and shift pressed. Call the correct
  8011. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  8012. the corresponding virtual method (PaintBackground to paint background,
  8013. etc).
  8014. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  8015. either the column, row or the cell itself is selected.
  8016. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  8017. OnRowsAdded.
  8018. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  8019. here. When the row is selected, don't select all cells. Each cell now
  8020. queries the row to see if the row is selected.
  8021. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8022. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  8023. SelectionMode.
  8024. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8025. * ListView.cs: In ListViewItemsCollection check that owner is
  8026. not null before trying to access it (this happens quite often
  8027. using Groups). Also don't duplicate calls by calling CollectionChanged
  8028. method.
  8029. 2007-08-08 Jonathan Pobst <[email protected]>
  8030. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  8031. when we are dismissed to clear keyboard mnemonics.
  8032. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  8033. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  8034. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  8035. was activated by keyboard or the OS tells us to always draw them.
  8036. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  8037. [Fixes bugs #82376, #82377]
  8038. 2007-08-08 Jonathan Pobst <[email protected]>
  8039. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  8040. shot at having it because Alt was pressed.
  8041. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  8042. the first real menu item.
  8043. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  8044. a mnemonic if Text is null.
  8045. [Fixes bug #82374]
  8046. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8047. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  8048. search do check whether the item is already contained in the
  8049. collection or not; instead check if the owner of the item is the same
  8050. as ours. Also, remove a redundant check in the same method.
  8051. 2007-08-08 Jonathan Pobst <[email protected]>
  8052. * Control.cs: Allow the clip region to be set back to null.
  8053. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  8054. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  8055. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  8056. * GridEntry.cs: Add a null check.
  8057. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  8058. entries. Fixes #82297.
  8059. 2007-08-07 Jonathan Pobst <[email protected]>
  8060. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  8061. for 2.0.
  8062. 2007-08-07 Jonathan Pobst <[email protected]>
  8063. * ListBox.cs: Implement ScaleControl.
  8064. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8065. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  8066. have a menu strip.
  8067. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  8068. parent has a menu strip. Fixes #81689.
  8069. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8070. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  8071. moments, so apply some fuzzy logic to determine if the mouse is still
  8072. inside a control or not. Fixes #82288 (for the third time).
  8073. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8074. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  8075. Don't create the child if it has been disposed already (may happen if
  8076. the user closes the form the Load event).
  8077. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8078. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  8079. #82288.
  8080. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8081. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  8082. might call us after we've been destroyed, in which case our own private
  8083. parent field is null. Fixes #82326.
  8084. 2007-08-06 Jonathan Pobst <[email protected]>
  8085. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  8086. check for setting the dropdown's owner.
  8087. 2007-08-06 Jonathan Pobst <[email protected]>
  8088. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  8089. before removing system menu items.
  8090. 2007-08-02 Jonathan Pobst <[email protected]>
  8091. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  8092. folding.
  8093. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  8094. folding.
  8095. * ToolStrip.cs: Add a null check to mnemonics.
  8096. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  8097. no ConnectedArea.
  8098. [Fixes most of bug #81689]
  8099. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8100. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  8101. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8102. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  8103. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8104. * DataGridViewCell.cs: EditType: returns
  8105. DataGridViewTextBoxEditingControl always.
  8106. 2007-08-01 Jonathan Pobst <[email protected]>
  8107. * TextRenderer.cs: Remove the LineLimit string format flag from the
  8108. DrawString fallback method so that things like buttons that aren't
  8109. tall enough to draw a full line will still draw part of the text.
  8110. [Fixes part of bug #82272]
  8111. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8112. * DataGridView.cs: Implemented AutoResizeColumn(s).
  8113. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  8114. according to the Alignment.
  8115. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  8116. Implement alignment and padding when painting.
  8117. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  8118. exists.
  8119. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  8120. way.
  8121. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  8122. a column is added.
  8123. 2007-07-31 Jonathan Pobst <[email protected]>
  8124. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  8125. which is internal.
  8126. 2007-07-31 Jonathan Pobst <[email protected]>
  8127. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  8128. hide GetPreferredSize from public API.
  8129. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  8130. * ToolStripItem.cs: Stub out drag and drop methods and events.
  8131. * ToolStripManager.cs: Stub out Save/LoadSettings.
  8132. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  8133. * ToolStripPanel.cs: Fix corcompare error.
  8134. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  8135. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  8136. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  8137. 2007-07-31 Jonathan Pobst <[email protected]>
  8138. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  8139. bounds height instead of PreferredHeight. Puts things back the way
  8140. they were for height while still fixing the width. Fixes broken unit
  8141. tests.
  8142. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8143. * Binding.cs: Implement 2.0 constructors and add a null check.
  8144. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8145. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  8146. and fix row index (off by one).
  8147. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8148. * PropertyGridView.cs: Remove debug output.
  8149. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8150. * Control.cs: We need to reset the is_created flags when the handle is
  8151. destroyed. Fixes #82187.
  8152. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  8153. client coordinates if the window doesn't have a parent.
  8154. Win32GetParent returns the parent or the owner, and for top-level
  8155. windows with no parent (but with an owner) we were calculating the
  8156. location from the location of the owner.
  8157. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  8158. form has been disposed.
  8159. * MdiClient.cs: Add a null-check.
  8160. 2007-07-30 Jonathan Pobst <[email protected]>
  8161. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  8162. actually do auto-sizing. Override the internal GetPreferredSizeCore
  8163. so we can provide an implementation that returns the current width
  8164. and preferred height. Allows anchor = right to work with TextBox 2.0.
  8165. [Fixes bug #82233]
  8166. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  8167. * ListView.cs: Add support for navigating items in Groups mode, by
  8168. creating a big matrix containing all rows and cols of all groups. When
  8169. are in other mode than Details, pressing Up should have a similar
  8170. behaviour as that one of Down (moving to the next available column if
  8171. current one doesn't have an item in the requested row). Also, don't
  8172. proceed to use groups if ShowGroups is false.
  8173. * ListViewGroup.cs: Add an internal int field to store the starting
  8174. row of the group (used by the big matrix used for navigating the
  8175. ListView).
  8176. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  8177. false.
  8178. 2007-07-30 Jonathan Pobst <[email protected]>
  8179. * ToolStripDropDown.cs: When we do Show, start with the
  8180. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  8181. modify the direction to keep it on screen. [Fixes bug #82210]
  8182. 2007-07-29 Gert Driesen <[email protected]>
  8183. * FileDialog.cs: Accept any FilterIndex value, and store it
  8184. unmodified. When FilterIndex is less than 1, or greater than number
  8185. of filters, then default to first filter. Only add filter extension to
  8186. file if user did not specifiy an extension. When type of dialog is
  8187. OpenFileDialog and DefaultExt is set, then only use filter extension
  8188. if: CheckFileExists is true and no file wih the default extension
  8189. exists, or CheckFileExists is false, and user specified file does not
  8190. exist. When CheckFileExists is true, then add first extension of
  8191. selected filter that matches existing file. Perform checks for
  8192. existing file, overwrite and create after extension has been added to
  8193. file name. When CheckFileExists is true and type is SaveFileDialog,
  8194. then only consider first filter extension if DefaultExt is set.
  8195. When CheckFileExists is true, then ignore DefaultExt if file with that
  8196. extension does not exist. Also perform check for existing file when
  8197. type is SaveFileDialog. Changed some field to constants.
  8198. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8199. * ListView.cs: Take into account the region used by header
  8200. control when doing the vertical scroll (this way we invalidate
  8201. the precise area, and don't get any dirty one).
  8202. 2007-07-27 Everaldo Canuto <[email protected]>
  8203. * FileDialog.cs: Check for valid filterIndex on button open/save.
  8204. Fixes #82184.
  8205. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8206. * ListView.cs: Update some layout calculations in details view
  8207. and clean the code in a pair of assignations.
  8208. 2007-07-26 Jonathan Pobst <[email protected]>
  8209. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  8210. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  8211. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  8212. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  8213. 2007-07-26 Jonathan Pobst <[email protected]>
  8214. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  8215. performance of thread-safe Graphic methods. (Thanks rolf!)
  8216. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  8217. * ListView.cs: When doing the layout calculations, don't calculate
  8218. scroll bars before handle is created. This is unnecessary and also
  8219. calculating them before handle creation item causes a number of random
  8220. bugs (which begin to appear after Chris' big patch for handle creation
  8221. fixes).
  8222. 2007-07-26 Jonathan Pobst <[email protected]>
  8223. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  8224. for things that don't have a Graphics object. Currently, things just use
  8225. the static Hwnd.bmp_g which is not thread safe.
  8226. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8227. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  8228. dialog. Fixes #82187.
  8229. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8230. * DataGridViewElement.cs: Initialize state.
  8231. * DataGridView.cs: Forward a few Mouse events to cells. Add
  8232. GetRowInternal and GetCellInternal that doesn't unshare rows.
  8233. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  8234. don't use the index, but look it up. Add
  8235. DataGridViewControlCollection.RemoveInternal to remove controls
  8236. that Remove won't remove (scrollbars, edit control).
  8237. * DataGridViewColumn.cs: Initialize State correctly.
  8238. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  8239. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  8240. implementing this.
  8241. * DataGridViewRowCollection.cs: Implemented shared rows.
  8242. * DataGridViewRow.cs: Throw exceptions as MS do.
  8243. * DataGridViewCell.cs: A few properties are implemented by a
  8244. Get<Property> method, so move implementation there and remove the
  8245. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  8246. calls when necessary.
  8247. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  8248. complicates matters.
  8249. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  8250. unshare any rows.
  8251. 2007-07-25 Jonathan Pobst <[email protected]>
  8252. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  8253. the children controls. Instead, we will just set up the proper docking for the
  8254. children controls so we don't have to worry about it. [Fixes bug #82188]
  8255. 2007-07-25 Jonathan Pobst <[email protected]>
  8256. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  8257. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  8258. 81847. [Fixes bug #81847]
  8259. 2007-07-25 Jonathan Pobst <[email protected]>
  8260. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  8261. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  8262. an explicit size based on the design-time size of the text. Since our fonts
  8263. may not match this explicit size, we tend to cut off the ends of people's labels.
  8264. 2007-07-24 Jonathan Pobst <[email protected]>
  8265. * Menu.cs: Add some missing methods to MenuItemCollection.
  8266. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8267. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  8268. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  8269. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  8270. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  8271. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  8272. * DataGridViewElement.cs: State defaults to Visible.
  8273. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  8274. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  8275. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8276. * Control.cs: Minor 1.1 corcompare fix.
  8277. 2007-07-23 Jonathan Pobst <[email protected]>
  8278. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  8279. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  8280. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8281. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  8282. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  8283. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  8284. DataGridViewSelectedColumnCollection.cs,
  8285. DataGridViewSelectedRowCollection.cs: Corcompare work.
  8286. 2007-07-23 Jonathan Pobst <[email protected]>
  8287. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  8288. it is autoset by VS2005 designer and the effect is barely noticeable.
  8289. 2007-07-23 Jonathan Pobst <[email protected]>
  8290. * TreeView.cs: Implement HitTest.
  8291. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8292. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  8293. manually adding and removing the control from the Controls
  8294. collecftion.
  8295. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  8296. EditingControlInternal property that tracks the editing control.
  8297. Always keeping the scrollbars in the Controls collection, as MS
  8298. testing confirms is the right behaviour.
  8299. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8300. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  8301. according to MSDN and new test.
  8302. 2007-07-20 Jonathan Pobst <[email protected]>
  8303. * TreeNode.cs: Implement ToolTipText.
  8304. * TreeView.cs: Implement tooltips, NodeMouse* events.
  8305. 2007-07-20 Jonathan Pobst <[email protected]>
  8306. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  8307. 2007-07-20 Jonathan Pobst <[email protected]>
  8308. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  8309. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  8310. 2007-07-20 Ivan N. Zlatev <[email protected]>
  8311. * Control.cs, Form.cs, ContainerControl.cs,
  8312. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  8313. for misc properties.
  8314. 2007-07-20 Jonathan Pobst <[email protected]>
  8315. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  8316. * TreeView.cs: Implement StateImageList.
  8317. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8318. * Form.cs: Don't check if the current form is the active form before
  8319. activating it. Fixes #81904.
  8320. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8321. * Form.cs: Don't check if the current form is the active form before
  8322. activating it. Fixes #81904.
  8323. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8324. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  8325. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8326. * Form.cs: Don't try to position the form after loading if the form was
  8327. disposed. Fixes #81969.
  8328. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8329. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  8330. properties. Had to change ToolBar into ToolStrip, which required a
  8331. few #ifs.
  8332. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8333. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  8334. resized, fixes part of #79829 (vertical lines in toolbar).
  8335. PropertyGrid: Refactored Populate* to something that's easier to
  8336. follow at least for me, as well as splitting it up into several new
  8337. methods, required to update only subitems when something has
  8338. changed by a popup editor or listbox. Don't use events to check
  8339. when any values are changed, since the events are unreliable (we're
  8340. changing the objects the events are registered with, and if the
  8341. event handling requires the objects to be immutable (objects stored
  8342. in hashtables for instance), the events will never be raised).
  8343. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  8344. everytime we change a value, since events are unreliable.
  8345. DropDownButtonClicked: For the same reason don't compare objects to
  8346. check if it has changed or not, it would require all objects to
  8347. derive Equals. Fix dialog location on windows, MS is doing weird
  8348. things when creating parented forms.
  8349. * GridEntry.cs: Add a SelectedObject setter.
  8350. 2007-07-19 Jonathan Pobst <[email protected]>
  8351. * TreeNode.cs: Add some corcompare attributes.
  8352. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  8353. * TreeView.cs: Implement some 2.0 stuffs.
  8354. 2007-07-18 Andreia Gaita <[email protected]>
  8355. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  8356. for moma.
  8357. 2007-07-19 Jonathan Pobst <[email protected]>
  8358. * ListBox.cs: Implement custom tab offsets.
  8359. 2007-07-18 Jonathan Pobst <[email protected]>
  8360. * ToolStripContentPanel.cs: Support System renderer.
  8361. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  8362. 2007-07-18 Jonathan Pobst <[email protected]>
  8363. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  8364. 2007-07-18 Jonathan Pobst <[email protected]>
  8365. * CheckBox.cs: Chain TextAlign to base implementation instead of
  8366. maintaining another one.
  8367. 2007-07-18 Jonathan Pobst <[email protected]>
  8368. * ButtonBase.cs: Fix an incorrect string constant.
  8369. 2007-07-18 Jonathan Pobst <[email protected]>
  8370. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  8371. of creating one for measuring strings.
  8372. 2007-07-18 Jonathan Pobst <[email protected]>
  8373. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  8374. Implement MaxItemSize.
  8375. 2007-07-17 Jonathan Pobst <[email protected]>
  8376. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  8377. for DeviceContext. Instead, use the static one available in Hwnd.
  8378. Informal tests show this saves about 500k on formtest.exe.
  8379. 2007-07-17 Jonathan Pobst <[email protected]>
  8380. * ContainerControl.cs: Implement 2.0 AutoScaling.
  8381. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  8382. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  8383. 2007-07-16 Jonathan Pobst <[email protected]>
  8384. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  8385. Darken the focus color.
  8386. 2007-07-16 Jonathan Pobst <[email protected]>
  8387. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  8388. for the checkbox.
  8389. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  8390. X, Y instead of a rect for drawing text.
  8391. - For ControlPaint.DrawCheckBox, center the check a little better when the
  8392. checkbox is odd width. When drawing a flat checkbox, use a white background
  8393. when state != inactive.
  8394. [Fixes bugs #82097, 82100]
  8395. 2007-07-16 Gert Driesen <[email protected]>
  8396. * ListControl.cs: When changing CurrencyManager, disconnect event
  8397. handlers from previous one. Fixes bug #81771. Code formatting.
  8398. 2007-07-15 Andreia Gaita <[email protected]>
  8399. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  8400. full preview invalidation from layout invalidation, and only invalidate
  8401. the layout when setting zoom or other properties. Invalidation should
  8402. always be done even when resetting properties with the same values as
  8403. what is there. Fixes #81744 and #79830.
  8404. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8405. * ListView.cs: Implement initial support for Groups. Split some of the
  8406. LayoutIcons code to render a partial list of the items (needed by
  8407. items contained in ListViewGroup instances). Let the
  8408. ListViewItemsCollection.ListView property be modifiable (needed when
  8409. using Groups, too).
  8410. * ListViewGroup.cs: Use a Bounds property rather than a Location
  8411. one. Also invalidate the bounds when they get changed.
  8412. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  8413. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  8414. method as well.
  8415. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8416. * ListView.cs: When space gets pressed and CheckBoxes is true,
  8417. don't invoke the Begin and EndUpdate methods. We are generating
  8418. a redraw of the entire control without need to do so.
  8419. 2007-07-13 William Holmes <[email protected]>
  8420. * Control.cs: Changing logic in FindFlatForward and
  8421. FindFlatBackward to handle multiple Controls with
  8422. the same TabIndex.
  8423. This fixes bug 81687.
  8424. 2007-07-13 Jonathan Pobst <[email protected]>
  8425. * OSFeature.cs: Enable IsPresent.
  8426. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8427. * Control.cs: Don't do anything in WmShowWindow if the control has been
  8428. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  8429. control is created, put on a form, the control is disposed (the
  8430. form is never shown), and then we get a MapNotify, triggering a
  8431. WM_SHOWWINDOW.
  8432. * Form.cs: Exclude the current form when sending Deactivate to all
  8433. MdiChildren.
  8434. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  8435. there was a race condition because assigning the handle raises
  8436. events, we can get more messages, therefore trying to assign the
  8437. handle again, which would fail if any of those event handlers
  8438. closed/disposed the control.
  8439. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8440. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  8441. 2007-07-12 Jonathan Pobst <[email protected]>
  8442. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  8443. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  8444. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  8445. * DateTimePicker.cs: If there's no part format specifier, return an
  8446. empty string.
  8447. 2007-07-12 Jonathan Pobst <[email protected]>
  8448. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  8449. Transparent BorderColor.
  8450. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  8451. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  8452. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  8453. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  8454. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  8455. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  8456. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  8457. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  8458. Remove warnings.
  8459. * X11Structs.cs: Remove warnings, add ToString implementations.
  8460. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8461. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  8462. size, and not the current size. Fixes #81798.
  8463. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8464. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  8465. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  8466. to the control yet).
  8467. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8468. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  8469. mousedowns to the contained textbox.
  8470. * X11Structs.cs: More ToString implementation.
  8471. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  8472. #81791.
  8473. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8474. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  8475. 2007-07-10 Jonathan Pobst <[email protected]>
  8476. * TableLayoutPanelCellPosition.cs: TypeConverter.
  8477. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  8478. [ Fixes #79761]
  8479. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  8480. controls.
  8481. * PropertyGridView.cs: A few color fixes.
  8482. 2007-07-10 Jackson Harper <[email protected]>
  8483. * TextControl.cs: Remove some old unused text formatting stuff.
  8484. 2007-07-10 Jackson Harper <[email protected]>
  8485. * TreeView.cs: Update full row select invalidation to match the
  8486. newer DrawSelection... method.
  8487. - Make sure to invalidate the entire width when selecting a new
  8488. node, if we have full row selection enabled.
  8489. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  8490. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  8491. display of properties again.
  8492. 2007-07-10 Jonathan Pobst <[email protected]>
  8493. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  8494. to existing collections.
  8495. 2007-07-09 Jonathan Pobst <[email protected]>
  8496. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  8497. that changed between 1.1 and 2.0.
  8498. 2007-07-09 Jonathan Pobst <[email protected]>
  8499. * PowerStatus.cs: Added. This is just a data class, it is filled
  8500. in by SystemInformation.
  8501. 2007-07-09 Jonathan Pobst <[email protected]>
  8502. * Message.cs: Add op_Equality and op_Inequality.
  8503. 2007-07-09 Jonathan Pobst <[email protected]>
  8504. * MenuStrip.cs: Finish corcompare work.
  8505. 2007-07-09 Jonathan Pobst <[email protected]>
  8506. * LinkArea.cs: Add op_Equality and op_Inequality.
  8507. 2007-07-09 Jonathan Pobst <[email protected]>
  8508. * Application.cs: Add MessageLoopCallback delegate.
  8509. 2007-07-09 Jonathan Pobst <[email protected]>
  8510. * ListBox.cs: First set of 2.0 stuffs.
  8511. 2007-07-09 Jonathan Pobst <[email protected]>
  8512. * Control.cs: Make an internal Height property we can override
  8513. without messing up the public API.
  8514. * ListBox.cs: Override HeightInternal to always return the size
  8515. the user set. [Fixes bug #80466]
  8516. 2007-07-08 Jonathan Pobst <[email protected]>
  8517. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  8518. paint cell borders if we haven't calculated where they go yet.
  8519. [Fixes bugs #82040 and #82041]
  8520. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  8521. * ListView.cs: In Details view, set the location of item_control
  8522. in the (0,0) position (and the header_control is thus on the
  8523. item_control). This way the Bounds of the Items are relative to the
  8524. ListView control (before this, they had a Bounds value without the
  8525. header_control offset, which wasn't matching .Net). Fixes #82004.
  8526. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  8527. * ListControl.cs: When DataSource is set to null, pass an empty
  8528. array of object to SetItemsCore. This is done to clean the items
  8529. in the ListContol children. Fixes #81788.
  8530. 2007-07-06 Jonathan Pobst <[email protected]>
  8531. * ListControl.cs: Add 2.0 stuffs.
  8532. 2007-07-06 Jonathan Pobst <[email protected]>
  8533. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  8534. Refresh is overkill for just about every repaint request.
  8535. 2007-07-06 Jonathan Pobst <[email protected]>
  8536. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  8537. so remove my custom Get method and fix the property getter.
  8538. 2007-07-06 Jonathan Pobst <[email protected]>
  8539. * Label.cs: DefaultMargin for 2.0.
  8540. 2007-07-06 Jonathan Pobst <[email protected]>
  8541. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  8542. reported issue where other controls with mnemonics would steal strokes
  8543. from a selected ComboBox.
  8544. 2007-07-06 Jonathan Pobst <[email protected]>
  8545. * ScrollOrientation.cs: Make internal for 1.1.
  8546. * ScrollEventArgs.cs: Add 2.0 stuffs.
  8547. 2007-07-05 Jonathan Pobst <[email protected]>
  8548. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8549. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  8550. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  8551. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8552. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  8553. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8554. * ListView.cs: Implement the so-incredibly broken 2.0
  8555. VirtualItemsSelectionRangeChanged event.
  8556. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8557. * ListView.cs: When enter is pressed and selection is non empty,
  8558. an OnItemActivate event must be fired.
  8559. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8560. * ListView.cs: Store the FocusedItem information as an
  8561. int instead of a ListViewItem (needed by VirtualMode).
  8562. Update the calls to SetFocusedItem to pass an index instead of
  8563. an item.
  8564. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  8565. the Focused state from the owner ListView.
  8566. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  8567. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  8568. property. Also, invalidate previous focused item in the mentioned
  8569. property (match .Net).
  8570. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  8571. * ListView.cs: Implement 2.0 FocusedItem property setter.
  8572. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  8573. * ListView.cs: Implement 2.0 TopItem property setter.
  8574. 2007-07-03 Jonathan Pobst <[email protected]>
  8575. * StatusStrip.cs: The default renderer is System.
  8576. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  8577. if the user specifies it.
  8578. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  8579. if we are ManagerRenderMode.
  8580. * ToolStripMenuItem.cs: Calculate our text color better.
  8581. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  8582. from Professional to the base class based off working with the System renderer.
  8583. * ToolStripSystemRenderer.cs: Added.
  8584. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  8585. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  8586. 2007-07-02 Jonathan Pobst <[email protected]>
  8587. * ToolTip.cs: Implement 2.0 Tag property.
  8588. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  8589. * ListView.cs: Implement 2.0 HitTest methods.
  8590. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  8591. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  8592. item is under the pointer or not (sugar). Also remove the TODO
  8593. regarding to the cursor changes in OneClick activation.
  8594. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  8595. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  8596. true; otherwise don't show the underline style.
  8597. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  8598. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  8599. the code to retrieve the item at position only one time. Also
  8600. change cursor when Activation is ItemActivation.OneClick as well
  8601. as invalidate the item if HotTracking is true (to show/hide the
  8602. underline style). Add an internal HotItemIndex property to retrieve
  8603. the current hot item's index.
  8604. * ListViewItem.cs: Add an internal HotFont property to cache the
  8605. font used when HotTracking is true and the pointer moves within the
  8606. item's borders.
  8607. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  8608. HotFont depending on the hot state of the item.
  8609. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  8610. * ListView.cs: Implement 2.0 HotTracking property.
  8611. 2007-06-21 Jonathan Pobst <[email protected]>
  8612. * ToolStripControlHost.cs: If our hosted control never got created,
  8613. don't try to dispose it. [Fixes bug #81909]
  8614. 2007-06-21 Jonathan Pobst <[email protected]>
  8615. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  8616. 2007-06-21 Jonathan Pobst <[email protected]>
  8617. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  8618. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  8619. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  8620. Details view.
  8621. * DrawListViewColumnHeaderEventArgs.cs:
  8622. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  8623. using the DrawText () methods.
  8624. 2007-06-19 Jonathan Pobst <[email protected]>
  8625. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  8626. background which got erased in my changes yesterday.
  8627. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  8628. * ListViewItem.cs: Actually set bounds for subitems in Details view
  8629. (2.0 feature).
  8630. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  8631. can invoke from the owner draw routines if we need it. Also, add
  8632. support for Owner draw in Details view.
  8633. 2007-06-18 Jonathan Pobst <[email protected]>
  8634. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  8635. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  8636. ShowImageMargin setting, properly align text in a ToolStripLabel
  8637. hosted on a ToolStripDropDown.
  8638. 2007-06-18 Jonathan Pobst <[email protected]>
  8639. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  8640. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  8641. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  8642. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  8643. 2007-06-18 Jonathan Pobst <[email protected]>
  8644. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  8645. location to match ToolStripMenuItems.
  8646. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  8647. * DrawListViewColumnHeaderEventArgs.cs:
  8648. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  8649. column headers in ListView.
  8650. 2007-06-15 Jonathan Pobst <[email protected]>
  8651. * UserControl.cs: Implement AutoSize.
  8652. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  8653. * DrawListViewItemEventArgs.cs:
  8654. * ListView.cs:
  8655. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  8656. ListView.
  8657. 2007-06-15 Jonathan Pobst <[email protected]>
  8658. * ToolStripDropDownItemAccessibleObject.cs: Added.
  8659. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  8660. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  8661. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  8662. ToolStripTextBox.cs: corcompare work.
  8663. 2007-06-14 Jonathan Pobst <[email protected]>
  8664. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  8665. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  8666. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  8667. corcompare.
  8668. 2007-06-14 Jonathan Pobst <[email protected]>
  8669. * OSFeature.cs: Add IsPresent.
  8670. * PrintPreviewControl.cs: Add RightToLeft.
  8671. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  8672. * SplitterPanel.cs: Add AutoSizeMode.
  8673. 2007-06-13 Jonathan Pobst <[email protected]>
  8674. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  8675. * MdiClient.cs: Add 2.0 ScaleControl.
  8676. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  8677. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  8678. 2007-06-13 Jonathan Pobst <[email protected]>
  8679. * Form.cs: Implement some scaling methods, stub some RTL methods,
  8680. corcompare work.
  8681. 2007-06-13 Jonathan Pobst <[email protected]>
  8682. * Control.cs: corcompare work.
  8683. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  8684. 2007-06-13 Jonathan Pobst <[email protected]>
  8685. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  8686. ControlPaint 2.0 stuffs.
  8687. 2007-06-12 Jonathan Pobst <[email protected]>
  8688. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  8689. 2007-06-12 Jonathan Pobst <[email protected]>
  8690. * UpDownBase.cs: Add 2.0 stuffs.
  8691. 2007-06-12 Jonathan Pobst <[email protected]>
  8692. * NumericUpDown.cs: Add 2.0 stuffs.
  8693. 2007-06-12 Jonathan Pobst <[email protected]>
  8694. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  8695. 2007-06-12 Jonathan Pobst <[email protected]>
  8696. * ErrorProvider.cs: Implement 2.0 stuffs.
  8697. 2007-06-12 Jonathan Pobst <[email protected]>
  8698. * DomainUpDown.cs: Implement 2.0 stuffs.
  8699. 2007-06-12 Jonathan Pobst <[email protected]>
  8700. * CheckedListBox.cs: Fix RefreshItems signature.
  8701. 2007-06-12 Jonathan Pobst <[email protected]>
  8702. * PictureBox.cs: Implement 2.0 stuffs.
  8703. 2007-06-12 Andreia Gaita <[email protected]>
  8704. * TabControl.cs: Check if there are tabpages before checking
  8705. the selected index - fix #81802 (font changes raise a ResizeTabs
  8706. call on controls.add, which blew up nicely with no tabpages)
  8707. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  8708. * ListView.cs:
  8709. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  8710. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  8711. * ListView.cs:
  8712. * ListViewItem.cs: In VirtualMode the selection information
  8713. resides in the ListView, rather than in the Items. Also, throw
  8714. InvalidOperationExceptions when VirtualMode is being used and
  8715. CheckedItemCollection is accessed.
  8716. 2007-06-08 Jonathan Pobst <[email protected]>
  8717. * ComboBox.cs: Add ScaleControl.
  8718. 2007-06-08 Jonathan Pobst <[email protected]>
  8719. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  8720. 2007-06-08 Jonathan Pobst <[email protected]>
  8721. * GroupBox.cs: Add 2.0 stuffs.
  8722. 2007-06-08 Jonathan Pobst <[email protected]>
  8723. * Panel.cs: Add autosize properties/event.
  8724. 2007-06-07 Jonathan Pobst <[email protected]>
  8725. * Control.cs:
  8726. - When we remove a control, remove it from the collection before performing the layout.
  8727. - Setup an internal property for explicit_bounds.
  8728. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  8729. - Perform a layout when we set a new AutoSizeMode.
  8730. 2007-06-07 Jonathan Pobst <[email protected]>
  8731. * ScrollableControl.cs: Add 2.0 stuffs.
  8732. 2007-06-06 Jonathan Pobst <[email protected]>
  8733. * ScrollBar.cs: Add 2.0 stuffs.
  8734. 2007-06-06 Jonathan Pobst <[email protected]>
  8735. * Splitter.cs: Add 2.0 stuffs.
  8736. 2007-06-06 Jonathan Pobst <[email protected]>
  8737. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  8738. to have BindingContext simply use base implementation.
  8739. 2007-06-06 Jonathan Pobst <[email protected]>
  8740. * ColumnHeader.cs: corcompare fix.
  8741. 2007-06-06 Jonathan Pobst <[email protected]>
  8742. * Button.cs: corcompare fixes.
  8743. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  8744. 2007-06-06 Jonathan Pobst <[email protected]>
  8745. * Button.cs: Override GetPreferredSizeCore.
  8746. * ButtonBase.cs: PerformLayout after changing properties that can affect
  8747. AutoSize. Simplify some mouse/keyboard code.
  8748. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  8749. * MouseEventArgs.cs: Make Location internal for 1.1.
  8750. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  8751. * Theme.cs: Add CalculateButtonAutoSize.
  8752. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  8753. 2007-06-05 Miguel de Icaza <[email protected]>
  8754. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  8755. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  8756. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  8757. since we can get different item instances every time we retrieve it.
  8758. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  8759. * ListView.cs: Work around for #81602, since an unkown an pretty
  8760. infrequent condition appears only in some systems (old linux boxes, it
  8761. seems).
  8762. 2007-06-04 Jonathan Pobst <[email protected]>
  8763. * Button.cs: Completely reformat and a little refactor to bring
  8764. this closer to Mono circa 2007.
  8765. 2007-06-04 Jonathan Pobst <[email protected]>
  8766. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  8767. to be ButtonBase.Invalidate.
  8768. 2007-06-04 Jonathan Pobst <[email protected]>
  8769. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  8770. 2007-06-04 Jonathan Pobst <[email protected]>
  8771. * ButtonBase.cs: Completely reformat and a little refactor to bring
  8772. this closer to Mono circa 2007.
  8773. 2007-06-01 Everaldo Canuto <[email protected]>
  8774. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  8775. values for autosize. Fixes #80137.
  8776. 2007-06-01 Jonathan Pobst <[email protected]>
  8777. * Control.cs: Don't perform layout when AutoSize changes.
  8778. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  8779. directly when autosizing, use SetBounds with BoundsSpecified.None.
  8780. Fixes unit tests my last commit broke.
  8781. 2007-06-01 Jonathan Pobst <[email protected]>
  8782. * Control.cs: Perform layout when AutoSize changes.
  8783. * Form.cs: Implement AutoSizing.
  8784. 2007-06-01 Chris Toshok <[email protected]>
  8785. * DataGrid.cs: remove the XXX'ed check at the top of
  8786. ProcessGridKey. fixes #80464.
  8787. 2007-06-01 Chris Toshok <[email protected]>
  8788. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  8789. adding idempotent (add/remove in Edit()), and also make sure we
  8790. don't add it until after we set the text, so it's not tripped in
  8791. Edit(). Fixes unit test regression.
  8792. 2007-06-01 Jonathan Pobst <[email protected]>
  8793. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  8794. change is user explicit, not when the layout engine moves stuff. Fixes
  8795. anchoring to bottom and right. [Fixes bug #81790]
  8796. 2007-06-01 Andreia Gaita <[email protected]>
  8797. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  8798. 2007-06-01 Andreia Gaita <[email protected]>
  8799. * ContainerControl.cs:
  8800. Fire enter event for common ancestor if it is not a ContainerControl.
  8801. Send focus to the active_control and not the 'value', the active
  8802. control might have been changed in one of the events fired.
  8803. Definitely fixes #80159.
  8804. 2007-06-01 Andreia Gaita <[email protected]>
  8805. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  8806. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  8807. * PropertyGrid.cs: Anchor the help description to the bottom of the
  8808. help panel and refactor SelectGridItem into a
  8809. SelectGridItemInternal that can be set to null (and update it to
  8810. clear the help texts when it is set to null). Set root item to null
  8811. when there's no SelectedObject. Fixes #80438.
  8812. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  8813. when we're recalculating after a resize (only).
  8814. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  8815. * ListView.cs: Implement 2.0 RedrawItems method.
  8816. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  8817. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  8818. handlers from previous data manager when DataSource is set to
  8819. null. Fixes #81771.
  8820. 2007-05-31 Jackson Harper <[email protected]>
  8821. * TextBoxBase.cs: These seem to be the correct values.
  8822. 2007-05-31 Everaldo Canuto <[email protected]>
  8823. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  8824. value. Fixes #81784.
  8825. 2007-05-31 Jonathan Pobst <[email protected]>
  8826. * Control.cs: Implement 2.0 scaling methods.
  8827. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8828. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  8829. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  8830. corcompare issues.
  8831. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8832. * ProgressBar.cs: Implemented missing 2.0 members.
  8833. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8834. * Control.cs: Corcompare issues.
  8835. * MessageBox.cs: Implemented missing 2.0 functions.
  8836. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8837. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  8838. Implemented more 2.0 members.
  8839. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8840. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  8841. null (strange, but it seems to happen when running unit tests).
  8842. 2007-05-30 Andreia Gaita <[email protected]>
  8843. * ContainerControl.cs: Set active_control even earlier, before
  8844. firing any events, and undo it if validation returns false.
  8845. 2007-05-30 Andreia Gaita <[email protected]>
  8846. * ContainerControl.cs: Raise Validation and Enter/Leave events
  8847. even if there is no Form and set active_control earlier, just
  8848. before firing Enter events (toshok's patches). Fixes #80647.
  8849. 2007-05-30 Jackson Harper <[email protected]>
  8850. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  8851. things and fix bug #81311.
  8852. 2007-05-30 Jackson Harper <[email protected]>
  8853. * X11Dnd.cs: Now that we have our own event loop, we need to
  8854. cancel when we get a mouseup but it won't be accepted.
  8855. 2007-05-30 Chris Toshok <[email protected]>
  8856. * DataGrid.cs (set_CurrentCell): guard against negative
  8857. column/row.
  8858. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  8859. array index syntax instead of looping over the property names.
  8860. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  8861. and set IsInEditOrNavigateMode to false there.
  8862. 2007-05-30 Jackson Harper <[email protected]>
  8863. * TreeView.cs: Make sure we don't get a bad visible order when
  8864. setting to the top node. Fixes some misc crashing in
  8865. ControlInspector.
  8866. 2007-05-30 Andreia Gaita <[email protected]>
  8867. * UserControl.cs: Add 2.0 AutoSizeMode
  8868. 2007-05-29 Everaldo Canuto <[email protected]>
  8869. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  8870. 2007-05-29 Everaldo Canuto <[email protected]>
  8871. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  8872. lines. Fixes #80285.
  8873. 2007-05-29 Everaldo Canuto <[email protected]>
  8874. * DataGridColumnStyle.cs: Add char trimming column header text format.
  8875. 2007-05-29 Everaldo Canuto <[email protected]>
  8876. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  8877. Fixes #80147.
  8878. 2007-05-29 Jackson Harper <[email protected]>
  8879. * TreeNode.cs: Fix off by one on calculating whether or not a node
  8880. is visible.
  8881. 2007-05-29 Jonathan Pobst <[email protected]>
  8882. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  8883. * ScrollableControl.cs: Force an UpdateDistances when we move the
  8884. scrollbars.
  8885. [Fixes bug #80605]
  8886. 2007-05-29 Andreia Gaita <[email protected]>
  8887. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  8888. update the page setup screen.
  8889. 2007-05-29 Andreia Gaita <[email protected]>
  8890. * PageSetupDialog.cs: Fix landscape mode.
  8891. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8892. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  8893. IconSizeHorizontalSpacing.
  8894. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8895. * ListView.cs: The declaration of prev_tooltip_item should be inside
  8896. a NET_2_0 conditional (avoid a warning).
  8897. 2007-05-28 Andreia Gaita <[email protected]>
  8898. * PageSetupDialog.cs: Implement PrintPreview control to display
  8899. the preview thumbnail. Change unit conversion to use
  8900. PrinterUnitConvert methods.
  8901. Note: there is a huge bug in ms.net where the default margins are
  8902. interpreted as centimeters (?), when in fact they are set in inches. When
  8903. loading the page setup dialog initially (ms.net), the default margins
  8904. are set to 1 inch, and the dialog shows them with value 10, when in fact
  8905. it should be 25 (properly converted). Our dialog doesn't have this bug.
  8906. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  8907. RectangleF.
  8908. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  8909. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8910. * ListView.cs:
  8911. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  8912. items.
  8913. 2007-05-28 Andreia Gaita <[email protected]>
  8914. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  8915. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  8916. bug?), convert the ptr to Int32 first.
  8917. 2007-05-28 Jackson Harper <[email protected]>
  8918. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  8919. recieved, we will exit the dnd tracking loop.
  8920. 2007-05-28 Jackson Harper <[email protected]>
  8921. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  8922. recieved. TODO: I should probably stick a timer on the dropped
  8923. event, and finish the drag if the XDND Finished event never shows
  8924. (because some apps don't seem to send it).
  8925. 2007-05-28 Everaldo Canuto <[email protected]>
  8926. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  8927. #81733.
  8928. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8929. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  8930. handled.
  8931. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8932. * MonthCalendar.cs: Set the size after initializing all the relevant
  8933. variables. Fixes #81742.
  8934. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8935. * KeyEventArgs.cs: Fix typo.
  8936. 2007-05-28 Gert Driesen <[email protected]>
  8937. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  8938. to match MS. Fixed MinDate to only accept value less than or equal
  8939. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  8940. Removed TODO's that are now verified by unit tests.
  8941. 2007-05-27 Gert Driesen <[email protected]>
  8942. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  8943. MS.
  8944. 2007-05-25 Jackson Harper <[email protected]>
  8945. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  8946. it's own message loop.
  8947. * XplatUIX11.cs: Remove some of the dnd hooks
  8948. 2007-05-25 Gert Driesen <[email protected]>
  8949. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  8950. instead of MinimizedWindowSize.
  8951. 2007-05-25 Jackson Harper <[email protected]>
  8952. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  8953. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  8954. * KeyEventArgs.cs: Added SuppressKeyPress.
  8955. * Control.cs: Added support for SuppressKeyPress.
  8956. 2007-05-24 Andreia Gaita <[email protected]>
  8957. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  8958. problems with PieChart. suppress_validation should not be a counter,
  8959. if there are several BeginInit calls, the first EndInit will
  8960. activate validation. Fix exceptions thrown by set_Value.
  8961. * UpDownBase.cs: ValidateText only if it's the user editing it.
  8962. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  8963. * ListControl.cs: FilterItemOnProperty should return the filtered
  8964. item proeprty even if DataSource is null. The same applies for
  8965. GetItemText. Fixes #80427.
  8966. 2007-05-24 Jonathan Pobst <[email protected]>
  8967. * Control.cs: If a control doesn't have a parent when it's Dock is
  8968. set, but it has children, it needs to do a layout. Fixes some nested
  8969. controls issues. [Fixes bug #81199]
  8970. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  8971. * ComboBox.cs: If there are few items in the drop down list, make it
  8972. the exact size the items need, no bigger. Fixes #81612.
  8973. 2007-05-24 Jonathan Pobst <[email protected]>
  8974. * Application.cs: When we have captured the keyboard for a menu,
  8975. check for mouse down events in case we need to close the menu.
  8976. * Control.cs, Form.cs: Remove mouse down checks for menus.
  8977. 2007-05-24 Jackson Harper <[email protected]>
  8978. * TextControl.cs: Handle tabs in non multiline mode a little
  8979. differently.
  8980. 2007-05-24 Jackson Harper <[email protected]>
  8981. * TextControl.cs: We need to manually break apart tabbed text and
  8982. move the tabs, since the system.drawing tabbing mechanism relies
  8983. on tab stops.
  8984. * TextBoxBase.cs: Move the caret properly when the user enters a
  8985. tab.
  8986. 2007-05-24 Jonathan Pobst <[email protected]>
  8987. * ContainerControl.cs: Don't check CanSelect before calling
  8988. ProcessMnemonic.
  8989. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  8990. release a KeyboardActive on click if it's not ours.
  8991. 2007-05-23 Andreia Gaita <[email protected]>
  8992. * ColumnHeader.cs: Add TypeConverter
  8993. 2007-05-23 Everaldo Canuto <[email protected]>
  8994. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  8995. 2007-05-23 Everaldo Canuto <[email protected]>
  8996. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  8997. 2007-05-23 Everaldo Canuto <[email protected]>
  8998. * LinkLabel.cs: Implement public Padding property.
  8999. 2007-05-23 Everaldo Canuto <[email protected]>
  9000. * LinkLabel.cs: Implement public FlatStyle.
  9001. 2007-05-23 Jonathan Pobst <[email protected]>
  9002. * Control.cs: Apply patch from George to call parent.PerformLayout
  9003. when Visible is changed. [Fixes bugs #81118, 81718]
  9004. 2007-05-23 Everaldo Canuto <[email protected]>
  9005. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  9006. 2007-05-23 Everaldo Canuto <[email protected]>
  9007. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  9008. 2007-05-23 Everaldo Canuto <[email protected]>
  9009. * ContextMenu.cs: Implement Collapse.
  9010. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  9011. * ToolBarButton.cs: Implement Name.
  9012. 2007-05-22 Everaldo Canuto <[email protected]>
  9013. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  9014. use current_item, it prevents some NRE. Fixes #81675.
  9015. 2007-05-22 Andreia Gaita <[email protected]>
  9016. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  9017. without updating the text.
  9018. 2007-05-22 Jonathan Pobst <[email protected]>
  9019. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  9020. without calling DeleteObject. [Should fix bug #81709]
  9021. 2007-05-22 Jackson Harper <[email protected]>
  9022. * RichTextBox.cs: Set the line endings correctly, when flushing
  9023. RTF text.
  9024. 2007-05-22 Gert Driesen <[email protected]>
  9025. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  9026. {Width=0,Height=0}.
  9027. 2007-05-22 Jackson Harper <[email protected]>
  9028. * TreeView.cs: Setting top with a null node should set to the very
  9029. top.
  9030. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9031. * Form.cs: ShowDialog: destroy the handle when message loop is
  9032. finished, matches MS behaviour. Refactor parts of WmClose into
  9033. RaiseCloseEvents, that only raises events if they haven't already
  9034. been raised. Fixes #81688 and #81521.
  9035. * Application.cs: Don't call close on the form when exiting a modal
  9036. loop, it will raise all the (Form)Closed/Closing events again if
  9037. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  9038. which doesn'r raise any events it they have been raised before.
  9039. 2007-05-22 Jonathan Pobst <[email protected]>
  9040. * Control.cs: Add OnPrint.
  9041. * ToolStrip.cs: Add GetChildAtPoint.
  9042. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  9043. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  9044. 2007-05-22 Everaldo Canuto <[email protected]>
  9045. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  9046. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9047. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  9048. isn't visible anymore. Fixes #81651.
  9049. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9050. * Control.cs: WmShowWindow: Update children's z-order after setting
  9051. their parent. SetParent may show the window, thereby corrupting
  9052. z-order, since the window will be shown on top.
  9053. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  9054. multiple (and redundant) WM_SHOWWINDOW messages.
  9055. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  9056. event has already been raised.
  9057. * Form.cs: Change is_changing_visible_state to a counter, since
  9058. SetVisibleCore can be called recursively. CreateHandle: when
  9059. creating mdi children, send (De)Activated events.
  9060. * MdiClient.cs: Update use of is_changing_visible_state.
  9061. * Application.cs: OnThreadException: Surround exception handling with
  9062. try/finally to ensure we always reset the error-handling state
  9063. before leaving.
  9064. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9065. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  9066. (#81704).
  9067. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  9068. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  9069. SmallIcon views, now that we have a standarized horizontal spacing.
  9070. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  9071. 4, just like the other views (Match .Net).
  9072. 2007-05-21 Jonathan Pobst <[email protected]>
  9073. * Control.cs: Delay calculating anchor distances until we actually layout.
  9074. Always query the WM for the actual size and location it put us at instead of
  9075. only when we send negative values.
  9076. [Fixes bugs #81694, 81695]
  9077. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  9078. * Application.cs: Avoid a possible stack overflow when trying to exit
  9079. the application.
  9080. 2007-05-19 Marek Safar <[email protected]>
  9081. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  9082. enum value.
  9083. 2007-05-19 Andreia Gaita <[email protected]>
  9084. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  9085. * NumericUpDownAcceleration.cs,
  9086. NumericUpDownAccelerationCollection.cs: Added 2.0
  9087. implementation.
  9088. 2007-05-19 Gert Driesen <[email protected]>
  9089. * RichTextBox.cs: Recalculate the document after the ScrollBars
  9090. property is changed. Fixes bug #81681.
  9091. 2007-05-18 Jonathan Pobst <[email protected]>
  9092. * DataObject.cs: Implement 2.0 methods.
  9093. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  9094. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  9095. in the center of the checkbox, not in the left-top corner.
  9096. Fixes #80037.
  9097. 2007-05-18 Jackson Harper <[email protected]>
  9098. * RichTextBox.cs: Recalculate the document after the scrollbars
  9099. property is changed.
  9100. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  9101. 81486.
  9102. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  9103. * CreateParams.cs: Make HasWindowManager marginally faster.
  9104. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  9105. into Hwnd so that other drivers can use it as well.
  9106. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  9107. the default location from Hwnd. Fixes MDI client windows always
  9108. showing up at (0,0) in Windows (Win32 won't set the default
  9109. location since the window styles aren't correct).
  9110. 2007-05-18 Gert Driesen <[email protected]>
  9111. * TreeView.cs: Modified DoubleBuffered to just use the base
  9112. implementation.
  9113. 2007-05-18 Jackson Harper <[email protected]>
  9114. * TreeView.cs: Set the top node to the last child node when
  9115. expanding all
  9116. - When we get focus, if there is no selected node, use the top
  9117. node.
  9118. 2007-05-18 Jonathan Pobst <[email protected]>
  9119. * KeysConverter.cs: Add CanConvertTo.
  9120. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  9121. * LinkConverter.cs: Added.
  9122. 2007-05-18 Everaldo Canuto <[email protected]>
  9123. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  9124. it prevents error when file dont have write access. Fixes #81669 and #81667.
  9125. 2007-05-18 Everaldo Canuto <[email protected]>
  9126. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  9127. button text. Fixes #79640.
  9128. 2007-05-18 Everaldo Canuto <[email protected]>
  9129. * Control.cs: According to MSDN controls created in the designer theres
  9130. keyboard accelerators visible by default. So included check for design
  9131. in ShowKeyboardCuesInternal.
  9132. 2007-05-18 Everaldo Canuto <[email protected]>
  9133. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  9134. text. Fixes #81621.
  9135. 2007-05-18 Everaldo Canuto <[email protected]>
  9136. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  9137. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  9138. 2007-05-17 Everaldo Canuto <[email protected]>
  9139. * Control.cs: Finish implementation of UI State using WmChangeUIState
  9140. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  9141. in some controls to check for show_keyboard_cues to draw accell keys "_".
  9142. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9143. * ListBox.cs: When calculating the horizontal scrollbar
  9144. in single column mode, don't use values less than 0 for
  9145. Maximum. Fixes #81474.
  9146. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9147. * ListBox.cs: Throw the some missing exceptions in
  9148. ListBox.ObjectCollection methods.
  9149. 2007-05-17 Jackson Harper <[email protected]>
  9150. * TextBoxBase.cs: Recalculate the document when the word wrap
  9151. value has changed. This fixes 81488.
  9152. 2007-05-17 Jonathan Pobst <[email protected]>
  9153. * Clipboard.cs: Implement missing GetText overload.
  9154. 2007-05-17 Chris Toshok <[email protected]>
  9155. * Control.cs (CheckDataBindings): remove the binding_context arg
  9156. to binding.Check.
  9157. * CurrencyManager.cs (OnItemChanged): fix this now that
  9158. BindingManagerBase is fixed. also remove the comment telling where
  9159. the fix should go. We set transfering_data to true/false around
  9160. the call to PushData to keep UpdateIsBinding from being called.
  9161. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  9162. PropertyDescriptorAdded in the 1.1 case. The extra call is
  9163. actually generated by System.Data generating 2 metadata changed
  9164. events of its own per column add. The fix should go there. Add a
  9165. comment to that affect in our test's Assert.Ignore.
  9166. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  9167. we keep a boolean flag (transfering_data) that keeps us from
  9168. calling UpdateIsBinding multiple times if we re-enter either of
  9169. them.
  9170. * ControlBindingsCollection.cs (AddCore): remove the
  9171. binding_context arg to binding.Check.
  9172. * Binding.cs (IsBinding): don't check if we're binding here, just
  9173. return our cached value. we update it in UpdateIsBinding.
  9174. (Check): don't take the binding_context arg, we'll just use our
  9175. control's. Also, for some reason MS doesn't use the data member
  9176. field when getting the bindingmanager for this binding. it just
  9177. uses the datasource. Make this method callable multiple times,
  9178. and only do the is_null_desc stuff if manager.Position != -1 (so
  9179. we don't get an exception accessing manager.Current).
  9180. (UpdateIsBinding): move the code from IsBinding here.
  9181. (PositionChangedHandler): call Check here to we can initialize
  9182. things that require a non- -1 position.
  9183. 2007-05-17 Everaldo Canuto <[email protected]>
  9184. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  9185. control.
  9186. 2007-05-17 Andreia Gaita <[email protected]>
  9187. * TabControl.cs: Add 2.0 methods and events, including
  9188. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  9189. * TabPage.cs: Add 2.0 methods
  9190. 2007-05-17 Everaldo Canuto <[email protected]>
  9191. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  9192. keyboard_cues is properly handled by message method.
  9193. 2007-05-17 Jonathan Pobst <[email protected]>
  9194. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  9195. 2007-05-17 Jonathan Pobst <[email protected]>
  9196. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  9197. 2007-05-16 Everaldo Canuto <[email protected]>
  9198. * Control.cs:
  9199. - WmUpdateUIState added to handle state changes, it make call to
  9200. OnChangeUICues event.
  9201. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  9202. SystemInformation.
  9203. 2007-05-16 Jonathan Pobst <[email protected]>
  9204. * ImageKeyConverter.cs: Added.
  9205. * TreeViewImageKeyConverter.cs: Added.
  9206. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  9207. * ToolTips.cs: Update Text if SetToolTip is called for a control
  9208. already showing the tooltip, as well as restarting its timer; show
  9209. tooltip if we are inside the control bounds by the time of calling
  9210. SetToolTip. Inside ShowTooltip remove the check to not show the
  9211. tooltip again for the active control (it is allowed by .Net to
  9212. show the tooltip on the same control multiple times).
  9213. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9214. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9215. 2007-05-16 Andreia Gaita <[email protected]>
  9216. * ContainerControl.cs: only process tab key if there are no
  9217. modifier keys present, otherwise the control does the
  9218. tab processing, if it needs to. Fixes #81622
  9219. * TabControl.cs: Fixes calculation for which tab to select on
  9220. shift+ctrl+tab.
  9221. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9222. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9223. 2007-05-15 Jonathan Pobst <[email protected]>
  9224. * Control.cs: Make IsInputCharInternal to allow controls to
  9225. override it and still match MS API.
  9226. * TextBoxBase.cs: Override IsInputCharInternal and always
  9227. return true.
  9228. [Fixes bug #81616]
  9229. 2007-05-15 Jackson Harper <[email protected]>
  9230. * TextBox.cs: Disable some of the menu options when using a
  9231. readonly textbox.
  9232. 2007-05-15 Jackson Harper <[email protected]>
  9233. * TextBox.cs:
  9234. * TextBoxBase.cs:
  9235. * RichTextBox.cs: Some new 2.0 methods
  9236. 2007-05-15 Gert Driesen <[email protected]>
  9237. * FileDialog.cs: On 1.0 profile, do not support multidotted
  9238. extensions.
  9239. 2007-05-14 Jackson Harper <[email protected]>
  9240. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  9241. * RichTextBox.cs: We need to override these methods on 2.0.
  9242. * MaskedTextBox.cs: These are implemented now
  9243. * TextControl.cs: This was off by one.
  9244. 2007-05-14 Jackson Harper <[email protected]>
  9245. * TextControl.cs: Because the line endings are including in the
  9246. text, we don't need to add them in anymore.
  9247. 2007-05-11 Everaldo Canuto <[email protected]>
  9248. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  9249. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  9250. 2007-05-11 Everaldo Canuto <[email protected]>
  9251. * ToolBar.cs: Adjust size to default size when button theres no text and
  9252. image, it fixes remaining issues from #81524.
  9253. 2007-05-11 Everaldo Canuto <[email protected]>
  9254. * ToolBar.cs:
  9255. - When not flat call redraw to recalculate sizes on creare handle to match
  9256. win32 behavior.
  9257. - Revert 77220 because it causes some regressions in toobar
  9258. button.
  9259. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  9260. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  9261. now actually enters a usable state.
  9262. 2007-05-11 Everaldo Canuto <[email protected]>
  9263. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  9264. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  9265. 3 buttons.
  9266. 2007-05-11 Everaldo Canuto <[email protected]>
  9267. * ToolBar.cs: Save default_size on create handle to use later for buttons
  9268. without text, needed to mimic win32 behavior.
  9269. 2007-05-11 Everaldo Canuto <[email protected]>
  9270. * ToolBar.cs: Fix button layour to best fit width or height according to
  9271. vertical or not. Fixes #81524.
  9272. 2007-05-10 Everaldo Canuto <[email protected]>
  9273. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  9274. toolbar size info because different styles theres different sizes.
  9275. Fixes #81522.
  9276. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9277. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  9278. if we are using checkboxes, checked is true, and we have less
  9279. than two images in StateImageList; for the 1.1 in the same scenario
  9280. draw the first image if we have at least one image in StateImageList.
  9281. Fixes part of #81191.
  9282. 2007-05-10 Jonathan Pobst <[email protected]>
  9283. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  9284. the owner's Items collection on merge.
  9285. 2007-05-10 Jonathan Pobst <[email protected]>
  9286. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  9287. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  9288. and parent/owner gets changed based on gert's unit tests.
  9289. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  9290. * MaskedTextBox.cs: Started implementing parts of it.
  9291. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9292. * ListView.cs: When clicking the checkbox on the items
  9293. take into account the double clicks even if we have only
  9294. one image in StateImageList (only for 1.0/1.1). Also
  9295. generate an extra change of checked state when we receive
  9296. the second click on checkbox (match .Net behaviour).
  9297. Fixes part of #81191.
  9298. 2007-05-10 Everaldo Canuto <[email protected]>
  9299. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  9300. 2007-05-10 Jonathan Pobst <[email protected]>
  9301. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  9302. even if OnLoad is overriden and base.OnLoad is not called.
  9303. [Fixes bug #81582]
  9304. 2007-05-10 Andreia Gaita <[email protected]>
  9305. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  9306. shame. (I blame my ever-persisting and annoying cold)
  9307. 2007-05-09 Jonathan Pobst <[email protected]>
  9308. * ListView.cs: Don't eat navigation keys. Let them flow through to
  9309. KeyDown/KeyPress routines. [Fixes bug #81569]
  9310. 2007-05-09 Jonathan Pobst <[email protected]>
  9311. * ListView.cs: When handling keys for selecting the item based off
  9312. keyboard input, do not consider keys pressed with Alt or Control. Also,
  9313. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  9314. 2007-05-09 Jonathan Pobst <[email protected]>
  9315. * Control.cs: When using UseWaitCursor, we have to store the requested
  9316. Cursor to use when UseWaitCursor is turned off.
  9317. 2007-05-09 Jonathan Pobst <[email protected]>
  9318. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  9319. to false.
  9320. * Application.cs: Use PreProcessControlMessage instead of
  9321. PreProcessMessage.
  9322. * PreProcessControlMessage.cs: Make internal for 1.1.
  9323. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  9324. * Control.cs: Add InternalContains focus property, which hast the same
  9325. functionality of ContainsFocus, but also including implicit controls.
  9326. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  9327. since we need to know if the focus is contained in our implicit
  9328. ItemControl when calculating Layout. Fixes part of #80888.
  9329. 2007-05-08 Everaldo Canuto <[email protected]>
  9330. * ToolTip.cs: Remove center form string alignment as it must be align to
  9331. left.
  9332. 2007-05-08 Jonathan Pobst <[email protected]>
  9333. * ToolStripItemCollection.cs: Set the new item's parent and owner
  9334. in Insert like we do in Add. [Fixes bug #81568]
  9335. 2007-05-08 Jackson Harper <[email protected]>
  9336. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  9337. - Off by one error in SetTop
  9338. - Disable DoubeBuffering
  9339. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  9340. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  9341. control as much as necessary in order to make it entirely visible,
  9342. instead of centering the control in the container (matches MS
  9343. behaviour). CalculateCanvasSize: we need to take the current scroll
  9344. position into account when calculating the maximum canvas,
  9345. otherwise the following scenario will fail: resize so that the
  9346. scrollbars appear, use the scrollbars to scroll, resize again
  9347. smaller, and now the canvas size is too small. Recalculate: when
  9348. showing scrollbars make sure they start off at 0, and try to scroll
  9349. the active control into view. Fixes #79540. HandleScrollBar: don't
  9350. scroll anywhere if the scrollbar isn't visible.
  9351. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  9352. * ListView.cs: When focus changed, call Layout/Invalidate
  9353. in the focused item to update the selected state (should show
  9354. entire label when ListView is focused, and a part of it if is not).
  9355. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  9356. for displaying the entire label not only the Focused state of the
  9357. item, but also the Focused state of the ListView (match .Net
  9358. behaviour).
  9359. 2007-05-07 Jonathan Pobst <[email protected]>
  9360. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  9361. Implement UseWaitCursor.
  9362. 2007-05-07 Jonathan Pobst <[email protected]>
  9363. Applying contributed patch from Sergey Volk.
  9364. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  9365. of SetDataObject.
  9366. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  9367. 2007-05-07 Jonathan Pobst <[email protected]>
  9368. * Control.cs: Implement DrawToBitmap.
  9369. 2007-05-07 Jonathan Pobst <[email protected]>
  9370. Applying contributed patch from Stefan Noack.
  9371. * Control.cs: Add [Get|Set]AutoSizeMode.
  9372. 2007-05-07 Jonathan Pobst <[email protected]>
  9373. * MdiClient.cs: Unmerge menus when the last child is closed.
  9374. 2007-05-07 Jonathan Pobst <[email protected]>
  9375. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  9376. * ToolStripManager.cs: Call Merge on DropDowns.
  9377. [Fixes bug #81477]
  9378. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  9379. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  9380. uints.
  9381. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  9382. visibility. We can't create forms visible, since we have to set the
  9383. owner before making the form visible (otherwise Win32 will do
  9384. strange things with task bar icons). The problem is that we set the
  9385. internal is_visible to true before creating the control, so
  9386. is_changing_visible_state is the only way of determining if we're
  9387. in the process of creating the form due to setting Visible=true -
  9388. this works because SetVisibleCore explicitly makes the form
  9389. visibile afterwards anyways. Fixes #80775.
  9390. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  9391. * ThemeWin32Classic.cs: When drawing ListViewItems,
  9392. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  9393. or LargeIcon _and_ item is not focused (match .Net behaviour).
  9394. 2007-05-04 Jonathan Pobst <[email protected]>
  9395. * Control.cs, Form.cs: Fix some obsolete method warnings.
  9396. 2007-05-04 Jonathan Pobst <[email protected]>
  9397. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  9398. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  9399. 2007-05-04 Andreia Gaita <[email protected]>
  9400. * ContainerControl.cs: Fix active_control attribution when going
  9401. up the parent chain so that the first parent container gets the control
  9402. and the rest of the parent containers get the child containers (skips
  9403. non-containers). Fixes #80729
  9404. 2007-05-04 Randolph Chung <[email protected]>
  9405. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  9406. [Fixes bug #81499]
  9407. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9408. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  9409. takes a size parameter, since the CreateParam's size isn't true for
  9410. minimized forms. Fixes #81518,
  9411. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9412. * Form.cs: Add OnDeactivateInternal.
  9413. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  9414. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9415. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  9416. accessing the parent. Fixes #81508.
  9417. 2007-05-03 Chris Toshok <[email protected]>
  9418. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  9419. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  9420. was added before the current listposition. Fixes the
  9421. TestInsertRowBeforeCurrent unit test.
  9422. 2007-05-03 Jonathan Pobst <[email protected]>
  9423. * Application.cs: Add RaiseIdle.
  9424. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9425. XplatUIX11.cs: Implement RaiseIdle.
  9426. 2007-05-02 Jonathan Pobst <[email protected]>
  9427. corcompare work: N - Z
  9428. * NotifyIcon.cs
  9429. * ProgressBar.cs
  9430. * RadionButton.cs
  9431. * ScrollableControl.cs
  9432. * SplitContainer.cs
  9433. * SplitterPanel.cs
  9434. * StatusBar.cs
  9435. * SystemInformation.cs
  9436. * TabControl.cs
  9437. * TableLayoutControlCollection.cs
  9438. * TableLayoutPanel.cs
  9439. * TabPage.cs
  9440. * ToolBar.cs
  9441. * ToolBarButton.cs
  9442. * ToolStrip.cs
  9443. * ToolStripComboBox.cs
  9444. * ToolStripContainer.cs
  9445. * ToolStripContentPanel.cs
  9446. * ToolStripDropDown.cs
  9447. * ToolStripDropDownItem.cs
  9448. * ToolStripDropDownMenu.cs
  9449. * ToolStripItem.cs
  9450. * ToolStripItemCollection.cs
  9451. * ToolStripMenuItem.cs
  9452. * ToolStripPanel.cs
  9453. * ToolStripSplitButton.cs
  9454. * ToolTip.cs
  9455. * TreeNode.cs
  9456. * TreeNodeCollection.cs
  9457. * TreeNodeMouseHoverEventArgs.cs
  9458. * TreeView.cs
  9459. 2007-05-01 Everaldo Canuto <[email protected]>
  9460. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  9461. stuff. Thanks aatdark for the patch.
  9462. 2007-05-01 Jonathan Pobst <[email protected]>
  9463. * GridItem.cs: Implement 2.0 Tag property.
  9464. 2007-05-01 Frederik Carlier <[email protected]>
  9465. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  9466. count instead of Nodes.Length. [Fixes bug #81448]
  9467. 2007-05-01 Jonathan Pobst <[email protected]>
  9468. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  9469. [Fixes bug #81506]
  9470. 2007-05-01 Jonathan Pobst <[email protected]>
  9471. corcompare work: A - M
  9472. * BindingNavigator.cs
  9473. * Button.cs
  9474. * ButtonBase.cs
  9475. * CheckBox.cs
  9476. * Control.cs
  9477. * FlowLayoutPanel.cs
  9478. * Form.cs
  9479. * Label.cs
  9480. * LinkLabel.cs
  9481. * ListView.cs
  9482. 2007-05-01 Jonathan Pobst <[email protected]>
  9483. * Application.cs: Give toolstrips a chance to process mnemonics.
  9484. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  9485. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  9486. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  9487. 2007-05-01 Jackson Harper <[email protected]>
  9488. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  9489. wider area too.
  9490. - Don't set the BoundsSpecified
  9491. 2007-04-30 Jonathan Pobst <[email protected]>
  9492. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  9493. message to pass through to a regular control if it hosted by a toolstrip.
  9494. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  9495. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  9496. 2007-04-30 Jonathan Pobst <[email protected]>
  9497. * TextRenderer.cs: Use the flags argument when using the MeasureString
  9498. fallback algorithm.
  9499. 2007-04-30 Jonathan Pobst <[email protected]>
  9500. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  9501. the MDI menu item. [Fixes bug #81483]
  9502. 2007-04-30 Gert Driesen <[email protected]>
  9503. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  9504. string. When setting Name to null, use zero-length string instead.
  9505. 2007-04-29 Andreia Gaita <[email protected]>
  9506. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  9507. DeselectTab). Implement missing 2.0 TabPageCollection methods
  9508. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  9509. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  9510. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  9511. 2007-04-29 Gert Driesen <[email protected]>
  9512. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  9513. Fixes bug #81479. Include details of exception when LoadFile fails.
  9514. 2007-04-28 Alan McGovern <[email protected]>
  9515. * DrawListViewSubItemEventArgs.cs: Added missing setter
  9516. 2007-04-27 Andreia Gaita <[email protected]>
  9517. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  9518. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  9519. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  9520. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  9521. removed in ly last commit (it was breaking the Label edit feature).
  9522. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  9523. StringAlignment.Near for LineAlignment (match .Net).
  9524. 2007-04-27 Andreia Gaita <[email protected]>
  9525. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  9526. of controls if it isn't already there - was blowing up when doing
  9527. tabcontrol.TabPages[i]=new TabPage().
  9528. SetTab now does a replace by removing the page at the index.
  9529. Add a new InsertTab method that inserts a page in a given index
  9530. instead of replacing.
  9531. Implements TabPageCollection.Insert(int, TabPage).
  9532. 2007-04-27 Chris Toshok <[email protected]>
  9533. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  9534. internal handler that can be invoked from our subclasses.) Also,
  9535. add a comment to PushData about how we need to fix it.
  9536. * CurrencyManager.cs: tons of changes here. trying to get things
  9537. matching the behavior of .net wrt event orders (ItemChanged,
  9538. CurrentChanged, PositionChanged.) I've implemented a private .net
  9539. symbol (ChangeRecordState) that appears in stack traces because
  9540. it's actually easier to do this than to effective inline all its
  9541. various behaviors at every call site.
  9542. * RelatedPropertyManager.cs: guard against an exception here by
  9543. not using parent.Current if the position is set to -1 (if the
  9544. parent datasource is cleared, for instance).
  9545. * Binding.cs: don't parse data in PushData (this might be wrong,
  9546. but it jives with MS's behavior.) Also, don't call PushData when
  9547. we get a CurrentChanged event.
  9548. 2007-04-27 Andreia Gaita <[email protected]>
  9549. * WebBrowser.cs,
  9550. WebBrowserBase.cs,
  9551. WebBrowserSiteBase.cs,
  9552. HtmlDocument.cs: Added stubbed out classes, no real implementations
  9553. yet.
  9554. 2007-04-27 Everaldo Canuto <[email protected]>
  9555. * MainMenu.cs: In draw method without parameters call draw method with
  9556. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  9557. as Rect property is already adjusted. Fixes #80694.
  9558. 2007-04-27 Jonathan Pobst <[email protected]>
  9559. * Application.cs: Need to handle keyboard menu deselection here.
  9560. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  9561. navigation, allowing keyboard to work on X11.
  9562. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  9563. 2007-04-27 Everaldo Canuto <[email protected]>
  9564. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  9565. menu bar. It fixes some drawing issues in menu bar.
  9566. 2007-04-27 Everaldo Canuto <[email protected]>
  9567. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  9568. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  9569. when <alt> key is pressed.
  9570. 2007-04-26 Everaldo Canuto <[email protected]>
  9571. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  9572. example just set visible to false and make this prevent from other problems.
  9573. In SystrayAdd always remove pending expose. Fixes #81072.
  9574. 2007-04-26 Marek Safar <[email protected]>
  9575. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  9576. value is set.
  9577. 2007-04-26 Alan McGovern <[email protected]>
  9578. * ListView.cs: Added three missing 2.0 events and corresponding
  9579. EventHandlers. Added the OwnerDraw property.
  9580. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  9581. 2007-04-26 Alan McGovern <[email protected]>
  9582. * DrawListViewItemEventArgs.cs
  9583. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  9584. 2007-04-26 Alan McGovern <[email protected]>
  9585. * TextControl.cs: Fixed typo in constructor
  9586. 2007-04-26 Jonathan Pobst <[email protected]>
  9587. * Application.cs: Create a shortcut path so that currently selected
  9588. MenuStrips can intercept keyboard events without having focus.
  9589. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  9590. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  9591. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  9592. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  9593. generate WM_SYSCOMMAND message in X11 for other platforms.
  9594. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  9595. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  9596. * ToolStripSplitButton.cs: Add DefaultItem property.
  9597. 2007-04-26 Everaldo Canuto <[email protected]>
  9598. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  9599. fixes some menu draw problem on Windows with border diferent from default
  9600. it also fixes #81403.
  9601. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  9602. * Form.cs: Refactor WndProc into separate methods, just like Control is
  9603. doing it.
  9604. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  9605. * Control.cs: set_Text: move the call to the driver into a seperate
  9606. virtual method so that Form can override it.
  9607. * MaskedTextBox.cs: Corcompare fixes.
  9608. * Form.cs: Override UpdateWindowText and only update the styles if the
  9609. form has been shown (fixes #81405).
  9610. 2007-04-25 Jonathan Pobst <[email protected]>
  9611. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  9612. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  9613. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  9614. the form lost focus or another control was clicked.
  9615. 2007-04-25 Gert Driesen <[email protected]>
  9616. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  9617. fixed.
  9618. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  9619. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  9620. DrawListViewItemEventHandler.cs,
  9621. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  9622. Added.
  9623. * X11Structs.cs: More ToString implementation.
  9624. 2007-04-25 Jonathan Pobst <[email protected]>
  9625. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  9626. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  9627. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  9628. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  9629. handle.
  9630. * FormCollection.cs: Don't add a form if it's already in the
  9631. collection.
  9632. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  9633. according to behaviour and MSDN. The ownerWin32 is the active
  9634. window at the moment when we call ShowDialog, not the context's
  9635. main form (the context's main form may open another form that opens
  9636. a form with ShowDialog, the win32 owner is the second form). Add
  9637. and remove forms to the Application.OpenForms in other places to
  9638. better match MS behaviour. Add an IsActive property that raises
  9639. On(de)Activated only if the active state has changed (we were
  9640. raising OnDeactivated before OnActivated while creating forms).
  9641. * Application.cs: Refactor Enabling/Disabling of windows for modal
  9642. dialog loops out to separate methods, and restore the thread
  9643. context when we quit the method. Fixes #81407.
  9644. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  9645. * ListView.cs: In ItemControl.HandleClicks, also fire
  9646. 2.0 MouseClick or MouseDoubleClick events on the parent,
  9647. not only the Click/DoubleClick events.
  9648. 2007-04-24 Andreia Gaita <[email protected]>
  9649. * TableLayoutSettings.cs:
  9650. - Added a GetControls method and a support structure to help the
  9651. TypeConverter to enumerate the controls for serialization.
  9652. - Added a new serialization constructor.
  9653. - Added a isSerialized flag initialized to true on the
  9654. serialization constructor so that the TableLayoutPanel.LayoutSettings
  9655. setter does not throw the designed NotSupportedOperation exception
  9656. when the object is built through deserialization.
  9657. - Implemented GetObjectData
  9658. * TableLayoutPanel.cs: Added check on LayoutSettings.
  9659. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  9660. * ListView.cs: Report Click and DoubleClick events to the parent
  9661. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  9662. from breaking the click count state when using dialog forms (Control
  9663. reports the clicks in a similar fashion). In the previous behaviour
  9664. the last WM_LBUTTONUP message in a double click was sent to the
  9665. ListView's form, instead of the ListView, which was breaking the click
  9666. count for it. Fixes #80387.
  9667. 2007-04-24 Alan McGovern <[email protected]>
  9668. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  9669. 2007-04-24 Jonathan Pobst <[email protected]>
  9670. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  9671. us from created dropdowns for menu items that do not have subitems.
  9672. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  9673. Check HasDropDownItems before calling DropDown so a dropdown will not be
  9674. created if it isn't needed.
  9675. 2007-04-24 Jackson Harper <[email protected]>
  9676. * TreeView.cs: Set the first node to the selected node when we get
  9677. focus if there is no selected node.
  9678. 2007-04-24 Andreia Gaita <[email protected]>
  9679. * MimeIcon.cs: remove using blocks so that image streams are
  9680. not disposed of. Fixes #80151
  9681. 2007-04-24 Jackson Harper <[email protected]>
  9682. * TextBoxBase.cs: Fixup the height of textboxes when the control
  9683. is created.
  9684. 2007-04-24 Jonathan Pobst <[email protected]>
  9685. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  9686. for each ToolStripItem when the parent's RightToLeftChanged is called.
  9687. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9688. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  9689. Fixes #80163.
  9690. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  9691. property, so that the setter can be overriden too.
  9692. * TextBox.cs: Change GetContextMenuInternal() to use
  9693. ContextMenuInternal.
  9694. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9695. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  9696. #81406.
  9697. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9698. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  9699. #81406.
  9700. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9701. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  9702. avoid duplicate work. Mostily skeleton code, it's not working at
  9703. all yet.
  9704. 2007-04-20 Leszek Ciesielski <[email protected]>
  9705. * NotifyIcon.cs : stub for MouseClick event
  9706. * Application.cs: stub for SetUnhandledExceptionMode
  9707. 2007-04-24 Alan McGovern <[email protected]>
  9708. * BindingNavigator.cs : Initial (partial) implementation
  9709. 2007-04-23 Jackson Harper <[email protected]>
  9710. * TreeView.cs: Do not create the treeview's handle when setting
  9711. the scroll position.
  9712. - ExpandAll needs to compute the scrollbars so it knows which
  9713. position to set the bar too.
  9714. * TreeNode.cs:
  9715. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  9716. 2007-04-23 Jackson Harper <[email protected]>
  9717. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  9718. key. Fixes #81408.
  9719. 2007-04-23 Jonathan Pobst <[email protected]>
  9720. * ToolStripItem.cs: Make GetImageSize internal.
  9721. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  9722. need to draw an item. Fixes a reported issue where images on menus
  9723. that were not 16x16 were drawing incorrectly.
  9724. 2007-04-21 Miguel de Icaza <[email protected]>
  9725. * Padding.cs: Use the converter, fixes the resgen2 issue with
  9726. XMLNotePad.
  9727. 2007-04-21 Jackson Harper <[email protected]>
  9728. * TreeView.cs: Dont try to unhighlight the selected node if there
  9729. isn't a selected node.
  9730. 2007-04-21 Jackson Harper <[email protected]>
  9731. * UpDownBase.cs:
  9732. * TextBoxBase.cs:
  9733. * ListView.cs:
  9734. * ListBox.cs:
  9735. * TreeView.cs: Use the InternalBorderStyle property to set the
  9736. initial border style, this forces the client rectangle to be sized
  9737. correctly.
  9738. 2007-04-20 Jackson Harper <[email protected]>
  9739. * TreeView.cs: Simplify scrolling to the last node after expanding
  9740. all.
  9741. - Fix some off by ones with setting the bottom.
  9742. 2007-04-20 Jonathan Pobst <[email protected]>
  9743. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  9744. that. We were incorrectly doing it the other way around. Also,
  9745. update ClientSize if we change the BorderStyle before the control
  9746. is created.
  9747. 2007-04-20 Gert Driesen <[email protected]>
  9748. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  9749. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  9750. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  9751. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  9752. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  9753. Caption to CaptionHeight.
  9754. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  9755. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  9756. and FixedFrameBorderSize to return value from current XplatUI driver.
  9757. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  9758. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  9759. and FixedFrameBorderSize using win32 API. Renamed Caption to
  9760. CaptionHeight.
  9761. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  9762. * SystemInformation.cs: Fixed typo in BorderSize.
  9763. 2007-04-20 Gert Driesen <[email protected]>
  9764. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  9765. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  9766. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  9767. returning false.
  9768. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  9769. value from XplatUI driver.
  9770. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  9771. SystemParametersInfo.
  9772. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  9773. override.
  9774. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  9775. returning false.
  9776. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9777. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  9778. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9779. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  9780. 2007-04-20 Jonathan Pobst <[email protected]>
  9781. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  9782. MenuStrips that contain ToolStripSeparators.
  9783. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9784. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  9785. DefineStdCursorBitmap.
  9786. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  9787. has been created off a standard cursor. This is used to get a
  9788. bitmap of the standard cursor when Draw or DrawStretched is called
  9789. in order to draw the cursor.
  9790. * X11Structs.cs: Added XcursorImage and XcursorImages.
  9791. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  9792. DefineStdCursorBitmap.
  9793. * Cursors.cs: Update all relevant creations of Cursor to use the new
  9794. internal constructor.
  9795. 2007-04-19 Jackson Harper <[email protected]>
  9796. * TextBox.cs: Move the has_been_focused into the base control, so
  9797. some of the text adding methods can manipulate it (probably time
  9798. for a better name for this flag too).
  9799. - Call a new version of selectall that doesn't scroll
  9800. * TextBoxBase.cs: When we append text, if the document is empty,
  9801. don't scroll. If the document has text already, we scroll to the
  9802. end of the appended text.
  9803. - When the text is changed, we reset the has_been_focused, so the
  9804. next time the control gets focused, all the text is selected.
  9805. 2007-04-19 Jackson Harper <[email protected]>
  9806. * TextControl.cs: Move the margins to the document, add a method
  9807. so the margin sizes can be updated.
  9808. * TextBoxBase.cs: When the border style is changed, update the
  9809. border sizes.
  9810. 2007-04-19 Jonathan Pobst <[email protected]>
  9811. * Control.cs: Respect DefaultPadding.
  9812. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  9813. padding into account.
  9814. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  9815. 2007-04-19 Jackson Harper <[email protected]>
  9816. * TextControl.cs: Oops, we need to use the ClientRect not the
  9817. bounds here.
  9818. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  9819. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  9820. account the double clicks when CheckBoxes are used and
  9821. the pointer is inside the checkbox. Fixes part of #81191.
  9822. 2007-04-18 Jackson Harper <[email protected]>
  9823. * TextControl.cs: Pressing the end key shouldn't move the caret
  9824. past the line ending.
  9825. * TextBoxBase.cs: We can still delete if we are in the line
  9826. ending and the combine will just kill the existing line ending.
  9827. 2007-04-18 Jackson Harper <[email protected]>
  9828. * TextControl.cs: We can't move lines, then invalidate their
  9829. bounds, we need to get the old bounds and combine that with the
  9830. new bounds.
  9831. * TextBoxBase.cs: Before combining two lines for a delete, we need
  9832. to invalidate the area of the old line, since that will be moved
  9833. in the combine operation.
  9834. 2007-04-18 Everaldo Canuto <[email protected]>
  9835. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  9836. with transparent background. Fixes #80482.
  9837. 2007-04-18 Jonathan Pobst <[email protected]>
  9838. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  9839. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  9840. [Fixes bug #81391]
  9841. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  9842. * CreateParams.cs: Add a couple of helper methods and do a less string
  9843. concatenation in ToString.
  9844. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  9845. overload that takes a Control parameter, since this method may be
  9846. called before a control is assigned to the hwnd (from
  9847. CreateWindow), and update CreateWindow to use the new overload. In
  9848. GetMenuOrigin subtract the title bar from the y position if the
  9849. form has a window manager (since we're painting it and not X).
  9850. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  9851. CreateParams to calculate the origin (since border sizes may vary).
  9852. In ScreenToMenu only subtract the title height if we actually have
  9853. a title.
  9854. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  9855. mdi children never have menus of themselves.
  9856. * InternalWindowManager.cs: Implement menu handling like form does.
  9857. Added GetMenuOrigin to calculate the menu origin, can't use the
  9858. CreateParams from the form like normally since it's lying.
  9859. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  9860. windows-like) and add Inflate and comparison operators to the
  9861. Borders type. When calculating MenuOrigin and it's a form with a
  9862. window manager, use the window manager to calculate it.
  9863. 2007-04-17 Chris Toshok <[email protected]>
  9864. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  9865. OnBindingContextChanged thing here. It's only generated from
  9866. ContainerControl.OnCreateControl. Fixes a newly written unit test
  9867. - BindingTest.BindingContextChangedTest4.
  9868. 2007-04-17 Jackson Harper <[email protected]>
  9869. * ScrollBar.cs: When setting values, make sure the current
  9870. position stays within the new values range.
  9871. 2007-04-17 Chris Toshok <[email protected]>
  9872. * Control.cs (CreateControl): talk about a bizarre corner case.
  9873. Don't emit OnBindingContextChanged here if we're a parentless
  9874. control (i.e. if we're a form.). Fixes
  9875. BindingTest.BindingContextChangedTest2.
  9876. 2007-04-17 Everaldo Canuto <[email protected]>
  9877. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  9878. from win32. Fixes #81255.
  9879. 2007-04-17 Everaldo Canuto <[email protected]>
  9880. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  9881. already present in CalculateButtonTextAndImageLayout.
  9882. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  9883. * XplatUIX11.cs: When setting min/max size for a window we need to
  9884. translate the coordinates to x coordinates. Create an overload of
  9885. SetWindowMinMax that takes a CreateParams handling this, and change
  9886. SetWMStyles to call this function (can't use Control.FromHandle in
  9887. the SetWindowMinMax to get the control/CreateParams from the handle
  9888. because the handle might not have been assigned to the control
  9889. yet). Fixes #81371.
  9890. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  9891. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  9892. if StateImageList is non-null and it has less than two items (match MS
  9893. behaviour). Also, in HandleNavKeys handle the Space key, calling
  9894. the new ToggleItemsCheckState method, which tries to change the
  9895. checked state of the selected items. Fixes part of #81191.
  9896. 2007-04-16 Jackson Harper <[email protected]>
  9897. * RichTextBox.cs: namespace cleanup.
  9898. 2007-04-16 Everaldo Canuto <[email protected]>
  9899. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  9900. 2007-04-16 Everaldo Canuto <[email protected]>
  9901. [Fixes #79447]
  9902. * Control.cs: Call invalidate in set_Region.
  9903. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  9904. it dont works here.
  9905. 2007-04-16 Jackson Harper <[email protected]>
  9906. * TextBoxBase.cs: When enter is pressed, we need to update all
  9907. lines below the current.
  9908. 2007-04-16 Jonathan Pobst <[email protected]>
  9909. * MdiClient.cs: Implement implicit menu merging for MDI
  9910. children. When a child form is active, if it has a menustrip
  9911. and the parent form has a MainMenuStrip, automatically merge
  9912. the menus.
  9913. 2007-04-15 Andreia Gaita <[email protected]>
  9914. * TabControl.cs: Refactored sizing methods to not repeat
  9915. code all over the place. Tab bounds are now calculated
  9916. as if alignment is top and single line, and only when
  9917. setting the bounds are the positions adjusted according
  9918. to alignment. Replaced hardcoded positions, spacings and
  9919. paddings by getting the values the ThemeEngine.
  9920. Fixes #79619.
  9921. * Theme.cs: Change TabControl properties and methods so
  9922. that all start with TabControl*. Added more properties
  9923. to help remove hardcoded values on tabcontrol.
  9924. Add CPDrawBorder3D declaration so the Theming classes
  9925. can access it.
  9926. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  9927. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  9928. on the Theming namespace, and call the appropriate methods here.
  9929. Change CPDrawBorder3D to public.
  9930. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  9931. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  9932. the control after firing the OnMouseUp event, instead of sending
  9933. the message before the mentioned event. This is so we can match the
  9934. MS behaviour. Fixes part of #80385.
  9935. 2007-04-13 Jonathan Pobst <[email protected]>
  9936. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  9937. RightToLeft property.
  9938. 2007-04-13 Jonathan Pobst <[email protected]>
  9939. * ToolStrip.cs: Add properties and internal methods to support merging.
  9940. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  9941. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  9942. not trigger reparenting or layouts.
  9943. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  9944. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  9945. is hosting the overflow menu.
  9946. 2007-04-13 Jackson Harper <[email protected]>
  9947. * TextControl.cs: Set the line ending correctly for the first
  9948. inserted line.
  9949. 2007-04-13 Sebastien Pouliot <[email protected]>
  9950. * Theme.cs: Update GetMethod to get the new definition for
  9951. KnownColors.Update (and fix theme color updates).
  9952. 2007-04-12 Everaldo Canuto <[email protected]>
  9953. * MessageBox.cs: Fix some test and button position.
  9954. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  9955. * Form.cs: Consider the implicit controls in
  9956. GetRealChildAtPoint. We need it since this method
  9957. is called on Form when handling the some messages in
  9958. WndProc, and need to consider those implicit ones too.
  9959. Fixes #80385.
  9960. 2007-04-12 Jonathan Pobst <[email protected]>
  9961. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  9962. if there are no ShortcutKeys set.
  9963. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  9964. set, use it when painting.
  9965. 2007-04-12 Jackson Harper <[email protected]>
  9966. * TextControl.cs: Fix some off-by-one issues in line duplication
  9967. and insertion in the undo manager. Also, overwrite the first tag
  9968. of a line on insert, if it is just a zero lengthed tag. This
  9969. prevents us from getting an extra stranded tag at the beginning of
  9970. the first line.
  9971. 2007-04-11 Everaldo Canuto <[email protected]>
  9972. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  9973. to calculated proper size including when handle was not created yet.
  9974. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  9975. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  9976. when the mouse is outside of it's parent's client rectangle. Fixes
  9977. #79982 (take 3, part 2).
  9978. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  9979. * X11Structs.cs: Add a few ToString() overrides.
  9980. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  9981. the window location in a window-manager independent way. Reworked
  9982. FrameExtents, it now actually works. Reworked AddConfigureNotify
  9983. and ReparentNotify handling to use GetTopLevelWindowLocation
  9984. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  9985. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  9986. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  9987. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  9988. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  9989. and generally refactored to do as few calculations as possible
  9990. inside the lock.
  9991. 2007-04-09 Sebastien Pouliot <[email protected]>
  9992. * Theme.cs: Change "reflective-contract" between MWF and SD to
  9993. minimize # of calls, avoid Color serialization and avoid updating
  9994. every "known colors" each time a single one is updated.
  9995. 2007-04-09 Gert Driesen <[email protected]>
  9996. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  9997. when not readonly and the text is explicitly set. Code style updates.
  9998. * DataGridTableStyle.cs: Removed extra line.
  9999. * DataGrid.cs: Code style updates. Removed extra whitespace.
  10000. * DataGridColumnStyle.cs: Code style updates. Removed extra
  10001. whitespace.
  10002. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  10003. * XplatUIX11.cs: Added comment that "fixes" #80021.
  10004. 2007-04-09 Jackson Harper <[email protected]>
  10005. * TextControl.cs: We don't need this -1 on the line count anymore.
  10006. 2007-04-09 Gert Driesen <[email protected]>
  10007. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  10008. entered value to underlying type, and convert it back to a string to
  10009. apply formatting. Modified GetFormattedValue to use TypeConverter
  10010. if available.
  10011. 2007-04-08 Gert Driesen <[email protected]>
  10012. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  10013. Use SubItems property when we want to ensure there's at least one
  10014. subitem. Modified SubItems property to ensure there's always at least
  10015. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  10016. the NRE's reported by MS.
  10017. 2007-04-07 Gert Driesen <[email protected]>
  10018. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  10019. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  10020. Spaces to tabs. Removed extra tabs.
  10021. 2007-04-06 Jonathan Pobst <[email protected]>
  10022. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10023. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  10024. 2007-04-06 Jackson Harper <[email protected]>
  10025. * TextBoxBase.cs: When a delete removes a line, recalculate all
  10026. lines below that line (they need to get offsets setup correctly)
  10027. and invalidate.
  10028. 2007-04-05 Jackson Harper <[email protected]>
  10029. * TextControl.cs: We need to invalidate across the width of the
  10030. document when we are invalidating multiple lines.
  10031. * TextBoxBase.cs: Don't delete into the line ending.
  10032. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  10033. * ListView.cs: Restore the check for the MouseHover event
  10034. in ListView. It looks like the ListView fires more than one MouseHover
  10035. event when HoverSelection is true _only_ in weird-corner scenarios, but
  10036. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  10037. event.
  10038. 2007-04-05 Mike Kestner <[email protected]>
  10039. * ListView.cs : raise MouseDown before updating selection.
  10040. [Fixes #80373 tab 1&3]
  10041. 2007-04-05 Jonathan Pobst <[email protected]>
  10042. * ToolStripRenderer.cs: Add static method to mirror image.
  10043. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  10044. and RightToLeftAutoMirrorImage.
  10045. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  10046. 2007-04-05 Jonathan Pobst <[email protected]>
  10047. * ToolStripSplitStackLayout.cs: Support Alignment property.
  10048. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  10049. 2007-04-05 Jackson Harper <[email protected]>
  10050. * TextControl.cs: Move around the line endings when crossing line
  10051. boundaries.
  10052. - When combining lines, strip the ending text off the first line.
  10053. 2007-04-05 Jackson Harper <[email protected]>
  10054. * TextControl.cs:
  10055. * TextBoxBase.cs: Try to never move the cursor into the line
  10056. ending.
  10057. 2007-04-04 Jonathan Pobst <[email protected]>
  10058. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  10059. the item is disabled. Also add a few missing methods.
  10060. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  10061. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  10062. to fire just one MouseHover event when HoverSelection is true, since
  10063. .Net does fire more than one MouseHover event in that scenario. Also,
  10064. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  10065. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  10066. Finally, we need to reset the Hover logic in MouseMove, even when we
  10067. don't have a selected item.
  10068. 2007-04-04 Jonathan Pobst <[email protected]>
  10069. * ToolStrip.cs: Add several missing methods, properties, and events.
  10070. 2007-04-04 Chris Toshok <[email protected]>
  10071. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  10072. (0,0,0,0) in Commit, as MS does.
  10073. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  10074. make sure we set CurrentRow on a row header click *before* calling
  10075. Select. This moves the current cell (and the textbox) to the new
  10076. row. The call to Select then hides the textbox, giving us the
  10077. correct behavior. Fixes #80362.
  10078. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  10079. (ListChangedHandler): reorder the position/current changed events,
  10080. and call UpdateIsBinding in the ItemAdded case.
  10081. * GridColumnStylesCollection.cs: add some columns events, one of
  10082. which raises the CollectionChanged event.
  10083. 2007-04-04 Jackson Harper <[email protected]>
  10084. * TextControl.cs: When we delete multiple selection lines
  10085. invalidate the selection area, don't need to do that for single
  10086. lines because the final update view will handle it.
  10087. 2007-04-04 Jonathan Pobst <[email protected]>
  10088. * Control.cs: When we CreateControl, we need to also create all of the
  10089. control's children. The child's OnLoad must also fire before the parent's
  10090. OnLoad. Fixes the toolbox size in PDN.
  10091. 2007-04-04 Jackson Harper <[email protected]>
  10092. * TextBoxBase.cs: When the user presses enter, insert a line
  10093. ending into the text. (Maybe this would be a good spot for
  10094. Environment.NewLine).
  10095. * TextControl.cs: Remove undo manager hack, line endings get
  10096. inserted properly now.
  10097. 2007-04-04 Everaldo Canuto <[email protected]>
  10098. * MenuAPI.cs:
  10099. - Remove unneeded parameters in UpdateCursor.
  10100. - Fix UpdateCursor to check if menu is active.
  10101. - Call UpdateCursor when menu deactivate my click.
  10102. [Fixes remaining issues from #80410]
  10103. 2007-04-04 Everaldo Canuto <[email protected]>
  10104. * Control.cs: GetRealChildAtPoint method added, it make an
  10105. recursive child control search for the point.
  10106. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  10107. menu.
  10108. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  10109. 2007-04-03 Everaldo Canuto <[email protected]>
  10110. * Form.cs: Fix mouse position when send back mouse event after closes
  10111. menu.
  10112. 2007-04-03 Everaldo Canuto <[email protected]>
  10113. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  10114. 2007-04-03 Jonathan Pobst <[email protected]>
  10115. * Control.cs: Fix an issue where if a user resized a control inside
  10116. a sizing method like OnResize, we would overwrite their explicit
  10117. value. Also, only call DefaultSize once in the constructor instead
  10118. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  10119. nothing actually changed.
  10120. 2007-04-03 Jackson Harper <[email protected]>
  10121. * TextControl.cs: Don't attempt to copy text for lines with no
  10122. text in them (technically this shouldn't happen, but we aren't
  10123. always inserting line endings when we should be).
  10124. 2007-04-03 Jackson Harper <[email protected]>
  10125. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  10126. document, because this sets some of the document size properties
  10127. that are needed.
  10128. 2007-04-03 Jackson Harper <[email protected]>
  10129. * TextBoxBase.cs: We need to calculate maximums even if this is
  10130. not a multiline control, because the maxs are used for scrolling.
  10131. - Display the caret after doing a page up/down, we need to
  10132. manually display it because a proper CaretMoved event isn't
  10133. triggered (this is because of the way the math is done to
  10134. determine how far to scroll).
  10135. 2007-04-03 Jonathan Pobst <[email protected]>
  10136. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  10137. (ToolBar was relying on SetBoundsCore to default the values sent
  10138. base off of BoundsSpecified.)
  10139. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10140. * DateTimePicker.cs: Change Text so that when a null value or empty
  10141. string is assigned to the test we always raise ValueChanged and
  10142. TextChanged (earlier implementation would only raise ValueChanged
  10143. if the current date value was different from DateTime.Now).
  10144. 2007-04-03 Andreia Gaita <[email protected]>
  10145. * ButtonBase: Call update after invalidation, fixes #80194
  10146. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10147. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  10148. #79335.
  10149. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10150. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  10151. FormBorderStyle = None, don't give the window any decorations.
  10152. Fixes #81276.
  10153. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10154. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10155. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  10156. to check for is a mix of several styles (such as WS_CAPTION for
  10157. instance).
  10158. * Control.cs: Don't paint an area bigger than the client area when
  10159. painting the background colour. Add an internal GetCreateParams.
  10160. Update calls to XplatUI.CalculateWindowRect due to API change.
  10161. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  10162. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  10163. the size if it hasn't been handled by any windows. When creating
  10164. and moving windows, X wants the location of the entire window, but
  10165. the size of the client window, so add
  10166. TranslateClientRectangleToXClientRectangle,
  10167. TranslateWindowSizeToXWindowSIze and
  10168. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  10169. before every window creation and move. Update CalculateWIndowRect
  10170. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  10171. In AddConfigureNotify don't do anything if the hwnd is a zombie
  10172. (fixes the BadWindow we were getting while running the tests),
  10173. always calculate the offsets when it's a parentless window, not
  10174. only when reparented, and translate the window size, since we're
  10175. getting the client size of the whole window, excluding entire
  10176. window.
  10177. * Theme.cs: Added BorderSizableSize.
  10178. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10179. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  10180. chang
  10181. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  10182. change. Fake the window styles here instead of in XplatUIWin32 so
  10183. that all back-ends get the same window styles (and it's Form that's
  10184. deciding when to use wm, not the Win32 backend anyways)
  10185. * Hwnd.cs: Completely reworked GetWindowRectangle and
  10186. GetClientRectangle - they are now passed a CreateParams and they
  10187. only use Style and ExStyle to determine the rectangles (they should
  10188. now work just like Win32AdjustWindowRectEx - though quite a few
  10189. special cases are probably missing). They should also be 100%
  10190. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  10191. == rect), and all numbers (borders, menu sizes) are taken from the
  10192. current theme. Added a GetBorders helper function that will return
  10193. the borders for any given CreateParams (including captions and
  10194. menus), and GetBorderSize that returns the given border size only.
  10195. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10196. Hwnd.GetClientRectangle.
  10197. 2007-04-02 Chris Toshok <[email protected]>
  10198. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  10199. logic between the values we present to the user and the values
  10200. which are stored in the column's property. Also, don't call
  10201. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  10202. 2007-04-02 Jackson Harper <[email protected]>
  10203. * TextBoxBase.cs: Scroll faster!
  10204. 2007-04-02 Jonathan Pobst <[email protected]>
  10205. * StatusStrip.cs: Layout fixes for PDN.
  10206. * ToolStrip.cs: Set item's available to true, and placement to main when
  10207. added.
  10208. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  10209. changing in setter before doing any work, add InternalVisible.
  10210. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  10211. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10212. infinite loop.
  10213. 2007-04-02 Jackson Harper <[email protected]>
  10214. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  10215. text on focus.
  10216. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10217. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  10218. Makes ToolStripComboBoxes show up again.
  10219. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  10220. * ListView.cs: Add a hover_pending field in ListView
  10221. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  10222. cycle (we are resetting the MouseHover logic in XplatUI
  10223. to handle HoverSelection). Fixes #80429.
  10224. 2007-04-02 Jackson Harper <[email protected]>
  10225. * TextControl.cs: Make sure the attributes get set on the last
  10226. tag.
  10227. - Still have to do the end tag if we have stepped all the ways to
  10228. the end.
  10229. 2007-04-02 Sebastien Pouliot <[email protected]>
  10230. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  10231. on an internal libgdiplus call when the information is already
  10232. available via the public API.
  10233. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10234. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  10235. control is removed from a control collecftion.
  10236. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  10237. Fixes FormPropertyTest (failed on rare occasions).
  10238. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  10239. of Win32SetParent (when changing from no parent to a parent it
  10240. might add the new parent's location in screen coordinates to this
  10241. window's location).
  10242. * Form.cs: Rework ChangingParent once again, now the handle is
  10243. recreated whenever a FormWindowManager is added or removed (that is
  10244. whenever a normal form is parented or abandoned). Also change
  10245. CreateParams so that all non-toplevel windows always get the
  10246. specified sice (StartupPosition is never considered for
  10247. non-TopLevel forms).
  10248. * ContainerControl.cs: Add ChildControlRemoved, the container control
  10249. needs to be notified when a control is removed from it's
  10250. collection, in the case the removed control is the active control.
  10251. 2007-04-02 Jackson Harper <[email protected]>
  10252. * RichTextBox.cs: Use the new methods for setting the font and
  10253. color, these methods set the specified attribute without
  10254. overriding the other attributes.
  10255. 2007-04-02 Jonathan Pobst <[email protected]>
  10256. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  10257. 2007-03-31 Gert Driesen <[email protected]>
  10258. * TextBox.cs: Added internal ChangeBackColor method to special-case
  10259. Color.Empty. Added check for invalid ScrollBars value.
  10260. * TextBoxBase.cs: Added internal ChangeBackColor method.
  10261. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  10262. internal ChangeBackColor method to special-case Color.Empty. Added
  10263. check for invalid ScrollBars value.
  10264. 2007-03-30 Everaldo Canuto <[email protected]>
  10265. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  10266. 2007-03-30 Jonathan Pobst <[email protected]>
  10267. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  10268. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  10269. [Based on submitted patch from Olivier Duff.]
  10270. 2007-03-30 Jackson Harper <[email protected]>
  10271. * TextBox.cs: Only select all on initial focus if the user has not
  10272. specified a selection area.
  10273. 2007-03-30 Jonathan Pobst <[email protected]>
  10274. * UserControl.cs: Override CreateParams.
  10275. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10276. [ Fixes #80995 ]
  10277. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10278. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  10279. check for is a mix of several styles (such as WS_CAPTION for instance).
  10280. * Control.cs: Don't paint an area bigger than the client area when painting
  10281. the background colour. Add an internal GetCreateParams. Update calls to
  10282. XplatUI.CalculateWindowRect due to API change.
  10283. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  10284. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  10285. hasn't been handled by any windows. When creating and moving windows, X
  10286. wants the location of the entire window, but the size of the client
  10287. window, so add TranslateClientRectangleToXClientRectangle,
  10288. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  10289. to cope with this, and call them before every window creation and move.
  10290. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  10291. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  10292. hwnd is a zombie (fixes the BadWindow we were getting while running the
  10293. tests), always calculate the offsets when it's a parentless window, not
  10294. only when reparented, and translate the window size, since we're getting
  10295. the client size of the whole window, excluding entire window.
  10296. * Theme.cs: Added BorderSizableSize.
  10297. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10298. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  10299. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  10300. Fake the window styles here instead of in XplatUIWin32 so that all
  10301. back-ends get the same window styles (and it's Form that's deciding when
  10302. to use wm, not the Win32 backend anyways)
  10303. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  10304. they are now passed a CreateParams and they only use Style and ExStyle
  10305. to determine the rectangles (they should now work just like
  10306. Win32AdjustWindowRectEx - though quite a few special cases are probably
  10307. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  10308. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  10309. sizes) are taken from the current theme. Added a GetBorders helper
  10310. function that will return the borders for any given CreateParams
  10311. (including captions and menus), and GetBorderSize that returns the given
  10312. border size only.
  10313. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10314. Hwnd.GetClientRectangle.
  10315. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10316. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  10317. layout of the mdi children is handled by CreateParams. Fixes
  10318. #79964,
  10319. 2007-03-29 Everaldo Canuto <[email protected]>
  10320. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  10321. processed.
  10322. * Form.cs: When active tracker mouse down is not processed, send event
  10323. back to control inside mouse position. [Fixes #81227]
  10324. 2007-03-29 Jonathan Pobst <[email protected]>
  10325. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  10326. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  10327. stealing focus from the active form on Windows. (Control will be made
  10328. visible in ShowWindow.)
  10329. 2007-03-29 Mike Kestner <[email protected]>
  10330. * ImageList.cs : add internal Changed event.
  10331. * ListView.cs : hook up to StateImageList.Changed to perform
  10332. invalidations when the the state icon list changes. [Fixes #81191]
  10333. 2007-03-29 Jonathan Pobst <[email protected]>
  10334. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  10335. to prevent tooltips from stealing focus from the active form on Windows.
  10336. 2007-03-29 Everaldo Canuto <[email protected]>
  10337. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  10338. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  10339. 2007-03-29 Everaldo Canuto <[email protected]>
  10340. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  10341. balloons.
  10342. 2007-03-29 Jackson Harper <[email protected]>
  10343. * TextControl.cs: When deleting text from non multiline textboxes,
  10344. we need to update the entire document, because line offsets will
  10345. be shifting.
  10346. 2007-03-29 Everaldo Canuto <[email protected]>
  10347. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  10348. added to theme, now we can create themes that uses diferent notify engines
  10349. like notification-daemon from galago project or growl for Mac OS.
  10350. 2007-03-28 Everaldo Canuto <[email protected]>
  10351. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  10352. 2007-03-28 Everaldo Canuto <[email protected]>
  10353. * XplatUIX11.cs: Prevent system to open more than one balloon.
  10354. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  10355. some compiler warning messages.
  10356. 2007-03-28 Everaldo Canuto <[email protected]>
  10357. [Fixes #79149]
  10358. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  10359. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  10360. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  10361. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  10362. systems.
  10363. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10364. * ListViewItem.cs: Forgot to make Invalidate internal.
  10365. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10366. * ListView.cs: Add a InvalidateSelection method to
  10367. invalidate methods which are currently selected, and call
  10368. it when setting FullRowSelect and HideSelection, instead of
  10369. calling Redraw.
  10370. 2007-03-28 Chris Toshok <[email protected]>
  10371. * XplatUIX11.cs (UnmapWindow): reindent this block.
  10372. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  10373. the selection_start if we're moving the selection (that is, not
  10374. extending it). Fixes bug #80461.
  10375. 2007-03-28 Jonathan Pobst <[email protected]>
  10376. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  10377. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  10378. create private ControlCollection.
  10379. 2007-03-28 Jonathan Pobst <[email protected]>
  10380. * Control.cs: We need to call OnVisibleChanged for our implicit
  10381. children as well as our normal children. Fixes scrollbars in
  10382. comboboxes not showing up.
  10383. 2007-03-28 Jonathan Pobst <[email protected]>
  10384. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  10385. the check for IsHandleCreated first. The check in CreateHandle is not
  10386. good enough because CreateHandle can be overriden, and the override
  10387. should not be called if the handle is already created.
  10388. 2007-03-28 Jonathan Pobst <[email protected]>
  10389. * ToolStrip.cs: Remove MonoTODO for tooltips.
  10390. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  10391. * ToolStripContainer.cs: Add custom ControlCollection class.
  10392. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  10393. * ToolStripDropDown.cs: Add some missing properties/methods.
  10394. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  10395. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  10396. * ToolStripManager.cs: Add IsShortcutDefined.
  10397. * ToolStripOverflow.cs: Override LayoutEngine.
  10398. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  10399. * ToolStripSeparator.cs: Add ImageKey.
  10400. 2007-03-28 Jackson Harper <[email protected]>
  10401. * TextControl.cs: If a char delete removes a line ending, we need
  10402. to update the ending style.
  10403. - Make sure the line ending calcs get called.
  10404. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  10405. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  10406. it was making the new code not work. Fixed a typo in the new code
  10407. as well. Fixes #79826.
  10408. 2007-03-27 Everaldo Canuto <[email protected]>
  10409. * XplatUIWin32.cs:
  10410. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  10411. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  10412. - SystrayBalloon method implemented.
  10413. [Add support for notifyicon balloon on win32, #79149]
  10414. 2007-03-27 Mike Kestner <[email protected]>
  10415. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  10416. the ms behavior when only one image is added to the list.
  10417. [Fixes #81191]
  10418. 2007-03-27 Jackson Harper <[email protected]>
  10419. * TextControl.cs: Improvements to non multiline line ending
  10420. drawing/measuing.
  10421. 2007-03-27 Everaldo Canuto <[email protected]>
  10422. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  10423. 2007-03-27 Everaldo Canuto <[email protected]>
  10424. * NotifyIcon.cs:
  10425. - Balloon message handling added.
  10426. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  10427. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10428. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  10429. to SystrayBalloon to me like other Systray method, also a
  10430. handle parameter added.
  10431. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10432. * ListView.cs: Show scrollbars even when items.Count == 0
  10433. but the columns Width is bigger than the ListView.Width.
  10434. Also, when columns.Count == 0 set layout_wd and layout_ht
  10435. to the ClientRectangle values, so we don't show any scrollbar
  10436. in that case.
  10437. 2007-03-27 Everaldo Canuto <[email protected]>
  10438. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  10439. 2007-03-27 Jackson Harper <[email protected]>
  10440. * RichTextBox.cs: The RTF library decodes the text properly for us
  10441. now.
  10442. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10443. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  10444. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  10445. ListView header (HeaderControl), instead of Control.BackColor.
  10446. 2007-03-27 Jonathan Pobst <[email protected]>
  10447. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  10448. Fixes tab control issues where controls would not show up because they
  10449. never received their OnVisibleChanged call.
  10450. 2007-03-27 Everaldo Canuto <[email protected]>
  10451. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  10452. BalloonTipShown).
  10453. 2007-03-27 Jonathan Pobst <[email protected]>
  10454. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  10455. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  10456. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  10457. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  10458. the handle. Fix WindowState by using the internal variable until we are
  10459. sure that we've been shown.
  10460. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  10461. max or min.
  10462. [Fixes bug #81198]
  10463. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  10464. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  10465. (at least borders). Fixes #79386 on Linux (with a small difference
  10466. in behaviour: when trying to resize a caption-less window metacity
  10467. shows the sysmenu. Resizing is still possible though).
  10468. * XplatUIWin32.cs: When setting window styles send request an extra
  10469. WM_NCCALCSIZE when it's a form without title (due to no text and no
  10470. caption), since Win32 seems to calculate it wrong the first time we
  10471. get the message, though the second time things work as they should.
  10472. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  10473. newly reparented window might show up unparented. Update
  10474. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  10475. there's no title text. Fixes #79386.
  10476. 2007-03-27 Mike Kestner <[email protected]>
  10477. * ListBox.cs : don't perform invalidations if the handle hasn't been
  10478. created. [Fixes #80753]
  10479. 2007-03-27 Mike Kestner <[email protected]>
  10480. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  10481. [Fixes #80428]
  10482. 2007-03-26 Everaldo Canuto <[email protected]>
  10483. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  10484. needed to implement Balloon.
  10485. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  10486. * ListViewItem.cs: In the constructors that take
  10487. an array of strings, don't use ListViewSubItemCollection.AddRange
  10488. method to add items, since we need to have a different behaviour (in
  10489. the constructors we add an item for each null string, opposed to
  10490. the behaviour of AddRange, which adds nothing).
  10491. 2007-03-26 Andreia Gaita <[email protected]>
  10492. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  10493. 2007-03-26 Jackson Harper <[email protected]>
  10494. * TextControl.cs: Draw and measure line endings when in non
  10495. multiline mode.
  10496. - When searching the text, count the end of the last line as a
  10497. word boundary.
  10498. 2007-03-26 Jackson Harper <[email protected]>
  10499. * RichTextBox.cs: The selection_start and selection_end don't
  10500. really track the correct tags for the selection. So we'll manually
  10501. compute the correct tag here.
  10502. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  10503. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  10504. and Continuous styles. Fixes #79469.
  10505. 2007-03-26 Jonathan Pobst <[email protected]>
  10506. * ToolStrip.cs: Implement Tooltips.
  10507. * ToolStripItem.cs: Create internal method for determining tooltip.
  10508. 2007-03-26 Jonathan Pobst <[email protected]>
  10509. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  10510. 2007-03-26 Everaldo Canuto <[email protected]>
  10511. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  10512. it prevents a problem thak keeps icon visible after application
  10513. closes on win32.
  10514. 2007-03-26 Everaldo Canuto <[email protected]>
  10515. * NotifyIcon.cs: Balloon properties and methods created.
  10516. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10517. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  10518. 2007-03-25 Jonathan Pobst <[email protected]>
  10519. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  10520. 2007-03-24 Jonathan Pobst <[email protected]>
  10521. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  10522. parameter indicates which aspects were explicit/user-set.
  10523. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  10524. 2007-03-24 Jonathan Pobst <[email protected]>
  10525. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  10526. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  10527. SmallChange, and Value (2.0).
  10528. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  10529. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  10530. * ListView.cs: Always set item_control.Width in LayoutDetails
  10531. if View is Details. Setting it later in CalculateScrollBars
  10532. in a not-so-corner scenario (the sum of columns width is
  10533. not bigger than the ListView width when handle is created, and then
  10534. that sum gets bigger by increasing the width of the columns)
  10535. causes a very weird recursion path (which shouldn't be happening,
  10536. since header_control sets it in CalculateScrollBars too). This bug
  10537. appeared after Chris' fixes for handle created issues, so probably
  10538. it's related to some handle-creation time.
  10539. 2007-03-23 Chris Toshok <[email protected]>
  10540. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  10541. case where there's an add row, just so we don't end up in a case
  10542. where it's not displayed (this happens when the row is partially
  10543. obscured). Fixes bug #79574.
  10544. 2007-03-23 Jackson Harper <[email protected]>
  10545. * TextControl.cs:
  10546. * TextBoxBase.cs:
  10547. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  10548. also added an enum that represents the line ending type.
  10549. 2007-03-23 Andreia Gaita <[email protected]>
  10550. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  10551. messed with in every method call, but only from DownButton,
  10552. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  10553. 2007-03-23 Chris Toshok <[email protected]>
  10554. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  10555. format objects if the format spec is "". Fixes bug #80889.
  10556. 2007-03-22 Miguel de Icaza <[email protected]>
  10557. * ToolStripPanel.cs (Join): added stubs to build PDN3
  10558. * Control.cs (AutoScrollOffset): Add.
  10559. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  10560. property, its only implemented for Win32, on X11 it defaults to
  10561. some hardcoded value.
  10562. * ToolStripItem.cs (AllowDrop): Add property
  10563. 2007-03-22 Mike Kestner <[email protected]>
  10564. * ListView.cs : in FullRowSelect Details mode, only enable box
  10565. selection if the user clicks over the "item" column outside of the
  10566. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  10567. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  10568. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  10569. handle is not created yet.
  10570. * Form.cs: Select: Don't call CreateHandle if the handle is already
  10571. created, avoids a stack overflow on Windows when we are recreating
  10572. controls.
  10573. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  10574. they are made visible, and override AfterTopMostControl to keep
  10575. them on top when other controls are brought to front.
  10576. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  10577. or force_*scroll_visible is true (old implementation always shows
  10578. scrollbars when needed, no matter what auto_scroll was set to).
  10579. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  10580. IsHandleCreated check.
  10581. 2007-03-22 Andreia Gaita <[email protected]>
  10582. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  10583. row or col separator.
  10584. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  10585. 2007-03-22 Everaldo Canuto <[email protected]>
  10586. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  10587. 2007-03-22 Everaldo Canuto <[email protected]>
  10588. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  10589. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  10590. every time. Fixes #80410.
  10591. 2007-03-22 Chris Toshok <[email protected]>
  10592. * BindingSource.cs (AddNew): partially implement.
  10593. remove a couple of NotImplementedException's
  10594. to get bug #81148 closed.
  10595. 2007-03-22 Everaldo Canuto <[email protected]>
  10596. [Fixes #80380]
  10597. * Control.cs:
  10598. - UpdateCursor method added to update the screen cursor.
  10599. - GetAvailableCursor method added to return cursor for enabled tree,
  10600. it searches for cursor on control and it's parent's for enabled control.
  10601. - Call UpdateCursor method on setter of Cursor property.
  10602. - On setter of Enabled call UpdateCursor when it is false, we need to
  10603. change cursor to normal (or to this parent cursor) because cursor
  10604. setting theres no effect to disabled controls.
  10605. - Some minor source changes to follow the coding style guidelines.
  10606. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  10607. controls.
  10608. 2007-03-22 Chris Toshok <[email protected]>
  10609. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  10610. generates.
  10611. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  10612. * XplatUIX11.cs: Implement default locations for forms.
  10613. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  10614. * Hwnd.cs: Add previous_child_startup_location (to track the current
  10615. startup location for any child forms of the current form) and
  10616. previous_main_startup_location (to track the startup location for
  10617. the current toplevel form).
  10618. 2007-03-21 Jonathan Pobst <[email protected]>
  10619. * Control.cs: Don't trigger a layout if an implicit control is added
  10620. that isn't visible. Also, don't notify the owner when an implicit control
  10621. is added. (Owners shouldn't even know about their implicit controls.)
  10622. 2007-03-21 Jonathan Pobst <[email protected]>
  10623. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  10624. to save some re-layouts.
  10625. 2007-03-21 Everaldo Canuto <[email protected]>
  10626. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  10627. [Fixes #81203]
  10628. 2007-03-21 Jonathan Pobst <[email protected]>
  10629. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  10630. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  10631. 2007-03-21 Mike Kestner <[email protected]>
  10632. * ListView.cs : disable selection update for non-left button clicks
  10633. with mods and over selected items. [Fixes #80524]
  10634. 2007-03-20 Jackson Harper <[email protected]>
  10635. * TextControl.cs:
  10636. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  10637. \r\r\n, \n.
  10638. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10639. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  10640. very probably a more complicated calculation there. Update the
  10641. textbox' ForeColor and BackColor when the ComboBox' colors are
  10642. changed. Change the border change in LayoutComboBox to only affect
  10643. the textbox, not all the calculations there. Seems to fix most of
  10644. #79436.
  10645. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10646. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  10647. modifiers + navigation keys as input keys, enables advanced text
  10648. selection in the combobox (like Shift+Left Arrow for instance).
  10649. ComboTextBox now overrides Focused and returns whatever
  10650. ComboBox.Focused returns, since it really should be focused
  10651. whenever the ComboBox is. Fixes #80795. Also make the border around
  10652. the text box one pixel bigger, as mentioned in #79436.
  10653. 2007-03-20 Jackson Harper <[email protected]>
  10654. * TreeView.cs: Don't offset the images, this was causing some
  10655. artifacts when expanding/collapsing with images that were the
  10656. exact height of the treenode.
  10657. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10658. * TrackBar.cs: Query the theme for the correct value when the mouse
  10659. moves and the thumb is pressed.
  10660. * Theme.cs: Added TrackBarValueFromMousePosition
  10661. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  10662. implementation was updating the trackbar value when drawing, now
  10663. the drawing methods only draw. Fixes #80900. Refactored the
  10664. calculations out to TrackBarValueFromMousePosition and
  10665. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  10666. according to the mouse position whenever it wants to. Changed the
  10667. light coloured pen when drawing the thumb from ControlLight to
  10668. ControlLightLight, because the ControlLight is the same colour as
  10669. the background so the 3D effect is lost.
  10670. 2007-03-20 Everaldo Canuto <[email protected]>
  10671. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  10672. defined. Fixes #80784.
  10673. 2007-03-20 Marek Habersack <[email protected]>
  10674. * ContextMenuStrip.cs: align with the change introduced in
  10675. revision 74664.
  10676. 2007-03-20 Everaldo Canuto <[email protected]>
  10677. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  10678. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  10679. in SetTopmost.
  10680. 2007-03-19 Chris Toshok <[email protected]>
  10681. * Control.cs (WmPaint): don't make use of the Handle property
  10682. after an event is emitted, as the user could have closed the
  10683. form/destroyed the control. Store the Handle in a local variable
  10684. and make use of that. Fixes bug #80768.
  10685. 2007-03-20 Everaldo Canuto <[email protected]>
  10686. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  10687. behavior in X11 environments.
  10688. 2007-03-20 Everaldo Canuto <[email protected]>
  10689. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  10690. because on setter of topmost we dont call SetTopmost when handle is not
  10691. created.
  10692. 2007-03-20 Jackson Harper <[email protected]>
  10693. * TextControl.cs: Need to use SelectionLength () not
  10694. selection_length, since that var is reset to -1.
  10695. - Draw the caret when we don't have focus.
  10696. * TextBox.cs: The selectall actually doesn't occur until the first
  10697. focus.
  10698. * TextBoxBase.cs: Need to update the caret position after a
  10699. selectall.
  10700. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  10701. * ListView.cs: Enable scrolling when using Tile view.
  10702. 2007-03-20 Everaldo Canuto <[email protected]>
  10703. [Fixes #80902]
  10704. * XplatUIDriver.cs: Abstract SetOwner method created.
  10705. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  10706. must be implemented and was masked as todo.
  10707. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  10708. GWL_HWNDPARENT.
  10709. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  10710. cheking for null owner to remove transient. The SetTopmost will be change
  10711. on a decond step.
  10712. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  10713. SetTopmost. Now owned forms will work properly in win32 and X11.
  10714. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10715. * MdiWindowManager.cs: Update function name.
  10716. * Form.cs: After closing a form MdiParent is always null.
  10717. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  10718. better what it should do: necessary book-keeping when the form is
  10719. closed, it should not close the form itself.
  10720. 2007-03-19 Andreia Gaita <[email protected]>
  10721. * ListViewItem.cs: Fix back and fore color. The subitems only
  10722. use their own colors if they are set, otherwise use the listview's
  10723. colors. Don't set default colors on constructor for subitem.
  10724. Fixes #79315.
  10725. 2007-03-19 Mike Kestner <[email protected]>
  10726. * ListView.cs : make box selection for Details views with
  10727. FullRowSelect conform to MS behavior when clicking in the "item"
  10728. column and clicking outside the defined columns.
  10729. [Fixes case 5-6 of #80374]
  10730. 2007-03-19 Chris Toshok <[email protected]>
  10731. * ScrollableControl.cs: create the controls from within the ctor,
  10732. but don't actually add them until our handle is created. this
  10733. fixes a NRE possibility jpobst found (if you override OnLayout in
  10734. a subclass, it's called before your ctor). Also, add a
  10735. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  10736. 2007-03-19 Jackson Harper <[email protected]>
  10737. * TextBox.cs: Reduce the amount of invalidation we do.
  10738. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  10739. some of them are true by default on MS.
  10740. - Add some functions to reduce the amount of invalidates we do.
  10741. * TextControl.cs: Less invalidation.
  10742. 2007-03-19 Chris Toshok <[email protected]>
  10743. [ Fixes #81773, and *seems* to fix #81553 as well ]
  10744. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  10745. AccumulateDestroyedHandles. We need to do it *after* we send
  10746. WM_DESTROY, as the user's code can access Control.Handle in
  10747. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  10748. move the WM_DESTROY/zombie handling to before the call to
  10749. XDestroyWindow. For some reason without this ordering
  10750. FormTest.RecreateHandle hangs. This ordering is semantically
  10751. equivalent, however, as XDestroyWindow is async anyway.
  10752. 2007-03-19 Gert Driesen <[email protected]>
  10753. * RichTextBox.cs: Reset backcolor_set after setting default.
  10754. 2007-03-19 Chris Toshok <[email protected]>
  10755. * ScrollableControl.cs: the scroll position should not effect the
  10756. canvas size. commit patch from [email protected], which
  10757. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  10758. 2007-03-19 Chris Toshok <[email protected]>
  10759. * ScrollableControl.cs: clean this up a bit. create the
  10760. scrollbars in the ctor and just show/hide them as needed. Also,
  10761. make hscroll_visible/vscroll_visible internal to Recalculate, and
  10762. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  10763. everywhere else. This seems to fix the scrollbars appearing
  10764. beneath the content for me (i have *no* idea why that is,
  10765. however.)
  10766. 2007-03-19 Jonathan Pobst <[email protected]>
  10767. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  10768. some redundacy for stuff in Anchor and Dock that base will take care of.
  10769. [Fixes #80762]
  10770. 2007-03-19 Mike Kestner <[email protected]>
  10771. * ListView.cs : make box selection for Details views without
  10772. FullRowSelect dependent on the text bounds, not item bounds.
  10773. * ListViewItem.cs : add an internal property to obtain the TextBounds
  10774. in Details view. [Fixes case 1-4 of #80374]
  10775. 2007-03-19 Andreia Gaita <[email protected]>
  10776. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  10777. we're < 2.0. #78448 && #80316
  10778. 2007-03-19 Jonathan Pobst <[email protected]>
  10779. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  10780. have the same style available as the previously selected one. Also,
  10781. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  10782. 2007-03-19 Jackson Harper <[email protected]>
  10783. * TextControl.cs: Add an alignment property that all new lines
  10784. will be given.
  10785. - Make sure to use the align shift when calculating the line's X
  10786. position.
  10787. * TextBox.cs: Set the alignment on the document as well as on all
  10788. the document lines.
  10789. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  10790. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  10791. throw if setting the parent of an mdichild that already has an
  10792. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  10793. AssemblyProductAttribute in the assembly, use the type's namespace (as
  10794. MS seems to do). CreateControl: don't create the handle if the control
  10795. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  10796. create handle if the control is not a form. Change FocusInternal to
  10797. virtual so that it can be overriden by Form.
  10798. * TextBox.cs: Update call to FocusInternal.
  10799. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  10800. form is not a toplevel form when it's a mdi child, so update is_toplevel
  10801. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  10802. hasn't been created. Show (IWin32Window): Don't allow this overload for
  10803. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  10804. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  10805. parent isn't visible yet, save the visibility and restore it when the
  10806. parent is made visible.
  10807. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  10808. methods, since the visibility of the scrollbars can be changed from
  10809. several places, not only from AutoScroll.
  10810. [Fixes #81179]
  10811. 2007-03-19 Jackson Harper <[email protected]>
  10812. * RichTextBox.cs: Enable shortcuts by default.
  10813. * TextBoxBase.cs: Add conditional shortcuts.
  10814. 2007-03-19 Everaldo Canuto <[email protected]>
  10815. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  10816. 2007-03-19 Chris Toshok <[email protected]>
  10817. [ Fixes bug #80604]
  10818. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  10819. swallow the message we're waiting on, instead of delivering it, as
  10820. this is only used for the WM_SHOWWINDOW raised from
  10821. MapWindow/UnmapWindow, and the message needs to be generated
  10822. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  10823. before doing the Map/Unmap. Also make sure that the Hwnd is still
  10824. alive after the message has been handled.
  10825. *before* the window is shown.
  10826. * Control.cs (CreateControl): guard a few more things inside the
  10827. if (!is_created) block, as we might end up being called again -
  10828. yay .net.
  10829. (WmShowWindow): call CreateControl if we're showing the control.
  10830. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  10831. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  10832. controls without a handle if they have any parent with a handle. In
  10833. Dispose add a check whether the handle is created or not before
  10834. calling BeginInvoke, this removes the need of the extra disposing
  10835. parameter (which was bogus anyway since it didn't prevent the
  10836. invoke from happening, it only skipped the check for an existing
  10837. handle, meaning that the invoke would call on an inexistent
  10838. handle).
  10839. 2007-03-19 Everaldo Canuto <[email protected]>
  10840. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  10841. appears in taskbar.
  10842. 2007-03-18 Everaldo Canuto <[email protected]>
  10843. * MessageBox.cs:
  10844. - Fixed a problem that dont show help button for messages with 3 buttons.
  10845. - Refactory button size and position calculations, now dont use fixed
  10846. values, also fixed button sizes (#80043) and form's border space.
  10847. - AddButton method created, now all other AddButton methods call this one.
  10848. - Some other source code cosmetic changes.
  10849. 2007-03-18 Jackson Harper <[email protected]>
  10850. * RichTextBox.cs: Don't do this all fonts must match check if
  10851. there is only one char selected.
  10852. 2007-03-18 Jackson Harper <[email protected]>
  10853. * TreeView.cs: ScrollWindow works properly now, so we don't need
  10854. to screw around with the scroll area. This fixes some artifacts
  10855. when expanding and collapsing.
  10856. 2007-03-18 Jackson Harper <[email protected]>
  10857. * TextBoxBase.cs: Allow updating the selection position when the
  10858. cursor is outside the textarea, but we have a capture.
  10859. * TextControl.cs: A special case for when the cursor is outside
  10860. the bounds of the TB.
  10861. 2007-03-18 Jackson Harper <[email protected]>
  10862. * TextBoxBase.cs: Remove image pasting code for now. There is no
  10863. way to get an image on the clipboard right now anyways.
  10864. * TextControl.cs:
  10865. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  10866. 2007-03-18 Everaldo Canuto <[email protected]>
  10867. * MessageBox.cs:
  10868. - Set window properties in constructor intead of on CreateParams.
  10869. - Remove topmost from Window ExStyle.
  10870. - Set ShowInTaskbar to false.
  10871. - Set form border to FixedDialog.
  10872. - Some cosmetic changes and remove unneeded comments.
  10873. - It fixes itens 2,3 and 4 of bug #80043.
  10874. 2007-03-18 Gert Driesen <[email protected]>
  10875. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  10876. none was explicitly set. Fixes part of bug #79949.
  10877. 2007-03-16 George Giolfan <[email protected]>
  10878. * ToolStripComboBox.cs: Add AutoComplete*.
  10879. 2007-03-16 George Giolfan <[email protected]>
  10880. * ToolStripComboBox.cs: Add FlatStyle.
  10881. 2007-03-16 Jonathan Pobst <[email protected]>
  10882. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  10883. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  10884. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  10885. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  10886. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  10887. DataGridColumnStyle.cs: Remove warnings.
  10888. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  10889. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  10890. it.
  10891. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  10892. visibility of mdi child forms. FormSizeChangedHandler: update the
  10893. maximized size if size has changed while maximized.
  10894. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  10895. creating the handle.
  10896. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  10897. avoid creating the handle if not created.
  10898. * XplatUI.cs: Update debug output.
  10899. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  10900. 2007-03-16 Jonathan Pobst <[email protected]>
  10901. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  10902. ProcessCmdKey().
  10903. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  10904. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  10905. Implement keyboard shortcuts.
  10906. 2007-03-15 Everaldo Canuto <[email protected]>
  10907. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  10908. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  10909. ColorDialog and all derived classes.
  10910. 2007-03-15 Everaldo Canuto <[email protected]>
  10911. [ Fixes bug #79828 ]
  10912. * ToolBar.cs:
  10913. - Rename ToolBarButtonInfor to ToolBarItem.
  10914. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  10915. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  10916. collection to be able add same button more than one time on a toolbar.
  10917. - Refactory all properties and methods to use ToolBarItem.
  10918. * ToolBarButton.cs:
  10919. - Remove all propeties and methods that is now in ToolBarItem.
  10920. - Rectangle propery now gets the rectangle from first ToolBarItem to
  10921. mimic win32 behavior.
  10922. - Size calculation and layout methods also removed.
  10923. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  10924. ToolBarItem instead of ToolBarButton to right drawing buttons when
  10925. same button/separator was added more than one time to ToolBar.
  10926. * ThemeNice.cs: Same as above.
  10927. 2007-03-15 Andreia Gaita <[email protected]>
  10928. * XplatUIX11.cs: Fire extra MouseMove events right after
  10929. MouseDown and MouseUp, emulating win32's <censored> behaviour
  10930. for apps that rely on it.
  10931. 2007-03-15 Jackson Harper <[email protected]>
  10932. * TextControl.cs:
  10933. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  10934. it is drawn on the controls client window and there is no NC
  10935. area.
  10936. - Set the background color to gray on 2.0 when we are readonly.
  10937. 2007-03-15 Chris Toshok <[email protected]>
  10938. [ Fixes bug #81144 ]
  10939. * XplatUIX11.cs: implement VirtualScreen independently of
  10940. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  10941. property.
  10942. 2007-03-15 Chris Toshok <[email protected]>
  10943. * Hwnd.cs: add an internal field for the cached_window_state.
  10944. * XplatUIX11.cs: cache the window state, invalidating the cache
  10945. (and thus re-querying the X server) only when we see an update to
  10946. the _NET_WM_STATE property.
  10947. 2007-03-15 Chris Toshok <[email protected]>
  10948. * BindingSource.cs: get a lot of the unit tests working.
  10949. 2007-03-15 Jonathan Pobst <[email protected]>
  10950. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  10951. 0 instead of just bounds > 0. [Fixes bug #80912]
  10952. 2007-03-15 Jonathan Pobst <[email protected]>
  10953. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  10954. and methods.
  10955. 2007-03-15 Ivan N. Zlatev <[email protected]>
  10956. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  10957. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  10958. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  10959. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  10960. 2007-03-15 Chris Toshok <[email protected]>
  10961. [ Fixes #81101 ]
  10962. * Control.cs: add Ivan's fix for 81101, with a slight modification
  10963. - you can set control.Target to null.
  10964. 2007-03-14 Jonathan Pobst <[email protected]>
  10965. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  10966. HideDropDown, use Hide instead to prevent an NRE.
  10967. [Fixes bug #81147]
  10968. 2007-03-14 Jackson Harper <[email protected]>
  10969. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  10970. to calculate the document before the handle is created, in some
  10971. cases. (Actually just one case).
  10972. 2007-03-14 Jackson Harper <[email protected]>
  10973. * TextBoxBase.cs: Need to display the caret after letting the base
  10974. wndproc handle the focus methods, because the caret display
  10975. methods check the focus state.
  10976. - Try to display the caret after updating it's position with SelectWord.
  10977. - Don't need to do an immediate update on this recalc, since there
  10978. will be an invalidate anyways.
  10979. 2007-03-14 Jackson Harper <[email protected]>
  10980. * TreeView.cs: Some workarounds so that we can match event order a
  10981. little better.
  10982. 2007-03-14 Gert Driesen <[email protected]>
  10983. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  10984. #80803. Avoid NullReferenceException when Control does not have
  10985. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  10986. event a single time. Only draw error icon when control is created and
  10987. visible. Fixes failing unit tests.
  10988. 2007-03-14 Andreia Gaita <[email protected]>
  10989. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  10990. Selecting events. Fire Leave and Enter events when changing tabs.
  10991. 2007-03-14 George Giolfan <[email protected]>
  10992. * TreeView.cs: Add TreeViewNodeSorter.
  10993. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  10994. 2007-03-14 Chris Toshok <[email protected]>
  10995. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  10996. removed earlier and I had him add back it. It turns out metacity
  10997. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  10998. just doesn't redraw the window titlebar until you resize the
  10999. window. This also means we aren't recreating the entire window
  11000. hierarchy on X when you change this property. And it looks better
  11001. on windows, too.
  11002. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  11003. * ListViewItem.cs:
  11004. * ListView.cs: Collecting selection information
  11005. is now done in SelectedIndexCollection rather than in
  11006. SelectedListViewItemCollection. This is done so we can
  11007. have the selection information code in one single place
  11008. (virtual mode selection information entirely depends on
  11009. SelectedIndexCollection).
  11010. 2007-03-13 Miguel de Icaza <[email protected]>
  11011. * ErrorProvider.cs: Add stubs for ISupportInitialize
  11012. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  11013. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  11014. in the right order with the right values, from the Checked property,
  11015. just as MS does (instead of triggering them from ListView).
  11016. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  11017. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  11018. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  11019. the correct handler in OnItemCheck method (ItemCheckEventHandler
  11020. instead of EventHandler). This used to throw an InvalidCastException.
  11021. 2007-03-13 Jackson Harper <[email protected]>
  11022. * TextBoxBase.cs: Calculate the document before the handle is
  11023. created, so there isn't an extra invalidate called.
  11024. 2007-03-13 Jonathan Pobst <[email protected]>
  11025. * Form.cs: Don't set owner in ShowDialog until we are sure
  11026. that we aren't going to throw an exception. [Fixes bug #80773]
  11027. 2007-03-12 George Giolfan <[email protected]>
  11028. * TreeView.cs: Make it compile.
  11029. 2007-03-12 Jonathan Pobst <[email protected]>
  11030. * Control.cs: Another place we don't call SizeFromClientSize.
  11031. * Form.cs: Another place we don't call SizeFromClientSize.
  11032. [Fixes bug #81125]
  11033. 2007-03-12 Jackson Harper <[email protected]>
  11034. * TreeView.cs: Basically emulating some strangness here with
  11035. exanding nodes and setting node positions when windows aren't
  11036. created.
  11037. - Also attempting to walk the node tree less than previously, and
  11038. just use visible order calculations for determining offsets.
  11039. - oops made scrolling backwards.
  11040. * TreeNode.cs: We need to start nodes with a zero visible order,
  11041. because the order calcs are based on the first nodes order.
  11042. 2007-03-12 Jonathan Pobst <[email protected]>
  11043. * Form.cs: Don't exit the program if RecreateHandle is called on
  11044. the main form.
  11045. 2007-03-12 Chris Toshok <[email protected]>
  11046. * XEventQueue.cs: remove the use of PostQuitState.
  11047. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  11048. WM_QUIT message in GetMessage, return false (and if we're in the
  11049. nested WaitForHwndMessage, repost the WM_QUIT message).
  11050. 2007-03-12 Jonathan Pobst <[email protected]>
  11051. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  11052. or the MaximizeBox properties. [Part of bug #80640]
  11053. 2007-03-12 Everaldo Canuto <[email protected]>
  11054. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  11055. no links.
  11056. 2007-03-12 Jonathan Pobst <[email protected]>
  11057. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  11058. instead of visible.
  11059. 2007-03-12 Gert Driesen <[email protected]>
  11060. * FileDialog.cs: Use text of File name combobox to determine what
  11061. files the user selected. Added tokenizer to parse the file names.
  11062. Fixes bug #81123.
  11063. 2007-03-12 Jonathan Pobst <[email protected]>
  11064. * Control.cs: We can't call SizeFromClientSize in the constructor,
  11065. but we still need to do the same work, so make an internal version.
  11066. [Fixes bug #80621]
  11067. 2007-03-12 Jackson Harper <[email protected]>
  11068. * TreeView.cs:
  11069. * TreeNode.cs:
  11070. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  11071. IsExpanded.
  11072. 2007-03-12 Jackson Harper <[email protected]>
  11073. * TextBoxBase.cs: Now that the handles are being created a little
  11074. later, we need to make sure that the document is recalculated when
  11075. the handle is created.
  11076. 2007-03-11 Everaldo Canuto <[email protected]>
  11077. * Theme.cs: GetLinkFont abstract method added.
  11078. * LinkLabel.cs:
  11079. - Remove CalcTrimRectangle, no longer needed.
  11080. - Factor also remove, position issues must be fixed in libgdiplus.
  11081. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  11082. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  11083. care about font used to draw links.
  11084. - Set TabStop to true when control is "Selectable", control is selectable
  11085. when have one or more links. Fixes #80501 (test case is also added).
  11086. - Set the LinkArea values after links change, LinkArea values must be
  11087. based in first link position and size, a test case was created.
  11088. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  11089. the attribute must be true LinkArea.Length > 0. The same was applied to
  11090. TabStop.
  11091. * ThemeWin32Classic.cs:
  11092. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  11093. in draw method.
  11094. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  11095. color change.
  11096. - Draw focus rectangle for every parts focused, including parts that
  11097. is on another line, its because regions returns various rectangles
  11098. and not only one. Needed to mimic W32 look.
  11099. - Uses Graphics.Clip to delimite region painted, it mean that now
  11100. complete text is passed to DrawString, with this we solve layout
  11101. issues without create another text renderer.
  11102. - Uses Region.Intersect to fix some flickers problems, now only needed
  11103. parts will redrawed.
  11104. - This changes fixes #79614 and some other unreported issues, on Linux
  11105. some layout problems still remain, the problem is under
  11106. MeasureCharacterRanges but it is an libgdiplus bug.
  11107. 2007-03-10 Gert Driesen <[email protected]>
  11108. * TextBox.cs: Set for foreground color.
  11109. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  11110. this is already done in Control.
  11111. 2007-03-10 Jackson Harper <[email protected]>
  11112. * TextBox.cs: Set the background color, but reset the
  11113. backcolor_set flag which is just for the user setting the
  11114. background color.
  11115. 2007-03-09 Chris Toshok <[email protected]>
  11116. * Control.cs: really remove the call to XplatUI.SetVisible from
  11117. CreateHandle(), like I said I did when I merged the branch.
  11118. * BindingSource.cs: implement some more of this stuff.
  11119. 2007-03-09 Jackson Harper <[email protected]>
  11120. * TextBox.cs: Don't explicitly set our background colors.
  11121. * TextControl.cs:
  11122. * TextBoxBase.cs: Draw readonly text.
  11123. - Need to invalidate when backcolor or readonly are changed.
  11124. 2007-03-09 Jackson Harper <[email protected]>
  11125. * TextBoxBase.cs: Don't set the forecolor until the handle is
  11126. created.
  11127. - Do not raise OnPaint, and removed some old debug code.
  11128. 2007-03-09 George Giolfan <[email protected]>
  11129. * ScrollableControl.cs: Fix mouse wheel scrolling.
  11130. 2007-03-09 Jonathan Pobst <[email protected]>
  11131. * Control.cs: Wire up MouseDoubleClick event.
  11132. 2007-03-09 Jonathan Pobst <[email protected]>
  11133. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  11134. top or bottom.
  11135. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  11136. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  11137. item is added. This logic was moved to ToolStrip.OnItemAdded.
  11138. [Fixes bug #81090]
  11139. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11140. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  11141. 2007-03-08 Jackson Harper <[email protected]>
  11142. * TreeView.cs: Show the correct image for selected node (this used
  11143. to work, not sure how the code got deleted). Also implemented 2.0 feature
  11144. SelectedImageKey.
  11145. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11146. * ListView.cs:
  11147. * ListViewItem.cs: Cache index in items when retrieving them
  11148. in VirtualMode.
  11149. 2007-03-08 Jonathan Pobst <[email protected]>
  11150. * ToolStripItem.cs: Don't return the explicit_size if we are using
  11151. AutoSize. Fixes invalidation issue when user has explicitly set a
  11152. size and has AutoSize = true.
  11153. 2007-03-08 Jonathan Pobst <[email protected]>
  11154. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  11155. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11156. * DataGridView.cs: Remove event handler from DataView when a
  11157. DataTable is used as DataSource.
  11158. 2007-03-08 Jonathan Pobst <[email protected]>
  11159. * Control.cs: Create internal setter for client_size to allow it to be
  11160. set without triggering resizing code.
  11161. * Form.cs: Calculate client_size in constructor, only change client_size
  11162. in FormBorderStyle property if Handle has been created.
  11163. [Fixes #80574, #80791]
  11164. 2007-03-08 George Giolfan <[email protected]>
  11165. * SystemInformation.cs: Add TerminalServerSession.
  11166. 2007-03-07 Jonathan Pobst <[email protected]>
  11167. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  11168. TreeView code.
  11169. 2007-03-07 Jonathan Pobst <[email protected]>
  11170. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  11171. Handle before we were supposed to. Now checks ActivateOnShow property
  11172. in Control.
  11173. * Control.cs: Add internal ActivateOnShow property.
  11174. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  11175. for ActivateOnShow.
  11176. * Hwnd.cs Remove no longer needed no_activate field.
  11177. 2007-03-07 Jackson Harper <[email protected]>
  11178. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  11179. 2.0 properties
  11180. * DrawTreeNodeEventHandler.cs: Add
  11181. * DrawTreeNodeEventArgs.cs: Correct default value.
  11182. 2007-03-07 Chris Toshok <[email protected]>
  11183. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  11184. to be called before NativeWindow.WndProc. Put the HwndCreating
  11185. magic there to hook up our Hwnd's to handles.
  11186. 2007-03-07 Gert Driesen <[email protected]>
  11187. * DataGridView.cs: Comment out debug code.
  11188. 2007-03-07 Chris Toshok <[email protected]>
  11189. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  11190. to make the rest of the world happy]
  11191. * Control.cs (CreateHandle): there's no need to call
  11192. XplatUI.SetVisible here, it's effectively done by
  11193. XplatUI.CreateWindow on X now, and always was on windows.
  11194. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  11195. shortcircuit out of the loop if we have a message loop running on
  11196. this thread.
  11197. [Changelog from merge]
  11198. 2007-03-05 Chris Toshok <[email protected]>
  11199. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  11200. causes handle creation.
  11201. 2007-02-28 Chris Toshok <[email protected]>
  11202. * ApplicationContext.cs: Add a flag to make sure we only raise the
  11203. ThreadExit event once (ExitThreadCore can be indirectly called
  11204. from a few places.) I don't like the additional flag, but it
  11205. makes the event ordering/count correct.
  11206. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  11207. without locking the collection. An enumerator doesn't give us any
  11208. protection from modification anyway. Lock the thread hash and
  11209. replace the complicated enumerator loop with a foreach.
  11210. (Application.CloseForms): make internal so it can be called from
  11211. ApplicationContext. This should probably be moved to MWFThread.
  11212. (Application.ExitThread): don't call MWFThread.Current.Exit()
  11213. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  11214. when the runloop exits (in response to WM_QUIT.)
  11215. (Application.RunLoop): add a comment (and check) for
  11216. context.MainForm being null after setting context.MainForm.Visible
  11217. = true. This is because you're perfectly free to dispose of a
  11218. form in VisibilityChanged. Chalk this up to another case where we
  11219. need to synchronously generate WM_ACTIVATE from Control.Show.
  11220. Also, add handling for WM_QUIT here so we'll exit the loop.
  11221. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  11222. fact that we don't wait if we're only unmapping the whole_window
  11223. makes me a bit nervous, but it doesn't seem to cause any problems
  11224. yet.
  11225. also, add a comment about the stupid, broken and wrong resetting
  11226. of PostQuitState to false in GetMessage().
  11227. In PostQuitMessage, we need to add a WM_QUIT message to the
  11228. thread's queue. We use the FosterParent to get the right
  11229. handle/hwnd/queue.
  11230. Lastly, in SetVisible, we need to unmap both windows, since the
  11231. waiting only happens when we're unmapping the client window. So
  11232. now, the *only* time we unmap just the whole_window is in the hack
  11233. for resizing a control to 0,0.
  11234. 2007-02-21 Chris Toshok <[email protected]>
  11235. * Application.cs (CloseForms): rewrite this so that we don't
  11236. modify the list while we're traversing it.
  11237. 2007-02-20 Chris Toshok <[email protected]>
  11238. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  11239. of OnHandleCreated.
  11240. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  11241. handle is created. otherwise we'll create it here.
  11242. (VerticalScrollEvent): same here.
  11243. * Application.cs (CloseForms): call Form.Dispose, don't post
  11244. WM_CLOSE_INTERNAL.
  11245. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  11246. here. Application should Dispose() of the Form's.
  11247. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  11248. WM_DESTROY as well.
  11249. (MapWindow,UnmapWindow): only actually do the waiting for
  11250. SHOWWINDOW if the control we're dealing with is a Form.
  11251. (CreateWindow): if the control isn't a form, SendMessage
  11252. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  11253. * Control.cs (SetVisibleCore): always use is_visible here, not
  11254. value. If we use value, we can end up re-setting something
  11255. visible if, for instance, you do Control.Hide() in a delegate
  11256. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  11257. 2007-02-20 Chris Toshok <[email protected]>
  11258. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  11259. the message we need. PeekMessage returning false should not be a
  11260. condition under which we exit the loop.
  11261. 2007-02-15 Chris Toshok <[email protected]>
  11262. * Control.cs (Refresh): only refresh if we've got a handle and are
  11263. visible.
  11264. (CreateAccessibilityInstance): CreateControl() here.
  11265. (UpdateChildrenZOrder): complicate the code loop even more by
  11266. taking into account controls that haven't had their handle
  11267. created, and those that aren't visible. But on the flip side,
  11268. simplify the code by splitting it into two loops. one which
  11269. builds up the list of child controls we're interested in, and the
  11270. other that sets the z order of those children.
  11271. 2007-02-14 Chris Toshok <[email protected]>
  11272. * Control.cs: Control.AccessibilityObject causes the control to be
  11273. created, not just the handle.
  11274. 2007-02-14 Chris Toshok <[email protected]>
  11275. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  11276. problem on X where a window might have its handle created (and be
  11277. visible) while the window is unmapped. calling XConfigureWindow
  11278. on an unmapped window is bad, and generates X errors.
  11279. 2007-02-13 Chris Toshok <[email protected]>
  11280. * Control.cs (CreateHandle): don't loop over our children setting
  11281. their parent here. do it when in WndProc when we're shown.
  11282. (UpdateChildrenZOrder): make this internal so we can call it from
  11283. ScrollableControl.
  11284. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  11285. creating its handle. Also, remove the calls to PerformLayout from
  11286. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  11287. OnVisibleChanged only seems to be called directly here for the
  11288. toplevel control. It's propagated down the window hierarchy by
  11289. calls to child.OnParentVisibleChanged.
  11290. (OnVisibleChanged): don't do layout here - it's done (oddly
  11291. enough, according to a glance at stack traces on ms.net..) in
  11292. ScrollableControl.
  11293. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  11294. z order of our children before calling PerformLayout.
  11295. 2007-02-12 Chris Toshok <[email protected]>
  11296. [big change, fixes #80020]
  11297. * AccessibleObject.cs: we need to make owner internal again to fix
  11298. some of ControlAccessibleObject.
  11299. * Control.cs: lots of changes here. add support for WM_CREATE,
  11300. for which we generate OnHandleCreated. Remove the OnHandleCreated
  11301. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  11302. we create child controls. leave the MonoTODO's for the
  11303. accessibility calls, but fix the exceptions so the tests pass.
  11304. Add the InvalidOperationExceptions to Invoke methods, and remove a
  11305. couple of InvokeInternal methods we aren't using.
  11306. Also, add a couple of CreateHandle calls in places where we know
  11307. the handles are being created but our code doesn't reference
  11308. .Handle.
  11309. Make SetVisibleCore call OnVisibleChange if the handle isn't
  11310. created. If the handle is created, we rely on XplatUI.SetVisible
  11311. generating the event synchronously.
  11312. Lastly, make sure we don't use this.Handle inside CreateHandle,
  11313. because we can call back into client (and that code can dispose of
  11314. the control).
  11315. * XplatUIStructs.cs: misc/cleanup.
  11316. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  11317. although we don't populate the wParam properly.
  11318. (CreateWindow): generate WM_CREATE.
  11319. (MapWindow,UnmapWindow): make these calls synchronous, at great
  11320. performance expense (particularly in the unmap case), to match
  11321. win32 behavior.
  11322. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  11323. to call it.
  11324. (set_MdiParent): don't recreate the handle unless it's been
  11325. created already.
  11326. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  11327. it's created.
  11328. * NativeWindow.cs: this is probably the weirdest part of the
  11329. patch. We need a way to link up the window being created to the
  11330. WM_CREATE message. Since we can only be creating one window at a
  11331. time on a given thread, we keep track of a per-thread reference so
  11332. we can dispatch it properly. We also need to keep track of the
  11333. Hwnd currently being created so that the win32 backend doesn't
  11334. have problems.
  11335. * XplatUIWin32.cs: a similar change to the one we made in
  11336. NativeWindow.cs.
  11337. 2007-03-07 Jonathan Pobst <[email protected]>
  11338. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  11339. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  11340. to draw the menu shortcut string.
  11341. 2007-03-07 Jackson Harper <[email protected]>
  11342. * TreeNode.cs: Add the 2.0 collapse method.
  11343. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11344. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  11345. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11346. * DataGridView.cs: Change DataSource will clear column and row
  11347. lists. Call Invalidate() to reflect DataSource change.
  11348. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11349. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  11350. and a new row is added to it.
  11351. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11352. * DataGridView.cs: Add columns when DataSource is en empty list but
  11353. is a System.Data.DataView (from a System.Data.DataTable).
  11354. 2007-03-06 Andreia Gaita <[email protected]>
  11355. * Label.cs: Implement AutoEllipsis (2.0)
  11356. 2007-03-06 Jackson Harper <[email protected]>
  11357. * TreeView.cs: Implement 2.0 TopNode setter property.
  11358. - Use a local var instead of the skipped_nodes field for computing
  11359. how many nodes to skip. Otherwise we won't scroll because the
  11360. valuechanged handler checks if skipped_nodes is equal to the new
  11361. value.
  11362. - Implement 2.0 Sort method.
  11363. - Add useless 2.0 DoubleBuffer property
  11364. - Implement 2.0 LineColors property. Lets you change the color of
  11365. the lines in the tree. Terribly useful for creating non cohesive
  11366. desktops.
  11367. - Implement 2.0 image key feature.
  11368. 2007-03-06 Jackson Harper <[email protected]>
  11369. * TreeView.cs: We can't get the bounds of the nodes before raising
  11370. the AfterSelect event, because that event could change the node's
  11371. bounds (scrolling, font change, etc).
  11372. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11373. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  11374. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  11375. update window styles. In CreateParams us VisibleInternal instead of
  11376. VIsible to get the actual visible flag set for this form.
  11377. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  11378. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  11379. handle the case when the form is already maximized, in which case
  11380. it should be restored. Fixes #81043.
  11381. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11382. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  11383. 2007-03-05 Jackson Harper <[email protected]>
  11384. * TreeViewHitTestInfo.cs: implement.
  11385. 2007-03-05 Jackson Harper <[email protected]>
  11386. * InternalWindowManager.cs: class status fix.
  11387. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  11388. * InternalWindowManager.cs: All windows that have a parent
  11389. are confined to their parent when they're being moved.
  11390. Fixes #80822.
  11391. 2007-03-04 Gert Driesen <[email protected]>
  11392. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  11393. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  11394. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11395. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  11396. buttons invisible before deciding which ones should be visible
  11397. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  11398. an unused variable.
  11399. * InternalWindowManager.cs: Remove warning.
  11400. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  11401. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  11402. to throw an InvalidOperationException is virtual mode is being used.
  11403. 2007-03-02 Jonathan Pobst <[email protected]>
  11404. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  11405. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  11406. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  11407. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  11408. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  11409. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  11410. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11411. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  11412. driver.KeyboardDelay from XplatUI.KeyboardDelay
  11413. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  11414. (patch by Sergey Volk)
  11415. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11416. * ToolWindowManager.cs: Added, contains logic for
  11417. tool windows.
  11418. * CreateParams.cs: Add a few helper methods and an
  11419. internal variable to know which control the CreateParams belongs
  11420. to.
  11421. * Control.cs: Call Form.ChangingParent when the
  11422. parent is about to be changed.
  11423. * XplatUIX11.cs: DeriveStyles (): Set
  11424. caption_height for all windows that have captions and are children.
  11425. Update to use ToolWindowManager instead of InternalWindowManager
  11426. for ToolWindows.
  11427. * XplatUIWin32.cs: Set fake window styles for all
  11428. windows that have window managers.
  11429. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  11430. now duplicated for mdi windows when they are
  11431. maximized, first for the buttons the window itself has, then for
  11432. the buttons that appear in the menu bar. Makes things a little
  11433. easier). Updated UpdateWindowDecorations, SetWindowState and the
  11434. mouse eventhandlers accordingly.
  11435. * Form.cs: Add ChangingParent (), contains the
  11436. logic of what should happen when the parent changes. In MdiParent
  11437. don't set things that ChangingParent () is doing. When handling
  11438. WM_CLOSE, we can close the form if there are any other modal forms
  11439. and the current form is a descendent of the modal form.
  11440. * InternalWindowManager.cs: A lot of refactoring,
  11441. the title buttons are now extracted to a separate container class
  11442. that takes care of all button code (clicks, tooltips, etc). Moved
  11443. Iconic|Maximized|Normal Bounds properties to this class from
  11444. MdiWindowManager, so that the window state logic can succeed for
  11445. other than mdi wm's. Implemented general window state change logic.
  11446. Moved CreateButtons to ThemeWin32Classic, since the theme might
  11447. override which buttons are available when as well as the exact
  11448. location.
  11449. * FormWindowManager.cs: Added, contains logic for
  11450. normal forms.
  11451. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  11452. which buttons go where (and if they are at all visible).
  11453. Removed special handling of maximized windows, since they aren't special.
  11454. In DrawManagedWindowDecorations don't try to draw the text if it is
  11455. empty.
  11456. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  11457. use whatever the wm gives us.
  11458. 2007-03-02 Jonathan Pobst <[email protected]>
  11459. * ButtonBase.cs: Add 2.0 properties.
  11460. * Button.cs: Override Draw for 2.0.
  11461. * Control.cs: Add Entered and Selected properties.
  11462. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  11463. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  11464. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  11465. buttons.
  11466. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  11467. 2007-03-01 Jonathan Pobst <[email protected]>
  11468. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  11469. 2007-03-01 Jonathan Pobst <[email protected]>
  11470. * XplatUIWin32.cs: Register a new class with Windows each time we get
  11471. a new ClassStyle. [Fixes bugs #79432, #80817]
  11472. * Controls.cs: Set the correct ClassStyle in CreateParams.
  11473. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  11474. 2007-03-01 Gert Driesen <[email protected]>
  11475. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  11476. ColumnReordered event must not be signaled when modifying DisplayIndex
  11477. of a ColumnHeader. Added internal ReorderColumns method which takes
  11478. care of drawing, and updating the internal DisplayIndex of the
  11479. ColumnHeader. Added AddColumn method which is invoked from
  11480. ColumnHeaderCollection when adding or inserting columns, and which
  11481. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  11482. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  11483. Recalculated dispay indices after removing a ColumnHeader.
  11484. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  11485. match MS. Allows last display index to be returned after ListView
  11486. is disposed. Update actual location of ColumnHeader when DisplayIndex
  11487. is modified.
  11488. 2007-03-01 Everaldo Canuto <[email protected]>
  11489. * LinkLabel.cs: Improve CalcTrimRectangle.
  11490. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  11491. 2007-02-28 Everaldo Canuto <[email protected]>
  11492. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  11493. get rectangle as a result value.
  11494. 2007-02-28 Everaldo Canuto <[email protected]>
  11495. * LinkLabel.cs: Theres some diferences between rectangle return from
  11496. MeasureCharacterRanges and the area used for DrawString to fix this
  11497. CalcMeasurementFactor method was created, it calcules the diferences
  11498. to be use later to adjust rectangle in draw operations. Fixes #80473.
  11499. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  11500. to adjust draw rectangle.
  11501. 2007-02-27 Everaldo Canuto <[email protected]>
  11502. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  11503. text and some other changes to reduce and optimize source code.
  11504. 2007-02-27 Jonathan Pobst <[email protected]>
  11505. * RadioButton.cs: Implement 2.0 event.
  11506. * RelatedImageListAttribute.cs: Implement new class.
  11507. 2007-02-27 Everaldo Canuto <[email protected]>
  11508. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  11509. 2007-02-27 Jonathan Pobst <[email protected]>
  11510. * CheckBox.cs: Implement 2.0 functionality.
  11511. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  11512. * ListView.cs: Refactor Add and AddRange methods of
  11513. ListViewItemCollection, to not update the ListView
  11514. everytime an item is added in AddRange. Also move the update
  11515. code to a new CollectionChanged method, and call it
  11516. from other methods that need it as well (this should also fix some
  11517. bugs when Sorting is used).
  11518. 2007-02-27 Jackson Harper <[email protected]>
  11519. * TextControl.cs: Try to never let the caret stay in a non-text
  11520. tag.
  11521. * TextBoxBase.cs: Update the caret.
  11522. 2007-02-26 Jonathan Pobst <[email protected]>
  11523. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  11524. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  11525. delete POINT structure, duplicate of one in XplatUIStructs.
  11526. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  11527. 2007-02-26 Gert Driesen <[email protected]>
  11528. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  11529. edit box since otherwise the Label would immediately be set (even if
  11530. the user did not modify the label). In OnKeyDown set Handled to true
  11531. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  11532. columns that are to be removed. In ListViewItemCollection unlink items
  11533. that are to be removed.
  11534. 2007-02-24 Jonathan Pobst <[email protected]>
  11535. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  11536. it when we are done. [Fixes bug #80949]
  11537. 2007-02-23 Jonathan Pobst <[email protected]>
  11538. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  11539. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  11540. * ListView.cs: I forgot to commit the changes for ListView
  11541. in my previous patch.
  11542. 2007-02-23 Jonathan Pobst <[email protected]>
  11543. * Clipboard.cs: Partially implement an overload of SetDataObject.
  11544. * Form.cs: Implement ShowWithoutActivation.
  11545. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  11546. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  11547. This is a first set of changes to make the Virtual mode works,
  11548. by avoiding the retrieval of ListViewItem instances until
  11549. draw time.
  11550. * ListView.cs: Store item position in the ListView instead of the
  11551. ListViewItem, this way we don't request the Bounds property of
  11552. ListViewItem inside the ListView calculations, as well as cache the item
  11553. size in item_size field. Store indexes instead of ListViewItem
  11554. instances in the matrix used by icon view. Add a ItemMatrixLocation
  11555. struct to hold the row and col info of the matrix info.
  11556. * ListViewItem.cs: Don't store the location anymore, and only cache
  11557. the rectangles for GetBounds. Use the ListView.GetItemLocation
  11558. method to retrieve the actual location.
  11559. 2007-02-23 Jonathan Pobst <[email protected]>
  11560. * TextRenderer.cs: Add clipping support, thanks to George.
  11561. [Fixes bug #80949]
  11562. 2007-02-23 Gert Driesen <[email protected]>
  11563. * ListViewItem.cs: Cancel label edit when item is removed from
  11564. ListView.
  11565. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  11566. event before the edit textbox is displayed. Added CancelEdit method
  11567. which is used end to editing while ignoring the value set by the
  11568. user. In EndEdit, set focus to ListView to avoid losing focus to
  11569. other controls. In ListViewItemCollection.Clear, cancel editing of
  11570. any of the items. In Remove, cancel editing of item being removed.
  11571. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  11572. 2007-02-23 Gert Driesen <[email protected]>
  11573. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  11574. bug #80948.
  11575. 2007-02-23 Everaldo Canuto <[email protected]>
  11576. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  11577. compatible with non X11 systems. Fixes #80901.
  11578. 2007-02-23 Gert Driesen <[email protected]>
  11579. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  11580. whether the item should be unselected and reselect. We do no want this
  11581. when we're starting to edit the label. Do not fire the
  11582. SelectedIndexChanged event from ListView when its already been fired
  11583. by modifying ListViewItem.Selected. Fixes bug #80943.
  11584. 2007-02-23 Jonathan Pobst <[email protected]>
  11585. * TextRenderer.cs: Previos commit logic was backwards.
  11586. 2007-02-23 Jonathan Pobst <[email protected]>
  11587. * TextRenderer.cs: Don't add padding on MeasureText if we were
  11588. sent the NoPadding flag.
  11589. 2007-02-23 Everaldo Canuto <[email protected]>
  11590. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  11591. after DrawButton. To prevent image overlaps button borders SetClip and
  11592. ResetClip added before and after draw image. Fixes #79129.
  11593. 2007-02-23 Everaldo Canuto <[email protected]>
  11594. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  11595. window size, it fix problem when you run under win32 that theres
  11596. Size diferent than ClientSize. Also fix controls size and positions
  11597. to mimic Win32. Fixes #80837.
  11598. 2007-02-22 Everaldo Canuto <[email protected]>
  11599. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  11600. menu area to fix some problems for non X11 systems. Fixes #80613.
  11601. 2007-02-22 Jackson Harper <[email protected]>
  11602. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  11603. even if it doesn't have any children.
  11604. 2007-02-22 Jackson Harper <[email protected]>
  11605. * TreeView.cs: Calculate the top node 'on the fly', this
  11606. eliminates issues where you need to click on the tree before
  11607. scrolling it to get the top node computed correctly.
  11608. * TreeNodeCollection.cs: We don't need to mess with the top node
  11609. anymore.
  11610. 2007-02-22 Jackson Harper <[email protected]>
  11611. * DataGridViewRow.cs: Fix typo so height can actually be set.
  11612. Patch by Peter Grimm.
  11613. 2007-02-22 Gert Driesen <[email protected]>
  11614. * FileDialog.cs: Fixed support for renaming files and directories.
  11615. * ListView.cs: Do not lose focus when edit is canceled. Process
  11616. Escape as regular key (to prevent closing of dialogs).
  11617. 2007-02-22 Gert Driesen <[email protected]>
  11618. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  11619. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  11620. 2007-02-22 Gert Driesen <[email protected]>
  11621. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  11622. did not modify label.
  11623. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  11624. modified the text. Reset Label when user presses Escape in edit mode.
  11625. Move focus to ListView after having cancelled or finished editing the
  11626. label.
  11627. 2007-02-21 Gert Driesen <[email protected]>
  11628. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  11629. private. Clear textbox when Text is set to null and SelectedIndex is
  11630. already -1.
  11631. * FileDialog.cs: Removed unnecessary initializations. Removed
  11632. workarounds for ComboBox bugs that are now fixed. Modified
  11633. DefaultExt, InitialDirectory and Title property to change null to
  11634. zero-length string in getters. Avoid directly accessing fields.
  11635. 2007-02-20 Jackson Harper <[email protected]>
  11636. * TextControl.cs: Remove RecalAlignments call, that was some
  11637. debugging leftovers.
  11638. - Don't use the line indent when we shouldn't.
  11639. * RichTextBox.cs: Add support for paragraph left indents.
  11640. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  11641. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  11642. Seems like the class status pages doesn't catch params differences.
  11643. 2007-02-19 Gert Driesen <[email protected]>
  11644. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  11645. 2007-02-19 Gert Driesen <[email protected]>
  11646. * ComboBox.cs: Setting Text should have no effect if item text of
  11647. selected item exactly matches value. First lookup text using
  11648. case-sensitive comparison, and fallback to case-insensitive comparison.
  11649. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  11650. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  11651. paramname to match MS. Restart from first item if string is not found
  11652. after startIndex. Fixed paramname of ArgumentNullException that is
  11653. thrown for null value in ObjectCollection.Contains.
  11654. 2007-02-19 Everaldo Canuto <[email protected]>
  11655. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  11656. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11657. * ListControl.cs: In SelectedValue use value.Equals to compare for
  11658. equality instead of ==, otherwise it will fail for strings.
  11659. Fixes #80794.
  11660. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11661. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  11662. since the caret won't show up unless ShowSelection is true.
  11663. Fixes #80795.
  11664. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11665. * Application.cs: When disabling all forms but the main form, do not
  11666. disable any descendants of the main form (such as mdi children or
  11667. other parented forms). Fixes #80822 on Windows.
  11668. * Form.cs: If we have a parent, set the WS_CHILD style.
  11669. * Control.cs: Update the window styles if the control whose parent has
  11670. changed is a form (the WS_CHILD style has to be switched).
  11671. 2007-02-19 Everaldo Canuto <[email protected]>
  11672. * XplatUIStructs.cs: MsgUIState structure added.
  11673. 2007-02-18 Gert Driesen <[email protected]>
  11674. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  11675. profile, do not check filename(s) for illegal character if filename(s)
  11676. were set non-interactively but always check on 1.0 profile. Fixed NRE
  11677. in DefaultExt and only strip off first leading dot. Improve exception
  11678. message when invalid Filter is set. Do not ignore InitialDirectory if
  11679. it does no exist. Store specified Title, and if empty use default
  11680. title (depending on type of dialog). Added an internal DialogTitle
  11681. property for retrieving dialog title. Fixed logic of displayed dir to
  11682. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  11683. string as its buggy.
  11684. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  11685. FileName is a zero-length string (it can never be null). Override
  11686. DialogTitle property to set default title of dialog box.
  11687. * SaveFileDialog.cs: Override DialogTitle property to set default
  11688. title of dialog box.
  11689. 2007-02-18 Gert Driesen <[email protected]>
  11690. * FileDialog.cs: Modify default text of filename and filetype labels
  11691. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  11692. after we've updated the SelectedIndex. Fixes part of bug #80887.
  11693. * SaveFileDialog.cs: Set text of filetype label.
  11694. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  11695. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  11696. label field. Needed by latest Jackson's fixes for ListView.
  11697. 2007-02-16 Andreia Gaita <[email protected]>
  11698. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  11699. print preview images.
  11700. 2007-02-16 Jackson Harper <[email protected]>
  11701. * ListView.cs: Make AfterLabelEdit work correctly.
  11702. * FileDialog.cs: After changing the name of the folder, we have to
  11703. make sure that it is created, or that we pop up an error because
  11704. it already exists.
  11705. 2007-02-16 Jackson Harper <[email protected]>
  11706. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  11707. System.String are mapped to text.
  11708. - Handle dataobjects, getting all the possible formats out of them
  11709. - We dont need the drag event args before we give feedback. This
  11710. allows feedback cursors to be immediate before selections have
  11711. been converted.
  11712. 2007-02-16 Jackson Harper <[email protected]>
  11713. * TextBoxBase.cs: Modified the method for inserting images to
  11714. taking a line and position instead of tag and position.
  11715. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  11716. into the RTF file.
  11717. * TextControl.cs: Allow images to be inserted as the first tag of
  11718. a line.
  11719. - Fix some off by one issues when we assume the first tag is a
  11720. text tag, not an image tag.
  11721. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  11722. * ListView.cs: Set focus to ListView when ItemControl gets a
  11723. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  11724. Fixes part of #80467.
  11725. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  11726. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  11727. validate Text input (if null or empty string reset Value to default
  11728. value). Fixes #80830.
  11729. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  11730. * ListView.cs: Set owner as null for columns and items when
  11731. Dispose is invoked. Fixes #80607.
  11732. 2007-02-14 Jonathan Pobst <[email protected]>
  11733. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  11734. showing DropDowns, don't show a Grip when doing Flow layout.
  11735. [This fixes the toolbox in PDN 2.72.]
  11736. * ToolStripItem.cs: Add Anchor property and some internal properties to
  11737. reduces needed changes to FlowLayout.
  11738. * ToolStripOverflow.cs: Remove unused variable.
  11739. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  11740. use it in the layout calculations.
  11741. 2007-02-13 Everaldo Canuto <[email protected]>
  11742. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  11743. reported in #79640.
  11744. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  11745. size calculation.
  11746. 2007-02-13 Everaldo Canuto <[email protected]>
  11747. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  11748. MeasureString format, it can make button very large in some cases, it is
  11749. strange but is what win32 do.
  11750. 2007-02-13 Everaldo Canuto <[email protected]>
  11751. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  11752. size calculation.
  11753. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  11754. rendering, the value is based on MenuAccessKeysUnderlined.
  11755. 2007-02-13 Everaldo Canuto <[email protected]>
  11756. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  11757. for most themes.
  11758. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  11759. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  11760. and use MenuAccessKeysUnderlined instead.
  11761. 2007-02-13 Andreia Gaita <[email protected]>
  11762. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  11763. A selected control would not get a Focus call if:
  11764. - the default active control of the container is the same as
  11765. the one that was selected
  11766. - we are switching from one container to another
  11767. Under these conditions, the container being selected already has
  11768. an active_control, which is the same as the one being activated,
  11769. so set_ActiveControl would always return and not send the Focus
  11770. call. Fix to check if the currently active control of the container
  11771. is actually focused.
  11772. 2007-02-13 Jonathan Pobst <[email protected]>
  11773. * StatusStrip.cs: Implement the spring layout.
  11774. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  11775. always matches the host.
  11776. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  11777. and TextAfterImage.
  11778. 2007-02-13 Andreia Gaita <[email protected]>
  11779. * Control.cs: Code reorganization only.
  11780. - Reorganize the WndProc cases so that each case has it's own handling method,
  11781. to help with the no-line-numbering stack traces.
  11782. - Formatting changes (it's vstudio's fault, really :p)
  11783. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  11784. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  11785. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  11786. behaviour.
  11787. 2007-02-12 Jackson Harper <[email protected]>
  11788. * RichTextBox.cs:
  11789. * TextBox.cs: By default we have a non multiline document
  11790. - use the multiline property instead of the internal variable
  11791. * TextBoxBase.cs: Treat multiline and non multiline the same in
  11792. most places.
  11793. - Use the documents multiline flag instead of tracking it ourself
  11794. * TextControl.cs: Attempt at getting multiline to match MS
  11795. behavior. Lines now track an offset, which is either their X or Y
  11796. offset depending on whether or not we are in multiline mode.
  11797. - Update all the methods to understand that lines have an X value.
  11798. - Fix crash in Undo::Duplicate when empty lines are deleted.
  11799. 2007-02-12 Everaldo Canuto <[email protected]>
  11800. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  11801. code moved to properties PreferredHeight and PreferredWidth. It solve the
  11802. all problems when preferred sizes must be recalculated. Fixes #80801.
  11803. 2007-02-12 Everaldo Canuto <[email protected]>
  11804. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  11805. font height when compatible_text_rendering is false. Partially fix #80801.
  11806. 2007-02-09 Gert Driesen <[email protected]>
  11807. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  11808. 2007-02-09 Gert Driesen <[email protected]>
  11809. * Form.cs: Improved exception messages in ShowDialog.
  11810. 2007-02-09 Gert Driesen <[email protected]>
  11811. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  11812. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  11813. if not set. Fixes bug #80764. Avoid accessing current_settings field
  11814. directly.
  11815. 2007-02-08 Everaldo Canuto <[email protected]>
  11816. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  11817. false.
  11818. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  11819. public in 2.0 and for easy maintenance and dont break compatibility it is
  11820. internal in 1.1.
  11821. 2007-02-08 Jonathan Pobst <[email protected]>
  11822. * ToolStripItem.cs: Implement using images from ImageList.
  11823. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11824. * DateTimePicker.cs: Change default date-formatting culture from
  11825. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  11826. seems to be the way MS does it.
  11827. 2007-02-08 Andreia Gaita <[email protected]>
  11828. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  11829. (the 6 was cut off on the right side)
  11830. 2007-02-08 Jonathan Pobst <[email protected]>
  11831. * Form.cs: Tell MenuStrips to close when the form is clicked.
  11832. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  11833. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  11834. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  11835. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  11836. support for Overflow, where items that do not fit are automatically
  11837. reparented to a drop down menu.
  11838. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  11839. Also: fixes bug #80747.
  11840. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11841. * ComboBox.cs: Remove warning (unused code).
  11842. * ScrollableControl.cs: Remove warning for 1.1 profile.
  11843. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11844. * Form.cs: Remove a warning.
  11845. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11846. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  11847. 'g' specifier, not documented anywhere, but seems to always show up
  11848. as a single space (might have something to do with the DateTime 'g'
  11849. specifier, which is the era format, but since DateTimePicker can't
  11850. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  11851. won't crash if the format has an unmatched quote. Now shows
  11852. single-character formats correctly. Fixes #80744.
  11853. 2007-02-08 Jonathan Pobst <[email protected]>
  11854. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  11855. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  11856. 2007-02-07 Chris Toshok <[email protected]>
  11857. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  11858. background color. it overwrites the background image we've
  11859. already painted. Fixes #80599.
  11860. 2007-02-07 Chris Toshok <[email protected]>
  11861. * DataGrid.cs: return immediately from Edit() when there are no
  11862. columns. Fixes #80662.
  11863. 2007-02-07 Chris Toshok <[email protected]>
  11864. * MessageBox.cs: fix #80625. don't always show the Help button in
  11865. 2.0. use the displayHelpButton parameter to determine if we
  11866. should show it. Also, make the internal show_help field private.
  11867. 2007-02-07 Chris Toshok <[email protected]>
  11868. * Control.cs (SetVisibleCore): check in the proposed patch for
  11869. 80604, and set is_visible before calling CreateControl.
  11870. 2007-02-07 Jonathan Pobst <[email protected]>
  11871. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  11872. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  11873. on it.
  11874. 2007-02-06 Everaldo Canuto <[email protected]>
  11875. * MenuAPI.cs: hotkey_active internal field added, it is required because
  11876. we need to know when hotkeys must be draw, before this change a keystate
  11877. Navigating was used but we can have menu in navigating state without
  11878. hotkeys. Fixes #80694.
  11879. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  11880. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  11881. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  11882. corresponding events and methods to be internal for 1.1 profile and
  11883. public for 2.0 profile (required by SizeGrip).
  11884. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  11885. implicit control list). Don't set the size nor the location of the
  11886. SizeGrip anymore as it's not needed.
  11887. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  11888. draw directly on the captured control (fixes #80656). Removed
  11889. ShowGrip (it wasn't used anywhere), redraw (always true), added
  11890. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  11891. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  11892. be called from SizeGrip.
  11893. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  11894. * Timer.cs: Throw ArgumentException if Interval <= 0.
  11895. 2007-02-05 Jackson Harper <[email protected]>
  11896. * TreeView.cs: We need to check scrollbar visibility when window
  11897. visibility is updated, because non visible trees don't ever add
  11898. scrollbars.
  11899. * Cursor.cs: We want the override cursor to be reset to NULL when
  11900. we set current cursor to the default cursor.
  11901. 2007-02-05 Jackson Harper <[email protected]>
  11902. * TextControl.cs: Don't have crlfs when we are non multiline.
  11903. - Consolidate the line position.
  11904. 2007-02-05 Jackson Harper <[email protected]>
  11905. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  11906. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  11907. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  11908. handling LeaveNotify->NotifyUngrab in order to send
  11909. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  11910. after calling XUngrabPointer, so we call WindowUngrabbed directly
  11911. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  11912. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  11913. MouseCaptureChanged correctly. Also create handles if changing
  11914. Capture (matches MS behaviour).
  11915. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11916. * SizeGrip.cs: Make the last change 2.0 only.
  11917. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11918. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  11919. changes to initial size (fixes #80597).
  11920. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11921. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  11922. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11923. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  11924. background) and only allow dragging if enabled. This way the
  11925. sizegrip can be used to fill the open square that otherwise would
  11926. have been shown in the bottom right corner of ScrollableControl
  11927. when ScrollableControl is not suppose to support sizing.
  11928. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  11929. sizegrip is shown and enabled, and hook up with necessary events.
  11930. 2007-02-01 Chris Toshok <[email protected]>
  11931. * DataGridTextBoxColumn.cs: clean up the
  11932. GetFormattedString/GetColumnValueAtRow combination of functions.
  11933. Also fix UpdateUI, and the initial state of
  11934. IsInEditOrNavigateMode.
  11935. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  11936. aren't supposed to scroll the textbox here, we're supposed to
  11937. scroll the datagrid.
  11938. 2007-02-01 Chris Toshok <[email protected]>
  11939. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  11940. setting the position.
  11941. 2007-02-01 Chris Toshok <[email protected]>
  11942. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  11943. here, since the most recent focus fixes keep us from generating
  11944. the Leave event when our textbox gets focus.
  11945. (Edit): we should be passing null for the column style's
  11946. instantText parameter.
  11947. 2007-02-01 Jonathan Pobst <[email protected]>
  11948. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  11949. raised. Fixes menu text/icons not showing up in PDN.
  11950. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  11951. * Control.cs: Remove code in constructor that makes every
  11952. control with WS_CHILD set have initial location -1, -1.
  11953. 2007-01-31 Jackson Harper <[email protected]>
  11954. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  11955. XplatUIX11.
  11956. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  11957. 2007-01-31 Jackson Harper <[email protected]>
  11958. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  11959. - Remove some debug code.
  11960. 2007-01-31 Jackson Harper <[email protected]>
  11961. * XplatUIX11.cs: If you set the override cursor during a grab, it
  11962. should actually override the grab cursor. This comes into play
  11963. when you are setting custom cursors in a DND feedback method.
  11964. 2007-01-31 Jackson Harper <[email protected]>
  11965. * X11Dnd.cs: Add support for handling the QueryContinue and
  11966. GiveFeedback events.
  11967. - Cancel drag and drop actions when the escape key is clicked.
  11968. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  11969. can handle the ESCAPE key.
  11970. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  11971. done when dnd events are continued after the button is released.
  11972. - Add a new helper method so that dnd can translate key events.
  11973. 2007-01-31 Alexander Olk <[email protected]>
  11974. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  11975. make it more obvious what is happening.
  11976. 2007-01-30 Jackson Harper <[email protected]>
  11977. * XplatUIX11.cs: Don't break when handling button release in drag
  11978. and drop operations. We need that BUTTONUP message to get through
  11979. so capture is released.
  11980. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  11981. this is handled automatically when the mouse is down.
  11982. 2007-01-30 Jackson Harper <[email protected]>
  11983. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  11984. is closed, so we need to make sure that we aren't changing the
  11985. dialog result when the OK (Open or Save) button has been clicked
  11986. and we are closing the window ourselves. Note we don't need to
  11987. worry about the cache being written in this case, because it was
  11988. already done in the previous FilOk call.
  11989. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  11990. * DateTimePicker.cs: Remove a warning.
  11991. * ComboBox.cs: Remove a couple of warnings.
  11992. 2007-01-29 Chris Toshok <[email protected]>
  11993. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  11994. set one, if SetIcon is passed a null icon.
  11995. 2007-01-29 Andreia Gaita <[email protected]>
  11996. * TextBox.cs: Redraw when the password characters changes
  11997. * TextControl.cs: Check if textbox has a password char and draw
  11998. a line of password chars instead of the text in the line. LineTag gets
  11999. an extra Draw() method which allows document.Draw to override the text
  12000. that will be drawn. Removes 1024 char limitation on length of passworded
  12001. lines.
  12002. 2007-01-29 Jackson Harper <[email protected]>
  12003. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  12004. single chars is not.
  12005. 2007-01-28 Jonathan Pobst <[email protected]>
  12006. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  12007. one pixel. Fix a StackOverflowException caused by an overload wrongly
  12008. calling itself.
  12009. 2007-01-26 Everaldo Canuto <[email protected]>
  12010. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  12011. also remove ProcessArrowKey and put the code inside ProcessKeys.
  12012. 2007-01-26 Jonathan Pobst <[email protected]>
  12013. * PaddingConverter.cs: Added.
  12014. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  12015. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  12016. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  12017. of text (fixes #80601). For panels clip the text to draw to the
  12018. panel (fixes #80603).
  12019. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  12020. * ComboBox.cs: Fixed implementation of ResetText.
  12021. 2007-01-25 Jackson Harper <[email protected]>
  12022. * TextControl.cs: For the last char of a line we need to use the
  12023. line size, not that chars width, since it won't actually be
  12024. computed since the right side of a char is based on the start of
  12025. the left side of the next char, and the next char does not exist.
  12026. 2007-01-25 Chris Toshok <[email protected]>
  12027. * Splitter.cs: fix the new unit tests, and reindent some switch
  12028. statements.
  12029. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12030. * ComboBox.cs: Implemented 2.0 methods and events.
  12031. * TextBoxBase.cs: Added OnTextUpdate, so that
  12032. ComboBox.ComboTextBox can inform ComboBox of it.
  12033. 2007-01-25 Jackson Harper <[email protected]>
  12034. * TextControl.cs: Respect ShowSelection when deciding whether or
  12035. not to display the caret, this allows comboboxes to have carets
  12036. when the combotextbox does not have focus.
  12037. 2007-01-25 Jackson Harper <[email protected]>
  12038. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  12039. same as the Suspend/Resume for recalc, except this will do actual
  12040. Invalidates.
  12041. - New Undo manager, works much like the MS version.
  12042. - Implemented Redo
  12043. * TextBoxBase.cs: The Cut operation is undoable.
  12044. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12045. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  12046. on Windows (no difference on Linux).
  12047. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12048. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  12049. we don't want to activate any windows. Fixes #79433.
  12050. 2007-01-25 Jonathan Pobst <[email protected]>
  12051. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  12052. [Fixes bug #80609]
  12053. 2007-01-25 Alexander Olk <[email protected]>
  12054. * FileDialog.cs:
  12055. - Move to using System.ComponentModel.EventHandlerList
  12056. - Replace Refresh with Invalidate
  12057. - Clear the mime filecache on closing
  12058. - Some other memory reducing work. After beeing closed FD now uses
  12059. only about 300 KB for the fdo mime stuff plus the memory of the
  12060. cached icons.
  12061. * Mime.cs: Changed coding style and removed unnecessary commented
  12062. code. Some more memory memory reducing work.
  12063. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12064. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  12065. a few other missing 2.0 properties.
  12066. * Theme.cs: Added DrawFlatStyleComboBox.
  12067. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  12068. 2007-01-24 Chris Toshok <[email protected]>
  12069. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  12070. wake_waiting flag, not just when there's data to be read. if we
  12071. don't, then future wakeup's won't reach us and we'll be doomed to
  12072. wait for the entire 1 second timeout forever (unless there are X
  12073. events to be had).
  12074. 2007-01-24 Jonathan Pobst <[email protected]>
  12075. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  12076. until you pass Items.Count, not Items.Count - 1 like 1.1.
  12077. 2007-01-24 Gert Driesen <[email protected]>
  12078. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  12079. 2007-01-24 Jonathan Pobst <[email protected]>
  12080. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  12081. adding the panels in the wrong order.
  12082. 2007-01-24 Jackson Harper <[email protected]>
  12083. * TextBoxBase.cs: When we move the caret we also need to move the
  12084. selection, this fixes some random crashing after doing select
  12085. text, unselect, delete a char, paste.
  12086. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  12087. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  12088. 2007-01-23 Everaldo Canuto <[email protected]>
  12089. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  12090. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  12091. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  12092. 2007-01-23 Everaldo Canuto <[email protected]>
  12093. * ToolBar.cs:
  12094. - Implement support for vertical toolbars. Fixes #80539;
  12095. - Call LayoutToolBar when resize, it fix some other problems in layout.
  12096. - Rename requested_height to requested_size, as we can have width on it
  12097. when toolbar is vertical.
  12098. - Create a private property "Vertical" that uses Dock to verify when
  12099. toolbar is vertical or not.
  12100. - Set ControlStyles when change Dock property.
  12101. - Refactory in LayoutToolBar to have better variables names and to support
  12102. vertical toolbars.
  12103. - Fixes default value for ButtonSize when button count is equal zero, size
  12104. must be (39, 36) test case writed.
  12105. 2007-01-23 Chris Toshok <[email protected]>
  12106. * Control.cs: fix the checks so that they work correctly for mdi
  12107. parents/children.
  12108. 2007-01-23 Chris Toshok <[email protected]>
  12109. * Control.cs: ControlCollection seems to have super-secret
  12110. abstraction breaking knowledge of Mdi containers. allow MdiClient
  12111. to add toplevel controls.
  12112. 2007-01-23 Chris Toshok <[email protected]>
  12113. * Control.cs: throw an ArgumentException if a toplevel control is
  12114. added to our control collection from ControlCollection.Add, as
  12115. well as from ControlCollection.IList.Add. This fixes the
  12116. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  12117. Also, in ControlCollection.IList.Add, don't through an
  12118. ArgumentNullException, throw an ArgumentException, when value ==
  12119. null. This matches MS.
  12120. 2007-01-23 Chris Toshok <[email protected]>
  12121. * BindingSource.cs: initial, incomplete, implementation of
  12122. BindingSource.
  12123. 2007-01-23 Jackson Harper <[email protected]>
  12124. * TextControl.cs:
  12125. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  12126. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  12127. 2007-01-23 Everaldo Canuto <[email protected]>
  12128. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  12129. 2007-01-23 Andreia Gaita <[email protected]>
  12130. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  12131. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  12132. IndexOfKey() for 2.0
  12133. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  12134. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  12135. to prevent it from changing z-order.
  12136. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  12137. leave UI updates in MdiWindowManager.
  12138. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  12139. 1 sized (NC handling goes weird on Linux otherwise).
  12140. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  12141. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  12142. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  12143. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  12144. and SetWindowState(s) to allow for changing the size of an activated child
  12145. before activating it (reduces a lot of flicker).
  12146. 2007-01-22 Jonathan Pobst <[email protected]>
  12147. * Form.cs: Changing FormBorderStyle has different semantics based
  12148. on whether the Form is visible or not. If not visible, don't change
  12149. the Size. But InvalidateNC needs to be called to force the window
  12150. to pick up the changes and redraw itself. [Fixes bug #80574]
  12151. 2007-01-22 Jonathan Pobst <[email protected]>
  12152. [Moma work]
  12153. * ContainerControl.cs: ProcessCmdKey.
  12154. * ErrorProvider.cs: new constructor.
  12155. * Form.cs: fix AutoValidateEvent compiler warning.
  12156. * Label.cs: fix OnAutoSizeChanged compiler warning.
  12157. * MenuStrip.cs: fix CanOverflow compiler warning.
  12158. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  12159. * TextBox.cs: Dispose.
  12160. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  12161. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  12162. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  12163. * ToolStripItem.cs: Overflow, RightToLeft properties.
  12164. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  12165. * Form.cs: Move the layout of the main form to MdiWindowManager.
  12166. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  12167. do a layout of the main window to update MdiClient's client area to
  12168. the right area. Fixes #80533. Remove the calculation of nc size,
  12169. it was just wrong and the correct one is the same as for
  12170. InternalWindowManager.
  12171. 2007-01-20 Jonathan Pobst <[email protected]>
  12172. * Control.cs: Setting Anchor or Dock needs to reset the other
  12173. to its default. [Fixes bug #80556]
  12174. 2007-01-20 Chris Toshok <[email protected]>
  12175. * CheckedListBox.cs: class status changes.
  12176. * ScrollableControl.cs: same.
  12177. * RichTextBox.cs: same.
  12178. * ContainerControl.cs: same.
  12179. * ListView.cs: same.
  12180. * NotifyIcon.cs: same.
  12181. * MenuStrip.cs: same.
  12182. * RadioButton.cs: same.
  12183. * CheckBox.cs: same.
  12184. * PrintPreviewDialog.cs: same.
  12185. * Form.cs: same.
  12186. 2007-01-19 Jonathan Pobst <[email protected]>
  12187. * TreeNode.cs: Apply Alan's patch for Name property.
  12188. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  12189. * Form.cs: Implemented SizeGripStyle.
  12190. * SizeGrip.cs: Check for minimum and maximum size for the
  12191. control being resized and only resize if size has actually
  12192. changed.
  12193. 2007-01-19 Chris Toshok <[email protected]>
  12194. * DataGridColumnStyle.cs: stop setting _readonly in the
  12195. PropertyDescriptor setter. fixes a unit test failure.
  12196. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  12197. just consult our table style (if we have one). We don't need to
  12198. consult the datagrid readonly attribute because that's passed in
  12199. as the _ro arg to Edit. this simplifies things a little.
  12200. * DataGrid.cs: use CurrentColumn instead of
  12201. current_cell.ColumnNumber just to simplify some of the code.
  12202. switch the order of some things in the CurrentCell setter to keep
  12203. the previous cell from getting a textbox again -
  12204. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  12205. So we need to set the new cell before calling it.
  12206. call Edit in OnEnter, as does Microsoft.
  12207. also, make sure the current table style isn't the one we create
  12208. initially when checking to see if it's different than the one
  12209. we're setting it to in BindColumns (this fixes #80421).
  12210. * GridTableStylesCollection.cs: table styles can have "" for a
  12211. mapping name. part of the fix for #80421.
  12212. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  12213. Edit significantly.
  12214. 2007-01-18 Jonathan Pobst <[email protected]>
  12215. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  12216. and less GDI object leaky-er.
  12217. 2007-01-18 Andreia Gaita <[email protected]>
  12218. * LinkLabel.cs: Add opaque control style
  12219. 2007-01-18 Jackson Harper <[email protected]>
  12220. * TextControl.cs: Calculate width properly.
  12221. - Don't store the tag's X offset, this can be figured out very
  12222. easily.
  12223. - When getting the caret tag make sure to get the last empty tag.
  12224. 2007-01-18 Jonathan Pobst <[email protected]>
  12225. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  12226. [Fixes bug #79959]
  12227. * Control.cs: Color.Empty shouldn't count for previous transparent
  12228. redraw changes.
  12229. 2007-01-18 Jackson Harper <[email protected]>
  12230. * TextBox.cs:
  12231. * RichTextBox.cs:
  12232. * TextControl.cs: Starting to merge in some pieces of my older
  12233. undo work. Basically just some slight cleanup of the undo API.
  12234. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  12235. * TrackBar.cs: Fix signature of RightToLeftLayout.
  12236. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  12237. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  12238. * Application.cs: Implemented UseWaitCursor.
  12239. 2007-01-18 Jackson Harper <[email protected]>
  12240. * TextControl.cs: We can't skip tags if any part of the tag is
  12241. visible.
  12242. 2007-01-18 Jonathan Pobst <[email protected]>
  12243. * ContainerControl.cs: Override OnLayout.
  12244. 2007-01-18 Jonathan Pobst <[email protected]>
  12245. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  12246. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  12247. everything else.
  12248. 2007-01-18 Chris Toshok <[email protected]>
  12249. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  12250. (leftover from the container_selected days, I'd wager). fixes bug
  12251. #80546.
  12252. 2007-01-18 Jonathan Pobst <[email protected]>
  12253. * Control.cs: Apply patch from George to fix the new testcase on
  12254. bug #80451. We can't just check for Color.Transparent, we need
  12255. to check if the back color's alpha channel is < 255.
  12256. 2007-01-18 Jonathan Pobst <[email protected]>
  12257. * Form.cs: Move setting show_icon = true to before the constructor
  12258. so that the base constructor has that information when it calculates
  12259. the form's size. Was causing forms to be (6, 6) bigger than they
  12260. were supposed to be. Thanks for catching this Rolf!
  12261. 2007-01-18 Jackson Harper <[email protected]>
  12262. * TextControl.cs: When replacing a selection we need to invalidate
  12263. from the initial selection start, because selection start is moved
  12264. to the end of the replacement.
  12265. 2007-01-18 Andreia Gaita <[email protected]>
  12266. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  12267. 2007-01-18 Chris Toshok <[email protected]>
  12268. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  12269. I just added.
  12270. 2007-01-17 Everaldo Canuto <[email protected]>
  12271. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  12272. layout methods and properties from ToolBarButton must be available
  12273. into ToolBarButtonInfo.
  12274. 2007-01-17 Jonathan Pobst <[email protected]>
  12275. * Control.cs: If the control has a transparent background, we
  12276. need to refresh it when it moves and when it's parent's background
  12277. image changes. [Fixes bug #80451]
  12278. 2007-01-17 Jonathan Pobst <[email protected]>
  12279. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  12280. 2007-01-17 Jonathan Pobst <[email protected]>
  12281. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  12282. [Fixes bug #80447, and probably speeds up things as well]
  12283. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12284. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  12285. * XplatUIWin32.cs: We need to recalculate NC size after changing
  12286. window style to toolwindow (otherwise the client rectangle will be
  12287. 3 pixels to small for some reason).
  12288. * MdiWindowManager.cs: Revert NC size calculations to match how
  12289. they are calculated only based on window styles (to match
  12290. Win32AdjustWindowRectEx, since otherwise when setting size or
  12291. location, Control will call Win32AdjustWindowRectEx to update client
  12292. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  12293. calculate a different value of client size causing another paint
  12294. (and flickering))
  12295. * InternalWindowManager.cs: When moving or resizing a window only
  12296. update size or location if they actually changed.
  12297. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  12298. (seems to match Windows behaviour better). Cleaned up
  12299. ManagedWindowDecorations to draw what's needed and nothing else
  12300. (was drawing borders and lines where they shouldn't be)
  12301. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  12302. (style = 0xFFFF) and takes into account caption height when
  12303. calculating window rectangle.
  12304. 2007-01-16 Everaldo Canuto <[email protected]>
  12305. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  12306. can be added to toolbar multiple times, we need to maintain a list of
  12307. button information for each positions.
  12308. 2007-01-16 Everaldo Canuto <[email protected]>
  12309. * ToolBar.cs: Some small stetic changes.
  12310. 2007-01-16 Jackson Harper <[email protected]>
  12311. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  12312. that allow us to have nested recalc = false blocks.
  12313. - Add paste support for images in the RichTextBox
  12314. * RichTextBox.cs: flush the text after the color is changed, so
  12315. the change takes effect.
  12316. - Use SuspendRecalc
  12317. - Some extra debugging info
  12318. * TextControl.cs: Tags no longer track their length, it is just
  12319. computed from the next tags length, this makes things a little
  12320. simpler and reduces places that we have to track length changes.
  12321. - Refactored the linetag class a little so we could make it
  12322. a base class for different kinds of tags
  12323. - Created a image tag, a tag that can have a single image inserted
  12324. into it
  12325. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  12326. that we can call suspend multiple times.
  12327. - Add some debugging methods
  12328. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12329. * MdiClient.cs: Add ActivatePreviousChild for
  12330. mdi child window navigation.
  12331. * Form.cs: Use MdiClient.ActivateNextChild/
  12332. ActivatePreviousChild instead of Form.SelectNextControl
  12333. to select the next/previous child since
  12334. SelectNextControl doesn't do it in the same order
  12335. as mdi children should do it.
  12336. 2007-01-16 Chris Toshok <[email protected]>
  12337. * Control.cs: remove container_selected field.
  12338. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12339. * MdiClient.cs: Update main form's ActiveChild when
  12340. updating keyboard focus for the mdi child.
  12341. 2007-01-16 Jonathan Pobst <[email protected]>
  12342. * Control.cs: PreferredSize fix.
  12343. * Form.cs: Add several 2.0 events, properties, and methods.
  12344. 2007-01-16 Gert Driesen <[email protected]>
  12345. * Form.cs: Provide meaningful message when MdiParent is assigned a
  12346. Form that is not an MdiContainer.
  12347. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12348. * MdiClient.cs: Update main form's ActiveChild when
  12349. activating a mdi child.
  12350. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12351. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  12352. doesn't have a menu.
  12353. * Form.cs: Request NCRecalc after creating a mdi child window.
  12354. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  12355. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  12356. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  12357. sends keyboard focus to the active child, or to the MdiClient
  12358. if there are no child forms.
  12359. 2007-01-15 Chris Toshok <[email protected]>
  12360. * ListView.cs: drop the *Internal overrides, just do our work in
  12361. ItemControl's WndProc instead.
  12362. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  12363. of the various controls, and forward the events properly (in the
  12364. same manner as MS) from the textbox to the UpDown. Also the
  12365. ActiveControl of the UpDownBase gets set properly now. Finally,
  12366. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  12367. * NumericUpDown.cs: set Text in the ctor.
  12368. * DomainUpDown.cs: call UpdateEditText in the ctor.
  12369. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  12370. so even a Selectable = false textbox can be focused if you click
  12371. in it. Go figure.
  12372. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  12373. just add their handling in their respective WndProc's. Also add
  12374. an explicit FocusInternal method that doesn't consult CanFocus
  12375. before calling Select(this).
  12376. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  12377. do our work in WndProc instead.
  12378. * TabControl.cs: same.
  12379. * ComboBox.cs: same.
  12380. 2007-01-15 Everaldo Canuto <[email protected]>
  12381. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  12382. Fixes #80006.
  12383. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  12384. * ListViewItem.cs:
  12385. * ThemeWin32Classic.cs: Don't draw the item text outside
  12386. item bounds in Details view, as well as use trimming.
  12387. Fixes bug #80376.
  12388. 2007-01-15 Jonathan Pobst <[email protected]>
  12389. * Form.cs: Implement Form.ShowIcon.
  12390. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  12391. null, which when combined with the DlgModalFrame window style removes
  12392. the icon from the title bar.
  12393. 2007-01-15 Jonathan Pobst <[email protected]>
  12394. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  12395. 2007-01-15 Everaldo Canuto <[email protected]>
  12396. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  12397. menu when mdi child windows theres a menu, uses insert to get icon
  12398. at first position. Partially fix #80006.
  12399. 2007-01-15 Jonathan Pobst <[email protected]>
  12400. * Clipboard.cs: Implement 2.0 methods.
  12401. 2007-01-15 Everaldo Canuto <[email protected]>
  12402. * Menu.cs: Implement Insert method of MenuItemCollection class
  12403. to fix MenuMerge.
  12404. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  12405. * ListView.cs: Implement 2.0 FindItemWithText method.
  12406. 2007-01-11 Everaldo Canuto <[email protected]>
  12407. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  12408. to calculate menu bar size. Fixes #80290.
  12409. 2007-01-11 Everaldo Canuto <[email protected]>
  12410. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  12411. 2007-01-11 Chris Toshok <[email protected]>
  12412. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  12413. initial form.
  12414. 2007-01-11 Chris Toshok <[email protected]>
  12415. * LinkLabel.cs: make sure to call base.Select in our Select method
  12416. if it turns out we're going to be selected (i.e. if we have a link
  12417. that is going to receive focus). That way our container's
  12418. ActiveControl is updated properly.
  12419. 2007-01-11 Chris Toshok <[email protected]>
  12420. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  12421. they have 1 or more links. this fixes the crash gert reported.
  12422. 2007-01-11 Andreia Gaita <[email protected]>
  12423. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  12424. anymore.
  12425. * Control.cs (Controls.Add): Check if control to be added to the collection
  12426. is a top level control, and throw an ArgumentException if it is.
  12427. Remove ContainerSelectedFlag, not needed anymore.
  12428. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  12429. top most control doesn't activate the form. This fixes a problem in the
  12430. MessageBox, where the default button wouldn't get focus because the form
  12431. was activated before being Loaded - when the Owner is set, SetTopMost is
  12432. called, and it would activate it.
  12433. 2007-01-11 Jonathan Pobst <[email protected]>
  12434. * Button.cs: When clicked and setting the parent form's DialogResult,
  12435. use FindForm instead of Parent, since parent could be a container
  12436. control and not the Form. Fixes bug #80495.
  12437. 2007-01-10 Chris Toshok <[email protected]>
  12438. * Form.cs: move the call to SendControlFocus into the same
  12439. is_loaded check.
  12440. 2007-01-10 Chris Toshok <[email protected]>
  12441. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  12442. It breaks in the face of the new ActiveControl stuff, and should
  12443. be unnecessary.
  12444. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  12445. activecontrol's focus if it's not already set, after we set
  12446. ActiveControl, but before we call OnActivated. Re-fixes #79667
  12447. after the previous focus/active control fixes regressed it.
  12448. * Control.cs: reindent some code.
  12449. 2007-01-10 Chris Toshok <[email protected]>
  12450. * Splitter.cs: clearing some outstanding changes from my tree.
  12451. Replace all accesses (not writes) to the internal dock_style field
  12452. with the Dock property.
  12453. 2007-01-10 Chris Toshok <[email protected]>
  12454. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  12455. FireValidated virtual.
  12456. * Form.cs: override and don't chain up calls to FireEnter and
  12457. FireLeave.
  12458. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  12459. * ListView.cs: Add more text padding space when using
  12460. auto resize for columns (the previous value didn't work fine).
  12461. * ThemeWin32Classic.cs: Update text position inside columns,
  12462. to match the appeareance of .Net.
  12463. * ColumnHeader.cs: When using auto resize, only the Width should
  12464. depend on the sub items, not the Height. Also, set width after
  12465. auto resizing (the value of Width should never remain as -1 or -2).
  12466. 2007-01-10 Chris Toshok <[email protected]>
  12467. * Application.cs: fix compilation errors when debug is enabled.
  12468. 2007-01-10 Chris Toshok <[email protected]>
  12469. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  12470. add some nice ascii art pictures and explanation of the process).
  12471. (GetMostDeeplyNestedActiveControl): new utility function we need
  12472. because our ActiveControl can refer to a child container with its
  12473. own ActiveControl.
  12474. * Form.cs (OnActivated): remove the call to SelectActiveControl
  12475. from here, since you can override this method and not chain up,
  12476. and winforms still sets the active control.
  12477. (OnCreateControl): also remove the unnecessary SelectActiveControl
  12478. call from here.
  12479. (WndProc): it's actually called from the WM_ACTIVATE block, just
  12480. before calling OnActivated.
  12481. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  12482. inside the else. the ActiveControl setter will end up setting
  12483. focus on @control. This keeps us from setting it again (and
  12484. generating an extra LostFocus/GotFocus pair).
  12485. (Select (bool, bool)): reindent.
  12486. 2007-01-10 Jonathan Pobst <[email protected]>
  12487. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  12488. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  12489. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  12490. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  12491. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  12492. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  12493. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  12494. ToolStripTextBox.cs: Another wave of corcompare work.
  12495. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  12496. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  12497. the Width property.
  12498. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  12499. methods by callling Column.AutoResize method on columns.
  12500. 2007-01-09 Jonathan Pobst <[email protected]>
  12501. * Control.cs: Provide proper implementations of PreferredSize
  12502. and GetPreferredSize (2.0).
  12503. 2007-01-09 Jonathan Pobst <[email protected]>
  12504. * Form.cs: Remove one character (!) to make my previous OnClosing
  12505. stuff work for modal windows like MessageBox.
  12506. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  12507. * ListView.cs:
  12508. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  12509. ListView.Columns to get the last displayed column. Fixes #80452.
  12510. 2007-01-09 Everaldo Canuto <[email protected]>
  12511. * Label.cs, LinkLabel.cs: Source code identation fixes.
  12512. 2007-01-08 Everaldo Canuto <[email protected]>
  12513. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  12514. we dont need to invalidate only borders because when we invalidate four
  12515. border lines the invalidate's generates a complete redraw of button,
  12516. because it now invalidate a complete rect some other redraws operations
  12517. are fixed. Fixes #80196.
  12518. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  12519. Remove ToolBarInvalidateEntireButton as it is not used.
  12520. 2007-01-08 Jonathan Pobst <[email protected]>
  12521. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  12522. called for 2.0 profile.
  12523. * CloseReason.cs: Make class internal for 1.1.
  12524. 2007-01-08 Jonathan Pobst <[email protected]>
  12525. * ToolStripManager.cs: Implement FindToolStrip functionality.
  12526. * ToolStrip.cs: Register and unregister with ToolStripManager.
  12527. 2007-01-07 Jonathan Pobst <[email protected]>
  12528. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  12529. to ArrangedElementCollection. Implemented this with as few #if's as
  12530. possible (which is still too many).
  12531. 2007-01-07 Jonathan Pobst <[email protected]>
  12532. * Control.cs: Implement SizeFromClientSize() [2.0].
  12533. 2007-01-07 Everaldo Canuto <[email protected]>
  12534. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  12535. use Theme.BorderSize to calculate area instead of static value 1,
  12536. by the way use new BorderStaticSize instead Border3DSize when
  12537. border_static is true. Fixes #79537.
  12538. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  12539. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  12540. it is not needed.
  12541. 2007-01-06 Everaldo Canuto <[email protected]>
  12542. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  12543. 2007-01-06 Everaldo Canuto <[email protected]>
  12544. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  12545. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  12546. * Hwnd.cs:
  12547. - border_static field added, it will used to define when a control
  12548. theres 3D border but it must be static (thin).
  12549. - In GetWindowRectangle use Theme.BorderSize to calculate area
  12550. instead of static value 1, by the way use new BorderStaticSize instead
  12551. Border3DSize when border_static is true.
  12552. * XplatUIX11.cs, XplatUIOSX.cs:
  12553. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  12554. * Theme.cs: BorderStaticSize field added.
  12555. 2007-01-05 Everaldo Canuto <[email protected]>
  12556. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  12557. 2007-01-05 Everaldo Canuto <[email protected]>
  12558. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  12559. mimic same behavior than win32 that set border only in CreateParams,
  12560. it fix problems under CreateParams overrides. Fix #79442 and partial
  12561. fix #79537.
  12562. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  12563. of thi control you must call recreate handle.
  12564. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  12565. need to do anything as RecreateHangle will take care about borders.
  12566. 2007-01-05 Mike Kestner <[email protected]>
  12567. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  12568. cycles between the ItemControl and parent. Fixes #80388.
  12569. 2007-01-05 Gert Driesen <[email protected]>
  12570. * Control.cs: Lazy init layout engine. Do not directly use
  12571. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  12572. 2007-01-05 Chris Toshok <[email protected]>
  12573. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  12574. unless our list manager has changed (i.e. unless we have reason to
  12575. believe our columns have changed). Fixes #80422.
  12576. also, disable the call do BindColumns in
  12577. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  12578. 1.1 the event isn't raised in response to a column addition on a
  12579. table.)
  12580. 2007-01-05 Jonathan Pobst <[email protected]>
  12581. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  12582. that inheritors can not call it if they choose. Fixes bug #80456.
  12583. 2007-01-05 Andreia Gaita <[email protected]>
  12584. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  12585. doesn't blow up with a null exception on marshalling.
  12586. 2007-01-05 Jonathan Pobst <[email protected]>
  12587. * Control.cs: Implement several 2.0 protected properties and methods.
  12588. Ensure that all necessary events are being called when properties
  12589. are set.
  12590. 2007-01-05 Mike Kestner <[email protected]>
  12591. * ListView.cs: implement PgUp/PgDn for Details view. Also
  12592. fixes First/LastVisibleIndex to use the item_control.ClientRect
  12593. instead of the parent control. Fixes #80378.
  12594. 2006-01-05 Atsushi Enomoto <[email protected]>
  12595. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  12596. determine whether to use yard-pound or not (bug #78399).
  12597. 2006-01-04 Alexander Olk <[email protected]>
  12598. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  12599. problems. So it is time to bring back the old popupbutton colors.
  12600. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  12601. * ColumnHeader.cs:
  12602. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  12603. property by using the internal information of the
  12604. columns order in ListView.
  12605. 2007-01-04 Jonathan Pobst <[email protected]>
  12606. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  12607. Add 2.0 Tag properties.
  12608. * LinkArea.cs: Add 2.0 ToString method.
  12609. 2007-01-03 Chris Toshok <[email protected]>
  12610. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  12611. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  12612. when we're editing, which fixes #80047.
  12613. 2007-01-03 Chris Toshok <[email protected]>
  12614. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  12615. #80404.
  12616. 2007-01-03 Jonathan Pobst <[email protected]>
  12617. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  12618. property and implementation.
  12619. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  12620. for MdiWindowListItem property.
  12621. * ToolStripDropDown.cs: Don't consider hidden menu items while
  12622. laying out the menu.
  12623. 2007-01-03 Andreia Gaita <[email protected]>
  12624. * SendKeys.cs: window handle is not needed in win32, so just
  12625. get the active window for X after parsing keys and don't use
  12626. it when building the message; it is passed by parameter to the
  12627. Xplat method and used there to build the message instead. Also,
  12628. wait for events to be processed on SendWait, as opposed to Send,
  12629. which doesn't wait :) Playing with threads and Send() completely
  12630. hangs on ms.net, only SendWait() works.
  12631. XplatUIX11.cs
  12632. X11Display.cs: Check for valid window handle.
  12633. 2007-01-03 Jackson Harper <[email protected]>
  12634. * TextControl.cs: Need to prevent wrap calculations when replacing
  12635. text (this was there before i removed it accidently).
  12636. - Don't update the cursor during the positioning, just set it to
  12637. selection_start at the end of the operaion.
  12638. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  12639. * Control.cs:
  12640. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  12641. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  12642. * MonthCalendar.cs: Added Click and DoubleClick events again,
  12643. but this time they only hide Control's Click and DoubleClick.
  12644. 2007-01-03 Gert Driesen <[email protected]>
  12645. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  12646. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  12647. 2007-01-02 Jackson Harper <[email protected]>
  12648. * TextBoxBase.cs: We move the caret with the split now, so we
  12649. don't need to explicitly move the caret after splitting. This
  12650. fixes the caret bumping down an extra line on Enter.
  12651. 2007-01-02 Miguel de Icaza <[email protected]>
  12652. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  12653. 2.72).
  12654. * ScrollableControl.cs: Add Scroll event.
  12655. 2007-01-02 Mike Kestner <[email protected]>
  12656. * ListView.cs: one more try with help from [email protected]
  12657. to fix all hdr height padding codepaths. Fixes #80207.
  12658. 2007-01-02 Chris Toshok <[email protected]>
  12659. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  12660. setting it to the Control defaults anyway, and it being after the
  12661. Dock set was screwing up layout.
  12662. (set_Dock): don't short circuit out of setting base.Dock. Also,
  12663. no need to call UpdateStatusBar here, as it'll be re-layed out if
  12664. it needs to be.
  12665. 2007-01-02 Mike Kestner <[email protected]>
  12666. * ListView.cs: patch from [email protected] to add padding
  12667. to header height for width == -1. Fixes the rest of #80207.
  12668. 2007-01-02 Mike Kestner <[email protected]>
  12669. * ListView.cs: rework the mouse event forwarding everaldo added
  12670. to translate the coordinates to the parent control not
  12671. raise the parent events until after we've done our work. Hover
  12672. needs more work, in the case where HoverSelection is on, because
  12673. the item control receives more than one MouseHover per Enter
  12674. event, so we need to ensure only the "first" hover gets forwarded.
  12675. Opening a minor bug for that.
  12676. 2007-01-02 Gert Driesen <[email protected]>
  12677. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  12678. * ListControl.cs: Implemented AllowSelection property. Removed extra
  12679. tabs.
  12680. * ListBox.cs: Implemented AllowSelection property.
  12681. 2007-01-02 Everaldo Canuto <[email protected]>
  12682. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  12683. SelectedItem, it prevent for errors when you must disable item
  12684. before perform click. Fixes #80409.
  12685. 2007-01-02 Everaldo Canuto <[email protected]>
  12686. * MenuAPI.cs: Prevent second level and beyond submenus to close
  12687. until first level when move out side of popup.
  12688. 2007-01-02 Everaldo Canuto <[email protected]>
  12689. * MenuAPI.cs:
  12690. - Down submenu positin in three pixels.
  12691. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  12692. 2007-01-02 Everaldo Canuto <[email protected]>
  12693. * ThemeWin32Classic.cs:
  12694. - Fix popup menu size adding one pixel on the top.
  12695. - Down menu item border from two to one to mimic Win32.
  12696. - Some source identation fixes.
  12697. 2007-01-01 Everaldo Canuto <[email protected]>
  12698. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  12699. position of menu arrows, it fix wrong arrow size.
  12700. 2007-01-01 Everaldo Canuto <[email protected]>
  12701. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  12702. instead of line, it simplify draw operation and fix it using 3D
  12703. borders to mimic Win32.
  12704. 2007-01-01 Jonathan Pobst <[email protected]>
  12705. * StatusStrip.cs: Add implementation of the sizing grip.
  12706. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  12707. StatusStrip rendering.
  12708. 2006-12-31 Chris Toshok <[email protected]>
  12709. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  12710. override the layout style (anchor/dock) of the control. assign to
  12711. Dock instead. Fixes bug #80416.
  12712. * ToolStrip.cs: same.
  12713. 2006-12-31 Andreia Gaita <[email protected]>
  12714. * ContainerControl.cs: Use ContainerSelected flag to check if
  12715. a Container is directly selected, or if Select is called on a
  12716. non-container. If a container is directly selected, focus events
  12717. should not be raised.
  12718. Apply #80411 patch to throw exception on set_ActiveControl if
  12719. control is the same as the current one.
  12720. * Control.cs: Use ContainerSelected flag (see above).
  12721. Add invalidation check to raise event but not invalidate if
  12722. dimensions are 0.
  12723. Apply #80411 patch.
  12724. 2006-12-31 Everaldo Canuto <[email protected]>
  12725. * MenuAPI.cs: After click, dont close popup menu when menu is
  12726. ContextMenu. Fixes #80399.
  12727. 2006-12-30 Chris Toshok <[email protected]>
  12728. * ContainerControl.cs: make sure we throw the exception if the
  12729. container control doesn't contain the control we're setting
  12730. ActiveControl to.
  12731. 2006-12-30 Chris Toshok <[email protected]>
  12732. * Control.cs (SetTopLevel): fix the exception raised by
  12733. SetTopLevel for child controls.
  12734. (set_Anchor): call UpdateDistances when setting the anchor type.
  12735. This fixes bug #80336.
  12736. 2006-12-29 Gert Driesen <[email protected]>
  12737. * Theme.cs: For now, revert back to 8pt font.
  12738. 2006-12-29 Everaldo Canuto <[email protected]>
  12739. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  12740. Fixes #80395.
  12741. 2006-12-29 Chris Toshok <[email protected]>
  12742. * Control.cs: reorder the code in OnResize to give the same event
  12743. ordering as MS.
  12744. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  12745. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  12746. TileHorizontally and TileVertically.
  12747. 2006-12-29 Alexander Olk <[email protected]>
  12748. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  12749. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  12750. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  12751. Corrected copyright and email adress.
  12752. 2006-12-29 Gert Driesen <[email protected]>
  12753. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  12754. of Exception in FullPath property if no TreeView is associated with
  12755. the TreeNode.
  12756. 2006-12-29 Gert Driesen <[email protected]>
  12757. * Theme.cs: Marked default_font as private, and initialize it in ctor
  12758. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  12759. on 2.0 profile.
  12760. * ThemeGtk.cs: Removed default_font intialization.
  12761. * ThemeWin32Classic.cs: Removed default_font initialization.
  12762. 2006-12-28 Chris Toshok <[email protected]>
  12763. * Control.cs: fix a couple of place where we were creating handles
  12764. more aggressively than we should be. Fixes ControlRefresh unit
  12765. tests.
  12766. 2006-12-28 Chris Toshok <[email protected]>
  12767. * Control.cs: contrary to what the comment said, Control.Dock does
  12768. not supercede Control.Anchor - the last one you assign to decides
  12769. the layout behavior. so we need to keep track of which was the
  12770. last set. Also, fix some of the affected property arguments in
  12771. PerformLayout calls, and remove an redundant parent.PerformLayout
  12772. call in OnResized.
  12773. Add a VisibleInternal property, which returns is_visible. We
  12774. can/should get rid of all the usage of this field elsewhere.
  12775. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12776. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  12777. control style, not DoubleBuffer. Added UseDoubleBuffering property
  12778. that indicates whether doublebuffering is enabled and supported.
  12779. (comment from and code based on Gert Driesen's patch in #80324).
  12780. Fixes #80324.
  12781. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12782. * Control.cs: Fixed a NRE.
  12783. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12784. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  12785. for 2.0.
  12786. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12787. * Control.cs: Rewrote double buffering, now a seperate
  12788. class handles all the buffering, no Graphics is disposed of
  12789. until the painting is finished (earlier implementation
  12790. would crash if the control was resized in the OnPaint,
  12791. since it would cause the double buffer to be recreated
  12792. and the old one disposed), a separate Graphics is
  12793. created for every paint (MS behaviour and anyways the state
  12794. of the Graphics would have to be saved and restored otherwise)
  12795. * XplatUIDriver.cs:
  12796. * XplatUIX11.cs:
  12797. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  12798. so that we can get the graphics for the back buffer without
  12799. having to create a new one and remove the offscreen_dc parameter
  12800. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  12801. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  12802. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  12803. Also make virtual all the key-related methods.
  12804. * ListViewItem.cs: Make virtual the key related methods for
  12805. ListViewSubItemCollection.
  12806. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  12807. * ListView.cs:
  12808. * ListViewItem.cs:
  12809. * ThemeWin32Classic.cs:
  12810. * Theme.cs: Initial support for Tile view in ListView,
  12811. as well as the implementation of the required bits for it (Item
  12812. and Subitem).
  12813. 2006-12-27 Gert Driesen <[email protected]>
  12814. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  12815. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  12816. Provide useful exception messages.
  12817. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  12818. * TrackBar.cs: Remove a warning.
  12819. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  12820. when used by DateTimePicker, fixes #80287. This also requires that
  12821. MonthCalendar implements it's own drawing for the yearly updown control,
  12822. otherwise the Capture tracking would be too complicated. Removed the Click
  12823. and DoubleClick events (according to comments they were hiding the base class
  12824. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  12825. raise these events, not that they cannot be raised. It is possible to raise
  12826. them by calling OnClick and OnDoubleClick). Added two internal fields in
  12827. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  12828. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  12829. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  12830. event, no longer needed.
  12831. 2006-12-27 Gert Driesen <[email protected]>
  12832. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  12833. true if new value differs from current value.
  12834. 2006-12-27 Gert Driesen <[email protected]>
  12835. * Control.cs: ControlCollection.Count must be public. Fixed build of
  12836. unit tests.
  12837. 2006-12-27 Gert Driesen <[email protected]>
  12838. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  12839. 2006-12-27 Gert Driesen <[email protected]>
  12840. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  12841. 2006-12-26 Everaldo Canuto <[email protected]>
  12842. * Control.cs: Invalidates control including when Width and Height is
  12843. equal zero or is not visible, only Paint event must be care about
  12844. this. Fixes #79913.
  12845. 2006-12-26 Chris Toshok <[email protected]>
  12846. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  12847. more corcompare work.
  12848. * DataGridView.cs: fix compiler warning.
  12849. * ColumnHeader.cs: some corcompare work, and also take the
  12850. opportunity to make the internal fields private.
  12851. * ListView.cs: fix the fallout from the above field change.
  12852. 2006-12-26 Jonathan Pobst <[email protected]>
  12853. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  12854. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  12855. ToolStripTextBox.cs: Fixes to events and corcompare.
  12856. 2006-12-26 Everaldo Canuto <[email protected]>
  12857. * ListView.cs: Call owner.OnMousexx event to propagate events from
  12858. item to ListView. Fixes #80367.
  12859. 2006-12-26 Gert Driesen <[email protected]>
  12860. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  12861. if value is less than one. ItemHeight should not be set to a value
  12862. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  12863. Removed extra tabs.
  12864. 2006-12-26 Jonathan Pobst <[email protected]>
  12865. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  12866. * ToolStripStatusLabel.cs: Add Spring for Moma.
  12867. 2006-12-26 Gert Driesen <[email protected]>
  12868. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  12869. Fixed code formatting. Removed debug code.
  12870. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  12871. 2006-12-26 Gert Driesen <[email protected]>
  12872. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  12873. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  12874. ArgumentOutOfRangeException if ColumnCount is negative. In
  12875. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  12876. less than 4 or higher than 32768.
  12877. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  12878. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  12879. Fixed IsFormatProviderDefault to return true if FormatProvider has
  12880. not been explicitly set.
  12881. 2006-12-25 Chris Toshok <[email protected]>
  12882. * Application.cs: add a couple of 2.0 events.
  12883. 2006-12-25 Chris Toshok <[email protected]>
  12884. * Control.cs: fix compiler warning.
  12885. * AxHost.cs: corcompare fixes.
  12886. * ApplicationContext.cs: corcompare fixes.
  12887. 2006-12-25 Chris Toshok <[email protected]>
  12888. * Control.cs: only update dist_right/dist_bottom if the
  12889. width/height is > 0. this fixes anchored controls being resized
  12890. smaller until they disappear and then resized larger again.
  12891. 2006-12-25 Chris Toshok <[email protected]>
  12892. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  12893. since they're nothing more than X/Left and Y/Top, respectively.
  12894. Also, move back to a per-control Bitmap/Graphics for
  12895. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  12896. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  12897. Height.
  12898. 2006-12-25 Miguel de Icaza <[email protected]>
  12899. * MessageBox.cs: Implemented overload that takes a new "bool
  12900. displayHelpButton" by adding a new internal field "show_help".
  12901. When clicked this will raise the HelpRequested on the owner or the
  12902. main form.
  12903. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  12904. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  12905. * ListView.cs: Add support ColumnWidthChanged and
  12906. ColumnWidthChanging.
  12907. Add support for ColumnReordered event.
  12908. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  12909. reorder.
  12910. Very nice codebase!
  12911. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  12912. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  12913. 2006-12-24 Chris Toshok <[email protected]>
  12914. * GridTablesFactory.cs: 2.0 corcompare work.
  12915. * ToolStripContainer.cs: add "override" to
  12916. ContextMenuStripChanged, and remove the local event object.
  12917. * ToolStripDropDown.cs: same with a couple properties.
  12918. * ToolStripPanel.cs: same with AutoSizeChanged event.
  12919. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  12920. * Form.cs: add the remaining 2.0 events, and do some corcompare
  12921. attribute work.
  12922. * DateTimePicker.cs: add "new" to padding.
  12923. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  12924. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  12925. * DataGridView.cs: PaddingChanged is overridden.
  12926. 2006-12-24 Chris Toshok <[email protected]>
  12927. * Control.cs: corecompare work here too.
  12928. * DataGridViewElement.cs, DataGridView.cs,
  12929. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  12930. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  12931. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  12932. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  12933. work.
  12934. 2006-12-24 Miguel de Icaza <[email protected]>
  12935. * Control.cs: Switched the error message on the console for a
  12936. todo. A review of the code will have to cope with this anyways
  12937. (since its a large feature, it is in our radar) and it was
  12938. producing too much output when running PDN.
  12939. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  12940. changes. Applications depend on this (PDN 2.72)
  12941. 2006-12-23 Chris Toshok <[email protected]>
  12942. * TableLayoutSettings.cs: finish up the corcompare work for this
  12943. class.
  12944. 2006-12-23 Chris Toshok <[email protected]>
  12945. * Control.cs: make SetImplicitBounds internal, do some futzing
  12946. with LayoutEngine so that it's available in 1.1, and remove the
  12947. entire duplicated code mess from PerformLayout. Use
  12948. System.Windows.Forms.Layout.DefaultLayout instead.
  12949. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  12950. 2006-12-23 Jonathan Pobst <[email protected]>
  12951. * Form.cs: Add MainMenuStrip property.
  12952. 2006-12-23 Jonathan Pobst <[email protected]>
  12953. * Control.cs: Add ContextMenuStrip property and implementation.
  12954. Fix ContextMenu implementation to show menu centered on control when
  12955. activated using the keyboard instead of showing at screen (0,0).
  12956. * ToolStripDropDown.cs: Fix needed overload of Show ().
  12957. 2006-12-23 Everaldo Canuto <[email protected]>
  12958. * Menu.cs: Name property added for 2.0 profile.
  12959. 2006-12-23 Everaldo Canuto <[email protected]>
  12960. * Menu.cs: Update information about FindMenuItem, method to be
  12961. implemented soon.
  12962. 2006-12-23 Everaldo Canuto <[email protected]>
  12963. * MenuAPI.cs: When deselect items deselect also selected subitems.
  12964. 2006-12-23 Everaldo Canuto <[email protected]>
  12965. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  12966. FindSubItemByCoord to found itens that is not active, also an
  12967. cheking added to FindSubItemByCoord to search for items only
  12968. in visible popup windows. Fixes #80274.
  12969. 2006-12-22 Everaldo Canuto <[email protected]>
  12970. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  12971. internal property, it be care about change ExStyle.
  12972. 2006-12-22 Andreia Gaita <[email protected]>
  12973. * ContainerControl.cs: set activeControl for parent forms up the
  12974. tree when the new activecontrol is a container.
  12975. When validating the active control, if it is a container, also
  12976. raise up the validation for it's active control. Fixes #80280
  12977. * Control.cs: Add internal property flag and check to prevent
  12978. Focus events from getting raised when Select() is called for
  12979. a ContainerControl. There are still too many focus events being
  12980. raised at the moment though.
  12981. Cleaned up the code a bit.
  12982. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  12983. * Control.cs: Added all missing 2.0 events.and
  12984. fixed a couple of corcompare issues.
  12985. * TrackBar.cs: Implemented missing 2.0 bits.
  12986. * MonthCalendar.cs,
  12987. * DateTimePicker.cs,
  12988. * MdiClient.cs: Fixed some corcompare issues.
  12989. 2006-12-21 Jonathan Pobst <[email protected]>
  12990. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  12991. SplitterPanel.cs: corecompare work.
  12992. 2006-12-21 Jonathan Pobst <[email protected]>
  12993. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  12994. Clean up warnings for BackgroundImageChanged and PaddingChanged
  12995. events now that they are implemented in Control.cs.
  12996. 2006-12-21 Jonathan Pobst <[email protected]>
  12997. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  12998. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  12999. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  13000. of TableLayoutPanel and supporting cast.
  13001. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  13002. * XplatUIWin32.cs:
  13003. - GrabWindow now confines the mouse pointer to the confine window.
  13004. - Added Win32ClipCursor and Win32GetClipCursor.
  13005. * Control.cs:
  13006. - Added CaptureWithConfine to be able to capture and confine
  13007. mouse pointer.
  13008. * InternalWindowManager.cs:
  13009. - Call CaptureWithConfine instead of Capture if we're an
  13010. MdiChild (fixes #79982).
  13011. 2006-12-21 Chris Toshok <[email protected]>
  13012. * DataGrid.cs: guard against the initial state of selection, where
  13013. selection_start == -1. make sure we only select from index >= 0.
  13014. Fixes bug #80291.
  13015. 2006-12-21 Chris Toshok <[email protected]>
  13016. * Control.cs: we don't need to be so draconian with
  13017. UpdateDistances, and we thusly don't need to call it before
  13018. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  13019. 2006-12-21 Daniel Nauck <[email protected]>
  13020. * ComboBox.cs,
  13021. TextBox.cs: Implemented AutoComplete properties.
  13022. 2006-12-20 Chris Toshok <[email protected]>
  13023. * DataGridView*.cs: some corecompare work.
  13024. 2006-12-20 Jackson Harper <[email protected]>
  13025. * XplatUIX11.cs: We need to hide the caret when deleting it,
  13026. otherwise you get carets left lying around everywhere.
  13027. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  13028. prevents getting some weird half drawn caret tracers when
  13029. scrolling.
  13030. * TextControl.cs: Attempt to reduce the number of times we need to
  13031. recreate the caret.
  13032. 2006-12-20 Gert Driesen <[email protected]>
  13033. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  13034. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13035. * DateTimePicker.cs:
  13036. - Implemented missing 2.0 bits.
  13037. - Changed some default values to match MS.
  13038. 2006-12-20 Jackson Harper <[email protected]>
  13039. * TextBoxBase.cs: When changing the font across the document we
  13040. can't recalculate after changing each line, since that will cahnge
  13041. the line count.
  13042. - PreferredHeight is a little different than i thought.
  13043. - When backspacing, move the caret before we do the actual char
  13044. delete, because when that delete crosses a wrap boundary the
  13045. positional information will change.
  13046. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13047. * Control.cs: Added some missing 2.0 bits:
  13048. BackgroundImageLayout, BackgroundImageLayoutChanged,
  13049. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  13050. add IBindableComponent and IDropTarget implementation.
  13051. * MonthCalendar.cs:
  13052. - Added all missing 2.0 features:
  13053. BackgroundImageLayout, RightToLeftLayout,
  13054. OnHandleDestroyed, RightToLeftLayoutChanged,
  13055. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  13056. PaddingChanged.
  13057. - Rewrote all the BoldDate code, it was completely broken.
  13058. - Fixed all the tests (the tests can now be re-enabled, the
  13059. problems were not with the tests, but with the control, it was
  13060. mostly broken).
  13061. * DateTimePicker.cs: Changed the location where the
  13062. MonthCalendar is shown.
  13063. 2006-12-19 Chris Toshok <[email protected]>
  13064. * DataGridView.cs: add IDropTarget implementation.
  13065. * ToolStripPanel.cs: add IDropTarget implementation.
  13066. 2006-12-19 Jackson Harper <[email protected]>
  13067. * TextControl.cs: soft now means something different than what it
  13068. used to mean, we want to move the caret regardless of whether or
  13069. not this break was soft (would we really have wanted the caret
  13070. to not move with the break in the old context?)
  13071. * TreeView.cs: Make sure we factor in the vert scrollbar when
  13072. calculating the horizontal scrollbar's maximum.
  13073. 2006-12-19 Andreia Gaita <[email protected]>
  13074. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  13075. check for keywords in alternate casing, close bug #80049.
  13076. 2006-12-19 Chris Toshok <[email protected]>
  13077. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  13078. methods (which all do nothing).
  13079. * IDropTarget.cs: add the 4 missing methods.
  13080. 2006-12-19 Chris Toshok <[email protected]>
  13081. * TableLayoutRowStyleCollection.cs: corcompare work.
  13082. * TableLayoutSettings.cs: same.
  13083. * TableLayoutStyle.cs: same.
  13084. * TableLayoutColumnStyleCollection.cs: same.
  13085. 2006-12-19 Jonathan Pobst <[email protected]>
  13086. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  13087. TableLayoutPanel I've had in my local tree for way too long.
  13088. 2006-12-19 Miguel de Icaza <[email protected]>
  13089. * TableLayoutSettings.cs: Finish the public API (still needs all
  13090. the logic to update on changes).
  13091. * TableLayoutPanelCellPosition.cs: new file.
  13092. * TableLayoutRowStyleCollection.cs,
  13093. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  13094. TableLayoutSettings.cs: Track the final 2.0 table api.
  13095. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13096. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  13097. and Image List 2.0 members for ColummnHeader.
  13098. * ListView.cs: Add key-related 2.0 methods for
  13099. ColumnHeaderCollection.
  13100. 2006-12-19 Gert Driesen <[email protected]>
  13101. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  13102. ArgumentNullException if items argument is null. Ignore null item in
  13103. arrays. Removed extra tabs.
  13104. 2006-12-19 Gert Driesen <[email protected]>
  13105. * MonthCalendar.cs: Fixed InvalidCastException.
  13106. 2006-12-19 Jackson Harper <[email protected]>
  13107. * TextControl.cs: Don't increment the position here.
  13108. - When calculating char positions only add in the line break size
  13109. for hard line breaks.
  13110. 2006-12-19 Andreia Gaita <[email protected]>
  13111. * SendKeys.cs: Changed some things to match ms.net behaviour
  13112. when parsing shifted capital letters.
  13113. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  13114. Add window handle as parameter to SendInput. X11 needs the
  13115. window handle, and the handle being passed to it in the keys
  13116. queue is the active control handle (which windows needs), not
  13117. the window handle.
  13118. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  13119. to support SendKeys on X.
  13120. * X11Keyboard: Implement helper method to lookup a linux keycode
  13121. given the virtual keycode. Added table of keycode-2-virtualkey
  13122. values to support this.
  13123. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13124. * ListView.cs: Add support for SelectedIndexCollection
  13125. and SelectedItemCollection 2.0 methods. Implement support
  13126. for ImageKey too.
  13127. * ListViewItem.cs: Add support for ListViewSubItemCollection
  13128. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  13129. (it shouldn't call Clear).
  13130. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  13131. 2006-12-19 Jackson Harper <[email protected]>
  13132. * RichTextBox.cs:
  13133. * TextBoxBase.cs: New args for FormatText
  13134. * TextControl.cs: Rewrote the main drawing method, this version
  13135. feels a little easier to understand and debug to me. Hopefully it
  13136. does to others also
  13137. - Fix FormatText to OR in the new formating values. Added
  13138. FormatSpecified param, basically this works in the same way as
  13139. BoundsSpecified in Control.
  13140. - Set the caret properties when the caret is positioned.
  13141. - When wrapping text make sure that we calculate the width of the
  13142. last character
  13143. - when calculating alignments we might have wrapped down to the
  13144. next line, so don't search for an individual tag, search for the
  13145. end of the line
  13146. - We need to invalidate the selection area when we replace the
  13147. selection.
  13148. 2006-12-19 Daniel Nauck <[email protected]>
  13149. * Application.cs: add Restart () 2.0 support
  13150. 2006-12-18 Everaldo Canuto <[email protected]>
  13151. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  13152. property. Fixes #80268.
  13153. 2006-12-18 Everaldo Canuto <[email protected]>
  13154. * MenuAPI.cs: Dont trigger select event when closes top menu
  13155. item. Fixes #80270.
  13156. 2006-12-18 Everaldo Canuto <[email protected]>
  13157. * MenuAPI.cs: When you click on menuitem only trigger onselect
  13158. event for top menu itens. Fixes #80271.
  13159. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13160. * MdiWindowManager.cs: Make IconicBounds depend on
  13161. the bottom of MdiClient, not the top (fixes #80267)
  13162. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13163. * MdiClient.cs: Added missing 2.0 attribute
  13164. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  13165. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  13166. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  13167. 2006-12-18 Everaldo Canuto <[email protected]>
  13168. * MenuAPI.cs: Fix click when menuitem is not popup,
  13169. this regression was caused by last commit (#80272).
  13170. 2006-12-17 Everaldo Canuto <[email protected]>
  13171. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  13172. fire click event or close menu. Fixes #80272.
  13173. 2006-12-17 Daniel Nauck <[email protected]>
  13174. * ListViewHitTestInfo.cs: add
  13175. 2006-12-17 Daniel Nauck <[email protected]>
  13176. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  13177. * FlatButtonAppearance.cs: add
  13178. * DockingAttribute.cs: add
  13179. 2006-12-17 Chris Toshok <[email protected]>
  13180. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  13181. and rebind our columns when it does - this way, if you make
  13182. changes to the DataTable (or set the Table attribute on a DataView
  13183. after setting it as the DataGrid's DataSource, the changes are
  13184. made visible.) Fixes bug #80107.
  13185. 2006-12-17 Daniel Nauck <[email protected]>
  13186. * ListViewGroup.cs: add internal Location property for layouting.
  13187. * Theme.cs: add abstract ListViewGroupHeight function.
  13188. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  13189. 2006-12-16 Andreia Gaita <[email protected]>
  13190. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  13191. Added reset of selected index to 0 when adding first tab page.
  13192. Fixes #80264
  13193. * NumericUpDown.cs: Fix NET_2_0 check
  13194. 2006-12-16 Daniel Nauck <[email protected]>
  13195. * ListViewGroup.cs: fixed DefaultValueAttribute value
  13196. 2006-12-16 Daniel Nauck <[email protected]>
  13197. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  13198. 2006-12-15 Miguel de Icaza <[email protected]>
  13199. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  13200. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  13201. ScrollableControl.cs: Add a handful of methods that are
  13202. overwritten in 2.0
  13203. 2006-12-15 Chris Toshok <[email protected]>
  13204. * XplatUIWin32.cs: initial implementation of the Reversible
  13205. drawing functions. there are some problems. DrawReversibleFrame
  13206. doesn't seem to work at all for Dashed FrameStyle, and in the
  13207. Thick case there are drawing errors at the corners (we probably
  13208. need to bind Rectangle instead of doing moveto/lineto's.)
  13209. 2006-12-16 Andreia Gaita <[email protected]>
  13210. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  13211. to send blocks of key messages. Send accumulates keys to send with Flush,
  13212. while SendWait sends all keys immediately.
  13213. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  13214. XplatUIX11.cs, XplatUIX11-new.cs:
  13215. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  13216. to Win32 SendInput.
  13217. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  13218. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  13219. testing for ms.net on this class is very tricky, as the tests run too fast
  13220. to allow the hook to release, essentially freezing the keyboard and the
  13221. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  13222. category :p
  13223. 2006-12-16 Daniel Nauck <[email protected]>
  13224. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  13225. added missing attributes.
  13226. 2006-12-15 Daniel Nauck <[email protected]>
  13227. * ListViewGroup.cs: Added missing attributes.
  13228. * ListViewGroupCollection.cs: Added missing attributes.
  13229. 2006-12-15 Daniel Nauck <[email protected]>
  13230. * ListViewItem.cs: fixed ListViewSubItem text property.
  13231. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13232. * Control.cs: Added missing 2.0 attributes
  13233. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13234. * MdiClient.cs: Added missing 2.0 attribute.
  13235. * MonthCalendar.cs: Added some missing 2.0 attributes
  13236. and properties.
  13237. 2006-12-15 Daniel Nauck <[email protected]>
  13238. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  13239. 2006-12-15 Jonathan Pobst <[email protected]>
  13240. * MainMenu.cs: Add the new 2.0 constructor to help out people
  13241. using the MainMenu in VS2005.
  13242. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13243. * MdiChildContext.cs: Removed it, no longer used.
  13244. * MdiClient.cs: Added missing 2.0 attributes.
  13245. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13246. * InternalWindowManager.cs: Fix a NullRef with previous
  13247. changes for toolwindows.
  13248. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13249. * Control.cs:
  13250. - Added AfterTopMostControl to allow for certain controls
  13251. to always stay on top when normal controls are brought to
  13252. front.
  13253. * XplatUIWin32.cs:
  13254. - (DrawInversibleRectangle): Get window rectangle from Win32
  13255. in stead of from control, since Win32 doesn't calculate
  13256. screen coords correctly from control's Location if it
  13257. have docked siblings.
  13258. * MdiWindowManager.cs:
  13259. - Correct the control menu popup location when clicked on
  13260. the maximized form icon. (fixes #80223.1)
  13261. - Don't show moving rectangle if mouse hasn't moved from
  13262. the original clicked point.
  13263. - Removed FormGotFocus handler (not used).
  13264. - Calculate the control buttons location from the main
  13265. window's size and not client size (fixes #79770).
  13266. - Form is now closed when the form icon is double-clicked
  13267. (fixes #79775).
  13268. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  13269. * InternalWindowManager.cs:
  13270. - Moved some MDI-only methods to MdiWindowManager.
  13271. - Removed unused properties and methods.
  13272. - Unified method naming for methods handling wm messages.
  13273. - Moved all message handling to seperate methods for
  13274. each message.
  13275. * ThemeWin32Classic.cs:
  13276. - DrawManagedWindowDecorations now draws the title bar
  13277. with a gradient brush.
  13278. - Add a CPDrawButtonInternal that allows us to specify
  13279. light, normal and dark colors for the buttons (control
  13280. buttons for MDI children were drawn with the same light
  13281. color as the background, therefore loosing the 3D effect).
  13282. * SizeGrip.cs:
  13283. - Add a CapturedControl property that is used to
  13284. determine the control to resize (defaults to parent).
  13285. Needed for MdiClient, since its SizeGrip's parent is
  13286. MdiClient, but the control to resize is the main form.
  13287. * MdiClient.cs:
  13288. - Set SizeGrip's CapturedControl to the main form in order
  13289. to resize the main form and not the MdiClient.
  13290. - Override AfterTopMostControl to leave the scrollbars
  13291. always on top.
  13292. 2006-12-15 Daniel Nauck <[email protected]>
  13293. * ListView.cs: fixed ListViewItemCollection AddRange and
  13294. implemented ListViewItemCollection AddRange 2.0 support.
  13295. 2006-12-15 Daniel Nauck <[email protected]>
  13296. * ListViewGroup.cs: Add.
  13297. * ListViewGroupCollection.cs: Add
  13298. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  13299. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  13300. stub for ImageKey 2.0 support.
  13301. 2006-12-14 Mike Kestner <[email protected]>
  13302. * ListView.cs: add text padding to the autocalculation for columns
  13303. of width -2. Fixes #80207.
  13304. 2006-12-14 Mike Kestner <[email protected]>
  13305. * ListView.cs: add some index guarding for partial row navigation
  13306. logic. Fixes #80250.
  13307. 2006-12-14 Mike Kestner <[email protected]>
  13308. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  13309. are added or inserted to the collection. Fixes #81099.
  13310. 2006-12-13 Everaldo Canuto <[email protected]>
  13311. * MenuAPI.cs: Closes menu when right click out side of popup
  13312. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  13313. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  13314. * ListViewItem.cs: Fix dumb error.
  13315. * ListView.cs: Add Find and ContainsKey methods in
  13316. ListViewItemCollection, and also return true for IsReadOnly
  13317. and IsFixedSize (changes for 2.0).
  13318. 2006-12-13 Gert Driesen <[email protected]>
  13319. * Control.cs: Allow Region to be set to null.
  13320. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  13321. * MdiWindowManager.cs: Remove unused (commented out) code.
  13322. * Form.cs: When the MdiChild is maximized, the form needs
  13323. WM_NCMOUSELEAVE, so request it.
  13324. * InternalWindowManager.cs:
  13325. - Added tooltips to control buttons.
  13326. - Removed duplicated control button handling code.
  13327. - Removed unused (commented out) code.
  13328. 2006-12-12 Everaldo Canuto <[email protected]>
  13329. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  13330. was used because we must set cursor without trigger ChangeCursor event
  13331. and without change Cursor control property. Fixes #79963.
  13332. 2006-12-12 Andreia Gaita <[email protected]>
  13333. * Control.cs: Check if Region setter value is null, and ignore
  13334. 2006-12-12 Jackson Harper <[email protected]>
  13335. * TextControl.cs: We were almost always drawing one more line then
  13336. needed, since the GetLineByPixel will return the last line found
  13337. at that pixel. In most cases though, we were invalidating up to
  13338. the junction between two lines.
  13339. - Improve debug code.
  13340. 2006-12-12 Chris Toshok <[email protected]>
  13341. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  13342. and FillReversibleRectangle.
  13343. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  13344. and FillReversibleRectangle.
  13345. * XplatUIWin32.cs: add stubs which do nothing for
  13346. DrawReversibleFrame, DrawReversibleLine, and
  13347. FillReversibleRectangle.
  13348. * XplatUIOSX.cs: add stubs which raise NIE for
  13349. DrawReversibleFrame, DrawReversibleLine, and
  13350. FillReversibleRectangle.
  13351. * XplatUIX11.cs: add working implementation for
  13352. DrawReversibleFrame, DrawReversibleLine, and
  13353. FillReversibleRectangle.
  13354. * ControlPaint.cs: implement DrawReversibleFrame,
  13355. DrawReversibleLine, and FillReversibleRectangle, by calling into
  13356. the appropriate XplatUI method.
  13357. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13358. * Form.cs: Make MdiClient have the focus even if it's
  13359. not selectable, since it should receive WM_KEY* and WM_MOUSE
  13360. messages. Fixes #79907.
  13361. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13362. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  13363. queried after the window is created.
  13364. * XplatUIX11.cs: Added SendParentNotify to implement
  13365. WM_PARENTNOTIFY logic. Fixes #79965.
  13366. * Control.cs: Added MakeParam.
  13367. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13368. * MdiClient.cs: Resume Layout before setting window
  13369. states (fixes #80201).
  13370. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13371. * MenuAPI.cs: Deselect a menu item after performing
  13372. the click (fixes #80197).
  13373. 2006-12-11 Jackson Harper <[email protected]>
  13374. * TextBoxBase.cs: We need to cap this value, since Maximum -
  13375. ViewPortHeight can be less than zero.
  13376. - Only do selection with the left mouse button.
  13377. * TextBox.cs: Don't tell the world that we have a context menu.
  13378. * Control.cs: New method so that we can control whether or not the
  13379. context menu is visible outside MWF.
  13380. 2006-12-11 Everaldo Canuto <[email protected]>
  13381. * ToolBarButton.cs: Fix text positon.
  13382. 2006-12-11 Miguel de Icaza <[email protected]>
  13383. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  13384. * Control.cs (DoubleBuffered): Add implementation.
  13385. * Application.cs (OpenForms): Add.
  13386. 2006-12-11 Jonathan Pobst <[email protected]>
  13387. * Form.cs: Use opacity instead of Opactiy to determine if we need
  13388. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  13389. 2006-12-11 Jonathan Pobst <[email protected]>
  13390. * Control.cs: Fix NRE if Control.Site was set to null.
  13391. 2006-12-11 Chris Toshok <[email protected]>
  13392. * Control.cs: ControlCollection.Remove should return if the arg is
  13393. null, and ControlCollection.SetChildIndex should raise a ANE.
  13394. 2006-12-11 Gert Driesen <[email protected]>
  13395. * Control.cs: Verify value set for Dock property. Code formatting
  13396. updates.
  13397. 2006-12-11 Jackson Harper <[email protected]>
  13398. * TextControl.cs: Draw the caret and the selection when a flag is
  13399. set on the owner.
  13400. * TextBoxBase.cs: We want to draw the caret and the selection for
  13401. TextBox but not for TextBoxBase.
  13402. - If the window is resized and scrolling is no longer needed (the
  13403. whole doc is visible) set the scroll position to zero.
  13404. - The default SelectWord (the one TextBox uses) should move the
  13405. caret to the end of the word.
  13406. - SelectAll moves the caret to the end of the selection.
  13407. * TextBox.cs: We don't selectall on focus, we just do it when the
  13408. control is created.
  13409. 2006-12-11 Mike Kestner <[email protected]>
  13410. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  13411. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  13412. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  13413. 2.0 support.
  13414. * ListViewItem.cs: Add Name 2.0 property.
  13415. 2006-12-11 Andreia Gaita <[email protected]>
  13416. * TabControl.cs: Set visibility on selected or default tab
  13417. when tabcontrol handle is created, so that it's contents
  13418. actually show up (duh). Fixes #80193
  13419. Don't redraw the control if there is no handle created, as
  13420. the selected index might be completely invalid. Added some tests
  13421. to check for this.
  13422. 2006-12-11 Everaldo Canuto <[email protected]>
  13423. * ToolBar.cs: Uses maximun width and height of all buttons as
  13424. button rectangle when ButtonSize specified, it looks strange but
  13425. is what happens in Win32. Fixes #80189.
  13426. 2006-12-11 Jackson Harper <[email protected]>
  13427. * TextControl.cs: Need to track undo levels ourself, since
  13428. compound actions will mess them up.
  13429. 2006-12-10 Andreia Gaita <[email protected]>
  13430. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  13431. SelectedIndex value is changed (even if it's not valid).
  13432. Reset SelectedIndex to 0 when the handle is created and if
  13433. the current index is invalid.
  13434. Fixes SelectdeIndex unit tests and #80128
  13435. 2006-12-08 Chris Toshok <[email protected]>
  13436. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  13437. calls EndEdit, it needs to be called before we set current_cell to
  13438. its new value. Otherwise, we end up committing the value in the
  13439. textbox to the new cell as well. Fixes bug #80160.
  13440. 2006-12-08 Chris Toshok <[email protected]>
  13441. * Form.cs (set_CancelButton): if the button's DialogResult is
  13442. None, set it to Cancel. Fixes bug 80180.
  13443. 2006-12-08 Jackson Harper <[email protected]>
  13444. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  13445. to watch ourselves when setting the canvas size and setting the
  13446. scrollbar values.
  13447. 2006-12-08 Chris Toshok <[email protected]>
  13448. * DataGrid.cs: comment out the two MakeTransparent calls for the
  13449. time being so people using trunk (and not 1.2.2) on windows can
  13450. actually use the datagrid. This deals with bug #80151.
  13451. 2006-12-08 Jonathan Pobst <[email protected]>
  13452. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  13453. Graphics.DrawImage (image, int, int, int, int) overload instead
  13454. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  13455. the dpi difference and was blurring images it drew.
  13456. [Fixes bug #79960]
  13457. 2006-12-08 Chris Toshok <[email protected]>
  13458. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  13459. rowcnt is 0 (such as with an empty datasource), and make sure we
  13460. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  13461. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  13462. 2006-12-08 Chris Toshok <[email protected]>
  13463. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  13464. grid.
  13465. 2006-12-08 Chris Toshok <[email protected]>
  13466. [ Fixes bug #80167 ]
  13467. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  13468. style is FlatStyle.System.
  13469. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  13470. ButtonBase.flat_style private, and switch uses of it to the public
  13471. property.
  13472. 2006-12-08 Chris Toshok <[email protected]>
  13473. [ Fixes bug #80121 ]
  13474. * ThemeWin32Classic.cs: center the caption text in the datagrid
  13475. when we draw it.
  13476. * DataGrid.cs: lessen the amount we add to the caption height from
  13477. 6 to 2. 6 was making it huge.
  13478. 2006-12-08 Andreia Gaita <[email protected]>
  13479. * UpDownBase: Handle MouseWheel call directly instead of capturing
  13480. the inner textbox's OnMouseWheel. Fixes #80166
  13481. 2006-12-08 Jackson Harper <[email protected]>
  13482. * TextControl.cs: We need to invalidate the textbox when we empty
  13483. it (how had this not been discovered before?)
  13484. 2006-12-08 Jackson Harper <[email protected]>
  13485. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  13486. to behave like MS, we now ignore the eventargs.Click and just
  13487. track state ourself, which we were already doing anyways.
  13488. - Constrain the double click handler to the double click size.
  13489. 2006-12-08 Chris Toshok <[email protected]>
  13490. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  13491. direction if that scrollbar isn't shown. fixes bug #80158.
  13492. 2006-12-08 Andreia Gaita <[email protected]>
  13493. * NumericUpDown.cs: Update value on getter. Fixes #79950
  13494. 2006-12-08 Chris Toshok <[email protected]>
  13495. * MenuItem.cs: add back in the event cloning code. I didn't know
  13496. how to do it in the face of the EventHandlerList work i'd done
  13497. last week. Fixes bug #80183.
  13498. 2006-12-08 Jonathan Pobst <[email protected]>
  13499. * Control.cs: Add an invalidate to the BackgroundImage setter.
  13500. [Fixes 80184]
  13501. 2006-12-07 Jonathan Pobst <[email protected]>
  13502. * ToolStrip*: Add some small properties reported by MoMA, fix event
  13503. firing and default properties based off of unit tests, and add some
  13504. attributes based off of the class status page.
  13505. 2006-12-07 Jackson Harper <[email protected]>
  13506. * TextBoxBase.cs: Take HideSelection into account when determining
  13507. whether or not to show the selection.
  13508. * RichTextBox.cs: After inserting the RTF into the document move
  13509. the cursor to the beginning of the document.
  13510. 2006-12-07 Jonathan Pobst <[email protected]>
  13511. * Control.cs: Remove static ArrayList "controls" which maintained
  13512. a reference to every control created.
  13513. * Application.cs: Create a static FormCollection to maintain a reference
  13514. to every form created. Use it in places that formerly enumerated through
  13515. the controls one looking for forms.
  13516. * Form.cs: Add and remove self from above FormCollection.
  13517. 2006-12-07 Alexander Olk <[email protected]>
  13518. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  13519. not libgdk (though it makes me wonder why I didn't have any
  13520. problems)
  13521. 2006-12-07 Chris Toshok <[email protected]>
  13522. [ you had to know this was coming after that last commit...]
  13523. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  13524. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  13525. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  13526. XCopyArea).
  13527. 2006-12-07 Chris Toshok <[email protected]>
  13528. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  13529. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  13530. all the behavior we need for double buffering.
  13531. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  13532. client side Bitmap, just like the old Control-based double buffer
  13533. code did. The methods are virtual, so each XplatUI driver
  13534. subclass can replace the implementation to use a faster, platform
  13535. specific approach.
  13536. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  13537. double buffer code, and clean things up a bit in the process.
  13538. 2006-12-06 Chris Toshok <[email protected]>
  13539. * Control.cs: reindent WndProc.
  13540. 2006-12-06 Chris Toshok <[email protected]>
  13541. [ I wanna be like BenM when I grow up ]
  13542. * Hwnd.cs: create a single static Graphics object on the static
  13543. Bitmap we create. use this for our text measurements.
  13544. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  13545. This was causing us to allocate a backbuffer for every control,
  13546. even when it wasn't flagged as double buffered. Instead use the
  13547. single graphics instance. This might have implications for
  13548. multithreaded applications. If we run into problems we can switch
  13549. to creating 1 Graphics per control, on the static Hwnd bitmap.
  13550. this change nets us a 7M savings in private dirty mappings when
  13551. running FormsTest.exe.
  13552. 2006-12-06 Chris Toshok <[email protected]>
  13553. * ListView.cs: the BackgroundImage override is just to set
  13554. attributes. chain up to base.BackgroundImage.
  13555. * RichTextBox.cs: same.
  13556. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  13557. changes, so instead a handler for BackgroundImageChanged.
  13558. * Control.cs: make background_image private.
  13559. 2006-12-06 Chris Toshok <[email protected]>
  13560. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  13561. sure we even need this assignment, but roll with it for now.
  13562. * Control.cs: make the cursor field private.
  13563. 2006-12-06 Chris Toshok <[email protected]>
  13564. * Form.cs: we don't need to explicitly set ImeMode to
  13565. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  13566. behavior in the face of ImeMode.Inherit.
  13567. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  13568. change the ctor's assignment to use ImeMode instead of ime_mode.
  13569. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  13570. ImeModeInherit. Only check for the parent's imemode (and return
  13571. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  13572. This fixes the button unit test, which sets both ImeMode and
  13573. DefaultImeMode to ImeMode.Disable.
  13574. also make the ime_mode field private.
  13575. 2006-12-06 Chris Toshok <[email protected]>
  13576. * Control.cs: make control_style private.
  13577. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  13578. setting the styles to true, then setting them to false instead of
  13579. reverting to their previous values.
  13580. also, call SetStyle on the scrollbars instead of using
  13581. control_style directly.
  13582. 2006-12-06 Jonathan Pobst <[email protected]>
  13583. * FormCollection.cs: Implement. [2.0]
  13584. 2006-12-06 Chris Toshok <[email protected]>
  13585. * Control.cs: make tab_stop private.
  13586. * Label.cs: set TabStop, not tab_stop. reformat some event
  13587. add/remove methods to make them more compact.
  13588. 2006-12-06 Chris Toshok <[email protected]>
  13589. * RadioButton.cs: fix TabStop handling.
  13590. 2006-12-06 Chris Toshok <[email protected]>
  13591. * TextBox.cs: remove the explicit assignments to has_focus.
  13592. Control does that.
  13593. * ButtonBase.cs: remove the assignment to has_focus. Control will
  13594. manage that.
  13595. 2006-12-06 Chris Toshok <[email protected]>
  13596. * ButtonBase.cs: remove all uses of is_enabled from this code.
  13597. it's always true when any of the code containing the checks is
  13598. executed.
  13599. 2006-12-06 Chris Toshok <[email protected]>
  13600. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  13601. with different semantics (some are present in both 1.1 and 2.0
  13602. profiles) so that we match MS's behavior in our unit tests.
  13603. 2006-12-06 Jackson Harper <[email protected]>
  13604. * TextControl.cs: Make this operation undoable.
  13605. * TextBoxBase.cs: Factor the border width into the preferred
  13606. height.
  13607. - implement Modified as per the spec.
  13608. 2006-12-06 Chris Toshok <[email protected]>
  13609. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  13610. 2006-12-06 Chris Toshok <[email protected]>
  13611. * Control.cs: make right_to_left and context_menu fields private.
  13612. 2006-12-06 Chris Toshok <[email protected]>
  13613. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  13614. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  13615. Control.child_controls private. switch all uses over to
  13616. Control.Controls.
  13617. 2006-12-06 Chris Toshok <[email protected]>
  13618. * System.Windows.Forms/GroupBox.cs,
  13619. System.Windows.Forms/AccessibleObject.cs,
  13620. System.Windows.Forms/ErrorProvider.cs,
  13621. System.Windows.Forms/Control.cs,
  13622. System.Windows.Forms/UpDownBase.cs,
  13623. System.Windows.Forms/ScrollBar.cs,
  13624. System.Windows.Forms/DateTimePicker.cs,
  13625. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  13626. System.Windows.Forms/ToolTip.cs,
  13627. System.Windows.Forms/RadioButton.cs,
  13628. System.Windows.Forms/LinkLabel.cs,
  13629. System.Windows.Forms/Splitter.cs,
  13630. System.Windows.Forms/TextBoxBase.cs,
  13631. System.Windows.Forms/ToolStripTextBox.cs,
  13632. System.Windows.Forms/ContainerControl.cs,
  13633. System.Windows.Forms/ThemeWin32Classic.cs,
  13634. System.Windows.Forms/SizeGrip.cs,
  13635. System.Windows.Forms/ToolStripDropDown.cs,
  13636. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  13637. private. switch all uses over to Control.Parent.
  13638. 2006-12-06 Chris Toshok <[email protected]>
  13639. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  13640. Control does this before calling emitting these events.
  13641. * TabControl.cs: same.
  13642. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  13643. Control.client_rect.
  13644. * ButtonBase.cs: use the ClientSize property instead of the
  13645. client_size field.
  13646. * ScrollableControl.cs: same.
  13647. * Control.cs: another pass at making properties private. also,
  13648. move the initialization of tab_stop to the ctor.
  13649. 2006-12-05 Andreia Gaita <[email protected]>
  13650. * TabControl.cs: Let the selected index be set freely if the
  13651. control handle is not yet created.
  13652. 2006-12-05 Jonathan Pobst <[email protected]>
  13653. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  13654. internal until I can rewrite DefaultLayout.
  13655. * ToolStrip.cs: Fix build error and some general cleaning.
  13656. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  13657. Fix build errors caused by making some of Control's fields private.
  13658. 2006-12-05 Jackson Harper <[email protected]>
  13659. * TextControl.cs: Redo Insert a little so that it use IndexOf
  13660. instead of Split, this prevents it from messing up on things like
  13661. \n\n\n. Also more effecient since the split array doesn't need to
  13662. be created.
  13663. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  13664. multiline text differently, this is the first of many fixes that
  13665. will make multiline/non-multiline the same thing as far as the
  13666. TextBoxBase is concerned.
  13667. - Don't split the text and insert lines, this can lose some line
  13668. endings (like is the last line a soft or hard break). Instead use
  13669. the new Insert.
  13670. - Fix an off by one when combining all the lines in the Text
  13671. getter.
  13672. - Remove separate multiline handling from the Text getter/setter.
  13673. 2006-12-05 Chris Toshok <[email protected]>
  13674. * ButtonBase.cs: a few changes:
  13675. - don't reinitialize internal Control fields in the ctor when they
  13676. have the same values as Control sets them.
  13677. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  13678. this before calling those methods.
  13679. - we don't need to call Refresh for anything. use Invalidate
  13680. instead.
  13681. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  13682. calls Refresh in its OnEnabledChanged.
  13683. - several of the events we were registered for in the ctor to
  13684. redraw ourselves already include calls to Invalidate in the
  13685. property setters that raise the events. remove the extra
  13686. invalidation.
  13687. - reformat a switch statement that was 83274658 columns wide.
  13688. 2006-12-05 Mike Kestner <[email protected]>
  13689. * ComboBox.cs: fix a unit test regression from a TextBox
  13690. SelectionLength return of -1 when there's no selection.
  13691. 2006-12-05 Chris Toshok <[email protected]>
  13692. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  13693. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  13694. cleaning up some of the internal Control fields being used by
  13695. subclasses.
  13696. 2006-12-05 Mike Kestner <[email protected]>
  13697. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  13698. listbox after AddImplicit calls since it defaults to hidden. Add a
  13699. hack to preserve requested heights across DropDownStyle changes.
  13700. 2006-12-05 Jonathan Pobst <[email protected]>
  13701. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  13702. 2006-12-05 Chris Toshok <[email protected]>
  13703. * DataGridView.cs: fix compiler warnings.
  13704. * PrintControllerWithStatusDialog.cs: same.
  13705. * ToolBar.cs: same.
  13706. * FolderBrowserDialog.cs: same.
  13707. * Splitter.cs: same.
  13708. * DataGridViewComboBoxCell.cs: same.
  13709. * XplatUIWin32.cs: same.
  13710. * PictureBox.cs: same.
  13711. * Win32DnD.cs: same.
  13712. * PageSetupDialog.cs: same.
  13713. * FileDialog.cs: same.
  13714. * PrintDialog.cs: same.
  13715. * DataGridTextBoxColumn.cs: same.
  13716. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  13717. 2006-12-05 Chris Toshok <[email protected]>
  13718. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  13719. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  13720. System.ComponentModel.EventHandlerList work.
  13721. 2006-12-05 Jonathan Chambers <[email protected]>
  13722. * DrawTreeNodeEventArgs.cs: Added.
  13723. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13724. * InternalWindowManager.cs: Remove an unused field.
  13725. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13726. * InternalWindowManager.cs:
  13727. - Save the point where the title bar is clicked.
  13728. * MdiWindowManager.cs:
  13729. - Only allow moving of the window as long as the
  13730. clicked point on the title bar does not get out of
  13731. MdiClient's rectangle. Fixes #79982.
  13732. * MdiClient.cs:
  13733. - Added Horizontal/VerticalScrollbarVisible.
  13734. - Simplified the scrollbar sizing algorithm.
  13735. - Cache the difference in scrolled value in
  13736. H/VBarValueChanged and move the calculation out
  13737. of the for loop.
  13738. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13739. * Control.cs: Make the Console.WriteLine in WndProc
  13740. write more info.
  13741. 2006-12-05 Chris Toshok <[email protected]>
  13742. * ToolStripManager.cs, ToolStripButton.cs,
  13743. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  13744. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  13745. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  13746. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  13747. ToolStripProgressBar.cs, ToolStripContainer.cs,
  13748. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  13749. to using System.ComponentModel.EventHandlerList.
  13750. 2006-12-04 Chris Toshok <[email protected]>
  13751. * LinkLabel.cs: fix up compiler warnings.
  13752. * TableLayoutSettings.cs: same.
  13753. * TreeView.cs: same.
  13754. * ToolBar.cs: same.
  13755. * TabControl.cs: same.
  13756. * RichTextBox.cs: same.
  13757. * ListViewItem.cs: same.
  13758. * PropertyGrid.cs: same.
  13759. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  13760. * ToolTip.cs same.
  13761. * TextRenderer.cs: fix up compiler warnings.
  13762. * Label.cs: same.
  13763. * Form.cs: corcompare fixes.
  13764. * PictureBox.cs: fix up compiler warnings.
  13765. * ImageListStreamer.cs: same.
  13766. * TrackBar.cs: corcompare fix.
  13767. * Control.cs: fix up compiler warnings.
  13768. * SplitterPanel.cs: same.
  13769. * NumericTextBox.cs: same.
  13770. * ImageList.cs: same.
  13771. * StatusStrip.cs: same.
  13772. * ProgressBar.cs: corcompare fix.
  13773. * ToolStripButton.cs: fix up compiler warnings.
  13774. * ToolStripStatusLabel.cs: same.
  13775. * ToolStripSplitButton.cs: same.
  13776. * ToolStripSeparator.cs: same.
  13777. * ToolStripProgressBar.cs: same.
  13778. * ToolStripDropDownMenu.cs: same
  13779. * ToolStripDropDown.cs: same.
  13780. * ToolStripDropDownButton.cs: same.
  13781. * ToolStrip.cs: same.
  13782. * ToolStripControlHost.cs: same.
  13783. * ToolStripContentPanel.cs: same.
  13784. * ToolStripDropDown.cs: same.
  13785. * ToolStripContainer.cs: same.
  13786. * ToolStripPanel.cs: same, and add "new" where we need it to work
  13787. with the new ArrangedElementCollection.
  13788. * ToolStripItemCollection.cs: add "new" where we need it to work
  13789. with the new ArrangedElementCollection.
  13790. 2006-12-04 Andreia Gaita <[email protected]>
  13791. * TabControl.cs: Fix default tab selection to after TabControl
  13792. gets focus and not before. Fixes #80128
  13793. 2006-12-04 Chris Toshok <[email protected]>
  13794. * DataGridTableStyle.cs: remove the gross calling of
  13795. datagrid.Refresh from here. It's a broken idea and it doesn't
  13796. work anyway.
  13797. * DataGrid.cs: instead, just register/unregister from the
  13798. DataGridTableStyle events in CurrentTableStyle. we play it
  13799. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  13800. even though some would most likely not require it. Fixes bug
  13801. #80115 (and one portion of #80117 as a side effect).
  13802. 2006-12-04 Chris Toshok <[email protected]>
  13803. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  13804. so the textbox (if any) goes away. Fixes bug #80117.
  13805. 2006-12-04 Chris Toshok <[email protected]>
  13806. * DataGridColumnStyle.cs: set the column's readonly property
  13807. initially based on the property descriptor's IsReadOnly. Fixes
  13808. bug #80044.
  13809. 2006-12-04 Chris Toshok <[email protected]>
  13810. * ComboBox.cs: wrap the dropdown style changing work in
  13811. SuspendLayout/ResumeLayout. Fixes bug #79968.
  13812. 2006-12-04 Jackson Harper <[email protected]>
  13813. * TextBoxBase.cs: Fix off by one, since these are one-based.
  13814. * TextBox.cs: Select all the text when we get focus. The TextBox
  13815. does this but the RTB does not.
  13816. 2006-12-04 Chris Toshok <[email protected]>
  13817. * DataGridTextBoxColumn.cs: remove some spew.
  13818. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  13819. but some part of me is saying "it shouldn't be here.." At any
  13820. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  13821. setting the value.
  13822. 2006-12-04 Chris Toshok <[email protected]>
  13823. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  13824. to reassign the propertydescriptor.
  13825. 2006-12-04 Jackson Harper <[email protected]>
  13826. * TextBoxBase.cs:
  13827. * TextControl.cs: Remove some unused variables. Maybe this will
  13828. patch things up between mike and I.
  13829. - don't split lines less then one char wide, if the viewport is
  13830. that small text won't be visible anyways.
  13831. 2006-12-04 Jackson Harper <[email protected]>
  13832. * TextBoxBase.cs: Default selection length is -1, need to do some
  13833. more testing on windows to see when this is used for the property.
  13834. - Redid the Lines [] property to that we properly remove soft line
  13835. breaks
  13836. - added support for preserving carriage returns
  13837. - CanUndo is not a variable like 'is undo enabled' it just returns
  13838. true if there is undo operations available.
  13839. - AppendText doesn't need to grab the last tag itself anymore,
  13840. this happens automatically when we move the cursor.
  13841. * TextControl.cs: Add CompoundActions to the undo class. This
  13842. allows combining the other operations into one big option. ie a
  13843. paste will combine { delete old, insert new, move cursor }
  13844. - Add InsertString undo operation
  13845. - New method for deleting multiline text
  13846. - Add carriage returns to lines. So we can preserve carriage
  13847. returns when text is 'roundtripped'
  13848. 2006-12-04 Chris Toshok <[email protected]>
  13849. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  13850. minimum 0. Fixes the scrollbar exception in bug #80136.
  13851. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13852. * MdiClient.cs:
  13853. * MdiWindowManager: Removed unused fields and methods.
  13854. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13855. * StatusBar.cs: Update all panels when a AutoSize=Contents
  13856. panel needs updating.
  13857. * StatusBarPanel.cs: Remove twidth and only use initialize.
  13858. Fixes #80031.
  13859. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13860. * Form.cs: When a form's MdiParent is set add it directly
  13861. on top of the z-order in stead of relying on MdiClient's
  13862. ActivateChild to do it. Fixes #80135.
  13863. * MdiClient.cs:
  13864. - Remove original_order, mdi_child_list is already doing
  13865. the same thing.
  13866. - Create mdi_child_list on construction in
  13867. stead of first use (avoids a few null checks).
  13868. * MenuItem.cs: Use an already existing list of mdi children
  13869. to get the correct order of children and remove the other
  13870. redundant list.
  13871. 2006-12-04 Chris Toshok <[email protected]>
  13872. * PropertyGridView.cs: cached_splitter_location is only used in
  13873. !DOUBLEBUFFER code.
  13874. * PropertyGrid.cs: implement the ComComponentNameChanged event
  13875. using Events, hoping that would fix the warning. Looks like a
  13876. compiler bug instead (#80144).
  13877. * PropertyManager.cs: remove unused method.
  13878. 2006-11-04 Everaldo Canuto <[email protected]>
  13879. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  13880. include parentesis to fix expression evaluation. Fixes #79634.
  13881. 2006-11-02 Everaldo Canuto <[email protected]>
  13882. * MenuAPI.cs:
  13883. - Changes to fix behavior in Menu control, some reported in #80097
  13884. and other detected during behavior refactory like a select event
  13885. problems.
  13886. - Remove unneded "if's" conditions.
  13887. - Created an internal to flag when popup is active in control, we need
  13888. it because in .NET you can have menu active but without popup active
  13889. when you active menu using popup without visible items.
  13890. - Mimic win32 behavior for Select and Popup events.
  13891. - Dont open popup menu when you dont have visible subitems.
  13892. - Do nothing when click on disabled menu item.
  13893. - Some small changes to follow the coding style guidelines.
  13894. - Unselect menu only when another control gives focus. Fixes #80097.
  13895. - Remove unused code.
  13896. * MenuItem.cs: internal VisibleItems method to check if menu
  13897. theres visible subitems, it will be usefull to fix some
  13898. behavior in Menu control.
  13899. 2006-11-01 Everaldo Canuto <[email protected]>
  13900. * Timer.cs: Tag property for 2.0 profile.
  13901. 2006-12-01 Chris Toshok <[email protected]>
  13902. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  13903. * Win32DnD.cs: comment out some unused fields.
  13904. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  13905. some unused properties/methods.
  13906. * XplatUIX11.cs: fix MousePosition so we override the base class's
  13907. property instead of conflicting with it.
  13908. * PictureBox.cs: comment out some unused fields
  13909. * OSXStructs.cs: make some struct fields public.
  13910. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  13911. MousePosition so we override the base class's property instead of
  13912. conflicting with it.
  13913. * X11Dnd.cs: comment out some unused fields
  13914. * X11DesktopColors.cs: fix some struct field visibility to quiet
  13915. the compiler.
  13916. * X11Dnd.cs: remove some debug code.
  13917. * ThemeClearlooks.cs: comment out unused field.
  13918. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  13919. * ThemeGtk.cs: comment out some unused pinvokes.
  13920. * Timer.cs: remove some unused fields.
  13921. * ThemeClearlooks.cs: comment out unused field.
  13922. * UpDownBase.cs: comment out unused field.
  13923. * DataObject.cs: comment out unused field.
  13924. * DataGridBoolColumn.cs: reomve unused field.
  13925. * DataGrid.cs: remove unused field.
  13926. * Cursor.cs: remove old ToBitmap code.
  13927. * ControlPaint.cs: remove unused method.
  13928. * ScrollBar.cs: remove unused fields.
  13929. * ComboBox.cs: remove unused field, and chain up to
  13930. AccessibleObject ctor.
  13931. * ListBox.cs: remove unused field.
  13932. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  13933. * GridEntry.cs: remove unused fields.
  13934. * Binding.cs: remove unused fields.
  13935. * AxHost.cs: remove unused method.
  13936. * ContainerControl.cs: remove unused field.
  13937. * ScrollableControl.cs: remove unused fields.
  13938. 2006-12-01 Chris Toshok <[email protected]>
  13939. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  13940. the Where/WhereString stuff. it's easy enough to CWL
  13941. Environment.StackTrace.
  13942. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  13943. unused private fields.
  13944. 2006-12-01 Jackson Harper <[email protected]>
  13945. * TextControl.cs: Do not update the view while inserting multiline
  13946. text. If we update the view we might wrap lines, before entering
  13947. the new lines, which causes the new line insertion calculations to
  13948. be totally fubared.
  13949. - Remove an old TODO
  13950. - Make debug output a little nicer
  13951. 2006-12-01 Chris Toshok <[email protected]>
  13952. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  13953. 2006-12-01 Chris Toshok <[email protected]>
  13954. [ fix the majority of the CS0108 warnings we've been suppressing ]
  13955. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  13956. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  13957. to "LayoutToolBar" to quiet mcs.
  13958. * TabControl.cs: mark our ControlCollection class as 'new'.
  13959. * TextBoxBase.cs: mark some events as 'new'.
  13960. * Splitter.cs: TabStop is 'new'.
  13961. * ControlBindingsCollection.cs: mark a few methods as new since
  13962. they change the visibility from protected to public.
  13963. * RadioButton.cs: DoubleClick -> base class, and remove unused
  13964. HaveDoubleClick.
  13965. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  13966. events as new.
  13967. * NumericUpDown.cs: TextChanged -> base class.
  13968. * CheckedListBox.cs: mark our ObjectCollection class as new to
  13969. quiet mcs.
  13970. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  13971. muck with the base class.
  13972. * StatusBar.cs: fix some mcs warnings about Update being the same
  13973. name as a base class method.
  13974. * RichTextBox.cs: mark some events as new, and make them do things
  13975. to the base class impl.
  13976. * UserControl.cs: mark TextChanged as new, and have it manipulate
  13977. base.TextChanged.
  13978. * UpDownBase.cs: mark some things new.
  13979. * CheckBox.cs: mark DoubleClick "new", and add some text about
  13980. what we need to look at.
  13981. * Panel.cs: make the events "new", and manipulate the base
  13982. version. these are just here for attributes.
  13983. * AccessibleObject.cs: make owner private.
  13984. * Control.cs: deal with AccessibleObject.owner being private.
  13985. cache our own copy if we need it.
  13986. * Button.cs: add "new" to the DoubleClickEvent.
  13987. * ListBox.cs: no need to track our own has_focus here. let
  13988. Control.has_focus do it for us. Also some other work to clear up
  13989. warnings about not overriding base class methods of the same name.
  13990. * ComboBox.cs: clear up some warnings about not override base
  13991. class methods of the same name.
  13992. 2006-12-01 Chris Toshok <[email protected]>
  13993. * Form.cs: flag a few things as "new" to quiet some of the mcs
  13994. warnings.
  13995. * AxHost.cs: same.
  13996. * PrintPreviewDialog.cs: same.
  13997. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  13998. now DGV isn't so horrible on the class status page. also, move
  13999. all events to using System.ComponentModel.EventHandlerList. my
  14000. wrists hurt.
  14001. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  14002. * MdiWindowManager.cs:
  14003. - Set form to active mdi child if shown,
  14004. and update the active mdi child to the next
  14005. remaining child in the z-order if the form is hidden.
  14006. * Form.cs:
  14007. - Track if the form has been visible and if its
  14008. visibility is beeing changed, so that the MdiClient
  14009. can properly decide the ActiveMdiChild. The MdiClient
  14010. cannot track this since the form can change visibility
  14011. before MdiClient is created.
  14012. * MdiClient.cs:
  14013. - Don't activate anything of the parent form is changing
  14014. its visibility.
  14015. - Rework ActiveMdiChild to only return visible mdi
  14016. children and take into account several other corner
  14017. cases.
  14018. 2006-12-01 Chris Toshok <[email protected]>
  14019. * IBindableComponent.cs: new 2.0 interface.
  14020. 2006-12-01 Gert Driesen <[email protected]>
  14021. * DataGrid.cs: Font for caption area is bold by default.
  14022. 2006-12-01 Everaldo Canuto <[email protected]>
  14023. * Menu.cs: Tag property for 2.0.
  14024. 2006-11-01 Everaldo Canuto <[email protected]>
  14025. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  14026. 2006-12-01 Chris Toshok <[email protected]>
  14027. * TreeView.cs: doh, the Begin* events should be
  14028. TreeViewCancelEventHandler.
  14029. 2006-12-01 Chris Toshok <[email protected]>
  14030. * Form.cs: Form.ControlCollection already stores off the
  14031. form_owner field. don't access the base class's internal "owner"
  14032. field.
  14033. * Control.cs: make all the fields in Control.ControlCollection
  14034. private. there's no need for any internal fields here.
  14035. 2006-12-01 Chris Toshok <[email protected]>
  14036. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  14037. OnHandleCreated. Fixes bug #80109.
  14038. 2006-12-01 Chris Toshok <[email protected]>
  14039. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  14040. SplitContainer.cs, Control.cs, StatusStrip.cs,
  14041. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  14042. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  14043. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  14044. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  14045. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  14046. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  14047. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  14048. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  14049. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  14050. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  14051. do most of the work to convert our code over to use
  14052. System.ComponentModel.Component.Events for
  14053. adding/removing/dispatching events.
  14054. 2006-11-30 Jonathan Pobst <[email protected]>
  14055. * DataGridView.cs: Fix an ArgumentNullException reported
  14056. twice today in IRC.
  14057. 2006-11-30 Mike Kestner <[email protected]>
  14058. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  14059. grabbed listbox. Fixes #80036 and #80101.
  14060. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14061. * Message.cs: Changed ToString() to match MS.
  14062. 2006-11-30 Jackson Harper <[email protected]>
  14063. * TextBoxBase.cs: You can still change the selected text on a read
  14064. only textbox.
  14065. * TextControl.cs: Lower magic number for wrap calculations. This
  14066. lets text get closer to the right (far) edge.
  14067. 2006-11-30 Jonathan Pobst <[email protected]>
  14068. * Control.cs: Tweak 2.0 layout properties.
  14069. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  14070. * TextRenderer.cs: Add a new overload.
  14071. * ToolStrip*: Huge amount of changes and new features.
  14072. 2006-11-30 Mike Kestner <[email protected]>
  14073. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  14074. scroll range correct. Fixes #79994.
  14075. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14076. * MdiWindowManager.cs: Update main form's text when
  14077. a form is closed. (fixes #80038)
  14078. 2006-11-30 Everaldo Canuto <[email protected]>
  14079. * ToolBar.cs:
  14080. - Fix an regression in ButtonSize.
  14081. - Get ImeMode default value change to "Disable".
  14082. - Get ShowTooltips default value change to true, default value is
  14083. "false" but after make a test in .NET we get "true" result as default.
  14084. 2006-11-29 Jonathan Pobst <[email protected]>
  14085. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  14086. 2006-11-29 Chris Toshok <[email protected]>
  14087. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  14088. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  14089. SetWindowTransparency hasn't been called.
  14090. 2006-11-29 Chris Toshok <[email protected]>
  14091. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  14092. if it's supported.
  14093. (set_AllowTransparency): reorder things a little so that the
  14094. WS_EX_LAYERED style is removed properly.
  14095. 2006-11-29 Chris Toshok <[email protected]>
  14096. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  14097. * Form.cs: only call the XplatUI transparency method (get/set) if
  14098. SupportsTransparency says it's supported. Otherwise fallback to
  14099. doing nothing (in the set case) or returning the instance field we
  14100. cache (in the get case).
  14101. * XplatUIStructs.cs: add TransparencySupport flag enum.
  14102. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  14103. change to SupportsTransparency.
  14104. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  14105. TransparencySupport.None from SupportsTransparency.
  14106. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  14107. TransparencySupport.Set from SupportsTransparency.
  14108. * XplatUIWin32.cs: implement GetWindowTransparency calling
  14109. GetLayeredWindowAttributes, and implement SupportsTransparency by
  14110. checking whether or not both
  14111. GetWindowTransparency/SetWindowTransparency are available
  14112. entrypoints. We need to do this since SetWindowTransparency is
  14113. available as of win2k, but GetWindowTransparency requires winxp.
  14114. yay win32 api.
  14115. * XplatUI.cs: Add GetWindowTransparency, and change
  14116. SupportsTransparency to allow for either/both Get/Set.
  14117. 2006-11-29 Chris Toshok <[email protected]>
  14118. * DataGrid.cs: keep from going into an infinite loop redrawing a
  14119. datagrid that has no datasource. Fixes bug #80033.
  14120. 2006-11-29 Chris Toshok <[email protected]>
  14121. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  14122. Invalidate) before the mainmenu has been assigned to a control.
  14123. 2006-11-29 Chris Toshok <[email protected]>
  14124. * DataGrid.cs: detect when we should be double the double click
  14125. row/column autosize stuff, although that codepath has yet to be
  14126. written. part of the work for bug #79891.
  14127. 2006-11-29 Chris Toshok <[email protected]>
  14128. * Binding.cs (SetControl): fix unit test.
  14129. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  14130. * PageSetupDialog.cs: Validate the margins and set them in
  14131. PageSettings.
  14132. * NumericTextBox.cs: New class to mimic the behavior of the
  14133. textboxes used in the printing dialogs.
  14134. 2006-11-29 Andreia Gaita <[email protected]>
  14135. * Form.cs: Revert previous change (remove call UpdateBounds
  14136. from form constructor), because it messes with the handle creation
  14137. order, and that one needs lots and lots of love.
  14138. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  14139. for valid printer and throw InvalidPrinterException if document
  14140. is set but printer not valid), adding a MonoTODO. Once
  14141. handle creation is done properly, we can put this back in.
  14142. 2006-11-28 Everaldo Canuto <[email protected]>
  14143. * MenuItem.cs: Create a invalidate method for menu item, to be
  14144. calling from set text, it make text changes to imadiate update
  14145. on screen. Fixes #80013.
  14146. 2006-11-28 Everaldo Canuto <[email protected]>
  14147. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  14148. fixes bug #80070 and some other problem on toolbar buttons
  14149. layout.
  14150. 2006-11-28 Everaldo Canuto <[email protected]>
  14151. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  14152. with dotted brush. Fixes #79564
  14153. 2006-11-28 Andreia Gaita <[email protected]>
  14154. * Form.cs: Removed call to UpdateBounds on Form
  14155. constructor, it was causing a call to CreateHandle
  14156. before it was supposed to.
  14157. * PrintControllerWithStatusDialog: Applied patch
  14158. by Chris Toshok to hide controller when there are
  14159. no printers available.
  14160. PrintDialog.cs: initialize printer settings to
  14161. null - correct DefaultValues test #5
  14162. * PrintPreviewControl.cs: Move PrintController
  14163. initialization to GeneratePreview
  14164. * PrintPreviewDialog.cs:
  14165. - Remove Preview generation from Document_set(). It is
  14166. called on OnPaint
  14167. - Throw InvalidPrinterException on CreateHandle if
  14168. a Document is set but there are no printers or
  14169. printer is not valid.
  14170. * ThemeWin32Classic: don't paint PrintPreviewControl
  14171. if there is nothing to paint
  14172. 2006-11-28 Miguel de Icaza <[email protected]>
  14173. * Form.cs: Add another popular method.
  14174. * TabPage.cs: ditto.
  14175. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14176. * MenuItem.cs: Fixed a warning.
  14177. * InternalWindowManager: Fixed a warning.
  14178. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14179. * MenuItem.cs:
  14180. - When cloning a menu also clone MdiList and clone the
  14181. window menu items properly (as the forms and menuitems
  14182. are kept in an internal hashtable, these need updating
  14183. as well)
  14184. - Rewrote the window menu code, menu items are added in the
  14185. order the forms were added to their parent, and they are
  14186. updated every time the window menu is shown (before the
  14187. list was only generated once, in the current order of the
  14188. forms, and would never be updated). A checkmark is shown
  14189. next to the item corresponding to the active mdi child.
  14190. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14191. * XplatUIStructs.cs:
  14192. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  14193. * XplatUIWin32.cs:
  14194. - Added TME_NONCLIENT to TMEFlags.
  14195. - Handles WM_NCMOUSEMOVE in GetMessage to
  14196. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  14197. * MdiWindowManager:
  14198. - Now merges mdi child menu to parent menu when maximized.
  14199. - Recalculate NC areas of both mdi child and mdi parent.
  14200. Fixes #79757 (4).
  14201. on window state and size changes.Fixes #79844 (3).
  14202. - Handle WM_NCCALCSIZE to properly calculate borders.
  14203. * Form.cs:
  14204. - Add/remove to the mdi containers list of mdi children
  14205. in the order they are added.
  14206. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  14207. to the maximized mdi child.
  14208. * InternalWindowManager.cs:
  14209. - Only execute a click on the control buttons on the mouse up,
  14210. not on the mouse down. Show the state of the button
  14211. (was only showing Normal state, never Pressed state). The
  14212. pressed button now follows the mouse (if you click the Close
  14213. button and move the mouse over the Maximize button, the
  14214. Maximize button will be shown as pressed). Since Win32 does
  14215. not generate WM_NCLBUTTONUP if you release the button outside
  14216. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  14217. it as a mouse up.
  14218. * ThemeWin32Classic.cs:
  14219. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  14220. * MdiClient.cs:
  14221. - Added a list of forms which contains the order the forms are
  14222. added to the mdi parent.
  14223. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  14224. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  14225. - If the active form changes set the scrollbars to the top
  14226. of the Z order, otherwise the form could hide them.
  14227. - Scrollbars are now sized according to ClientSize, not
  14228. to Size, and they take into account the other scrollbar
  14229. to determine maximum.
  14230. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14231. * XplatUI.cs:
  14232. * XplatUIDriver.cs:
  14233. * XplatUIX11.cs:
  14234. * XplatUIWin32.cs:
  14235. * XplatUIOSX.cs:
  14236. - Added RequestAdditionalWM_NCMessages for windows to
  14237. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  14238. Currently only implemented in XplatUIWin32.
  14239. 2006-11-27 Chris Toshok <[email protected]>
  14240. * Hwnd.cs: only add the hwnd to the windows hash in
  14241. set_WholeWindow and set_ClientWindow if whole_window/client_window
  14242. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  14243. 2006-11-27 Mike Kestner <[email protected]>
  14244. * ComboBox.cs: remove redundant OnDropDown call. It is called
  14245. from the ComboListBox.ShowWindow code. Fixes #79969.
  14246. 2006-11-27 Chris Toshok <[email protected]>
  14247. * Hwnd.cs: remove the setters for ExposePending and
  14248. NCExposePending - noone uses them.
  14249. 2006-11-27 Jackson Harper <[email protected]>
  14250. * TextControl.cs: new param for ReplaceSelection which determines
  14251. whether we select the new selection, or set the cursor to the end
  14252. of the new selection.
  14253. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  14254. pasting, select the new text.
  14255. * RichTextBox.cs: Use new param for ReplaceSelection.
  14256. 2006-11-27 Jackson Harper <[email protected]>
  14257. * TextBoxBase.cs: Set the selection to the caret after the caret
  14258. is moved, otherwise they get out of sync.
  14259. 2006-11-26 Everaldo Canuto <[email protected]>
  14260. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  14261. it fixes #80015
  14262. 2006-11-26 Everaldo Canuto <[email protected]>
  14263. * ThemeWin32Classic.cs:
  14264. - Fix toolbar drop down arrow position.
  14265. - Fix drop down appearance when ToolBar.Appearance is normal,
  14266. it fixes #80018.
  14267. 2006-11-26 Gert Driesen <[email protected]>
  14268. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  14269. * Control.cs: Same.
  14270. * UpDownBase.cs: Same.
  14271. * ButtonBase.cs: Same.
  14272. * ScrollBar.cs: Same.
  14273. * TrackBar.cs: Same.
  14274. * PictureBox.cs: Same.
  14275. * UserControl.cs: Same.
  14276. * Label.cs: Same.
  14277. * ListControl.cs: Same.
  14278. * TextBoxBase.cs: Same.
  14279. * ListView.cs: Same.
  14280. * RichTextBox.cs: Same.
  14281. * TreeView.cs: Same.
  14282. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  14283. * PrintDialog.cs:
  14284. - Text label for where
  14285. - Text label comment was not shown
  14286. 2006-11-23 Everaldo Canuto <[email protected]>
  14287. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  14288. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14289. * InternalWindowManager.cs:
  14290. - Handle WM_PARENTNOTIFY to activate the form
  14291. if any child control is clicked.
  14292. - The form is only sizable if not minimized.
  14293. * MdiWindowManager.cs:
  14294. - Save the IconicBounds if the form is moved.
  14295. - Rework SetWindowState, now the window bounds
  14296. are stored only if the old window state is Normal.
  14297. * MdiClient.cs:
  14298. - In SetWindowStates store the old window state if
  14299. the window is maximized and restore window state if
  14300. the window looses focus.
  14301. - Don't handle any scrollbar value changes if
  14302. initializing the scroll bars. Fixes #79771.
  14303. - Reworked ArrangeIconicWindows. Current algorithm
  14304. tests bounds agains all other minimized windows, if
  14305. any intersections create new bounds (going left to
  14306. right, bottom to top) and then test again. When
  14307. successful the bounds are saved and never computed
  14308. again. Fixes #79774.
  14309. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14310. * InternalWindowManager.cs: Added HandleTitleBarUp.
  14311. 2006-11-23 Gert Driesen <[email protected]>
  14312. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  14313. hexadecimal in ParseUserEdit.
  14314. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14315. * MdiWindowManager.cs:
  14316. - Handle a click on the form's icon to show the
  14317. system menu (when maximized). Fixes #79775.
  14318. - Change the existing click handler for the form's
  14319. icon when not maximized to show on MouseUp.
  14320. Fixes #79776.
  14321. * Form.cs: In OnResize only layout the mdi child's
  14322. parent if it actually has a parent. Might not if
  14323. the window is closing.
  14324. 2006-11-23 Gert Driesen <[email protected]>
  14325. * MdiClient.cs: Ignore active MDI client for text of parent, if
  14326. child has no text set.
  14327. 2006-11-23 Gert Driesen <[email protected]>
  14328. * ToolBar.cs: Fixed ToString to match MS.
  14329. 2006-11-22 Andreia Gaita <[email protected]>
  14330. * NumericUpDown:
  14331. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  14332. update inner values on set. Fixes #79966.
  14333. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  14334. - Fix hexadecimal parsing.
  14335. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  14336. parent. Fixes #79957
  14337. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  14338. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  14339. the actual size has to be queried, since if height /
  14340. width is negative Win32 changes it to 0.
  14341. Fixes #79999 on Windows.
  14342. * XplatUIX11.cs: Set height / width to 0 if negative
  14343. in SetWindowPos. Fixes #79999 on Linux.
  14344. 2006-11-22 Everaldo Canuto <[email protected]>
  14345. * ThemeWin32Classic.cs: Fix text redenring when button is
  14346. pressed.
  14347. 2006-11-22 Everaldo Canuto <[email protected]>
  14348. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  14349. and later navigate by mouse. Fixes #79528.
  14350. 2006-11-21 Everaldo Canuto <[email protected]>
  14351. * ToolBar.cs: Set default value for TabStop to false in
  14352. constructor, it fixes remaining behavior of bug #79863.
  14353. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  14354. * MdiWindowManager.cs:
  14355. * InternalWindowManager.cs:
  14356. - Moved a few methods specific to Mdi from
  14357. InternalWindowManager to MdiWindowManager.
  14358. Fixes #79996.
  14359. 2006-11-21 Chris Toshok <[email protected]>
  14360. * XplatUIOSX.cs: stub out InvalidateNC.
  14361. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  14362. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  14363. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  14364. * XplatUIDriver.cs: add InvalidateNC abstract method.
  14365. * XplatUI.cs: add InvalidateNC.
  14366. 2006-11-21 Everaldo Canuto <[email protected]>
  14367. * ToolBar.cs: Invalidate complete button area when pressed status
  14368. was changed.
  14369. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  14370. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  14371. by 1 when button is pressed.
  14372. 2006-11-20 Everaldo Canuto <[email protected]>
  14373. * ToolButton.cs: Invalidate middle of DropDown button when
  14374. ToolBar theres DropDownArrows.
  14375. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  14376. fix DropDown drawing operations.
  14377. 2006-11-20 Chris Toshok <[email protected]>
  14378. * NativeWindow.cs: fix the formatting of functions ('{' on the
  14379. following line), and enable the thread exception dialog.
  14380. * Application.cs: remove the duplicate exception catching from
  14381. here.
  14382. 2006-11-20 Everaldo Canuto <[email protected]>
  14383. * Toolbar.cs: Triggers button click event when click on icon
  14384. of dropdown ToolBarButton. Fixes #79912.
  14385. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14386. * Theme.cs:
  14387. * ThemeWin32Classic.cs:
  14388. - Added a property WindowBorderFont to enable themeing
  14389. of mdi child windows' Text.
  14390. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14391. * InternalWindowManager.cs:
  14392. * Form.cs:
  14393. * MdiClient.cs:
  14394. * MdiWindowManager.cs:
  14395. - If mdi child is maximized, set mdi parent's
  14396. text to "Parent - [Child]". Fixes #79770.
  14397. - If there is any maximized mdi child windows, only the active
  14398. window (and any new windows) is maximized, the rest are normal.
  14399. - On a WindowState change only save mdi child's window bounds
  14400. if the old window state was normal. Fixes #79774.
  14401. - The scroll bars are now calculated on hopefully all
  14402. necessary events. Fixed #79771 / #79844->6 / #79906.
  14403. - MdiClient.SizeScrollBars() now takes into account docked
  14404. controls in the parent when calculating available space.
  14405. - InternalWindowManager now always repaints the entire title
  14406. area. Fixes #79844->1/4/5.
  14407. - Added RequestNCRecalc on mdi child windowstate changes.
  14408. Fixes #79772.
  14409. 2006-11-20 Mike Kestner <[email protected]>
  14410. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  14411. in the MouseUp handler of the listbox and move the return handling
  14412. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  14413. 2006-11-20 Everaldo Canuto <[email protected]>
  14414. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  14415. 2006-11-17 Alexander Olk <[email protected]>
  14416. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  14417. working in 1.2.x anymore. So, updated.
  14418. 2006-11-19 Gert Driesen <[email protected]>
  14419. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  14420. NumberGroupSeparator of current culture instead of assuming en-US.
  14421. Fixed bug #79967.
  14422. 2006-11-17 Mike Kestner <[email protected]>
  14423. * Control.cs: Add the concept of implicit bounds setting so that
  14424. dock/undock round trips preserve explicitly set size/locations.
  14425. Fixes #79313.
  14426. 2006-11-17 Alexander Olk <[email protected]>
  14427. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  14428. can't handle those filters. (Fixes bug #79961)
  14429. 2006-11-17 Chris Toshok <[email protected]>
  14430. [ fixes the exit/crashes associated with #79835. it's clearly
  14431. suboptimal though, we need to figure out a better way to solve
  14432. this. ]
  14433. * PrintPreviewControl.cs: deal with the new invalid printer
  14434. exceptions.
  14435. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  14436. and return false (so CommonDialog.ShowDialog doesn't actually show
  14437. the form.)
  14438. * PrintDialog.cs: enable/disable the Ok button depending on
  14439. whether or not the printer is valid.
  14440. * CommonDialog.cs (ShowDialog): only actually show the form if
  14441. RunDialog returns true.
  14442. 2006-11-17 Jackson Harper <[email protected]>
  14443. * TextControl.cs: When soft splitting a line, mark it as a soft
  14444. split line. Also carry over the current line break to the next
  14445. line.
  14446. 2006-11-17 Chris Toshok <[email protected]>
  14447. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  14448. only want to shift the part of the invalid area that overlaps the
  14449. area we're scrolling. we also don't want to clear the invalid
  14450. area unless the invalid area was entirely contained within the
  14451. scrolling area.
  14452. 2006-11-16 Chris Toshok <[email protected]>
  14453. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  14454. also make sure to free the memory returned by XGetWindowProperty
  14455. in GetText().
  14456. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  14457. 2006-11-16 Chris Toshok <[email protected]>
  14458. * XplatUI.cs: add a new super secret way to get at the totally
  14459. unsupported X11 backend.
  14460. 2006-11-16 Gert Driesen <[email protected]>
  14461. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  14462. 2006-11-16 Jackson Harper <[email protected]>
  14463. * TreeView.cs: Allow more explicit setting of top node position
  14464. for scrollbars. Slower algo, but more accurate.
  14465. - CollapseAll should maintain the current top node.
  14466. * TextBoxBase.cs: When positioning the caret, use the line, pos
  14467. method, since the x, y method does not grab the correct tag, and
  14468. the caret height never gets set correctly. (Maybe I should just do
  14469. away with the caret having its own height, and always use the
  14470. carets current tag for height).
  14471. 2006-11-16 Jonathan Pobst <[email protected]
  14472. [Fixes 79778, 79923]
  14473. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  14474. Parent to the FosterParent instead.
  14475. 2006-11-16 Jackson Harper <[email protected]>
  14476. * TreeView.cs: Need to recalc the topnode when we expand or
  14477. collapse. The scrolling methods can't handle this on their own,
  14478. since they use differences between the last scroll position, and
  14479. those difference get completely messed up since we are expanding
  14480. nodes. This problem should probably be fixed in the scrolling
  14481. methods, so they can figure out exactly where they are, but this
  14482. will slow things down a little.
  14483. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  14484. strings, makes nunit-gui look a lot nicer.
  14485. 2006-11-16 Chris Toshok <[email protected]>
  14486. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  14487. the broken multithreaded event handling we have in here. File
  14488. this entry under "Why we should move to the new X11 backend".
  14489. Any thread can make it into UpdateMessageQueue, which gets events
  14490. from the X socket - some of which could belong to hwnds being
  14491. managed by a different thread. We can also have multiple threads
  14492. in UpdateMessageQueue at the same time, with each one reading from
  14493. the X socket. This leads to many problems, with the following
  14494. solutions:
  14495. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  14496. EnqueueLocked.
  14497. The MotionNotify compression we do can't work across threads
  14498. (without locking the entire queue, perhaps) since we call
  14499. hwnd.Queue.Peek, so we just punt and don't compress motion events
  14500. unless the owning thread is the one which got the X event.
  14501. ConfigureNotify is another fun one, since it modifies the hwnd's
  14502. bounds and then enqueues the event. We add a lock to Hwnd which
  14503. is held when setting configure_pending to true (and enqueuing the
  14504. event).
  14505. There is a race wrt the wake socket. we need to make sure that
  14506. only 1 thread is waiting on that socket, or else a thread could
  14507. sleep waiting for data that never comes. It's difficult (but not
  14508. impossible) to make happen, because it seems to require something
  14509. like the following:
  14510. 1. Thread 1 polls on wake_receive
  14511. 2. poll returns saying there's data to be read on
  14512. wake_receive.
  14513. 3. Thread 2 polls on wake_receive and immediately returns
  14514. saying there's data to be read.
  14515. 4. Thread 2 reads the wakeup byte from wake_receive
  14516. 5. Thread 1 attempts to read the wakeup byte from
  14517. wake_receive.
  14518. 6. Thread 2 exits (due to a form closing, perhaps).
  14519. 7. Thread 1 blocks forever.
  14520. Fun, eh?
  14521. Fixing the Expose handling isn't done yet, and the races inherent
  14522. in that piece of code are responsible for the drawing mistakes you
  14523. see when generating expose events in a MT app (like NPlot). This
  14524. one is the likely to be the hardest to bandaid, and it doesn't
  14525. appear to cause anything but drawing problems. The other issues
  14526. caused apps to exit or hang.
  14527. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  14528. called from a different thread than the one that should be calling
  14529. these functions.
  14530. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  14531. 2006-11-15 Chris Toshok <[email protected]>
  14532. * Application.cs: null out the context's MainForm when we exit
  14533. RunLoop. Fixes a newly checked in unit test as well as the last
  14534. ODE from bug #79933.
  14535. 2006-11-15 Chris Toshok <[email protected]>
  14536. * Form.cs (set_Owner): allow a null value so we can clear the
  14537. form's owner.
  14538. (Dispose): set all our owned_form's Owner properties to null, and
  14539. clear the owned_forms collection.
  14540. (WM_CLOSE): clean up this a little bit.. still not right though.
  14541. * ApplicationContext.cs: OnMainFormClosed should only call
  14542. ExitThreadCore if the main form isn't recreating. Fixes unit
  14543. test.
  14544. 2006-11-15 Jonathan Pobst <[email protected]>
  14545. [Fixes 78346]
  14546. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  14547. 2006-11-15 Jonathan Pobst <[email protected]>
  14548. [Fixes 79433]
  14549. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  14550. keep popup window types from stealing focus from the main form
  14551. on Windows.
  14552. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  14553. * MenuAPI.cs: Set above flag to true.
  14554. 2006-11-15 Chris Toshok <[email protected]>
  14555. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  14556. the button being released is not in wParam.
  14557. 2006-11-15 Jonathan Pobst <[email protected]>
  14558. * Form.cs: Add the released button to MouseEventArgs.Button
  14559. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  14560. on Win32.
  14561. 2006-11-15 Chris Toshok <[email protected]>
  14562. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  14563. GetText(). untested because it's unused in our implementation.
  14564. Control.Text always caches the text, even if
  14565. ControlStyles.CacheText is not set.
  14566. fixes bug #79939.
  14567. 2006-11-15 Chris Toshok <[email protected]>
  14568. [ fixes #79933 ]
  14569. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  14570. message. no hiding, no disposing.
  14571. in the WM_CLOSE handler, hide the form if it's modal.
  14572. 2006-11-15 Chris Toshok <[email protected]>
  14573. * XplatUIX11.cs: use AddExpose instead of sending a message.
  14574. fixes textbox border drawing.
  14575. 2006-11-15 Chris Toshok <[email protected]>
  14576. * PropertyGridView.cs: keep from crashing on mouse move/down when
  14577. the property grid is empty.
  14578. 2006-11-14 Jackson Harper <[email protected]>
  14579. * TextControl.cs: Make PageUp and PageDown more like the MS
  14580. versions.
  14581. * TextBoxBase.cs: When we set the text property position the
  14582. cursor at the beginning of the document.
  14583. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  14584. * Form.cs: if a mdi child's WindowState has changed
  14585. before it's creation, it would display wrong control
  14586. buttons.
  14587. 2006-11-14 Alexander Olk <[email protected]>
  14588. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  14589. (Fixes bug #79927)
  14590. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  14591. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  14592. the window gets to paint its borders even if the window is
  14593. getting smaller.
  14594. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  14595. otherwise the old control buttons would still be painted
  14596. if the window gets bigger.
  14597. * PaintEventArgs.cs: add an internal method so that the clip
  14598. rectangle can be changed.
  14599. 2006-11-13 Chris Toshok <[email protected]>
  14600. [ fixes bug #79745 ]
  14601. * NotifyIcon.cs: lots of cleanup.
  14602. * X11Structs.cs: add an enum for XEMBED messages.
  14603. * XplatUIX11.cs: reindent one of the giant switch statements, it
  14604. was taking up an additional tab stop, and this file is already way
  14605. too wide for my laptop's screen.
  14606. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  14607. we get it, resize the hwnd to the WMNormalHints max_width/height.
  14608. 2006-11-13 Jackson Harper <[email protected]>
  14609. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  14610. teh simple way.
  14611. 2006-11-13 Chris Toshok <[email protected]>
  14612. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  14613. #79898. force a reference to the Region to stick around so the
  14614. unmanaged object isn't collected (rendering our handle in the MSG
  14615. stale).
  14616. 2006-11-13 Chris Toshok <[email protected]>
  14617. * XplatUIX11.cs: fix #79917 for window managers which support
  14618. using XStoreName on the raw utf8, and we need to convert to
  14619. COMPOUND_TEXT if it's non-latin1.
  14620. 2006-11-13 Chris Toshok <[email protected]>
  14621. * Form.cs (set_DialogResult): we need to set closing to false if
  14622. we're setting our result to None. fixes bug #79908.
  14623. 2006-11-13 Jackson Harper <[email protected]>
  14624. * TextControl.cs: When formatting text, compute the adjusted tag
  14625. lengths correctly, using FindTag for the end tag instead of trying
  14626. to figure it out outselves.
  14627. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  14628. the item, ItemHeight doesn't work, because trees with large
  14629. imagelists use those for their height
  14630. * TreeView.cs: ActualItemHeight factors in the image height
  14631. - compute left edge of checkboxes correctly
  14632. - when expanding/collapsing move the bottom down one pixel, so we
  14633. aren't moving part of the node
  14634. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  14635. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  14636. stack in PaintEventStart so that it won't get disposed by the gc
  14637. before reaching PaintEventEnd.
  14638. 2006-11-13 Jackson Harper <[email protected]>
  14639. * TextBoxBase.cs: Don't select the word if we are on a line with
  14640. no text.
  14641. - We don't need to position the caret on mouse up, since the mouse
  14642. move handler should be doing this
  14643. - When double clicking a blank line, the caret is advanced to the
  14644. next line.
  14645. 2006-11-13 Gert Driesen <[email protected]>
  14646. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  14647. 2006-11-12 Gert Driesen <[email protected]>
  14648. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  14649. Fixes part of bug #79910.
  14650. 2006-11-11 Alexander Olk <[email protected]>
  14651. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  14652. (bug #79903). Some minor string updates to match ms.
  14653. 2006-11-10 Alexander Olk <[email protected]>
  14654. * FileDialog.cs: Don't add an extension if the filename
  14655. already ends with that extension.
  14656. 2006-11-10 Jackson Harper <[email protected]>
  14657. * TreeView.cs: Use the currently highlighted node for the
  14658. BeforeSelect event.
  14659. * TextBoxBase.cs: There is no need to expand selection on
  14660. MouseMove.
  14661. - CanUndo means 'is there any undo operations', not 'is undo
  14662. allowed on this textcontrol. Fixed ClearUndo unit test.
  14663. 2006-11-10 Andreia Gaita <[email protected]>
  14664. * Button.cs: only perform click when button is Selectable (so as
  14665. not to activate default buttons when they're disabled)
  14666. * Control.cs: Rewrite of the SelectNextControl and related
  14667. methods. HandleClick now selects next control if the current one
  14668. is being disabled.
  14669. * Form.cs: OnActivated selects next active control only if Load
  14670. has already occurred. If Load hasn't run, there's no point in
  14671. selecting here, Load might change the state of controls.
  14672. * FocusTest.cs: Tests marked as working again for these fixes
  14673. 2006-11-10 Chris Toshok <[email protected]>
  14674. * XplatUIX11.cs: a couple of fixes.
  14675. - use XInternAtoms with almost all the atoms we need to register,
  14676. instead of many, many calls to XInternAtom. should help a bit on
  14677. startup time, at the expense of making the code look a little
  14678. worse.
  14679. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  14680. isn't reparented (which seems to be a clue that we're running fon
  14681. compiz) and they have an Owner form. This fixes the tool windows
  14682. in paint.net when running under compiz.
  14683. - when setting the opacity of a window, support both the case
  14684. where the window has been reparented and also when it hasn't been.
  14685. Since compiz/beryl doesn't seem to reparent windows, and these are
  14686. the only window managers which support translucency, I'm not sure
  14687. why we need the hwnd.reparented case at all.. but leave it in.
  14688. now we get translucent windows in paint.net under compiz/beryl.
  14689. 2006-11-10 Alexander Olk <[email protected]>
  14690. * FileDialog.cs: Always return the value for FilterIndex that
  14691. was set. Internally convert it to values that make sense.
  14692. 2006-11-10 Everaldo Canuto <[email protected]>
  14693. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  14694. 2006-11-10 Everaldo Canuto <[email protected]>
  14695. * Toolbar.cs: Change default value of DropDownArrows to true, the
  14696. signature still using false to make it compatible with MS but the
  14697. initial value is true. Fixes #79855.
  14698. 2006-11-10 Alexander Olk <[email protected]>
  14699. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  14700. only available on Linux.
  14701. 2006-11-09 Everaldo Canuto <[email protected]>
  14702. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  14703. reduce number of calls to redraw method during toolbar creation.
  14704. 2006-11-09 Mike Kestner <[email protected]>
  14705. * ListView.cs : raise SelectedIndexChanged when an item is selected
  14706. programmatically via the Item.Selected property. Gert's nice
  14707. ListViewSelectedIndexChanged test fixture now runs clean.
  14708. 2006-11-09 Mike Kestner <[email protected]>
  14709. * ListView.cs : raise SelectedIndexChanged when a selected item is
  14710. removed from the item collection using Remove or RemoveAt.
  14711. 2006-11-09 Mike Kestner <[email protected]>
  14712. * ListView.cs : raise SelectedIndexChanged once per selected item
  14713. for compat with MS. Fixes #79849+.
  14714. 2006-11-09 Chris Toshok <[email protected]>
  14715. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  14716. we need to (if we have any tab pages). Fixes unit test.
  14717. 2006-11-09 Chris Toshok <[email protected]>
  14718. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  14719. width is 0, not 3. Fixes a unit test.
  14720. 2006-11-09 Mike Kestner <[email protected]>
  14721. * ListView.cs : use Implicit scrollbars so that focus isn't
  14722. stolen from the listview when they are clicked. Fixes #79850.
  14723. 2006-11-09 Chris Toshok <[email protected]>
  14724. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  14725. have a root item. Fixes #79879.
  14726. 2006-11-09 Alexander Olk <[email protected]>
  14727. * FileDialog.cs:
  14728. - Fix ToString ()
  14729. - An ArgumentException is now thrown if a wrong filter
  14730. is applied (matches ms). The previous filter doesn't change
  14731. anymore if an exception is thrown.
  14732. - Changing the FileName property also affects FileNames
  14733. * ColorDialog.cs: The length of the CustomColors array is always
  14734. 16. It doesn't matter if we use a smaller array or null to update
  14735. or change the custom colors property.
  14736. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  14737. for RootFolder if we get a undefined value.
  14738. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  14739. * StatusBarPanel.cs:
  14740. - Width is set to MinWidth if Width is smaller than
  14741. MinWidth. Fixes #79842.
  14742. - MinWidth now always overrides Width (MSDN says MinWidth
  14743. is set to Width when AutoSize = None, but they do not
  14744. behave like that).
  14745. - Style has now the the correct default value.
  14746. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  14747. * TrackBar.cs:
  14748. - The control is completely invalidated on
  14749. Got/LostFocus to draw the focus rectangle correctly.
  14750. - When AutoSize then height is always 45 (width for
  14751. vertical controls).
  14752. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  14753. on the mouse when moved and it doesn't move when grabbed
  14754. until the mouse moves as well. Also fixed some wrong
  14755. calculations when clicking on the thumb (control thought
  14756. click was outside of thumb and didn't grab it).
  14757. Fixes some of the issues in #79718.
  14758. 2006-11-08 Everaldo Canuto <[email protected]>
  14759. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  14760. 2006-11-08 Chris Toshok <[email protected]>
  14761. * PropertyGridView.cs: only call ToggleValue if the item is not
  14762. readonly.
  14763. 2006-11-08 Jackson Harper <[email protected]>
  14764. * TextBoxBase.cs: The RichTextBox and textbox have very different
  14765. word selection methods. Implement the textbox's simple word
  14766. selection here, and let the RichTextBox override and provide it's
  14767. own.
  14768. - Don't do extra selection on mouseup
  14769. * RichTextBox.cs: Use the documents word selection algorithm, I
  14770. think ideally, this function will be pulled into the
  14771. RichTextBox.cs code someday.
  14772. 2006-11-08 Chris Toshok <[email protected]>
  14773. * RootGridEntry.cs: new class to represent GridItemType.Root.
  14774. * CategoryGridEntry.cs: reformat, and add boilerplate.
  14775. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  14776. returns the UI parent anyway, and we need special handling to
  14777. implement the GetTarget method in the face of it. Also, implement
  14778. Select().
  14779. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  14780. a root grid item, and use that instead of PropertyGrid.grid_items.
  14781. Also, make use of TypeConverters (and add limitted support for
  14782. ICustomTypeDescriptors) when initially populating the grid.
  14783. Arrays now show up more or less properly.
  14784. 2006-11-08 Chris Toshok <[email protected]>
  14785. * Application.cs: set the modal dialog to non modal after we close
  14786. it. Fixes bug #79866.
  14787. 2006-11-08 Jackson Harper <[email protected]>
  14788. * TextControl.cs: When combining lines carry over the line end
  14789. style from the end line.
  14790. - Invalidate the selected area when setting it, if it is visible.
  14791. * TextBoxBase.cs: Only rich text box can do full line selects.
  14792. - Make sure to set the cursor position when there is a click,
  14793. otherwise two clicks in separate areas could cause a large chunk
  14794. to be selected.
  14795. 2006-11-07 Everaldo Canuto <[email protected]>
  14796. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  14797. Fixes #79863.
  14798. 2006-11-07 Everaldo Canuto <[email protected]>
  14799. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  14800. time. Remove tooltips when ToolButton click events. Fixes #79856.
  14801. 2006-11-07 Everaldo Canuto <[email protected]>
  14802. * MenuAPI.cs: Ignore right click for menu actions and fixes
  14803. menu border when clicked. Fixes #79846.
  14804. 2006-11-07 Everaldo Canuto <[email protected]>
  14805. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  14806. MouseState after create wParam for message, this fixes mouse button
  14807. equal none in mouse up events.
  14808. 2006-11-07 Andreia Gaita <[email protected]>
  14809. * Control.cs : Focus() now calls Select to set the Container's
  14810. Active Control and to give it focus. To avoid infinite recursion
  14811. (because ActiveControl also calls Focus at one point), a check
  14812. is made in Focus with the help of a new internal variable
  14813. is_focusing.
  14814. 2006-11-07 Mike Kestner <[email protected]>
  14815. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  14816. if there's a selection. Fixes #79849.
  14817. 2006-11-07 Gert Driesen <[email protected]>
  14818. * PropertyGrid.cs: Avoid fixed height of help description label.
  14819. Fixes part of bug #79829.
  14820. 2006-11-07 Chris Toshok <[email protected]>
  14821. * XplatUIX11.cs: fix #79790 again, by using the
  14822. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  14823. 2006-11-07 Everaldo Canuto <[email protected]>
  14824. * ToolBar.cs: Fix left click checking.
  14825. 2006-11-07 Chris Toshok <[email protected]>
  14826. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  14827. 2006-11-07 Chris Toshok <[email protected]>
  14828. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  14829. PropertyManager unit tests.
  14830. * PropertyManager.cs: make property_name internal.
  14831. 2006-11-07 Chris Toshok <[email protected]>
  14832. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  14833. pass a unit test. Also, don't set image_index to anything in
  14834. response to setting the ImageList property.
  14835. 2006-11-07 Everaldo Canuto <[email protected]>
  14836. * ToolBar.cs: Ignore click events when mouse button is not a
  14837. left button, only accepts other button for dropdown menus.
  14838. Fixes #79854.
  14839. 2006-11-07 Chris Toshok <[email protected]>
  14840. * DataGrid.cs: make the back and parent row buttons a little less
  14841. ugly.
  14842. 2006-11-07 Jackson Harper <[email protected]>
  14843. * TextBoxBase.cs: When converting to Text don't put line breaks in
  14844. for soft line breaks.
  14845. * TextControl.cs: There is an initial "fake" line in the document,
  14846. this is now a soft break line, so that an extra line feed doesn't
  14847. get added to the end of documents.
  14848. 2006-11-07 Chris Toshok <[email protected]>
  14849. [ fix bug #79778 ]
  14850. * CurrencyManager.cs: if the list is readonly, don't bother
  14851. checking if IBindingList.AllowNew is true.
  14852. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  14853. for non-DataRowView datasources.. or rather, make it not crash.
  14854. (DataGridPaintRelationRow): make sure we limit the row painting to
  14855. the area not covered by the row header, and make our cell width at
  14856. least large enough to cover the relation area. This allows grids
  14857. that have relations but no rows to render correctly.
  14858. (DataGridPaintRowContents): same type of changes here.
  14859. (SetDataSource): move back to always calling
  14860. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  14861. navigating back through relations.
  14862. (HitTest): handle the case where we have no cells but have
  14863. relations. Right now we generate a hit in cell 0 of whatever the
  14864. row is, not sure if this is strictly correct, but it works for our
  14865. purposes.
  14866. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  14867. bother doing anything.
  14868. 2006-11-07 Jonathan Pobst <[email protected]>
  14869. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  14870. early version of StatusStrip. Not responsible for eaten
  14871. application or firstborn children.
  14872. 2006-11-06 Chris Toshok <[email protected]>
  14873. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  14874. call GetTabRect with a -1 index. Fixes #79847.
  14875. 2006-11-06 Jackson Harper <[email protected]>
  14876. * TreeNodeCollection.cs: Update scrollbars after clearing.
  14877. 2006-11-06 Chris Toshok <[email protected]>
  14878. * NumericUpDown.cs: fix the ToString method for some unit test
  14879. love.
  14880. 2006-11-06 Chris Toshok <[email protected]>
  14881. * PropertyGrid.cs:
  14882. - set the initial SelectedGridItem if we can.
  14883. - Exclude non-mergable properties only if we're merging > 1
  14884. object. Merging 1 object isn't really merging, obviously.
  14885. - Handle PropertySort.NoSort just like Alphabetical, which is
  14886. wrong of course, but at least gets things on the screen.
  14887. * PropertyGridView.cs:
  14888. - Add method "FindFirstItem" which finds the first property grid
  14889. item, so we can select it by default.
  14890. - make use of GridEntry.CanResetValue.
  14891. - Don't call RedrawBelowItemOnExpansion here anymore, the
  14892. individual GridEntry's will do that.
  14893. - Remove the ITypeDescriptorContextImpl internal class.
  14894. * GridEntry.cs:
  14895. - this class needs to implement ITypeDescriptorContext, as it's
  14896. what MS's PropertyDescriptorGridEntry does, which means we can
  14897. remove the ITypeDescriptorContextImpl internal class from
  14898. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  14899. - keep a reference to our PropertyGridView, and move the call to
  14900. RedrawBelowItemOnExpansion here from PGV. This means
  14901. programmaticly setting Expanded actually does something visible.
  14902. - add a CanResetValue() function which takes into account our
  14903. possibly multiple "selected_objects" in the merged case. Shifting
  14904. PropertyGridView to use this method fixes another unreported
  14905. crasher found running the test for #79829.
  14906. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  14907. is updated to reflect this.
  14908. * CategoryGridEntry.cs: the ctor takes the PGV now.
  14909. 2006-11-06 Jackson Harper <[email protected]>
  14910. * TextControl.cs: These are 1 based.
  14911. * TextBoxBase.cs: When setting the selected text, don't change the
  14912. selected text tags, this is done by ReplaceText, just position the
  14913. cursor at the end of the new text.
  14914. 2006-11-06 Alexander Olk <[email protected]>
  14915. * ListView.cs: Allow label edit only when, when LabelEdit is
  14916. set to true.
  14917. 2006-11-06 Jackson Harper <[email protected]>
  14918. * TextControl.cs: If a suitable wrapping position isn't found,
  14919. just wrap right in the middle of a word.
  14920. 2006-11-06 Alexander Olk <[email protected]>
  14921. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  14922. bug #79820.
  14923. 2006-11-06 Jackson Harper <[email protected]>
  14924. * TreeView.cs: Can't use the VisibleCount property when setting
  14925. scrollbar heights, because this doesn't take into account whether
  14926. or not the horz scrollbar just came visible.
  14927. 2006-11-05 Everaldo Canuto <[email protected]>
  14928. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  14929. activated. Fixes #79369, #79832.
  14930. 2006-11-05 Alexander Olk <[email protected]>
  14931. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  14932. had to remove support for links that point to a directory. FileInfo
  14933. returns no usefull information (means, the directory they point to)
  14934. for such links. Replaced some empty string ("") with String.Empty.
  14935. 2006-11-04 Gert Driesen <[email protected]>
  14936. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  14937. NullReferenceException when attempting to remove node that is not in
  14938. collection. Throw NullReferenceException when null is passed to
  14939. Remove. Allow first element of the collection to be removed. Fixes
  14940. bug #79831. In GetEnumerator ().Current return null if positioned
  14941. before the first element of the collection. In GetEnumerator ().Reset,
  14942. position before first element of the collection.
  14943. 2006-11-04 Gert Driesen <[email protected]>
  14944. * PropertyGrid.cs: To match MS, remove default title and description
  14945. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  14946. buttons.
  14947. 2006-11-04 Chris Toshok <[email protected]>
  14948. * Theme.cs: add a Clamp method, just for kicks.
  14949. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  14950. 2006-11-04 Chris Toshok <[email protected]>
  14951. * Form.cs: if the form isn't visible, Close() does nothing.
  14952. 2006-11-03 Chris Toshok <[email protected]>
  14953. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  14954. Hide it.
  14955. (WndProc): don't Dispose after handling the WM_CLOSE message.
  14956. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  14957. them as such, instead of using casts from Control to Form. Also,
  14958. don't Dispose of the modal dialog when we fall out of the loop -
  14959. Close() it instead.
  14960. fixes bug #79813.
  14961. 2006-11-03 Chris Toshok <[email protected]>
  14962. * Control.cs (Dispose): only go through the dispose thing if we're
  14963. @disposing, and we haven't already been disposed. Fixes bug
  14964. #79814.
  14965. * Form.cs: no reason to call "base.Dispose()" here instead of
  14966. "Dispose()".
  14967. 2006-11-03 Mike Kestner <[email protected]>
  14968. * ComboBox.cs : use ToString instead of casts in AddItem for
  14969. sorting functionality. Fixes #79812.
  14970. 2006-11-03 Chris Toshok <[email protected]>
  14971. * Application.cs: pave the way for actually using the thread
  14972. exception dialog. it's ifdefed out at the moment.
  14973. 2006-11-03 Chris Toshok <[email protected]>
  14974. * ThreadExceptionDialog.cs: until we get a better layout, actually
  14975. hide the details textbox and label when we shouldn't see them.
  14976. 2006-11-03 Jackson Harper <[email protected]>
  14977. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  14978. multiline textboxes anymore. This method also determines the
  14979. width/height of a textboxes canvas area.
  14980. - Sorta a revert of the last patch. For multiline just position
  14981. the controls, then bail. This way the scrollbar width won't be
  14982. altered.
  14983. 2006-11-03 Everaldo Canuto <[email protected]>
  14984. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  14985. it dont need. Fixes #79537.
  14986. 2006-11-02 Jackson Harper <[email protected]>
  14987. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  14988. send the status after firing the DndOver event.
  14989. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  14990. * TrackBar.cs: Now orientation only switches height / width if
  14991. the control's handle is created (Win32 does it like this). Also
  14992. fixed a typo in ToString() for a test to pass, changed the
  14993. exception thrown in set_LargeChange and set_SmallChange to
  14994. match Win32 behaviour, and added TrackBar tests to the unit
  14995. tests.
  14996. 2006-11-02 Chris Toshok <[email protected]>
  14997. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  14998. not _NET_WM_STATE_NO_TASKBAR.
  14999. 2006-11-02 Jackson Harper <[email protected]>
  15000. * TextControl.cs: Increment count by one, since in the update view
  15001. count - 1 is used.
  15002. 2006-11-02 Jackson Harper <[email protected]>
  15003. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  15004. the mouse is in the client rectangle (duh).
  15005. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  15006. * TrackBar.cs: Fixed trackbar jumping around when clicking
  15007. on it - the trackbar was not detecting correctly at which
  15008. side of the thumb the click was done. (fixes #79718)
  15009. 2006-11-02 Everaldo Canuto <[email protected]>
  15010. * ListBox.cs: scroll visible area when change SelectedIndex to
  15011. a non visible area. Fixes #79481.
  15012. 2006-11-01 Jackson Harper <[email protected]>
  15013. * TextControl.cs: When replacing the selection move the selection
  15014. start/end/anchor to the end of the new text.
  15015. 2006-11-01 Jackson Harper <[email protected]>
  15016. * XplatUIWin32.cs: When setting the parent change the controls
  15017. visibility to it's visibility flag, not to it's old parents
  15018. visibility (.Visible walks the parent chain).
  15019. 2006-11-01 Chris Toshok <[email protected]>
  15020. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  15021. XSetTransientForHint fix breaks paint .net's tool windows. more
  15022. work needed for that one.
  15023. 2006-11-01 Chris Toshok <[email protected]>
  15024. * ScrollBar.cs: throw ArgumentException instead of Exception in
  15025. LargeChange/SmallChange setters. fixes unit tests.
  15026. 2006-10-31 Andreia Gaita <[email protected]>
  15027. * ContainerControl.cs: reverted rev.67183 (which was itself
  15028. a reversion of rev.66853... eh).
  15029. * Control.cs: Fixes Reflector hang by changing Focus() call
  15030. to what it was before rev.66643 (calling Select() here sets
  15031. ActiveControl, which in some situations calls back Focus and
  15032. eventually does a stack overflow). Temp fix.
  15033. Changes to GetNextControl() to not look for children to select when
  15034. parent cannot be selectable (so it looks for siblings instead)
  15035. 2006-10-31 Mike Kestner <[email protected]>
  15036. * CheckedListBox.cs : off by one error in returned index from
  15037. ObjectCollection.Add. Fixes #79758.
  15038. 2006-10-31 Chris Toshok <[email protected]>
  15039. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  15040. calls for the textbox/spinner, to keep from recursing to the point
  15041. where we crash. Fixes #79760.
  15042. 2006-10-31 Chris Toshok <[email protected]>
  15043. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  15044. null/"" value, just return. matches ms's behavior and fixes some
  15045. failing tests.
  15046. 2006-10-31 Chris Toshok <[email protected]>
  15047. * Control.cs (set_Capture): make a logic a little easier to
  15048. follow.
  15049. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  15050. if it's being destroyed. A necessary fix surely, but a bandaid
  15051. also, to fix the stuck capture problem in bug #78413.
  15052. 2006-10-31 Chris Toshok <[email protected]>
  15053. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  15054. convention of clearing hwnd.ClientRect when we set the
  15055. width/height (so it'll be recalculated by Hwnd).
  15056. 2006-10-31 Andreia Gaita <[email protected]>
  15057. * ContainerControl.cs: reversed Contains check from
  15058. ActiveControl due to hanging problems. This fix
  15059. partly regresses #79667 (button does not have
  15060. initial focus), so this might be a symptom for
  15061. a larger parenting problem (set_ActiveControl
  15062. is being called but the child control does
  15063. not have the parent set yet?)
  15064. 2006-10-31 Mike Kestner <[email protected]>
  15065. * MenuAPI.cs : fix keynav when menu is click activated.
  15066. 2006-10-31 Jonathan Pobst <[email protected]>
  15067. * ToolStrip*: Version 0.2.
  15068. * MenuStrip.cs: Version 0.1.
  15069. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  15070. 2006-10-30 Chris Toshok <[email protected]>
  15071. [ fixes the oversized notify icon issue in bug #79745 ]
  15072. * NotifyIcon.cs: scale the icon down to the size we're given by
  15073. the XplatUI layer (this would be faster if we did it once instead
  15074. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  15075. since it's never invoked.
  15076. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  15077. pixels high by default, so let's hardcode our systray icon to that
  15078. size. The SYSTEM_TRAY protocol should really have a way for
  15079. client apps to query for the correct icon size.. but oh well. A
  15080. couple of patches to deal with the screwy client_window ==
  15081. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  15082. instance, and also make sure we don't XSelectInput twice).
  15083. 2006-10-30 Chris Toshok <[email protected]>
  15084. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  15085. recreating forms. Control recreation is the bane of my existence.
  15086. Fix it in a way that keeps everyone happy.
  15087. 2006-10-30 Chris Toshok <[email protected]>
  15088. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  15089. just non-CHILD ones. otherwise sometimes scrollbars end up with
  15090. client_windows not being resized to the proper size (ReportBuilder
  15091. shows this extremely well).
  15092. 2006-10-30 Chris Toshok <[email protected]>
  15093. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  15094. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  15095. showing up in the gnome taskbar. Fixes bug #79790.
  15096. 2006-10-30 Chris Toshok <[email protected]>
  15097. * ApplicationContext.cs: guard against a NRE.
  15098. * Application.cs: null out the old MainForm for the context, so we
  15099. don't try to use it again once it's disposed. Fixes bug #79783.
  15100. 2006-10-30 Chris Toshok <[email protected]>
  15101. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  15102. BindingContext, set the data source directly, otherwise do the
  15103. lazy approach - the actual ListManager will be created when we get
  15104. a BindingContext. Fixes bug #79700.
  15105. 2006-10-30 Jonathan Pobst <[email protected]>
  15106. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15107. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  15108. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  15109. 2006-10-30 Jonathan Pobst <[email protected]>
  15110. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  15111. of SetVisible that allows a window to be shown, but not activated.
  15112. This is needed on Windows for MenuStrip, and can probably be used
  15113. with MainMenu and ComboBox to fix the focus stealing issues on
  15114. Windows.
  15115. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  15116. 2006-10-30 Alexander Olk <[email protected]>
  15117. * PictureBox.cs: Fix the output of the ToString method.
  15118. 2006-10-29 Chris Toshok <[email protected]>
  15119. * Control.cs (get_TopLevelControl): fix bug #79781.
  15120. 2006-10-29 Chris Toshok <[email protected]>
  15121. * ListControl.cs (set_DataSource): throw Exception here, not
  15122. ArgumentException, to match MS behavior.
  15123. 2006-10-29 Chris Toshok <[email protected]>
  15124. * Form.cs: remove the try-catch's around calls to GetWindowState.
  15125. We can just check the return value.
  15126. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  15127. Instead return -1.
  15128. * XplatUI.cs: Add note about additional return value for
  15129. GetWindowState.
  15130. 2006-10-29 Chris Toshok <[email protected]>
  15131. * Control.cs (CreateHandle): when we create our handle, we also
  15132. create the handles of our child controls. Fixes one of the
  15133. Control unit tests (CH11).
  15134. 2006-10-28 Alexander Olk <[email protected]>
  15135. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  15136. 2006-10-28 Alexander Olk <[email protected]>
  15137. * ThemeClearlooks.cs: A little speedup.
  15138. 2006-10-27 Chris Toshok <[email protected]>
  15139. * Control.cs: implement Control.FromChildHandle in a way that
  15140. matches the docs (and fixes the failed test.)
  15141. 2006-10-27 Chris Toshok <[email protected]>
  15142. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  15143. comments).
  15144. * DataGrid.cs: implement ResetForeColor such that the tests
  15145. succeed.
  15146. 2006-10-27 Chris Toshok <[email protected]>
  15147. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  15148. being set to "". Fixes bug #79759.
  15149. 2006-10-27 Jackson Harper <[email protected]>
  15150. * TextControl.cs: We need to clear the entire selection area when
  15151. setting the start, otherwise multiline selections are still
  15152. visible.
  15153. 2006-10-26 Chris Toshok <[email protected]>
  15154. * PropertyGridView.cs:
  15155. - ifdef all the code specific to the double
  15156. buffer case, and provide some alternatives in the non-doublebuffer
  15157. code, which makes heavy use of XplatUI.ScrollWindow to move things
  15158. around without having to invalidate (and cause flicker). There
  15159. are still some drawing problems in the non-doublebuffered case, so
  15160. DOUBLEBUFFER is defined by default.
  15161. - Fix the way dropdowns are handled. now we explicitly watch for
  15162. the events which might cause the dropdown to close, and break out
  15163. of the nested event loop there. This gets rid of all Capture
  15164. code, at the expense of the Msg special casing. Seems to work,
  15165. though, and fixes bug #79743.
  15166. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  15167. * Control.cs: SetIsRecreating now recreates implicitly added
  15168. child controls as well. Finally fixes #79629. The flag passed to
  15169. SetIsRecreating has also been removed since it wasn't used.
  15170. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  15171. * PageSetupDialog.cs: Clean some code, fix some bits,
  15172. add some checks, and add a printer sub-dialog.
  15173. 2006-10-26 Chris Toshok <[email protected]>
  15174. * PropertyGrid.cs: make set_SelectedObject call
  15175. set_SelectedObjects, and move the duplicate logic to the
  15176. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  15177. * PropertyGridView.cs: hide the textbox when we get a
  15178. SelectedObjectsChanged event.
  15179. Fixes bug #79748.
  15180. 2006-10-26 Chris Toshok <[email protected]>
  15181. * PropertyGridView.cs: deal with the type converter not supporting
  15182. GetStandardValues() or GetStandardValues() returning null, which
  15183. is does in the default case. Fixes #79742.
  15184. 2006-10-25 Andreia Gaita <[email protected]>
  15185. * CheckedListBox.cs: nunit no longer crashes when selecting
  15186. Project/Edit menu option
  15187. 2006-10-25 Andreia Gaita <[email protected]>
  15188. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  15189. is no menu selected. fixes #79739
  15190. 2006-10-25 Chris Toshok <[email protected]>
  15191. * PropertyGridView.cs: factor out the splitter invalidation code
  15192. into the SplitterPercent setter, and for kicks implement the
  15193. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  15194. amount in either direction.
  15195. 2006-10-25 Chris Toshok <[email protected]>
  15196. * PropertyGridView.cs: do some cleanup of the brush used to draw
  15197. text - read only fields should be grayed out. not sure how to do
  15198. this with the textbox, though. but the textbox's should also be
  15199. readonly now at least. Also, hide/show the textbox when resizing
  15200. the control.
  15201. * CursorConverter.cs: use System.Reflection when getting the
  15202. properties of Cursors, as TypeDescriptor.GetProperties isn't
  15203. returning static properties.
  15204. 2006-10-25 Chris Toshok <[email protected]>
  15205. * PropertyGridView.cs: factor out the up/down handling, and reuse
  15206. it for page up/down. also add End/Home support.
  15207. 2006-10-25 Chris Toshok <[email protected]>
  15208. * PropertyGridView.cs:
  15209. - ensure the selected grid item is visible in the scrolled area,
  15210. fixes bug #79572.
  15211. - fix Keys.Down handling when you're on the last item in the
  15212. propertygrid.
  15213. 2006-10-25 Mike Kestner <[email protected]>
  15214. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  15215. clicks too. Fixes #79725.
  15216. 2006-10-24 Chris Toshok <[email protected]>
  15217. * PropertyGrid.cs: use property.Converter instead of
  15218. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  15219. TypeConverters declared on the property as well as on the
  15220. PropertyType. Fixes bug #79678.
  15221. 2006-10-24 Alexander Olk <[email protected]>
  15222. * MimeIcon.cs, Mime.cs:
  15223. Fallback to the default platform handler if no shared mime info
  15224. stuff exists (fixes #79693).
  15225. 2006-10-20 Andreia Gaita <[email protected]>
  15226. * ContainerControl.cs: Incorrect contains check in ActiveControl
  15227. from previous fix (duh).
  15228. 2006-10-20 Chris Toshok <[email protected]>
  15229. * PropertyGridView.cs: the dropdown should be MIN(number of items
  15230. in list, 15). Fixes #79551.
  15231. 2006-10-20 Andreia Gaita <[email protected]>
  15232. Fixes #79384, #79394, #79652, #79667
  15233. * Application.cs:
  15234. - Modal windows are now destroyed in the proper order for windows
  15235. * ContainerControl.cs:
  15236. - ActiveControl setter has more conditions on when to return:
  15237. - if we're reselecting the active control, but it actually
  15238. didn't have focus (window hidden or some such), it runs
  15239. - if the active control being selected doesn't actually
  15240. exist in the container, it returns
  15241. * Form.cs
  15242. - The ShowDialog now gets the current form as the owner when
  15243. invoking without parameters, and correctly activates the owner
  15244. when returning
  15245. * MessageBox.cs
  15246. - MessageBox now catches the Escape key to exit
  15247. 2006-10-20 Chris Toshok <[email protected]>
  15248. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  15249. most of bug #79676):
  15250. - you can navigate around the property grid with the arrow keys.
  15251. - the dropdown is sized properly when the pg has a vertical
  15252. scrollbar.
  15253. - fix the indentation for subentries, and properly select the
  15254. entire label rect.
  15255. - fix the gray bar's drawing (only draw it to the last element,
  15256. not for the height of the control. Also make sure we draw that
  15257. last horizontal grid line.
  15258. - use the same mechanism the datagrid uses wrt the editing textbox
  15259. when scrolling/resizing/etc. Namely, we hide it first, do the
  15260. operation, then show it again (if it's still visible).
  15261. - aggressively remove a lot of unnecessary refreshes (and also
  15262. calls to Invalidate(). call more limited variants, and only redraw
  15263. what we need.)
  15264. * PropertyGrid.cs:
  15265. - when we're populating the merged collection, fill in the UI
  15266. parent with either the passed in item, or the category item we
  15267. create.
  15268. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  15269. * GridItem.cs: drop some fully qualified names.
  15270. * GridEntry.cs: add a "UIParent", which is basically the parent
  15271. treenode.
  15272. * GridItemCollection.cs: add an IndexOf method.
  15273. 2006-10-20 Mike Kestner <[email protected]>
  15274. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  15275. a working win32 NC invalidation mechanism, we can't invalidate
  15276. menus. [Fixes #79705]
  15277. 2006-10-20 Mike Kestner <[email protected]>
  15278. * ListBox.cs : don't update the VScrollbar if the list is empty,
  15279. just hide it. [Fixes #79692]
  15280. 2006-10-20 Jackson Harper <[email protected]>
  15281. * RichTextBox.cs: Handle some special chars better, and don't skip
  15282. the entire group when we encounter a special char that we don't
  15283. handle correctly.
  15284. 2006-10-18 Chris Toshok <[email protected]>
  15285. * PropertyGridView.cs: address a number of issues from bug #79676,
  15286. mostly of the cosmetic variety.
  15287. - The highlight rectangle for indented items not extends all the
  15288. way to the left.
  15289. - Indented items aren't indented so much.
  15290. - the dropdown is properly sized width-wise if the pg has a
  15291. vertical scrollbar.
  15292. 2006-10-18 Chris Toshok <[email protected]>
  15293. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  15294. systray stuff is rather convoluted to begin with.
  15295. systray icons are a single window for some reason (that I haven't
  15296. figured out yet), and for them, client_window == whole_window.
  15297. Given the way the tests are structured elsewhere to determine
  15298. which paints are pending (client vs. nc), that situation will
  15299. always yield PAINT, not NCPAINT. So, if we have a pending
  15300. nc_expose and no pending expose, remove the hwnd from the paint
  15301. queue, and also set nc_expose_pending to false, to keep us from
  15302. blocking further expose's adding the hwnd to the paint queue.
  15303. phew. like i said, a rather convoluted change. Fixes the
  15304. notifyicon repaint issues in bug #79645.
  15305. 2006-10-18 Chris Toshok <[email protected]>
  15306. * Form.cs: when getting the backcolor of the form, don't get
  15307. base.BackColor, as this allows parents to influence the background
  15308. color. This breaks mdi forms. Instead, if the background_color
  15309. is empty, return the default.
  15310. 2006-10-18 Chris Toshok <[email protected]>
  15311. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  15312. to being private instead of internal static.
  15313. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  15314. crap, it wasn't working for more deeply nested controls anyway,
  15315. and we already have the is_recreating flag - use that instead.
  15316. Before calling DestroyHandle in RecreateHandle, recurse through
  15317. the control tree setting it to true. this returns the recreate
  15318. code to much of its original simplicity, while now guaranteeing we
  15319. actually recreate everything we're supposed to. This change gets
  15320. fyireporting actually showing mdi children.
  15321. 2006-10-17 Chris Toshok <[email protected]>
  15322. * Form.cs: remove some debug spew, and collapse some duplicate
  15323. code at the end of SetClientSizeCore.
  15324. * XplatUIX11.cs:
  15325. - add some more debug spew here too wrt Destroy handling.
  15326. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  15327. in Control's handling of WM_DESTROY.
  15328. - Remove the handling of zombie window DestroyNotifies from the
  15329. event loop - we don't need it. Now the only DestroyNotifies we
  15330. actually handle are ones generated by X.
  15331. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  15332. match gtk's (functioning) handling of this. This keep metacity
  15333. from leaving droppings in the form of wm borders with no window
  15334. contents all over the place.
  15335. * Control.cs:
  15336. - add a bunch of debug spew wrt control recreation.
  15337. - fix a bug where we weren't tracking Visible properly on
  15338. recreated hwnds.
  15339. - fixed the WM_PAINT double buffer handling to support re-entrant
  15340. calls (yes, i know it's gross, but it's happening to us).
  15341. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  15342. * ThemeWin32Classic.cs: changed drawing of selected days
  15343. to make them look better.
  15344. 2006-10-16 Chris Toshok <[email protected]>
  15345. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  15346. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  15347. * XplatUIX11.cs: move away from using hwnd.client_dc and
  15348. hwnd.non_client_dc and on to a stack of dc's (and in window's
  15349. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  15350. without puking or not disposing of Graphics objects.
  15351. * XplatUIOSX.cs: same.
  15352. * XplatUIWin32.cs: same.
  15353. 2006-10-03 Alexander Olk <[email protected]>
  15354. * FileDialog.cs: Don't call on_directory_changed inside
  15355. OnSelectedIndexChanged (it changes the SelectedIndex too).
  15356. Instead move it to OnSelectionChangeCommitted.
  15357. 2006-10-13 Chris Toshok <[email protected]>
  15358. * XplatUIX11.cs: more Destroy work. the current code does the
  15359. following things, in order:
  15360. 1. Enumerates all handles of all controls at or below the one
  15361. being destroyed, in pre-order. As it is doing this, it marks the
  15362. handles as zombie and clears all references to them.
  15363. 2. calls XDestroyWindow on the window passed in.
  15364. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  15365. list.
  15366. 2006-10-13 Chris Toshok <[email protected]>
  15367. * XplatUIX11.cs: set hwnd.zombie to true before calling
  15368. SendMessage (WM_DESTROY). this keeps us from marking the new
  15369. window a zombie, and also keeps us from calling sendmessage at
  15370. all.
  15371. 2006-10-13 Jackson Harper <[email protected]>
  15372. * TextControl.cs: Do not show the caret and selection at the same
  15373. time. Reduces ugliness by 35%.
  15374. 2006-10-13 Chris Toshok <[email protected]>
  15375. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  15376. zombie after we do the recursive call, so we actually do call
  15377. SendMessage on the children controls.
  15378. (GetMessage): if we find a pending paint event for a zombie hwnd,
  15379. remove the hwnd from the paint queue, or else it will always be
  15380. there (and we'll effectively loop infinitely)
  15381. 2006-10-13 Mike Kestner <[email protected]>
  15382. * MenuItem.cs : add Selected format under keynav too.
  15383. Fixes #79528.
  15384. 2006-10-13 Gert Driesen <[email protected]>
  15385. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  15386. implementation and that of MS.
  15387. 2006-10-13 Chris Toshok <[email protected]>
  15388. * Control.cs (OnInvalidated) only futz with the invalid_region if
  15389. the control is double buffered. this fixes the apparent hang in
  15390. the ListView unit tests. Someone needs to make the
  15391. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  15392. 2006-10-13 Chris Toshok <[email protected]>
  15393. * PropertyGridView.cs:
  15394. - do a little refactoring so that only one place calls
  15395. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  15396. else call that. Also make it Refresh, since there are redraw bugs
  15397. otherwise (we should take a look at that...)
  15398. - do a little more refactoring work to share the body of code
  15399. involved with the drop down. it was duplicated in the code
  15400. dealing with the listbox handling and in the code dealing with the
  15401. UITypeEditors.
  15402. - add a Capture to the dropdown form's control once it's
  15403. displayed, and add a MouseDown handler that checks to make sure
  15404. the position is inside the control. If it's not, close the
  15405. dropdown. This fixes #78190.
  15406. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  15407. if the value is different than the initial value.
  15408. 2006-10-13 Andreia Gaita <[email protected]>
  15409. * Control.cs: see #78650
  15410. - Fixed GetNextControl for several cases:
  15411. - Changed FindFlatForward to return
  15412. correct sibling control when more than one
  15413. control has same TabIndex as the currently
  15414. focused one.
  15415. - Changed FindFlatBackward to loop children
  15416. from last to first and apply same logic as in
  15417. FindFlatForward
  15418. - Changed FindControlForward to search for
  15419. children when control is not a container
  15420. but has children, or search for siblings if
  15421. control is a container...
  15422. - Changed FindControlBackward to continue
  15423. searching for child controls when hitting
  15424. Panel-like parents
  15425. - Fixed Focus method to update ActiveControl
  15426. (FocusTest.FocusSetsActive failure)
  15427. * TabControl.cs:
  15428. - Focus rectangle now refreshes when gaining
  15429. or losing focus
  15430. - Removed grab for Tab key on IsInputKey that
  15431. was keeping tab navigation from working (#78650)
  15432. 2006-10-13 Chris Toshok <[email protected]>
  15433. * PropertyGridView.cs:
  15434. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  15435. SelectedObjects.
  15436. - Deal with GridItem.Value == null a few places.
  15437. * PropertyGrid.cs:
  15438. - replace the PopulateGridItemCollection with a pair of methods
  15439. which compute the intersection of all the properties in the
  15440. SelectedObjects array. Fixes #79615.
  15441. - Throw ArgumentException from set_SelectedObjects if there's a
  15442. null in the array.
  15443. - Add GetTarget method which can be used to traverse up the
  15444. GridItem.Parent chain. It depends on the assumption that
  15445. selected_objects for different GridEntries are always in the same
  15446. order (a safe assumption). Use this method and loop over all the
  15447. selected objects in the entry when calling RemoveValueChanged and
  15448. AddValueChanged.
  15449. * GridEntry.cs: Make this handle multiple selected objects.
  15450. .Value returns null if not all the selected objects share the same
  15451. value.
  15452. 2006-10-12 Jonathan Pobst <[email protected]>
  15453. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  15454. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  15455. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  15456. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  15457. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  15458. add additional functionality.
  15459. 2006-10-12 Mike Kestner <[email protected]>
  15460. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  15461. * HelpProvider.cs : new ToolTipWindow ctor sig.
  15462. * ToolTip.cs : remove ToolTip param from Window sig since it is
  15463. not used.
  15464. * ToolBar.cs : add tooltip support. Fixes #79565.
  15465. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15466. * ComboBox.cs: move the events in set_SelectedIndex to
  15467. after the call to HighlightIndex in order to avoid
  15468. possible recursion and subsequent problems with the call
  15469. to HighlightIndex and include a range check in
  15470. set_HighlightIndex. Fixes #79588
  15471. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15472. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  15473. to ui thread's settings instead of sunday.
  15474. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  15475. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15476. * DateTimePicker.cs
  15477. * MonthCalendar.cs
  15478. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  15479. and implement missing functionality (selecting different parts
  15480. of the date and edit them individually with the keyboard).
  15481. 2006-10-11 Chris Toshok <[email protected]>
  15482. * Control.cs (OnInvalidated): fix NRE relating to last change.
  15483. 2006-10-11 Chris Toshok <[email protected]>
  15484. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  15485. atoms in _NET_WM_STATE here if the window is maximized. We need
  15486. to do this because we're *replacing* the existing _NET_WM_STATE
  15487. property, so those atoms will be lost otherwise, and any further
  15488. call to GetWindowState will return Normal for a window which is
  15489. actually maximized. Fixes #79338.
  15490. 2006-10-11 Jackson Harper <[email protected]>
  15491. * TextControl.cs: Special case for setting selection end to
  15492. selection start, we basically kill the anchor.
  15493. - some todo comments.
  15494. 2006-10-11 Chris Toshok <[email protected]>
  15495. * Control.cs: switch to using an "invalid_region" to track which
  15496. parts of the image buffer need updating. This is more code than
  15497. the simple fix from r66532. That version just attempted to always
  15498. fill the entire buffer on redraw, which turns out to be
  15499. inefficient when invalidating small rectangles. This version
  15500. simply adds the invalid rectangle to the invalid region. When we
  15501. get any WM_PAINT message we see if it can be filled using the
  15502. image buffer, and if it can't (if the paint event's clip rectangle
  15503. is visible in the invalid region) we first fill the image buffer.
  15504. So, the image buffer is still a cache, we just fill it lazily.
  15505. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  15506. need it any longer.
  15507. 2006-10-11 Chris Toshok <[email protected]>
  15508. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  15509. well as size after calling XMoveResizeWindow. This keeps us from
  15510. ignoring future SetWindowPos calls. Fixes the disappearing
  15511. DateTimePicker in the ToolBarDockExample from bug #72499.
  15512. 2006-10-11 Chris Toshok <[email protected]>
  15513. * TextBoxBase.cs: reorder things a bit when it comes to
  15514. resizing-causing-recalculation. we were recalculating the
  15515. document when our position was changed, which shouldn't happen.
  15516. We only care about size changes. Clear up some more redundant
  15517. recalculation calls while I'm at it. This makes the toolbar dock
  15518. example snappy when you're just dragging toolbars around (since it
  15519. causes a relayout whenever you move one.)
  15520. 2006-10-11 Chris Toshok <[email protected]>
  15521. * ToolBarButton.cs (get_Rectangle): this only returns
  15522. Rectangle.Empty if Visible == false, or Parent == null.
  15523. Parent.Visible doesn't matter.
  15524. 2006-10-10 Chris Toshok <[email protected]>
  15525. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  15526. by .net 1.1, so switch to an internal method instead.
  15527. 2006-10-10 Chris Toshok <[email protected]>
  15528. * Control.cs (WM_PAINT): when a control is double buffered we draw
  15529. initially to the ImageBuffer and then copy from there. But when a
  15530. parent control which has child controls is double buffered, the
  15531. initial drawing doesn't encompass the entire ClientRectangle of
  15532. the parent control, so we end up with uninitialized bits (this is
  15533. easily seen by dragging the top toolbar in
  15534. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  15535. manually set the ClipRectangle of the paint_event (only the one we
  15536. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  15537. of the nastiness in bug #72499.
  15538. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  15539. which we use in Control.cs's WM_PAINT handling.
  15540. 2006-10-10 Jackson Harper <[email protected]>
  15541. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  15542. 2006-10-10 Chris Toshok <[email protected]>
  15543. * Cursor.cs: Apply a slightly different patch to the one suggested
  15544. in #79609.
  15545. 2006-10-10 Jackson Harper <[email protected]>
  15546. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  15547. not the parent form.
  15548. * TextControl.cs: use difference in old line count vs new count to
  15549. calculate how many lines were added, this takes into account soft
  15550. line breaks properly.
  15551. 2006-10-10 Chris Toshok <[email protected]>
  15552. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  15553. rectangle located at 0,0 and the size of the text. Use
  15554. ClientRectangle instead. This fixes rendering of non-left aligned
  15555. link labels.
  15556. 2006-10-10 Jackson Harper <[email protected]>
  15557. * TextBoxBase.cs: When we set the selection start position the
  15558. caret.
  15559. * TextControl.cs: Need to update the caret when we decrement it to
  15560. zero.
  15561. - Make sure that the selection_visible flag gets reset to false if
  15562. the selection isn't visible. Before this you could get it set to
  15563. visible by changing the selection start, then changing the end to
  15564. equal the start.
  15565. 2006-10-09 Jackson Harper <[email protected]>
  15566. * TreeView.cs: Don't update scrollbars when we aren't visible.
  15567. * TreeNodeCollection.cs: Only need to update scrollbars if being
  15568. added to an expanded visible node or the root node.
  15569. 2006-10-09 Chris Toshok <[email protected]>
  15570. * XplatUIX11.cs (SendMessage): fix NRE.
  15571. 2006-10-09 Jackson Harper <[email protected]>
  15572. * TextBoxBase.cs: Implement horizontal autoscrolling.
  15573. * TextControl.cs: Add a movement types that allows moving forward
  15574. and backwards without wrapping.
  15575. 2006-10-09 Mike Kestner <[email protected]>
  15576. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  15577. with focus "expansion" of labels. Fixes #79532 and then some.
  15578. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  15579. when wrapping.
  15580. 2006-10-09 Jackson Harper <[email protected]>
  15581. * TextBoxBase.cs: Set the default max values to MaxValue since
  15582. we use the scrollbar for autoscrolling and the default value is
  15583. 100. If we don't do this the caret won't keep up with typing
  15584. after about 18 characters.
  15585. * TextControl.cs: Make sure the selection is offset by the
  15586. viewport x. This fixes selection when using auto scrolling.
  15587. 2006-10-07 Andreia Gaita <[email protected]>
  15588. * Form.cs: The active control should be selected after the
  15589. OnLoad so that any child control initialization that affects
  15590. the selection is done. Fixes #79406
  15591. 2006-10-06 Chris Toshok <[email protected]>
  15592. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  15593. to have no evil effects.
  15594. - Stop selecting StructureNotifyMask on non-toplevel windows.
  15595. The only way children should be resized is by using the SWF api,
  15596. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  15597. Toplevel windows can be interacted with via the window manager,
  15598. and so we keep the input mask there.
  15599. The other event StructureNotifyMask gives us (that we care
  15600. about) is DestroyNotify. The code is already structured such
  15601. that it assumes we won't be getting a DestroyNotify event for
  15602. the window we pass to XDestroyWindow (which is what
  15603. StructureNotifyMask is supposed to guarantee.) So, that code
  15604. shouldn't be affected by this either.
  15605. - Stop selecting VisibilityChangeMask altogether.
  15606. We weren't doing anything with the resulting events anyway.
  15607. This vastly reduces the number of X requests and events we see
  15608. when resizing/laying out a large ui.
  15609. 2006-10-06 Chris Toshok <[email protected]>
  15610. * ScrollableControl.cs (DisplayRectangle): we need to take into
  15611. account the DockPadding regardless of whether or not auto_scroll
  15612. == true. rework this slightly to this effect, and fix bug #79606,
  15613. and part of #72499 (you can now see the drag handles and drag
  15614. toolbars around).
  15615. 2006-10-06 Gert Driesen <[email protected]>
  15616. * ListViewItem.cs: Collections of selected and checked items are now
  15617. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  15618. we mark the collection "dirty".
  15619. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  15620. to only clear SelectedItems when a new item is selected and MultiSelect
  15621. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  15622. event of ListViewItemCollection, and mark its list dirty whenever
  15623. that event is fire. This allows us to return selected/checked items
  15624. in the same order as they are in the Items collection. This matches
  15625. the MS behavior.
  15626. 2006-10-06 Chris Toshok <[email protected]>
  15627. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  15628. right mouse clicks. Fixes bug #79593.
  15629. 2006-10-06 Chris Toshok <[email protected]>
  15630. * Splitter.cs: doh, fix splitters that don't want to cancel the
  15631. movement when you drag them. Also, impose the limits on the
  15632. values we send to the SplitterMovingEvent. Fixes #79598.
  15633. 2006-10-06 Jackson Harper <[email protected]>
  15634. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  15635. since we use this for auto scrolling also.
  15636. 2006-10-05 Chris Toshok <[email protected]>
  15637. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  15638. beginning to think that most datagrid column types don't need this
  15639. method. Fixes bug #79392.
  15640. 2006-10-05 Chris Toshok <[email protected]>
  15641. * DataGrid.cs: move back to a more lazy scheme for creating the
  15642. CurrencyManager, so we aren't updating it every time you set
  15643. either DataSource or DataMember. Also, don't call
  15644. RecreateDataGridRows if the currency manager hasn't changed.
  15645. 2006-10-05 Chris Toshok <[email protected]>
  15646. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  15647. emitted, SelectedIndex should already be updated. Fixes bug
  15648. #78929.
  15649. 2006-10-05 Jonathan Pobst <[email protected]>
  15650. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  15651. ToolStripTextBox.cs: Initial commit.
  15652. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  15653. 2006-10-05 Jackson Harper <[email protected]>
  15654. * TabControl.cs: We need to invalidate the tab control area when
  15655. new ones are added (duh).
  15656. 2006-10-03 Chris Toshok <[email protected]>
  15657. * Form.cs (ProcessDialogKey): if the focused control is in this
  15658. form and is a button, call its PerformClick method here. Fixes
  15659. #79534.
  15660. 2006-10-04 Jackson Harper <[email protected]>
  15661. * TabPage.cs: Ignore setting of Visible, and add an internal
  15662. method for setting the controls visibility. TabPage's Visible
  15663. property is a little strange on MS, this seems to make us
  15664. compatible, and fixes cases where people set all the tab pages to
  15665. visible.
  15666. * TabControl.cs: Use the new internal setting on tab pages
  15667. visibility.
  15668. 2006-10-03 Mike Kestner <[email protected]>
  15669. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  15670. 2006-10-03 Mike Kestner <[email protected]>
  15671. * ListView.cs : use is_visible instead of Visible to check if
  15672. scrollbars should be placed/sized. Also some max_wrap_width
  15673. love for LargeIcon view. [Fixes #79533]
  15674. 2006-10-03 Atsushi Enomoto <[email protected]>
  15675. * TextControl.cs :
  15676. Make set_TextAlign() do actually update the align. Fixed #78403.
  15677. 2006-10-03 Chris Toshok <[email protected]>
  15678. * DataGrid.cs: fix a crash when switching datasources if the
  15679. vertical scrollbar is at someplace other than Value = 0. Also,
  15680. reduce the number of recalculation passes we do in SetDataSource
  15681. from 2 to 1.
  15682. 2006-10-03 Jackson Harper <[email protected]>
  15683. * TextBoxBase.cs: Move the if value the same bail check up, we
  15684. don't want to empty the document if it is already empty, this
  15685. seems to severly mess up the caret. TODO: I should probably fix
  15686. the empty statement to update teh caret somehow.
  15687. 2006-10-03 Chris Toshok <[email protected]>
  15688. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  15689. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  15690. reflection, an internal row type, properties on said type, etc.)
  15691. will work with our datagrid. Fixes #79531.
  15692. 2006-10-03 Alexander Olk <[email protected]>
  15693. * FileDialog.cs: Don't crash if a path is not accessible
  15694. (System.UnauthorizedAccessException). Fixes #79569.
  15695. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  15696. a ':' too. Return unknown icon for those paths/files.
  15697. 2006-10-03 Sebastien Pouliot <[email protected]>
  15698. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  15699. GetContainerControl returns null.
  15700. 2006-10-02 Chris Toshok <[email protected]>
  15701. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  15702. call to XGetWindowAttributes instead of "handle". fixes an X
  15703. error using notifyicon after the NotifyIconWindow to Form base
  15704. class switch.
  15705. 2006-10-02 Chris Toshok <[email protected]>
  15706. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  15707. server grab and looping we need to do to get down to the most
  15708. deeply nested child window.
  15709. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  15710. QueryPointer again after the WarpPointer so we can generate a
  15711. proper (fake) MotionNotify event to be enqueued in the destination
  15712. window's queue.
  15713. (GetCursorPos): call QueryPointer.
  15714. Fixes #79556.
  15715. 2006-10-02 Jackson Harper <[email protected]>
  15716. * NotifyIcon.cs: Derive the notify icon from a form, so things
  15717. like FindForm work on it.
  15718. - Swallow the WM_CONTEXTMENU message, since that is generated on
  15719. mouse down, and context menu is a mouse up kinda guy. I believe
  15720. the correct fix here is probably to make the notify icon entirely
  15721. NC area, but this seems to work fine for anyone not manipulating
  15722. WndProc.
  15723. 2006-10-02 Jonathan Pobst <[email protected]>
  15724. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  15725. ToolStripItemCollection.cs, ToolStripLabel.cs,
  15726. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  15727. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  15728. Initial implementation.
  15729. * TextRenderer.cs: Provide padding to MeasureText.
  15730. 2006-10-02 Sebastien Pouliot <[email protected]>
  15731. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  15732. of ButtonBaseAccessibleObject. Fix bug #79552.
  15733. 2006-10-02 Jackson Harper <[email protected]>
  15734. * MdiWindowManager.cs: When maximizing use the containers client
  15735. rect, not it's bounds, so nc area is accounted correctly.
  15736. - Use the parent form's size for the menu position, since the
  15737. client isn't always the full form size.
  15738. 2006-10-01 Chris Toshok <[email protected]>
  15739. * ScrollableControl.cs: make sure neither right_edge or
  15740. bottom_edge are < 0, since they're used as LargeChange for the
  15741. horiz/vert scrollbars respectively. Fixes #79539.
  15742. 2006-10-01 Chris Toshok <[email protected]>
  15743. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  15744. the xplatuix11 code can cause us to destroy/recreate our handle.
  15745. * XplatUIX11.cs
  15746. (SystrayAdd):
  15747. - this code can be invoked many times for the same Hwnd. Make
  15748. sure we only destroy the client window once (the first time this
  15749. method is called). This fixes bug #79544.
  15750. - Remove the call to the improperly bound XSync. why we had two
  15751. bindings to this, I will never know, but this call resulted in
  15752. events being discarded from the queue(!).
  15753. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  15754. not our current state but the state we wish to be in. So, 0 if
  15755. we don't want to be mapped. Change it to 1.
  15756. (SystrayRemove): The XEMBED spec makes mention of the fact that
  15757. gtk doesn't support the reparent of client windows away from the
  15758. embedder. Looking at gtksocket-x11.c seems to agree with this.
  15759. The only avenue we have for removing systray icons is to destroy
  15760. them. We don't want the handle to go away for good, though, so
  15761. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  15762. #79545.
  15763. 2006-10-01 Chris Toshok <[email protected]>
  15764. * Form.cs (WndProc): inline the native_enabled variable usage into
  15765. the cases in which it's used. Fixes #79536.
  15766. 2006-09-29 Mike Kestner <[email protected]>
  15767. * ListView.cs : toggle the selection state for ctrl clicks in
  15768. multiselect mode. [Fixes #79417]
  15769. 2006-09-29 Mike Kestner <[email protected]>
  15770. * ListView.cs : kill CanMultiSelect and refactor the selection
  15771. code to support multiselection in the absence of mod keys. Steal
  15772. arrow/home/end keys by overriding InternalPreProcessMessage to
  15773. restore regressed keynav behavior.
  15774. [Fixes #79416]
  15775. 2006-09-29 Jackson Harper <[email protected]>
  15776. * MdiClient.cs: Repaint the titlebars when the active window is
  15777. changed.
  15778. 2006-09-29 Chris Toshok <[email protected]>
  15779. * Application.cs: when entering a runloop with a modal, make sure
  15780. the hwnd is enabled. Fixes #79480.
  15781. 2006-09-29 Chris Toshok <[email protected]>
  15782. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  15783. when ListManager.CanAddRows == false, bump us back one.
  15784. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  15785. listmanager.CanAddRows check. This makes ArrayLists uneditable
  15786. using a datagrid, which is not right.
  15787. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  15788. is an IEditable, but call property_descriptor.SetValue regardless.
  15789. fixes #79435.
  15790. 2006-09-29 Chris Toshok <[email protected]>
  15791. * DataGridBoolColumn.cs: we need to test equality in the face of
  15792. possible null values (as is the case with the default NullValue).
  15793. This patch keeps us from crashing in that case.
  15794. 2006-09-29 Jackson Harper <[email protected]>
  15795. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  15796. here, since it will get called for every node collection in the
  15797. tree. This is now done in the treeview once the sorting is
  15798. finished.
  15799. * TreeView.cs: Recalculate the visible order, and update the
  15800. scrollbars after sorting, set the top nope to the root so that the
  15801. recalc actually works.
  15802. 2006-09-29 Chris Toshok <[email protected]>
  15803. * LinkLabel.cs: more handling of the default link collection in
  15804. the face of LinkArea manipulation. The default link collection
  15805. contains 1 element (start=0,length=-1). If the user sets LinkArea
  15806. to anything and the links collection is the default, clear it.
  15807. Then only add the link if its nonempty. Fixes #79518.
  15808. 2006-09-29 Chris Toshok <[email protected]>
  15809. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  15810. piece correctly when we hit a '\n'. Fixes #79517.
  15811. 2006-09-29 Chris Toshok <[email protected]>
  15812. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  15813. change the binding of gdk_init_check to take two IntPtr's, and
  15814. pass IntPtr.Zero for both of them. Fixes #79520.
  15815. 2006-09-29 Mike Kestner <[email protected]>
  15816. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  15817. [Fixes #78779]
  15818. 2006-09-28 Jackson Harper <[email protected]>
  15819. * XplatUIX11.cs: When translating NC messages make sure we go from
  15820. whole window to screen, not client window to screen.
  15821. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  15822. method doesn't exist
  15823. - Skip over controls that aren't forms when arranging.
  15824. 2006-09-28 Jackson Harper <[email protected]>
  15825. * XplatUIWin32.cs: Clip the rect to the parent window.
  15826. * XplatUIStructs.cs: Add clipping modes struct.
  15827. * InternalWindowManager.cs: New private method that factors title
  15828. bar heights in when calculating the pos of an NC mouse message.
  15829. - Use SendMessage to force a paint when the form's size is changed
  15830. instead of painting the decorations immediately.
  15831. - Don't let the NC button click messages get to DefWndProc,
  15832. because they will attempt to handle windowing themself, and this
  15833. messes up z-order (it will put them in front of the scrollbars).
  15834. * XplatUIX11.cs: Make sure that we don't reset window managers if
  15835. we already have one (ie the window is an MDI window).
  15836. 2006-09-28 Chris Toshok <[email protected]>
  15837. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  15838. menu code really needs going over.
  15839. 2006-09-27 Chris Toshok <[email protected]>
  15840. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  15841. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  15842. window is maximizable. So, we need to make sure that even if we
  15843. clear the border/wm frame of those functions, they're still
  15844. available (basically, we remove the decoration without removing
  15845. the function). Half the fix for #79338.
  15846. 2006-09-27 Chris Toshok <[email protected]>
  15847. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  15848. Fixes bug #79515.
  15849. 2006-09-27 Chris Toshok <[email protected]>
  15850. * Splitter.cs: reorder things a bit so that we don't actually
  15851. draw/move the splitter until after calling OnSplitterMoving. This
  15852. lets users cancel/disallow the movement by explicitly setting
  15853. event.SplitX/SplitY. Fixes #79372.
  15854. 2006-09-27 Jackson Harper <[email protected]>
  15855. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  15856. because it is most likely on a window being destroyed, and that
  15857. will give us an X11 error.
  15858. 2006-09-27 Chris Toshok <[email protected]>
  15859. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  15860. the dropdown button now toggles between showing and hiding the
  15861. dropdown. Also, get rid of dropdown_form_showing and just use
  15862. dropdown_form.Visible. We still don't do a grab, but I'll leave
  15863. that part to someone who has handled Capture-fu before.
  15864. 2006-09-27 Chris Toshok <[email protected]>
  15865. * DataGrid.cs: return false if alt isn't pressed when '0' is
  15866. pressed. this keeps the '0' key from being swallowed, and fixes
  15867. bug #79350.
  15868. 2006-09-27 Chris Toshok <[email protected]>
  15869. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  15870. Calling Refresh (in response to a scrollbar event) screws up the
  15871. scrollbar painting. Fixes bug #78923.
  15872. 2006-09-27 Chris Toshok <[email protected]>
  15873. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  15874. then insert into hashtable" blocks threadsafe.
  15875. 2006-09-27 Chris Toshok <[email protected]>
  15876. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  15877. baseclass's, since otherwise the
  15878. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  15879. effect. This gets the close button back in messageboxes.
  15880. 2006-09-27 Chris Toshok <[email protected]>
  15881. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  15882. flag, not just != 0. this makes flags that are actually multiple
  15883. bits (like WS_CAPTION) work. fixes bug #79508.
  15884. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  15885. * PageSetupDialog.cs: add support for getting and settings the
  15886. paper size, source and orientation.
  15887. 2006-09-26 Chris Toshok <[email protected]>
  15888. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  15889. and caption == "", we need to remove the resize handles as well as
  15890. the title bar.
  15891. * Control.cs (set_Text): turns out that setting Text on a form
  15892. should change the WM styles on the window, since if ControlBox ==
  15893. false, the only way to get a window border is to have a non-""
  15894. Text property. check winforms/forms/text.cs for an example. so,
  15895. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  15896. update both window styles and title. This fixes a lot of dialogs
  15897. (including the preferences dialog in MonoCalendar.)
  15898. 2006-09-26 Chris Toshok <[email protected]>
  15899. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  15900. control isn't a Form), call Win32ShowWindow to hide the window,
  15901. but don't update the control Visible property. When we reparent
  15902. back to a parent control, call SetVisible in order for the
  15903. window's visibility to be reinstated.
  15904. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  15905. the FosterParent.
  15906. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  15907. call for good, since it breaks MonoCalendar (and other things I'm
  15908. sure.) Also, set all_controls to null *after* the owner calls,
  15909. which end up regenerating it.
  15910. (ChangeParent): allow new_parent to be == null, passing
  15911. IntPtr.Zero down to XplatUI.
  15912. this fixes #79294 the right way.
  15913. 2006-09-26 Mike Kestner <[email protected]>
  15914. * GridEntry.cs : internal SetParent method.
  15915. * PropertyGrid.cs : attach to property changed on the proper
  15916. target if we have a hierarchical grid with subobjects. Setup
  15917. GridItem.Parent for hierarchical items.
  15918. * PropertyGridView.cs : Set value on the correct target for
  15919. hierarchical grids. [Fixes #78903]
  15920. 2006-09-26 Chris Toshok <[email protected]>
  15921. * Control.cs (ChildNeedsRecreating): this should return true if
  15922. either we're being recreated and the child is in our list, or our
  15923. parent is waiting for our recreation.
  15924. 2006-09-26 Chris Toshok <[email protected]>
  15925. * Control.cs (ControlCollection.Remove): reinstate the
  15926. value.Hide() call as suggested in bug #79294.
  15927. 2006-09-26 Sebastien Pouliot <[email protected]>
  15928. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  15929. coordinates (versus a relative move).
  15930. 2006-09-26 Chris Toshok <[email protected]>
  15931. * Control.cs: rework child recreation a little bit. It turns out
  15932. that we race between the DestroyNotify the WM_DESTROY message. If
  15933. the parent gets its DestroyNotify before the child gets the
  15934. WM_DESTROY message, the child ends up not recreating (since the
  15935. parent finishes its recreation on DestroyNotify, and the child
  15936. checks ParentIsRecreating.)
  15937. So, instead we store off a list of all the child controls which
  15938. need to be recreated when the parent control starts to recreate
  15939. itself. Then, when child controls get their WM_DESTROY message we
  15940. check to see if they're in the parent's pending recreation list,
  15941. and if so, we recreate. This removes all dependency on ordering
  15942. from the code and fixes the initial MonoCalendar upgrade dialog.
  15943. 2006-09-26 Jackson Harper <[email protected]>
  15944. * TextControl.cs: Use the Line to get the length of the line,
  15945. since soft line breaks can change the end line.
  15946. 2006-09-26 Chris Toshok <[email protected]>
  15947. * Control.cs (ControlCollection.AddImplicit): don't add the
  15948. control again if it's already in one of our lists. This keeps us
  15949. from adding controls over and over again for comboboxes when their
  15950. handle gets recreated (as the combobox adds implicit controls in
  15951. OnHandleCreated). Fixes the X11 errors in bug #79480.
  15952. 2006-09-26 Jackson Harper <[email protected]>
  15953. * TextControl.cs: When deleting characters make sure that any
  15954. orphaned zero lengthed tags get deleted.
  15955. - Fix ToString for zero lengthed tags.
  15956. 2006-09-25 Jackson Harper <[email protected]>
  15957. * TextControl.cs: When getting a tag at the location there can be
  15958. multiple tags at the same spot, these are 0-lengthed tags that
  15959. appear when extra formatting has been stuck in a location. We
  15960. need to pull out the last of these 0 lengthed tags.
  15961. 2006-09-25 Jackson Harper <[email protected]>
  15962. * TextControl.cs: Fix print out in debug method.
  15963. * TextBoxBase.cs: When text is set bail if we are setting to the
  15964. previous value.
  15965. 2006-09-24 Alexander Olk <[email protected]>
  15966. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  15967. It is now possible to change the selected index in a FontXXXListBox
  15968. with the up and down arrow keys from the FontXXXTextBoxes.
  15969. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  15970. FontXXXListBoxes to match ms.
  15971. 2006-09-22 Sebastien Pouliot <[email protected]>
  15972. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  15973. anyone can dispose it, anytime. All other properties returns enums,
  15974. structs or basic types so they don't need such tricks.
  15975. 2006-09-22 Jackson Harper <[email protected]>
  15976. * XplatUI.cs:
  15977. * XplatUIWin32.cs:
  15978. * Clipboard.cs:
  15979. * DataFormats.cs:
  15980. * XplatUIOSX.cs:
  15981. * XplatUIDriver.cs: Update interface to add a primary selection
  15982. flag, so the driver can use the primary selection buffer if
  15983. needed.
  15984. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  15985. * RichTextBox.cs: We need to supply the data object to paste now
  15986. (so we can choose to supply CLIPBOARD or PRIMARY).
  15987. * TextBoxBase.cs: Supply data object to paste (see above).
  15988. - Middle click uses the primary selection data object.
  15989. 2006-09-21 Chris Toshok <[email protected]>
  15990. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  15991. of SetWMStyles. It's still a rat's nest and is largely
  15992. order-dependent which I dislike immensely. This also fixes the X
  15993. button disappearing from toplevel forms.
  15994. 2006-09-21 Mike Kestner <[email protected]>
  15995. * ListBox.cs: move Jordi's click/dblclick raising code to the
  15996. mouse up handler.
  15997. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  15998. * ListBox.cs: Fixes 79450
  15999. 2006-09-21 Mike Kestner <[email protected]>
  16000. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  16001. to deal with people updating the TreeNodeCollection after the tree
  16002. is disposed. "Fixes" 79330.
  16003. 2006-09-20 Jackson Harper <[email protected]>
  16004. * TextControl.cs: Push the cursor record onto the undo stack
  16005. before the delete action. This fixes 78651.
  16006. 2006-09-20 Jonathan Chambers <[email protected]>
  16007. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  16008. CreateParams. Fixes 79329.
  16009. 2006-09-19 Chris Toshok <[email protected]>
  16010. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  16011. things up a bit. First, get rid of the NetAtoms array (and the NA
  16012. enum), and just embed the atoms as static fields. Also, add a
  16013. couple of functions (StyleSet and ExStyleSet) to clean up all the
  16014. bitmask testing of styles.
  16015. * X11Structs.cs: remove the NA enum, not needed anymore.
  16016. 2006-09-19 Chris Toshok <[email protected]>
  16017. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  16018. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  16019. added cleanup to get MessageBox titles appearing again, which were
  16020. broken by my earlier fix for caption-less/ControlBox-less windows.
  16021. 2006-09-18 Jonathan Pobst <[email protected]>
  16022. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  16023. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  16024. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  16025. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  16026. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  16027. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  16028. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  16029. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  16030. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  16031. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  16032. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  16033. Inital import.
  16034. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  16035. ToolStripButton.cs: Stubs needed for above.
  16036. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  16037. 2006-09-15 Chris Toshok <[email protected]>
  16038. * XplatUIX11.cs:
  16039. - make the MessageQueues hashtable Synchronized.
  16040. - SendMessage: if the Hwnd is owned by a different thread, use the
  16041. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  16042. thread. Fixes bug #79201.
  16043. 2006-09-15 Chris Toshok <[email protected]>
  16044. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  16045. ControlBox == false, we disallow maximize/minimize/close. If the
  16046. form Caption is "" we also disallow move (and get rid of the Title
  16047. decoration). Unfortunately, regardless of how things are set,
  16048. we're stuck with the Title and WM menu.
  16049. 2006-09-15 Chris Toshok <[email protected]>
  16050. * Application.cs: add locking around the static message_filters
  16051. ArrayList, part of #79196.
  16052. 2006-09-15 Chris Toshok <[email protected]>
  16053. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  16054. Form.ControlBox == false, the window has no titlebar nor resize
  16055. handles. fixes bug #79368.
  16056. 2006-09-15 Chris Toshok <[email protected]>
  16057. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  16058. >= 0. Fixes bug #79370.
  16059. 2006-09-15 Jonathan Pobst <[email protected]>
  16060. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  16061. * Control.cs:
  16062. Add properties: LayoutEngine, Margin, DefaultMargin.
  16063. Add method: GetPreferredSize.
  16064. Move layout logic from PerformLayout to layout engines.
  16065. 2006-09-13 Chris Toshok <[email protected]>
  16066. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  16067. fix for #79326 broke #78718, so this change addresses that.
  16068. - in SendWMDestroyMessages remove the call to
  16069. CleanupCachedWindows, since we might be recreating the control and
  16070. need to maintain the references to right Hwnd handles. Also, set
  16071. the zombie flag to true for each of the children in the hierarchy
  16072. instead of calling hwnd.Dispose. This will cause GetMessage to
  16073. ignore all events for the window except for DestroyNotify.
  16074. - In GetMessage, ignore messages except for DestroyNotify for
  16075. zombie hwnds.
  16076. * Control.cs: revert the is_recreating fix from the last
  16077. ChangeLog. It's definitely "right", but it breaks switching from
  16078. an MDI form to a non-MDI form. Will need to revisit that.
  16079. * Hwnd.cs: add a zombie flag, which means "the
  16080. client_window/whole_window handles are invalid, but we're waiting
  16081. for the DestroyNotify event to come in for them". Set the flag to
  16082. false explicitly if setting WholeWindow/ClientWindow, and also
  16083. when Disposing.
  16084. 2006-09-13 Chris Toshok <[email protected]>
  16085. * XplatUIX11.cs: rework window destruction slightly.
  16086. - when destroying the windows associated with a control, we don't
  16087. need 2 separate XDestroyWindow calls. Just the one for the
  16088. whole_window (or for client_window if whole_window is somehow
  16089. IntPtr.Zero -- can this happen?) is enough.
  16090. - reworked SendWMDestroyMessages slightly, so we always dispose
  16091. the child control hwnd's after sending the messages.
  16092. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  16093. the two places it was used (one was even using hwnd.Handle and the
  16094. other hwnd.client_window. ugh), adding another call in
  16095. SendWMDestroyMessages. We need this new call because now the
  16096. DestroyNotify events in the queue will be ignored for the child
  16097. controls (as their hwnd's were disposed, and the window id's
  16098. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  16099. - this fixes bug #79326.
  16100. 2006-09-13 Chris Toshok <[email protected]>
  16101. * Control.cs: don't always set is_recreating to false at the end
  16102. of RecreateHandle, since sometimes we're not done (and won't be
  16103. until WndProc handles the WM_DESTROY message). Also, set
  16104. is_recreating to false in the WM_DESTROY handling code. Part of
  16105. the fix for bug #79326.
  16106. 2006-09-13 Miguel de Icaza <[email protected]>
  16107. * X11DesktopColors.cs: Start the droppage of debugging messages.
  16108. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  16109. 2006-09-13 Jonathan Pobst <[email protected]>
  16110. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  16111. 2006-09-12 Chris Toshok <[email protected]>
  16112. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  16113. to create it using SetDataSource. Fixes bug #79151.
  16114. 2006-09-11 Chris Toshok <[email protected]>
  16115. * XEventQueue.cs: add a DispatchIdle property.
  16116. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  16117. either the queue is null, or the queue has DispatchIdle set to
  16118. true.
  16119. (DoEvents): set queue.DispatchIdle to false around the
  16120. peek/translate/dispatch message loop in this method. This keeps
  16121. Application.Doevents from emitting idle events. Part of the fix
  16122. for #78823.
  16123. 2006-09-11 Chris Toshok <[email protected]>
  16124. * DataGrid.cs (set_DataSource): make this work for both the
  16125. winforms/datagrid test and ReportBuilder. It seems as though when
  16126. we've created a ListManager (or maybe it's if we have a
  16127. BindingContext?), when we set the DataSource it clears the
  16128. DataMember to "". otherwise we reuse the datamember. Fixes bug
  16129. #79333.
  16130. 2006-09-11 Chris Toshok <[email protected]>
  16131. * XplatUIX11.cs: deal with queue being null, which happens in all
  16132. the Clipboard functions. Fixes one of the two problems mentioned
  16133. in #78612.
  16134. 2006-09-11 Chris Toshok <[email protected]>
  16135. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  16136. button on various spots (including outside the menu) works closer
  16137. to MS, and doesn't crash. Fixes #79343.
  16138. 2006-09-11 Gert Driesen <[email protected]>
  16139. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  16140. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  16141. and the internal comparer is set. When a new ListViewItemSorter is set,
  16142. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  16143. was specified. No further processing is necessary if SortOrder is set
  16144. to it's current value. If Sorting is modified to None, and View is
  16145. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  16146. (either custom or our internal ItemComparer) to null, on 1.0 profile
  16147. only set item_sorter to null if its our internal IComparer. If Sorting
  16148. is modified to Ascending or Descending, then use our internal IComparer
  16149. if none is set, and if the current IComparer is our internal one then:
  16150. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  16151. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  16152. Enum.IsDefined to verify whether a valid View value is specified in
  16153. its setter. Automatically sort listview items when listview is
  16154. created. In Sort, do nothing if ListView is not yet created, or if
  16155. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  16156. to None or ListViewItemSorter was set to null). Added Sort overload
  16157. taking a bool to indicate whether the ListView should be redrawn when
  16158. items are sorted (we use this in ListViewItemCollection to avoid double
  16159. redraws). Modified our internal IComparer to take the sort order into
  16160. account. In Add and AddRange methods of ListViewItemCollection, also
  16161. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  16162. view), but use overload with noredraw option to avoid double redraw.
  16163. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  16164. true when View is Tile, and do the same when attempting to set View to
  16165. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  16166. for selected/checked indices, as it involves overhead when sorting is
  16167. done while these collections are not used all that often. Instead
  16168. we'll build the indices on demand. Modified IList implementation of
  16169. CheckedIndexCollection to use public methods if object is int.
  16170. Modified CheckedListViewItemCollection to hide checked items if
  16171. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  16172. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  16173. IList implementation in SelectedIndexCollection to use public methods
  16174. if object is int. Modified SelectedListViewItemCollection to hide
  16175. selected items if listview is not yet created.
  16176. * ListViewItem.cs: CheckedIndices list no longer needs to be
  16177. maintained separately (see ListView changes). Also clone font, fixes
  16178. test failure.
  16179. 2006-09-11 Mike Kestner <[email protected]>
  16180. * ComboBox.cs: if we are updating the contents of the currently
  16181. selected index, refresh the control or the textbox selection.
  16182. [Fixes #79066]
  16183. 2006-09-11 Mike Kestner <[email protected]>
  16184. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  16185. the 'specified' logic has been moved there. This seems like a bug
  16186. in Control.cs, since our current SetBoundsCore completely ignores
  16187. the specified parameter. Peter's commit seems to indicate that is
  16188. the way the MS control implementation works. [Fixes #79325]
  16189. 2006-09-10 Jonathan Chambers <[email protected]>
  16190. * XplatUI.cs: Set default_class_name to be composed
  16191. of current domain id. This allows MWF to be loaded in multiple
  16192. domains on Win32.
  16193. 2006-09-09 Miguel de Icaza <[email protected]>
  16194. * X11Keyboard.cs: If we are unable to obtain the input method, do
  16195. not call CreateXic to create the input context. Should fix
  16196. #78944/79276.
  16197. 2006-09-08 Alexander Olk <[email protected]>
  16198. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  16199. Simplified gnome support by adding more pinvokes to get the
  16200. icon for a file or mime type.
  16201. 2006-09-08 Jackson Harper <[email protected]>
  16202. * MenuAPI.cs: Deslect popup context menu items before closing the
  16203. window, so that you don't see the previously selected item
  16204. selected when you reopen the menu.
  16205. * TextControl.cs: Update the cursor position even if we don't have
  16206. focus. This fixes typing in things like the ComboBox. I'm not
  16207. totally sure we should always set the visibility if we don't have
  16208. focus, but couldn't find any corner cases where the cursor showed
  16209. up when it shouldn't.
  16210. 2006-09-08 Chris Toshok <[email protected]>
  16211. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  16212. our arrays are length 256. & 0xff before indexing. Fixes the
  16213. crash in bug #78077.
  16214. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  16215. * ThemeWin32Classic.cs:
  16216. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  16217. is true. Handle that check box too.
  16218. 2006-09-07 Chris Toshok <[email protected]>
  16219. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  16220. 79244.
  16221. 2006-09-07 Chris Toshok <[email protected]>
  16222. * Control.cs: in set_BackColor only do the work if
  16223. background_color != value.
  16224. * XplatUIX11.cs: move the clearing of invalid areas (both client
  16225. and nc) to the same block of code where we set (nc_)expose_pending
  16226. to false. That is, move it from PaintEventEnd to PaintEventStart,
  16227. so things that cause invalidates from within OnPaint will trigger
  16228. another call to OnPaint. Fixes bug #79262.
  16229. 2006-09-07 Alexander Olk <[email protected]>
  16230. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  16231. * FileDialog.cs: Fix typo
  16232. 2006-09-07 Jackson Harper <[email protected]>
  16233. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  16234. for tab pages if they have any.
  16235. 2006-09-06 Mike Kestner <[email protected]>
  16236. * Splitter.cs: use the "current" rect when finishing drag handle
  16237. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  16238. 2006-09-06 Mike Kestner <[email protected]>
  16239. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  16240. support offset splitters. [Fixes #79298]
  16241. 2006-09-06 Alexander Olk <[email protected]>
  16242. * Mime.cs: Fixed a bug that could override the global mime type
  16243. result.
  16244. 2006-09-05 Jackson Harper <[email protected]>
  16245. * TabControl.cs: Better calculation method for setting the slider
  16246. pos. Prevents crashes on really wide tabs.
  16247. - Draw Image on tab pages if an image list is used.
  16248. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  16249. * MonthCalendar.cs: When Font changes, the Size should be
  16250. updated to fit the new font's space requirements.
  16251. 2006-09-02 Alexander Olk <[email protected]>
  16252. * ListBox.cs: If the items are cleared with Items.Clear set
  16253. top_index to 0.
  16254. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16255. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  16256. fire DateChanged event instead of DateSelected event when
  16257. the date was changed by keyboard interaction.
  16258. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16259. * DateTimePicker.cs: Handle DateChanged for the associated
  16260. month_calendar control, and set month_calendar.Font from
  16261. OnFontChanged method, as well as resize the height of the
  16262. control when needed. Make PreferredHeight proportional.
  16263. 2006-09-01 Chris Toshok <[email protected]>
  16264. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  16265. properties.
  16266. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  16267. 2006-09-01 Peter Dennis Bartok <[email protected]>
  16268. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  16269. for decorations (Fixes #79219)
  16270. 2006-09-01 Mike Kestner <[email protected]>
  16271. * ComboBox.cs: first stab at sorting plus some selection handling
  16272. fixes to bring us more in line with MS behavior. Also switches back
  16273. to index based selection. Alternative patches for index-based
  16274. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  16275. and [email protected] on bug 78848. I assume they were similar to this
  16276. code I've had simmering in my tree forever.
  16277. [Fixes #78848]
  16278. 2006-09-01 Chris Toshok <[email protected]>
  16279. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  16280. when setting list position guard against ending up with a -1 index
  16281. (the other part of the fix for #78812). Should probably make sure
  16282. we don't need the analogous fix in the ItemDeleted case.
  16283. * DataGrid.cs:
  16284. - in SetDataSource, work around the fact that the way
  16285. OnBindingContextChanged is invoked will cause us to re-enter this
  16286. method. I'll remove the hack once I investigate
  16287. OnBindingContextChanged.
  16288. - fix the logic in set_DataSource and set_DataMember (basically
  16289. what to do if the other of the two is null.)
  16290. - in OnListManagerItemChanged, we need to take into account the
  16291. edit row when deciding whether or not to call RecreateDataGridRows
  16292. (part of the fix for #78812).
  16293. 2006-09-01 Jackson Harper <[email protected]>
  16294. * Splitter.cs: Don't do anything if there is no control to affect
  16295. (prevents us from crashing in weird tet cases).
  16296. * TreeView.cs: Bounding box for the mouse movement reverting
  16297. focus/selection back to previously selected node. This matches
  16298. MS, and makes the tree a lot more useable.
  16299. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  16300. use clipping so they are not drawn. This fixes when the control
  16301. is set to have a transparent background, or if it was over an
  16302. image.
  16303. 2006-09-01 Alexander Olk <[email protected]>
  16304. * MimeIcon.cs: Improved handling for reading default icons when
  16305. using gnome (2.16 made it necessary). Check and read svg icons
  16306. first, then 48x48 and then 32x32 icons.
  16307. 2006-08-31 Chris Toshok <[email protected]>
  16308. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  16309. visible.
  16310. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  16311. ProcessKeyPreview. Fixes part of #77806.
  16312. * DataGrid.cs: big patch.
  16313. - revert the queueing up of DataSource/DataMember if inside
  16314. BeginInit/EndInit calls. That's not the way the datagrid achieves
  16315. its delayed databinding. Instead, call SetDataSource in
  16316. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  16317. #78811.
  16318. - Also, it wasn't mentioned in #78811, but the test case exhibits
  16319. behavior that was lacking in our datagrid implementation - Columns
  16320. that have mapping names that don't exist in the datasource's
  16321. properties aren't shown. Yuck. To fix this I added the bound
  16322. field to the column style, and basically any calculation to figure
  16323. out anything about columns uses a loop to find the bound columns.
  16324. still need to investigate if I can cache an array of the bound
  16325. columns or if the indices must be the same.
  16326. - When setting CurrentCell, we no longer abort if the cell being
  16327. edited was in the add row. This fixes the other part of #77806.
  16328. - The new code also fixes #78807.
  16329. * ThemeWin32Classic.cs: perpetrate the same disgusting
  16330. column.bound field hack, and only render bound fields.
  16331. 2006-08-31 Chris Toshok <[email protected]>
  16332. * DataGridColumnStyle.cs: add bound field. this field is true if
  16333. the datasource has a property corresponding to the mapping name.
  16334. * DataGridTableStyle.cs: set the bound field on the column styles
  16335. depending on whether or not we have a column for that property.
  16336. 2006-08-31 Peter Dennis Bartok <[email protected]>
  16337. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  16338. splitter control (fixes #79228)
  16339. 2006-08-31 Chris Toshok <[email protected]>
  16340. * DataGridColumnStyle.cs: we need to delay the assignment of
  16341. property descriptor until the last possible moment due to the lazy
  16342. databinding stuff in the datagrid. Also, fix the exceptions
  16343. thrown by CheckValidDataSource to match MS.
  16344. 2006-08-31 Jackson Harper <[email protected]>
  16345. * Form.cs: When activated select the active control, if there is
  16346. no active control, we select the first control.
  16347. * XplatUIX11.cs: If there is no focus control when we get a
  16348. FocusIn event, find the toplevel form and activate it. This
  16349. occurs when you popup a window, it becomes the focus window, then
  16350. you close that window, giving focus back to the main window.
  16351. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  16352. * MonthCalendar.cs:
  16353. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  16354. as StringFormat with Center alignments in MonthCalendar,
  16355. instead of creating new ones when drawing the control.
  16356. Also, draw the month name in bold style.
  16357. 2006-08-30 Peter Dennis Bartok <[email protected]>
  16358. * Control.cs:
  16359. - PerformLayout(): It would seem MS performs the fill even if the
  16360. control is not visible (part of #79218 fix)
  16361. - ResetBackColor(): Use the setter to reset the color, to allow
  16362. overriders to catch the change.
  16363. * Form.cs:
  16364. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  16365. - CreateHandle(): dito (part of $79218 fix)
  16366. - Don't set an icon if we have a dialog
  16367. * ScrollableControl.cs:
  16368. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  16369. - ScrollIntoView(): No need to scroll if control is already visible
  16370. (resolves fixme and fixes #79218)
  16371. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  16372. * MonthCalendar.cs: Change proportions in SingleMonthSize
  16373. to match the aspect of the original control.
  16374. 2006-08-29 Alexander Olk <[email protected]>
  16375. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  16376. get updated when they get maximized.
  16377. 2006-08-29 Peter Dennis Bartok <[email protected]>
  16378. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  16379. 2006-08-29 Chris Toshok <[email protected]>
  16380. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  16381. 2006-08-29 Jackson Harper <[email protected]>
  16382. * TreeView.cs: Need to track selected node and highlighted node,
  16383. they aren't always the same thing, when the mouse is down on a
  16384. node it is hilighted, but not selected yet.
  16385. - Do the HideSelection stuff right
  16386. - Need to focus on rbutton mouse down. And redraw selection when
  16387. right click is mouse upped.
  16388. 2006-08-29 Mike Kestner <[email protected]>
  16389. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  16390. when SubItems.Count < Columns.Count. [Fixes #79167]
  16391. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16392. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  16393. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16394. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  16395. from X. Only send based on ConfigureNotify if we don't have the
  16396. correct location in hwnd (if the window manager moved us)
  16397. 2006-08-28 Mike Kestner <[email protected]>
  16398. * ListView.cs: remove a TODO.
  16399. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  16400. [Fixes ListView part of #79166]
  16401. 2006-08-28 Mike Kestner <[email protected]>
  16402. * ListView.cs: move wheel handler to parent since it is focused
  16403. instead of the item_control now. [Fixes #79177]
  16404. 2006-08-28 Mike Kestner <[email protected]>
  16405. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  16406. when the control is focused. [Fixes #79171]
  16407. 2006-08-28 Mike Kestner <[email protected]>
  16408. * ListView.cs: size the item and header controls for empty and
  16409. unscrollable views.
  16410. * ThemeWin32Classic.cs: draw disabled backgrounds.
  16411. [Fixes #79187]
  16412. 2006-08-28 Chris Toshok <[email protected]>
  16413. * Form.cs: remove unused "active_form" static field.
  16414. * Hwnd.cs: lock around accesses to static windows collection.
  16415. * Application.cs: lock threads in Exit ().
  16416. 2006-08-28 Chris Toshok <[email protected]>
  16417. * NativeWindow.cs: lock around accesses to window_collection.
  16418. 2006-08-28 Chris Toshok <[email protected]>
  16419. * Control.cs: err, fix this the right way, by locking on controls
  16420. when using it. not by making it synchronized.
  16421. 2006-08-28 Chris Toshok <[email protected]>
  16422. * Control.cs: make the static "controls" field synchronized, as it
  16423. gets updated from multiple threads.
  16424. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16425. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  16426. Prevent other threads from exiting when calling thread sets quit state.
  16427. * XEventQueue.cs: Added PostQuitState property
  16428. 2006-08-27 Chris Toshok <[email protected]>
  16429. * AsyncMethodData.cs: add a slot for the window handle.
  16430. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  16431. window (the destination control's window, not the foster window).
  16432. * Control.cs (BeginInvokeInternal): store the window's handle in
  16433. the AsyncMethodData.
  16434. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16435. * XplatUIX11.cs:
  16436. - PostQuitMessage: Removed resetting S.D display handle, we might have
  16437. another loop started after calling PostQuitMessage (Fixes #79119)
  16438. - Created destructor to reset S.D handle
  16439. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16440. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  16441. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16442. * TextControl.cs (Insert): Update the caret position even if we don't
  16443. have a handle yet, just don't call the driver in that case.
  16444. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  16445. to the end of the new selection text (Fixes #79184)
  16446. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16447. * Form.cs (Activate): Only activate if the handle is created)
  16448. * Control.c:
  16449. - Mark window as invisible when it's disposed
  16450. - Check if window handle is created when setting window visible,
  16451. instead of relying just on the is_created variable
  16452. - Check if object is disposed when creating the control (Fixes #79155)
  16453. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16454. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  16455. when allowing layout again. Otherwise we re-generate the anchoring
  16456. distance to the border again and actually alter what the user wanted
  16457. This is ugly, it'd be better if we used DisplayRectangle instead of
  16458. ClientRectangle for Control.UpdateDistances, but that causes us to
  16459. have other problems (initial anchoring positons would be wrong)
  16460. (Fixes #78835)
  16461. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16462. * Control.cs:
  16463. - The size and location setters shouldn't go directly to
  16464. SetBoundsCore, but to SetBounds, which triggers layout on the
  16465. parent, then calls SetBoundsCore. (Related to fix for #78835)
  16466. - SetBounds: Moved actual location update code into this function
  16467. from SetBoundsCore, to match MS. Added call to PerformLayout if
  16468. we have a parent (to trigger resizing of anchored parents if the
  16469. child size has changed (see testcase for #78835)
  16470. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  16471. new control code
  16472. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  16473. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16474. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  16475. System.Drawing when a toplevel window gets closed; there might
  16476. be other toplevel windows belonging to the same app (Fixes #78052)
  16477. 2006-08-26 Alexander Olk <[email protected]>
  16478. * FileDialog.cs: After reading FileDialog settings from mwf_config
  16479. use Desktop prefix only if a real folder doesn't exist anymore.
  16480. * FontDialog.cs: Added char sets.
  16481. It is now possible to select the font, size or style with the
  16482. textboxes.
  16483. 2006-08-25 Kornél Pál <[email protected]>
  16484. * PrintPreviewDialog.cs: Use assembly name constants.
  16485. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16486. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  16487. scrollbar from whacking it's buttons)
  16488. 2006-08-24 Chris Toshok <[email protected]>
  16489. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  16490. in this patch (aggregating setting Left/Top/Width/Height to
  16491. setting Bounds on the scrollbars), but the crux of the fix is in
  16492. Recalculate, where we scroll by the remaining scroll_position if
  16493. we're hiding a scrollbar. The 2*$5 reward in the comment is
  16494. serious.
  16495. 2006-08-24 Jackson Harper <[email protected]>
  16496. * MdiClient.cs:
  16497. * MdiWindowManager.cs: If the form is made a non-mdi window we
  16498. need to remove the form closed event so that closing forms works
  16499. correctly.
  16500. 2006-08-24 Jackson Harper <[email protected]>
  16501. * Control.cs: Make IsRecreating internal so that the driver can
  16502. check it
  16503. - Temporarily remove the Hide when controls are removed, its
  16504. making a whole bunch of things not work because visibility isn't
  16505. getting reset elsewhere correctly
  16506. * Form.cs: Need to do a full handle recreation when the mdi parent
  16507. is set.
  16508. * XplatUIX11.cs: If we are recreating handles don't dispose the
  16509. HWNDs. What was happening is the handles were being recreated in
  16510. SendWMDestroyMessages, but then flow continued on in that method
  16511. and destroyed the new handles.
  16512. 2006-08-23 Jackson Harper <[email protected]>
  16513. * Form.cs: MdiClient is always at the back of the bus
  16514. * Control.cs: When the order of items in the collection is changed
  16515. we need to reset the all_controls array
  16516. - do the same sorta setup thats done when adding a control when a
  16517. control is set on the collection.
  16518. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16519. * TextBoxBase.cs (get_Text): Return an empty array if our document
  16520. is empty (fixes #79052)
  16521. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16522. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  16523. on WM_SYSCHAR messages (fixes #79053)
  16524. 2006-08-23 Chris Toshok <[email protected]>
  16525. * DataGrid.cs: fix flickering when scrolling vertically.
  16526. 2006-08-23 Chris Toshok <[email protected]>
  16527. * DataGrid.cs (EndEdit): only invalidate the row header when we
  16528. need to.
  16529. 2006-08-23 Chris Toshok <[email protected]>
  16530. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  16531. methods. fixes the flicker when scrolling around.
  16532. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16533. * FileDialog.cs: Making sure the control is created before we get a
  16534. chance to use it with BeginInvoke (Fixes #79096)
  16535. 2006-08-23 Chris Toshok <[email protected]>
  16536. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  16537. width to use when painting the rows.
  16538. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16539. * TextBoxBase.cs:
  16540. - Throw ArgumentException if a negative value is passed to SelectionLength
  16541. - Update the selection end if start is moved. end needs to be always
  16542. after start. (Fixes #79095)
  16543. - Track selection length; MS keeps the selection length even if start
  16544. is changed; reset on all other operations affection selection
  16545. 2006-08-22 Jackson Harper <[email protected]>
  16546. * TreeView.cs: Make sure both scrollbars get displayed and sized
  16547. correctly when the other bar is visible.
  16548. - Use the original clip rectangle for checking if the area between
  16549. the two scrollbars is visible, not the viewport adjusted clipping
  16550. rectangle.
  16551. 2006-08-22 Jackson Harper <[email protected]>
  16552. * Binding.cs: We don't use IsBinding because it requires the
  16553. control to be created, which really shouldn't be necessary just to
  16554. set a property on the control.
  16555. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  16556. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  16557. ArgumentNullReferenceException when the argument is null.
  16558. 2006-08-21 Jackson Harper <[email protected]>
  16559. * Timer.cs: Track the thread that the timer is started in (NOT
  16560. CREATED), this way messages for it will only be triggered on its
  16561. queue.
  16562. * XEventQueue.cs: Track the timers here, this makes timers per
  16563. thread, like MS.
  16564. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  16565. 2006-08-19 Chris Toshok <[email protected]>
  16566. * XplatUIX11.cs: after further communication with pdb, we get the
  16567. best of both worlds. SetZOrder working for un-Mapped windows, and
  16568. no X errors for un-mapped windows.
  16569. 2006-08-19 Chris Toshok <[email protected]>
  16570. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  16571. as it was causing pdn toolbars to not have the correct stacking.
  16572. 2006-08-18 Mike Kestner <[email protected]>
  16573. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  16574. calculation. Not sure why control should ever be setting a negative
  16575. width though. Fixes #78931.
  16576. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  16577. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  16578. null items in ObjectCollection class.
  16579. * ListBox.cs.: Likewise.
  16580. 2006-08-18 Atsushi Enomoto <[email protected]>
  16581. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  16582. as the base method in ThemeWin32Classic should work fine.
  16583. Fixed bug #78607.
  16584. 2006-08-18 Jackson Harper <[email protected]>
  16585. * Binding.cs: When validating if the value entered doesn't convert
  16586. properly reset to the old value.
  16587. * RadioButton.cs: Don't fire click when we get focus.
  16588. 2006-08-18 Jackson Harper <[email protected]>
  16589. * FileDialog.cs: Paint the selection on the directory combobox the
  16590. same way as on MS.
  16591. 2006-08-17 Jackson Harper <[email protected]>
  16592. * ErrorProvider.cs: Don't allow the error control to be selected.
  16593. * Control.cs: Don't send the SetFocus messages, the control
  16594. activation will do this, and if we do it blindly here validation
  16595. does not work.
  16596. 2006-08-17 Jackson Harper <[email protected]>
  16597. * Control.cs:
  16598. * ContainerControl.cs: Make validation events fire in the correct
  16599. order. TODO: For some reason the first validation event is not
  16600. getting fired.
  16601. 2006-08-17 Mike Kestner <[email protected]>
  16602. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  16603. 2006-08-17 Mike Kestner <[email protected]>
  16604. * ComboBox.cs : implement scroll wheel support for popped-down
  16605. state. Fixes #78945.
  16606. 2006-08-17 Jackson Harper <[email protected]>
  16607. * TreeView.cs: Specify treeview actions (old patch that didn't get
  16608. committed for some reason).
  16609. - Don't let the mouse wheel scroll us too far. Just want to make
  16610. the bottom node visible, not scroll it all the ways to the top.
  16611. 2006-08-17 Jackson Harper <[email protected]>
  16612. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  16613. 2006-08-17 Mike Kestner <[email protected]>
  16614. * ComboBox.cs : don't do mouseover selection in simple mode.
  16615. 2006-08-16 Jackson Harper <[email protected]>
  16616. * Form.cs: Fire the closing events for all the mdi child windows
  16617. when a window is closed. If the cancel args are set to true, the
  16618. main window still gets the event fired, but it doesn't not close.
  16619. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  16620. handler, instead of when the button is clicked, so cancelling the
  16621. close works correctly.
  16622. * ComboBox.cs: Send the mouse down to the scrollbar.
  16623. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  16624. * ListBox.cs: When passing 'null' to SelectedItem,
  16625. set SelectedIndex to -1, to unselect items. This is the
  16626. observed behaviour in .Net.
  16627. 2006-08-16 Peter Dennis Bartok <[email protected]>
  16628. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  16629. MS flags saying there won't be any. (fixes #78800)
  16630. * Control.cs (HandleClick): Made virtual
  16631. 2006-08-16 Atsushi Enomoto <[email protected]>
  16632. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  16633. cultures. Fixed bug #78399.
  16634. 2006-08-16 Jackson Harper <[email protected]>
  16635. * Form.cs: Use the MdiClients MdiChildren property to access
  16636. MdiChildren instead of creating the array from the child controls.
  16637. * MdiClient.cs: Maintain a separate array of the mdi children, so
  16638. that insertion order is maintained when the Z-order is changed.
  16639. 2006-08-16 Mike Kestner <[email protected]>
  16640. * ListView.cs : add an ItemComparer and default to it for sorting.
  16641. Fixes #79076, but sorting needs a complete overhaul to be compat with
  16642. MS.
  16643. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16644. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  16645. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16646. * Hwnd.cs (Mapped): Properly traverse the tree
  16647. 2006-08-15 Chris Toshok <[email protected]>
  16648. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  16649. pass manager.Current.GetType() to ParseData. It has to be the
  16650. property type. So, hold off doing the ParseData until we're in
  16651. SetPropertyValue where we know the type. This fixes the crash in
  16652. #78821 but the textbox is still empty.
  16653. 2006-08-15 Chris Toshok <[email protected]>
  16654. * DataGrid.cs:
  16655. - when we're scrolling, only call Edit() again if the
  16656. current cell is still unobscured. Fixes bug #78927.
  16657. - when handling mousedown on a cell, ensure the cell is visible
  16658. before calling Edit.
  16659. - remove the properties from DataGridRow, and remove the
  16660. DataGridParentRow class altogether.
  16661. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16662. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  16663. fire OnTextChanged by ourselves. There's no point calling base,
  16664. we don't set the base value anywhere else. Fixes #78773.
  16665. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  16666. * ListBox.cs: Call CollectionChanged when modifying
  16667. an item from Items indexer, to update the actual items
  16668. in the list box.
  16669. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  16670. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  16671. to match .Net behaviour.
  16672. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16673. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  16674. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16675. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  16676. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16677. * MessageBox.cs: Prevent potential NRE exception.
  16678. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  16679. 2006-08-14 Peter Dennis Bartok <[email protected]>
  16680. * MessageBox.cs: Calculate the owner of a messagebox, also make
  16681. it topmost. Fixes #78753
  16682. 2006-08-14 Chris Toshok <[email protected]>
  16683. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  16684. programmatically move windows. first, set the PPosition hint as
  16685. well as the USPosition hint. Second include some code from pdb
  16686. that sets the window type to NORMAL when we set the transient for
  16687. hint. This is because, in the absence of a window type, metacity
  16688. thinks any window with TransientFor set is a dialog, and refuses
  16689. to let us move it programmatically. fascists.
  16690. 2006-08-14 Peter Dennis Bartok <[email protected]>
  16691. * XplatUIX11.cs: When setting normal hints, take into consideration
  16692. an different hints previously set so we don't delete them (fixes #78866)
  16693. 2006-08-12 Chris Toshok <[email protected]>
  16694. * ToolBarButton.cs: make Layout return a boolean, if something to
  16695. do with the button's layout changed.
  16696. * ToolBar.cs:
  16697. - add another parameter to Redraw, @force, which all existing
  16698. calls set to true.
  16699. - make the Layout function return a boolean which is true if the
  16700. layout has actually changed. Redraw now uses this (and @force)
  16701. to determine when to invalidate. At present the only place
  16702. where @force can be false is the call from OnResize, when
  16703. background_image == null. So, resizing a toolbar when the
  16704. layout doesn't change results in no drawing.
  16705. 2006-08-12 Chris Toshok <[email protected]>
  16706. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  16707. the VScrollBar and HScrollbar reversed. oops.
  16708. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  16709. scrollbars. we were assigning them twice (once in
  16710. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  16711. therefore causing two scrollbar resizes (and redraws?) to happen
  16712. per grid resize.
  16713. 2006-08-12 Chris Toshok <[email protected]>
  16714. * ToolBarButton.cs: redraw the entire button if the theme tells us
  16715. to.
  16716. * Theme.cs: add ToolBarInvalidateEntireButton.
  16717. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  16718. buttons, just the border.
  16719. * ThemeNice.cs: redraw the entire toolbar button since we need to
  16720. draw the highlight image.
  16721. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  16722. we need to redraw the entire button (not just the border).
  16723. 2006-08-11 Peter Dennis Bartok <[email protected]>
  16724. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  16725. for vertical bars. Fixes the mismatches shown by #78513
  16726. 2006-08-11 Alexander Olk <[email protected]>
  16727. * FileDialog.cs: If a saved/remembered path doesn't exist
  16728. anymore, fall back to "Desktop".
  16729. 2006-08-11 Peter Dennis Bartok <[email protected]>
  16730. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  16731. parent. It's apparently legal to not have one
  16732. * XplatUIX11.cs:
  16733. - SetZOrder: Don't try to set Z-Order on an unmapped window
  16734. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  16735. it unless the coordinates are negative
  16736. 2006-08-10 Mike Kestner <[email protected]>
  16737. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  16738. when setting to null per msdn docs. Fixes #78854.
  16739. 2006-08-10 Chris Toshok <[email protected]>
  16740. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  16741. flickering by setting a clip rectangle on the Graphics when we
  16742. need to redraw just a particular menuitem. Also, rename "OnClick"
  16743. to "OnMouseDown" to reflect what it actually is.
  16744. * Form.cs: track the OnMouseDown change.
  16745. 2006-08-10 Peter Dennis Bartok <[email protected]>
  16746. * CommonDialog.cs: Properly inherit the CreateParams from the form
  16747. and only change what we need. Fixes #78865
  16748. 2006-08-10 Chris Toshok <[email protected]>
  16749. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  16750. flickering in flat mode (and most of the flickering in general) by
  16751. only invalidating the button border (and not the entire rectangle)
  16752. when the state changes. A couple of cases still flicker:
  16753. ToggleButtons, and the dropdown arrow case when the user mouse
  16754. ups.
  16755. 2006-08-10 Alexander Olk <[email protected]>
  16756. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  16757. for german keyboards. Numlock state shouldn't affect the behaviour
  16758. of the Del key. Fixes bug #78291.
  16759. 2006-08-10 Chris Toshok <[email protected]>
  16760. * ListControl.cs: remove the items.Clear line from BindDataItems,
  16761. as this is the first thing done by both subclasses in their
  16762. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  16763. passed -1, refresh the list. This gets databinding working when
  16764. the datasource is set on the list before the datasource is
  16765. populated (as in wf-apps/ReportBuilder.)
  16766. * ComboBox.cs: remove the argument to BindDataItems. This call
  16767. should really go away, and be initiated by the ListControl code.
  16768. * ListBox.cs: same.
  16769. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16770. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  16771. if no data is in the document when the control is displayed
  16772. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16773. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  16774. yes (fixes #78806)
  16775. * TextControl.cs:
  16776. - PositionCaret: Allow positioning of caret but don't call methods
  16777. requiring a handle if the window isn't created yet
  16778. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  16779. - owner_HandleCreated: Don't position the caret, just update it's
  16780. location. User might have already set a different position
  16781. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16782. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  16783. windows. Screws up the returned coordinates for child windows.
  16784. Fixes #78825. I'm hoping this doesn't break something, since the
  16785. code was explicitly put in 8 months ago, but no bug was attached.
  16786. Menus still seem to work properly.
  16787. 2006-08-08 Chris Toshok <[email protected]>
  16788. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  16789. supposed to do - delay data binding until the EndInit call. Also,
  16790. make the table style collection's CollectionChangeAction.Refresh
  16791. work properly.
  16792. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  16793. (with action = Refresh) when a consituent table's MappingName is
  16794. changed.
  16795. 2006-08-08 Chris Toshok <[email protected]>
  16796. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  16797. Invalidate, since changing the text can change the size of the all
  16798. toolbar buttons.
  16799. 2006-08-08 Peter Dennis Bartok <[email protected]>
  16800. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  16801. we don't have it yet
  16802. 2006-08-08 Chris Toshok <[email protected]>
  16803. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  16804. dialog, as this causes X errors later on, since we actually
  16805. destroy the window. Instead, .Hide() it.
  16806. 2006-08-08 Peter Dennis Bartok <[email protected]>
  16807. * ComboBox.cs: Added focus reflection for popup window
  16808. * XplatUIX11.cs:
  16809. - Removed transient setting for non-app windows for now, not sure it
  16810. was needed
  16811. - Fixed logic checking if we have captions when deciding
  16812. override_redirect, WS_CAPTION is two bits and a 0 check was not
  16813. sufficient
  16814. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  16815. complicated
  16816. * Form.cs:
  16817. - AddOwnedForm: Don't just add the form to the list, call the property
  16818. to ensure the driver is informed about the ownership as well
  16819. - CreateHandle: Set the TopMost status in the driver if we have an owner
  16820. * XplatUI.cs: Fixed debug statement
  16821. 2006-08-08 Jonathan Pobst <[email protected]>
  16822. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  16823. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  16824. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  16825. TrackBarRenderer.cs: Make constructor private.
  16826. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  16827. * ProfessionalColorTable.cs: Make properties virtual.
  16828. 2006-08-06 Duncan Mak <[email protected]>
  16829. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  16830. is not changing.
  16831. 2006-08-04 Jonathan Pobst <[email protected]>
  16832. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  16833. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  16834. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  16835. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  16836. Initial import of new 2.0 classes.
  16837. 2006-08-04 Jonathan Pobst <[email protected]>
  16838. * Application.cs: Add 2.0 VisualStyles properties.
  16839. 2006-08-04 Jonathan Pobst <[email protected]>
  16840. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16841. XplatUIX11.cs: Create property to allow access to existing private
  16842. variable "themes_enabled"
  16843. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  16844. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  16845. file size, as otherwise our class libraries fail using windows. Fixes
  16846. bug #78759.
  16847. 2006-08-04 Jackson Harper <[email protected]>
  16848. * Form.cs:
  16849. * XplatUIX11.cs: Move the toolwindow window manager creation into
  16850. the X11 driver, this way on win32 we can let windows create/handle
  16851. the toolwindows.
  16852. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  16853. * PrintDialog.cs: Remove some redundant checks, add some others,
  16854. clean some code, and move the focus to the text boxes when the
  16855. values are incorrect.
  16856. 2006-08-04 Alexander Olk <[email protected]>
  16857. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  16858. 2006-08-03 Alexander Olk <[email protected]>
  16859. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  16860. handled correctly. Fixes bug #79001.
  16861. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  16862. * PrintDialog.cs: The "Copies" numeric up down must have
  16863. set the Minimum property to 1; only if the value is bigger
  16864. than 1, activate "Collate" check box. This is the behaviour of .Net.
  16865. Also modify the Document elements only if it is not null.
  16866. 2006-08-03 Jackson Harper <[email protected]>
  16867. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  16868. length. (We have a larger array then actual node count).
  16869. 2006-08-03 Jackson Harper <[email protected]>
  16870. * ComboBox.cs: Don't show selection by default.
  16871. - The SelectAll isn't needed here, since the focus code should do
  16872. that
  16873. - DDL style lists to manual selection drawing, so when they
  16874. get/lose focus they have to invalidate.
  16875. 2006-08-03 Peter Dennis Bartok <[email protected]>
  16876. * TextBoxBase.cs: Don't always show all selections by default.
  16877. 2006-08-03 Jonathan Pobst <[email protected]>
  16878. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  16879. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  16880. Fixed various typos.
  16881. 2006-08-03 Alexander Olk <[email protected]>
  16882. * Control.cs: Removing the controls in a ControlCollection with
  16883. Clear now hides the controls as expected. Fixes bug #78804.
  16884. 2006-08-03 Jackson Harper <[email protected]>
  16885. * Control.cs: Revert previous focus patch, it breaks reflector.
  16886. 2006-08-03 Jackson Harper <[email protected]>
  16887. * ComboBox.cs: Cleanup selection and focus with the combobox.
  16888. This also eliminates some duplicated keyboard code, since now
  16889. everything is handled by the main class.
  16890. - Make list selection work on mouse up instead of down, to match
  16891. MS.
  16892. 2006-08-02 Jackson Harper <[email protected]>
  16893. * Control.cs: Setting focus needs to go through the whole
  16894. selection mechanism.
  16895. 2006-08-02 Chris Toshok <[email protected]>
  16896. * PrintPreviewDialog.cs: change MinimumSize to use
  16897. base.MinimumSize so it works.
  16898. 2006-08-02 Peter Dennis Bartok <[email protected]>
  16899. * TextControl.cs:
  16900. - UpdateCaret: Added sanity check in case caret isn't defined yet
  16901. - Line.Delete: Now updating selection and caret markers if we're
  16902. transfering a node (Properly fixes #78323)
  16903. - SetSelectionEnd: Added sanity check
  16904. * TextBoxBase.cs: Removed broken attempt to fix #78323
  16905. 2006-08-01 Chris Toshok <[email protected]>
  16906. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  16907. Close() call is handled in Form, not here.
  16908. 2006-08-01 Chris Toshok <[email protected]>
  16909. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  16910. layout/rendering.
  16911. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  16912. for sizes < 100% zoom. The code now aggressively attempts to keep
  16913. from calling document.Print (), and tries not to use the scaling
  16914. g.DrawImage whenever possible (it still does if you scale to >
  16915. 100%, since usually that involves huge images).
  16916. * PrintPreviewControl.cs: hook up the close button.
  16917. 2006-08-01 Jonathan Pobst <[email protected]>
  16918. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  16919. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  16920. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  16921. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  16922. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  16923. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  16924. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  16925. Removed [Serializable] for 2.0 Event Handlers.
  16926. 2006-07-31 Jackson Harper <[email protected]>
  16927. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  16928. * TextControl.cs: Uncomment out the body of this method.
  16929. 2006-07-31 Alexander Olk <[email protected]>
  16930. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  16931. standard cursors.
  16932. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16933. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  16934. that embed TextBox and need selections visible even if textbox is not
  16935. focused to enforce that behaviour.
  16936. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  16937. selection drawing
  16938. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16939. * TextControl.cs:
  16940. - Added new SetSelectionStart/SetSelectionEnd overloads
  16941. - Fixed viewport width assignment to be accurate
  16942. - Adjusted alignment line shift calculations to allow cursor on right
  16943. aligned lines to be always visible at the right border (like MS)
  16944. * TextBoxBase.cs:
  16945. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  16946. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  16947. - CalculateScrollBars: Use ViewPort size instead of window size, to
  16948. properly consider space occupied by the border and scrollbars
  16949. (Fixes #78661)
  16950. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  16951. calculations; no longer leaves artifacts
  16952. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  16953. calculation bugs (Still missing right/center align calculations)
  16954. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16955. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  16956. use of both scroll rect and clip rect, as they do the same.
  16957. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16958. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  16959. in the event handler (fixes #78912)
  16960. 2006-07-31 Chris Toshok <[email protected]>
  16961. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  16962. grid.ListManager.Count, since grid.ListManager might be null.
  16963. This of course begs the question "why are we drawing rows for a
  16964. grid with no list manager (and therefor no rows)?" Fixes the
  16965. crash in bug #78929.
  16966. 2006-07-31 Chris Toshok <[email protected]>
  16967. * RelatedPropertyManager.cs: Don't always chain up to the parent
  16968. ctor. instead, call SetDataSource if the parent's position is !=
  16969. -1. Fixes the crash in #78822.
  16970. 2006-07-31 Chris Toshok <[email protected]>
  16971. * DataGrid.cs (get_ListManager): use field instead of property
  16972. accessors for datasource and datamember.
  16973. (RowsCount): make internal again.
  16974. (OnMouseDown): end edits before resizing columns/rows.
  16975. (OnMouseUp): restart edits after resizing columns/rows.
  16976. 2006-07-30 Peter Dennis Bartok <[email protected]>
  16977. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  16978. This fixes the situation where the last set cursor is displayed
  16979. whenever the mouse is over scrollbars.
  16980. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  16981. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  16982. Document properties, as well as initial values.
  16983. 2006-07-29 Peter Dennis Bartok <[email protected]>
  16984. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  16985. and ClientEdge results in a 3-pixel border, which is
  16986. wrong.
  16987. 2006-07-28 Jackson Harper <[email protected]>
  16988. * TreeNodeCollection.cs: Fix the clear method.
  16989. - Fix the Shrink also
  16990. 2006-07-27 Jackson Harper <[email protected]>
  16991. * TreeView.cs: Make sure the visible order is computed when we
  16992. attempt to size the scrollbars (for trees that mess with the
  16993. scrolling when they shouldn't.
  16994. - Make sure to give the scrollbars valid values.
  16995. 2006-07-26 Peter Dennis Bartok <[email protected]>
  16996. * XplatUIX11.cs: Move motion compression code to where it
  16997. has less performance impact
  16998. 2006-07-26 Jackson Harper <[email protected]>
  16999. * UpDownBase.cs: When the control is selected make the child
  17000. controls non selectable, so that a click on them won't do a
  17001. focus/unfocus cycle.
  17002. - Don't give focus to the text box when the spinner is selected.
  17003. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  17004. 2006-07-26 Chris Toshok <[email protected]>
  17005. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  17006. satisfied with this solution. If the bitmaps are small, we should
  17007. just cache them in the PrintPreviewDialog and draw them here.
  17008. Also, the layout is broken for the 2-up and 3-up cases.
  17009. * Theme.cs: add PrintPReviewControlPaint.
  17010. * PrintPreviewDialog.cs: first pass implementation.
  17011. * PrintPreviewControl.cs: first pass implementation. No
  17012. scrollbars yet.
  17013. * PrintDialog.cs: only validate fields if that particular portion
  17014. of the UI is enabled. Also, set the document's controller to a
  17015. PrintControllerWithStatusDialog wrapping the document's print
  17016. controller.
  17017. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  17018. bring up a SaveFileDialog (i hope we don't want to match the
  17019. behavior of the crappy windows file entry) and set the
  17020. PrinterSettings.PrintFileName accordingly.
  17021. 2006-07-26 Jackson Harper <[email protected]>
  17022. * ContainerControl.cs: Add a field that disables auto selecting
  17023. the next control in a container when the container is activated.
  17024. * UpDownBase.cs: Don't select the text box when the up down is
  17025. selected.
  17026. 2006-07-26 Peter Dennis Bartok <[email protected]>
  17027. * XEventQueue.cs: Added methods for peeking (used for compression
  17028. of successive events)
  17029. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  17030. mouse move events (fixes #78732)
  17031. 2006-07-25 Jackson Harper <[email protected]>
  17032. * UpDownBase.cs: Use an internal class for the textbox so that we
  17033. can control focus. the updown control should always have focus,
  17034. if either the text area or the buttons are clicked.
  17035. - Send the key messages to the textbox, since it never actually
  17036. has focus
  17037. - Activate and decativate the textbox caret.
  17038. 2006-07-24 Jackson Harper <[email protected]>
  17039. * Control.cs: Use the directed select when selecting a control,
  17040. this way the container controls override will get called and the
  17041. whole ActiveControl chain will get triggered. TODO: probably need
  17042. to make sure this gets done everywhere instead of the old
  17043. Select(Control).
  17044. * ContainerControl.cs: Implement the directed Select method to
  17045. find and activate the correct child control.
  17046. 2006-07-22 Mike Kestner <[email protected]>
  17047. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  17048. menu handling code so that clicks without a grab work too.
  17049. [Fixes #78914]
  17050. 2006-07-22 Alexander Olk <[email protected]>
  17051. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  17052. Added some small optimizations.
  17053. 2006-07-21 Matt Hargett <[email protected]>
  17054. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  17055. 2006-07-21 Peter Dennis Bartok <[email protected]>
  17056. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  17057. tests pass and match MS in some strange border cases.
  17058. 2006-07-21 Chris Toshok <[email protected]>
  17059. * ThemeWin32Classic.cs: handle drawing of the relation links and
  17060. parent row buttons.
  17061. * Theme.cs: change args to DataGridPaintParentRow.
  17062. * DataGrid.cs: Don't use controls for the relation links and
  17063. parent buttons, so we have to handle all their interactions in
  17064. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  17065. when we're navigating through child tables, so we can reinstate
  17066. selection, expanded state, current cell, etc.
  17067. 2006-07-20 Chris Toshok <[email protected]>
  17068. * ToolBar.cs: When we redraw a button, for whatever reason,
  17069. there's no reason to redraw the entire toolbar. Also, don't call
  17070. Control.Refresh from within Redraw, as it's much heavier than
  17071. Invalidate (which is really what we want).
  17072. 2006-07-20 Chris Toshok <[email protected]>
  17073. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  17074. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  17075. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  17076. traces from within a debug IBindingList datasource
  17077. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  17078. to work in a similar fashion.
  17079. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17080. * ListBox.cs: Don't call Sort () when setting
  17081. the Sorted property to false (avoid an unnecessary sort).
  17082. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17083. * ListControl.cs: DataSource should throw an ArgumentException
  17084. instead of a normal exception when the argument is not of the
  17085. correct type.
  17086. 2006-07-20 Mike Kestner <[email protected]>
  17087. * Control.cs: add InternalPreProcessMessage to allow us to steal
  17088. key events before MWF gets its paws on them. Adapted from a
  17089. suggestion by eno.
  17090. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  17091. up/down/left/right navigation. Override the new internal control
  17092. method to steal the events since they never make it to WndProc.
  17093. * ToolBarButton.cs: don't worry about pushed when setting hilight
  17094. since the drawing code prefers pushed to hilight. Invalidate on
  17095. Hilight changes. Fixes #78547 and #78525.
  17096. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17097. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  17098. the canvas size. Fixes #78868
  17099. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17100. * Splitter.cs: Track requested split position until first layout
  17101. is performed. Fixes #78871
  17102. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17103. * Application.cs: Removed code that forces 1.x for the version
  17104. number if the version started with 0. Not sure why that code was
  17105. there and I couldn't find any bugs that indicated we needed it.
  17106. Fixes #78869
  17107. 2006-07-20 Alexander Olk <[email protected]>
  17108. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  17109. ResetDefaults(), just write some output to the console until it's
  17110. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  17111. 2006-07-19 Jonathan Chambers <[email protected]>
  17112. * PropertyGridView.cs: set StartPosition of drop down forms
  17113. so they appear in correct initial spot. Fixes #78190.
  17114. 2006-07-19 Mike Kestner <[email protected]>
  17115. * ThemeWin32Classic.cs: use parent background color when drawing
  17116. flat toolbars. Restructure the conditionals to make sure non-flat
  17117. non-Divider toolbars are filled too. Fixes #78837.
  17118. 2006-07-19 Mike Kestner <[email protected]>
  17119. * ListBox.cs: Sort on collection changes even if the handle
  17120. isn't created yet. Fixes #78813.
  17121. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  17122. * ListControl.cs: DisplayMember should never be null,
  17123. and now we assign String.Empty when null is passed to it (this
  17124. is the .Net way).
  17125. 2006-07-17 Mike Kestner <[email protected]>
  17126. * ListViewItem.cs: restructure Font and subitem Font handling
  17127. to hold a specific font and refer back to owner on null.
  17128. Fixes #78761.
  17129. 2006-07-17 Mike Kestner <[email protected]>
  17130. * ToolBar.cs: bandaid for side-effect of previous patch which was
  17131. discarding explicit heights for non-AutoSize toolbars. Need to
  17132. extend my format tester to deal with AutoSize=false. Fixes #78864.
  17133. 2006-07-15 Jackson Harper <[email protected]>
  17134. * LabelEditTextBox.cs:
  17135. * TreeView.cs: Use a new LabelEdit class for node editing, this
  17136. class automatically 'closes' itself when it gets the enter key or
  17137. loses focus.
  17138. - Use the client rectangle when setting the trees scrollbars, so
  17139. border style is taken into account.
  17140. 2006-07-14 Jackson Harper <[email protected]>
  17141. * TreeNode.cs:
  17142. * TreeView.cs: Make the editing work similar to MSs, firing the
  17143. events correctly and ending edits correctly.
  17144. 2006-07-14 Mike Kestner <[email protected]>
  17145. * ToolBarButton.cs:
  17146. * ToolBar.cs: layout restructuring and redraw enhancements to support
  17147. formatting changes gracefully, like setting TextAlign, ImageList,
  17148. ButtonSize, and Appearance. Handles explicit button sizing quirks
  17149. of the MS controls. Things like flat toolbars ignoring button size
  17150. but becoming constant sized at the largest button's size. Normal
  17151. toolbars with an image set cannot be shrunk smaller than the image,
  17152. but text can be clipped/ignored.
  17153. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  17154. is zero. Seems like DrawString should be smart enough to not put
  17155. anything on screen though. Also trim labels and ellipsize at the char
  17156. boundary, not word.
  17157. Fixes #78711 and #78483.
  17158. 2006-07-14 Alexander Olk <[email protected]>
  17159. * FolderBrowserDialog.cs: Disable "New Folder" button and
  17160. "New Folder" contextmenu menuitem if a folder like "My Computer"
  17161. is selected.
  17162. 2006-07-14 Alexander Olk <[email protected]>
  17163. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  17164. * FolderBrowserDialog.cs:
  17165. - Use MWFConfig to store and read size and position settings
  17166. - Added code to create a new folder (button or context menu).
  17167. Use TreeView labeledit to change the name of the new folder.
  17168. 2006-07-14 Jackson Harper <[email protected]>
  17169. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  17170. when the tree is scrolled we end editing.
  17171. 2006-07-14 Alexander Olk <[email protected]>
  17172. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  17173. Down arrows
  17174. 2006-07-14 Jonathan Pobst <[email protected]>
  17175. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  17176. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  17177. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  17178. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  17179. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  17180. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  17181. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  17182. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  17183. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  17184. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  17185. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  17186. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  17187. ListViewItemSelectionChangedEventHandler.cs,
  17188. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  17189. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  17190. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  17191. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  17192. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  17193. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  17194. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  17195. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  17196. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  17197. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  17198. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  17199. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  17200. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  17201. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  17202. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  17203. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  17204. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  17205. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  17206. WebBrowserNavigatingEventHandler.cs,
  17207. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  17208. 2006-07-14 Jonathan Pobst <[email protected]>
  17209. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  17210. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  17211. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  17212. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  17213. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  17214. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  17215. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  17216. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  17217. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  17218. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  17219. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  17220. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  17221. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  17222. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  17223. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  17224. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  17225. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  17226. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  17227. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  17228. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  17229. ListViewItemStates.cs, MaskFormat.cs: Added
  17230. 2006-07-13 Jonathan Chambers <[email protected]>
  17231. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  17232. Patch from eno for bug 78558.
  17233. 2006-07-13 Jackson Harper <[email protected]>
  17234. * TreeView.cs: When an edit is finished make sure that the
  17235. selected node is visible.
  17236. - When setting the top/bottom use the scrollbars is_visible, so
  17237. everything will be set correctly even if the tree isn't visible
  17238. yet.
  17239. 2006-07-13 Jackson Harper <[email protected]>
  17240. * ComboBox.cs: Revert the item->index part of my previous patch.
  17241. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  17242. the edit box has lost focus (duh).
  17243. - Just make the edit box not visible when we get return, that will
  17244. take the focus, which will call EndEdit
  17245. * TreeNode.cs When we start editing, notify the treeview.
  17246. 2006-07-12 Jackson Harper <[email protected]>
  17247. * ComboBox.cs: Clear out old items before setting the item list.
  17248. This prevents databound controls from having their items added
  17249. twice.
  17250. - Switch the combobox to use indices whereever possible instead of
  17251. using Item's. This allows usto navigate through lists that have
  17252. more then one item with the same string value (ie a, b, b, a).
  17253. - Scroll the listboxes scrollbar when a non visible item is
  17254. highlighted
  17255. - Allow keypress to cycle through all the possible values. For
  17256. example if you have b1, b2, b3 and hold down the B key all the
  17257. values will be cycled through.
  17258. 2006-07-12 Jackson Harper <[email protected]>
  17259. * TextBoxBase.cs:
  17260. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  17261. this using the internal methods.
  17262. * Control.cs: Add OnGotFocusInternal. A new method that allows
  17263. controls to "override" OnGotFocus and change focus behavior if
  17264. needed.
  17265. - Same thing for LostFocus
  17266. * ComboBox.cs: Pass off focus to the text control properly.
  17267. 2006-07-12 Alexander Olk <[email protected]>
  17268. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  17269. * FolderBrowserDialog.cs: Almost a complete rewrite.
  17270. - Better support for Environment.Specialfolders
  17271. - Added support for MWFVFS
  17272. - Made setting SelectedPath work
  17273. 2006-07-12 Jackson Harper <[email protected]>
  17274. * Control.cs: Optimze getting all the controls.
  17275. 2006-07-11 Jackson Harper <[email protected]>
  17276. * ContainerControl.cs: Override SETFOCUS in the container control,
  17277. so that it is not selected on mouse click.
  17278. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17279. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  17280. Hopefully we will have a better way once all of focus is complete.
  17281. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17282. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  17283. a compile error with csc.
  17284. 2006-07-11 Jackson Harper <[email protected]>
  17285. * Control.cs: When hiding a control only select the next control
  17286. if the current control was focused.
  17287. - Don't handle enter/leave when setting/killing focus, this is
  17288. done by the container control.
  17289. - Remove is_selected, it's not needed anymore.
  17290. - Add utility methods for selecting a child control, and for
  17291. firing the Enter/Leave events.
  17292. * ContainerControl.cs: When a control is activated fire the
  17293. enter/leave events.
  17294. - Don't wrap when processing the tab key, so that focus can be
  17295. moved outside of the container.
  17296. - Use the correct active control
  17297. 2006-07-11 Jackson Harper <[email protected]>
  17298. * ComboBox.cs: Remove some debug code that was blinding me.
  17299. * UpDownBase.cs: These controls actually aren't implicit, they are
  17300. visible to the user.
  17301. 2006-07-10 Chris Toshok <[email protected]>
  17302. * DataGrid.cs: move back to the is_adding boolean field. god i
  17303. hate this is_editing/is_adding/is_changing stuff.
  17304. 2006-07-10 Chris Toshok <[email protected]>
  17305. * DataGridTableStyle.cs: just check if the property type is bool.
  17306. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  17307. Don't use CanRenderType.
  17308. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  17309. if our text == NullText. Remove CanRenderType.
  17310. * DataGridBoolColumn.cs: nuke CanRenderType.
  17311. * DataGrid.cs: reenable some code to end the current edit inside
  17312. of set_CurrentCell. This fixes the other 1.1.16 regression.
  17313. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  17314. Also, remove the visible_row_count arg from CalcRowHeaders, since
  17315. we don't need to worry about the actual height of the area.
  17316. 2006-07-10 Chris Toshok <[email protected]>
  17317. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  17318. mode, just return.
  17319. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  17320. the real sense of the IsInEditOrNavigateMode property (true =
  17321. navigate, false = edit). Also, update OnKeyPress to reflect this.
  17322. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  17323. column style exists, we still need to set its property descriptor
  17324. to match up with our list manager.
  17325. 2006-07-10 Chris Toshok <[email protected]>
  17326. * ThemeWin32Classic.cs: implement the new row/header painting
  17327. approach. The parent row painting will likely go away and
  17328. replaced with label controls, but the rest seems to work ok (and
  17329. efficiently).
  17330. * Theme.cs: change the way we draw datagrid rows. we don't draw
  17331. the row headers as a block now. Instead we draw them in the
  17332. normal draw-row loop. Add some calls for drawing parent rows and
  17333. relation rows.
  17334. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  17335. a default table style. Set the defaults from ThemeEngine.Current,
  17336. not SystemColors. Fix lots of misc issues with property setters.
  17337. * DataGrid.cs: move loads of style information out of this class
  17338. as it's being duplicated with DataGridTableStyle. keep track of a
  17339. special DataGridTableStyle for the properties we used to mirror
  17340. here. Switch all the style properties to access this table style
  17341. instead of instance fields of this class. Also add a internal
  17342. class to represent parent rows (more needs to be stored here, like
  17343. the selection state from the parent table, as well as the
  17344. expansion state.) Also, for datasources with relations, do the
  17345. right thing for collapse/expand, and add support for the
  17346. navigation/parent row buttons.
  17347. Lastly, fix the crash in the 1.1.16 build.
  17348. * GridTableStylesCollection.cs: make the explicit interface
  17349. implementations call the class's methods as opposed to duplicating
  17350. them.
  17351. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  17352. 0 so the text doesn't jump around when we move the cursor.
  17353. 2006-07-10 Jackson Harper <[email protected]>
  17354. * TextBoxBase.cs:
  17355. * ListBox.cs: Match MS's ToString (this makes debugging focus
  17356. stuff infinitely easier).
  17357. 2006-07-10 Jackson Harper <[email protected]>
  17358. * Control.cs (SelectNextControl): When checking the control's
  17359. parent use this instead of ctrl.parent so that null can be passed
  17360. to SelectNextControl. (I have unit tests for this).
  17361. - Remove unused var.
  17362. 2006-07-10 Chris Toshok <[email protected]>
  17363. * CurrencyManager.cs: correct one regression, the removal of the
  17364. finalType field. Also, add a MonoTODO on CanAddRows, implement
  17365. Refresh() correctly, and fix some event emission in
  17366. ListChangedHandler.
  17367. 2006-07-07 Alexander Olk <[email protected]>
  17368. * FileDialog.cs: Don't use brackets for new folders if they exist
  17369. under *nix. Instead use -(number of existing folders +1).
  17370. 2006-07-07 Alexander Olk <[email protected]>
  17371. * FileDialog.cs:
  17372. - Fixed really nasty bug #78771
  17373. - Don't block the whole GUI when reading directories with a lot of
  17374. entries. Use an other thread instead and call BeginInvoke to
  17375. update the ListView in MWFFileView
  17376. 2006-07-07 Chris Toshok <[email protected]>
  17377. * Control.cs (Dispose): release any Capture when disposing.
  17378. 2006-07-07 Chris Toshok <[email protected]>
  17379. * LinkLabel.cs (Select): if we chain up to the parent, set
  17380. focused_index to -1 so we'll search for the first available link
  17381. the next time the user tabs into us. Also, if the direction is
  17382. backward and focused_index == -1, start the search from the last
  17383. element.
  17384. 2006-07-07 Chris Toshok <[email protected]>
  17385. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  17386. is beyond the end of the text, don't do anything.
  17387. (CreateLinkPieces): set our ControlStyles.Selectable based on
  17388. whether or not we have any links.
  17389. (Link.Invalidate): use a loop instead of foreach.
  17390. (Link.set_Start): null out owner.sorted_links so it'll be
  17391. recreated by CreateLinkPieces.
  17392. 2006-07-06 Chris Toshok <[email protected]>
  17393. * LinkLabel.cs: revert the SetStyle change.
  17394. 2006-07-06 Chris Toshok <[email protected]>
  17395. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  17396. (OnEnableChanged): s/Refresh/Invalidate
  17397. (OnGotFocus): if we have a focused index already, refocus it (so
  17398. if we mouse out/in to the window it'll focus the right link).
  17399. (OnKeyDown): move the tab handling out of here.
  17400. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  17401. when we lose focus.
  17402. (OnMouseDown): don't Capture here - Control handles it. Also,
  17403. focus the active link.
  17404. (OnMouseUp): don't deal with Capture.
  17405. (OnPaintBackgroundInternal): remove.
  17406. (OnTextAlignChanged): CreateLinkPieces before calling the
  17407. superclass's method.
  17408. (OnTextChanged): call CreateLinkPieces before calling superclass's
  17409. method.
  17410. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  17411. move around.
  17412. (Select): implement this, moving the selection between different
  17413. links, and call parent.SelectNextControl if we don't have another
  17414. link to focus in the given direction.
  17415. (CreateLinkPieces): call Invalidate instead of Refresh.
  17416. 2006-07-06 Chris Toshok <[email protected]>
  17417. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  17418. new LinkLabel internals.
  17419. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  17420. over pieces looking for active/focused/etc links. also, deal with
  17421. runs of text (and links) with embedded \n's in them, and use
  17422. MeasureCharacterRanges instead of MeasureString to figure out the
  17423. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  17424. two-step.
  17425. 2006-07-04 Jackson Harper <[email protected]>
  17426. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  17427. XKB or key auto repeat, do it manually. Without key auto repeat,
  17428. when a key is held down we get key press, key release, key press,
  17429. key release, ... with auto repeat we get key press, key press, key
  17430. press ..., and then a release when the key is actually released.
  17431. 2006-07-03 Jackson Harper <[email protected]>
  17432. * TabControl.cs:
  17433. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  17434. rules, they are always control color regardless of the background
  17435. color.
  17436. 2006-07-02 Alexander Olk <[email protected]>
  17437. * FileDialog.cs: Added internal class MWFConfig.
  17438. Removed Registry support and replaced it with support for the new
  17439. MWFConfig class. See MWFConfig comments for more information.
  17440. 2006-06-30 Alexander Olk <[email protected]>
  17441. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  17442. rectangle. Added some patches from eno from bug #78490 and fixed
  17443. the arrow position for small up and down CPDrawScrollButtons.
  17444. 2006-06-30 Jackson Harper <[email protected]>
  17445. * InternalWindowManager.cs: Remove some debug code.
  17446. * Form.cs: When an MdiParent is set to null, the window is
  17447. "detatched" and becomes a normal window.
  17448. * MdiClient.cs: Don't bring the new child form to the front until
  17449. it is activated (setting it as active does this), this makes the
  17450. previously active forms titlebar get redrawn as inactive.
  17451. 2006-06-29 Peter Dennis Bartok <[email protected]>
  17452. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  17453. with later controls
  17454. 2006-06-29 Mike Kestner <[email protected]>
  17455. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  17456. arrow in keynav state. Fixes #78682.
  17457. 2006-06-28 Atsushi Enomoto <[email protected]>
  17458. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  17459. order (fixes #78393)
  17460. 2006-06-28 Jonathan Pobst <[email protected]>
  17461. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  17462. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  17463. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  17464. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  17465. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  17466. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  17467. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  17468. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  17469. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  17470. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  17471. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  17472. values)
  17473. 2006-06-28 Mike Kestner <[email protected]>
  17474. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  17475. 2006-06-28 Atsushi Enomoto <[email protected]>
  17476. * PropertyGrid.cs,
  17477. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  17478. item lines from other area (It also makes BackColor consistent and
  17479. compatible with .NET). Fixed bug #78564.
  17480. 2006-06-28 Jonathan Chambers <[email protected]>
  17481. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  17482. Patch from Eno for #78555.
  17483. 2006-06-27 Chris Toshok <[email protected]>
  17484. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  17485. * DataGridColumnStyle.cs: same.
  17486. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  17487. * DataGridDrawingLogic.cs: nuke.
  17488. 2006-06-27 Chris Toshok <[email protected]>
  17489. * DataGridTableStyle.cs: clean up the constructors, and build the
  17490. list of child relations for this table. I have no idea if this is
  17491. where we should be doing it (it probably isn't), but since we're
  17492. already iterating over the properties..
  17493. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  17494. struct and array for keeping track of row information, similar to
  17495. what's shown in a hack on
  17496. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  17497. * Theme.cs: be consistent about the naming of DataGrid methods,
  17498. prefering ColumnWidths and RowHeights over columnsWidths and
  17499. RowsHeights.
  17500. * ThemeWin32Classic.cs: same, and also add support for variable
  17501. sized rows (and the +/- expansion icons for related rows).
  17502. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17503. * TextBoxBase.cs: Applied Eno's patch from #78660
  17504. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17505. * Form.cs (ScaleCore): We don't want to scale our form if it's
  17506. state is minimized or maximized, but we still need to scale our
  17507. child windows. Also, added try/finally block to ensure layout
  17508. gets reset (Fixes #78697)
  17509. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17510. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  17511. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17512. * Form.cs: Fixed c+p error and added check to resize form if minimum
  17513. size is bigger than current size (Fixes #78709)
  17514. 2006-06-26 Peter Dennis Bartok <[email protected]>
  17515. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  17516. 2006-06-26 Mike Kestner <[email protected]>
  17517. * ComboBox.cs: only do Keypress handling in the combo when there
  17518. are items in the collection. Fixes #78710.
  17519. 2006-06-26 Chris Toshok <[email protected]>
  17520. * Binding.cs: make this work bi-directionally. also, clear up
  17521. other mixups between Push/Pull Data (e.g. we're supposed to pull
  17522. data when validating).
  17523. * BindingManagerBase.cs: trim some fully qualified collection
  17524. types.
  17525. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  17526. 2006-06-23 Chris Toshok <[email protected]>
  17527. * PropertyManager.cs: It appears (according to the unit tests)
  17528. that PropertyManager doesn't use
  17529. PropertyDescriptor.AddValueChanged to track propery value changes
  17530. in its datasource, but uses the same scheme as Binding, where it
  17531. looks for a <Property>Changed event and binds to it.
  17532. Also, according to the docs, IsSuspended always returns false for
  17533. a property manager with a non-null datasource.
  17534. 2006-06-22 Peter Dennis Bartok <[email protected]>
  17535. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  17536. need to update the actual DialogResult. (Fixes #78613)
  17537. 2006-06-22 Peter Dennis Bartok <[email protected]>
  17538. * Form.cs (ShowDialog): Release any captures before running the
  17539. new message pump (fixes #78680)
  17540. 2006-06-22 Mike Kestner <[email protected]>
  17541. * ListView.cs: Layout column widths properly in details mode even
  17542. if HeaderStyle.None is set. Fixes #78691.
  17543. 2006-06-21 Peter Dennis Bartok <[email protected]>
  17544. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  17545. 2006-06-21 Peter Dennis Bartok <[email protected]>
  17546. * Control.cs (ContainsFocus): Using new driver method to get focused
  17547. window, instead of trying to use internal tracking var, which can
  17548. recursion issues (Fixes #78685)
  17549. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  17550. XplatUIWin32.cs: Added GetFocus method to return focused window
  17551. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  17552. * ColorDialog.cs: when the mouse button is pressed inside the color
  17553. matrix, don't let the cursor move out of it until the button is
  17554. released, which is the behavior on windows. Changed 'colours' by
  17555. 'colors' to use the same word consistently.
  17556. 2006-06-21 Chris Toshok <[email protected]>
  17557. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  17558. child relation and back, using a stack). Also, remove
  17559. GetDataSource and the code that calls it - it's not needed. Also,
  17560. track CurrencyManager.ListName's removal.
  17561. 2006-06-21 Chris Toshok <[email protected]>
  17562. * CurrencyManager.cs: push some of the original type checking from
  17563. BindingContext.CreateBindingManager to here, and remove some of
  17564. the finalType stuff. Need more tests to make sure I've got the
  17565. ListName part right, and we might need more in SetDataSource.
  17566. * PropertyManager.cs: add a ctor that takes just the datasource,
  17567. and no property name. Make SetDataSource work with a null
  17568. property_name, and make Current return the data_source if the
  17569. property descriptor is null. this makes 'string foo = "hi";
  17570. BindingContext[foo].Current' return "hi" as it should.
  17571. * RelatedCurrencyManager.cs: make this code more generic - there's
  17572. no reason the parent manager has to be CurrencyManager, and
  17573. there's no reason to pass the DataRelation. It suffices to use a
  17574. BindingManagerBase and PropetyDescriptor.
  17575. * RelatedPropertyManager.cs: make a similar change here.
  17576. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  17577. flower I knew it could be.
  17578. 2006-06-20 Chris Toshok <[email protected]>
  17579. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  17580. data in the source has changed and we need to update the control,
  17581. so s/PullData/PushData.
  17582. * CurrencyManager.cs: Refresh is meant to update the control from
  17583. data in the datasource. So, s/PullData/PushData.
  17584. * BindingContext.cs: add more ugliness (we weren't handling the
  17585. case where data_source = DataTable and data_member = column_name).
  17586. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  17587. from the perspective of the datasource. PullData pulls from the
  17588. control, PushData pushes to the control.
  17589. 2006-06-20 Chris Toshok <[email protected]>
  17590. * BindingContext.cs: rewrite the CreateBindingManager code to
  17591. handle navigation paths more or less properly. This could
  17592. definitely stand some more work, in particular to push the
  17593. recursion up to the toplevel. But that relies on fixes in other
  17594. places (System.Data comes to mind).
  17595. Also, move to a flat hashtable (and encode the twolevel nature of
  17596. the dictionary into the hash key). This lets us implement the
  17597. IEnumerable.GetEnumerator method.
  17598. * RelatedCurrencyManager.cs: new class. Update our view based on
  17599. our relation and our parent CurrencyManager's position.
  17600. * CurrencyManager.cs: split out some logic from the ctor into
  17601. SetView, so it can be called from the new RelatedCurrencyManager
  17602. subclass.
  17603. * RelatedPropertyManager.cs: new class. Update our datasource
  17604. based on the position of our parent CurrencyManager.
  17605. * PropertyManager.cs: split out some logic from the ctor into
  17606. SetDataSource, so it can be called from the new RelatedDataSource
  17607. subclass. Also, make the Current getter return the value
  17608. of the PropertyDescriptor, not the data_source.
  17609. * Binding.cs: no need to duplicate the string splitting code here.
  17610. 2006-06-19 Peter Dennis Bartok <[email protected]>
  17611. * Control.cs:
  17612. - set_Enabled: OnEnabledChanged is not called if the inherited state
  17613. of the control is not altered, even though we might be changing the
  17614. internal state of the control (#78458)
  17615. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  17616. OnEnabledChanged, to allow easy altering of any child window state
  17617. - OnEnabledChanged: Added code to enable/disable driver window state
  17618. - OnParentEnabledChanged: Instead of firing the event, call
  17619. OnEnabledChanged, which will fire the event and also a) set driver
  17620. window state and pass the enabled state to any grandchildren (#78458)
  17621. 2006-06-19 Jackson Harper <[email protected]>
  17622. * InternalWindowManager.cs: We don't set the cursor explicitly
  17623. thats done via the response to NCHITTESTs.
  17624. - Don't need to adjust for titlebar heights anymore, the
  17625. coordinates are coming in the correct coordinates now (see peters
  17626. last patch).
  17627. 2006-06-19 Peter Dennis Bartok <[email protected]>
  17628. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  17629. being translated relative to whole window, instead of client window.
  17630. That caused broken offsets on mouseclick (and caused gas for our
  17631. InternalWindowManager)
  17632. 2006-06-15 Peter Dennis Bartok <[email protected]>
  17633. * TextControl.cs:
  17634. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  17635. - Undo(): Added replay of cursor move on DeleteChars action; added
  17636. calling Undo() again if a recorded cursor move is invalid (to
  17637. ensure that some action is performed on Undo)
  17638. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  17639. 2006-06-16 Jackson Harper <[email protected]>
  17640. * MdiClient.cs: Instead of just sizing maximized windows when
  17641. there is a resize we also have to adjust the Y of minimized
  17642. windows, so they stay pinned to the bottom of the mdi container.
  17643. - Eliminate separate tracking of the active control, we can just
  17644. get this from the controls collection.
  17645. - Paint the decorations for the newly activated titlebar so we get
  17646. a pretty blue bar.
  17647. * InternalWindowManager.cs:
  17648. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  17649. even if they are a tool window.
  17650. 2006-06-15 Peter Dennis Bartok <[email protected]>
  17651. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  17652. undo buffer, these can happen when text was deleted and the cursor
  17653. was recorded first. Since we will also have a recorded cursor
  17654. after the delete this is not an issue. (Fixes #78651)
  17655. 2006-06-14 Peter Dennis Bartok <[email protected]>
  17656. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  17657. instead properly track control states internally (allows us to
  17658. remove is_selected from Control)
  17659. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  17660. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  17661. whose width is not a multiple of 8.
  17662. 2006-06-13 Jackson Harper <[email protected]>
  17663. * MdiClient.cs: Only maximize the next child if the current one
  17664. is maximized.
  17665. 2006-06-13 Chris Toshok <[email protected]>
  17666. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  17667. modified. Also, guard against grid or grid_drawing being null in
  17668. Invalidate.
  17669. * DataGrid.cs: Reformat tons of getters/setters. In the
  17670. DataMember setter, just call SetNewDataSource instead of
  17671. duplicating some of its functionality. In SetNewDataSource, don't
  17672. check ListManager for null, since the property getter creates the
  17673. object if needed.
  17674. * DataGridTableStyle.cs: don't set TableStyle or call
  17675. SetDataGridInternal on the column here, it's done in
  17676. GridColumnStylesCollection.Add.
  17677. * GridColumnStylesCollection.cs: fix all the explicit interface
  17678. implementations to just call our methods. Nuke AddInternal() and
  17679. move the body of it to Add(). Also, add a call to
  17680. column.SetDataGridInternal to Add().
  17681. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  17682. base()+duplicate code. Also, use the Format property instead of
  17683. format to generate an Invalidate ala MS. Lastly, create the
  17684. textbox here, unconditionally.
  17685. (set_Format): call Invalidate.
  17686. (get_TextBox): no need to call EnsureTextBox.
  17687. (Commit): remove the message box.
  17688. (Edit) remove the call to EnsureTextBox.
  17689. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  17690. (EnterNullValue): no need to check textbox for null.
  17691. (HideEditBox): no need to check textbox for null.
  17692. (SetDataGridInColumn): add the textbox to the grid's controls.
  17693. (EnsureTextBox): nuke.
  17694. 2006-06-13 Jackson Harper <[email protected]>
  17695. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  17696. and redraw the buttons when needed. Unhook when the window is
  17697. unmaximized.
  17698. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  17699. needs this so that it can redraw its buttons when the menu is
  17700. repainted.
  17701. * InternalWindowManager.cs:
  17702. * Form.cs: The method order has changed for DrawMaximizedButtons,
  17703. so that it can be a PaintEventHandler.
  17704. 2006-06-13 Jackson Harper <[email protected]>
  17705. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  17706. window is activated and maximized, even if it wasn't before.
  17707. - When a new window is activated repaint the decorations of the
  17708. old one, so that it no longer has the Active "look" (the blue
  17709. titlebar).
  17710. * InternalWindowManager.cs: Open up CreateButtons to base classes
  17711. so they can recreate the buttons on state changes.
  17712. - If a window is maximized give it all three buttons
  17713. * MdiWindowManager.cs: Create the titlebar buttons when the state
  17714. is changed, this is needed because a toolwindow will not have all
  17715. three buttons until it is maximized.
  17716. 2006-06-13 Atsushi Enomoto <[email protected]>
  17717. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  17718. Fixed bug #78609.
  17719. 2006-06-12 Jackson Harper <[email protected]>
  17720. * KeysConverter.cs: Make sure we handle the Ctrl special case
  17721. if its the only key.
  17722. 2006-06-12 Jackson Harper <[email protected]>
  17723. * Theme.cs: Add a method to get the size of a managed window
  17724. toolbar button.
  17725. * InternalWindowManager.cs: Remove the ButtonSize property, this
  17726. should be retrieved from the theme.
  17727. * MdiWindowManager.cs: Get the button size from the theme
  17728. * ThemeWin32Classic.cs: Make the method to get the managed window
  17729. titlebar button size public.
  17730. - Handle the different button sizes of maximized toolwindows
  17731. (should match any maximized window).
  17732. - Get the titlebar height from the theme, not the WM (which gets
  17733. it from the theme).
  17734. 2006-06-12 Jackson Harper <[email protected]>
  17735. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  17736. event down to the mdi window manager.
  17737. - Expose some extra stuff to base classes
  17738. - Make sure to end the Capture on an NC Mouse up, so that we can
  17739. get double clicks properly, and the sizing doens't stick.
  17740. - When doing PointToClient contain it in the workable desktop
  17741. area, this prevents windows from changing size when the cursor is
  17742. pulled outside of the working area while sizing.
  17743. * MdiWindowManager.cs: When we get a double click maximize the
  17744. window.
  17745. - Reset the cursor after handling mode changes.
  17746. 2006-06-12 Peter Dennis Bartok <[email protected]>
  17747. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  17748. current desktop, instead of just assuming a 0, 0 origin. This
  17749. is needed for our internal window manager, to know the top
  17750. margin of the desktop
  17751. 2006-06-12 Chris Toshok <[email protected]>
  17752. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  17753. we need this to get rid of the selected background in the bool
  17754. column.
  17755. (CancelEditing): move the ConcedeFocus call to above the Abort
  17756. call. Also, set is_changing to false and invalidate the row
  17757. header if we were changing before.
  17758. (ProcessKeyPreviewInternal): remove, since noone outside this
  17759. class calls it anymore. Roll the code into ProcessKeyPreview.
  17760. (EndEdit): remove the internal version.
  17761. (InvalidateCurrentRowHeader): make private.
  17762. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  17763. Keys.Escape handling (and with it the last call to
  17764. DataGrid.EndEdit from outside the class.)
  17765. 2006-06-12 Chris Toshok <[email protected]>
  17766. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  17767. (OnKeyPress): set isedit to true.
  17768. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  17769. already handled by the grid.
  17770. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  17771. right. ugh.
  17772. (set_DataSource): SetDataSource always returns true, so stop
  17773. putting it in an if statement.
  17774. (EndEdit): get rid of some {}'s
  17775. (ProcessGridKey): return true in case Keys.Escape.
  17776. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  17777. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  17778. PositionChanged, stopped connecting to CurrentChanged.
  17779. (GetDataSource): simplify this a bunch.
  17780. (SetDataSource): change return type from bool to void.
  17781. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  17782. to this, and make sure we don't set ListManager.Position inside
  17783. set_CurrentCell.
  17784. (OnListManagerItemChanged): if we're passed an actual index,
  17785. redraw that row.
  17786. * CurrencyManager.cs (set_Position): don't call PullData here.
  17787. 2006-06-09 Jackson Harper <[email protected]>
  17788. * TreeNode.cs: Recalculate the visible order before doing the
  17789. Expand/Collapse Below calls, because those calls generate an
  17790. expose.
  17791. - Reduce calls to the TreeView property, which is mildly expensive
  17792. by using a local var.
  17793. * Form.cs: Layout the MDI child windows when creating the parent
  17794. form.
  17795. - Don't use the internal constructor anymore
  17796. * MdiClient.cs: use the parent form width/height (if available)
  17797. when laying out the child windows, we do this because the
  17798. mdiclient isn't docked yet when the initial layout is done.
  17799. - Don't need an internal constructor anymore.
  17800. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  17801. * FileDialog.cs: handle access errors when trying to create a folder
  17802. or changing to a directory. No need to initialize out parameters.
  17803. 2006-06-08 Alexander Olk <[email protected]>
  17804. * FileDialog.cs: Append a number when creating a new folder if the
  17805. folder already exists (use parenthesis instead of square brackets)
  17806. 2006-06-08 Alexander Olk <[email protected]>
  17807. * FileDialog.cs:
  17808. - Disabled registry support for windows and added better registry
  17809. error checking for other systems (need to investigate why it
  17810. works perfectly on my system)
  17811. - If a folder already exist show an error MessageBox instead of
  17812. trying to create an indexed name.
  17813. - Fixed a non intentional typo.
  17814. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  17815. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  17816. 2006-06-08 Alexander Olk <[email protected]>
  17817. * FileDialog.cs: When creating a new folder don't crash if the
  17818. folder already exists.
  17819. 2006-06-08 Alexander Olk <[email protected]>
  17820. * FileDialog.cs: Allmost a complete rewrite.
  17821. - added a "virtual" file system that handles the differences
  17822. between unix and windows file systems (especially the directory
  17823. structure). Moved most of the directory and file handling code
  17824. into the vfs.
  17825. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  17826. UnixFileSystem and FSEntry.
  17827. - Recently used folder/directory, size, location and used file names
  17828. (file name ComboBox) are now stored in the registry and get read
  17829. before the dialog shows up (fixes part 6 of bug #78446).
  17830. - Creation of new folders/directories is now possible (context menu
  17831. or ToolBar). Added TextEntryDialog for this that fills in the gap
  17832. until ListView.LabelEdit works.
  17833. - Fixed cursor handling (bug #78527) and focus handling for
  17834. PopupButtonPanel
  17835. - Various "Search in" ComboBox enhancements. The content of the
  17836. dropdown listbox now almost matches ms.
  17837. - Changed the behaviour when the user switches to SpecialFolder
  17838. Recent to show the ListView in View.Details.
  17839. - Beside using the ToolBar to change the View property of the
  17840. file ListView it is now possible to use the context menu too.
  17841. 2006-06-08 Alexander Olk <[email protected]>
  17842. * ComboBox.cs: Don't create a new ObjectCollection when an item
  17843. gets inserted. Just insert the item in the existing object_items
  17844. ArrayList.
  17845. 2006-06-08 Jackson Harper <[email protected]>
  17846. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  17847. that the treeview and root node checks are done also, this fixes a
  17848. regression i caused in the unit tests.
  17849. 2006-06-07 Wade Berrier <[email protected]>
  17850. * RichTextBox.cs: More ISO8859-1 -> unicode
  17851. 2006-06-07 Mike Kestner <[email protected]>
  17852. * ComboBox.cs : use items to hold highlight/selection so that
  17853. collection insertions don't require synchronization.
  17854. 2006-06-07 Jackson Harper <[email protected]>
  17855. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  17856. routine. We now always keep the sized edge at the cursor instead
  17857. of computing movement and adjusting rects. There is one buglet
  17858. with this method though when the cursor is moved over area that
  17859. the window can not expand too (such as the toolbars on the desktop).
  17860. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  17861. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  17862. here. Fixes crash on startup in AlbumSurfer.
  17863. 2006-06-07 Peter Dennis Bartok <[email protected]>
  17864. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  17865. values
  17866. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  17867. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  17868. statement to avoid calling XNextEvent which will block if another thread
  17869. took the event that we were expecting. Fixes bug #78605.
  17870. 2006-06-07 Mike Kestner <[email protected]>
  17871. * ListView.cs : isolated checkbox clicking from the selection logic.
  17872. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  17873. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  17874. * Form.cs: Check that the value passed to Form.DialogResult
  17875. is a valid enum value.
  17876. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  17877. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  17878. Computer'. Clicking it in the network view goes to 'My Computer'.
  17879. Added CIFS filesystem type. Display the mount point of filesystems.
  17880. Avoid duplicate mount points (happens for me with CIFS);
  17881. 2006-06-06 Jackson Harper <[email protected]>
  17882. * InternalWindowManager.cs: Draw the maximized windows buttons
  17883. when resizing.
  17884. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  17885. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  17886. all other dialogs. Fixes bug #78585.
  17887. 2006-06-06 Mike Kestner <[email protected]>
  17888. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  17889. Only invalidate checkbox on checkstate changes to avoid flicker.
  17890. * ListBox.cs : avoid unselect/select when clicking selected item.
  17891. avoid reselection flicker for already multiselected items.
  17892. Fixes #78382.
  17893. 2006-06-06 Jackson Harper <[email protected]>
  17894. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  17895. the parent form so that the menu is removed if needed.
  17896. 2006-06-06 Mike Kestner <[email protected]>
  17897. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  17898. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  17899. 2006-06-06 Mike Kestner <[email protected]>
  17900. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  17901. 2006-06-06 Jackson Harper <[email protected]>
  17902. * Control.cs: Use the property (instead of the field) to get the
  17903. default cursor so it is instantiated correctly.
  17904. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  17905. resizes so we need to manually repaint the window decorations here.
  17906. - Set the titlebar button locations as soon as they are created,
  17907. otherwise they are not set correctly on win32.
  17908. 2006-06-06 Chris Toshok <[email protected]>
  17909. * CurrencyManager.cs (set_Position): call PullData before
  17910. OnCurrentChanged.
  17911. (AddNew): after calling IBindingList.AddNew, update our
  17912. listposition, and call OnCurrentChanged/OnPositionChanged (without
  17913. calling PullData).
  17914. (OnCurrentChanged): remove the call to PullData from here.
  17915. (OnItemChanged): remove the call to PushData from here.
  17916. (OnPositionChanged): change the test from == null to != null to
  17917. match the other methods.
  17918. (ListChangedHandler): the grossest part of the patch. Implement
  17919. this such that it passes the unit tests in CurrencyManagerTest and
  17920. the output more or less matches that of MS's implementation.
  17921. 2006-06-06 Mike Kestner <[email protected]>
  17922. * ListView.cs : only update check state on single click.
  17923. * ThemeWin32Classic.cs : fix focus drawing for details view without
  17924. fullrowselect. Fixes #78454.
  17925. * XplatUIX11.cs : fix for double click emission.
  17926. 2006-06-05 Jonathan Chambers <[email protected]>
  17927. * PropertyGridView.cs : Applied Atsushi's patch to fix
  17928. font dialog bug (#78197).
  17929. 2006-06-05 Jackson Harper <[email protected]>
  17930. * TreeNode.cs: Compute the next node for expanding/collapsing
  17931. correctly. We now factor in nodes without a NextNode
  17932. correctly. (Fixes somes cases in nunit-gui).
  17933. * InternalWindowManager.cs: Set the bounds when updating the
  17934. virtual position of a tool window.
  17935. 2006-06-05 Chris Toshok <[email protected]>
  17936. * DataGrid.cs: rename cached_currencymgr to list_manager.
  17937. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  17938. some.
  17939. (CurrentRow, CurrentColumn): single accessors so we can make the
  17940. cursor movement code a lot easier to understand.
  17941. (CurrentRowIndex): implement this in terms of CurrentRow.
  17942. (BeginEdit): clean this up a bit.
  17943. (CancelEditing): sort out the is_editing/is_changing/is_adding
  17944. stuff a little.
  17945. (EndEdit): minor changes.
  17946. (OnKeyDown): add a comment about a (most likely) unnecessary
  17947. check.
  17948. (OnMouseDown): cancel editing when we click on a row header. And
  17949. use the CurrentRow setter, not CurrentCell.
  17950. (ProcessDialogKey): directly call ProcessGridKey.
  17951. (UpdateSelectionAfterCursorMove): factor out this common block of
  17952. code (it's used everywhere that we move the cursor by updating row
  17953. or column).
  17954. (ProcessGridKey): pretty substantial overhaul. Use the
  17955. CurrentRow/CurrentColumn properties to make the code a lot more
  17956. readable. Only use the CurrentCell property when we have to
  17957. modify both row and column at once. Tab behavior is still broken,
  17958. and Delete is untested.
  17959. (Select): if we have no selected rows, set selection_start to
  17960. @row.
  17961. (EditCurrentCell): rename EditCell this. It was only ever invoked
  17962. with CurrentCell as the arg, so drop the arg and rename it.
  17963. * DataGridColumnStyle.cs: clean up the constructors a little, and
  17964. drop CommonConstructor().
  17965. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  17966. actually get notified when the user hits it.
  17967. (ProcessKeyMessage): *substantially* simplify this method.
  17968. There's no reason (that I can see) for the textbox to be making
  17969. calls into the datagrid at all. Remove all of them but the ones
  17970. for Enter handling. those will take some more work.
  17971. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  17972. calling HideEditBox.
  17973. (HideEditBox): if we have an active textbox, render it invisible
  17974. without causing a re-layout of the datagrid.
  17975. 2006-06-05 Mike Kestner <[email protected]>
  17976. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  17977. collection changes by resetting it to Items[0]. Fixes #78587.
  17978. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  17979. * MessageBox.cs: if the height of the text is larger than the icon_size,
  17980. use that. Fixes bug #78575.
  17981. 2006-06-05 Jackson Harper <[email protected]>
  17982. * TreeView.cs: Fix line drawing when scrolling. To do this each
  17983. node is basically responsible for drawing its entire horizontal
  17984. area. When drawing a node it draws its parent node lines if
  17985. needed.
  17986. - Adjust the clip area to the viewport rectangle
  17987. - Fix Left/Right key handling to match MS. (It expand/collapses
  17988. and moves to parents/first child but does not move selection to
  17989. sibling nodes).
  17990. - Fix SetTop to work with new bound calculation code
  17991. - When scrollbars are no longer needed we need to reset scrolling
  17992. vars and recalculate the visible order so the redraw is correct
  17993. * TreeNode.cs: We can't expand/collapse nodes with no children.
  17994. 2006-06-03 John Luke <[email protected]>
  17995. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  17996. so the colors work without dev packages
  17997. 2006-06-02 Peter Dennis Bartok <[email protected]>
  17998. * Control.cs
  17999. - Select: Implemented to just use activate. Seems to match MS
  18000. behaviour closest. Documented to only do actual control walking
  18001. based on it's parameters if in a container control so I moved
  18002. the code there.
  18003. - Removed selection check logic from our internal Select() method
  18004. * ContainerControl.cs:
  18005. - Select: Moved selection logic from Control here, since MS documents
  18006. that containers obey the bool arguments. No longer calling base
  18007. 2006-06-02 Jackson Harper <[email protected]>
  18008. * TreeView.cs: If the selected node isn't changed when we get
  18009. focus update the previously selected node so that we see the
  18010. selection box.
  18011. 2006-06-02 Mike Kestner <[email protected]>
  18012. * ComboBox.cs: restructure grab and general mouse event handling.
  18013. Make the composite control raise mouse events like it was a single
  18014. control for leaves/enters/motion/up/down events. fix dropdown list
  18015. coordinate mangling and refactor it into the scrollbar subclass to
  18016. reduce code duplication. Fixes #78282 #78361 and #78457.
  18017. 2006-06-02 Mike Kestner <[email protected]>
  18018. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  18019. automatically in the Control.WndProc.
  18020. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18021. * FileDialog.cs: fix crash when running SharpChess, which sets the
  18022. FilterIndex to 2 with only one Filter.
  18023. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18024. * ToolBar.cs: add SizeSpecified property.
  18025. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  18026. try to figure out our real size, otherwise fallback to what the
  18027. container says.
  18028. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18029. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  18030. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  18031. up the event
  18032. 2006-06-01 Mike Kestner <[email protected]>
  18033. * ListView.cs: revamp the focus management in ListView. It still
  18034. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  18035. better than not handling focus at all. Will revisit when pdb feels
  18036. the general focus handling is solid. Fixes #78526.
  18037. 2006-06-01 Jackson Harper <[email protected]>
  18038. * TreeView.cs: Set the default border style in the constructor.
  18039. - Move painting to use OnPaintInternal instead of capturing
  18040. WM_PAINT, this is the correct way of doing things
  18041. - UpdateBelow shouldn't invalidate the scrollbar area
  18042. - Cap the top on update below in case the node was above the top
  18043. of the viewport rectangle.
  18044. - ExpandBelow and Collapse below need to obey Begin/End Update.
  18045. * TreeNode.cs: Make is_expanded internal so the treenode
  18046. collection can change it without firing the whole event chain.
  18047. * TreeNodeCollection.cs: When clearing all the child nodes make
  18048. sure to recalc the visible order.
  18049. - Improve algo for remove the top node
  18050. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18051. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  18052. SendMessage directly calling window procedures, which in turn might
  18053. call SetFocus()
  18054. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18055. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  18056. has focus (works around X11 sending a FocusIn after our SetFocus)
  18057. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  18058. 2006-06-01 Alexander Olk <[email protected]>
  18059. * Mime.cs: Fix for the NET_2_0 build.
  18060. NameValueCollection needs StringComparer now.
  18061. 2006-05-31 Chris Toshok <[email protected]>
  18062. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  18063. return (via an out parameter) the starting X of the column.
  18064. (UpdateVisibleColumn): track change to FromPixelToColumn.
  18065. (HitTest): add a ColumnResize case here.
  18066. (DrawResizeLine): new function, probably poorly named.
  18067. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  18068. only need to keep one reference.
  18069. (set_ListManager): same.
  18070. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  18071. Also, add support for HitTestType.ColumnResize.
  18072. (OnMouseMove): add column resize behavior here, and change the
  18073. cursor to the correct one as we move around the datagrid.
  18074. (OnMouseUp): terminate the column resize if we're resizing.
  18075. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  18076. for the current cell.
  18077. (ConnectListManagerEvents): use cached_currencymgr.
  18078. (DisconnectListManagerEvents): fill this in, using
  18079. cached_currencymgr.
  18080. (SetCurrentCell): remove cached_currencymgr_events handling.
  18081. (SetDataMember): only call DisconnectListManagerEvents if
  18082. cached_currencymgr is != null.
  18083. (SetDataSource): same.
  18084. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  18085. cached_currencymgr.
  18086. 2006-05-31 Jackson Harper <[email protected]>
  18087. * BindingManagerBase.cs: Remove somedebug code that creeped into
  18088. SVN.
  18089. * TreeNode.cs: We get the indent level dynamically right now, so
  18090. don't track it as a member.
  18091. * TreeNodeCollection.cs: Make sure all nodes added to the list
  18092. have parents, treeviews/topnodes setup properly.
  18093. - Don't attempt to track indent level.
  18094. 2006-05-30 Jackson Harper <[email protected]>
  18095. * BindingContext.cs: Create the currency manager tables here.
  18096. This allows us to more easily create null tables (when bad data
  18097. members are used), and more easily create related currency
  18098. managers.
  18099. * CurrencyManager.cs: All the table creation stuff is done by the
  18100. binding context now.
  18101. - Current should throw an exception if listposition is -1.
  18102. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  18103. been bound yet.
  18104. 2006-05-30 Mike Kestner <[email protected]>
  18105. * ListView.cs: allow reexpansion of zero-width column headers.
  18106. Fixes #78528.
  18107. 2006-05-28 Chris Toshok <[email protected]>
  18108. * CurrencyManager.cs (get_Current): after the late binding
  18109. listposition = -1 fix, we need to guard against it here and return
  18110. null, otherwise we raise an exception (which is swallowed
  18111. elsewhere, and breaks datagrid databinding.)
  18112. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18113. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  18114. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  18115. 2006-05-26 Jackson Harper <[email protected]>
  18116. * ControlPaint.cs:
  18117. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  18118. values, it's faster and it's all we care about (we don't care if
  18119. the names aren't equal).
  18120. * KeyboardLayouts.cs: Eliminate some dead code.
  18121. - Lazy init things
  18122. * X11Keyboard.cs: Lazy init keyboard detection.
  18123. - Cleanup access modifiers a little.
  18124. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18125. * XplatUIX11.cs: Once again, attempting to get layout just right.
  18126. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18127. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  18128. the sizes of each link section, that will result in sizes that
  18129. match DrawString's layout (Fixes #78391)
  18130. 2006-05-27 Alexander Olk <[email protected]>
  18131. * FileDialog.cs: If AddExtension property is true autocomplete the
  18132. extensions in SaveFileDialog correctly. Fixes bug #78453.
  18133. Set MyNetwork and MyComputer to "C:\" for windows. This should
  18134. fix part 8 of bug #78446 for now.
  18135. 2006-05-26 Chris Toshok <[email protected]>
  18136. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  18137. invalidate the current row header if we need to, but presumably
  18138. we'll invalidate the row corrsponding to the bounds or
  18139. editingControl.
  18140. (GridHScrolled): switch back to this method, as it's part of the
  18141. public api. *sigh*.
  18142. (GridVScrolled): same.
  18143. (OnMouseWheel): hack up something that more or less works. Call
  18144. GridHScrolled/GridVScrolled directly, instead of duplicating much
  18145. of their code here.
  18146. (EnsureCellVisibility): reinstate a bunch of this code, since we
  18147. can't just set the scrollbar Value and expect to do all the work
  18148. in the ValueChanged handler. Also, Call Update() after scrolling
  18149. in one direction so the other XplatX11.ScrollWindow call has the
  18150. proper stuff in the proper places.
  18151. (EditCell): set is_editing to true before calling .Edit.
  18152. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  18153. don't bother comparing first.
  18154. (OnKeyPress): call grid.ColumnStartedEditing before calling
  18155. base.OnKeyPress. this will set is_changing and invalidate the row
  18156. header if necessary.
  18157. (ProcessKeyMessage): for WM_CHAR messages, call
  18158. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  18159. and WM_KEYDOWN.
  18160. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  18161. it's done in the DataGrid.
  18162. (NextState): call grid.ColumnStartedEditing, which takes care of
  18163. invalidating the row header (and setting is_changing).
  18164. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  18165. here. it's done in the DataGrid.
  18166. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18167. * Control.cs: allow changing the cursor when the mouse position is
  18168. out of bounds but Capture is set.
  18169. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  18170. linklabel but released somewhere else.
  18171. 2006-05-25 Jackson Harper <[email protected]>
  18172. * TreeView.cs: When we get focus if there is no selected node make
  18173. it the top node
  18174. - Remove some uneeded setup code from Draw.
  18175. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  18176. a new node is inserted make the new node the top.
  18177. * XplatUIX11.cs:
  18178. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  18179. be used (should be faster).
  18180. 2006-05-25 Chris Toshok <[email protected]>
  18181. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  18182. problem with the last commit.
  18183. 2006-05-25 Chris Toshok <[email protected]>
  18184. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  18185. need the invalidate call here, while scrolling right-to-left via
  18186. the left arrow key (i.e. moving the editing cell while scrolling).
  18187. * DataGrid.cs (.ctor): remove the initialization of
  18188. ctrl_pressed/shift_pressed. We no longer track them using key
  18189. up/down handlers, but by using Control.ModifierKeys. Also, switch
  18190. to using ValueChanged handlers on the scrollbars instead of
  18191. Scrolled event handlers. This simplifies a bunch of the scrolling
  18192. code.
  18193. (GridHValueChanged): rename from GridHScrolled, and change it to
  18194. work with the new event args.
  18195. (GridVValueChanged): same.
  18196. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  18197. (OnMouseWheel): actually scroll the datagrid. Don't change the
  18198. selected cell.
  18199. (ProcessGridKey): correct all the keyboard navigation stuff I
  18200. could find. Ctrl up/down/left/right/home/end work now.
  18201. (EnsureCellVisibility): correct method name spelling. Also,
  18202. simplify this a touch by not explicitly calling the
  18203. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  18204. scrollbar value.
  18205. (OnKeyUpDG): no need for this method now.
  18206. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18207. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  18208. Fixes bug #78392.
  18209. 2006-05-25 Chris Toshok <[email protected]>
  18210. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  18211. r61019.
  18212. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18213. * Application.cs: Moved setting of is_modal and closing to before
  18214. we create the control, to allow the event handlers called as a
  18215. result of creation affect closing. Also removed Gonzalo's previous
  18216. change to setting DialogResult, the behaviour has been moved to
  18217. Form.ShowDialog()
  18218. * Form.cs:
  18219. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  18220. handle it instead
  18221. - ShowDialog(): If no dialog result is set, we need to return Cancel
  18222. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  18223. the close is cancelled
  18224. 2006-05-25 Jackson Harper <[email protected]>
  18225. * StatusBar.cs: We only need to update the sizes of the other
  18226. panels when we have auto size contents. Also we are only updating
  18227. the contents of the panel, not the borders, so compensate for the
  18228. border width (TODO: get this width from the theme somehow).
  18229. * TreeView.cs: Scrollable is true by default
  18230. - Use invalidate instead of refresh where needed
  18231. - Factor the scrollable value into scrollbar updating
  18232. - Update the scrollbars if the Scrollable property is altered
  18233. - Update the selected node if its ImageIndex is changed
  18234. - Handle null nodes in UpdateNode (mainly so we don't have to
  18235. check if selected is null when updating it
  18236. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  18237. are factored into the visible count
  18238. - Use VisibleCount for clarity in the code
  18239. - When the font is changed we need to recurse through all the
  18240. nodes and invalidate their sizes
  18241. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18242. * Application.cs: set the DialogResult to fixed when the main form is
  18243. hidden or destroyed while being modal.
  18244. 2006-05-25 Miguel de Icaza <[email protected]>
  18245. * Theme.cs: Use Tangoified messagebox icons.
  18246. (GetSizedResourceImage): Also cope with width = 0 and do not
  18247. trigger a warning in that case (0 means "give me your icon from
  18248. the resouce, no special size needed).
  18249. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18250. * Application.cs: Leave runloop if the the main modal form is
  18251. hidden (fixes #78484)
  18252. 2006-05-25 Atsushi Enomoto <[email protected]>
  18253. * BindingContext.cs : reject null datasource in Contains() and
  18254. Item[].
  18255. * CurrencyManager.cs : check data_member validity when data_source
  18256. is dataset. When it is late binding, the initial position is -1.
  18257. 2006-05-24 Jackson Harper <[email protected]>
  18258. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  18259. inserted nodes that aren't visible. This changes the
  18260. max_visible_order which confuses scrollbar settings.
  18261. - Use the enumerator to get the prev node instead of duplicating
  18262. code.
  18263. * TreeView.cs: Use new method for setting scrollbar values
  18264. - Don't set the bounds every time the scrollbar is updated
  18265. - When updating below the root node use an invalidate instead of a
  18266. refresh to prevent the child controls (scrollbars) from being
  18267. refreshed. (UpdateBelow still needs to be reworked anyways).
  18268. - Reenable SetBottom now that visible orders are set correctly,
  18269. added some debug code incase we ever get bad values there again.
  18270. - Set the scrollbar max to 2 less then the max value, this
  18271. compensates for the max value being one above the node count, and
  18272. for scrollbars adding one extra "notch".
  18273. - When drawing image nodes if there is an imagelist we draw the
  18274. first image in the list if the supplied image index is out of the
  18275. image list's bounds.
  18276. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18277. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  18278. we receive a size change from the WM (Fixes #78503)
  18279. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18280. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  18281. rectangle (Fixes #78501)
  18282. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18283. * ButtonBase.cs:
  18284. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  18285. as a bitfield.
  18286. - Fixed MouseMove to no longer switch pressed state unless the left
  18287. mouse button is pressed. Atsushi provided the original patch (#78485)
  18288. 2006-05-24 Jackson Harper <[email protected]>
  18289. * ScrollBar.cs: New internal methods that allow us to change a
  18290. couple values on the scrollbar (the most common case is maximum
  18291. and large change) without getting multiple invalidates.
  18292. 2006-05-24 Chris Toshok <[email protected]>
  18293. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  18294. (Edit): save off the original state in oldState, and set
  18295. grid.is_editing to true.
  18296. (OnKeyDown): abort editing if escape is pressed. also, call
  18297. NextState if space is pressed.
  18298. (OnMouseDown): call NextState.
  18299. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  18300. here. Also, only invalidate the row header once (on the initial
  18301. is_changing switch) to save on redraws.
  18302. 2006-05-24 Chris Toshok <[email protected]>
  18303. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  18304. if the value in the cell is different than it was before. This
  18305. keeps us from triggering a layout when we move around a datarid
  18306. with a highlighted cell.
  18307. (Edit): suspend layout when creating/positining the text box, and
  18308. resume passing false so we don't ever actually re-layout.
  18309. (ReleaseHostedControl): same.
  18310. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  18311. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  18312. control-key sequences should go to the datagrid - remove that
  18313. lock. Also, modify the conditions under which we move between
  18314. cells when moving the cursor within a cell, and remove the "this"
  18315. and "base" from field accesses. We weren't even consistent, given
  18316. they all were in the base class.
  18317. 2006-05-24 Atsushi Enomoto <[email protected]>
  18318. * Binding.cs : (.ctor)
  18319. An obvious NRE fix for BindingTest.CtorNullTest().
  18320. 2006-05-23 Chris Toshok <[email protected]>
  18321. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  18322. them between lines. This fixes some quirks editing cells in the
  18323. datagrid.
  18324. 2006-05-23 Jackson Harper <[email protected]>
  18325. * TreeView.cs: Use begin/end update when doing expand/collapse all
  18326. so that we don't get flicker on the scrollbar.
  18327. 2006-05-23 Jackson Harper <[email protected]>
  18328. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  18329. treenode calculations to be independant of the painting code. To
  18330. do this nodes track a visible order which is calculated by the
  18331. treeview.
  18332. - Call new methods for expanding/collapsing nodes. These methods
  18333. use scrollwindow so we don't have to update everything below the
  18334. node.
  18335. * TreeView.cs: Refactored drawing and scrolling code. We don't
  18336. need to update nodes when drawing anymore or calculate scrollbar
  18337. stuff.
  18338. - Added new methods for expanding/collapsing nodes. These methods
  18339. use ScrollWindow so as to not have to redraw all the nodes below.
  18340. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  18341. we add/remove nodes or sort.
  18342. - Handle removing the selected and the top node properly.
  18343. 2006-05-23 Chris Toshok <[email protected]>
  18344. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  18345. maybe this should actually happen in the datagrid code?
  18346. (EndEdit): no need to invalidate anything, given that
  18347. ReleaseHostedControl causes the datagrid to relayout, which
  18348. invalidates everything anyway.
  18349. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  18350. in SetCurrentCell).
  18351. (set_SelectionBackColor): call InvalidateSelection instead of
  18352. Refresh.
  18353. (set_SelectionForeColor): same.
  18354. (BeginEdit): Flesh this out a bit.
  18355. (CancelEditing): only do any of this if we're editing/adding.
  18356. (EndEdit): same.
  18357. (OnMouseDown): there's no need to cancel editing here, it's done
  18358. in SetCurrentCell.
  18359. (SetCurrentCell): only invalidate the current row header if it's a
  18360. different row than the new one.
  18361. (ShiftSelection): fix this to work like MS does.
  18362. (ResetSelection): factor out the invalidation of selected_rows to
  18363. InvalidateSelection.
  18364. (SetDataSource): cancel any editing that's going on.
  18365. * DataGridColumnStyle.cs
  18366. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  18367. call the non-interface version.
  18368. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  18369. header rectangle with the clip rectangle so we don't redraw the
  18370. entire header for just a small area. Gets rid of the last flicker
  18371. when horizontally scrolling.
  18372. (DataGridPaintRow): same.
  18373. 2006-05-23 Mike Kestner <[email protected]>
  18374. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  18375. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  18376. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  18377. Critical bug report.
  18378. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18379. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  18380. and this fixes #78493
  18381. 2006-05-23 Miguel de Icaza <[email protected]>
  18382. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  18383. size is not found.
  18384. * FileDialog.cs: Do not change the background for the side bar as
  18385. it wont work nicely with the theme, and also reduces the artifacts
  18386. in rendering the icons (which I want to fix too).
  18387. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  18388. resources, not resgen resources.
  18389. (PlatformDefaultHandler): Pull images using the new API.
  18390. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18391. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  18392. a reference to the hwnd and will not remove it unless there are
  18393. no pending exposures (fixes #78341)
  18394. * XplatUI.cs: Improved debug
  18395. 2006-05-23 Atsushi Enomoto <[email protected]>
  18396. * MenuAPI.cs : don't handle OnClick event when it was not the left
  18397. button. Fixed bug #78487.
  18398. 2006-05-23 Mike Kestner <[email protected]>
  18399. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  18400. prefer submenus to the top menu for item lookup, to avoid popping down
  18401. top-row items.
  18402. 2006-05-23 Alexander Olk <[email protected]>
  18403. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  18404. Graphics.FillRectangle as the visual results are really bad (even
  18405. on win). We now draw perfect arrows (and perfect shadows when the
  18406. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  18407. Pen.DashPattern to draw the dots of each line.
  18408. 2006-05-22 Alexander Olk <[email protected]>
  18409. * FileDialog.cs: Update the filename combobox when navigating through
  18410. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  18411. 2006-05-22 Mike Kestner <[email protected]>
  18412. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  18413. Fixes #78463.
  18414. 2006-05-22 Mike Kestner <[email protected]>
  18415. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  18416. requests. Fix a misspelled parameter and a copy paste exception error
  18417. in Select.
  18418. 2006-05-22 Peter Dennis Bartok <[email protected]>
  18419. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  18420. to get the same width/height (5/13) on X11 as the default font has on
  18421. win32. This means that our DefaultFont emSize is smaller than the
  18422. the MS SWF equivalent (even thought the width/height stays the same)
  18423. 2006-05-20 Jackson Harper <[email protected]>
  18424. * MdiClient.cs:
  18425. * MdiWindowManager.cs:
  18426. * InternalWindowManager.cs: Make sure to use the border width from
  18427. the theme.
  18428. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  18429. * PrintDialog.cs: Implements printer details
  18430. 2006-05-19 Alexander Olk <[email protected]>
  18431. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  18432. Fixes part 1 and 2 of bug #78446
  18433. 2006-05-19 Peter Dennis Bartok <[email protected]>
  18434. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  18435. instead of sticking to the first ever calculated value
  18436. 2006-05-19 Mike Kestner <[email protected]>
  18437. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  18438. PointToClient, since Capture is set. Fixes #78344.
  18439. 2006-05-19 Mike Kestner <[email protected]>
  18440. * ListView.cs: match MS behavior in Details view where items are not
  18441. drawn if Columns.Count == 0.
  18442. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  18443. Use a separate pen to draw the check, since changing the width affects
  18444. the box as well. Fixes #78454.
  18445. 2006-05-18 Miguel de Icaza <[email protected]>
  18446. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  18447. exception should throw the name of the invalid argument.
  18448. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  18449. there are no files listed.
  18450. 2006-05-18 Jackson Harper <[email protected]>
  18451. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  18452. up.
  18453. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18454. * Control.cs: Brought back our old UpdateZOrder method as a private
  18455. function and switched our calls from UpdateZOrder to the new one.
  18456. This fixes the Paint.Net canvas disappearing bug.
  18457. 2006-05-18 Jackson Harper <[email protected]>
  18458. * Theme.cs:
  18459. * ThemeWin32Classic.cs:
  18460. * InternalWindowManager.cs: Move the drawing into the theme,
  18461. expose everything the theme should need from the window manager.
  18462. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18463. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  18464. from the call to NativeWindow to avoid walking up the parent chain
  18465. further than needed (speeds up setting cursors and avoids setting
  18466. the wrong cursor if a parent has another cursor defined)
  18467. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  18468. the icon as hotspot, not what's contained as hotspot in the icon
  18469. file. This fixes the perceived drawing offset seen with Paint.Net
  18470. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18471. * XplatUIX11.cs:
  18472. - Store the calculated rectangle in Hwnd object and use it when
  18473. setting the client size
  18474. - Force Toolwindows to always be type Dock, to ensure they're on top
  18475. 2006-05-18 Mike Kestner <[email protected]>
  18476. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  18477. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  18478. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  18479. Substantial refactoring to remove confusing nested classes. Coding
  18480. standard and Get+Set->property refactorings. Shift to index based
  18481. highlighting in ComboListBox instead of constantly using IndexOf and
  18482. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  18483. in FileDialog growth. Draw borders manually since Simple mode needs
  18484. to look like two independent controls. Make listbox border
  18485. conditional to DropDownStyle. Improved OwnerDraw support.
  18486. 2006-05-18 Sebastien Pouliot <[email protected]>
  18487. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  18488. Don't set the disposed graphics to null, so we can throw the "right"
  18489. exception if the graphics is reused later (added a flag to avoid
  18490. double disposing). Some behaviours are different under 2.0 and are
  18491. filled under bug #78448.
  18492. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18493. * Control.cs: When double-buffering is enabled, we need to reset
  18494. our graphics context between paint calls. Otherwise, any
  18495. transformations and other alterations on the context will
  18496. become cumulative (#77734)
  18497. 2006-05-18 Mike Kestner <[email protected]>
  18498. * ListView.cs: do focused item selection like MS on clicks.
  18499. Rework focus handling for ItemControl so LostFocus invalidates as
  18500. well.
  18501. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  18502. the ListView ItemControl has focus.
  18503. 2006-05-17 Peter Dennis Bartok <[email protected]>
  18504. * XplatUIX11.cs: If client_window ends up being width or height zero
  18505. due to border settings, move it off window inside whole_window (#78433)
  18506. 2006-05-17 Alexander Olk <[email protected]>
  18507. * Mime.cs: Shrink the mime file cache correctly.
  18508. 2006-05-17 Alexander Olk <[email protected]>
  18509. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  18510. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18511. * XplatUIX11.cs (AddExpose): More sanity checks
  18512. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18513. * XplatUIX11.cs:
  18514. - AddExpose: Don't add expose ranges outside the size of our
  18515. window
  18516. - Cast opacity values to Int32 to avoid crashes with certain
  18517. values
  18518. - Added disabled code paths that protect against illegal cross-
  18519. thread painting (Developers.exe)
  18520. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18521. * ProgressBar.cs: Invalidate the control when it's resized
  18522. since block size is based on control size. (#78388)
  18523. 2006-05-16 Miguel de Icaza <[email protected]>
  18524. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  18525. of setting the incoming argument to the "reset" value, we set the
  18526. this.datamember to string.empty (before we were invalidating the
  18527. incoming data).
  18528. Fixes 78420
  18529. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18530. * Form.cs: Only apply transparency settings after the form
  18531. is created. (Fixes #77800)
  18532. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18533. * ApplicationContext.cs: Grab the HandleDestroyed event so
  18534. we know when to fire OnMainFormClosed
  18535. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18536. * Application.cs: Introduced sub-class to allow tracking of
  18537. threads and centralized triggering of the event mess for
  18538. ThreadExit, AppExit, etc.. (#76156)
  18539. 2006-05-16 Alexander Olk <[email protected]>
  18540. * MimeIcon.cs:
  18541. - Do not return a null icon index value for a mime subclass.
  18542. Instead try the main mime type class too.
  18543. - Seems that some newer distributions don't have a link to some
  18544. gnome default icons anymore. So check the default gnome dir too.
  18545. 2006-05-16 Jackson Harper <[email protected]>
  18546. * MdiClient.cs: Don't paint the parent background image if we have
  18547. our own background image.
  18548. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18549. * Control.cs:
  18550. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  18551. controls, all filled controls are supposed to overlap (#78080)
  18552. - UpdateZOrder is supposed to update the control's z-order in the
  18553. parent's z-order chain. Fixed to behave like that
  18554. - BringToFront: Removed obsolete code
  18555. - SendToBack: Simplyfied
  18556. - SetChildIndex: Trigger layout calculations when Z-order changes
  18557. since layout is done by z-order
  18558. 2006-05-16 Chris Toshok <[email protected]>
  18559. [ fixes bug #78410 ]
  18560. * DataGrid.cs (set_AlternatingBackColor): use
  18561. grid_drawing.InvalidateCells instead of Refresh().
  18562. (set_BackColor): call grid_drawing.InvalidateCells.
  18563. (set_BackgroundColor): use Invalidate instead of Refresh.
  18564. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  18565. invalidate the cell area.
  18566. 2006-05-15 Chris Toshok <[email protected]>
  18567. [ fixes bug #78011 ]
  18568. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  18569. on to DataGridPaintRow.
  18570. (DataGridPaintRow): take a clip argument, and only draw the cells
  18571. which intersect it. same with the not_usedarea.
  18572. * Theme.cs (DataGridPaintRow) add @clip parameter.
  18573. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  18574. XplatUI.ScrollWindow.
  18575. (ScrollToRow): same.
  18576. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  18577. with last column which was causing a gray swath to appear with the
  18578. XplatUI.ScrollWindow code.
  18579. 2006-05-15 Chris Toshok <[email protected]>
  18580. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  18581. use XplatUI.ScrollWindow.
  18582. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  18583. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18584. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  18585. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18586. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  18587. file since there are no equivalent X11 cursors
  18588. 2006-05-15 Atsushi Enomoto <[email protected]>
  18589. * MonthCalendar.cs : DateTimePicker should reflect selected date
  18590. on mouse*up*, not mouse*down*. Fixed originally reported part of
  18591. bug #76474.
  18592. 2006-05-15 Atsushi Enomoto <[email protected]>
  18593. * TabControl.cs : When argument index is equal or more than tab
  18594. count, just ignore. Fixed bug #78395.
  18595. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18596. * Control.cs: Dispose all child controls when control is diposed (#78394)
  18597. 2006-05-14 Alexander Olk <[email protected]>
  18598. * ColorDialog.cs: Finally it is possible to select the color with
  18599. the text boxes
  18600. 2006-05-14 Alexander Olk <[email protected]>
  18601. * PrintDialog.cs: Fix typo
  18602. 2006-05-14 Alexander Olk <[email protected]>
  18603. * PrintDialog.cs: PrintDialog is not resizable
  18604. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  18605. color. Made some ToolBar drawing methods protected virtual.
  18606. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  18607. * PrintDialog.cs: Implementation of the PrintDialog
  18608. 2006-05-12 Chris Toshok <[email protected]>
  18609. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  18610. thumb, instead use MoveThumb. This has the side effect of making
  18611. most of the other thumb moving machinery use MoveThumb as well.
  18612. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  18613. need to actually invalidate the rectangle where the new thumb will
  18614. go.
  18615. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  18616. We force an Update() after, so it's not as fast as it could be,
  18617. but at least there's zero flicker and no droppings.
  18618. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  18619. (UpdateThumbPos): add another argument (dirty), which says whether
  18620. or not to calculate/add dirty regions which we later invalidate.
  18621. For cases where we know we're going to use MoveThumb, we pass
  18622. false for this. Otherwise, pass true.
  18623. 2006-05-12 Jackson Harper <[email protected]>
  18624. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  18625. the status bar.
  18626. 2006-05-12 Peter Dennis Bartok <[email protected]>
  18627. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  18628. and GetClipRegion methods and UserClipWontExposeParent property.
  18629. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  18630. overriding UserClipWontExposeParent property, setting to false, since
  18631. Win32 handles the required expose messages to draw our clipped parent
  18632. areas internally
  18633. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  18634. PaintEventStart to set the user clip region if set.
  18635. * Control.cs:
  18636. - Now internally tracking the Region for the control since we need to
  18637. store it if the handle is not yet created and only set it when it
  18638. becomes created. Before setting the region forced handle creation
  18639. - Added code to draw the parents underneath a user-clipped region
  18640. * Hwnd.cs: Added UserClip property
  18641. 2006-05-12 Chris Toshok <[email protected]>
  18642. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  18643. (set_Maximum): same.
  18644. (set_Minimum): same.
  18645. (set_SmallChange): same.
  18646. (OnMouseUpSB): remove the call to refresh when releasing the
  18647. thumb. We shouldn't need it.
  18648. 2006-05-12 Miguel de Icaza <[email protected]>
  18649. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  18650. AutoSize set to None, we do not need to relayout everything, we
  18651. just need to invalidate the current region.
  18652. (Draw): Do not draw the entire ClientArea, just redraw the
  18653. clip area being passed.
  18654. * MdiClient.cs: Make MdiClient constructor with the Form argument
  18655. internal.
  18656. 2006-05-12 Jackson Harper <[email protected]>
  18657. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  18658. parents background image, but strangely not their own.
  18659. - (DrawStatusBarPanel): Take into account horizontal alignment
  18660. when drawing the strings and icons.
  18661. 2006-05-12 Mike Kestner <[email protected]>
  18662. * ListBox.cs: avoid invalidations for focus when the collection is
  18663. empty.
  18664. 2006-05-12 Chris Toshok <[email protected]>
  18665. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  18666. invalidate the entire thumb area. Call InvalidateDirty which
  18667. limits the redraw to the thumb itself and surrounding pixels.
  18668. * XplatUIX11.cs (ScrollWindow): optimize copying.
  18669. 2006-05-12 Chris Toshok <[email protected]>
  18670. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  18671. Figure out the positioning/layout in a single pass instead of
  18672. multiple recursive invocations. Speeds up the initial display of
  18673. the data grid. Also, make many things private that were
  18674. originally public but unused outside this class.
  18675. 2006-05-11 Jackson Harper <[email protected]>
  18676. * MdiClient.cs: Improved layout code.
  18677. 2006-05-11 Jonathan Chambers <[email protected]>
  18678. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  18679. not SelectedObject.
  18680. 2006-05-11 Chris Toshok <[email protected]>
  18681. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  18682. union of that will always be {0,0,width,height}.
  18683. 2006-05-11 Jackson Harper <[email protected]>
  18684. * Form.cs: Match MS's DefaultSize for forms (they must have
  18685. changed the size in sp2).
  18686. 2006-05-11 Atsushi Enomoto <[email protected]>
  18687. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  18688. 2006-05-11 Atsushi Enomoto <[email protected]>
  18689. * TextControl.cs : Fixed bug #78109. This incorrect position
  18690. comparison caused crash on automatic line split.
  18691. * TextBoxBase.cs : reduce duplicate code.
  18692. 2006-05-10 Jackson Harper <[email protected]>
  18693. * MdiClient.cs: Active form is only sent to the back when using
  18694. the Next form functionality, when a form is clicked the current
  18695. active shouldn't be sent to the back.
  18696. - Layout the mdi windows when the container is first made visible.
  18697. * Form.cs: Give the MdiClient a ref to the containing form when we
  18698. create it.
  18699. 2006-05-10 Atsushi Enomoto <[email protected]>
  18700. * LinkLabel.cs : link_font could be uninitialized, so populate one
  18701. before actual use. Fixed bug #78340.
  18702. 2006-05-10 Atsushi Enomoto <[email protected]>
  18703. * XplatUIX11.cs : clipboard format native value is IntPtr.
  18704. Fixed bug #78283.
  18705. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18706. * Control.cs:
  18707. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  18708. which is passed up the parent chain by DefWndProc
  18709. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  18710. to DefWndProc (#77956)
  18711. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  18712. 2006-05-10 Jackson Harper <[email protected]>
  18713. * MdiClient.cs: We need to remove the controls from the mdi
  18714. collection, when we close the window.
  18715. * MdiWindowManager.cs: Special handling of closing mdi windows.
  18716. * InternalWindowManager.cs: Make the close method virtual so the
  18717. mdi window manager can handle it specially.
  18718. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  18719. * DataGrid.cs:
  18720. - Recalculate grid when the data source has changed
  18721. - Matches styles provided by user from all data sources types
  18722. * DataGridTableStyle.cs: For columns that provided by the user set the
  18723. with the preferred value is there was unassigned.
  18724. * CurrencyManager.cs: throw OnItemChanged event
  18725. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18726. * PictureBox.cs: Don't animate until handle is created. Start animation
  18727. when handle is created.
  18728. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18729. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  18730. current codebase.
  18731. * XEventQueue.cs: We don't need to provide the extra info
  18732. 2006-05-10 Jackson Harper <[email protected]>
  18733. * MdiClient.cs: If the mdi clients parent form has a background
  18734. image set, we draw that background image for the mdi area's
  18735. background.
  18736. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18737. * TextBoxBase.cs: Set IBeam cursor (#78347)
  18738. 2006-05-10 Mike Kestner <[email protected]>
  18739. * ToolBar.cs: fix some text padding issues with ButtonSize
  18740. calculation. Update the default size to match MS documentation.
  18741. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  18742. button size. Fixes #78296.
  18743. 2006-05-10 Mike Kestner <[email protected]>
  18744. * ListBox.cs: use is_visible for scrollbar positioning in case the
  18745. control isn't on screen yet. Fix off by one with Right vs Width
  18746. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  18747. 2006-05-10 Jackson Harper <[email protected]>
  18748. * X11Dnd.cs: Drop to a control with another control on top of it.
  18749. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  18750. be modified in click handlers. TODO: Look for similar problems in
  18751. other controls.
  18752. 2006-05-09 Jackson Harper <[email protected]>
  18753. * Form.cs: Window managers need the old window state when setting
  18754. window state now.
  18755. * InternalWindowManager.cs: Allow the base mdi window manager to
  18756. handle more of the MDI only stuff (like maximize buttons).
  18757. * MdiWindowManager.cs: Fix some snafus in changing the window
  18758. state. Add all the menu functionality, for both popup and
  18759. maximized menus.
  18760. * MdiClient.cs: When a new form is selected the currently
  18761. activated form is sent to the back, this matches MS.
  18762. - Implement a new method to activate the next mdi child window.
  18763. 2006-05-08 Peter Dennis Bartok <[email protected]>
  18764. * Control.cs:
  18765. - Added new InternalCapture method to allow controls to prevent
  18766. the capture behaviour on the click handlers
  18767. - Switched to use InternalCapture
  18768. * ComboBox.cs:
  18769. - Using InternalCapture to prevent mouse captures from being released
  18770. on mouse button release (Fixes #78100)
  18771. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  18772. returns Form borders if a caption is present. (Fixes #78310)
  18773. 2006-05-08 Peter Dennis Bartok <[email protected]>
  18774. * TreeNode.cs: Changed serialization .ctor to not require every field
  18775. to be present. (#78265)
  18776. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  18777. 2006-05-05 Alexander Olk <[email protected]>
  18778. * MimeIcon.cs: for is faster than foreach for strings.
  18779. 2006-05-05 Mike Kestner <[email protected]>
  18780. * CheckedListBox.cs: update check handling code to not use selected.
  18781. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  18782. behavior for visual feedback, motion response, shift/ctrl handling,
  18783. and properly deal with all 4 selection modes. Updates to bounds
  18784. handling logic. Add scroll wheel support. [Fixes #77842]
  18785. 2006-05-05 Peter Dennis Bartok <[email protected]>
  18786. * ListView.cs:
  18787. - Moved adding of Implicit controls into .ctor. That way, subsequent
  18788. creation of the controls will not cause them to think they are
  18789. toplevel windows (fixes #78200 header problem)
  18790. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  18791. - Switched visibility setting of header control to use internal field
  18792. to avoid triggering handle creation
  18793. - Now checking if handle is created before causing a refresh when items
  18794. are added (This makes us now match handle creation time with MS)
  18795. * Splitter.cs: Removed loading of private splitter cursor, switched to
  18796. Cursors version now that that is loading the right ones
  18797. * Cursors.cs: Load proper splitter cursors from resources
  18798. * Cursor.cs: Added second method of loading resource cursors for the
  18799. VS.Net users amongst us
  18800. 2006-05-05 Mike Kestner <[email protected]>
  18801. * ListView.cs: give header_control a minimum size based on the
  18802. ListView size.
  18803. 2006-05-05 Peter Dennis Bartok <[email protected]>
  18804. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  18805. window seems to do that with metacity, so set that type. (#78120)
  18806. 2006-05-05 Mike Kestner <[email protected]>
  18807. * ListViewItem.cs: fix Details mode checkbox layout bug.
  18808. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  18809. at the end of the header, if it exists. [Fixes for #78200]
  18810. 2006-05-04 Jackson Harper <[email protected]>
  18811. * MdiClient.cs: Add a helper property to get the container form.
  18812. * MdiWindowManager.cs: We have to make sure to use the menu origin
  18813. when drawing the icons and buttons, this fixes maximized window
  18814. icons/buttons on win32.
  18815. * InternalWindowManager.cs: Reset the restore captions when a
  18816. window goes from Maximized to Minimized and vice versa. Move the
  18817. DrawMaximizedButtons into the MdiWindowManager source, tool
  18818. windows can't be maximized. NOTE: This could use a little
  18819. refactoring if time ever permits.
  18820. 2006-05-03 Jonathan Chambers <[email protected]>
  18821. * TextBox.cs: Add MWFCategoryAttributes
  18822. * TextBoxBase.cs: Add MWFCategoryAttributes
  18823. * Form.cs: Add MWFCategoryAttributes
  18824. 2006-05-03 Jonathan Chambers <[email protected]>
  18825. * Control.cs: Add MWFCategoryAttributes
  18826. * ScrollableControl.cs: Add MWFCategoryAttributes
  18827. 2006-05-03 Alexander Olk <[email protected]>
  18828. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  18829. Divider is true. Fix a little glitch in PropertyToolBar
  18830. drawing code
  18831. 2006-05-02 Peter Dennis Bartok <[email protected]>
  18832. * Control.cs:
  18833. - Dispose: Call base.Dispose, this causes the disposed event
  18834. to be fired (and probably other, more important stuff)
  18835. - SetVisibleCore: Set is_visible to true after creating the
  18836. window so that the window still gets created invisible (if
  18837. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  18838. to generate a WM_ACTIVE message
  18839. * Form.cs: Call Dispose when we want to destroy the window, instead of
  18840. just destroying the handle (Dispose will do that for us)
  18841. * XplatUIX11.cs:
  18842. - RootWindow also needs a queue, so we can properly process the
  18843. property change events from RootWindow (like Activate)
  18844. - Generatic synthetic WM_ACTIVE message when the active window is
  18845. being destroyed
  18846. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18847. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  18848. bounds are changed
  18849. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18850. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  18851. for determining width and height (image might not be assigned if
  18852. we're drawing an imagelist)
  18853. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18854. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  18855. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  18856. height from system
  18857. * Theme.cs: No longer returns hardcoded menu height, instead calls
  18858. new driver method
  18859. * Form.cs (OnLoad): Scaling happens before triggering Load events
  18860. on MS (# 78257)
  18861. 2006-05-01 Mike Kestner <[email protected]>
  18862. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  18863. 2006-04-30 Peter Dennis Bartok <[email protected]>
  18864. * TextBoxBase.cs: Removed Fixme
  18865. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  18866. 2006-04-30 Peter Dennis Bartok <[email protected]>
  18867. * XplatUIX11.cs:
  18868. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  18869. the rectangle relative to the parent, considering borders. We
  18870. don't really want that.
  18871. - ScrollWindow: Fixed warning to be more understandable
  18872. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  18873. scrollbars and scroll only the visible area
  18874. * RichTextBox.cs: Removed debug output
  18875. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18876. * NumericUpDown.cs (Text): Just use base
  18877. * UpDownBase.cs: Ensure txtView is created before using it
  18878. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18879. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  18880. casting to IntPtr to avoid 64bit overflow errors
  18881. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18882. * Control.cs:
  18883. - AllowDrop: Don't force handle creation.
  18884. - CreateHandle: Added call to tell driver if we're allowed to drop
  18885. 2006-04-27 Alexander Olk <[email protected]>
  18886. * FileDialog.cs: Remember the last directory not only for the
  18887. current instance but also for new FileDialog instances.
  18888. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18889. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  18890. broke sending async messages
  18891. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18892. * XplatUIX11.cs:
  18893. - ScrollWindow: Fixed method. We finally generate expose events again
  18894. for scrolled areas. This was causing 'garbage' when scrolling
  18895. textbox and other controls that used ScrollWindow
  18896. - Switched from using the regular queue for paint events to the MS
  18897. model of 'generating' paint events when the queue is empty.
  18898. We use the new XQueueEvent.Paint subclass to store which windows
  18899. need painting.
  18900. - AddExpose now takes the x/y/width/height of the exposed area
  18901. and inserts the window into the paint queue if not already there
  18902. - InvalidateWholeWindow: Switched to use new AddExpose method
  18903. - UpdateMessageQueue: Added which queue to monitor for paint events
  18904. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  18905. the unlikely case nothing above handles it. We reset the expose
  18906. pending states to get them off the queue.
  18907. - GetMessage: Now pulls a paint event if no other events are in the
  18908. queue
  18909. - Invalidate: Switched to new AddExpose method
  18910. - PeekMessage: Updated to understand pending paint events
  18911. - UpdateWindow: Fixed logic bug. We were only updating if the window
  18912. didn't need updating. Also switched to sending WM_PAINT directly,
  18913. like MS does.
  18914. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  18915. and random access Remove(). The random access is needed to handle
  18916. UpdateWindow() where a WM_PAINT is sent directly without accessing
  18917. the queue.
  18918. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  18919. allow for better feedback when scrolling. Scrollbars are small and
  18920. the immediate update should make it 'feel' more responsive without
  18921. slowing things down. ScrollBar still needs it's invaliate logic
  18922. updated to not always invalidate the whole bar on certain changes.
  18923. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  18924. * Control.cs:
  18925. (BackColor): if the control does not support a transparent background,
  18926. return the default backcolor when the parent backcolor is transparent.
  18927. 2006-04-28 Peter Dennis Bartok <[email protected]>
  18928. * Application.cs: Updated to new StartLoop/GetMessage API
  18929. * RichTextBox.cs: Provide some output on RTF parsing errors
  18930. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  18931. new queue_id argument to GetMessage and PeekMessage to allow faster
  18932. handling of per-thread queues in drivers.
  18933. * Hwnd.cs: Added Queue tracking and property
  18934. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  18935. * XEventQueue.cs: Added thread trackingA
  18936. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  18937. * XplatUIX11.cs:
  18938. - Implemented new per-thread queue
  18939. - GetMessage: Fixed return/break behaviour on several cases. We were
  18940. returning stale messages in some cases, instead of just processing
  18941. the next message
  18942. 2006-04-27 Jonathan Chambers <[email protected]>
  18943. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  18944. 2006-04-27 Peter Dennis Bartok <[email protected]>
  18945. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  18946. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  18947. 2006-04-27 Jonathan Chambers <[email protected]>
  18948. * PropertyGridView.cs: Fix drop down width.
  18949. 2006-04-27 Alexander Olk <[email protected]>
  18950. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  18951. a mess in DrawToolBar, so I removed one of them.
  18952. 2006-04-27 Alexander Olk <[email protected]>
  18953. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  18954. needed (clip). Otherwise we get artifacts.
  18955. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18956. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  18957. dimension is fixed
  18958. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  18959. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  18960. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  18961. if it matches the scale base font (avoids unneeded scaling)
  18962. 2006-04-26 Alexander Olk <[email protected]>
  18963. * X11DesktopColors.cs: One gtk_init_check should be enough
  18964. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18965. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  18966. match MS behaviour
  18967. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18968. * TextBoxBase.cs:
  18969. - Generate OnTextChanged for Backspace even if we're only deleting
  18970. the current selection
  18971. - When setting the Text property, only select all text if the
  18972. control does not have focus when it is being set. Otherwise
  18973. just place the cursor at the beginning of the control
  18974. 2006-04-26 Alexander Olk <[email protected]>
  18975. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  18976. Added a little helper to draw PropertyGrid ToolBar with a different
  18977. border and a different BackColor.
  18978. * PropertyGrid.cs: Some background parts didn't get painted with the
  18979. correct background color. Added a class that helps us to draw the
  18980. correct border for PropertyGridView and a class that helps us to
  18981. draw ToolBars with a different backcolor
  18982. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  18983. 2006-04-25 Jonathan Chambers <[email protected]>
  18984. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  18985. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  18986. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18987. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  18988. into the palette entries. Also, since we're working on a copy
  18989. we needed to copy the palette back onto the bitmap.
  18990. * Cursor.cs: Same fix as XplatUIWin32.cs.
  18991. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18992. * ImageListStreamer.cs: Need to read the var (or we're off)
  18993. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18994. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  18995. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  18996. TextBoxBase.cs: Unused var fixes
  18997. * AxHost.cs: Small 2.0 fix
  18998. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  18999. as it seems that is what at least Metacity expects. This will make
  19000. icons show up on 64bit platforms. We still have some 64bit size
  19001. issues, though, since the startup app window size still won't match.
  19002. 2006-04-25 Mike Kestner <[email protected]>
  19003. * *.cs: cleanup newly reported exception var unused warnings.
  19004. 2006-04-25 Alexander Olk <[email protected]>
  19005. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  19006. ms
  19007. 2006-04-25 Alexander Olk <[email protected]>
  19008. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  19009. image. The image position is always the same, no matter if the
  19010. button is pressed or not.
  19011. 2006-04-25 Alexander Olk <[email protected]>
  19012. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  19013. selection and set the correct filename for SaveFileDialog.
  19014. Patch by Emery Conrad.
  19015. 2006-04-24 Mike Kestner <[email protected]>
  19016. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  19017. check for item.X outside the ClientRect instead of item.Y. Fixes
  19018. #78151.
  19019. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19020. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  19021. trust that value blindly and do some sanity check. Fixes bug #77814.
  19022. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19023. * ImageListStreamer.cs: save the mask as a 1bpp image.
  19024. 2006-04-21 Mike Kestner <[email protected]>
  19025. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  19026. pass Checked and Indeterminate to the Theme Engine. Improve
  19027. encapsulation with ListBox.
  19028. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  19029. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  19030. nested types. Move all CheckState functionality to CheckedListBox.
  19031. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  19032. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  19033. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  19034. single base list. Fix scrollbar sizing and placement to mirror MS.
  19035. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  19036. used.
  19037. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  19038. for CheckedListBox by using new DrawItemState info. Center the
  19039. checkboxes on the items. Use new StringFormat property.
  19040. 2006-04-18 Jackson Harper <[email protected]>
  19041. * Form.cs: MdiChildren don't do default locations the same way as
  19042. regular forms. This prevents a crash when trying to position the
  19043. mdi windows.
  19044. 2006-04-17 Jonathan Chambers <[email protected]>
  19045. * PropertyGridTextBox.cs: Formatting, copyright
  19046. * PropertiesTab.cs: Formatting
  19047. * PropertyGrid.cs: Formatting
  19048. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  19049. click toggling of values
  19050. 2006-04-17 Peter Dennis Bartok <[email protected]>
  19051. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  19052. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  19053. every time a control is created
  19054. * Application.cs: Removed obsolete EnableRTLMirroring method
  19055. 2006-04-18 Gert Driesen <[email protected]>
  19056. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  19057. SelectedIndex to -1. Fixes bug #78121.
  19058. 2006-04-17 Jackson Harper <[email protected]>
  19059. * Binding.cs: Handle null values for Current and BindingContext.
  19060. This occurs when binding is a little delayed.
  19061. * CurrencyManager.cs: return null for Current when there are no
  19062. items in the list.
  19063. - Hookup to the listchanged event on the DataView and update
  19064. bindings when the list is changed. This fixes late binding of
  19065. controls.
  19066. 2006-04-17 Jackson Harper <[email protected]>
  19067. * X11Dnd.cs:
  19068. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  19069. Ringenbach.
  19070. 2006-04-15 Alexander Olk <[email protected]>
  19071. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  19072. place
  19073. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  19074. with the correct ButtonState
  19075. 2006-04-14 Peter Dennis Bartok <[email protected]>
  19076. * XplatUIX11.cs: Improved distinguishing between window types to
  19077. tell the WM a type closer to what the app wants (Fixes #78107)
  19078. 2006-04-14 Alexander Olk <[email protected]>
  19079. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  19080. GrabHandle
  19081. 2006-04-14 Alexander Olk <[email protected]>
  19082. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  19083. drawing code to reflect the size grip changes
  19084. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  19085. * ImageListStreamer.cs: fix handling of the mask that follows the main
  19086. bitmap when deserializing and serialize it properly. The generated mask
  19087. should better be a 1bpp image, but I'll do that later.
  19088. 2006-04-13 Alexander Olk <[email protected]>
  19089. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  19090. path doesn't fit into some of our Current.Places
  19091. 2006-04-13 Jackson Harper <[email protected]>
  19092. * ComboBox.cs: Use borders instead of drawing our own decorations,
  19093. try to obey correct rules for heights.
  19094. * Theme.cs:
  19095. * ThemeNice.cs:
  19096. * ThemeClearLooks.cs:
  19097. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  19098. this is now handled by borders.
  19099. - Remove unused DrawListBoxDecorationSize method.
  19100. 2006-04-13 Mike Kestner <[email protected]>
  19101. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  19102. reported by Alex.
  19103. 2006-04-13 Alexander Olk <[email protected]>
  19104. * ThemeWin32Classic.cs:
  19105. - Fixed CPDrawStringDisabled
  19106. - Corrected drawing of disabled menu items
  19107. - Fixed drawing of disabled radio buttons (bug #78095)
  19108. - Draw check in a disabled CheckBox with color ControlDark
  19109. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19110. * Form.cs: Use the provided width when calculating the menu size;
  19111. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  19112. and ClientSize.Width won't be updated yet
  19113. * Application.cs: Use Visible instead of Show() to make form visible,
  19114. this way we create the handle later and menusize is considered
  19115. 2006-04-12 Mike Kestner <[email protected]>
  19116. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  19117. reporting.
  19118. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19119. * TextBox.cs: Implemented context menu
  19120. 2006-04-12 Mike Kestner <[email protected]>
  19121. * ListView.cs: implement box selection. fixes #77838.
  19122. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  19123. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19124. * XplatUIX11.cs: Added setting of window type when transient window
  19125. is created (metacity would move it otherwise)
  19126. * X11Structs.cs: Added WINDOW_TYPE atoms
  19127. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  19128. background (the control is Opaque but still wants transparent
  19129. backgrounds)
  19130. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19131. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  19132. that set Opaque but don't mean it (like all ButtonBase-derived
  19133. controls) to still draw their background
  19134. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  19135. the background
  19136. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19137. * Control.cs (PaintControlBackground): Set the graphics object
  19138. on our PaintEvent to null to prevent it from being disposed
  19139. when the PaintEvent gets disposed
  19140. 2006-04-12 Alexander Olk <[email protected]>
  19141. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  19142. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  19143. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19144. * Control.cs:
  19145. - Added transparency check to BackColor property. Transparent
  19146. backgrounds are only allowed if the control styles permit it
  19147. - Added recursive painting of parent control background and
  19148. foreground if a control with a transparent backcolor is drawn
  19149. (Thanks to Tim Ringenback for providing his 'hack' as a base
  19150. for this patch) Fixes #77985 and #78026.
  19151. - Added Opaque style check before calling OnPaintBackground, no
  19152. need to draw the background if the control is opaque
  19153. - Removed ControlAccessibleObject owner variable (inherited from
  19154. base, no need to define again)
  19155. - Added some documentation links explaining the drawing events
  19156. and styles
  19157. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19158. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  19159. that the affected control is the located at the left border of our
  19160. parent (Fixes #77936)
  19161. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19162. * TextBoxBase.cs: When rendering disabled or readonly controls,
  19163. draw the background with 'Control' instead of 'Window' color as
  19164. long as the user hasn't specifically set a color
  19165. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19166. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  19167. since that won't be updated if the user types text (only if it's
  19168. programatically set)
  19169. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19170. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  19171. layout changes do to app-triggered resizes will have the proper
  19172. display rectangle for layout
  19173. 2006-04-11 Alexander Olk <[email protected]>
  19174. * ThemeWin32Classic.cs:
  19175. - Make use of the SystemBrushes and SystemPens wherever possible
  19176. - Corrected some highlight colors
  19177. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  19178. drawing
  19179. * Theme.cs: Added Empty field to CPColor struct
  19180. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19181. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  19182. is displayed when calculating the display rectangle. Thanks to Mike
  19183. for teaching me the err of my ways.
  19184. 2006-04-10 Peter Dennis Bartok <[email protected]>
  19185. * ScrollableControl.cs:
  19186. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  19187. (instead of 0,0) and we now return the real width/height instead of
  19188. just the clientrectangle, adjusted for padding. The rectangle is
  19189. now cached and created by the new CalculateDisplayRectangle method.
  19190. - Created new CalculateDisplayRectange method, which basically does
  19191. what get_DisplayRectangle() did originally, but now using the
  19192. right edge instead of DisplayRectangle to determine the size of
  19193. our scrollbars
  19194. - get_Canvas(): Fixed it to properly calculate canvas for
  19195. right/bottom controls which seem to be placed to the right/bottom
  19196. of any controls that have a fixed location
  19197. - Removed TODO that's taken care of
  19198. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  19199. and SetDisplayRectLocation according to new MSDN2 docs
  19200. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  19201. event when that is called, this is added for compatibility
  19202. - ScrollControlIntoView(): Implemented.
  19203. - Switched scrollbars to be implicit, they shouldn't be selectable
  19204. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  19205. call it when the active control is set/changed
  19206. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  19207. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  19208. implicit_control variable (used for native Win32 message generation)
  19209. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  19210. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  19211. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  19212. * XplatUIStructs.cs: Added ScrollBarCommands enum
  19213. 2006-04-10 Jackson Harper <[email protected]>
  19214. * ButtonBase.cs:
  19215. * CheckedListBox.cs:
  19216. * ComboBox.cs:
  19217. * DataGrid.cs:
  19218. * DataGridView.cs:
  19219. * Form.cs:
  19220. * GroupBox.cs:
  19221. * ListBox.cs:
  19222. * PrintPreviewControl.cs:
  19223. * ProgressBar.cs:
  19224. * PropertyGrid.cs:
  19225. * Splitter.cs:
  19226. * StatusBar.cs:
  19227. * TrackBar.cs:
  19228. * UpDownBase.cs: Fixup base event overrides.
  19229. 2006-04-06 Mike Kestner <[email protected]>
  19230. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  19231. all user-initiated value changes to min <= value <= max-thumbsz+1.
  19232. (set_Value): check for vert/horiz when calculating new thumb position.
  19233. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  19234. like MS does.
  19235. (OnMouseMoveSB): refactor the thumb dragging code and refine
  19236. invalidation logic to reduce flicker.
  19237. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  19238. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  19239. (UpdateThumbPosition): small code readability cleanup
  19240. 2006-04-10 Alexander Olk <[email protected]>
  19241. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  19242. different
  19243. 2006-04-08 Alexander Olk <[email protected]>
  19244. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  19245. 2006-04-08 Alexander Olk <[email protected]>
  19246. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  19247. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  19248. This dramatically reduces the number of Pen.Dispose calls.
  19249. Where possible call ResPool methods only once instead of calling it
  19250. over and over again (for example for the same color).
  19251. 2006-04-06 Mike Kestner <[email protected]>
  19252. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  19253. Also remove an unused private field on the collection. Fixes #77972.
  19254. 2006-04-06 Alexander Olk <[email protected]>
  19255. * ThemeNice.cs: Added ToolBar drawing code
  19256. 2006-04-06 Mike Kestner <[email protected]>
  19257. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  19258. I'm assuming that means we need to look up the toplevel for the
  19259. provided control. Fixes the crash trace in #77911 but exposes another
  19260. crash in some strange reflection usage in NDocGui.
  19261. 2006-04-06 Alexander Olk <[email protected]>
  19262. * ThemeNice.cs: Gave it a little silver touch and added Images
  19263. method
  19264. * FontDialog.cs: FontDialog is not resizable
  19265. * FileDialg.cs: Added SizeGripStyle.Show
  19266. 2006-04-05 Jackson Harper <[email protected]>
  19267. * KeyboardLayouts.cs: Remove warning.
  19268. 2006-04-05 Jackson Harper <[email protected]>
  19269. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  19270. all of our controls instead of Paint +=.
  19271. * ListBox.cs:
  19272. * ListView.cs:
  19273. * MenuAPI.cs:
  19274. * MessageBox.cs:
  19275. * NotifyIcon.cs:
  19276. * ProgressBar.cs:
  19277. * ScrollBar.cs:
  19278. * Splitter.cs:
  19279. * StatusBar.cs:
  19280. * TabControl.cs:
  19281. * TextBoxBase.cs:
  19282. * ToolBar.cs:
  19283. * TrackBar.cs:
  19284. * UpDownBase.cs:
  19285. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  19286. use OnPaintInternal. Remove Width/Height and Visible checks in
  19287. paint handler, this is done at a higher level now.
  19288. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  19289. * PaintEventArgs.cs: Add a handled flag so controls that don't
  19290. want anymore painting after OnPaintInternal can make sure OnPaint
  19291. isn't called.
  19292. 2006-04-05 Mike Kestner <[email protected]>
  19293. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  19294. state of the form, so that we don't process events when Modal dialogs
  19295. are up. Fixes #77922.
  19296. 2006-04-05 Alexander Olk <[email protected]>
  19297. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  19298. checking is done.
  19299. 2006-04-05 Mike Kestner <[email protected]>
  19300. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  19301. 2006-04-05 Mike Kestner <[email protected]>
  19302. * ListView.cs (HeaderMouseMove): null guarding for the over column
  19303. when setting up the drag_to_index. Fixes #78015.
  19304. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19305. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  19306. in the taskbar. Transient windows seem to accomplish that.
  19307. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19308. * Form.cs:
  19309. - Re-enabled CreateParams.X/Y code for FormStartPosition
  19310. - Added code for manual placement when creating the Control
  19311. - Incomplete patch to treat MDI forms differently when
  19312. setting the ClientSizeCore. (Still need to figure out handling
  19313. x/y coords there)
  19314. * XplatUIX11.cs:
  19315. - When we're explicitly setting the X/Y position of a non-Child
  19316. window, let the WM know. Metacity really wants this.
  19317. 2006-04-04 Alexander Olk <[email protected]>
  19318. * ThemeNice.cs: Added CPDrawButton
  19319. 2006-04-04 Alexander Olk <[email protected]>
  19320. * ThemeNice.cs: Changed the color for focused buttons and activated
  19321. the arrows for small scroll buttons.
  19322. 2006-04-04 Alexander Olk <[email protected]>
  19323. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  19324. anymore. Changed some method modifiers to protected (virtual)
  19325. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  19326. changes
  19327. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  19328. Updated drawing of menus, buttons and progressbars; added
  19329. CPDrawBorder3D
  19330. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  19331. * ImageListStreamer.cs: implemented serialization/deserialization
  19332. of the images.
  19333. 2006-04-03 Alexander Olk <[email protected]>
  19334. * ThemeWin32Classic.cs:
  19335. - Removed all the DrawFrameControl stuff; CPDrawButton,
  19336. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  19337. inside the methods
  19338. - Updated and corrected the drawing code of CPDrawButton,
  19339. CPDrawCheckBox and CPDrawRadioButton to better match ms
  19340. - Updated theme checkbox and radiobutton code to use the CP*
  19341. methods
  19342. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19343. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  19344. bug is fixed
  19345. 2006-03-31 Jackson Harper <[email protected]>
  19346. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  19347. sometimes.
  19348. * UpDownBase.cs: Don't CreateGraphics manually, use a
  19349. Refresh. Ideally we would invalidate the correct areas here.
  19350. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19351. * XplatUIX11.cs:
  19352. - We now track the mapping state of windows. If a window (or
  19353. one of it's parents) is not mapped we no longer permit
  19354. WM_PAINT messages to be generated since we'd otherwise get
  19355. lots of BadMatch X errors. Jackson did all the work figuring
  19356. out the problem.
  19357. - Destroying the caret if the window it's contained in is
  19358. destroyed. Can't use regular DestroyCaret method since it
  19359. might fall into a drawing function (trying to remove the
  19360. caret) and with that generate new BadMatch errors. Again,
  19361. Jackson tracked this down.
  19362. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  19363. make sure we send the messages to all windows. (The old code
  19364. would send the WM_DESTROY to the window, and then all child
  19365. windows would be 'gone' because the WM_DESTROY handle lookup
  19366. would no longer find the destroyed window)
  19367. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  19368. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  19369. 2006-03-31 Jackson Harper <[email protected]>
  19370. * ScrollableControl.cs: Dont recalc if we are not visible.
  19371. 2006-03-31 Mike Kestner <[email protected]>
  19372. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  19373. the visibility branch.
  19374. 2006-03-31 Jackson Harper <[email protected]>
  19375. * ScrollBar.cs: Cap values when incrementing/decrementing.
  19376. 2006-03-31 Mike Kestner <[email protected]>
  19377. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  19378. * ToolTip.cs: guard against timer expirations with no active control.
  19379. Not sure why it happened.
  19380. 2006-03-31 Mike Kestner <[email protected]>
  19381. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  19382. text.
  19383. * ToolTip.cs: Position the tooltip based on where the cursor is at
  19384. popup time, not at MouseEnter time. Add a Down state so that we don't
  19385. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  19386. positioning offset. Lookup DisplaySize at positioning time, since it
  19387. can theoretically change during invocation.
  19388. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  19389. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  19390. 2006-03-31 Alexander Olk <[email protected]>
  19391. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  19392. Fixes behaviour when the Text property of the box is String.Empty
  19393. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19394. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  19395. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  19396. a window)
  19397. 2006-03-31 Alexander Olk <[email protected]>
  19398. * FileDialog.cs: Visual enhancement for the popup buttons in
  19399. PopupButtonPanel
  19400. 2006-03-31 Alexander Olk <[email protected]>
  19401. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  19402. code
  19403. 2006-03-30 Alexander Olk <[email protected]>
  19404. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  19405. highlighted menu items to match ms
  19406. 2006-03-30 Peter Dennis Bartok <[email protected]>
  19407. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  19408. 2006-03-30 Mike Kestner <[email protected]>
  19409. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  19410. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  19411. go active to account for HotLight to Selected transition.
  19412. * MenuItem.cs: add internal Selected prop. Fill out the Status
  19413. property by calculating it from item info. Add HotLight,
  19414. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  19415. 2006-03-30 Mike Kestner <[email protected]>
  19416. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  19417. 2006-03-29 Jackson Harper <[email protected]>
  19418. * Form.cs: Implement TODO.
  19419. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19420. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  19421. missing proper dialog setup in the constructor
  19422. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19423. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  19424. * Control.cs:
  19425. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  19426. - Fixed ResetBindings and removed TODO
  19427. - Added check for cross-thread calls to get_Handle()
  19428. - Added Marshaller attribute for set_Font to satisfy class status
  19429. * FontDialog.cs: Removed TODOs that seemed implemented
  19430. * UpDownBase.cs: Removed unneeded TODO and Fixme
  19431. * MessageBox.cs: Implemented support for Default button and removed TODO
  19432. * FileDialog.cs: Removed obsolete TODO
  19433. * DomainUpDown.cs: Removed obsolete TODO
  19434. * ButtonBase.cs: Removed obsolete TODO
  19435. * XplatUIWin32.cs: Removed obsolete TODO
  19436. * Form.cs:
  19437. - Removed obsolete TODO
  19438. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  19439. internal status updates
  19440. - Making sure the active control is selected when the control is created
  19441. * CurrencyManager.cs: Removed obsolete TODO
  19442. 2006-03-29 Mike Kestner <[email protected]>
  19443. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  19444. of PrintPreviewDialog and RichTextBox.
  19445. 2006-03-29 Alexander Olk <[email protected]>
  19446. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  19447. DarkDark, Light and LightLight colors for a specific color
  19448. * ThemeWin32Classic.cs:
  19449. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  19450. Appearance = Button
  19451. - Make use of the new ResPool helper CPColor
  19452. - Draw ProgressBar and StatusBar with correct 3D borders
  19453. 2006-03-29 Alexander Olk <[email protected]>
  19454. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  19455. 2006-03-28 Mike Kestner <[email protected]>
  19456. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  19457. calculating col/row counts.
  19458. 2006-03-28 Mike Kestner <[email protected]>
  19459. * ColumnHeader.cs:
  19460. * ListView.cs:
  19461. * ListViewItem.cs:
  19462. * Menu.cs:
  19463. switch to explicit interface method implementation for some methods
  19464. corcompare identifies as inconsistent with MS.
  19465. 2006-03-28 Mike Kestner <[email protected]>
  19466. * MainMenu.cs:
  19467. * Menu.cs:
  19468. add a few missing methods from the class status output.
  19469. 2006-03-28 Alexander Olk <[email protected]>
  19470. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  19471. correct.
  19472. 2006-03-28 Mike Kestner <[email protected]>
  19473. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  19474. 2006-03-27 Mike Kestner <[email protected]>
  19475. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  19476. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  19477. 2006-03-27 Alexander Olk <[email protected]>
  19478. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  19479. 2006-03-25 Alexander Olk <[email protected]>
  19480. * ThemeWin32Classic.cs:
  19481. - GroupBox: Inserted a little gap between the text and the lines
  19482. on the right side
  19483. - Made the code in CPDrawBorder3D more readable
  19484. - Corrected the drawing location of the up and down arrows in
  19485. CPDrawScrollButton
  19486. 2006-03-25 Alexander Olk <[email protected]>
  19487. * ControlPaint.cs: Corrected line widths in DrawBorder for
  19488. ButtonBorderStyle Inset and Outset
  19489. 2006-03-25 Alexander Olk <[email protected]>
  19490. * ThemeWin32Classic.cs:
  19491. - Rewrote the totally broken CPDrawBorder3D method. That was
  19492. one of the main problems for the terrific ThemeWin32Classic
  19493. look
  19494. - Updated and corrected Button drawing
  19495. - Correct the dimensions of the SizeGrip to match ms ones
  19496. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  19497. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  19498. Border3DStyle.Sunken to match ms.
  19499. 2006-03-25 Alexander Olk <[email protected]>
  19500. * ThemeWin32Classic.cs: First small part of the "de-uglify
  19501. ThemeWin32Classic" effort, SizeGrip
  19502. 2006-03-24 Jackson Harper <[email protected]>
  19503. * XplatUIX11.cs: Give a max idle time of one second, this matches
  19504. MS and forces an Idle event every second when there are no other
  19505. events in the queue.
  19506. 2006-03-24 Mike Kestner <[email protected]>
  19507. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  19508. * ListView.Item.cs: fix layout issues with null image lists and images
  19509. smaller than checkbox size.
  19510. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  19511. mode like MS does. It's weird, but consistent. ;-)
  19512. Fixes #77890.
  19513. 2006-03-24 Mike Kestner <[email protected]>
  19514. * ListView.cs: Scroll wheel support for the item control. Fixes
  19515. #77839.
  19516. 2006-03-23 Jackson Harper <[email protected]>
  19517. * ScrollableControl.cs: Special case negative sized areas, not
  19518. zero.
  19519. * MonthCalendar.cs: Save the rect of the clicked date so we can
  19520. use it for invalidation.
  19521. - Try to cut down on the number of invalidates
  19522. - Invalidate the rect the mouse is over and was over when moving
  19523. the mouse, so we get the focus box following the cursor.
  19524. 2006-03-23 Mike Kestner <[email protected]>
  19525. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  19526. focus rectangle drawing. Fixes #77835.
  19527. 2006-03-23 Mike Kestner <[email protected]>
  19528. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  19529. the if and else if and reverting back to the original == check on the
  19530. None conditional.
  19531. 2006-03-23 Alexander Olk <[email protected]>
  19532. * FontDialog.cs: Update the example panel if the selected index of
  19533. the fontListBox changes.
  19534. 2006-03-23 Alexander Olk <[email protected]>
  19535. * FileDialog.cs: Make FileDialog remember which directory it was in
  19536. last in the same execution.
  19537. 2006-03-22 Mike Kestner <[email protected]>
  19538. * FileDialog.cs: make the DropDownMenu on the toolbar display
  19539. RadioChecks since they are mutually exclusive and that's what MS does.
  19540. 2006-03-22 Mike Kestner <[email protected]>
  19541. * Theme.cs: add Color param to CPDrawMenuGlyph.
  19542. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  19543. checks and radio marks and arrows are visible on highlighted items.
  19544. * ControlPaint.cs: update to use new Theme signature.
  19545. 2006-03-22 Mike Kestner <[email protected]>
  19546. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  19547. is active. Fixes #77870.
  19548. 2006-03-22 Alexander Olk <[email protected]>
  19549. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  19550. to be focused/selected after startup
  19551. 2006-03-22 Alexander Olk <[email protected]>
  19552. * ColorDialog.cs:
  19553. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  19554. CustomColors and ShowHelp properties
  19555. - Some internal rewrites to get better results when using the
  19556. ColorMatrix
  19557. 2006-03-22 Mike Kestner <[email protected]>
  19558. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  19559. HoverSelection. Fixes #77836.
  19560. 2006-03-22 Mike Kestner <[email protected]>
  19561. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  19562. ToggleButtons. (De)Sensitize the Back button around a stack count of
  19563. 1, not 0. Update ButtonSize based on a pixel count of the win32
  19564. control. Adjust the toolbar size/location for new button size.
  19565. 2006-03-22 Jackson Harper <[email protected]>
  19566. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  19567. true.
  19568. * ScrollBar.cs: When doing increments and decrements we need to
  19569. set the Value property so that ValueChanged gets raised. A
  19570. possible optimization here would be to make an internal SetValue
  19571. that doesn't invalidate immediately.
  19572. * ToolTip.cs: Tooltips get added to their container (when
  19573. supplied) so they get disposed when the container is disposed.
  19574. - Don't create tooltips for String.Empty. This prevents all these
  19575. little 2-3 pixel windows from showing up when running nunit-gui
  19576. and driving me mad.
  19577. * Form.cs: Don't set topmost when setting the owner if the handles
  19578. haven't been created yet. The topmost set will happen when the
  19579. handles are created.
  19580. 2006-03-22 Peter Dennis Bartok <[email protected]>
  19581. * XplatUIX11.cs:
  19582. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  19583. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  19584. visible (to allow them to recalculate their sizes)
  19585. 2006-03-21 Mike Kestner <[email protected]>
  19586. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  19587. methods. Removed a ton of redundant code. Still not really happy with
  19588. the border rendering, but I think that's mainly because of the
  19589. ControlDarkDark being black instead of a dark grey. Depending on how
  19590. close we want to be, we might want to revisit those color choices.
  19591. Among the new features added during the refactor were DropDownArrow
  19592. pressed rendering, Disabled image rendering. Proper flat appearance
  19593. boundary rendering. Removed the Divider and Wrapping dividers since I
  19594. can't figure out any combination of themes and conditions to make the
  19595. MS control draw a horizontal line on a toolbar despite what the
  19596. Divider property docs indicate.
  19597. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  19598. conditions and incorrect layout. Updated to coding standard.
  19599. * ToolBarButton.cs: refactored layout and positioning code from
  19600. ToolBar to here. Invalidate wherever possible instead of forcing
  19601. redraws of the whole toolbar.
  19602. (Known remaining issues: explicit ButtonSize smaller than provided
  19603. images.)
  19604. 2006-03-21 Mike Kestner <[email protected]>
  19605. * ContextMenu.cs (Show): use the position parameter instead of just
  19606. showing at the MousePosition.
  19607. 2006-03-21 Jackson Harper <[email protected]>
  19608. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  19609. control handle this.
  19610. * TreeNodeCollection.cs: If we are clearing the root node we need
  19611. to reset top_node so calcs can still happen.
  19612. * ThemeWin32Classic.cs: This is a Flags so we need to check
  19613. properly.
  19614. 2006-03-21 Jackson Harper <[email protected]>
  19615. * DataGrid.cs: Create columns when the binding context has been
  19616. changed.
  19617. * X11Structs.cs: Keysyms are uints.
  19618. - Add size to fix build.
  19619. 2006-03-21 Peter Dennis Bartok <[email protected]>
  19620. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19621. XplatUIOSX.cs:
  19622. - Added ResetMouseHover method to allow controls to retrigger
  19623. hovering if they need it more than once
  19624. - Implemented MouseHoverTime and MouseHoverSize properties
  19625. * Timer.cs: Start() must reset the interval
  19626. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  19627. properties
  19628. 2006-03-21 Jackson Harper <[email protected]>
  19629. * X11Keyboard.cs: improved layout detection. Move the nonchar
  19630. tables into this file.
  19631. * KeyboardLayouts.cs: Move the tables into resource files.
  19632. 2006-03-21 Mike Kestner <[email protected]>
  19633. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  19634. 2006-03-21 Alexander Olk <[email protected]>
  19635. * Mime.cs: Various speed optimizations. Looking up mime types
  19636. is now 2 times faster than before
  19637. 2006-03-17 Peter Dennis Bartok <[email protected]>
  19638. * CreateParams.cs: Added internal menu field
  19639. * Control.cs:
  19640. - Switched call order for UpdateBounds; now we always call
  19641. the one that also takes ClientSize, and we're calculating the
  19642. client size via driver method in the others. The previous
  19643. method of tracking client size by difference wasn't working
  19644. for forms where even the starting client size wouldn't match
  19645. the overall form size (due to borders) (Part of fix for #77729)
  19646. - CreateParams(): Do not use parent.Handle unless the handle is
  19647. already created. Causes havoc with Nexxia and throws off our
  19648. creation of controls
  19649. * XplatUIX11.cs:
  19650. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  19651. - Switched handling of ConfigureNotify over to new PerformNCCalc
  19652. method (consolidates code)
  19653. - Changed RequestNCRecalc to use new PerformNCCalc method
  19654. - Added calls to RequestNCRecalc when menus and borders are changed
  19655. to allow app to set NC size. (Part of fix for #77729) This matches
  19656. when MS send a WM_NCRECALC on Win32 windows.
  19657. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  19658. (Part of fix for #77729). This matches what MS does, they also
  19659. send that message when the form is made visible.
  19660. - XException.GetMessage: Improved usability of X errors by including
  19661. a translation of the window into Hwnd and Control class
  19662. - Improved debug info for window creation, reparenting and destruction
  19663. - Created helper method WindowIsMapped() [Currently not used]
  19664. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  19665. * Form.cs:
  19666. - CreateParams: Now setting our menu on the new internal menu field
  19667. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  19668. avoid calculating the same property twice
  19669. * Hwnd.cs:
  19670. - Improved usability of ToString() for debugging purposes
  19671. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  19672. determine the height of the menu, instead of just the font. This
  19673. required to also create a graphics context and to keep a bmp
  19674. around (for performance reasons)
  19675. 2006-03-17 Peter Dennis Bartok <[email protected]>
  19676. * MenuAPI.cs: Added OnMouseUp method
  19677. * Form.cs:
  19678. - Now remembering the requested client size, avoids size errors
  19679. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  19680. instead of base if the menu is active. This is required due to
  19681. control now capturing and releasing on down/up and it would
  19682. prematurely release our menu capture
  19683. 2006-03-17 Jackson Harper <[email protected]>
  19684. * KeyboardLayouts.cs: Add the czech layouts.
  19685. 2006-03-16 Jackson Harper <[email protected]>
  19686. * Control.cs: Use the viewport space when sizing not the controls
  19687. client size, so things like ScrollableControl that effect the
  19688. viewport size (when scrollbars are added) are computed correctly.
  19689. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  19690. of ManagerEntrys.
  19691. - Handle creating BindingManagers for null data sources.
  19692. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  19693. source, otherwise when rows are added they are added to the 'fake'
  19694. datasource and we will crash when trying to set the position in
  19695. those rows.
  19696. - Use Implicit scrollbars on the datagrid so they arent
  19697. selectable.
  19698. 2006-03-16 Jackson Harper <[email protected]>
  19699. * Binding.cs:
  19700. * InternalWindowManager.cs:
  19701. * MdiWindowManager.cs:
  19702. * X11Keyboard.cs: I really want Mike to love me again (fix
  19703. compiler warnings).
  19704. 2006-03-16 Peter Dennis Bartok <[email protected]>
  19705. * DataGrid.cs:
  19706. - OnMouseDown: Switch to editing mode when clicking on the cell
  19707. even if we're clicking on the cell that's currently
  19708. selected
  19709. - ProcessGridKey: Left/Right now wrap like MS.Net does
  19710. - ProcessGridKey: Tab now knows to add a new row when tab is
  19711. pressed in the cell of the last column of the
  19712. last row
  19713. - ProcessGridKey: Enter now adds another row if pressed in the last
  19714. row and selectes the new row, same column cell
  19715. - ProcessGridKey: Home/End navigate columns, not rows, like
  19716. originally implemented
  19717. - Broke ProcessKeyPreview code out into an extra Internal method
  19718. so it can be called from the edit code
  19719. * DataGridTextBox.cs (ProcessKeyMessage):
  19720. - Switched to accept Tab keypresses
  19721. - Added F2 handling to allow jumping to the end of the edited cell
  19722. - Added logic to allow moving caret left/right inside edited cell
  19723. and making the edited cell jump when the caret hits cell borders
  19724. - Tab and Enter are now passed to the datagrid after being handled
  19725. * TextBoxBase.cs:
  19726. - Removed capture code now that Control handles it
  19727. - set_SelectionStart now ensures caret is visible
  19728. 2006-03-16 Jackson Harper <[email protected]>
  19729. * TrackBar.cs: Debackwards the increment/decrement for handling
  19730. mouse clicks on the bar with vertical trackbars.
  19731. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  19732. bottom to match MS.
  19733. 2006-03-16 Mike Kestner <[email protected]>
  19734. * ListView.cs: make shift/ctrl keyboard and mouse selection
  19735. consistent with the MS control. Fix a bug in
  19736. SelectedListViewItemCollection.Clear that was pissing me off for the
  19737. better part of a day because the collection was being altered
  19738. underneath us as we walked the list.
  19739. 2006-03-16 Peter Dennis Bartok <[email protected]>
  19740. * Control.cs: Not sure how we could miss this so long, but it seems
  19741. that MS.Net has Capture set all the way from before calling
  19742. OnMouseDown through sending the mouse events until after
  19743. OnMouseUp. This will fix DataGrid's selection being set to end
  19744. at the location of the MouseUp.
  19745. 2006-03-15 Jackson Harper <[email protected]>
  19746. * BindingContext.cs: Check the binding after its added so that it
  19747. can initialize the binding managers and hookup to events.
  19748. * Binding.cs: Data members seem to sometimes include rows/cols in
  19749. the format Row.Column we now take this into account.
  19750. - Hookup to the position changed event so we can update the
  19751. control when the position has changed in the data set.
  19752. * CurrencyManager.cs: Take into account the row/col naming
  19753. convention when creating dataset tables.
  19754. * BindingContext.cs: Using a newer better way of storing
  19755. datasource/datamember pairs. Hopefully this better matches MS for
  19756. looking up binding managers.
  19757. 2006-03-15 Jackson Harper <[email protected]>
  19758. * BindingContext.cs: The currency manager needs the data member
  19759. name, if the member is a data set we use the name to find the
  19760. correct table.
  19761. * CurrencyManager.cs: When creating the list prefer an IList over
  19762. an IListSource.
  19763. - Attempt to create a DataTable from a DataSet (TODO: might need
  19764. some better error checking here, although MS doesn't seem to have much)
  19765. - If we have a DataTable create a view and use it as our list.
  19766. 2006-03-15 Mike Kestner <[email protected]>
  19767. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  19768. keyboard navigation. Support Up/Down/Left/Right selection correctly
  19769. for all 4 View modes.
  19770. * ListViewItem.cs: add internal row/col fields for icon layouts.
  19771. 2006-03-15 Jackson Harper <[email protected]>
  19772. * TabControl.cs: Redraw the tabs when we resize so their newly
  19773. calculated sizes are drawn on screen.
  19774. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  19775. composite characters.
  19776. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  19777. - filter events so that composite characters can be created
  19778. patches by peter
  19779. * X11Structs.cs: Add XIMProperties enum.
  19780. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19781. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  19782. unless it's created
  19783. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19784. * Control.cs (PerformLayout): We don't need to consider visiblity
  19785. for anchoring, only for docking. This fixes 'whacky' alignment
  19786. in listbox and other controls that use implicit scrollbars after
  19787. the previous PerformLayout patch
  19788. * ListBox.cs: Switched to use implicit scrollbars
  19789. 2006-03-14 Mike Kestner <[email protected]>
  19790. * ToolBar.cs:
  19791. * VScrollBar.cs:
  19792. - chain up the "new event" overrides to base and use
  19793. OnEvent to raise them. Part of fix for bug #76509.
  19794. 2006-03-14 Alexander Olk <[email protected]>
  19795. * FileDialog.cs: Do not select an item in the parent directory
  19796. on backspace
  19797. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19798. * Control.cs (PerformLayout): It would seem that we considered
  19799. invisible windows for our layout. Not quite the right thing
  19800. to do. Now we don't any longer, thereby fixing bug #76889.
  19801. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19802. * Control.cs (CanFocus): I goofed. A control can have focus
  19803. even though it's not selectable. Made it match MS docs.
  19804. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19805. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  19806. center by default (fixes #76895)
  19807. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  19808. all uses of Border3DSides.All with the explicit ORd together
  19809. Left|Right|Top|Bottom because I assume that nobody was aware
  19810. that All also implies a center fill. Most places I checked had
  19811. a fill right above.
  19812. * ProgressBarStyle.cs: Added
  19813. 2006-03-13 Mike Kestner <[email protected]>
  19814. * ListView.cs: fix breakage in drag shadow header positioning
  19815. from Peter's csc compilation fix.
  19816. 2006-03-13 Mike Kestner <[email protected]>
  19817. * ListView.cs: fix NRE produced by backspacing twice in a focused
  19818. FileDialog.
  19819. 2006-03-13 Mike Kestner <[email protected]>
  19820. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  19821. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19822. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  19823. be changed
  19824. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  19825. the allowed size before making programmatic size changes
  19826. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19827. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  19828. set, metacity is broken and will still use the emty sizes in
  19829. the struct. (Fix for #77089)
  19830. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19831. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  19832. WindowExStyles and marked both enums as Flags
  19833. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  19834. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  19835. to match WindowStyles split
  19836. * XplatUIX11.cs:
  19837. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  19838. - Updated to match WindowStyles split
  19839. * XplatUIWin32.cs:
  19840. - Fixed FosterParent creation, was using ExStyle on the Style field
  19841. (This should help with Popup focus issues)
  19842. - Updated to match WindowStyles split
  19843. 2006-03-13 Jackson Harper <[email protected]>
  19844. * MdiWindowManager.cs: Use the system menu height. Fixes some
  19845. strange sizing issues.
  19846. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19847. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  19848. * TextBoxBase.cs:
  19849. - Scroll to caret after inserting text (#77672)
  19850. - Make scroll range one pixel higher, fixes off-by-one error (and
  19851. makes underlines visible on the last line)
  19852. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19853. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  19854. the keyboard state from being stuck with keys in 'pressed' state when
  19855. focus is switched away via keyboard
  19856. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  19857. reset the keyboard if no X11 KeyUp events are expected to come
  19858. * X11Structs.cs: Switched type of Visible to bool to match driver
  19859. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19860. * TextControl.cs:
  19861. - Switched caret to be just 1 pixel wide, matches MS and looks less
  19862. clunky
  19863. - Moved caret display 1 pixel down from the top of the control
  19864. to improve view
  19865. - InsertCharAtCharet: Update the selection start if moving the caret
  19866. (fixes bug #77696; based on patch suggested by [email protected])
  19867. - No longer always creating the caret when the caret methods are
  19868. called. Only the actual ShowCaret/HideCaret will do that now
  19869. - Only setting caret visible if the owner control has focus
  19870. - UpdateView: Added invalidation-shortcut logic for center and right
  19871. aligned text. Previously we'd update all according to the left
  19872. logic which caused drawing errors. Also fixed height of invalidated
  19873. areas, now properly invalidating the whole area (was off-by-one)
  19874. - owner_HandleCreated: Always generate the document when the
  19875. handle is created; this ensures that
  19876. * TextBoxBase.cs:
  19877. - Fixed situation where caret would disappear under the right
  19878. window border, also improved scrolling behaviour on left-
  19879. aligned textboxes
  19880. - Fixed right-aligned textboxes to have a border to the
  19881. right instead of the caret being under the right border
  19882. * XplatUIX11.cs:
  19883. - Switched from 'nested' to simple visible/not visible tracking
  19884. for caret (part of fix for #77671)
  19885. - No longer passing through translated FocusIn/FocusOut messages
  19886. since we were notifying too often and the wrong windows. Instead
  19887. we just notify our focussed window of receiving or loosing focus
  19888. * XplatUIWin32.cs: Switched from 'nested' show/hide
  19889. counting for caret to simple visible yes/no behaviour (part of
  19890. fix for #77671)
  19891. 2006-03-11 Alexander Olk <[email protected]>
  19892. * Mime.cs: Remove debug code...
  19893. 2006-03-11 Alexander Olk <[email protected]>
  19894. * MimeGenerated.cs: Removed
  19895. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  19896. and subclasses) from /usr/(local/)share/mime and
  19897. $HOME/.local/share/mime.
  19898. 2006-03-10 Jackson Harper <[email protected]>
  19899. * MdiWindowManager.cs: Recalc the NC area when a window is
  19900. maximized/restored so that the menu area is drawn on forms that
  19901. don't have a menu.
  19902. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19903. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  19904. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  19905. us to force a WM_NCCALCRESIZE message being sent. This is needed
  19906. for MDI maximizing.
  19907. 2006-03-10 Jackson Harper <[email protected]>
  19908. * Form.cs: We need to use the ActiveMenu when calculating menu
  19909. height.
  19910. - Fix nullref when the window manager hasn't been created yet.
  19911. * Control.cs: Fix nullref when we try to bring a control to the
  19912. front that has no parent.
  19913. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  19914. height.
  19915. - Add a dummy item to the maximized menu so it always has the
  19916. correct height. Otherwise when there are no menus we don't get our
  19917. icon and buttons.
  19918. 2006-03-10 Jackson Harper <[email protected]>
  19919. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  19920. stuff.
  19921. * Form.cs: Make the window_state internal so the window managers
  19922. can track it.
  19923. - When an MDI child is maximized let its window manager create the
  19924. main menu (so it can add its icon).
  19925. - Notify the window managers of state changes
  19926. - Let the window manager paint its buttons and handle button
  19927. clicks on the menu when it is maximized.
  19928. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  19929. window manager, since tool windows don't use it, only mdi windows.
  19930. - Tell the main form that we don't want it to handle NCPAINT
  19931. itself to avoid extra painting.
  19932. - Handle clicks on a maximized windows menu.
  19933. - Handle window state changes
  19934. - Handle minimize/maximize clicks correctly by setting the window state.
  19935. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  19936. when clicking on the forms icon).
  19937. - New method to create a forms maximized menu. This is its normal
  19938. menu + an icon.
  19939. - Handle window state changes.
  19940. - Handle sizing of maximized windows. Maximized windows are just
  19941. drawn bigger then the parent visible area. All controls are still
  19942. there, they are just outside the visible area (this matches windows).
  19943. * MdiClient.cs: No scrollbars when a child window is maximized.
  19944. - Let the children windows figure out how big they should be when
  19945. sizing maximized windows.
  19946. - Implement a version of ArrangeIconicWindows somewhat similar to
  19947. Windows version. There are some little differences, but I don't
  19948. think any app will rely on the layout of minimized mdi windows.
  19949. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19950. * Padding.cs: Several fixes to allow compiling with csc 2.0
  19951. 2006-03-09 Jackson Harper <[email protected]>
  19952. * Menu.cs:
  19953. * MenuItem.cs: Cheap hack so we can add items to the list without
  19954. the events being raised. This allows adding mdi items during
  19955. drawing. TODO: Should probably find a better time to add the items.
  19956. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19957. * ThemeWin32Classic.cs:
  19958. - CheckBox_DrawText: Added logic to not wrap if not enough space
  19959. is available (Fix for bug #77727)
  19960. - RadioButton_DrawText: Added logic not to wrap if not enough
  19961. space is available (Fix for bug #77727). Also removed some
  19962. duplicate code, DrawString always drawing the regular text
  19963. before hitting the if statement.
  19964. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19965. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  19966. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19967. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  19968. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  19969. methods. Moved the new 2.0 properties into alphabetical order with
  19970. other properties and added MonoTODO tags
  19971. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19972. * AutoScaleMode.cs: Added. Fix build.
  19973. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19974. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19975. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  19976. and was requiring premature handle creation for calls from above
  19977. * Form.cs, Control.cs: Removed handle arguments from calls to
  19978. CalculateClientRect()
  19979. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19980. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  19981. drag_column.column_rect is MarshalByRef and can't be used that way
  19982. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19983. * AxHost.cs: Added deserialization constructor for
  19984. AxHost+State (fixes 77743)
  19985. 2006-03-09 Mike Kestner <[email protected]>
  19986. * ListView.cs:
  19987. - Added column drag reordering for details view.
  19988. - fixed behavior when mouse is dragged off column and
  19989. AllowColumnReorder is false.
  19990. * ColumnHeader.cs: clone the format too in Clone.
  19991. * Theme.cs: add DrawListViewHeaderDragDetails method.
  19992. * ThemeWin32Classic.cs:
  19993. - impl new method for drawing drag column shadows and targets.
  19994. - support column offset for details mode in DrawListViewItem.
  19995. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19996. * TextControl.cs: Reset the char_count when the document is cleared
  19997. (Fixes bug reported on mono-winforms mailing list)
  19998. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19999. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  20000. of calling base we simply process the key ourselves, since both
  20001. DefWindowProc and the handled method would set m.Result.
  20002. (Fixes #77732)
  20003. 2006-03-09 Peter Dennis Bartok <[email protected]>
  20004. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  20005. method also moves the window; instead implemented a copy of
  20006. Control.ScaleCore (Part of fix for #77456)
  20007. * TextBoxBase.cs:
  20008. - Created new CreateGraphicsInternal method to allow providing
  20009. a graphics context when no handle is created without triggering
  20010. handle creation. (Part of fix for #77456)
  20011. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  20012. * TextControl.cs:
  20013. - Switched Constructor to require TextBoxBase instead of Control (to
  20014. allow uncast access to CreateGraphicsInternal)
  20015. - Safeguarded use of owner.Handle property. No longer accessing it
  20016. unless the handle is already created.
  20017. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  20018. - Now triggering a recalc when owning control becomes visible
  20019. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  20020. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  20021. premature handle creation (Part of fix for #77456)
  20022. * Control.cs:
  20023. - We now only destroy our double-buffering buffers when the
  20024. control is resized or disposed, but not when visibility
  20025. changes. (The code even re-created them twice every time)
  20026. - Now requiring a redraw of the buffer on visibility changes
  20027. (fixes bug 77654 part 2)
  20028. - Not passing OnParentVisibleChanged up unless the control
  20029. is visible
  20030. - CanFocus: Fixed to match MS documentation
  20031. - Focus: Fixed to return actual focus state and to check if
  20032. setting focus is legal before setting it
  20033. 2006-03-08 Peter Dennis Bartok <[email protected]>
  20034. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  20035. when to draw focus rectangle by looking at parent focus and
  20036. selected state instead. This fixes TabPages on Linux sometimes
  20037. having none or multiple focus rectangles.
  20038. * XplatUIX11.cs (SetFocus):
  20039. - Don't set the focus if the same window already has focus
  20040. - Use SendMessage instead of PostMessage (like it's Win32
  20041. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  20042. to match MS behaviour
  20043. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  20044. are not selectable.
  20045. 2006-03-07 Jackson Harper <[email protected]>
  20046. * PictureBox.cs: Revert line I accidently committed last week.
  20047. 2006-03-07 Peter Dennis Bartok <[email protected]>
  20048. * Control.cs:
  20049. - Added new IsRecreating and ParentIsRecreating properties to
  20050. allow testing if RecreateHandle has been called on ourselves
  20051. or one of our parents
  20052. - WndProc(WM_DESTROY): If our control handle is being recreated
  20053. we immediately need to create the handle when receiving the
  20054. destroy, that way our child windows find a valid parent handle
  20055. when they themselves are being recreated upon WM_DESTROY receipt
  20056. (fix for bug #77654 part 1)
  20057. * XplatUIX11.cs:
  20058. - DestroyWindow: WM_DESTROY must be sent to our own window before
  20059. notifying any child windows. MS documents that child windows
  20060. are still valid when WM_DESTROY is received. (Control now relies on
  20061. this behaviour)
  20062. - Added some fine-grain debug options
  20063. 2006-03-06 Jackson Harper <[email protected]>
  20064. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  20065. box and base calculations off this.
  20066. * MdiChildContext.cs:
  20067. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  20068. anymore.
  20069. 2006-03-06 Peter Dennis Bartok <[email protected]>
  20070. * Splitter.cs: In situations where the affected control is added
  20071. to the parent's control list after the splitter, we would not
  20072. populate affected. Now we try populating it on mousedown, if
  20073. it's not already set, and force it to be re-set whenever our
  20074. parent changes.
  20075. 2006-03-03 Matt Hargett <[email protected]>
  20076. * Control.cs: implement Control.Padding
  20077. * Padding.cs: -Padding.All returns -1 when constructing with the
  20078. implicit default ctor
  20079. -Padding.ToString() matches MS.NET
  20080. * ContainerControl.cs: implement
  20081. ContainerControl.AutoScaleDimensions
  20082. * ListControl.cs: implement ListControl.FormattingEnabled
  20083. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  20084. * ButtonBase.cs:
  20085. * TabPage.cs: Implement UseVisualStyleBackColor.
  20086. * PictureBox.cs: Implement PictureBox.InitialImage.
  20087. 2006-03-03 Mike Kestner <[email protected]>
  20088. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  20089. event declarations to proxy to base event.
  20090. * ListViewItem.cs: update to use ItemControl.
  20091. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  20092. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  20093. column header label rendering for 0 width columns.
  20094. 2006-03-03 Peter Dennis Bartok <[email protected]>
  20095. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  20096. that causes the control to be created. Fixes #77476.
  20097. 2006-03-02 Jackson Harper <[email protected]>
  20098. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  20099. expose_pending.
  20100. 2006-03-02 Peter Dennis Bartok <[email protected]>
  20101. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  20102. passed in for the EventArgs (fixes #77690)
  20103. 2006-03-01 Jackson Harper <[email protected]>
  20104. * ScrollBar.cs: Refresh afterbeing resized.
  20105. 2006-02-28 Mike Kestner <[email protected]>
  20106. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  20107. Clean up a tracker compile warning.
  20108. * MenuItem.cs: add internal PerformPopup method.
  20109. [Fixes #77457]
  20110. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20111. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  20112. implicit expose) when the text is set to null
  20113. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20114. * RichTextBox.cs (FlushText): When newline is true, we always
  20115. need to split the line, even if no text is on it and we may
  20116. never eat newlines. (Fixes #77669)
  20117. 2006-02-28 Mike Kestner <[email protected]>
  20118. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  20119. and set Selected instead.
  20120. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  20121. collections.
  20122. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20123. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  20124. 2006-02-28 Alexander Olk <[email protected]>
  20125. * FontDialog.cs:
  20126. - Got rid of the panel. All controls are now directly added to
  20127. the dialog form
  20128. - It is now possible to set a font with the Font property
  20129. - MinSize and MaxSize property do now what they should
  20130. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  20131. - Searching and selecting a font with the font textbox works now,
  20132. the same applies to the style and size textbox
  20133. - Draw the correct 3D border in the example panel
  20134. - Fixed a little mem leak (unused fonts didn't get disposed)
  20135. - Many other internal updates/rewrites...
  20136. - Fix typo
  20137. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20138. * TextControl.cs:
  20139. - InsertRTFFromStream: Added 'number of characters inserted' argument
  20140. - set_SelectedRTF: Now using the number of characters to calculate
  20141. the new location for the selection and cursor (x/y cannot be used
  20142. due to potentially already wrapped text)
  20143. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20144. * TextControl.cs: Added property and implemented means to allow
  20145. disabling recalculation of a document (can be used to speed up
  20146. multiple inserts and is needed to make RTF inserts predictable, see
  20147. bug #77659)
  20148. * RichTextBox.cs: Using the new NoRecalc property of Document to
  20149. keep x/y insert locations predictable. Also makes it faster inserting
  20150. large chunks of RTF
  20151. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20152. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  20153. it's easier for a child control to handle the other messages without
  20154. having to duplicate the special functionality
  20155. * TextBoxBase.cs
  20156. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  20157. code to handle processing the key ourselves, in order to get
  20158. access to the result of KeyEventArgs.Handled. We now only call
  20159. ProcessKey if they key hasn't been handled already. Fixes #77526.
  20160. - set_Text: If null or empty string is given, just clear the
  20161. document. Fixes part of #77526
  20162. 2006-02-27 Jackson Harper <[email protected]>
  20163. * SizeGrip.cs: Paint the background color before painting the grip
  20164. so things look right.
  20165. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  20166. 2006-02-27 Mike Kestner <[email protected]>
  20167. * ListView.cs:
  20168. - Restructure layout and invalidation model to remove a ton of
  20169. flicker from the control and speed up performance in general.
  20170. - Add manual column resize, flickers like crazy, but I already have
  20171. some ideas on how I'll fix that. (#76822)
  20172. - Merge the three Icon-based views into a single layout method.
  20173. - Move item selection interaction logic from the item since
  20174. interaction with the collections is more appropriate to the view.
  20175. - Deselection on non-item clicks.
  20176. * ListViewItem.cs:
  20177. - Encapsulate most of the layout. Add some internal props to trigger
  20178. layout. Move to a model where Items invalidate themselves instead
  20179. of just invalidating the whole control every time something changes.
  20180. - Invalidate on Text/Caption changes.
  20181. - switch to an offset based layout model to avoid having to absolute
  20182. position every element on item moves.
  20183. - correct checkbox layout to conform to MS layout.
  20184. * ThemeWin32Classic.cs:
  20185. - refactor some column header drawing code.
  20186. - fix string justification for column headers (#76821)
  20187. - make SmallIcon labels top justified for compat with MS impl.
  20188. * ThemeClearlooks.cs:
  20189. - adjust to new ListViewItem internal checkbox bounds api.
  20190. 2006-02-27 Jackson Harper <[email protected]>
  20191. * Control.cs: Change where implicit controls fall in the zorder.
  20192. They are now on top of all children.
  20193. - Synced AddImplicit code with Add
  20194. - Removed unused enumerator.
  20195. * SizeGrip.cs: Remove the TODO as its been TODONE.
  20196. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20197. * TextControl.cs(Insert): Combine the last lines unless the insertion
  20198. string ends with \n\n, otherwise we leave one line too many (Fixes
  20199. something I noticed with the testapp for #77526; the bug itself was
  20200. already fixed in the previous checkin)
  20201. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20202. * RichTextBox.cs:
  20203. - SelectionColor and SelectionFont methods no longer set absolute
  20204. styles. Instead, the keep font or color respectively (This
  20205. resolves a long-standing FIXME in the code)
  20206. - When flushing RTF text, the insert code now considers text trailing
  20207. behind the insertion point (Fixes the bug where when replacing
  20208. the selected text via SelectedRTF the remainder of the line behind
  20209. the selection would stay on the first insertion line)
  20210. * TextBoxBase.cs:
  20211. - AppendText now updates the selection points after inserting text
  20212. - AppendText now ensures that the last tag (sometimes 0-length) of
  20213. the document is used for the style information (Fixes part of
  20214. bug #77220)
  20215. * TextControl.cs:
  20216. - Created new FontDefiniton class to allow describing partial style
  20217. changes
  20218. - StreamLine() now takes a lines argument, to allow it to decide
  20219. whether an encountered zero-length tag is the last in the document
  20220. (which must be kept to not loose the font/color contained in it,
  20221. for later appends)
  20222. - Created Combine() and Split() methods for Marker structs, to
  20223. support marker updates due to reformatted documents (soft line
  20224. wraps)
  20225. - Implemented Document.CaretTag setter
  20226. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  20227. of the last line (Not the cause, but also exposed by bug #77220)
  20228. - Added LineTag argument to InsertString method, to allow callers
  20229. to force a certain tag to be used (required to force use of the
  20230. trailing zero-length tag of a document)
  20231. - Now updating markers in Combine(), to avoid stale tag markers
  20232. - Added some method descriptions to aid maintenance
  20233. - Implemented new FormatText concept, allowing additive/subtractive
  20234. formatting by only specifying the components that are to be
  20235. changed. This was needed for resolving the RTB.SelectedColor/
  20236. RTB.SelectedFont fixmes
  20237. - Added Break() support method to allow breaking up linetags (used
  20238. for partial formatting)
  20239. - Added GenerateTextFormat() method. It is used for partial
  20240. formatting and allows to generate a full font/color from given
  20241. attributes and an existing tag.
  20242. 2006-02-26 Jackson Harper <[email protected]>
  20243. * XplatUIX11.cs: Use the correct caption height.
  20244. - Translate hittest coordinates to screen coords to match MS.
  20245. * XplatUIWin32.cs: When we create MDI windows we need to reset
  20246. some of the style flags, so we get a nice blank window, and can
  20247. draw all the decorations ourselves.
  20248. - Set a clipping rectangle on the non client paint event, the
  20249. window manager drawing code needs one.
  20250. * Form.cs: The window manager needs to know when the window state
  20251. has been updated.
  20252. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  20253. don't need to factor in border and title sizes in these
  20254. methods. TODO: Remove the args and fix the call points.
  20255. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  20256. properly.
  20257. - Let the driver set the cursors.
  20258. - Improve active window handling
  20259. - Correct sizes for title bars and buttons.
  20260. - Match MS drawing better
  20261. * MdiWindowManager.cs: We don't need to handle border style
  20262. updates specially anymore.
  20263. - Check for scrollbars when windows are done moving
  20264. - Handle Active properly.
  20265. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  20266. correctly. I am spewing the exception though, so we don't hide the
  20267. bugs.
  20268. 2006-02-26 Pedro Martinez Julia <[email protected]>
  20269. * DataGridViewRowPostPaintEventArgs.cs,
  20270. DataGridViewCellPaintingEventArgs.cs,
  20271. DataGridViewRowCollection.cs,
  20272. DataGridViewRowPrePaintEventArgs.cs,
  20273. DataGridViewCell.cs: Clear a few warnings and implement a few
  20274. exceptions that should be thrown.
  20275. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20276. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  20277. 'inheriting' our parent's (non-default) cursor. (Part of
  20278. the fix for #77479)
  20279. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20280. * XplatUIX11.cs: Fixed cast to make csc happy
  20281. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20282. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  20283. it's for the client area (part of fix for #77479 and needed
  20284. for MDI window cursor handling)
  20285. * XplatUIX11.cs
  20286. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  20287. the appropriate default cursors and also passing the message
  20288. up the parent chain
  20289. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  20290. for non-client areas
  20291. 2006-02-15 Jackson Harper <[email protected]>
  20292. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  20293. is a real MDI window
  20294. 2006-02-14 Alexander Olk <[email protected]>
  20295. * X11DesktopColors.cs: Instead of checking the desktop session
  20296. string for "KDE" check if it starts with "KDE"
  20297. 2006-02-10 Jackson Harper <[email protected]>
  20298. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  20299. systems).
  20300. 2006-02-10 Alexander Olk <[email protected]>
  20301. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  20302. errors
  20303. * ColorDialog.cs:
  20304. - Got rid of the panel. All controls are now directly added to
  20305. the dialog form
  20306. - Changed to mono coding style
  20307. 2006-02-10 Jackson Harper <[email protected]>
  20308. * InternalWindowManager.cs: We don't need the set visibility to
  20309. false hack anymore now that peter has written beautiful shutdown
  20310. code.
  20311. 2006-02-10 Peter Dennis Bartok <[email protected]>
  20312. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  20313. where already explicitly destroyed
  20314. 2006-02-10 Jackson Harper <[email protected]>
  20315. * MdiClient.cs: Handle the case where windows are too high or to
  20316. the left and we need scrollbars.
  20317. 2006-02-10 Alexander Olk <[email protected]>
  20318. * MimeIcon.cs: Added some icons
  20319. * FileDialog.cs:
  20320. - Fixed bug #77477
  20321. - Got rid of the panel. All controls are now directly added to
  20322. the dialog form
  20323. - Changed to mono coding style
  20324. - On Linux "My Computer" and "My Network" will now show some
  20325. more usefull information. A new class, MasterMount, gathers
  20326. this information from /proc/mount. Updated MWFFileView to make
  20327. use of this information
  20328. - Fixed a bug that caused FileDialog to crash when
  20329. ".recently_used" file had a zero size
  20330. - FilterIndex does now what it should
  20331. - Some Refactoring
  20332. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  20333. FileDialog changes
  20334. 2006-02-09 Jackson Harper <[email protected]>
  20335. * ComboBox.cs: Don't touch if null.
  20336. 2006-02-09 Peter Dennis Bartok <[email protected]>
  20337. * Cursor.cs: 64bit safeness fix
  20338. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  20339. 2006-02-09 Jackson Harper <[email protected]>
  20340. * Form.cs: If a form is made into an MDI form update the styles so
  20341. all the props can get set correctly.
  20342. - Kill the mdi_container when we dont need it anymore.
  20343. * InternalWindowManager.cs: Add missing NOT
  20344. 2006-02-08 Jackson Harper <[email protected]>
  20345. * InternalWindowManager.cs: Respek clipping when drawing MDi
  20346. decorations.
  20347. 2006-02-08 Jackson Harper <[email protected]>
  20348. * Hwnd.cs: Add bits to track non client expose events.
  20349. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  20350. gives us a proper invalid rect and will allow for some nice
  20351. optimizations with NC client drawing
  20352. - MDI windows are children windows, so move their style handling
  20353. into the child window block.
  20354. * InternalWindowManager.cs: Remove a state reset that was
  20355. getting invoked at the wrong time. Fixes managed windows getting
  20356. into a 'stuck' captured state.
  20357. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20358. * TextControl.cs (Document.ctor): Now initializing
  20359. selection_anchor. Fixes #77493
  20360. 2006-02-07 Jackson Harper <[email protected]>
  20361. * TrackBar.cs: The increment/decrements were backwards.
  20362. 2006-02-07 Mike Kestner <[email protected]>
  20363. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  20364. to the instance itself.
  20365. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20366. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  20367. on ulongs and pointers, the size differs between 32bit and 64bit
  20368. systems.
  20369. 2006-02-07 Mike Kestner <[email protected]>
  20370. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  20371. for 64 bit platforms to work around a metacity bug.
  20372. 2006-02-07 Jackson Harper <[email protected]>
  20373. * TrackBar.cs: Process the input keys we need, and hookup to
  20374. KeyDown instead of using WndProc, so we get key messages.
  20375. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20376. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  20377. machine we're on.
  20378. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  20379. we need to translate the XdndVersion atoms array before sending it
  20380. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20381. * XplatUIX11.cs:
  20382. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  20383. number of bits for the property, not the number of bytes. The
  20384. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  20385. but would not crash since it specified 8 bits instead of 4 bits)
  20386. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  20387. defined as XID -> long in the C headers)
  20388. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  20389. references since those are now IntPtr to begin with
  20390. - Switched all Atom.XXX 'int' casts to IntPtr casts
  20391. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  20392. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  20393. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  20394. * X11Structs.cs:
  20395. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  20396. - Changed atom in HoverStruct to be IntPtr
  20397. * X11DnD.cs:
  20398. - Removed local DllImports, switched code to use those from XplatUIX11
  20399. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  20400. 2006-02-06 Mike Kestner <[email protected]>
  20401. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  20402. method signatures in the import region. There may still be some
  20403. lingering struct marshaling issues, as I didn't drill down into those.
  20404. Yet.
  20405. 2006-02-06 Jackson Harper <[email protected]>
  20406. * ComboBox.cs: Dont manually set the top_item, this is computed
  20407. when the scrollbar position is set.
  20408. 2006-02-06 Mike Kestner <[email protected]>
  20409. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  20410. startup crashes on amd64. There's other fixes needed. All pinvoke
  20411. usage of Atom needs to be mapped to IntPtr for example. And there are
  20412. likely other int/long issues to be addressed.
  20413. 2006-02-04 Alexander Olk <[email protected]>
  20414. * FileDialog.cs: One more...
  20415. 2006-02-03 Alexander Olk <[email protected]>
  20416. * FileDialog.cs: Next try
  20417. 2006-02-03 Alexander Olk <[email protected]>
  20418. * FileDialog.cs: First part of fix for #77464
  20419. 2006-02-03 Alexander Olk <[email protected]>
  20420. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  20421. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  20422. AcceptButton border drawing.
  20423. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20424. * Form.cs: Moved positioning of form after auto scaling is applied,
  20425. otherwise it would possibly use wrong form size.
  20426. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20427. * Control.cs (RecreateHandle): No need to re-create any child
  20428. controls, the child windows will get destroyed automatically by
  20429. the windowing system or driver, and re-created when the handle
  20430. is being accessed the first time. Fixes #77456
  20431. * Form.cs: No longer setting the form to closing if the handle is
  20432. being recreated. This seems like the right thing to do, don't
  20433. have a bug or testcase for this, though.
  20434. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20435. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  20436. controls to avoid unwanted side effects
  20437. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20438. * Control.cs:
  20439. - ScaleCore needs to scale the bounds, not the ClientSize of the
  20440. control. Fixes #77416.
  20441. - DefaultSize is 0,0 for control
  20442. * TextBoxBase.cs:
  20443. - DefaultSize is 100, 20
  20444. - SetBoundsCore: Now enforcing the height, no matter if the provided
  20445. height is more or less than the preferred one, as long as AutoSize
  20446. is on
  20447. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  20448. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20449. * Control.cs:
  20450. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  20451. call unless both performLayout is true *and* we have a pending
  20452. layout change
  20453. - ResumeLayout: MS does not completely nest Suspend and Resume,
  20454. they bottom out at 0, fixed our code to match that.
  20455. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  20456. SetBoundsCore, we were updating even when we shouldn't. This fixes
  20457. swf-anchors mis-anchoring when resizing the app fast and lots.
  20458. - UpdateDistances: Now only setting the left and top distance if
  20459. we have a parent and are not suspended, this is based on
  20460. a suggestion by Don Edvaldson in bug #77355.
  20461. - OnVisibleChanged: Fixed logic when to create the control. We may
  20462. not create the control if we have no parent or if it's not visible;
  20463. switched to using Visible property instead of is_visible field
  20464. since the property also considers parent states. This fixes a bug
  20465. when starting Paint.Net
  20466. 2006-02-02 Jackson Harper <[email protected]>
  20467. * Form.cs: If the forms handle hasn't been created yet don't call
  20468. into xplatui to make it top most, just set the topmost flag on the
  20469. form in CreateParams
  20470. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  20471. 2006-02-01 Jackson Harper <[email protected]>
  20472. * ScrollableControl.cs: Refactored the Recalculate method a
  20473. little, this wasn't handling all the variants of bottom and right
  20474. bars needed to be added and added/removed based on their
  20475. counterparts being added/removed (which changes the drawable
  20476. size). Also we special case client widths and heights of 0 and
  20477. don't add the scrollbar for those.
  20478. 2006-02-01 Peter Dennis Bartok <[email protected]>
  20479. * XplatUIX11.cs:
  20480. - Added method to get AbsoluteGeometry(); currently unused, but might
  20481. be used in the future, if we try again to figure out toplevel
  20482. coordinates with some more crappy window managers
  20483. - Added FrameExtents() method to retrieve the WM set decoration size
  20484. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  20485. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  20486. * Hwnd.cs:
  20487. - Added whacky_wm tracking var for metacity
  20488. - Added logic to have default menu height if the actual menu height
  20489. has not yet been calculated (part of fix for #77426)
  20490. * Form.cs: Keep track whether client size has been set and re-set
  20491. it if a menu is added/removed afterwards (Fixes #77426)
  20492. 2006-01-31 Jackson Harper <[email protected]>
  20493. * Control.cs: When a new Site is set on the component attempt to
  20494. pull the AmbientProperties from it.
  20495. 2006-01-31 Peter Dennis Bartok <[email protected]>
  20496. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  20497. in the background of the owning form. Fixes #77332
  20498. 2006-01-31 Alexander Olk <[email protected]>
  20499. * MimeIcon.cs: Fix for #77409
  20500. 2006-01-31 Alexander Olk <[email protected]>
  20501. * XplatUIX11GTK.cs: Initial import
  20502. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  20503. * FixedSizeTextBox: fixes class signature
  20504. 2006-01-30 Jackson Harper <[email protected]>
  20505. * FixedSizeTextBox.cs: New internal class that represents a
  20506. textBox that will not be scaled.
  20507. * TreeView.cs:
  20508. * ComboBox.cs:
  20509. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  20510. standard TextBox.
  20511. 2006-01-30 Peter Dennis Bartok <[email protected]>
  20512. * XplatUIX11.cs: Retrieve default screen number instead of
  20513. assuming 0. Attempted fix for #77318
  20514. 2006-01-30 Peter Dennis Bartok <[email protected]>
  20515. * XplatUIWin32.cs:
  20516. - GetWindowPos: When a window is parented by FosterParent, use
  20517. the desktop instead of FosterParent as the base to get coordinates
  20518. - CreateWindow: Don't make FosterParent the parent window for Popups
  20519. if we don't want a taskbar entry, Popups automatically don't get one
  20520. * Hwnd.cs: Need to call remove to actually remove the key from the
  20521. hash table
  20522. 2006-01-30 Mike Kestner <[email protected]>
  20523. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  20524. 2006-01-30 Jackson Harper <[email protected]>
  20525. * TreeView.cs:
  20526. * TreeNode.cs: Raise events no matter how the treenode is
  20527. checked. Patch by Don Edvalson.
  20528. 2006-01-30 Jackson Harper <[email protected]>
  20529. * TreeNode.cs: Signature fix.
  20530. 2006-01-29 Alexander Olk <[email protected]>
  20531. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  20532. 2006-01-20 Mike Kestner <[email protected]>
  20533. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  20534. event forwarding when menus are active.
  20535. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  20536. Most of the patch is pdb's with a little rework.
  20537. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20538. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  20539. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  20540. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  20541. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  20542. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  20543. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  20544. the PaintWindowDecorations method
  20545. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  20546. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  20547. * MenuAPI.cs: Made tracker window invisible
  20548. * XplatUIWin32.cs:
  20549. - Removed GetMenuDC and ReleaseMenuDC methods
  20550. - Implemented the client=false path for PaintEventStart and
  20551. PaintEventEnd
  20552. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20553. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  20554. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  20555. styles
  20556. * Form.cs:
  20557. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  20558. the style
  20559. - CreateParams: Reworked the styles to match MS look'n'feel,
  20560. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  20561. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  20562. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20563. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  20564. window is not mapped, since otherwise every form that's being
  20565. created is considered minimized, which is wrong.
  20566. * Form.cs: Catching the exception and returning our internal value
  20567. instead
  20568. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20569. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  20570. SetWindowMinMax() to have means to tell the driver about the minimum,
  20571. maximum and maximized state window sizes. (Part of the fix for #76485)
  20572. * Form.cs:
  20573. - Implemented tracking of minimum and maximum window size, now calling
  20574. new SetWindowMinMax() driver method to tell the driver (Part of the
  20575. fix for #76485)
  20576. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  20577. (Completes fix for #76485)
  20578. - Calling new SetWindowMinMax driver method when the handle for a
  20579. form is created, to make sure the driver knows about it even if
  20580. the values have been set before the window was created
  20581. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  20582. to avoid messing up our anchoring calculations (partial fix
  20583. for #77355)
  20584. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  20585. * XplatUIX11.cs:
  20586. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  20587. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  20588. (and presumably other freedesktop.org compliant WMs). Left the
  20589. assumption unmapped=minimized, needed for SetVisible to work.
  20590. - Now setting the window state when creating windows
  20591. - Fixed SetVisible to consider/set the window state when mapping
  20592. a Form. We cannot set the state before it's mapped, and we cannot
  20593. use Form.WindowState once it's mapped (since it would ask the
  20594. driver and get 'normal'. Therefore, we grab the state before
  20595. mapping, map, and then set state.
  20596. - Implmemented SetWindowMinMax method; Metacity does not seem to
  20597. honor the ZoomHints, though.
  20598. * XplatUIWin32.cs:
  20599. - Removed MINMAXINFO (moved to XplatUIStructs)
  20600. - Added SetWindowMinMax stub (on Win32 the only way to set that
  20601. information is in response to the WM_GETMINMAXINFO message, which
  20602. is handled in Form.cs)
  20603. - Added logic to SetVisible to set the proper window state when a
  20604. form is made visible (fixes #75720)
  20605. 2006-01-26 Jackson Harper <[email protected]>
  20606. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  20607. same way we handle them with Invoke.
  20608. 2006-01-25 Peter Dennis Bartok <[email protected]>
  20609. * Form.cs:
  20610. - Added tracking of window state so CreateParams can return
  20611. the appropriate style
  20612. - Moved setting of WS_CAPTION style in CreateParams to allow
  20613. styles without caption
  20614. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  20615. control if the TextBox property is accessed. Fixes #77345
  20616. * Control.cs:
  20617. - get_Created: now uses is_disposed and is_created to determine
  20618. return value (suggested by Jackson)
  20619. - CreateHandle: No longer exits if the handle is being recreated
  20620. - RecreateHandle: If the handle is not yet created call the
  20621. appropriate method to create either control or handle. If the
  20622. control is already created CreateHandle will simply exit instead
  20623. of just creating the handle
  20624. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  20625. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  20626. is called.
  20627. * XplatUIX11.cs:
  20628. - When DestroyWindow is called, instead of waiting for the
  20629. DestroyNotification from X11, we directly post it to the WndProc
  20630. and immediately dispose the hwnd object.
  20631. Same applies to DestroyChildWindows, and this obsoletes the
  20632. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  20633. child windows before our own, to avoid X11 errors.
  20634. - Removed the direct sending of WM_PAINT on UpdateWindow
  20635. * XplatUIWin32.cs:
  20636. - Reworked DoEvents and GetMessage to allow access to internal queue
  20637. even when trying non-blocking access to the queue. Fixes #77335.
  20638. Based on a patch suggestion by Don Edvalson. The new private
  20639. GetMessage can now also be used as a backend for a PeekMessage
  20640. frontend version.
  20641. * XplatUI.cs: Improved debug output for CreateWindow
  20642. 2006-01-25 Jackson Harper <[email protected]>
  20643. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  20644. 2006-01-24 Jackson Harper <[email protected]>
  20645. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  20646. when we have a MaxDropItems lower then the selected index.
  20647. 2006-01-24 Jackson Harper <[email protected]>
  20648. * Control.cs: Don't allow selection of non visible controls, allow
  20649. selection of controls without parents.
  20650. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  20651. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  20652. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  20653. 2006-01-23 Jackson Harper <[email protected]>
  20654. * UpDownBase.cs: Make the textbox handle all the selection and
  20655. tabbing. This fixes tabing to updown controls.
  20656. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  20657. * TextBoxBase.cs: fixes exception thown the object was null
  20658. 2006-01-23 Jackson Harper <[email protected]>
  20659. * ButtonBase.cs: Just use the base CreateParams. They set
  20660. visibility and enabled correctly.
  20661. * ComboBox.cs:
  20662. * TrackBar.cs:
  20663. * MonthCalendar.cs: Lets let the base set as much of the
  20664. createparams as possible so we don't have duplicate code all over
  20665. the place.
  20666. 2006-01-22 Alexander Olk <[email protected]>
  20667. * ThemeGtk.cs: Added TrackBar and some experimental code to
  20668. get double buffering back
  20669. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  20670. * DataGrid.cs: Allows row number set internally higher than the last
  20671. when creating a new row. Restores the editing functionality.
  20672. 2006-01-20 Mike Kestner <[email protected]>
  20673. * MimeIcon.cs: delay Image creation until the icons are accessed
  20674. instead of creating 190 scaled images on GnomeHandler startup.
  20675. 2006-01-19 Peter Dennis Bartok <[email protected]>
  20676. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  20677. first call base before processing the event. Fixes #77279
  20678. 2006-01-19 Peter Dennis Bartok <[email protected]>
  20679. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  20680. that the stride for the GDI bitmap would match the stride of
  20681. a DIB or a Cursor.
  20682. 2006-01-19 Alexander Olk <[email protected]>
  20683. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  20684. 2006-01-19 Jackson Harper <[email protected]>
  20685. * ComboBox.cs: Hookup the text controls keydown event so we get
  20686. those when the text control has the focus.
  20687. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20688. * Label.cs: Now using the base events instead of defining new ones;
  20689. this allows us to just call the base properties without having to
  20690. duplicate all base property logic
  20691. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20692. * Label.cs: A label by default is not a tabstop (Fixes one of our
  20693. failing nunit tests)
  20694. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20695. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  20696. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  20697. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20698. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  20699. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  20700. This fixes #77218
  20701. * XplatUIWin32.cs:
  20702. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  20703. constructor creates images that can't be saved. Part of the fix
  20704. for #76103
  20705. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  20706. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  20707. bug fix for handling window state in forms properly)
  20708. 2006-01-18 Alexander Olk <[email protected]>
  20709. * ThemeGtk.cs: Simplify ScrollBar drawing
  20710. 2006-01-18 Jackson Harper <[email protected]>
  20711. * Splitter.cs: Set the default dock style for the splitter control
  20712. in the constructor.
  20713. 2006-01-18 Alexander Olk <[email protected]>
  20714. * ThemeGtk.cs: Corrected StateType and ShadowType for
  20715. gtk_paint_box
  20716. 2006-01-18 Alexander Olk <[email protected]>
  20717. * Control.cs: Make use of Theme.DoubleBufferingSupported
  20718. * ThemeGtk.cs:
  20719. - Added drawing for flat style buttons
  20720. - Added ScrollBar drawing
  20721. 2006-01-18 Alexander Olk <[email protected]>
  20722. * ThemeClearlooks.cs: Removed some unneeded code.
  20723. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  20724. 2006-01-17 Peter Dennis Bartok <[email protected]>
  20725. * LinkLabel.cs: We need to update the hover drawing when
  20726. leaving the control as well.
  20727. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  20728. * DataGrid.cs: Clicking on non empty areas in the columns
  20729. area was giving an exception
  20730. 2006-01-17 Jackson Harper <[email protected]>
  20731. * ThemeWin32Classic.cs:
  20732. * ListView.cs: Do not draw/clip the headers when the header style
  20733. is None.
  20734. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  20735. * DataGrid.cs: Fixes 77260
  20736. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  20737. * DataGrid.cs: Clicking on a column on a empty grid was giving
  20738. an exception
  20739. 2006-01-17 Peter Dennis Bartok <[email protected]>
  20740. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  20741. or any keypress will crash the grid.
  20742. 2006-01-17 Mike Kestner <[email protected]>
  20743. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  20744. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  20745. invisible/previously-visible items.
  20746. [Fixes #76909]
  20747. 2006-01-17 Alexander Olk <[email protected]>
  20748. * ThemeClearlooks.cs:
  20749. - Added CL_Draw_Button method; now other theme controls that are
  20750. not derived from button or do not have a button can draw buttons
  20751. too
  20752. - Updated ComboBox drawing
  20753. - Beautified RadioButton drawing
  20754. - Corrected drawing of bottom and left tabs
  20755. - Beautified DateTimePicker and MonthCalendar
  20756. - Added CPDrawButton and CPDrawRadioButton
  20757. 2006-01-16 Jackson Harper <[email protected]>
  20758. * ComboBox.cs: Set the initial value of the scrollbar to the
  20759. current index. Reduce the numbers of refreshs and IndexOfs called.
  20760. 2006-01-14 Alexander Olk <[email protected]>
  20761. * FileDialog.cs: When the file listview is focused hitting the
  20762. backspace key moves the fileview to the parent directory
  20763. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20764. * Form.cs:
  20765. - Added RecreateHandle call when changing taskbar visibility to
  20766. trigger reparenting in Win32 driver (Fixes #75719)
  20767. - If a window has minimize or maximize buttons, it cannot have
  20768. a help button
  20769. * XplatUIWin32.cs:
  20770. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  20771. the toplevel form with FosterParent (A toolwindow not on the
  20772. taskbar) (Fixes #75719)
  20773. - Made FosterParent a toolwindow
  20774. 2006-01-13 Alexander Olk <[email protected]>
  20775. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  20776. 2006-01-13 Alexander Olk <[email protected]>
  20777. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  20778. is currently over that control, make sure that tooltip_window.Text
  20779. gets updated
  20780. 2006-01-13 Mike Kestner <[email protected]>
  20781. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  20782. 2006-01-13 Jackson Harper <[email protected]>
  20783. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  20784. value passed. Also redraw the selected node when we recieve
  20785. focus, so tabbing between trees works correctly.
  20786. 2006-01-13 Alexander Olk <[email protected]>
  20787. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  20788. ~/.gconf/%gconf-tree.xml, so use
  20789. .gconf/desktop/gnome/interface/%gconf.xml
  20790. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20791. * TextControl.cs: Draw text in gray if control is disabled
  20792. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20793. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  20794. make sure it's always visible. Fixes #76680.
  20795. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20796. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  20797. 2006-01-13 Jonathan Chambers <[email protected]>
  20798. * PageSetupDialog.cs: Added.
  20799. * PrintDialog.cs: Attributes.
  20800. * PrintPreviewControl.cs: Updates.
  20801. * PrintPreviewDialog.cs: Updates.
  20802. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20803. * Control.cs: Undid my selection check fix, since it's not needed
  20804. * TextBoxBase.cs:
  20805. - Now considering the presence of hscroll/vscroll when sizing
  20806. vscroll/hscroll respectively. Fixed bug #77077
  20807. - Added Left/Up/Down/Right to IsInputKey list to prevent
  20808. ContainerControl from stealing them. This fixes what I broke
  20809. with my last checkin.
  20810. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20811. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  20812. I finally understand how the property can be set without a setter :-)
  20813. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20814. * Application.cs:
  20815. - Switched RunLoop to use static Message.Create to create a
  20816. Message object
  20817. - Added PreProcessMessage call in runloop for keyboard events; this
  20818. is part of the fix for #77219, I overlooked this originally in the
  20819. MSDN doc for PreProcessMessage
  20820. * Control.cs:
  20821. - Removed call to PreProcessMessage from handling of keyboard
  20822. messages; it's supposed to be done in the message pump
  20823. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  20824. per MSDN documentation.
  20825. - IsInputChar: All chars are input chars by default; removed the
  20826. parent calling chain, MS does not document that
  20827. - PreProcessMessage: If IsInputChar is true, we want to return false
  20828. to allow dispatching of the message
  20829. - When selecting the next control, now also check that we're not
  20830. selecting ourselves again and therefore return a false positive.
  20831. * TextBoxBase.cs:
  20832. - Tried to match return values for IsInputKey and ProcessDialogKey
  20833. to what MS returns; moved processing of our special keys outside
  20834. ProcessDialogKey since MS does not seem to return true on those.
  20835. - Moved code that previously was in ProcessDialogKey into new private
  20836. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  20837. - Reworked handling of WM_CHAR to not have to duplicate code from
  20838. Control.cs anymore, instead we simply call down to base.
  20839. 2006-01-12 Jackson Harper <[email protected]>
  20840. * ComboBox.cs: We always need to refresh the text area when
  20841. EndUpdate is called. Fixes the combobox in the file dialog.
  20842. * Control.cs: Don't create the creator_thread until the controls
  20843. handle is created. Also in InvokeRequired we check if the
  20844. creator_thread is null. This gives the effect of InvokeRequired
  20845. returning true if the controls handle is not created yet, and
  20846. matches MS.
  20847. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20848. * XplatUI.cs:
  20849. - Added StartLoop() driver method. This is used to allow drivers to
  20850. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  20851. loop for a particular thread
  20852. - Added EndLoop() driver method. This is called once the message
  20853. pump for the thread is shut down
  20854. - Added SupportsTransparency method to allow the driver to indicate
  20855. opacity support for windows
  20856. * Form.cs:
  20857. - Removed TODO attribute, completed AllowTransparency property
  20858. - Added documented logic to Opacity
  20859. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  20860. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  20861. versions of CompatibleTextRendering
  20862. * X11Structs.cs: Added opacity atom to our atom enumeration
  20863. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  20864. of a form might be set before it's reparented by the WM, and we need
  20865. the opacity value without calling up to Form)
  20866. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  20867. SupportsTransparency() driver methods
  20868. * Application.cs: Now calling StartLoop and EndLoop driver methods
  20869. * XplatUIX11.cs:
  20870. - Added opacity atom registration
  20871. - Added StartLoop()/EndLoop() methods. They're empty right now but
  20872. will need to get implemented when we switch to a per-thread queue
  20873. - Implemented SupportsTransparency() method
  20874. - Implemented SetWindowTransparency() method
  20875. - Added support for setting the opacity value when a window is
  20876. reparented (since the opacity needs to be set on the WM frame)
  20877. * XplatUIOSX.cs, XplatUIWin32.cs:
  20878. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  20879. 2006-01-12 Alexander Olk <[email protected]>
  20880. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  20881. 2006-01-12 Alexander Olk <[email protected]>
  20882. * FileDialog.cs: Added ToolTip for MWFFileView
  20883. * MimeIcon.cs: Rewrote GnomeHandler.
  20884. - Get currently used gnome icon theme from
  20885. ($HOME)/.gconf/%gconf-tree.xml
  20886. - Make use of inherited icon themes
  20887. - Support SVG icon themes like Tango via librsvg
  20888. 2006-01-12 Miguel de Icaza <[email protected]>
  20889. Revert's Jackson's revert which broke 2.0 builds. Fix both
  20890. builds.
  20891. * Application.cs: Move the use_compatible_text_rendering outside
  20892. the NET_2_0 define. If we ever need to use the
  20893. use_compatible_text_rendering on the individual controls they will
  20894. access the variable from the common shared code paths.
  20895. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20896. * XplatUI.cs:
  20897. - Added more granular debug options
  20898. - Added method to print both window text and id
  20899. - Switched debug output to use new Window() debug method
  20900. - Added IsEnabled() driver method
  20901. - Added EnableWindow() driver method
  20902. * Form.cs:
  20903. - Removed end_modal; no longer needed, new loop handles termination
  20904. via 'closing' variable
  20905. - If form is modal, setting DialogResult will now initiate loop
  20906. termination via 'closing' variable
  20907. - Added support for is_enabled/WS_DISABLED to CreateParams
  20908. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  20909. does all the work
  20910. - Removed code that's now in RunLoop from ShowDialog()
  20911. - Added various documented sanity checks to ShowDialog()
  20912. - Added handling of WM_DESTROY message; we set 'closing' on getting
  20913. the message to indicate the message pump to terminate
  20914. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  20915. send by the Application.ExitThread method. (We send the message
  20916. to destroy the window after all other events have been
  20917. processed through the queue, instead of destroying the handle
  20918. directly)
  20919. - Moved code from Close() method to WM_CLOSE handler; added logic
  20920. to only send close-related events if the form is not displayed
  20921. modal
  20922. * Splitter.cs (..ctor): Fixed typo in resource name
  20923. * Control.cs:
  20924. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  20925. brush now
  20926. - set_Cursor: Now only setting calling into XplatUI if the handle for
  20927. the control is already created; this avoids implict handle creation
  20928. or crashes if it's not created
  20929. - set_Enabled: Now setting the enabled state via the new driver method
  20930. instead of just tracking it
  20931. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  20932. - CreateControl: Reordered event firing and method calls to more
  20933. closely fire events in the order MS does. Now setting the
  20934. enabled state in the driver when creating the control.
  20935. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  20936. match MS order
  20937. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  20938. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  20939. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  20940. * Hwnd.cs:
  20941. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  20942. - Added EnabledHwnd property to easily allow a driver to find the
  20943. handle of the first enabled window in the parent chain (this is
  20944. used by drivers to pass up input events of disabled windows)
  20945. * XplatUIDriver.cs: Added IsEnabled() method
  20946. * Application.cs:
  20947. - Removed crude and obsolete exiting tracking variable
  20948. - Removed internal ModalRun(); replaced by RunLoop()
  20949. - Implemented private CloseForms() method to allow closing all
  20950. windows owned by a particular (or all) threads
  20951. - Exit() now properly closes all windows without forcing the message
  20952. pump to quit
  20953. - Removed obsolete InternalExit() method
  20954. - Changed Run() methods to use new RunLoop() message pump
  20955. - Implemented new RunLoop() method for both modal and non-modal forms
  20956. * CommonDialog.cs:
  20957. - get_CreateParams: Added setting of WS_DISABLED
  20958. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  20959. invoked via Form.ShowDialog()
  20960. * NativeWindow.cs: We don't remove the window from the collection when
  20961. the handle is destroyed; there might still be messages for it in the
  20962. queue (mainly the resulting WM_DESTROY); instead it will be removed
  20963. when Control calls InvalidateHandle in the WM_DESTROY handler
  20964. * XplatUIX11.cs:
  20965. - CreateWindow: Added logic to handle the WS_DISABLED window style
  20966. - EnableWindow: Implemented based on Hwnd.Enabled
  20967. - GetMessage: Reset PostQuitState so the method can be called again
  20968. - Implemented support for disabled windows (passing messages to the
  20969. first enabled parent) in handling all input messages
  20970. - Added optimizations for handling Expose events
  20971. - Implemeted new driver method IsEnabled()
  20972. - Now always resetting paint pending tracking vars when we start paint
  20973. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  20974. * XplatUIOSX.cs: Added IsEnabled method stub
  20975. * XplatUIWin32.cs: Implemented new IsEnabled() method
  20976. 2006-01-11 Jackson Harper <[email protected]>
  20977. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  20978. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  20979. variables a little.
  20980. * ColorDialog.cs: Clear out the old form before adding the new
  20981. panel.
  20982. 2006-01-11 Jackson Harper <[email protected]>
  20983. * X11Dnd.cs: Make sure to add all the text formats when adding
  20984. strings to the data object.
  20985. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  20986. do some redrawing too. Also change the UpdateNode to an
  20987. UpdateBelow so the newly added node gets painted.
  20988. 2006-01-11 Miguel de Icaza <[email protected]>
  20989. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  20990. LinkLabel.cs, PropertyGrid.cs: Implement the
  20991. UseCompatibleTextRendering property for 2.x
  20992. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  20993. 2006-01-11 Jackson Harper <[email protected]>
  20994. * TreeView.cs: Use the property for setting the selected node so
  20995. the correct events get raised.
  20996. * TreeNode.cs: Update the tree when the fore/back colours of a
  20997. node are set.
  20998. 2006-01-10 Jackson Harper <[email protected]>
  20999. * TreeView.cs: Allow setting SelectedNode to null.
  21000. 2006-01-9 Jonathan Chambers <[email protected]>
  21001. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  21002. 2006-01-9 Jonathan Chambers <[email protected]>
  21003. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  21004. 2006-01-9 Jonathan Chambers <[email protected]>
  21005. * PrintDialog.cs: Added attributes and set default property values.
  21006. 2006-01-9 Jonathan Chambers <[email protected]>
  21007. * PrintControllerWithStatusDialog.cs:
  21008. Added PrintControllerWithStatusDialog.
  21009. 2006-01-9 Jonathan Chambers <[email protected]>
  21010. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  21011. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  21012. 2006-01-9 Jonathan Chambers <[email protected]>
  21013. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  21014. 2006-01-09 Jonathan Chambers <[email protected]>
  21015. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  21016. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  21017. 2006-01-08 Alexander Olk <[email protected]>
  21018. * MimeIcon.cs: Added internal class SVGUtil.
  21019. 2006-01-08 Alexander Olk <[email protected]>
  21020. * FileDialog.cs: Don't crash if there are two files with the
  21021. same name but different locations.
  21022. 2006-01-08 John BouAntoun <[email protected]>
  21023. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  21024. dates across multiple month grids. Used to not highlight entire
  21025. month, but does now.
  21026. 2006-01-06 Jackson Harper <[email protected]>
  21027. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  21028. message loop. Change timer intervals to numbers that seem more
  21029. natural.
  21030. 2006-01-06 John BouAntoun <[email protected]>
  21031. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  21032. object for location info since screen object is now implemented.
  21033. 2006-01-05 Jackson Harper <[email protected]>
  21034. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  21035. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  21036. AsyncMethodResult, this is because we ALWAYS want the
  21037. ManualResetEvent to get set.
  21038. * Control.cs: When disposing use an async invoke to call shutdown
  21039. code, so that thigns don't block on the finalizer thread. Also
  21040. check if we even have a message loop before trying to send
  21041. messages, if we don't then don't bother sending messages.
  21042. - No more weak references for async methods
  21043. * XplatUIDriver.cs: No more weak references for async methods.
  21044. 2006-01-04 Alexander Olk <[email protected]>
  21045. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  21046. returns two FontFamily with the same name
  21047. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21048. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  21049. drawing disabled text. Instead using the ColorGrayText color
  21050. 2006-01-04 Jackson Harper <[email protected]>
  21051. * TreeNode.cs: redraw the node when its image index is changed.
  21052. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21053. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  21054. time I checked there are no others like it.
  21055. 2006-01-04 Jackson Harper <[email protected]>
  21056. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  21057. this gives the behavoir I was looking for.
  21058. * Control.cs: Special case Invoking EventHandlers, this matches MS
  21059. and fixes part of bug #76326.
  21060. 2006-01-04 Alexander Olk <[email protected]>
  21061. * ThemeClearlooks.cs, FileDialog.cs:
  21062. - Reflect the latest Theme class changes
  21063. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  21064. with DateTime
  21065. 2006-01-04 Alexander Olk <[email protected]>
  21066. * Theme.cs: Cache UI resource images and resize them if needed
  21067. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21068. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  21069. is called. This fixes the crash in Nexxia when setting the font
  21070. attributes in the chat. [However, RTF needs a look-over to make sure
  21071. that all SelectionXXX methods handle the special case that selection
  21072. is empty and therefore the change must be applied to all text starting
  21073. at the cursor/selection start]
  21074. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21075. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  21076. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  21077. * X11Keyboard.cs: Switched to new way of calling PostMessage
  21078. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21079. * Theme.cs: Added theme interface for images to allow the theme to
  21080. control what images are used for things like FileDialog, MessageBox
  21081. icons, etc.
  21082. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  21083. 2006-01-03 Alexander Olk <[email protected]>
  21084. * FileDialog.cs:
  21085. - Removed some dead code
  21086. - Opening a recently used file does work now
  21087. - Small UI enhancements
  21088. - Refactoring
  21089. 2006-01-02 Alexander Olk <[email protected]>
  21090. * FileDialog.cs: Forgot too add __MonoCS__
  21091. 2006-01-02 Alexander Olk <[email protected]>
  21092. * FileDialog.cs: We are able to read recently used files now let's
  21093. go on and write them.
  21094. 2006-01-01 Alexander Olk <[email protected]>
  21095. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  21096. button
  21097. * MimeIcon.cs: Do a check for the top level media type also
  21098. 2005-12-31 Alexander Olk <[email protected]>
  21099. * ThemeClearlooks.cs:
  21100. - Added CPDrawStringDisabled
  21101. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  21102. some chars if the text doesn't fit into text_rect
  21103. - DrawListViewItem: If View = View.LargeIcon center the image;
  21104. rewrote the drawing of ListViewItem.Text if View =
  21105. View.LargeIcon
  21106. 2005-12-31 Alexander Olk <[email protected]>
  21107. * MimeIcon.cs: Use default KDE icon theme if there is no
  21108. "48x48" directory for the current icon theme, fixes #77114
  21109. * Mime.cs: Disable not working and actually not used code.
  21110. * ThemeWin32Classic.cs:
  21111. - Replace "new SolidBrush" in GetControlBackBrush and
  21112. GetControlForeBrush with ResPool.GetSolidBrush
  21113. - Changed DrawListViewItem from private to protected virtual
  21114. * FileDialog.cs:
  21115. - Added form.MaximizeBox = true
  21116. - Don't throw an exception if there is a broken symbolic link
  21117. 2005-12-23 Jackson Harper <[email protected]>
  21118. * TabControl.cs: Give the panels focus, keyboard navigation is
  21119. fixed so this works correctly now.
  21120. - We need these key events also.
  21121. * ToolBar.cs: Remove some of the poor mans double buffering.
  21122. 2005-12-24 Alexander Olk <[email protected]>
  21123. * ComboBox.cs: The internal TextBox now returns the focus.
  21124. 2005-12-23 Jackson Harper <[email protected]>
  21125. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  21126. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21127. * Control.cs: Removed debug code
  21128. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  21129. implicit children
  21130. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21131. * Control.cs: When creating the control, update the Z-order after
  21132. all it's children are created, too. (Fixes nexxia not showing
  21133. picturebox bug)
  21134. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21135. * Control.cs: Do not update the anchoring distances if layout is
  21136. suspended, instead do it once layout is resumed
  21137. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21138. * Control.cs:
  21139. - After many hours of debugging, for both Jackson and
  21140. myself, it turns out that it helps to set the parent of a control
  21141. if you want to actually see it onscreen. In the spirit of that
  21142. discovery, we're now setting the parent of the control and
  21143. it's children when the control's handle is created. This fix
  21144. will make Lutz Roeder's Reflector run happily.
  21145. - now just creating the handle instead of the whole control when
  21146. getting a graphics context for the control.
  21147. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21148. * ScrollableControl.cs: When calculating the canvas, don't consider
  21149. the scrollbar widths. Instead, predict if horizontal scrollbar
  21150. will affect canvas when deciding on vertical display and vice versa.
  21151. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21152. * RichTextBox.cs: Set default RTF font for documents that don't
  21153. have a font table (Fixes #77076)
  21154. 2005-12-22 Jackson Harper <[email protected]>
  21155. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  21156. clipboard. This prevents a NullRef in that case.
  21157. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  21158. clipboard. PRIMARY is for the currently selected text only. (We
  21159. should implement PRIMARY at some point.
  21160. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21161. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  21162. a Unicode function with a structure that was defined in Ansi way.
  21163. This fixes #76942.
  21164. 2005-12-21 Jackson Harper <[email protected]>
  21165. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  21166. on. Because thats how it rolls. (and this avoids it using ambient
  21167. colours).
  21168. * ThemeWin32Classic.cs: Use the proper back color for filling.
  21169. * Menu.cs: Use the system menu bar color for drawing menu
  21170. bars. Using the window back color will bring ambient colours into
  21171. the picture.
  21172. 2005-12-21 Alexander Olk <[email protected]>
  21173. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  21174. Bitmaps were created and not disposed.
  21175. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21176. * Control.cs (CreateControl): Don't do anything if the control is
  21177. already created, otherwise we'd fire the OnCreated event more than
  21178. once
  21179. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21180. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  21181. will always match. Instead return -1. Fixes #76464.
  21182. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21183. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  21184. neither the beginning nor the end of the line (Fixes bug #76479)
  21185. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21186. * Control.cs:
  21187. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  21188. where handle is invalid
  21189. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  21190. instead of slower linear search
  21191. * NativeWindow.cs: Don't remove the window from the hashtable until
  21192. after the driver has destroyed it (since the driver might use
  21193. Control.FromHandle to lookup the control object
  21194. * Hwnd.cs: Added DestroyPending property to track if a window is
  21195. already destroyed as far as the driver is concerned and only hasn't
  21196. yet notified the control
  21197. * XplatUIX11.cs:
  21198. - Activate(): Check if the window is still valid before using the
  21199. handle
  21200. - Implemented DestroyChildWindow() method to mark child windows as
  21201. destroyed when a window is destroyed. This prevents situations
  21202. where we might call an X method based on queued events for a
  21203. window that already has been destroyed but we haven't yet pulled
  21204. the destroy method from the queue.
  21205. - Added a call to the new DestroyChildWindow() method to the drivers
  21206. DestroyWindow code. Also now marking the destroyed window itself
  21207. as pending
  21208. 2005-12-20 Jackson Harper <[email protected]>
  21209. * StatusBar.cs:
  21210. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  21211. anymore. Just do them when needed, also track the rects of panels
  21212. so that we can optimize refreshing more in the future.
  21213. 2005-12-20 Alexander Olk <[email protected]>
  21214. * ColorDialog.cs: Fixed focus drawing in small color controls
  21215. 2005-12-19 Jackson Harper <[email protected]>
  21216. * InternalWindowManager.cs:
  21217. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  21218. moving windows works properly.
  21219. 2005-12-19 Peter Dennis Bartok <[email protected]>
  21220. * Control.cs:
  21221. - Removed call to InitLayout() from SetBoundsCore(); doc says
  21222. it's only called when a control is added to a container
  21223. - Split InitLayout logic, moved to separate UpdateDistances() method
  21224. since we need to perform those calculations more often than just
  21225. when adding the control to a container. (Needed to fix #77022)
  21226. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  21227. - Reduced the OnBindingContextChanged events count, don't send them
  21228. unless the control is created, we still aren't totally matching
  21229. MS, but I can't quite figure out some of their rules
  21230. 2005-12-18 Alexander Olk <[email protected]>
  21231. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  21232. stripes
  21233. 2005-12-18 Alexander Olk <[email protected]>
  21234. * ThemeClearlooks.cs:
  21235. - Updated ProgressBar drawing
  21236. - Corrected drawing of ScrollBars and scroll buttons
  21237. - Some temporary fixes for minor pixel artefacts
  21238. 2005-12-18 Peter Dennis Bartok <[email protected]>
  21239. * Control.cs:
  21240. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  21241. cause events to be sent in the same order as MS does.
  21242. - Added ChangeParent() method to trigger various OnXXXChanged events
  21243. that need to be fired when a parent changes (This is a reworking
  21244. of the patch from r54254, with the X11 errors fixed)
  21245. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  21246. since on MS we get OnLayoutChanged events when calling Clear()
  21247. - Changed Enabled property to consider parent state as well, if a
  21248. parent is not enabled, the control will not be either
  21249. - Changed Parent property to simply call Controls.Add() since that
  21250. now does all the work required, this way we avoid code duplication
  21251. - Threw in a few OnBindingsContextChanged calls to try and match
  21252. when MS sends them. We seem to send a few too many, though.
  21253. - Added call to CreateControl when adding the control to a parent.
  21254. We were never calling CreateControl. Still needs some work, in
  21255. some places we treat HandleCreated and ControlCreated as equal,
  21256. which is wrong
  21257. - Removed obsolete commented out code from UpdateZOrder()
  21258. 2005-12-18 Alexander Olk <[email protected]>
  21259. * ThemeClearlooks.cs: Updated TrackBar drawing.
  21260. 2005-12-17 Alexander Olk <[email protected]>
  21261. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  21262. 2005-12-17 Alexander Olk <[email protected]>
  21263. * FileDialog.cs: Add the Help button and the open readonly
  21264. checkbox only if needed
  21265. 2005-12-16 Jackson Harper <[email protected]>
  21266. * Control.cs: Make sure we have an active menu before trying to
  21267. process commands on it. Prevents menu-less forms from crashing
  21268. when Alt is pressed.
  21269. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  21270. Dieter Bremes.
  21271. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  21272. 2.0 build.
  21273. 2005-12-16 Jackson Harper <[email protected]>
  21274. * InternalWindowManager.cs: Don't translate tool windows screen
  21275. coordinates. This fixes windows 'bouncing' around when being moved.
  21276. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21277. * TextBoxBase.cs:
  21278. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  21279. not quite MS compatible, MS uses that number only for single line
  21280. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  21281. the limit at 2GB)
  21282. - Now enforcing the MaxLength limit when entering characters
  21283. - Added argument to internal Paste() method to track if it's called
  21284. from programatically or via keyboard, since keyboard driven pastes
  21285. need to enforce max-length
  21286. - Added logic to Paste to only paste as many chars as MaxLength
  21287. allows
  21288. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  21289. * TextControl.cs:
  21290. - Added Length property to return number of characters in document
  21291. - Added private CharCount property which only tracks actual chars
  21292. in the document (no linefeeds) and fires event when CharCount
  21293. changes
  21294. - Added tracking of character count to all methods that alter it
  21295. - Added LengthChanged event to allow applications to subscribe
  21296. to any changes to the document
  21297. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21298. * TextBox.cs:
  21299. - Removed local password_char field (moved to TextBoxBase)
  21300. - Now setting the document's password var when password is
  21301. set
  21302. * TextBoxBase.cs:
  21303. - Added password_char field (needed here so MultiLine can
  21304. access it)
  21305. - Added logic to MultiLine property setter to set the document's
  21306. variable when password display is allowed
  21307. - Removed debug code and made some debug code conditional
  21308. * TextControl.cs:
  21309. - Added RecalculatePasswordLine() method to handle special password
  21310. char only lines
  21311. - Added PasswordChar property, also added related tracking vars
  21312. - Draw() method now uses local text var for grabbing text to draw,
  21313. this var is set to line.text unless we're doing password display,
  21314. then it is set to the pre-generated all-password-chars line
  21315. - Added calling RecalculatePasswordLine() method for password lines
  21316. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21317. * Hwnd.cs:
  21318. - Added Reparented property to allow tracking of Window Manager
  21319. reparenting actions (which affect X/Y calculations of toplevel
  21320. windows)
  21321. - Made ToString() print window handles in hex
  21322. * XplatUIX11.cs:
  21323. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  21324. determine if X/Y needs offsetting
  21325. - AddConfigureNotify(): Fixed offset calculations
  21326. - Now adds ReparentNotify messages into the queue
  21327. - Now processes ReparentNotify messages and causes a
  21328. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  21329. is reparented (as most likely it's X/Y coordinates are changed
  21330. due to that)
  21331. 2005-12-14 Jackson Harper <[email protected]>
  21332. * XplatUIX11.cs: Tool windows still need to respek focus.
  21333. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21334. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  21335. have a working release
  21336. 2005-12-13 Jackson Harper <[email protected]>
  21337. * Form.cs: Update styles after setting the border style regardless
  21338. of whether or not the window is using a window manager.
  21339. 2005-12-13 Jackson Harper <[email protected]>
  21340. * Form.cs: We now hook into an internal window manager instead of just an
  21341. MDI subsystem, this is so we can have properly behaving tool windows.
  21342. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  21343. * InternalWindowManager.cs: New internal class that acts as a
  21344. window manager for tool windows and as a base for mdi windows.
  21345. * MdiWindowManager.cs: New class that acts as a window manager for
  21346. mdi windows.
  21347. 2005-12-12 Jackson Harper <[email protected]>
  21348. * Control.cs: Updates so we match behavoir for for implicit
  21349. controls. Fixes explosions in MDI.
  21350. 2005-12-12 Jackson Harper <[email protected]>
  21351. * Control.cs: Implement Invalidate (Region).
  21352. 2005-12-12 Peter Dennis Bartok <[email protected]>
  21353. * Control.cs:
  21354. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  21355. the same events as MS does. MS fires events for each property
  21356. except, for unknown reasons, Cursor, when the control is reparented.
  21357. I can't seem to totally match add/remove since MS also fires some
  21358. VisibleChanged events, which makes no sense. Consolidated the
  21359. parenting code into a separate method so it can be called from
  21360. both Add and Remove. set_Parent no longer needs any special logic
  21361. as it calls the parent's add method which implicitly fires
  21362. all events
  21363. - Removed some obsolete code and debug output
  21364. - Enabled state is inherited from parents, if this is enabled
  21365. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21366. * Form.cs: Removed commented out code
  21367. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21368. * Control.cs:
  21369. - Added internal version of Invoke, with additional argument
  21370. indicating if we're calling it from a Dispose() handler. That
  21371. way we can avoid BeginInvoke throwing an exception if we're
  21372. calling for an already destroyed window.
  21373. - Added a dispose argument to BeginInvokeInternal, and made the
  21374. check if a valid window handle chain exists conditional on
  21375. it not being a dispose call
  21376. - Removed code in DestroyHandle to destroy our children. Since we
  21377. now handle the WM_DESTROY message we will catch all our children
  21378. being destroyed.
  21379. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  21380. * Form.cs:
  21381. - Added a field to track the application context of the form.
  21382. - No need to set closing variable as response to WM_CLOSE, instead
  21383. we destroy the window. We also call PostQuitMessage if the form
  21384. has an application context (which makes it the main app form,
  21385. which, when closed terminates the app)
  21386. * XplatUI.cs:
  21387. - Dropped Exit() method, it's naming was confusing
  21388. - Added PostQuitMessage() which causes GetMessage to return false
  21389. once the message queue is empty
  21390. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  21391. PostQuitMessage()
  21392. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  21393. no longer a valid XplatUI method, but left it in since it's used
  21394. internally. Added empty PostQuitMessage() method.
  21395. * MenuAPI.cs: Replaced call to Exit() with call to
  21396. PostQuitMessage, even though this is probably no longer needed.
  21397. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  21398. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  21399. * Application.cs:
  21400. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  21401. - Removed old debug code that would call XplatUI for exception
  21402. display, enabled standard exception handling (Still not enabled
  21403. though, until NativeWindow's ExternalExceptionHandler define
  21404. is removed
  21405. * NativeWindow.cs:
  21406. - Added internal method to allow control to update NativeWindow
  21407. after a window has been destroyed
  21408. - Added handling of already destroyed windows when calling i
  21409. DestroyWindow
  21410. - Added removal of handle from list on ReleaseHandle
  21411. * XplatUIX11.cs:
  21412. - Dropped GetMessageResult var and related code
  21413. - Added PostQuitState to field to track if PostQuitMessage has been
  21414. called
  21415. - Dropped Exit() method
  21416. - Added PostQuitMessage() method
  21417. - GetMessage now will return false if PostQuitState is set and no
  21418. more messages are in the queue.
  21419. - Expose handler will no longer generate WM_PAINT messages if we are
  21420. in PostQuitState since it's very likely any windows have already
  21421. been destroyed, and since Hwnd won't get updated until we have
  21422. processed the DestroyNotify we'd be causing X errors.
  21423. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21424. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  21425. Thanks to Mike for pointing out the err of my ways.
  21426. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21427. * Control.cs(PreProcessMessage): Moved menu handling back, but
  21428. after all other key handling, to match MS (who handles Menu in
  21429. DefWndProc)
  21430. * Menu.cs (WndProc): Removed my brainfart
  21431. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21432. * Control.cs(PreProcessMessage): Removed special menu handling
  21433. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  21434. 2005-12-07 Mike Kestner <[email protected]>
  21435. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  21436. state according in tracker.
  21437. * Menu.cs : promote tracker field to base class and provide a tracker
  21438. lookup capability. Add/Remove shortcuts dynamically if the top menu
  21439. has a tracker. Unparent items that are removed from the collection.
  21440. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  21441. * Theme*.cs: add always_show_hotkeys field to support configurability
  21442. of mnemonic display. win32 doesn't show mnemonics until Alt is
  21443. pressed.
  21444. 2005-12-07 Jackson Harper <[email protected]>
  21445. * MdiChildContext.cs: Use Control.ResetCursor.
  21446. * Control.cs: ResetCursor needs to set the property so that the
  21447. correct XplatUI call gets made.
  21448. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21449. * Control.cs: More fixes to make our key events match MS. We
  21450. were not setting the modifier state on KeyData, and we were
  21451. not generating any events when Alt was pressed with a key
  21452. since handling of WM_SYSxxx was missing for the OnKey methods.
  21453. 2005-12-07 Jackson Harper <[email protected]>
  21454. * MdiChildContext.cs: reenable the sizing code.
  21455. - When the mouse leaves a window reset its cursor.
  21456. 2005-12-07 Alexander Olk <[email protected]>
  21457. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  21458. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21459. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  21460. widths of Fixed3D borders
  21461. 2005-12-07 Jackson Harper <[email protected]>
  21462. * MdiClient.cs: Fix warnings. Earn Mike's love.
  21463. 2005-12-07 Alexander Olk <[email protected]>
  21464. * ThemeClearlooks.cs:
  21465. - Adjusted mouse over button color
  21466. - Added first parts of CheckBox drawing
  21467. - Added correct color for selected text background
  21468. - Fixed ComboBox drawing
  21469. - Added CPDrawBorder3D and CPDrawBorder
  21470. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21471. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  21472. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21473. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  21474. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  21475. alert users via sound. We could add an enum arg with different
  21476. types of alerts in the future
  21477. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21478. * Control.cs: Fix behaviour problems pointed out by Mike
  21479. 2005-12-05 Mike Kestner <[email protected]>
  21480. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  21481. prop setters. Calls parent.Refresh for now, but could be maybe be
  21482. optimized with an internal method on StatusBar at some point.
  21483. [Fixes #76513]
  21484. 2005-12-05 Peter Dennis Bartok <[email protected]>
  21485. * RichTextBox.cs: Implemented get_SelectionColor
  21486. 2005-12-05 Alexander Olk <[email protected]>
  21487. * ThemeClearlooks.cs:
  21488. - Removed dead code
  21489. - Draw black button border only if button is Form.AcceptButton
  21490. - Draw correct button color for pressed RadioButton if the mouse
  21491. has entered the button
  21492. - Updated ProgressBar drawing!
  21493. - Updated CPDrawSizeGrip drawing
  21494. - Updated StatusBarPanel drawing
  21495. 2005-12-05 Mike Kestner <[email protected]>
  21496. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  21497. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  21498. 2005-12-04 Alexander Olk <[email protected]>
  21499. * ThemeClearlooks.cs: Initial check-in, activate with
  21500. export MONO_THEME=clearlooks
  21501. * ThemeEngine.cs: Added ThemeClearlooks
  21502. 2005-12-03 Mike Kestner <[email protected]>
  21503. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  21504. [Fixes #76897]
  21505. 2005-12-02 Jackson Harper <[email protected]>
  21506. * Form.cs: If the child form has no menu the default main menu is
  21507. used as the active menu.
  21508. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21509. * ListBox.cs: Check if any items exist before trying to resolve
  21510. coordinates into items
  21511. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21512. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  21513. as the second color for the background hatch
  21514. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21515. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  21516. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  21517. sure that what we pass to FormatText is always 1-based. Fixes #76885
  21518. 2005-11-29 Miguel de Icaza <[email protected]>
  21519. * NumericUpDown.cs (EndInit): When we are done initializing,
  21520. reflect any updates on the UI.
  21521. 2005-12-02 Jackson Harper <[email protected]>
  21522. * ImplicitHScrollBar.cs:
  21523. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  21524. their container controls.
  21525. * TreeView.cs: Use the new implicit scrollbars.
  21526. 2005-12-02 Jackson Harper <[email protected]>
  21527. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  21528. can play with it.
  21529. * TreeNodeCollection.cs: If we remove the topnode we need to
  21530. update topnode to the next node in line.
  21531. - When clearing nodes go through the same process as removing
  21532. them, so they get depareneted and checked if they are top node.
  21533. 2005-12-01 Jackson Harper <[email protected]>
  21534. * TreeView.cs: When imagelists are used the image area is
  21535. selectable as well as the text.
  21536. - If there are no selected nodes select the first one.
  21537. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  21538. so don't do it more then we need to.
  21539. 2005-12-01 Jackson Harper <[email protected]>
  21540. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  21541. that arrows can be scaled.
  21542. 2005-12-01 Jackson Harper <[email protected]>
  21543. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  21544. fail. Patch by Dieter Bremes
  21545. 2005-11-30 Jackson Harper <[email protected]>
  21546. * Form.cs: Property is 2.0 only
  21547. * PrintDialog.cs: Signature fix.
  21548. 2005-11-30 Peter Dennis Bartok <[email protected]>
  21549. * TextControl.cs:
  21550. - No longer artificially moves text 2 pixels down (now that we have
  21551. borders this is no longer needed)
  21552. - Added calcs for left, hanging and right indent
  21553. 2005-11-23 Mike Kestner <[email protected]>
  21554. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  21555. 2005-11-30 Jackson Harper <[email protected]>
  21556. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  21557. get cloned as part of CloneMenu ().
  21558. * Menu.cs: Make sure the parent of the items get set correctly
  21559. when they are added. And the owners are notified of the changes.
  21560. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  21561. we can change the menu being displayed/handled by the form without
  21562. changing the menu assosciated with the form.
  21563. - Don't let Mdi children draw/handle menus.
  21564. 2005-11-30 Jackson Harper <[email protected]>
  21565. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  21566. a MenuChanged event. Just to make the API a little more
  21567. consistent.
  21568. * MainMenu.cs:
  21569. * MenuItem.cs: Use the new OnMenuChanged
  21570. * MdiChildContext.cs: Handle menu merging.
  21571. * Form.cs: Implement MergedMenu.
  21572. 2005-11-30 Jackson Harper <[email protected]>
  21573. * Menu.cs: We were misusing Add. Add goes behind the specified
  21574. index according to the docs, and does not replace the specified
  21575. index. So I added an Insert method.
  21576. 2005-11-30 Peter Dennis Bartok <[email protected]>
  21577. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  21578. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  21579. is for Jackson
  21580. * RichTextBox.cs: Added calls to base for DnD events
  21581. 2005-11-28 Peter Dennis Bartok <[email protected]>
  21582. * TextControl.cs:
  21583. - Fixed drag-selection related crash; style fixes
  21584. - Implemented undo class
  21585. o Implemented method to capture document state for specified
  21586. range in document tree
  21587. o Implemented method to restore captured document state
  21588. o Implemented cursor tracking
  21589. o Implemented basic undo stack
  21590. - Added undo cursor tracking to methods altering cursor location
  21591. - Added undo tracking to selection deletion (still missing
  21592. other text-altering hookups)
  21593. * RichTextBox.cs:
  21594. - Added SelectionLength property
  21595. - Implemented CanPaste()
  21596. - Implemented Paste()
  21597. - Added missing protected methods
  21598. - Fixed RTF->Document conversion; now uses font index 0 and color
  21599. index 0 as the default font for the parsed text
  21600. - Fixed RTF<->Document font size translation
  21601. - Fixed RTF generation, now properly handles cross-tag boundaries
  21602. for single line selection
  21603. - No longer always appends blank line to generated RTF
  21604. - Removed TODOs
  21605. - Added missing attributes
  21606. - Hooked up undo-related methods
  21607. * TextBoxBase.cs:
  21608. - Implemented Copy()
  21609. - Implemented Paste()
  21610. - Implemented Cut()
  21611. - Fixed caret mis-behaviour on backspace across line-boundaries
  21612. 2005-11-29 Jackson Harper <[email protected]>
  21613. * MdiClient.cs: Add a method for activating mdi children. Very
  21614. basic right now. I imagine someday it might need more girth.
  21615. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  21616. children windows names are added to the menu item.
  21617. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  21618. mdilist. This happens regardless of whether or not there are any
  21619. mdi windows to see in the list, and according to my tests happens
  21620. before the items are even added. Also happens if there isn't even
  21621. an mdi client to get windows from.
  21622. 2005-11-29 Alexander Olk <[email protected]>
  21623. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  21624. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  21625. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  21626. * DataGridTableStyle.cs:
  21627. - Create always the styles for the missing columns even if they are
  21628. provided by the user (not default table style)
  21629. * DataGrid.cs:
  21630. - Fixes bug 76770
  21631. - Fixes SetDataBinding (always re-attach source)
  21632. - Fixes SetNewDataSource (only clear styles if they are not for
  21633. this source)
  21634. - Expands OnTableStylesCollectionChanged to handle style refresh
  21635. and remove properly
  21636. 2005-11-29 Jackson Harper <[email protected]>
  21637. * FileDialog.cs: Implement missing bits, remove some dead
  21638. code.
  21639. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  21640. creation of the panel so that the options set on the dialog are
  21641. seen when the panel is created.
  21642. * TreeView.cs: raise a click when items are clicked.
  21643. 2005-11-29 Jackson Harper <[email protected]>
  21644. * MdiClient.cs: Pass some signature methods through to base.
  21645. 2005-11-28 Jackson Harper <[email protected]>
  21646. * ListView.cs: Raise the click event when items are clicked.
  21647. 2005-11-28 Jackson Harper <[email protected]>
  21648. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  21649. a nullref.
  21650. 2005-11-27 Alexander Olk <[email protected]>
  21651. * ThemeNice.cs: - Removed 1 pixel bitmaps
  21652. - Use SmoothingMode.AntiAlias where it makes sense
  21653. (ScrollButton arrow for example)
  21654. - Enhanced Button focus drawing
  21655. - Fixed ComboBox drawing (no artefacts anymore, focus
  21656. rectangle is back again, reduced size of ComboButton, etc.)
  21657. - Fixed RadioButton focus drawing for Appearence.Button
  21658. - Slight ScrollButton redesign
  21659. - Some LinearGradientBrush size fixes
  21660. - GroupBoxes have now rounded edges
  21661. - Fixed StatusBar drawing
  21662. 2005-11-25 Alexander Olk <[email protected]>
  21663. * ThemeNice.cs: - Remove dead code
  21664. - use correct background colors for menus, etc.
  21665. - Fake pixel drawing with 1 pixel bitmaps
  21666. 2005-11-24 Jackson Harper <[email protected]>
  21667. * MdiClient.cs: Size the scrollbars when resizing the window.
  21668. - Resize the maximized windows when the client is resized
  21669. * Form.cs: Make the child context available
  21670. 2005-11-23 Jackson Harper <[email protected]>
  21671. * MdiChildContext.cs: Don't size windows if they are maximized.
  21672. 2005-11-23 Mike Kestner <[email protected]>
  21673. * ContextMenu.cs: use MenuTracker.
  21674. * Control.cs: remove menu handle usage.
  21675. * Form.cs: remove menu handle usage.
  21676. * Hwnd.cs: remove menu handle usage.
  21677. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  21678. motion and clicks to the new Tracker handlers.
  21679. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  21680. and handle usage.
  21681. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  21682. Killed the MENU and MENUITEM data types and associated collections
  21683. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  21684. MenuTracker class that exposes the leftovers from the old MenuAPI
  21685. static methods. Restructured Capture handling so that only one grab is
  21686. done for the entire menu hierarchy instead of handing off grabs to
  21687. submenus. Tracker now has an invisible control to Capture when active.
  21688. * MenuItem.cs: add sizing accessors, kill Create
  21689. and handle usage.
  21690. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  21691. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  21692. MENU(ITEM). remove menu handle usage, use Menu directly.
  21693. * XplatUIDriver.cs: remove menu handle usage.
  21694. * XplatUIOSX.cs: remove menu handle usage.
  21695. * XplatUIWin32.cs: remove menu handle usage.
  21696. * XplatUIX11.cs: remove menu handle usage.
  21697. 2005-11-22 Jackson Harper <[email protected]>
  21698. * Hwnd.cs: Don't compute the menu size for
  21699. DefaultClientRectangle.
  21700. - Reenable menu sizes being computed for GetClienRectangle.
  21701. * Form.cs: Remove comment of trechery
  21702. 2005-11-22 Jackson Harper <[email protected]>
  21703. * Hwnd.cs: The adjustments for the menu bar are made when it is
  21704. attached to the form.
  21705. 2005-11-19 Jackson Harper <[email protected]>
  21706. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  21707. (just like on windows).
  21708. 2005-11-19 Jackson Harper <[email protected]>
  21709. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  21710. use real buttons anymore because they are in non client area. The
  21711. one TODO here is that I need to somehow invalidate a section of
  21712. the non client area.
  21713. 2005-11-18 Jackson Harper <[email protected]>
  21714. * Control.cs: Put the enum check back in now that MDI doesnt have
  21715. to use this to set border styles.
  21716. * Form.cs: Only set mdi child windows borders if the handle has
  21717. been created.
  21718. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  21719. this directly on to the driver.
  21720. - Get the move start position before adjusting for the titlebar
  21721. height, this fixes the windows "skipping" when they are first
  21722. moved.
  21723. 2005-11-18 Jackson Harper <[email protected]>
  21724. * XplatUIX11.cs: Just compute the mdi borders separately as they
  21725. don't totally match up with normal form borders.
  21726. 2005-11-18 Jackson Harper <[email protected]>
  21727. * Control.cs: Set WS_ styles for borders, so that the driver does
  21728. not have to retrieve the control instance to figure out what kind
  21729. of borders it should have.
  21730. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  21731. driver can know its an mdi child easily.
  21732. * XplatUIX11.cs: Get the border styles and whether the window is
  21733. MDI from the Styles and ExStyles params instead of having to get a
  21734. control. This prevents a chicken and egg problem.
  21735. 2005-11-18 Jackson Harper <[email protected]>
  21736. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  21737. 2005-11-18 Jackson Harper <[email protected]>
  21738. * MdiClient.cs: Calculate when to add and remove scrollbars
  21739. correctly.
  21740. * MdiChildContext.cs: Adjust the y position to take the titlebar
  21741. into account.
  21742. - No height for FormBorderStyle.None
  21743. 2005-11-18 Jackson Harper <[email protected]>
  21744. * Control.cs: Allow non enum values to be used for
  21745. InternalBorderStyle. MDI does this to set a special border style.
  21746. - New utility methods for converting points to/from client coords
  21747. - Add the newly created control to the Controls collection before
  21748. updating its style. This way UpdateStyle can walk the control
  21749. heirarchy to find the control if needed.
  21750. so I don't need to create a new Point object all the time.
  21751. * Form.cs: Let MDI windows handle their border styles.
  21752. - Set styles on MDI windows so the correct title style is derived.
  21753. * MdiChildContext.cs: Move all the painting and window handling
  21754. into the non client area.
  21755. - Use correct sizing and put correct buttons on frames based on
  21756. the FormBorderStyle.
  21757. - Notify the mdi client about scrolling
  21758. - Need to handle the buttons ourselves now, because they are all
  21759. in non client areas and we can't add controls there.
  21760. * MdiClient.cs: Halfway to scrolling, this implementation is
  21761. somewhat broken though, we need to check to make sure other
  21762. windows aren't causing scrolling before removing the bars. Also
  21763. the bars need to be drawn on top, maybe I can switch implicit
  21764. controls to be on top.
  21765. * Hwnd.cs: caption_height and tool_caption_height are now
  21766. properties of an hwnd, this way they can be set by the driver
  21767. based on the type of window they are. In X11 the window manager
  21768. handles the decorations so caption_height is zero unless its an
  21769. MDI window.
  21770. - Add 3 pixel borders for MDI windows (0xFFFF).
  21771. - Get rid of some code duplication, have DefaultClientRectanle
  21772. just call GetClientRectangle.
  21773. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  21774. Hwnd now.
  21775. - Set border styles differently for mdi windows.
  21776. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  21777. Hwnd now.
  21778. 2005-11-15 Mike Kestner <[email protected]>
  21779. * Menu.cs: when adding an item to the collection, if item is already
  21780. parented, remove it from the parent.
  21781. 2005-11-13 Alexander Olk <[email protected]>
  21782. * X11DesktopColors.cs: Added KDE support
  21783. 2005-11-11 Peter Dennis Bartok <[email protected]>
  21784. * XplatUIWin32.cs:
  21785. - Clipboard methods now can translate Rtf format
  21786. - No longer removes clipboard contents whenever a new format is added
  21787. to allow placing multiple formats on the clipboard
  21788. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  21789. will place all formats contained in it onto the clipboard. Also
  21790. now cleans the clipboard before placing a new object onto it
  21791. * RichTextBox.cs:
  21792. - Implemented set_Rtf
  21793. - Implemented set_SelectedRtf
  21794. - Created InsertRTFFromStream() method to allow single code base
  21795. for all properties and methods that insert RTF into document
  21796. - Removed debug output
  21797. * TextControl.cs:
  21798. - Fixed Delete(int) to fix up line numbers
  21799. - Fixed ReplaceSelection to combine start and end line
  21800. - Fixed serious DeleteChars bug that would leave the document tree
  21801. broken
  21802. - Improved DumpTree with several logic checks to detect broken
  21803. document trees
  21804. - Removed debug lines
  21805. - Fixed Caret.WordForward/WordBack moving code, now always also
  21806. updates caret.tag (fixes crash when word-selecting across tag
  21807. boundaries via keyboard)
  21808. - Added Insert() method for inserting multiline text into documents
  21809. - Fixed DeleteChars() calculation errors that would cause a broken
  21810. tag chain with multiple tag lines
  21811. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  21812. - Split() no longer moves caret if split is at caret location
  21813. - ReplaceSelection() now updates the cursor and re-displays it
  21814. - ReplaceSelection() now uses new Insert() method to avoid code
  21815. duplication
  21816. - FormatText() can now handle formatting partial lines
  21817. * TextBoxBase.cs:
  21818. - Append now uses new TextControl.Insert() method (this avoids
  21819. duplicate code)
  21820. - Implemented Ctrl-X (Cut) (
  21821. - Implemented Ctrl-C (Copy)
  21822. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  21823. regeneration when pasting text; roundtripping Copy&Paste within
  21824. edit control still fails due to some calculation bugs in GenerateRTF)
  21825. - The Delete key will now remove the current selection if it is visible
  21826. * TextBox.cs: Removed debug lines
  21827. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  21828. driver to be initialized and can't therefore be done via a static ctor)
  21829. 2005-11-10 Peter Dennis Bartok <[email protected]>
  21830. * TextControl.cs: Added backend code for finding char arrays and strings
  21831. * TextBoxBase.cs:
  21832. - Added mouse wheel scroll support
  21833. - Added support for VScroll and HScroll events
  21834. * RichTextBox.cs:
  21835. - Implemented all seven Find() variants
  21836. - Implemented GetCharFromPosition()
  21837. - Implemented GetCharIndexFromPosition()
  21838. - Implemented GetLineFromIndex()
  21839. - Implemented GetPositionFromCharIndex();
  21840. - Implemented SaveFile for PlainText and UnicodeText
  21841. - Fixed set_Font, now setting a new font applies that font to
  21842. the whole document
  21843. - Implemented generic Document to RTF converter
  21844. - Implemented SaveFile for RichText format (still missing unicode
  21845. conversion for non-ansi chars)
  21846. - Implemented get_Rtf
  21847. - Implemented get_SelectedRtf
  21848. 2005-11-09 Peter Dennis Bartok <[email protected]>
  21849. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  21850. to allow any captures to be released before triggering OnClick. This
  21851. way a click handler may capture the mouse without interference.
  21852. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  21853. This way we send them even though X may not allow a grab (if the window
  21854. isn't visible, for example)
  21855. 2005-11-08 Pedro Martinez Julia <[email protected]>
  21856. * DataGridViewRowEventArgs.cs: DataGridView implementation
  21857. * DataGridViewElement.cs: DataGridView implementation
  21858. * DataGridViewComboBoxCell.cs: DataGridView implementation
  21859. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  21860. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  21861. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  21862. * ImageLayout.cs: DataGridView implementation
  21863. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  21864. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  21865. * DataGridViewSelectionMode.cs: DataGridView implementation
  21866. * IDataGridViewEditingControl.cs: DataGridView implementation
  21867. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  21868. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  21869. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  21870. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  21871. * DataGridViewColumnSortMode.cs: DataGridView implementation
  21872. * DataGridView.cs: DataGridView implementation
  21873. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  21874. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  21875. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  21876. * Padding.cs: DataGridView implementation
  21877. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  21878. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  21879. * DataGridViewRowEventHandler.cs: DataGridView implementation
  21880. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  21881. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  21882. * DataGridViewButtonCell.cs: DataGridView implementation
  21883. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  21884. * DataGridViewEditMode.cs: DataGridView implementation
  21885. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  21886. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  21887. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  21888. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  21889. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  21890. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  21891. * DataGridViewCellEventHandler.cs: DataGridView implementation
  21892. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  21893. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  21894. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  21895. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  21896. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  21897. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  21898. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  21899. * QuestionEventArgs.cs: DataGridView implementation
  21900. * IDataGridViewEditingCell.cs: DataGridView implementation
  21901. * DataGridViewTriState.cs: DataGridView implementation
  21902. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  21903. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  21904. * DataGridViewColumnCollection.cs: DataGridView implementation
  21905. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  21906. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  21907. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  21908. * DataGridViewColumn.cs: DataGridView implementation
  21909. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  21910. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  21911. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  21912. * DataGridViewRow.cs: DataGridView implementation
  21913. * DataGridViewImageCellLayout.cs: DataGridView implementation
  21914. * DataGridViewImageCell.cs: DataGridView implementation
  21915. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  21916. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  21917. * DataGridViewHeaderCell.cs: DataGridView implementation
  21918. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  21919. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  21920. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  21921. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  21922. * QuestionEventHandler.cs: DataGridView implementation
  21923. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  21924. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  21925. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  21926. * DataGridViewCell.cs: DataGridView implementation
  21927. * DataGridViewCellEventArgs.cs: DataGridView implementation
  21928. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  21929. * DataGridViewCellStyle.cs: DataGridView implementation
  21930. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  21931. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  21932. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  21933. * TextFormatFlags.cs: DataGridView implementation
  21934. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  21935. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  21936. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  21937. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  21938. * DataGridViewButtonColumn.cs: DataGridView implementation
  21939. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  21940. * HandledMouseEventArgs.cs: DataGridView implementation
  21941. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  21942. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  21943. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  21944. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  21945. * DataGridViewRowCollection.cs: DataGridView implementation
  21946. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  21947. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  21948. * DataGridViewHitTestType.cs: DataGridView implementation
  21949. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  21950. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  21951. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  21952. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  21953. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  21954. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  21955. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  21956. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  21957. * DataGridViewContentAlignment.cs: DataGridView implementation
  21958. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  21959. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  21960. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  21961. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  21962. * DataGridViewPaintParts.cs: DataGridView implementation
  21963. * DataGridViewCellCollection.cs: DataGridView implementation
  21964. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  21965. * DataGridViewImageColumn.cs: DataGridView implementation
  21966. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  21967. * DataGridViewElementStates.cs: DataGridView implementation
  21968. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  21969. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  21970. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  21971. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  21972. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  21973. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  21974. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  21975. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  21976. * DataGridViewTextBoxCell.cs: DataGridView implementation
  21977. * DataGridViewBand.cs: DataGridView implementation
  21978. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  21979. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  21980. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  21981. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  21982. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  21983. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  21984. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  21985. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  21986. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  21987. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  21988. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  21989. 2005-11-08 Peter Dennis Bartok <[email protected]>
  21990. * ThemeWin32Classic.cs:
  21991. - Draw the outside focus rectangle around buttons
  21992. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  21993. doesn't use end caps for every dash of a line anymore. This
  21994. workaround ignores the forecolor.
  21995. 2005-11-08 Kornél Pál <[email protected]>
  21996. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  21997. endian safe.
  21998. 2005-11-07 Jackson Harper <[email protected]>
  21999. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  22000. 2005-11-07 Jackson Harper <[email protected]>
  22001. * ScrollableControl.cs: Calculate the maximum and change vars
  22002. (more) correctly so that scrollbars appear as a sensible size.
  22003. 2005-11-04 Jackson Harper <[email protected]>
  22004. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  22005. collection.
  22006. * TreeView.cs: When the tree is sorted null out the top_node so
  22007. that it is recalculated.
  22008. - Use dotted lines instead of dashed lines to match MS better.
  22009. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  22010. * ListView.cs:
  22011. - Implements key search for items. Useful when browsing files with FileDialog
  22012. - When changing view mode or when clear the items reset scrollbar positions
  22013. 2005-11-04 Jackson Harper <[email protected]>
  22014. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  22015. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  22016. as to what the method may do as there is no real way of creating a
  22017. derived CurrencyManager and calling the method.
  22018. 2005-11-03 Jackson Harper <[email protected]>
  22019. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  22020. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  22021. method which seems to just be used internally to refresh the tabs.
  22022. 2005-11-03 Jackson Harper <[email protected]>
  22023. * TabControl.cs: Implement the remove method. Fix some broken
  22024. comments.
  22025. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22026. * DateTimePicker.cs:
  22027. - Added missing DateTimePickerAccessibleObject class
  22028. - Added missing events
  22029. - Added OnFontChanged method
  22030. * Form.cs: Added missing attributes
  22031. * TreeView.cs: Added missing attributes
  22032. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22033. * GridItemCollection.cs: Fix signatures
  22034. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22035. * XplatUI.cs: Updated build rev/date
  22036. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  22037. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  22038. * Application.cs: Trigger context-specific ExitThread events
  22039. 2005-11-03 Jackson Harper <[email protected]>
  22040. * Menu.cs:
  22041. * MainMenu.cs:
  22042. * GridTableStylesCollection.cs:
  22043. * Timer.cs:
  22044. * TabPage.cs:
  22045. * HelpProvider.cs:
  22046. * StatusBar.cs:
  22047. * MonthCalendar.cs: Signature fixes
  22048. 2005-11-03 Jackson Harper <[email protected]>
  22049. * TreeNodeCollection.cs: Remove should not be virtual.
  22050. * TreeView.cs: Implement the last of the missing methods.
  22051. 2005-11-03 Jackson Harper <[email protected]>
  22052. * TreeNodeConverter.cs: Implement to get off my class-status back.
  22053. 2005-11-03 Jackson Harper <[email protected]>
  22054. * TreeView.cs: Hookup the bits for drag and drop.
  22055. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  22056. that nodes can be moved from tree to tree easily this just causes
  22057. all sorts of problems.
  22058. * TreeNodeCollection: Don't need to give treenodes an index and
  22059. treeview anymore when they are added, these are computed on the
  22060. fly. Also make sure to remove a node before its added.
  22061. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22062. * TextControl.cs:
  22063. - Added CaretSelection enum
  22064. - Added comparison methods to Marker struct, makes selection code
  22065. more readable
  22066. - Added SelectionStart and SelectionEnd as 'moveable' location for
  22067. the CaretDirection enum and handler
  22068. - Added selection_prev variable to track optimized invalidation for
  22069. word and line selection
  22070. - Added SelectionVisible property (returns true if there is a valid
  22071. selection)
  22072. - Switched CaretHasFocus to only display the caret if there is no
  22073. visible selection
  22074. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  22075. using the direct character index; should be much faster
  22076. - Added various conditional debug statements
  22077. - Fixed invalidation calculation for selection ranges
  22078. - Added ExpandSelection() method to support word and line selection
  22079. - Switched SetSelectionToCaret to use new Marker compare overloads
  22080. - Added central IsWordSeparator() method to determine word
  22081. separators/whitespace and FindWordSeparator() to streamline common
  22082. usage of IsWordSeparator()
  22083. * TextBoxBase.cs:
  22084. - Removed unneeded grabbed variable, it was just mirroring
  22085. Control.Capture
  22086. - No longer firing OnTextChanged event when Text setter is called,
  22087. since the base will fire the event for us
  22088. - Added handling of Ctrl-Up/Down selection
  22089. - Added handling of Shift-Cursorkey selection
  22090. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  22091. words
  22092. - Added handling of Shift and Ctrl-Shift-Home/End selection
  22093. - Removed some debug output
  22094. - Added handling for single/double/tripple-click to place caret/
  22095. select word/select line respectively (Fixes bug #76031)
  22096. - Added support for drag expansion of word/line selection
  22097. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  22098. current selection
  22099. 2005-11-02 Jackson Harper <[email protected]>
  22100. * X11Dnd.cs: If the drag is going to and from a MWF window just
  22101. copy the data instead of sending it out through the X Selection
  22102. mechanism.
  22103. 2005-11-02 Jackson Harper <[email protected]>
  22104. * X11Dnd.cs:
  22105. * XplatUIX11.cs: When in a drag we don't want motion notify
  22106. messages to get passed on to the other controls. This prevents
  22107. mouse move messages from showing up in the drag source.
  22108. 2005-11-02 Jackson Harper <[email protected]>
  22109. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  22110. the correct button is release to end a drag.
  22111. * XplatUIX11.cs: Make the button state internal so the drag system
  22112. can access it. Dragging needs to know about all button releases,
  22113. not just left button.
  22114. 2005-11-02 Miguel de Icaza <[email protected]>
  22115. * Form.cs (Icon): If the icon is null, reset the icon to the
  22116. default value.
  22117. * Cursor.cs: When writing the AND-mask bitmap do not include the
  22118. number of colors, but hardcode those to two (black and white),
  22119. fixes the loading of color cursors (Paint Dot Net).
  22120. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  22121. turn off autoscaling.
  22122. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  22123. 2005-11-02 Jackson Harper <[email protected]>
  22124. * X11Dnd.cs: Make sure to send a status message if the pointer
  22125. enters a control that can not accept a drop, otherwise the cursor
  22126. isn't updated correctly. Also tried to compress the lines of code
  22127. a bit.
  22128. 2005-11-02 Jackson Harper <[email protected]>
  22129. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  22130. set actions correctly. This isn't perfect as XDND and win32 have
  22131. some differences on how you allow actions. I'll clear this up by
  22132. adding a path for drag from MWF to MWF windows.
  22133. * XplatUIX11.cs: Hook into the dnd system.
  22134. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  22135. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  22136. previously shown but they are no longer need it. Very obvious when
  22137. browsing files with FileDialog.
  22138. 2005-11-01 Peter Dennis Bartok <[email protected]>
  22139. * Control.cs: We always need to call OnPaintBackground. We pretty much
  22140. ignore AllPaintingInWmPaint and always do the painting there, whether
  22141. it's set or not, since we always ignore the WM_ERASEBKGND message
  22142. (which we don't generate on X11). This fixes #76616.
  22143. * Panel.cs: Removed unneeded background painting. This happens properly
  22144. in Control.cs already
  22145. 2005-10-31 Mike Kestner <[email protected]>
  22146. * Menu.cs: Add items to collection before setting their index.
  22147. * MenuItem.cs : add range checking with ArgumentException like MS.
  22148. [Fixes #76510]
  22149. 2005-10-31 Jackson Harper <[email protected]>
  22150. * ListBox.cs: Invalidate if the area is visible at all not just
  22151. contained in the visible rect. Fixes unselection of semi visible
  22152. items.
  22153. 2005-10-31 Jackson Harper <[email protected]>
  22154. * Control.cs: Consistently name the dnd methods. Make them
  22155. internal so we can override them to match some MS behavoir
  22156. internally.
  22157. * Win32DnD.cs: Use the new consistent names.
  22158. 2005-10-31 Jackson Harper <[email protected]>
  22159. * TreeView.cs: Don't draw the selected node when we lose focus.
  22160. 2005-10-31 Jackson Harper <[email protected]>
  22161. * X11Dnd.cs: We still need to reset the state even though a full
  22162. reset isn't being done, otherwise status's still get sent all over
  22163. the place.
  22164. 2005-10-31 Jackson Harper <[email protected]>
  22165. * Control.cs: Make the dnd_aware flag internal so the dnd
  22166. subsystem can check it. Catch exceptions thrown in dnd handlers to
  22167. match MS behavoir.
  22168. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  22169. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  22170. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  22171. flags to reduce the number of dnd enters/status's sent.
  22172. 2005-10-31 Jackson Harper <[email protected]>
  22173. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  22174. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  22175. * PictureBox.cs: Fixes 76512
  22176. 2005-10-28 Jackson Harper <[email protected]>
  22177. * X11Dnd.cs: Early implementation to support winforms being a drag
  22178. source for data on X11. Also restructured the converters so they
  22179. can go both ways now.
  22180. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  22181. 2005-10-27 Peter Dennis Bartok <[email protected]>
  22182. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  22183. clipboard requests
  22184. 2005-10-27 Jackson Harper <[email protected]>
  22185. * TreeNode.cs: Implement serialization so my DnD examples will work.
  22186. 2005-10-24 Kornél Pál <[email protected]>
  22187. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  22188. TreeView.cs: Don't dispose objects that are not owned.
  22189. 2005-10-24 Peter Dennis Bartok <[email protected]>
  22190. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  22191. should retrieve the current cursor and report that, but XplatUI
  22192. doesn't (yet) have an interface for that (and I'm not sure I even
  22193. can, on X11)
  22194. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  22195. until any message loop processing is done (and the WM_SETCURSOR
  22196. replaces the cursor to the proper one)
  22197. * XplatUIX11.cs:
  22198. - Fixed override behaviour, we can't set the cursor globally on X11,
  22199. just for our windows.
  22200. - Invalidating the System.Drawing X11 display handle when we are
  22201. shutting down
  22202. * Control.cs: Fix to make csc happy
  22203. 2005-10-23 Peter Dennis Bartok <[email protected]>
  22204. * TextBoxBase.cs:
  22205. - get_Text: Add last line (without trailing newline) to returned
  22206. value (Fixes 76212)
  22207. - get_TextLength: Count last line in returned length
  22208. - ToString: Call Text property instead of duplicating code
  22209. 2005-10-23 Kornél Pál <[email protected]>
  22210. * ImageList.cs: Dispose ImageAttributes objects.
  22211. 2005-10-22 Kornél Pál <[email protected]>
  22212. * ImageList.cs: Use attribute constructors with less arguments where
  22213. possible.
  22214. 2005-10-22 Kornél Pál <[email protected]>
  22215. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  22216. Use typeof instead of strings when assembly is referenced. Added
  22217. some more comments.
  22218. 2005-10-21 Jackson Harper <[email protected]>
  22219. * ListView.cs: Raise a double click event. Also tried to somewhat
  22220. fix when the selectedindexchanged event is raised. Its still
  22221. broken though.
  22222. 2005-10-21 Jackson Harper <[email protected]>
  22223. * TreeView.cs: New method to invalidate the plus minus area of a
  22224. node without invalidating the whole node (maybe this can be used
  22225. in some more places).
  22226. * TreeNodeCollection.cs: When adding to an empty node we need to
  22227. invalidate its plus minus area so the little block shows up.
  22228. 2005-10-21 Jackson Harper <[email protected]>
  22229. * TreeView.cs: Make sure that when we invalidate a node the bounds
  22230. are big enough to cover the selected box and the focus
  22231. rectangle. Use a different colour for the lines connecting nodes
  22232. so they show up with all themes.
  22233. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22234. * NativeWindow.cs: Don't call anything that could call into the driver,
  22235. we might be on a different thread.
  22236. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22237. * Control.cs(Dispose): Since Dispose might run on a different thread,
  22238. make sure that we call methods that could call into the driver via
  22239. invoke, to avoid thread issues
  22240. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22241. * XplatUI.cs: Removed finalizer
  22242. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  22243. not allowing to be called on the finalizer thread.
  22244. 2005-10-21 Kornél Pál <[email protected]>
  22245. * ImageList.cs:
  22246. - Reverted r51889 and r51891.
  22247. - Added ImageListItem class that stores unmodified image items and image
  22248. properties required to create list images until handle is created.
  22249. - Added AddItem and moved image creation logic to AddItemInternal.
  22250. - Added CreateHandle method that creates images based on unmodified items.
  22251. - Added DestroyHandle that changes state to store unmodified items.
  22252. - Add and AddStrip methods no more create handle.
  22253. - ReduceColorDepth has no return value.
  22254. - Dispose destroys handle.
  22255. - Modified other methods to reflect the above changes.
  22256. - Implemented key support.
  22257. - Added profile 2.0 members and attributes.
  22258. - Added private Reset and ShouldSerialize methods that provide the same
  22259. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  22260. them as they are private.
  22261. - Added some more comments about implementation details.
  22262. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22263. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  22264. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22265. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  22266. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22267. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  22268. * DataGridColumnStyle.cs: Remove debug message
  22269. 2005-10-20 Jackson Harper <[email protected]>
  22270. * TreeView.cs: We can always get input keys regardless of whether
  22271. or not editing is enabled. They are used for navigation.
  22272. 2005-10-20 Jackson Harper <[email protected]>
  22273. * TreeNode.cs: Use the viewport rect for determining if a node
  22274. needs to be moved for visibility. Don't use Begin/End edit. This
  22275. calls a full refresh when its done.
  22276. * TreeView.cs: New SetBottom works correctly. Make the viewport
  22277. rect property internal so the treenodes can see it. When clicking
  22278. on a node we need to ensure that its visible because it might just
  22279. be partly visible when clicked.
  22280. 2005-10-20 Jackson Harper <[email protected]>
  22281. * TreeNodeCollection.cs: Remove debug code.
  22282. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22283. * Datagrid.cs: Implements column sorting in Datagrid
  22284. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  22285. 2005-10-20 Jackson Harper <[email protected]>
  22286. * TreeNodeCollection.cs: Remove items properly. Update the correct
  22287. area after removing them.
  22288. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22289. * Datagrid.cs: Should not call base.OnPaintBackground
  22290. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22291. * XplatUIX11.cs (GetMessage):
  22292. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  22293. window instead of client window
  22294. - Now properly calculates NC_xBUTTONUP message coordinates
  22295. - ScreenToMenu now properly calculates it's coordinates of whole
  22296. window, since menus are in the whole window, not in the client
  22297. window
  22298. - Added WholeToScreen coordinate translation method
  22299. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22300. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  22301. want to return a message, loop back to the beginning of the function
  22302. and grab the next real message to process instead.
  22303. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22304. * Splitter.cs: Properly set limits if no filler control is used
  22305. 2005-10-19 Jackson Harper <[email protected]>
  22306. * ColorDialog.cs: Don't show the help button if it is not enabled
  22307. instead of disabling it (this is what MS does). Don't create the
  22308. panel until the dialog is run, otherwise the vars (such as
  22309. ShowHelp) are not set yet.
  22310. 2005-10-19 Jackson Harper <[email protected]>
  22311. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  22312. are reduced when adding nodes.
  22313. * TreeNode.cs:
  22314. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  22315. tree.
  22316. 2005-10-19 Jackson Harper <[email protected]>
  22317. * FolderBrowserDialog.cs: End editing our treeview so the window
  22318. actually gets refreshed.
  22319. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22320. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  22321. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  22322. inside of WM_PAINT
  22323. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22324. * MenuAPI.cs: Returns after Hidding window
  22325. * XplatUIX11.cs: Added TODO found while debugging menu issues
  22326. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22327. * XplatUIX11.cs: Do not re-map the whole window when it's size
  22328. becomes non-zero unless it's supposed to be actually visible
  22329. 2005-10-18 Jackson Harper <[email protected]>
  22330. * TreeView.cs: We don't need to keep a count anymore.
  22331. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  22332. use the Grow method.
  22333. 2005-10-18 Jackson Harper <[email protected]>
  22334. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  22335. implement it manually here.
  22336. 2005-10-18 Jackson Harper <[email protected]>
  22337. * ImageList.cs: Dont kill the list when the colour depth is
  22338. changed, just change the colour depth of all the images.
  22339. - Same goes for setting the image size. Just resize them all
  22340. instead of killing the list softly.
  22341. 2005-10-18 Jackson Harper <[email protected]>
  22342. * Control.cs: Don't invalidate empty rectangles.
  22343. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22344. * ListViewItem.cs:
  22345. - Adds checked item to the Checked/Item lists (where empty before)
  22346. - Do not add items to the Selected lists if they are already present
  22347. * ListView.cs:
  22348. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  22349. - When deleting items make sure that we delete them for the Selected
  22350. and Checked list also.
  22351. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22352. * Label.cs: Dispose objects no longer used
  22353. * ThemeWin32Classic.cs: Dispose objects no longer used
  22354. 2005-10-18 Jackson Harper <[email protected]>
  22355. * TabControl.cs: Don't refresh the whole control when the tabs are
  22356. scrolled, we just need to refresh the tab area.
  22357. 2005-10-17 Jackson Harper <[email protected]>
  22358. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  22359. after handle when we need it.
  22360. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22361. * Control.cs: When the parent size changes, recalculate anchor
  22362. positions. Partial fix for #76462
  22363. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22364. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  22365. drawn. Fixes #76462
  22366. 2005-10-17 Jackson Harper <[email protected]>
  22367. * MonthCalendar.cs: Don't create the numeric up down until our
  22368. handle is created. Otherwise our handle is created in the
  22369. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  22370. yet.
  22371. 2005-10-17 Jackson Harper <[email protected]>
  22372. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  22373. correctly.
  22374. 2005-10-17 Rafael Teixeira <[email protected]>
  22375. * TreeNode.cs : small logical fix (was using local var instead of field)
  22376. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22377. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  22378. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22379. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  22380. 2005-10-16 Peter Dennis Bartok <[email protected]>
  22381. * Control.cs:
  22382. - Re-implemented anchoring code. My first version was really broken.
  22383. This fixes bug #76033. Unlike the previous implementation we will
  22384. no longer have round errors since all numbers are calculated from
  22385. scratch every time. Removed various anchor-related obsolete vars.
  22386. - InitLayout no longer causes layout event firing and layout to be
  22387. performed
  22388. 2005-10-16 Jackson Harper <[email protected]>
  22389. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  22390. which was broken).
  22391. 2005-10-16 Jackson Harper <[email protected]>
  22392. * TabControl.cs: Remove debug code.
  22393. 2005-10-16 Jackson Harper <[email protected]>
  22394. * XEventQueue.cs: Increase the default queue size (very simple
  22395. apps needed to grow the queue).
  22396. * Hwnd.cs: No finalizer so we don't need to suppress
  22397. finalization. Compute the invalid area manually so a new rectangle
  22398. does not newto be created.
  22399. * ScrollableControl.cs: Don't set any params (otherwise visibility
  22400. isn't set correctly).
  22401. * MdiChildContext.cs: New constructor takes the mdi parent so it
  22402. doesn't have to be computed and avoids a crash on windows. Draw
  22403. the window icon properly, and allow the text to be seen.
  22404. * Form.cs: Use new MdiChildContext constructor. Make sure the
  22405. child context isn't null in wndproc.
  22406. * TabControl.cs: Don't set focus, this is muddling keyboard
  22407. behavoir. Expand the tab rows when a window size increase will
  22408. allow extra tabs to be seen. Don't allow tabs smaller than the
  22409. width of a window to be scrolled out of view.
  22410. * TreeNode.cs:
  22411. * TreeView.cs: Use measure string to calculate a nodes width, the
  22412. width is cached and only updated when the text or the font is
  22413. changed. Don't check for expand/collapse clicks on the first level
  22414. nodes if root lines are disabled.
  22415. 2005-10-16 Ritvik Mayank <[email protected]>
  22416. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  22417. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22418. * DataGridBoolColumn.cs: fixes warning
  22419. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22420. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  22421. to match more to match more precisely the MS Net behavior
  22422. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22423. * Hwnd.cs: Added field to track if window is mapped
  22424. * XplatUIX11.cs:
  22425. - Unmap windows if they become 0-size, re-map when
  22426. they are >0 again; fixes #76035
  22427. - Re-set our error handler after initializing X11Desktop
  22428. to override any error handlers Gtk or whatever was called
  22429. may have set.
  22430. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22431. * CheckedListBox.cs: Removed unused vars
  22432. * ListView.cs: Fixed signatures
  22433. * RichTextBox.cs: Removed unused vars
  22434. * TextBoxBase.cs: Removed unused vars
  22435. * XplatUIWin32.cs: Removed unused vars
  22436. * XplatUIX11.cs: Removed unused vars
  22437. * XplatUI.cs: Updated version and date to latest published
  22438. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22439. * Cursor.cs: Added private .ctor to work around a bug in
  22440. resourceset (Thanks to Geoff Norton for the help on this)
  22441. * SplitterEventArgs.cs: Made fields accessible so we don't
  22442. waste boatloads of objects and can reuse the same one
  22443. in Splitter
  22444. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  22445. any captions and borders when generating screen coordinates
  22446. * Splitter.cs: Reimplemented control, now fully complete, uses
  22447. rubberband drawing, supports and obeys all properties, has
  22448. proper cursors
  22449. 2005-10-13 Miguel de Icaza <[email protected]>
  22450. * Form.cs (Form): Setup default values for autoscale and
  22451. autoscale_base_size; Make these instance variables, not static
  22452. variables.
  22453. (OnLoad): on the first load, adjust the size of the form.
  22454. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22455. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  22456. width argument to DrawReversibleRectangle()
  22457. * XplatUIWin32.cs, XplatUIX11.cs:
  22458. - Implemented width for DrawReversibleRectangle()
  22459. - Added logic to DrawReversibleRectangle that recognizes a zero
  22460. width or height and only draws a line in that situation
  22461. 2005-10-12 Peter Dennis Bartok <[email protected]>
  22462. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  22463. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  22464. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  22465. method (it uses our FosterParent window to get a graphics context)
  22466. 2005-10-12 Peter Dennis Bartok <[email protected]>
  22467. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  22468. and SetWindowBackground methods
  22469. * Control.cs:
  22470. - Setting proper ControlStyles
  22471. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  22472. EraseWindowBackground, instead we draw the window background
  22473. ourselves in PaintControlBackground. This behaviour is
  22474. required to match MS, where, when OnPaintBackground is not
  22475. called, the background is not drawn.
  22476. - Removed unneeded Refresh() in set_Text
  22477. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  22478. * XplatUIX11.cs:
  22479. - Created DeriveStyles method to translate from CreateParams to
  22480. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  22481. matches FormBorderStyle enum values)
  22482. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  22483. style calculations into single DeriveStyles method
  22484. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  22485. from redrawing the whole window on any resize or expose.
  22486. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  22487. all styles were applied to our whole/client window appropriately
  22488. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22489. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  22490. no longer clear/redraw the background through X
  22491. - Removed handling of erase_pending bit, we have no use for it (or
  22492. so it seems)
  22493. * XplatUIOSX.cs:
  22494. - Removed generation and handling of WM_ERASEBKGND message
  22495. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22496. - Removed handling of hwnd.ErasePending flag
  22497. * XplatUIWin32.cs:
  22498. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22499. - We no longer call EraseWindowBackground on PaintEventStart, we
  22500. ignore the fErase flag, erasing is handled in Control in the
  22501. background handler
  22502. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  22503. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  22504. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  22505. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  22506. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  22507. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  22508. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  22509. 2005-10-12 Jonathan Chambers <[email protected]>
  22510. * PropertyGrids.cs: Get sub properties
  22511. * PropertyGridView.cs: Fix drawing code
  22512. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22513. * ListBox.cs: Fixes 76383
  22514. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22515. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  22516. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  22517. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  22518. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22519. * ComboBox.cs: Fixes border drawing
  22520. 2005-10-10 Miguel de Icaza <[email protected]>
  22521. * MimeIcon.cs: Ignore errors if the file can not be read.
  22522. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22523. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  22524. - Fixed border calculations
  22525. - Fixed horizontal scrolling in single column listboxes
  22526. - Fixed drawing issues
  22527. 2005-10-10 Peter Dennis Bartok <[email protected]>
  22528. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  22529. FormBorderStyle enum
  22530. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  22531. code to determine FormBorderStyles from CreateParams
  22532. * Form.cs:
  22533. - Fixed bug where we'd set the wrong window styles if we were
  22534. not creating an MDI window
  22535. - Added call to XplatUI.SetBorderStyle when form borders are set
  22536. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  22537. * Hwnd.cs:
  22538. - Removed obsolete edge style
  22539. - Switched from BorderStyle to FormBorderStyle
  22540. 2005-10-10 Jackson Harper <[email protected]>
  22541. * Form.cs: Use the property to get the window handle instead of
  22542. accessing it directly. Prevents a null reference exception.
  22543. 2005-10-10 Jackson Harper <[email protected]>
  22544. * TreeView.cs: Don't adjust the rect given to DrawString now that
  22545. our libgdiplus draws correctly.
  22546. 2005-10-08 Jackson Harper <[email protected]>
  22547. * TreeView.cs: Don't try to find the clicked on node if there are
  22548. no nodes in the tree.
  22549. 2005-10-08 Alexander Olk <[email protected]>
  22550. * RichTextBox.cs:
  22551. restore
  22552. 2005-10-08 Alexander Olk <[email protected]>
  22553. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  22554. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  22555. ErrorProvider.cs:
  22556. Use ResPool for brushes and dispose System.Drawing objects that
  22557. are not used anymore.
  22558. 2005-10-07 Jackson Harper <[email protected]>
  22559. * MdiChildContext.cs: Use the new borders instead of drawing them
  22560. ourselves.
  22561. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  22562. * Calling UpdateBounds after changing the window's BorderStyle
  22563. since the style can change the ClientSize
  22564. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22565. * Control.cs: Made PaintControlBackground virtual
  22566. * Panel.cs: Overriding PaintControlBackground instead of using paint
  22567. event; paint event method was interfering with 'real' users of the
  22568. event.
  22569. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  22570. * ThemeWin32Classic.cs: remove border drawing since it is handled
  22571. by the base control class now and was causing double border drawing.
  22572. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22573. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  22574. but it does seem to match MS behaviour. This fixes bug #75324
  22575. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22576. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  22577. somewhat hackish looking
  22578. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22579. * TextBoxBase.cs:
  22580. - We now accept Enter even if AcceptEnter is false, if the containing
  22581. form does not have an AcceptButton configured (fixes bug #76355)
  22582. - Calculations are now fixed to no longer use Width/Height, but
  22583. ClientSize.Width/Height, since we now support borders (this was
  22584. a result of fixing borders and therefore bug #76166)
  22585. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  22586. true (fixes bug #76354)
  22587. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22588. * Control.cs:
  22589. - Defaulting BorderStyle and setting it in XplatUI when our window
  22590. is created
  22591. - Added enum check to InternalBorderStyle setter
  22592. * XplatUIX11.cs:
  22593. - Added drawing of window borders
  22594. - Now properly calculates WM decorations offset for toplevel
  22595. windows (fixes bug #74763)
  22596. * XplatUIWin32.cs:
  22597. - Implemented BorderStyles for windows (we're letting win32 draw
  22598. the border for us)
  22599. - Fixed the signature for SetWindowLong
  22600. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  22601. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  22602. setting borders
  22603. * UpDownBase.cs: Remove drawing of borders, this is handled by
  22604. the driver, outside the client area
  22605. * ListView.cs: Removed bogus border calculations. The control should
  22606. be oblivious to borders, since those are not part of the client
  22607. area.
  22608. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  22609. * ThemeWin32Classic.cs: Removed border calculations from ListView
  22610. drawing code
  22611. 2005-10-06 Jackson Harper <[email protected]>
  22612. * MdiChildContext.cs: Clear out the old virtual position remove
  22613. all the unneeded calls to CreateGraphics.
  22614. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22615. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  22616. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22617. * Form.cs:
  22618. - Added loading and setting of our new default icon
  22619. - Only set icon if window is already created
  22620. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22621. * Label.cs:
  22622. - Do not explicitly set the foreground and background colors, to
  22623. allow inheriting from parents (fixes #76302)
  22624. - Use Control's InternalBorderStyle property to deal with borders
  22625. 2005-10-06 Jackson Harper <[email protected]>
  22626. * MdiChildContext.cs: Use the new xplatui function to draw a
  22627. reversible rect.
  22628. 2005-10-06 Jackson Harper <[email protected]>
  22629. * Form.cs: Add the parent before creating the child context cause
  22630. we need the parent when setting up the child.
  22631. 2005-10-06 Jackson Harper <[email protected]>
  22632. * FolderBrowserDialog.cs: redo the tree population code so a
  22633. second thread isn't used. Should be a lot faster and more stable
  22634. now.
  22635. 2005-10-05 Jackson Harper <[email protected]>
  22636. * TreeView.cs: There are no expand/collapse boxes if the node has
  22637. no children.
  22638. 2005-10-05 Jackson Harper <[email protected]>
  22639. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  22640. 2005-10-05 Alexander Olk <[email protected]>
  22641. * FileDialog.cs: Fix InitialDirectory
  22642. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  22643. * ComboBox.cs:
  22644. - Fixes changing between styles
  22645. - Fixes simple mode
  22646. - Fixes last item crashing when navigating with keyboard
  22647. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  22648. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  22649. 2005-10-05 Jackson Harper <[email protected]>
  22650. * TreeView.cs: If updating the root node do a full refresh.
  22651. * TreeNode.cs: The root node should be expanded by default. Also
  22652. added a utility prop to tell if we are the root node.
  22653. * TreeNodeCollection.cs: Only refresh if the node we are being
  22654. added to is expanded. Also added a comment on a potential
  22655. optimization.
  22656. 2005-10-04 Peter Dennis Bartok <[email protected]>
  22657. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  22658. in dispose method. Fixes #76330
  22659. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  22660. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  22661. - Implements vertical and horizontal scrolling using XplatUI
  22662. - Fixes keyboard navagation
  22663. - Fixes EnsureVisible
  22664. - Drawing fixes
  22665. - Handles and draws focus properly
  22666. 2005-10-04 Kornél Pál <[email protected]>
  22667. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  22668. Create handle. NET_2_0: Destroy handle when value is null.
  22669. 2005-10-03 Jackson Harper <[email protected]>
  22670. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  22671. revert and a new patch to prevent the thumb from refreshing so
  22672. much.
  22673. 2005-10-02 Jackson Harper <[email protected]>
  22674. * ScrollBar.cs: Don't update position if it hasn't actually
  22675. changed. This occurs when you hold down the increment/decrement
  22676. buttons and the thumb gets to the max/min.
  22677. 2005-10-01 Jackson Harper <[email protected]>
  22678. * Form.cs:
  22679. * MdiChildContext.cs:
  22680. * MdiClient.cs: Implement ActiveMdiChild in Form.
  22681. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  22682. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  22683. 2005-10-01 Peter Dennis Bartok <[email protected]>
  22684. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  22685. be found
  22686. 2005-09-30 Jackson Harper <[email protected]>
  22687. * ListBox.cs: Don't do a full refresh unless some data has
  22688. actually changed.
  22689. 2005-09-30 Jackson Harper <[email protected]>
  22690. * TreeView.cs: Make sure that the checkboxes size is factored in
  22691. even when not visible.
  22692. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22693. * FileDialog.cs: Fix Jordi's build break
  22694. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  22695. * FileDialog.cs:
  22696. - Use standard the Windows colours for the combobox as espected
  22697. - Dispose objects that use resouces when no longer need them
  22698. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22699. * X11DesktopColors.cs: Initial incomplete implementation
  22700. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  22701. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22702. * Theme.cs:
  22703. - Switched Theme color names to match the names defined in
  22704. System.Drawing.KnownColors. Life's hard enough, no need to make
  22705. it harder.
  22706. - Added setters to all theme color properties so themes can set
  22707. their color schemes. The setters also propagate the color changes
  22708. to System.Drawing.KnownColors via reflection
  22709. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  22710. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  22711. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  22712. use the new, more logical theme color names
  22713. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  22714. post-NT colors
  22715. * ThemeWin32Classic.cs:
  22716. - Removed code to set the old classic Windows colors. Instead it
  22717. now relies on the colors returned by System.Drawing.KnownColors
  22718. which will be either modern static colors (Unix) or colors
  22719. read from the user's configuration (Win32)
  22720. - Updated to use the new, more logical theme color names
  22721. - Switched DataGrid drawing code to use only Theme colors instead of
  22722. a mix of System.Drawing.KnownColors and Theme colors
  22723. - DrawFrameControl(): Removed code that fills the button area, the
  22724. fill would overwrite any previous fill done by a control. This
  22725. fixes bug #75338
  22726. - Added DrawReversibleRectangle() stub
  22727. * ScrollableControl.cs: Set visible state to false when scrollbars
  22728. are removed (pdn fix)
  22729. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  22730. DrawReversibleRectangle() method to allow drawing primitive
  22731. 'rubber bands'
  22732. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  22733. 2005-09-30 Kornél Pál <[email protected]>
  22734. * ImageList.cs: Add(Icon): Create handle.
  22735. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  22736. * ListView.cs:
  22737. * ThemeWin32Classic.cs:
  22738. - Fixes detail mode
  22739. - Sets clippings
  22740. - Issues with drawing
  22741. 2005-09-30 Kornél Pál <[email protected]>
  22742. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  22743. source has to be the ImageList.
  22744. 2005-09-30 Kornél Pál <[email protected]>
  22745. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  22746. 2005-09-30 Kornél Pál <[email protected]>
  22747. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  22748. 2005-09-30 Kornél Pál <[email protected]>
  22749. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  22750. 2005-09-29 Jonathan Chambers <[email protected]>
  22751. * GridItem.cs: Fixed TODOs
  22752. * GridItemCollection.cs: Added ICollection interface
  22753. 2005-09-30 Kornél Pál <[email protected]>
  22754. * ImageList.cs: Resize icons when needed.
  22755. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  22756. * ListViewItem.cs
  22757. - Fixes GetBounds and returns on screen rects
  22758. * ListView.cs:
  22759. - Fixes vertical and horzintal scrolling of items
  22760. * ThemeWin32Classic.cs:
  22761. - Fixes drawing
  22762. 2005-09-29 Raja R Harinath <[email protected]>
  22763. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  22764. 2005-09-29 Kornél Pál <[email protected]>
  22765. * ImageList.cs: Added comments about handle creation. Moved Handle,
  22766. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  22767. Handle is created in Add methods.
  22768. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  22769. * DataGridDrawingLogic.cs:
  22770. - Takes rows into account on Colum calculations
  22771. - Returns the column when clickig
  22772. * DataGrid.cs:
  22773. - Fixes default HitTestInfo values
  22774. - Fixes HitTestInfo.ToString
  22775. - Fixes ResetBackColor
  22776. 2005-09-28 Jackson Harper <[email protected]>
  22777. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  22778. sizing or cursor changes). Also added some temp code to draw the
  22779. titlebars text (Makes dev a little easier).
  22780. 2005-09-28 Kornél Pál <[email protected]>
  22781. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  22782. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  22783. * ListBox.cs: Fixes bug 76253
  22784. 2005-09-28 Kornél Pál <[email protected]>
  22785. * ImageList.cs: Added comments about the current implementation. Added
  22786. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  22787. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  22788. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  22789. with Bitmap.LockBits for better performance. Revised the whole file to
  22790. match MS.NET behaviour and provide better performance. Non-public
  22791. interface members are calling public members even when they throw
  22792. NotSupportedException for better maintainability. Moved ColorDepth,
  22793. ImageSize, ImageStream and TransparentColor implementations to
  22794. ImageCollection for better performance as these properties are not used
  22795. by ImageList.
  22796. * ImageListStreamer.cs: Added a new internal constructor that takes an
  22797. ImageList.ImageCollection and serializes Images based on
  22798. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  22799. match ImageList property name.
  22800. 2005-09-28 Kazuki Oikawa <[email protected]>
  22801. * ListBox.cs: Fixes IndexFromPoint for last item
  22802. 2005-09-27 Jackson Harper <[email protected]>
  22803. * Form.cs: Set the position of new mdi children correctly.
  22804. 2005-09-27 Jackson Harper <[email protected]>
  22805. * MdiClient.cs: New mdi children need to be added to the back of
  22806. the controls collection so the zorder is set correctly. Also add a
  22807. count of all the child windows that have been created.
  22808. 2005-09-27 Jackson Harper <[email protected]>
  22809. * Form.cs (CreateParams): Setup MDI forms correctly.
  22810. 2005-09-27 Jackson Harper <[email protected]>
  22811. * MdiChildContext.cs:
  22812. * MonthCalendar.cs:
  22813. * UpDownBase.cs:
  22814. * ListBox.cs:
  22815. * ListView.cs:
  22816. * TextBoxBase.cs:
  22817. * TreeView.cs:
  22818. * ScrollableControl.cs:
  22819. * ComboBox.cs: Add implicit controls using the new implict control
  22820. functionality in ControlCollection. Also try to block multiple
  22821. control add in a suspend/resume layout to save some cycles.
  22822. 2005-09-27 Jackson Harper <[email protected]>
  22823. * Control.cs: Add functionality to the controls collection to add
  22824. 'implicit controls' these are controls that are created by the
  22825. containing control but should not be exposed to the user. Such as
  22826. scrollbars in the treeview.
  22827. * Form.cs: The list var of the ControlsCollection is no longer
  22828. available because of the potential of implicit controls getting
  22829. ignored by someone accessing the list directly.
  22830. 2005-09-26 Peter Dennis Bartok <[email protected]>
  22831. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  22832. loose it's parent. (Fixed bug introduced in r49103 when we added
  22833. setting the child parent to null on Remove)
  22834. 2005-09-26 Gert Driesen <[email protected]>
  22835. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  22836. * Splitter.cs: Added missing attributes for BorderStyle property.
  22837. * TextBoxBase.cs: Marked Calculate* methods internal.
  22838. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  22839. MS.NET.
  22840. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  22841. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  22842. 2005-09-25 Jackson Harper <[email protected]>
  22843. * TreeView.cs: Update the node bounds correctly regardless of
  22844. whether the node is visible.
  22845. 2005-09-25 Jackson Harper <[email protected]>
  22846. * ImageList.cs: Don't dispose the image after it is added to the
  22847. image list. Only reformat images that need to be resized.
  22848. 2005-09-25 Jackson Harper <[email protected]>
  22849. * ImageList.cs: Don't set the format when changing the image.
  22850. 2005-09-25 Jackson Harper <[email protected]>
  22851. * TreeView.cs: We can't just assume the node has a font. Use the
  22852. treeviews font if no node font is available.
  22853. 2005-09-25 Jackson Harper <[email protected]>
  22854. * TreeView.cs: Allow the scrollbars to be reset with negative
  22855. values.
  22856. - Don't add scrollbars to negative sized windows.
  22857. 2005-09-23 Jackson Harper <[email protected]>
  22858. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  22859. old Mono.Posix. Also remove some stray code that shouldn't have
  22860. been committed.
  22861. 2005-09-23 Jackson Harper <[email protected]>
  22862. * TreeView.cs: Attempt at proper sizing of the horizontal
  22863. scrollbar. Also don't resize the scrollbars unless they are
  22864. visible.
  22865. 2005-09-23 Jackson Harper <[email protected]>
  22866. * TreeView.cs: We don't need to expand the invalid area when the
  22867. selection changes, as this is all drawn in the node's bounding
  22868. box. The area needs to be expanded (previous typo was contracting
  22869. it) when the focus rect moves.
  22870. 2005-09-23 Jackson Harper <[email protected]>
  22871. * TreeView.cs: Display the selection box under the correct
  22872. circumstances. We were rendering white text with no selection box
  22873. before.
  22874. 2005-09-23 Peter Dennis Bartok <[email protected]>
  22875. * TextControl.cs(Split): Now updates selection start/end if it points
  22876. into a line that's being split. Fixes a FIXME and bug #75258
  22877. 2005-09-23 Jackson Harper <[email protected]>
  22878. * Binding.cs:
  22879. * ListControl.cs: Don't use the path when retrieving binding
  22880. managers from the binding context. My bat sense tells me that the
  22881. path is only used on insertion.
  22882. 2005-09-22 Jackson Harper <[email protected]>
  22883. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  22884. 2005-09-22 Jackson Harper <[email protected]>
  22885. * Splitter.cs: There are special cursors used for splitting.
  22886. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  22887. 2005-09-22 Jackson Harper <[email protected]>
  22888. * Splitter.cs: Change the cursor appropriately when the splitter
  22889. is moused over, so the user actually knows there is a splitter
  22890. there.
  22891. 2005-09-22 Hisham Mardam Bey <[email protected]>
  22892. * Label.cs : Fix ToString method to give same output as MS.NET
  22893. 2005-09-22 Jackson Harper <[email protected]>
  22894. * TreeView.cs: Create the scrollbars when the handle is created
  22895. and add them right away, just make them invisble. Also account for
  22896. the window being shrunk vertically to the point that the vert
  22897. scrollbar needs to be added.
  22898. - Remove some 0.5 adjustments to get around anti aliasing issues.
  22899. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  22900. * MainMenu.cs: Fixes default value
  22901. * MenuItem.cs: Fixes default value
  22902. 2005-09-22 Kazuki Oikawa <[email protected]>
  22903. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  22904. 2005-09-21 Jackson Harper <[email protected]>
  22905. * Control.cs: Don't try to set the border style on the window if
  22906. it hasn't been created. When the window is created the border
  22907. style will be used.
  22908. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22909. * Control.cs (Update): Don't call XplatUI if we don't have a
  22910. window handle yet
  22911. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22912. * ContainerControl.cs: Instead of throwing an exception, print
  22913. a one-time warning about Validate not being implemented
  22914. * XplatUIWin32.cs: Removed debug output
  22915. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22916. * Control.cs: Only set XplatUI background if we expect the windowing
  22917. system to handle the background. This stops controls that draw their
  22918. own background from flickering
  22919. * XplatUIX11.cs: Support custom visuals and colormaps for window
  22920. creation. This allows, amongst other things, using MWF X11 windows
  22921. with OpenGL.
  22922. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22923. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  22924. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  22925. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  22926. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  22927. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  22928. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  22929. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  22930. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  22931. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  22932. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  22933. GridColumnStylesCollection.cs,
  22934. IDataGridColumnStyleEditingNotificationService.cs,
  22935. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  22936. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  22937. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  22938. TreeNodeCollection.cs, AmbientProperties.cs,
  22939. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  22940. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  22941. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  22942. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  22943. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  22944. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  22945. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  22946. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  22947. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  22948. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  22949. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  22950. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  22951. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  22952. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  22953. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  22954. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  22955. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  22956. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  22957. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  22958. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  22959. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  22960. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  22961. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  22962. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  22963. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  22964. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  22965. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  22966. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  22967. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  22968. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  22969. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  22970. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  22971. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  22972. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  22973. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  22974. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  22975. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  22976. 2005-09-21 Jackson Harper <[email protected]>
  22977. * TreeNode.cs: Call Before/After Expand not Collapse when
  22978. expanding.
  22979. 2005-09-20 Jackson Harper <[email protected]>
  22980. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  22981. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  22982. * ListViewItem.cs:
  22983. - Fixes bug 76120
  22984. - Fixes proper storing of subitems
  22985. - Fixes not updated items
  22986. 2005-09-20 Peter Dennis Bartok <[email protected]>
  22987. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  22988. things if our window handle isn't created yet. Also disabled
  22989. debug for TextBoxBase
  22990. 2005-09-20 Peter Dennis Bartok <[email protected]>
  22991. * MenuAPI.cs: Remove filtering of events to allow menu usage
  22992. 2005-09-20 Miguel de Icaza <[email protected]>
  22993. * Cursor.cs: Allow null to be passed to Cursor.Current.
  22994. 2005-09-20 Alexander Olk <[email protected]>
  22995. * ThemeWin32Classic.cs:
  22996. - Change some private methods/fields to protected virtual so that
  22997. they can be accessed and overriden in derived classes
  22998. - First refactoring of some methods. Derived themes now don't
  22999. need to duplicate the complete code from ThemeWin32Classic
  23000. * ThemeNice.cs:
  23001. - Added nice StatusBar
  23002. - Derive from ThemeWin32Classic and not Theme
  23003. - Removed duplicate ThemeWin32Classic code
  23004. 2005-09-20 Miguel de Icaza <[email protected]>
  23005. * Control.cs (ControlCollection.Add): If the value null is passed
  23006. the control is ignored.
  23007. Optimize this loop.
  23008. 2005-09-19 Peter Dennis Bartok <[email protected]>
  23009. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  23010. PostQuitMessage state.
  23011. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  23012. 2005-09-19 Peter Dennis Bartok <[email protected]>
  23013. * Application.cs: Our constructor will never get called, move
  23014. initialization to fields; fixes bug #75933
  23015. 2005-09-19 Hisham Mardam Bey <[email protected]>
  23016. * FileDialog.cs :
  23017. - Allow files to be selected properly using file name
  23018. combo box.
  23019. - Add ability to change diretory (absolute / relative)
  23020. using file name combo box.
  23021. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  23022. * ListBox.cs:
  23023. - Fixes Multicolumn listboxes item wrong calculations
  23024. - Allows to click when only one item is in the listbox
  23025. - Fixes crash when no items using keyboard navigation
  23026. 2005-09-16 Alexander Olk <[email protected]>
  23027. * ComboBox.cs: Reverted almost everything from the latest patch which
  23028. broke ComboBox
  23029. 2005-09-16 Kazuki Oikawa <[email protected]>
  23030. * ToolTip.cs:
  23031. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  23032. * ComboBox.cs:
  23033. - When DropDownStyle is Simple, it does not show scrollbar
  23034. to the last item of the list.
  23035. - When DropDownStyle is Simple, it crashed when the list was
  23036. scrolled down with the down cursor key.
  23037. - Fixed a bug that when DropDownStyle is DropDownList, the
  23038. selected item was not shown.
  23039. - The position of the selected item was not preserved when
  23040. the next dropdown happened.
  23041. * ThemeWin32Classic.cs:
  23042. - Items were wrapped at the right end.
  23043. * CheckedListBox.cs:
  23044. - Fixed Add method
  23045. * ListBox.cs:
  23046. - Items should be fully shown.
  23047. - When resizing and vertical scrollbar disappeared, the item
  23048. of index 0 should be on the top of the list.
  23049. - GetItemRectangle should consider the size of ver. scrollbar
  23050. * StatusBar.cs:
  23051. - SizingGrip area should not be allocated when it is not
  23052. displayed.
  23053. - Now it reflects MinWidth of the containing panel and
  23054. fixed a crash that happens when its width becomes so small.
  23055. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23056. * CheckedListBox.cs: Fixes bug 76028
  23057. * ListBox.cs: Fixes bug 76028
  23058. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23059. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  23060. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  23061. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  23062. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  23063. 2005-09-09 Jonathan Chambers <[email protected]>
  23064. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  23065. 2005-09-09 Jonathan Chambers <[email protected]>
  23066. * IRootGridEntry.cs: Added
  23067. * PropertyGridCommands.cs: Added
  23068. * PropertiesTab.cs: Added missing methods and property
  23069. * PropertyGridView.cs: Made class internal
  23070. * PropertyGridTextBox.cs: Made class internal
  23071. 2005-09-09 Alexander Olk <[email protected]>
  23072. * MimeIcon.cs: Try to check some other environment variables
  23073. if "DESKTOP_SESSION" returns "default"
  23074. 2005-09-09 Alexander Olk <[email protected]>
  23075. * ThemeNice.cs: Corrected background colors (e.g. menus)
  23076. * ColorDialog.cs: Use correct background colors for controls
  23077. 2005-09-09 Alexander Olk <[email protected]>
  23078. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  23079. 2005-09-08 Peter Dennis Bartok <[email protected]>
  23080. * RichTextBox.cs: Added initial implementation
  23081. * lang.cs: Removed. Was accidentally checked in long time ago
  23082. * TODO: Removed. Contents were obsolete
  23083. 2005-09-06 Jonathan Chambers <[email protected]>
  23084. * PropertiesTab.cs : Added
  23085. 2005-09-06 Jonathan Chambers <[email protected]>
  23086. * PropertyGrid.cs : Update
  23087. * PropertyGridView.cs : Update
  23088. * System.Windows.Forms.resx : Added images and strings
  23089. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23090. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  23091. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23092. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  23093. a busy loop right after the Ungrab the X11 display is otherwise
  23094. blocked
  23095. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  23096. * ThemeWin32Classic.cs: Optimise the use of clipping
  23097. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  23098. * DataGrid.cs: fixes recursion bug
  23099. 2005-09-03 Alexander Olk <[email protected]>
  23100. * ThemeNice.cs:
  23101. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  23102. - Cleanup
  23103. 2005-09-02 Alexander Olk <[email protected]>
  23104. * ThemeNice.cs: Draw nice ProgressBars
  23105. 2005-09-01 Miguel de Icaza <[email protected]>
  23106. * VScrollBar.cs: Another buglet found by Aaron's tool.
  23107. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  23108. bug finder.
  23109. 2005-08-30 Alexander Olk <[email protected]>
  23110. * ThemeNice.cs:
  23111. - Added nicer menu drawing
  23112. - Updated DrawTab
  23113. - some refactoring
  23114. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23115. * CreateParams.cs (ToString): Made output match MS
  23116. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  23117. handle is already created (to avoid forcing window creation)
  23118. * XplatUIX11.cs: Set window text to caption after creating window,
  23119. in case Text was set before window was created
  23120. * Form.cs: Use this.Text instead of a static string as caption
  23121. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23122. * NotifyIcon.cs: Don't set the window to visible; this screws
  23123. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  23124. OnPaint without a bitmap)
  23125. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  23126. happen very often anyway; we could add the check to the WM_PAINT
  23127. event generation code
  23128. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23129. * NotifyIcon.cs: Fill the icon area with a background color, to
  23130. avoid 'residue' when transparent icons are drawn
  23131. * XplatUIX11.cs:
  23132. - Handle whole_window == client_window when destroying windows
  23133. - SystrayAdd(): Set client_window to whole_window value to
  23134. get mouse and other events passed to NotifyIcon
  23135. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23136. * Form.cs: Set proper default for Opacity property
  23137. * NotifyIcon.cs:
  23138. - ShowSystray(): Don't bother creating telling the OS
  23139. about the systray item if no icon is provided
  23140. - Now handles WM_NCPAINT message to deal with whole/client window
  23141. split
  23142. - Create window as visible to not get caught by Expose optimization
  23143. * Hwnd.cs: Removed debug message
  23144. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  23145. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  23146. PaintEventStart/End to use new client argument
  23147. * TextBoxBase.cs:
  23148. - Commented out debug messages
  23149. - Switched PaintEventStart/End to use new client argument
  23150. * XplatUI.cs: Added client window bool to PaintEventStart()/
  23151. PaintEventEnd() calls, to support drawing in non-client areas
  23152. * XplatUIDriver.cs:
  23153. - Added client window bool to PaintEventStart()/PaintEventEnd()
  23154. calls, to support drawing in non-client areas
  23155. - Added conditional compile to allow using MWF BeginInvoke
  23156. on MS runtime
  23157. * XplatUIX11.cs:
  23158. - Added some conditional debug output
  23159. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  23160. whole/client window split
  23161. - Implemented handling of client argument to PaintEventStart()/End()
  23162. * Control.cs:
  23163. - Throw exception if BeginInvoke() is called and the window handle
  23164. or one of the window's parent handles is not created
  23165. - Added conditional compile to allow using MWF BeginInvoke on
  23166. MS runtime
  23167. - get_Parent(): Only sets parent if handle is created. This avoids
  23168. forcing window handle creation when parent is set.
  23169. - Now fires Layout and Parent changed events in proper order
  23170. - Switched to use Handle instead of window.Handle for Z-Order setting,
  23171. the get_Parent() patch above causes us to possibly get null for 'window'
  23172. - Implemented handling of client argument to PaintEventStart()/End()
  23173. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  23174. default handling)
  23175. - Now sends a Refresh() to all child windows when Refresh() is called
  23176. 2005-08-29 Peter Dennis Bartok <[email protected]>
  23177. * Form.cs: Added (non-functional) Opacity property
  23178. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  23179. 2005-08-29 Alexander Olk <[email protected]>
  23180. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  23181. use export MONO_THEME=nice to activate it.
  23182. Currently supported controls:
  23183. - Button
  23184. - ComboBox
  23185. - ScrollBar
  23186. - TabControl (TabAlignment.Top only, other will follow)
  23187. * ThemeEngine.cs: Add theme nice
  23188. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  23189. if enabled
  23190. 2005-08-25 Jonathan Chambers <[email protected]>
  23191. * Splitter.cs: Resize docked control and its neighbor.
  23192. 2005-08-24 Rafael Teixeira <[email protected]>
  23193. -- Making Windows with Menus layout correctly --
  23194. * Form.cs : The first leg of the fix
  23195. Menu setter - adjust Client Size as needed to make space for the menu
  23196. SetClientSizeCore - doesn't call base version to be able to pass the
  23197. menu handle to XplatUI.CalculateWindowRect
  23198. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  23199. * XplatUIX11.cs: The critical second leg of the fix
  23200. GetWindowPos needs to use a recalculated client_rect
  23201. so that resizing the window doesn't break layout of child controls.
  23202. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  23203. Lots of \t\n killed
  23204. 2005-08-23 Peter Dennis Bartok <[email protected]>
  23205. * Label.cs: Now properly recalculates width and height on Font and Text
  23206. changes if AutoSize is set
  23207. 2005-08-19 Rafael Teixeira <[email protected]>
  23208. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  23209. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  23210. * ImageList.cs: Makes ToString method compatible with MS
  23211. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  23212. * MenuAPI.cs: fixes bug 75716
  23213. 2005-08-11 Umadevi S <[email protected]>
  23214. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  23215. 2005-08-11 Umadevi S <[email protected]>
  23216. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  23217. 2005-08-10 Umadevi S <[email protected]>
  23218. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  23219. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  23220. * Menu.cs: fixes bug 75700
  23221. * MenuAPI.cs: fixes navigation issues
  23222. 2005-08-09 Umadevi S <[email protected]>
  23223. * CheckedListBox.cs - simple fix for GetItemChecked.
  23224. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  23225. * ComboBox.cs: Serveral fixes
  23226. * ListBox.cs: Serveral fixes
  23227. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23228. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  23229. * ListBox.cs: Fixes FindString methods
  23230. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23231. * DataGrid.cs: fixes bugs exposed by new tests
  23232. 2005-08-04 Peter Dennis Bartok <[email protected]>
  23233. * Mime.cs: Compile Mono assembly references only if compiling
  23234. with Mono (Allows to build with VS.Net again)
  23235. 2005-07-28 Marek Safar <[email protected]>
  23236. * Control.cs (PaintControlBackground): Draw background image
  23237. corrrectly.
  23238. (CheckForIllegalCrossThreadCalls): Stubbed.
  23239. * Form.cs (OnCreateControl): Center when should be centered.
  23240. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  23241. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  23242. * Binding.cs: Binding to properties should be case unsensitive
  23243. 2005-07-18 [email protected]
  23244. * DataGrid.cs: fixes setmember order
  23245. 2005-07-07 Alexander Olk <[email protected]>
  23246. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  23247. * FileDialog.cs: FileDialog is now resizable and uses the new
  23248. MimeIconEngine
  23249. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  23250. * DataGridTextBoxColumn.cs: default value
  23251. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  23252. * GridTableStylesCollection.cs: fixes checking MappingName
  23253. * DataGridDrawingLogic.cs: fixes drawing logic issues
  23254. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  23255. * DataGrid.cs: fixes
  23256. 2005-07-06 Alexander Olk <[email protected]>
  23257. * MimeGenerated.cs: Use case sensitive comparer for
  23258. NameValueCollections
  23259. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  23260. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  23261. * ThemeWin32Classic.cs: bug fixes, code refactoring
  23262. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  23263. * DataGrid.cs: bug fixes, code refactoring
  23264. * DataGridTextBox.cs: bug fixes, code refactoring
  23265. * DataGridColumnStyle.cs: bug fixes, code refactoring
  23266. * Theme.cs: bug fixes, code refactoring
  23267. 2005-07-01 Peter Bartok <[email protected]>
  23268. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  23269. and other text box usage
  23270. 2005-07-01 Jackson Harper <[email protected]>
  23271. * TabControl.cs: Make sure the bottom of the tab covers the pages
  23272. border.
  23273. 2005-06-30 Peter Bartok <[email protected]>
  23274. * Form.cs (ShowDialog): Assign owner of the dialog
  23275. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  23276. might have been moved to a tag with different height
  23277. 2005-06-30 Jackson Harper <[email protected]>
  23278. * Form.cs: Don't create an infinite loop when setting focus
  23279. * MenuItem.cs: Don't dirty the parents if we don't have any
  23280. 2005-06-29 Ben Maurer <[email protected]>
  23281. * LibSupport.cs: Rename
  23282. 2005-06-29 Peter Bartok <[email protected]>
  23283. * TextBoxBase.cs: Re-align caret after deleting a character
  23284. * TextControl.cs:
  23285. - DeleteChars(): Ensure that tag covers the provided position
  23286. - StreamLine(): Drop reference for dropped tag
  23287. 2005-06-29 Peter Bartok <[email protected]>
  23288. * TextControl.cs:
  23289. - Selections now work properly, anchoring at the initial location
  23290. and properly extending in either direction (SetSelectionToCaret(),
  23291. SetSelectionStart() and SetSelectionEnd())
  23292. - No longer redraws the whole control on selection change, now
  23293. calculates delta between previous and new selection and only
  23294. invalidates/redraws that area
  23295. - Fixed FindPos() math off-by-one errors
  23296. - Changed DeleteChars() to verify the provided tag covers the
  23297. provided position, selections may have a tag that doesn't cover
  23298. the position if the selection is at a tag border
  23299. - Fixed off-by-one errors in DeleteChars()
  23300. - Added missing streamlining check in DeleteChars() to remove
  23301. zero-length tags
  23302. - Implemented Invalidate() method, now properly calculates exposures
  23303. between two given lines/positions
  23304. - Implemented SetSelection()
  23305. - Obsoleted and removed FixupSelection()
  23306. - Improved RecalculateDocument() logic, removing code duplication
  23307. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23308. * LibSupport.cs: changes to match different input/output arguments.
  23309. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23310. * LibSupport.cs: added libsupport.so init routine.
  23311. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  23312. * ControlBindingsCollection.cs
  23313. - Throws an exception on null datasource when adding
  23314. - Checks for duplicated bindings when adding
  23315. 2005-06-28 Jackson Harper <[email protected]>
  23316. * TreeView.cs (OnKeyDown): Support left and right properly
  23317. (navigates as well as expanding and collapsing.
  23318. - Add support for Multiply, this expands all the selected nodes
  23319. children.
  23320. - Fix some tabbing.
  23321. 2005-06-28 Jackson Harper <[email protected]>
  23322. * TreeView.cs: Implement keyboard navigation, currently supports,
  23323. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  23324. support for toggling checkboxes with the space bar.
  23325. 2005-06-28 Jackson Harper <[email protected]>
  23326. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  23327. tree.
  23328. 2005-06-28 Jackson Harper <[email protected]>
  23329. * TreeView.cs: Add missing event.
  23330. 2005-06-27 Peter Bartok <[email protected]>
  23331. * TextControl.cs:
  23332. - Made line ending size configurable (now allows for counting
  23333. lineendings as \n or \r\n)
  23334. - Added margin to viewport to keep caret visible on right side
  23335. - Fixed translation routines for line/pos to documentpos to consider
  23336. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  23337. - Fixed some line-endings to be unix style
  23338. - Fixed Document.FormatText to perform it's calculations 1-based
  23339. - Added descriptions for a few methods that might otherwise get
  23340. used wrong
  23341. - Added NOTE section with some basic conventions to remember at
  23342. the top of the file
  23343. - Major fixup for RichTextBox selection drawing:
  23344. * Fixed crashes when multiple tags on a single line were selected
  23345. * fixed selection box drawing not overlaying text
  23346. * fixed bogus offset calculation for tags not starting at index 1
  23347. * Switched behaviour from using multiple Substrings of a
  23348. StringBuilder.ToString() to using multiple
  23349. StringBuilder.ToString(start, length) statements, hoping this is
  23350. faster (kept original version commented out in the code, in case
  23351. original version was faster)
  23352. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  23353. alignment != Left
  23354. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  23355. call it as well
  23356. 2005-06-27 Jackson Harper <[email protected]>
  23357. * TabControl.cs: Move to the left and right with the arrow
  23358. keys. These keys don't cycle beyond first and last like
  23359. tab. Refresh all the tabs when scrolling them to the left or
  23360. right.
  23361. 2005-06-27 Jackson Harper <[email protected]>
  23362. * TabControl.cs:
  23363. - ToString: Added method
  23364. - CreateParams: Remove TODO and comment
  23365. - OnKeyDown: Cycle through bounds properly.
  23366. - SelectedIndex: Scroll to the right or left if we need to
  23367. display the newly selected tab.
  23368. 2005-06-23 Jackson Harper <[email protected]>
  23369. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  23370. set.
  23371. 2005-06-23 Jackson Harper <[email protected]>
  23372. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  23373. CTRL-SHIFT-TAB, and HOME, END are there any others?
  23374. 2005-06-23 Jackson Harper <[email protected]>
  23375. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  23376. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23377. * DataGridTextBoxColumn.cs: fixes and enhancements
  23378. * ThemeWin32Classic.cs: fixes and enhancements
  23379. * DataGridBoolColumn.cs: fixes and enhancements
  23380. * DataGridDrawingLogic.cs: fixes and enhancements
  23381. * CurrencyManager.cs: fixes and enhancements
  23382. * DataGrid.cs: fixes and enhancements
  23383. * DataGridColumnStyle.cs: fixes and enhancements
  23384. 2005-06-22 Jackson Harper <[email protected]>
  23385. * TabControl.cs: Add some missing methods that just call into the
  23386. base. Make the TabPageCollection's IList interface behave in the
  23387. same manner as the MS implementation.
  23388. 2005-06-22 Peter Bartok <[email protected]>
  23389. * TextControl.cs: Added sanity check
  23390. * TextBoxBase.cs:
  23391. - Fixed wrapping behaviour, don't set wrap on single line controls
  23392. (this fixes the breakage of colordialog introduced in an earlier
  23393. checkin)
  23394. - Added rudimentary support for autoscrolling right-aligned controls
  23395. (still needs fixing, also, center alignment scroll is missing)
  23396. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23397. * ScrollBar.cs: Fixes thumbpos on Maximum values
  23398. 2005-06-21 Jonathan Chambers <[email protected]>
  23399. * PropertyGridView.cs: Pass context information to UITypeEditors
  23400. 2005-06-21 Peter Bartok <[email protected]>
  23401. * TextBoxBase.cs:
  23402. - Now calling PositionCaret with absolute space coordinates
  23403. - Enabled vertical scrolling
  23404. - Better tracking of scrollbar changes, tied into WidthChange
  23405. event
  23406. - Improved cursor tracking
  23407. - Removed debug output
  23408. * TextControl.cs:
  23409. - PositionCaret coordinates are now works in absolute space, not
  23410. the canvas
  23411. - Improved tracking of document size
  23412. - Added events for width and height changes
  23413. 2005-06-21 Peter Bartok <[email protected]>
  23414. * Form.cs: Set focus to active control when form is activated
  23415. * TextControl.cs:
  23416. - Added word-wrap functionality to RecalculateLine()
  23417. - Added some short function descriptions for VS.Net to aid in
  23418. writing dependent controls
  23419. - Added Caret property, returning the current coords of the caret
  23420. - Added ViewPortWidth and ViewPortHeight properties
  23421. - Added Wrap property
  23422. - Added CaretMoved event
  23423. - Removed some old debug code
  23424. - Split() can now create soft splits
  23425. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  23426. - Added method to format existing text
  23427. - Fixed size/alignment calculations to use viewport
  23428. - RecalculateDocument now can handle changing line-numbers while
  23429. calculating lines
  23430. * TextBox.cs:
  23431. - Added some wrap logic, we don't wrap if alignment is not left
  23432. - Added casts for scrollbar var, base class switched types to
  23433. also support RichTextBoxA
  23434. - Implemented handling of scrollbar visibility flags
  23435. * TextBoxBase.cs:
  23436. - Switched scrollbars type to RichTextBoxScrollBars to support
  23437. RichTextBox
  23438. - Added tracking of canvas width/height
  23439. - Switched scrollbars to be not selectable (to keep focus on text)
  23440. - Added central CalculateDocument() method to handle all redraw
  23441. requirements
  23442. - Added ReadOnly support
  23443. - Added WordWrap support
  23444. - Fixed handling of Enter key (we now treat it as a DialogKey)
  23445. - Fixed caret positioning when h or v scroll is not zero
  23446. - Fixed placing/generation of vertical scrollbar
  23447. - Added CalculateScrollBars() method to allow updating scrollbar
  23448. limits and visibility
  23449. - Fixed handling of horizontal scroll
  23450. - Added handling of vertical scroll
  23451. - Implemented auto-'jump' when caret moves to close to a left or
  23452. right border and there is text to be scrolled into view (currently
  23453. there's the potential for a stack overflow, until a bug in
  23454. scrollbar is fixed)
  23455. 2005-06-21 Geoff Norton <[email protected]>
  23456. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  23457. 2005-06-19 Alexander Olk <[email protected]>
  23458. * Mime.cs:
  23459. - added inodes.
  23460. - return application/x-zerosize for files with size zero
  23461. (if no extension pattern matches).
  23462. - check matches collection for strings too.
  23463. - return only the first mime type if the name value
  23464. collection has more than one mime type.
  23465. 2005-06-18 Jonathan Chambers <[email protected]>
  23466. * PropertyGrid.cs: Cleaned up some TODOs
  23467. * PropertyGridView.cs: Added support for UITypeEditors
  23468. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  23469. * DataGrid.cs: clears cached value
  23470. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  23471. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  23472. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  23473. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  23474. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  23475. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  23476. * ThemeWin32Classic.cs: fixes colour
  23477. 2005-06-15 Peter Bartok <[email protected]>
  23478. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  23479. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  23480. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  23481. * Control.cs: Added some MWFCategory and MWFDescription attributes
  23482. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  23483. 2005-06-15 Alexander Olk <[email protected]>
  23484. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  23485. usage
  23486. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  23487. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  23488. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  23489. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  23490. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  23491. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  23492. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  23493. 2005-06-13 Jackson Harper <[email protected]>
  23494. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  23495. isn't printed when the user enables dropping. (X11 does accept
  23496. drops).
  23497. 2005-06-13 Jackson Harper <[email protected]>
  23498. * TreeView.cs: Remove some TODOS.
  23499. 2005-06-13 Jackson Harper <[email protected]>
  23500. * Form.cs: Hook into the mdi framework.
  23501. * MdiClient.cs: Use the base control collections add method so
  23502. parents get setup correctly. Set the default back colour and dock
  23503. style.
  23504. * MdiChildContext.cs: New class, this bad actor handles an
  23505. instance of an MDI window. Right now there is only basic
  23506. support. You can drag, close, and resize windows. Minimize and
  23507. Maximize are partially implemented.
  23508. 2005-06-13 Jackson Harper <[email protected]>
  23509. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  23510. freaky when both vals are negative. NOTE: There are probably other
  23511. places in XplatUIX11 that this needs to be done.
  23512. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  23513. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  23514. * DataGridColumnStyle.cs: fixes signature
  23515. 2005-06-12 Jackson Harper <[email protected]>
  23516. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  23517. windows.
  23518. 2005-06-11 Jackson Harper <[email protected]>
  23519. * StatusBarPanel.cs: Signature cleanups. Implement
  23520. BeginInit/EndInit.
  23521. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  23522. * DataGridTextBoxColumn.cs: Honors aligment
  23523. * GridColumnStylesCollection.cs: Contains is case unsensitive
  23524. * GridTableStylesCollection.cs: several fixes
  23525. * DataGridTableStyle.cs: default column creation
  23526. * DataGridDrawingLogic.cs: fixes
  23527. * CurrencyManager.cs: ListName property
  23528. * DataGrid.cs: multiple styles support
  23529. * DataGridColumnStyle.cs: fixes
  23530. 2005-06-10 Peter Bartok <[email protected]>
  23531. * Control.cs(Select): Moved SetFocus call to avoid potential
  23532. loops if controls change the active control when getting focus
  23533. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  23534. the up/down buttons
  23535. 2005-06-10 Matthias Felgner <[email protected]>
  23536. * ImageListConverter.cs: Implemented
  23537. 2005-06-10 John BouAntoun <[email protected]>
  23538. * MonthCalendar.cs: Wired in NumericUpDown control for year
  23539. 2005-06-10 John BouAntoun <[email protected]>
  23540. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  23541. DoubleClick events, since they are not meant to be fired.
  23542. 2005-06-09 Peter Bartok <[email protected]>
  23543. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  23544. Jonathan's standalone controls into MWF, implemented missing
  23545. events, attributes and methods; added xxxAccessible classes
  23546. * AccessibleObject.cs: Made fields internal so other classes
  23547. can change them if needed
  23548. 2005-06-09 Jonathan Gilbert <[email protected]>
  23549. * UpDownBase.cs: Complete implementation
  23550. * NumericUpDown.cs: Complete implementation
  23551. * DomainUpDown.cs: Complete implementation
  23552. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  23553. * DataGridTextBoxColumn.cs: drawing fixes
  23554. * DataGridCell.cs: fixes ToString method to match MSNet
  23555. * DataGridTableStyle.cs: fixes
  23556. * DataGridBoolColumn.cs: fixes, drawing
  23557. * DataGridDrawingLogic.cs: fixes, new methods
  23558. * DataGridTextBox.cs: Keyboard and fixes
  23559. * DataGrid.cs:
  23560. - Keyboard navigation
  23561. - Scrolling fixes
  23562. - Row selection (single, multiple, deletion, etc)
  23563. - Lots of fixes
  23564. 2005-06-07 Jackson Harper <[email protected]>
  23565. * ThemeWin32Classic.cs: Clear the background area when drawing
  23566. buttons.
  23567. 2005-06-06 Peter Bartok <[email protected]>
  23568. * ImageListStreamer.cs: Fixed signature for GetData
  23569. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  23570. * ComboBox.cs:
  23571. - Added missing ChildAccessibleObject class
  23572. - Added missing OnXXXFocus overrides, switched to using those
  23573. instead of the event handler
  23574. * Control.cs:
  23575. - Added Parent property for ControlAccessibleObject
  23576. - Fixed signatures
  23577. - Fixed attributes
  23578. - Added ResetBindings()
  23579. * ListBindingConverter.cs: Implemented some methods
  23580. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  23581. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  23582. * ContainerControl.cs: Fixed signature, now subscribing to the
  23583. ControlRemoved event instead of overriding the handler, LAMESPEC
  23584. * CurrencyManager.cs: Added missing attribute
  23585. * MonthCalendar.cs: Added missing properties
  23586. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  23587. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  23588. 2005-06-06 Gaurav Vaish and Ankit Jain
  23589. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  23590. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  23591. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  23592. * Control.cs: fixes CreateParams Width / Height.
  23593. 2005-06-05 Peter Bartok <[email protected]>
  23594. * Win32DnD.cs: Removed compilation warnings
  23595. 2005-06-05 Peter Bartok <[email protected]>
  23596. * Control.cs (CreateParams): Since we don't know if one of the
  23597. properties we use is overridden, lets make sure if we fail accessing
  23598. we continue with a backup plan
  23599. 2005-06-05 Peter Bartok <[email protected]>
  23600. * Win32DnD.cs:
  23601. - Removed debug output
  23602. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  23603. struct
  23604. - Plugged resource leak
  23605. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  23606. MS size
  23607. 2005-06-05 Peter Bartok <[email protected]>
  23608. * XplatUIWin32.cs: Removed DnD code
  23609. * Win32DnD.cs: Implemented drop source and drop target functionality
  23610. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  23611. * UpDownBase.cs: remove duplicate addition of event, enable some code
  23612. that was commented out.
  23613. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  23614. Validate input when a key is pressed. It works fine now for every
  23615. combination of Hexadecimal. Only missing some drawing love when sharing
  23616. space with other controls.
  23617. 2005-06-04 Peter Bartok <[email protected]>
  23618. * Control.cs:
  23619. - We need to pass a window for DragDrop, so enable callback events
  23620. - Added DnD callback events when being a DragSource
  23621. * XplatUI.cs (StartDrag): Added window handle argument
  23622. * XplatUIDriver.cs (StartDrag): Added window handle argument
  23623. * QueryContinueDragEventArgs: Made fields internally accessible so
  23624. drivers can set them
  23625. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  23626. can set them
  23627. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  23628. * DataGridTextBoxColumn.cs: column text editing
  23629. * DataGridTableStyle.cs: Respect columns styles created by the user
  23630. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  23631. * DataGridBoolColumn.cs: bool column editing
  23632. * DataGrid.cs: fixes to scrolling, properties, etc
  23633. * DataGridTextBox.cs: handle keyboard
  23634. * DataGridColumnStyle.cs: fixes
  23635. 2005-06-02 Jackson Harper <[email protected]>
  23636. * ImageListStreamer.cs: Somewhat broken implementation of
  23637. GetObjectData. The RLE needs some work to match MS properly.
  23638. 2005-06-02 Jackson Harper <[email protected]>
  23639. * X11Dnd.cs: Attempting to keep at least one file in MWF
  23640. monostyled.
  23641. 2005-06-02 Peter Bartok <[email protected]>
  23642. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  23643. that way
  23644. 2005-06-02 Peter Bartok <[email protected]>
  23645. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  23646. * XplatUI.cs: Added DoDragDrop() method
  23647. * XplatUIDriver.cs: Added DoDragDrop() method
  23648. 2005-06-02 Jackson Harper <[email protected]>
  23649. * Splitter.cs: Implement BorderStyle.
  23650. 2005-06-02 Jackson Harper <[email protected]>
  23651. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  23652. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  23653. X11 using XDND.
  23654. 2005-06-02 Peter Bartok <[email protected]>
  23655. * DataObject.cs:
  23656. - Added Data setter
  23657. - Fixed broken insertion code for SetData, now also
  23658. overwrites any existing entry of the same format name
  23659. * Hwnd.cs: Added list of pointers that automatically gets
  23660. freed when the window is disposed
  23661. * XplatUI.cs: Call driver initialization method when loading
  23662. a driver
  23663. * Control.cs:
  23664. - OnDragLeave takes EventArgs, not DragEventArgs
  23665. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  23666. supported
  23667. - Forces style update when drop state changes
  23668. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  23669. not perfect since we cannot (yet) call the IDataObject.GetData()
  23670. method, we keep getting 0x80004005 error, dunno why)
  23671. 2005-06-02 Peter Bartok <[email protected]>
  23672. * DragEventArgs.cs: Make fields internal so we can cache the
  23673. object and re-set the fields from XplatUI
  23674. 2005-06-02 Jackson Harper <[email protected]>
  23675. * Control.cs: Add some internal methods so the DnD subsystem can
  23676. raise DnD events. Also call into the driver when AllowDrop is set.
  23677. * XplatUI.cs:
  23678. * XplatUIDriver.cs: New method for setting whether or not a window
  23679. is allowed to accept drag and drop messages.
  23680. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  23681. * ScrollBar.cs: Make sure that values sent in Scroll events
  23682. are always between Maximum and Minimum.
  23683. 2005-06-01 Marek Safar <[email protected]>
  23684. * Menu.cs: Call MenuChanged when menuitem visibility has been
  23685. changed.
  23686. * MenuItem.cs: Rebuild menu when item is (not) visible.
  23687. * MainMenu.cs: MainMenu has special MenuChanged.
  23688. * Theme.cs: Caption and FrameBorderSize are not fixed.
  23689. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  23690. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  23691. * XplatUIX11.cs,
  23692. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  23693. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  23694. 2005-05-30 Jackson Harper <[email protected]>
  23695. * DataFormat.cs: We can't statically initialize this stuff because
  23696. it calls into the xplatui and could create a loop. So we lazy init
  23697. it.
  23698. 2005-05-28 Jackson Harper <[email protected]>
  23699. * Control.cs: Proper implementation of Product(Name/Version).
  23700. 2005-05-27 Jackson Harper <[email protected]>
  23701. * DataObject.cs: Dont crash if no data is found.
  23702. 2005-05-26 Rafael Teixeira <[email protected]>
  23703. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  23704. as per status page, guessing it should be set to true
  23705. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  23706. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  23707. * DataGridTableStyle.cs: set proper formatting text, def header text
  23708. * ThemeWin32Classic.cs: new themable paramaters
  23709. * DataGridBoolColumn.cs: paint check box, get data, fixes
  23710. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  23711. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  23712. * DataGridColumnStyle.cs: fixes
  23713. * Theme.cs: new themable paramaters
  23714. 2005-05-26 Peter Bartok <[email protected]>
  23715. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  23716. 2005-05-24 Jonathan S. Chambers <[email protected]>
  23717. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  23718. 2005-05-24 Peter Bartok <[email protected]>
  23719. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  23720. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  23721. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  23722. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  23723. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  23724. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  23725. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  23726. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  23727. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  23728. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  23729. missing attributes, etc
  23730. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  23731. 2005-05-24 Peter Bartok <[email protected]>
  23732. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  23733. when user tries to get help
  23734. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  23735. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  23736. to suppress warnings
  23737. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  23738. avoid unreachable code warning
  23739. 2005-05-20 Peter Bartok <[email protected]>
  23740. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  23741. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23742. * DataGridTextBoxColumn.cs: Basic painting methods
  23743. * DataGridTableStyle.cs: Set table style in the column
  23744. * ThemeWin32Classic.cs: Use Theme for colors
  23745. * DataGridDrawingLogic.cs: Implement more drawing
  23746. * DataGrid.cs: drawing, theming, enhacements, fixes
  23747. * DataGridColumnStyle.cs: fixes, drawing
  23748. * Theme.cs: theming for Datagrid
  23749. 2005-05-20 Peter Bartok <[email protected]>
  23750. * Cursor.cs: Implemented GetObjectData() method
  23751. 2005-05-20 Peter Bartok <[email protected]>
  23752. * Cursors.cs: Added setting of cursor name
  23753. * Cursor.cs:
  23754. - Implemented constructors
  23755. - Implemented Draw and DrawStretched
  23756. - Implemented Current property
  23757. - Implemented == and != operators
  23758. - Implemented Dispose()
  23759. - Implemented ToString
  23760. - Added missing attributes
  23761. * XplatUIX11.cs:
  23762. - Added missing reset for OverrideCursor when DoEvents is called
  23763. - Fixed creation of cursor, logic was wrong
  23764. * XplatUIWin32.cs:
  23765. - Added missing reset for OverrideCursor when DoEvents is called
  23766. - Fixed creation of cursor, bit arrays were swapped
  23767. * Clipboard.cs: Removed obsolete MonoTODO attribute
  23768. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23769. * ComboBox.cs: fixes OnSelectedItemChanged
  23770. * ControlBindingsCollection.cs: fixes item range check
  23771. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23772. * UpDownBase.cs:
  23773. - Calc preferred height properly
  23774. - Implement missing properties
  23775. * NumericUpDown.cs: Implement missing events
  23776. 2005-05-19 Jackson Harper <[email protected]>
  23777. * TabControl.cs: New method that resizes the tab pages before
  23778. redrawing them. This as needed as the control is double buffered
  23779. and sizing will not be recalculated unless ResizeTabPages is
  23780. called.
  23781. * TabPage.cs: Set base.Text instead of Text in the constructor so
  23782. that UpdateOwner does not get called. Use the new Redraw method of
  23783. TabControl instead of Refresh so the sizing is recalculated.
  23784. * ThemeWin32Classic.cs: Draw the text for button tabs.
  23785. 2005-05-19 Jackson Harper <[email protected]>
  23786. * Control.cs: Paint control background images. Fix typo where
  23787. PaintControlBackground was not getting called correctly.
  23788. 2005-05-19 Peter Bartok <[email protected]>
  23789. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  23790. I can investigate, apparently I broke FileDialog
  23791. 2005-05-19 Marek Safar <[email protected]>
  23792. * AxHost.cs: Some simple properties.
  23793. * Control.cs: window must be accessible after ctor.
  23794. * Form.cs: Added TransparencyKey property.
  23795. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  23796. * XplatUIWin32.cs: SetBorderStyle implemented.
  23797. 2005-05-18 Peter Bartok <[email protected]>
  23798. * DataObject.cs: Entries are not global but particular to the
  23799. DataObject, now it behaves that way
  23800. * XplatUIWin32.cs: Implemented Clipboard methods
  23801. * Clipboard.cs: Implemented
  23802. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  23803. * XplatUIOSX.cs: Updated to final clipboard prototypes
  23804. * XplatUIX11.cs: Implemented Clipboard methods
  23805. * XplatUIDriver.cs: Updated to final clipboard prototypes
  23806. * XplatUIStructs.cs:
  23807. - Added BITMAPINFOHEADER struct
  23808. - Added ClipboardFormats enum
  23809. * X11Structs.cs:
  23810. - Added ClipboardStruct
  23811. - Added Atom enum items for clipboard types
  23812. - Fixed atom types for Selection event structures
  23813. * DataFormats.cs:
  23814. - Added internal properties and methods for drivers to enumerate
  23815. all known formats
  23816. - Switched initialization method to allow drivers to assign their
  23817. own IDs even for the MS predefined clipboard IDs
  23818. * XplatUI.cs: Updated to final clipboard interface
  23819. 2005-05-18 Jonathan S. Chambers <[email protected]>
  23820. * PropertyGridView.cs: Fixed compiler warnings.
  23821. 2005-05-18 Jonathan S. Chambers <[email protected]>
  23822. * PropertyGrid.cs: Added some event calls
  23823. * PropertyGridView.cs: Change drawing code to use double buffering
  23824. * PropertyGridTextBox.cs: Changed Text property name
  23825. * GridItem.cs: Added Bounds property.
  23826. * GridEntry.cs: Added Bounds property.
  23827. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  23828. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  23829. since GetType() may not return the correct type if the object is
  23830. a remoting proxy.
  23831. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  23832. * TreeNodeCollection.cs: fixes get/set item ranges
  23833. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  23834. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  23835. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  23836. * ComboBox.cs: Fix item range comparation
  23837. * ListView.cs: Fix item range comparation
  23838. 2005-05-03 Alexander Olk <[email protected]>
  23839. * FontDialog.cs:
  23840. - Clear example panel when OnPaint is called
  23841. - Better solution for displaying the example panel text
  23842. - Select default indexes in the ListBoxes
  23843. 2005-05-11 Geoff Norton <[email protected]>
  23844. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  23845. 2005-05-11 Peter Bartok <[email protected]>
  23846. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  23847. * SelectionRangeConverter.cs: Implemented
  23848. * PropertyGrid.cs: Fixed attribute value
  23849. * Control.cs:
  23850. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  23851. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  23852. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  23853. that's common to all drivers. First methods to go there are
  23854. Sebastien Pouliot's CAS Stack Propagation helper methods
  23855. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  23856. Sebastien Pouliot for CAS Stack Propagation
  23857. 2005-05-11 Geoff Norton <[email protected]>
  23858. * OSXStructs.cs:
  23859. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  23860. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  23861. * DataGridTextBoxColumn.cs: fixed some members
  23862. * GridColumnStylesCollection.cs: indexed column is case insensitive
  23863. * DataGridTableStyle.cs: fixes
  23864. * ThemeWin32Classic.cs: add new theme parameter
  23865. * Theme.cs: add new theme parameter
  23866. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  23867. * DataGrid.cs: fixes, new internal properties, etc.
  23868. * DataGridColumnStyle.cs: allows to set grid value
  23869. *
  23870. 2005-05-10 Peter Bartok <[email protected]>
  23871. * AccessibleObject.cs:
  23872. - Removed MonoTODO attribute on help, method is correct
  23873. - Fixed Bounds property
  23874. * AxHost.cs: Moved MonoTODO
  23875. * ButtonBase.cs: Now setting AccessibleObject properties
  23876. * RadioButton.cs: Setting proper AccessibleObject role
  23877. * CheckBox.cs: Setting proper AccessibleObject role
  23878. * ControlBindingsCollection.cs: Added properties, methods and attributes
  23879. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  23880. userdefined DataFormats.Format items as well
  23881. * ListControl.cs: Removed data_member from the public eye
  23882. * OpenFileDialog.cs:
  23883. - Made class sealed
  23884. - Added missing attributes
  23885. * SaveFileDialog.cs: Added missing attributes
  23886. * ImageListStreamer.cs: Fixed code that caused warnings
  23887. * LinkLabel.cs: Removed unreachable code
  23888. * TreeView.cs: Fixed code that caused warnings
  23889. * PropertyGridView.cs: Fixed code that caused warnings
  23890. * GridColumnStylesCollection.cs: Added missing attributes
  23891. * GridTableStylesCollection: Added missing attribute
  23892. * PropertyManager: Added .ctor
  23893. * SecurityIDType: Added
  23894. * DataObject.cs: Implemented class
  23895. * LinkArea.cs: Added missing attribute
  23896. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  23897. * RadioButton.cs: call base method to allow to fire OnClick event
  23898. * UpDownBase.cs: OnMouseUp call base method
  23899. * CheckedListBox.cs: call base method before returning
  23900. * TrackBar.cs: call base method before returning
  23901. 2005-05-10 Peter Bartok <[email protected]>
  23902. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  23903. for messages
  23904. 2005-05-10 Peter Bartok <[email protected]>
  23905. * DataFormats.cs: Implemented
  23906. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  23907. XplatUIX11.cs: Added Clipboard APIs
  23908. * XplatUIWin32.cs: Implemented Clipboard APIs
  23909. * FolderBrowserDialog.cs: Added missing event, attributes
  23910. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  23911. * CheckBox.cs: call base method to allow to fire OnClick event
  23912. 2005-05-09 Sebastien Pouliot <[email protected]>
  23913. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  23914. 2005-05-06 Peter Bartok <[email protected]>
  23915. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  23916. * Screen.cs: Implemented
  23917. * HelpNavigator.cs: Added
  23918. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  23919. property
  23920. * HelpProvider.cs: Implemented all we can do until we have a CHM
  23921. help library (which means that "What's This" does work now)
  23922. 2005-05-06 Jackson Harper <[email protected]>
  23923. * XplatUIX11.cs: Fix waking up the main loop.
  23924. 2005-05-05 Peter Bartok <[email protected]>
  23925. * XplatUI.cs: Updated revision
  23926. * Form.cs: Removed enless loop
  23927. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  23928. * Label.cs (OnPaint): Added call to base.OnPaint()
  23929. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  23930. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  23931. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  23932. * AxHost.cs: Added
  23933. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  23934. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  23935. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  23936. reuse of ToolTipWindow by other controls
  23937. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  23938. * XplatUIX11.cs: Now clipping drawing area (experimental)
  23939. * PictureBox.cs: Moved base.OnPaint() call to end of method
  23940. * Theme.cs: Fixed ToolTip abstracts to match new format
  23941. * ErrorProvider.cs: Implemented
  23942. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  23943. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  23944. * LinkLabel.cs:
  23945. - Adds cursors
  23946. - Handles focus
  23947. - Implements LinkBehavior
  23948. - Fixes many issues
  23949. 2005-05-03 Jackson Harper <[email protected]>
  23950. * ListView.cs: Calculate the scrollbar positioning on resize and
  23951. paint, so they get put in the correct place.
  23952. 2005-05-03 Alexander Olk <[email protected]>
  23953. * ColorDialogs.cs: The small color panels are now handled by
  23954. SmallColorControl. This fixes drawing of the focus rectangle
  23955. and adds a 3D border.
  23956. 2005-05-03 Peter Bartok <[email protected]>
  23957. * Control.cs: Modified version of Jonathan Chamber's fix for
  23958. double-buffering
  23959. 2005-05-03 Jackson Harper <[email protected]>
  23960. * ListView.cs: Remove redraw variable. Control now handles whether
  23961. or not a redraw needs to be done, and will only raise the paint
  23962. event if redrawing is needed.
  23963. 2005-05-03 Jackson Harper <[email protected]>
  23964. * Splitter.cs: No decorations for the splitter form. Cache the
  23965. hatch brush.
  23966. 2005-05-03 Jackson Harper <[email protected]>
  23967. * TreeView.cs: Use dashed lines to connect nodes. Use the
  23968. ControlPaint method for drawing the focus rect instead of doing
  23969. that in treeview.
  23970. 2005-05-02 Peter Bartok <[email protected]>
  23971. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  23972. 2005-04-29 Jackson Harper <[email protected]>
  23973. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  23974. entire image buffer. Just clear the clipping rectangle.
  23975. 2005-04-29 Jackson Harper <[email protected]>
  23976. * ThemeWin32Classic.cs: Don't draw list view items that are
  23977. outside the clipping rectangle.
  23978. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  23979. * ListBox.cs: added horizontal item scroll
  23980. 2005-04-29 Jackson Harper <[email protected]>
  23981. * ThemeWin32Classic.cs: Remove some old debug code that was
  23982. causing flicker with the new double buffering code.
  23983. 2005-04-29 John BouAntoun <[email protected]>
  23984. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  23985. behave like combobox and comboboxlist (still not sure if this is
  23986. correct though).
  23987. 2005-04-28 Jackson Harper <[email protected]>
  23988. * ThemeWin32Classic.cs: Don't fill the middle of progress
  23989. bars. This fills areas outside of the clip bounds that don't need
  23990. to be filled.
  23991. 2005-04-28 Jackson Harper <[email protected]>
  23992. * Control.cs: Don't expose functionality to touch the image buffers.
  23993. * ProgressBar.cs:
  23994. * ListView.cs: We do not need to (and no longer can) manipulate
  23995. the image buffers directly. All of this is handled by Control.
  23996. 2005-04-28 Peter Bartok <[email protected]>
  23997. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  23998. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  23999. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  24000. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  24001. * Combobox:
  24002. - Adjust control's height for non-simple comboboxes (bug fix)
  24003. - Remove dead code
  24004. * MenuAPI.cs: remove unused var
  24005. * ScrollBar.cs: remove unsed var
  24006. * ListBox.cs: unselect items when clearing
  24007. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  24008. * ListControl.cs: honors OnPositionChanged and default Selected Item
  24009. * ListBox.cs: unselect items when clearing
  24010. 2005-04-27 Jackson Harper <[email protected]>
  24011. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  24012. if a "correct" keyboard is not found. This will make us not crash,
  24013. but might give some users bad keyboard layouts...seems to be the
  24014. same thing rewind does.
  24015. 2005-04-27 Jackson Harper <[email protected]>
  24016. * BindingManagerBase.cs: Attach the current/position changed
  24017. handlers to their respective events.
  24018. 2005-04-27 Jackson Harper <[email protected]>
  24019. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  24020. not just a blit.
  24021. * ThemeWin32Classic.cs: Don't fill the background for picture
  24022. boxes. This could overright user drawing.
  24023. * ComboBox.cs: Just fill the clipping rect not the entire client
  24024. rect when drawing the background. This prevents pieces of the
  24025. image buffer from getting overwritten and is theoretically faster.
  24026. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  24027. * ComboBox.cs: Databinding support fixes, fire missing events
  24028. * ListControl.cs: implement missing methods and properties, fixes
  24029. * ThemeWin32Classic.cs: Databiding support on Drawing
  24030. * CheckedListBox.cs: Databinding support fixes, fire missing events
  24031. * ListBox.cs: Databinding support fixes, fire missing events
  24032. 2005-04-25 Peter Bartok <[email protected]>
  24033. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  24034. 2005-04-25 Jackson Harper <[email protected]>
  24035. * TreeView.cs: Use the horizontal scrollbars height not width when
  24036. determining how much of the client area is available.
  24037. 2005-04-25 Jackson Harper <[email protected]>
  24038. * Control.cs: Double buffering is handled differently now. As per
  24039. the spec, the extra buffer is created in the WM_PAINT message and
  24040. passed down to the control's drawing code.
  24041. * GroupBox.cs:
  24042. * Label.cs:
  24043. * CheckBox.cs:
  24044. * ProgressBar.cs:
  24045. * RadioButton.cs:
  24046. * ColorDialog.cs:
  24047. * ComboBox.cs:
  24048. * PropertyGridView.cs:
  24049. * UpDownBase.cs:
  24050. * MessageBox.cs:
  24051. * MenuAPI.cs:
  24052. * ListView.cs:
  24053. * ButtonBase.cs:
  24054. * SizeGrip.cs:
  24055. * ScrollBar.cs:
  24056. * ListBox.cs:
  24057. * TrackBar.cs:
  24058. * ToolBar.cs:
  24059. * PictureBox.cs:
  24060. * DateTimePicker.cs:
  24061. * StatusBar.cs:
  24062. * TreeView.cs: Update to new double buffering system.
  24063. * MonthCalendar.cs: Uncomment block, as Capture is now
  24064. working. Update to new double buffering
  24065. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  24066. * PaintEventArgs.cs: New internal method allows us to set the
  24067. graphics object. This is used for double buffering.
  24068. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  24069. rectangle. The internal paint_area var has been removed from
  24070. StatusBar. The clipping rect should be used instead.
  24071. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  24072. * TabPage.cs: The RefreshTabs method was removed, so just call the
  24073. tab controls Refresh method now.
  24074. * TabControl.cs: Update to new double buffering. Make sure the
  24075. handle is created before sizing the tab pages, otherwise we will
  24076. get stuck in a loop.
  24077. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  24078. * LinkLabel.cs: Fix typo, bug #74719; patch
  24079. from Borja Sanchez Zamorano
  24080. 2005-04-22 Jackson Harper <[email protected]>
  24081. * TreeNode.cs: Implement Handle stuff.
  24082. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  24083. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  24084. * DataGridTextBoxColumn.cs: call base constructors, fixes
  24085. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  24086. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  24087. * DataGridTableStyle.cs: implements create default column styles
  24088. * DataGridBoolColumn.cs: which types can handle
  24089. * DataGrid.cs: missing methods, fixes, new functionality
  24090. * DataGridColumnStyle.cs: fixes
  24091. 2005-04-20 Alexander Olk <[email protected]>
  24092. * FolderBrowserDialog.cs:
  24093. - Use a thread to fill the TreeView
  24094. - Adjusted some sizes
  24095. 2005-04-19 Peter Bartok <[email protected]>
  24096. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  24097. property. Fixes #74360.
  24098. 2005-04-19 Jackson Harper <[email protected]>
  24099. * XEventQueue.cs: Lock when getting the lockqueue size.
  24100. * PictureBox.cs: Call base OnPaint
  24101. 2005-04-19 Peter Bartok <[email protected]>
  24102. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  24103. messages were no longer being processed (this broke BeginInvoke)
  24104. 2005-04-18 Jackson Harper <[email protected]>
  24105. * TreeView.cs: buglet that caused node images to get drawn
  24106. regardless of whether or not they were in the clipping rectangle.
  24107. 2005-04-18 Jackson Harper <[email protected]>
  24108. * CurrencyManager.cs: There are four rules for GetItemProperties:
  24109. - If the type is an array use the element type of the array
  24110. - If the type is a typed list, use the type
  24111. - If the list contains an Item property that is not an object, use
  24112. that property
  24113. - use the first element of the list if there are any elements in
  24114. the list.
  24115. 2005-04-17 Jackson Harper <[email protected]>
  24116. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  24117. click. This handles offsets for scrolling properly and reduces
  24118. memory. Also fixed GetNode to not offset now that TopNode works
  24119. properly.
  24120. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  24121. 2005-04-17 Jackson Harper <[email protected]>
  24122. * CursorConverter.cs: Initial implementation.
  24123. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24124. * ListControl.cs: work towards complex data binding support on ListControl
  24125. * CurrencyManager.cs: work towards complex data binding support on ListControl
  24126. * ListBox.cs: work towards complex data binding support on ListControl
  24127. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24128. * GridTableStylesCollection.cs: fixes name and constructor
  24129. * DataGridTableStyle.cs: fixes
  24130. * DataGridBoolColumn.cs: fixes names and constructors
  24131. * DataGrid.cs: define methods and properties. Some init implementations
  24132. * DataGridCell.cs: define methods and properties. Some init implementations
  24133. * GridTablesFactory.cs: Define methods and properties
  24134. 2005-04-15 Geoff Norton <[email protected]>
  24135. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  24136. graphics port changes. We still want the coordinates in global screen
  24137. coordinates.
  24138. 2005-04-14 Jackson Harper <[email protected]>
  24139. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  24140. check plus minus or checkbox clicks unless those features are enabled.
  24141. 2005-04-14 Jackson Harper <[email protected]>
  24142. * TreeView.cs: Add methods for setting the top and bottom visible
  24143. nodes. TreeNode::EnsureVisible uses these methods.
  24144. * TreeNode.cs: Implement EnsureVisible
  24145. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  24146. * Form.cs: Pospone menu assignation if the window has not been created yet
  24147. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  24148. size and position
  24149. 2005-04-12 Jackson Harper <[email protected]>
  24150. * TreeView.cs: Set the TopNode properly when scrolling
  24151. occurs. This has the added benifit of reducing the amount of
  24152. walking that needs to be done when drawing. Also removed an old
  24153. misleading TODO.
  24154. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  24155. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  24156. * Timer.cs: fixes interval setting when the timer is already enabled
  24157. 2005-04-10 Alexander Olk <[email protected]>
  24158. * FolderBrowserDialog.cs: First approach
  24159. 2005-04-09 Peter Bartok <[email protected]>
  24160. * FolderBrowserDialog: Added
  24161. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  24162. * LinkLabel.cs: move drawing code into the theme
  24163. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  24164. * Theme.cs: define DrawLinkLabel method
  24165. 2005-04-05 Jackson Harper <[email protected]>
  24166. * BindingContext.cs: Use weak references so these bad actors don't
  24167. stay alive longer then they need to.
  24168. 2005-04-05 Jackson Harper <[email protected]>
  24169. * ListControl.cs: Basic implementation of complex databinding.
  24170. * ComboBox.cs:
  24171. * ListBox.cs: Add calls to ListControl databinding methods.
  24172. 2005-04-05 Alexander Olk <[email protected]>
  24173. * FileDialog.cs:
  24174. - Don't change PopupButtonState to Normal when the
  24175. PopupButton gets pressed several times.
  24176. - Renamed ButtonPanel to PopupButtonPanel
  24177. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  24178. * ColorDialog.cs: Use cached objects instead of creating them
  24179. * LinkLabel.cs: Use cached objects instead of creating them
  24180. * Splitter.cs: Use cached objects instead of creating them
  24181. * FontDialog.cs: Use cached objects instead of creating them
  24182. * PropertyGridView.cs: Use cached objects instead of creating them
  24183. * MessageBox.cs: Use cached objects instead of creating them
  24184. * FileDialog.cs: Use cached objects instead of creating them
  24185. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  24186. * TreeView.cs: Use cached objects instead of creating them
  24187. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  24188. * Control.cs: use Equals to compare the font since no == op
  24189. * ScrollBar.cs: use Equals to compare the font since no == op
  24190. 2005-04-04 Alexander Olk <[email protected]>
  24191. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  24192. 2005-04-01 Jackson Harper <[email protected]>
  24193. * Binding.cs: Implement IsBinding.
  24194. * BindingManagerBase.cs:
  24195. * PropertyManager.cs:
  24196. * CurrencyManager.cs: Add IsSuspended property.
  24197. 2005-04-01 Jackson Harper <[email protected]>
  24198. * Binding.cs: Had some IsAssignableFrom calls backwards.
  24199. 2005-04-01 Jackson Harper <[email protected]>
  24200. * Binding.cs: Handle null data members when pulling data.
  24201. * PropertyManager.cs: Handle the data member being a property that
  24202. does not exist.
  24203. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24204. * DataGridTextBoxColumn.cs: fixes signature
  24205. * DataGrid.cs: calls right constructor
  24206. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24207. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  24208. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  24209. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  24210. * DataGridTableStyle.cs: implements DataGridTableStyle
  24211. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  24212. * DataGridTextBox.cs: implements DataGridTextBox
  24213. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  24214. 2005-03-31 Alexander Olk <[email protected]>
  24215. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  24216. 2005-03-29 Peter Bartok <[email protected]>
  24217. * Application.cs:
  24218. - Properly implemented CompanyName property
  24219. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  24220. returns a path that includes CompanyName, ProductName and
  24221. Version (fixes bug #70330)
  24222. 2005-03-29 Stefan Buehler <[email protected]>
  24223. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  24224. fixes bug #72588.
  24225. 2005-03-28 Alexander Olk <[email protected]>
  24226. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  24227. - Added ReadOnly CheckBox
  24228. - Further refactoring: moved some code from Open-/SaveFileDialog
  24229. to FileDialog
  24230. 2005-03-28 Alexander Olk <[email protected]>
  24231. * OpenFileDialog.cs: Fixed CheckFileExists
  24232. * FileDialog.cs:
  24233. Moved FileView and DirComboBox outside FileDialog class.
  24234. They can now be used outside FileDialog
  24235. 2005-03-27 Alexander Olk <[email protected]>
  24236. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  24237. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  24238. 2005-03-27 Alexander Olk <[email protected]>
  24239. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24240. - Added missing CreatePrompt property in SaveDialog
  24241. - Overall SaveDialog handling should be better now
  24242. - Added non standard ShowHiddenFiles property
  24243. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  24244. - Added InitialDirectory and RestoreDirectory support
  24245. 2005-03-26 Alexander Olk <[email protected]>
  24246. * FileDialog.cs: Made dirComboBox usable
  24247. 2005-03-24 Alexander Olk <[email protected]>
  24248. * FileDialog.cs: Added Filter support (case sensitiv)
  24249. 2005-03-24 Jackson Harper <[email protected]>
  24250. * TabControl.cs: Need a couple more pixels for the lines.
  24251. 2005-03-23 Jackson Harper <[email protected]>
  24252. * TabControl.cs: Give the tab page focus when it is selected.
  24253. 2005-03-23 Jackson Harper <[email protected]>
  24254. * TabControl.cs: Account for the drawing of tabs borders when
  24255. invalidating. If the slider was clicked dont do click detection on
  24256. the tabs.
  24257. 2005-03-23 Jackson Harper <[email protected]>
  24258. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  24259. 2005-03-22 Jonathan Chambers <[email protected]>
  24260. * CategoryGridEntry.cs: Added
  24261. * GridItem.cs: Added helper properties
  24262. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  24263. * GridEntry.cs: Updated code for collection
  24264. * PropertyGrid.cs: Cleaned up some formatting
  24265. * PropertyGridView.cs: Added drop down functionality for enums.
  24266. * GridItemCollection.cs: Added enumerator logic
  24267. * PropertyGridEntry.cs: Added
  24268. 2005-03-19 Alexander Olk <[email protected]>
  24269. * FileDialog.cs:
  24270. - Removed unnecessary commented code
  24271. - Fixed handling for entering the filename manually in the combobox
  24272. 2005-03-19 Alexander Olk <[email protected]>
  24273. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  24274. 2005-03-18 Peter Bartok <[email protected]>
  24275. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  24276. them being touching the border
  24277. 2005-03-18 Peter Bartok <[email protected]>
  24278. * TextControl.cs: Quick hack to center text better
  24279. 2005-03-18 Peter Bartok <[email protected]>
  24280. * ControlPaint.cs:
  24281. - Don't throw NotImplemented exceptions, just print a notice once
  24282. instead (requested by Miguel). This makes running existing SWF
  24283. apps a bit easier
  24284. * Control.cs:
  24285. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  24286. - Added context menu trigger on right click
  24287. * Panel.cs: Trigger invalidate on resize
  24288. * StatusBar.cs:
  24289. - Removed old double-buffer drawing
  24290. - Added ResizeRedraw style to force proper update of statusbar
  24291. * ListView.cs:
  24292. - Removed debug output
  24293. * ThemeWin32Classic.cs:
  24294. - Fixed drawing of status bar, now draws Text property if there
  24295. are no defined panels
  24296. 2005-03-18 Jackson Harper <[email protected]>
  24297. * ImageList.cs: When the image stream is set pull all the images
  24298. from it.
  24299. * ImageListStreamer.cs: Implement reading image list streams.
  24300. 2005-03-18 Peter Bartok <[email protected]>
  24301. * ThemeWin32Classic.cs (DrawPictureBox):
  24302. - Fixed calculations for centered drawing
  24303. - Fixed drawing for normal mode, not scaling the image on normal
  24304. 2005-03-18 Peter Bartok <[email protected]>
  24305. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  24306. textbox
  24307. * FileDialog.cs:
  24308. - Made Open/Save button the accept button for FileDialog
  24309. - Tied the cancel button to the IButtonControl cancel button
  24310. - Save/Open now properly builds the pathname
  24311. - Now handles user-entered text
  24312. - Preventing crash on right-click if no item is selected
  24313. - Fixed Text property, now uses contents of textbox
  24314. - Fixed SelectedText property, now just returns the text part that
  24315. is selected in the text box
  24316. 2005-03-18 Jackson Harper <[email protected]>
  24317. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  24318. rect, make sure to de-adjust the interior rect after drawing the
  24319. tab text.
  24320. 2005-03-18 Peter Bartok <[email protected]>
  24321. * MenuAPI.cs: Remove menu *before* executing selected action to
  24322. prevent the menu from 'hanging around'
  24323. 2005-03-17 Geoff Norton <[email protected]>
  24324. * XplatUIOSX.cs: Implemented WorkingArea property
  24325. 2005-03-17 Peter Bartok <[email protected]>
  24326. * XplatUIX11.cs: Fixed menu coord calculations
  24327. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  24328. for calculating offsets
  24329. 2005-03-17 Peter Bartok <[email protected]>
  24330. * Hwnd.cs: Do not consider menu presence for default client
  24331. rectangle location/size
  24332. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  24333. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  24334. translation functions
  24335. * FileDialog.cs: Fixed (what I presume is a) typo
  24336. 2005-03-17 Jonathan Gilbert <[email protected]>
  24337. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  24338. X access (avoids X-Async errors)
  24339. 2005-03-16 Jackson Harper <[email protected]>
  24340. * TabControl.cs: Raise the SelectedIndexChanged event.
  24341. 2005-03-16 Alexander Olk <[email protected]>
  24342. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24343. - Removed vertical ToolBar and replaced it with a custom panel
  24344. (desktop and home button already work)
  24345. - Added Help button (some controls get resized or relocated then)
  24346. - Draw correct text depending on Open or Save.
  24347. - Fixed some typos...
  24348. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  24349. * ScrollBar.cs:
  24350. - Only change Maximum and Minimum when need it (bug fix)
  24351. 2005-03-15 Peter Bartok <[email protected]>
  24352. * Form.cs: Use Handle for icon, to trigger creation if
  24353. the window does not yet exist
  24354. * Control.cs:
  24355. - CanSelect: Slight performance improvement
  24356. - Focus(): Preventing possible recursion
  24357. - Invalidate(): Removed ControlStyle based clear flag setting
  24358. - WM_PAINT: fixed logic for calling OnPaintBackground
  24359. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  24360. EraseWindowBackground if the control doesn't paint background
  24361. * XplatUIWin32.cs:
  24362. - Moved EraseWindowBackground() method to internal methods
  24363. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  24364. is sent via SendMessage on BeginPaint call on Win32
  24365. * XplatUIX11.cs:
  24366. - Added EraseWindowBackground() method
  24367. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  24368. PaintEventStart, which more closely matches Win32 behaviour
  24369. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  24370. - Fixed SetFocus() to properly deal with client and whole windows
  24371. * Hwnd.cs: Added ErasePending property
  24372. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  24373. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  24374. 2005-03-12 Geoff Norton <[email protected]>
  24375. * XplatUIOSX.cs:
  24376. - Fix hard loop when timers exist.
  24377. - Fix bugs with middle and right click for 3 button mice.
  24378. 2005-03-11 Peter Bartok <[email protected]>
  24379. * XplatUIX11.cs:
  24380. - get_WorkingArea: Need to call X directly, GetWindowPos only
  24381. returns cached data now
  24382. - Added sanity check to GetWindowPos hwnd usage
  24383. 2005-03-11 Jackson Harper <[email protected]>
  24384. * BindingManagerBase.cs: This method isn't used anymore as
  24385. PullData now updates the data in the control.
  24386. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  24387. * Form.cs: fixes menu drawing on X11
  24388. * MenuAPI.cs: fixes menu drawing on X11
  24389. 2005-03-11 Peter Bartok <[email protected]>
  24390. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  24391. from Jonathan Gilbert; should fix bug #73606
  24392. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  24393. in Screen coordinates. Thanks, Jordi.
  24394. * Form.cs: Added missing attribute
  24395. 2005-03-11 Peter Bartok <[email protected]>
  24396. * Form.cs:
  24397. - Rudimentary Mdi support
  24398. - Removed outdated FormParent code
  24399. - Implemented lots of missing properties and methods, still missing
  24400. transparency support
  24401. - Added missing attributes
  24402. - Implemented support for MaximumBounds
  24403. - Added firing of various events
  24404. * XplatUI.cs: Added SetIcon() method
  24405. * XplatUIDriver.cs: Added SetIcon() abstract
  24406. * XplatUIOSX.cs: Stubbed out SetIcon() method
  24407. * XplatUIX11.cs:
  24408. - Implemented SetIcon() support
  24409. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  24410. - Switched to unix line endings
  24411. * XplatUIWin32.cs:
  24412. - Made POINT internal so for can access it as part of MINMAX
  24413. - Implemented SetIcon() support
  24414. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  24415. native Mdi support again, might have to go managed)
  24416. * Control.cs: Now fires the StyleChanged event
  24417. * MdiClient.cs: Added; still mostly empty
  24418. 2005-03-10 Peter Bartok <[email protected]>
  24419. * SaveFileDialog.cs: Added emtpy file
  24420. 2005-03-08 Peter Bartok <[email protected]>
  24421. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  24422. in turn triggers OnCreateContro) when creating a handle for the
  24423. first time.
  24424. * TextControl.cs: Fixed endless loop in certain cases when
  24425. replacing the current selection
  24426. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  24427. * ScrollBar.cs:
  24428. - Honors NewValue changes in Scroll events allowing apps to change it
  24429. - Adds First and Last Scroll events
  24430. - Fixes Thumb events
  24431. 2005-03-07 Peter Bartok <[email protected]>
  24432. * Hwnd.cs: Added DefaultClientRectangle property
  24433. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  24434. more detailed debug information
  24435. * XplatUIX11.cs:
  24436. - Fixed size-change feedback loop, where we would pull an old size
  24437. off the queue and mistakenly change our window's size to an
  24438. earlier value
  24439. - Now compressing ConfigureNotify events, to reduce looping and
  24440. redraw issues
  24441. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  24442. is called
  24443. 2005-03-07 Jackson Harper <[email protected]>
  24444. * Binding.cs: Push data pushes from data -> property. Check if the
  24445. property is readonly when attempting to set it.
  24446. 2005-03-07 Jackson Harper <[email protected]>
  24447. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  24448. instead of IsSubclassOf. Pulling data now sets the value on the
  24449. control.
  24450. * PropertyManager.cs:
  24451. * CurrencyManager.cs: Just need to pull data when updating now,
  24452. because PullData will set the value on the control.
  24453. 2005-03-04 Jackson Harper <[email protected]>
  24454. * Binding.cs: Implement data type parsing and converting on pulled
  24455. data. TODO: Are there more ways the data can be converted?
  24456. 2005-03-04 Jackson Harper <[email protected]>
  24457. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  24458. controls Validating method so we can repull the data when the
  24459. control loses focus.
  24460. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  24461. * ColumnHeader.cs:
  24462. - Fixes null string format
  24463. * ListView.cs:
  24464. - Adds enum type checks
  24465. - Fixes redrawing and recalc need after changing some properties
  24466. - Fixes on focus_item set after the event
  24467. - Fixes adding columns after the control has been created
  24468. * ThemeWin32Classic.cs:
  24469. - Fixes CheckBox focus rectangle
  24470. - Fixes ColumnHeader drawing
  24471. 2005-03-03 Jackson Harper <[email protected]>
  24472. * Binding.cs: Bind to <Property>Changed events so we can detect
  24473. when properties are changed and update the data.
  24474. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  24475. * ImageList.cs:
  24476. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  24477. - Fixes ImageList constructor with ImageList container
  24478. - Fixes image scaling (wrong parameters at DrawImage)
  24479. 2005-02-02 Jackson Harper <[email protected]>
  24480. * Binding.cs: Make property searches case-insensitive. Eliminate
  24481. some duplicated code.
  24482. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  24483. * ComboBox.cs:
  24484. - Handle focus event
  24485. - Fix scrollbar events
  24486. - Discard highlighted item if remove it
  24487. - Fixes SelectedItem with strings
  24488. 2005-03-01 Peter Bartok <[email protected]>
  24489. * Control.cs:
  24490. - Fixed Visible property, now follows (once again) parent chain
  24491. to return false if any control in the chain is visible=false
  24492. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  24493. - Fixed several places where is_visible instead of Visible was used
  24494. - Implemented FIXME related to focus selection when setting focused
  24495. control to be invisible
  24496. * XplatUIWin32.cs: Now using proper method to find out if window is
  24497. visible. Thanks to Jordi for pointing it out
  24498. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  24499. * ComboBox.cs: show/hide scrollbar instead of creating it
  24500. 2005-02-27 Jackson Harper <[email protected]>
  24501. * CurrencyManager.cs: Add PositionChanged stuff.
  24502. 2005-02-27 Peter Bartok <[email protected]>
  24503. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  24504. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  24505. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  24506. * XplatUIX11.cs:
  24507. - Implemented GetMenuDC()
  24508. - Implemented GetMenuOrigin()
  24509. - Implemented ReleaseMenuDC()
  24510. - Implemented generation of WM_NCPAINT message
  24511. - Implemented generation and handling of WM_NCCALCSIZE message
  24512. * Form.cs: Added debug helper message for Jordi's menu work
  24513. * Hwnd.cs:
  24514. - Modified ClientRect property; added setter, fixed getter to handle
  24515. setting of ClientRect
  24516. - Added MenuOrigin property
  24517. 2005-02-26 Peter Bartok <[email protected]>
  24518. * XplatUIX11.cs:
  24519. - Destroys the caret if a window that's being destroyed contains it
  24520. - Ignores expose events coming from the X11 queue for windows that
  24521. already are destroyed
  24522. - Now uses the proper variable for handling DestroyNotify, before we
  24523. marked the wrong window as destroyed
  24524. - Improved/added some debug output
  24525. 2005-02-26 Peter Bartok <[email protected]>
  24526. * X11Keyboard.cs: Fixes to work on 64bit systems
  24527. 2005-02-26 Peter Bartok <[email protected]>
  24528. * Control.cs:
  24529. - Now calling OnHandleDestroyed from DestroyHandle()
  24530. instead of Dispose()
  24531. - Removed bogus call to controls.Remove() from DestroyHandle()
  24532. 2005-02-26 Peter Bartok <[email protected]>
  24533. * Control.cs: Properly destroy child windows when our handle is
  24534. destroyed
  24535. 2005-02-25 Peter Bartok <[email protected]>
  24536. * XplatUI.cs:
  24537. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  24538. - Alphabetized Static Methods and Subclasses
  24539. * XplatUIX11.cs:
  24540. - Added XException class to allow custom handling of X11 exceptions
  24541. - Created custom X11 error handler, tied into XException class
  24542. - Added support for MONO_XEXCEPTIONS env var to allow the user
  24543. to either throw an exception on X errors or continue running
  24544. after displaying the error
  24545. - Added handling of DestroyNotify message
  24546. - Added handler for CreateNotify message (still disabled)
  24547. - Improved (tried to at least) Where method to provide file and lineno
  24548. * X11Structs.cs:
  24549. - Added XErrorHandler delegate
  24550. - Added XRequest enumeration (to suppor translation of errors)
  24551. 2005-02-25 Jackson Harper <[email protected]>
  24552. * PropertyManager.cs: Implement editing features
  24553. * CurrencyManager.cs:
  24554. * Binding.cs: First attempt at UpdateIsBinding
  24555. * BindingManagerBase.cs: Call UpdateIsBinding before
  24556. pushing/pulling data.
  24557. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  24558. * MenuAPI.cs: Respect disabled items
  24559. * ThemeWin32Classic.cs
  24560. - Caches ImageAttributes creation for DrawImageDisabled
  24561. - Fixes vertical menu line drawing
  24562. - Draws disabled arrows in disable menu items
  24563. 2005-02-24 Peter Bartok <[email protected]>
  24564. * Hwnd.cs:
  24565. - Added UserData property to allow associating arbitrary objects
  24566. with the handle
  24567. - Fixed leak; now removing Hwnd references from static windows array
  24568. * XplatUIWin32.cs:
  24569. - Fixed Graphics leak in PaintEventEnd
  24570. - Removed usage of HandleData, switched over to Hwnd class
  24571. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  24572. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  24573. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  24574. * ScrollBar.cs: Fixes bug
  24575. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  24576. keyboard navigation enhancements
  24577. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  24578. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  24579. * GroupBox.cs: Add control styles
  24580. * Label.cs: Add control styles
  24581. * UpDownBase.cs: Add control styles
  24582. * ListBox.cs: Add control styles
  24583. * XplatUIWin32.cs: Fixes wrong parameter order
  24584. 2005-02-23 Chris Bacon <[email protected]>
  24585. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  24586. 2005-02-23 Jackson Harper <[email protected]>
  24587. * PropertyManager.cs: Implement property binding. This doesn't
  24588. seem to work yet though as (I think) there are some bugs in
  24589. System.ComponentModel.PropertyDescriptor.
  24590. * BindingContext.cs: Use new PropertyManager constructor.
  24591. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  24592. * ProgressBar.cs: use clip region in ProgressBar
  24593. * ThemeWin32Classic.cs: use clip region in ProgressBar
  24594. 2004-02-22 Jackson Harper <[email protected]>
  24595. * BindingsCollection.cs: Remove some debug code.
  24596. 2005-02-22 Jackson Harper <[email protected]>
  24597. * BindingContext.cs:
  24598. * ControlBindingsCollection.cs:
  24599. * CurrencyManager.cs:
  24600. * Binding.cs:
  24601. * BindingManagerBase.cs: Initial implementation
  24602. * BindingsCollection.cs: Add an internal contains method that the
  24603. BindingManagerBase uses to ensure bindings aren't added twice to
  24604. the collection.
  24605. * PropertyManager.cs: Stubbed out.
  24606. * Control.cs:
  24607. * ContainerControl.cs: Hook up databinding
  24608. 2005-02-22 Geoff Norton <[email protected]>
  24609. * XplatUIOSX.cs:
  24610. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  24611. Fixed Invalidate/Update chain.
  24612. Fixed tons of other minor bugs (this is almost a complete rewrite).
  24613. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  24614. * ComboBox.cs: do subcontrol creation when the control is created
  24615. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24616. * Label.cs: fixes image drawing (image and imagelist)
  24617. * ThemeWin32Classic.cs: cache brushes
  24618. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24619. * Form.cs: Move menu drawing code to Theme class
  24620. * ComboBox.cs: Move ComboBox drawing code to Theme class
  24621. * MenuItem.cs: Move menu drawing code to Theme class
  24622. * MenuAPI.cs: Move menu drawing code to Theme class
  24623. * ThemeWin32Classic.cs: New methods
  24624. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  24625. * ListBox.cs: Move Listbox drawing code to Theme class
  24626. * Theme.cs: New methods
  24627. 2005-02-20 Peter Bartok <[email protected]>
  24628. * Control.cs:
  24629. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  24630. only process mnemonics on those)
  24631. - Fixed event sequence for key handling; first calling
  24632. ProcessKeyEventArgs now
  24633. * TextBoxBase.cs:
  24634. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  24635. for processing non-character keys
  24636. - Fixed WM_CHAR to generate proper event sequence before processing
  24637. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  24638. generation
  24639. 2005-02-19 Peter Bartok <[email protected]>
  24640. * UserControl.cs: Added TextChanged event; added attributes
  24641. * SizeGrip.cs: Implemented resizing and optional display of grip
  24642. * Form.cs: Fixed attribute
  24643. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  24644. Changed meaning of ScrollWindow bool argument; instead of the
  24645. clear attribute (which will be true usually anyway), it gives the
  24646. option of moving child controls as well.
  24647. * XplatUIX11.cs:
  24648. - Changed to match new ScrollWindow argument
  24649. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  24650. now handles the implicit parent window a WM puts around us
  24651. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  24652. to work)
  24653. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  24654. * TreeView.cs: Adjusted to new ScrollWindow arguments
  24655. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24656. * Form.cs: Menu integration with non-client area
  24657. * MenuItem.cs: Menu integration with non-client area
  24658. * MenuAPI.cs: Menu integration with non-client area
  24659. 2005-02-18 Peter Bartok <[email protected]>
  24660. * MethodInvoker.cs: Added
  24661. * MdiLayout.cs: Added
  24662. * SendKeys.cs: Started implementation
  24663. * ErrorIconAlignment.cs: Added
  24664. 2005-02-18 Peter Bartok <[email protected]>
  24665. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  24666. * Form.cs: Added handling for Menu-related Non-client messages
  24667. 2005-02-17 Peter Bartok <[email protected]>
  24668. * UpDownBase.cs: Fixed typo, compilation errors
  24669. * DomainUpDown.cs: Fixed attribute value
  24670. 2005-02-16 Miguel de Icaza <[email protected]>
  24671. * UpDownBase.cs: Attach entry events.
  24672. Propagate events.
  24673. Add ForeColor property, Focused, InterceptArrowKeys (interception
  24674. does not work yet).
  24675. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  24676. * Form.cs:
  24677. - Redraw non client are on Setmenu
  24678. - Calc proper menu starting point
  24679. 2005-02-17 Peter Bartok <[email protected]>
  24680. * Application.cs: Fixed message_filter check
  24681. 2005-02-17 Peter Bartok <[email protected]>
  24682. * Application.cs: Now calls registered message filters
  24683. * DockStyle.cs: Fixed attribute
  24684. * Form.cs: Fixed attribute
  24685. * Menu.cs: Fixed attribute
  24686. * ToolTip.cs: Fixed attribute
  24687. * TreeNode.cs: Added missing attributes and arranged in regions
  24688. * PropertyGrid.cs: Fixed signatures
  24689. * TreeNodeCollection.cs: Added attributes
  24690. * Splitter.cs: Added missing attributes; arranged into regions
  24691. * TabPage.cs: Added missing attributes; arranged into regions
  24692. * TextBoxBase.cs: Added missing attributes
  24693. * TextBox.cs: Added missing attributes
  24694. * ArrangeDirection.cs: Added missing attributes
  24695. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  24696. * ToolBarButton.cs: Fixed attributes
  24697. * AnchorStyles.cs: Fixed attribute
  24698. * TrackBar.cs: Fixed attributes
  24699. * TabControl.cs: Added missing attributes and arranged into regions
  24700. * ToolBar.cs: Fixed attribute
  24701. * StatusBar.cs: Fixed signature, organized into regions and added
  24702. attributes
  24703. * StatusBarPanel.cs: Fixed attributes
  24704. * ContentsResizedEventArgs.cs: Implemented
  24705. * ContentsResizedEventHandler.cs: Implemented
  24706. * DateBoldEventArgs.cs: Implemented
  24707. * DateBoldEventHandler.cs: Implemented
  24708. * UpDownEventArgs.cs: Implemented
  24709. * UpDownEventHandler.cs: Implemented
  24710. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  24711. * Form.cs: first Menu NC refactoring
  24712. * MenuAPI.cs: first Menu NC refactoring
  24713. 2005-02-16 Peter Bartok <[email protected]>
  24714. * ImeMode.cs: Added missing attributes
  24715. * Menu.cs: Fixed attribute
  24716. * GroupBox.cs: Fixed attribute
  24717. * Label.cs: Fixed attribute
  24718. * ColorDialog.cs (RunDialog): Removed TODO attribute
  24719. * ComboBox.cs: Fixed attributes
  24720. * ListControl.cs: Added missing attributes
  24721. * PropertyGrid.cs: Fixed attributes
  24722. * Control.cs: Fixed attributes
  24723. * ListViewItem.cs: Added TypeConverter attribute
  24724. * NotifyIcon.cs: Fixed attributes
  24725. * ListView.cs: Fixed attributes
  24726. * ButtonBase.cs: Fixed attribute
  24727. * ImageList.cs: Added missing attributes
  24728. * ContainerControl.cs: Fixed signature
  24729. * CheckedListBox.cs: Fixed attribute; added missing attributes
  24730. * Panel.cs: Fixed attributes
  24731. * PropertyTabChangedEventArgs.cs: Added missing attribute
  24732. * PropertyValueChangedEventArgs.cs: Added missing attribute
  24733. * Binding.cs: Fixed attribute
  24734. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  24735. * ListBox.cs: Fixed attribute; added missing attributes;
  24736. * ScrollableControl.cs: Added missing attributes
  24737. * PictureBox.cs: Added missing attributes; implemented missing property
  24738. * DateTimePicker.cs: Added missing attributes
  24739. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  24740. * MonthCalendar.cs: Fixed attributes
  24741. * StatusBarPanel.cs: Added missing attributes
  24742. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  24743. 2005-02-16 Peter Bartok <[email protected]>
  24744. * TextBoxBase.cs: The previous method to enforce height yet remember
  24745. the requested high was less than ideal, this is an attempt to do
  24746. it better.
  24747. * Control.cs: Added comment about possible problem
  24748. * Copyright: Updated format
  24749. * GridItemType.cs: Fixed swapped values
  24750. 2005-02-15 Jackson Harper <[email protected]>
  24751. * BaseCollection.cs: Use property so we never access an
  24752. uninitialized list. Also initialize the list in the property.
  24753. 2005-02-15 Peter Bartok <[email protected]>
  24754. * GroupBox.cs (ProcessMnemonic): Implemented
  24755. * Label.cs (ProcessMnemonic): Implemented
  24756. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  24757. hotkeys
  24758. 2005-02-15 Peter Bartok <[email protected]>
  24759. * RadioButton.cs (ProcessMnemonic): Implemented
  24760. * CheckBox.cs (ProcessMnemonic): Implemented
  24761. * Control.cs:
  24762. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  24763. handling
  24764. - Added internal method to allow calling ProcessMnemonic from other
  24765. controls
  24766. * ContainerControl.cs:
  24767. - Started support for handling validation chain handling
  24768. - Implemented ProcessMnemonic support
  24769. - Added Select() call to Active, to make sure the active control
  24770. receives focus
  24771. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  24772. FormParent rewrite)
  24773. * ThemeWin32Classic.cs:
  24774. - DrawCheckBox(): Fixed stringformat to show hotkeys
  24775. - DrawRadioButton(): Fixed stringformat to show hotkeys
  24776. * CommonDialog.cs: Removed WndProc override, not needed
  24777. 2005-02-14 Peter Bartok <[email protected]>
  24778. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  24779. missed those in the rewrite
  24780. 2005-02-14 Miguel de Icaza <[email protected]>
  24781. * NumericUpDown.cs (Increment, ToString): Add.
  24782. (DecimalPlaces): implement.
  24783. Add attributes.
  24784. * UpDownBase.cs: Add the designer attributes.
  24785. 2005-02-13 Peter Bartok <[email protected]>
  24786. * Panel.cs: Removed border_style, now in Control
  24787. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  24788. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  24789. 2005-02-13 Peter Bartok <[email protected]>
  24790. * MouseButtons.cs: Added missing attributes
  24791. * XplatUIStructs.cs: Added enumeration for title styles
  24792. * LeftRightAlignment.cs: Added missing attributes
  24793. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  24794. it compatible with Graphics.FromHwnd()
  24795. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  24796. * Keys.cs: Added missing attributes
  24797. * SelectionRange.cs: Added missing attributes
  24798. * SelectionRangeConverter.cs: Added
  24799. * XplatUI.cs:
  24800. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  24801. ReleaseMenuDC methods
  24802. - Renamed ReleaseWindow to UngrabWindow
  24803. - Added proper startup notice to allow version identification
  24804. * Form.cs:
  24805. - Added missing attributes
  24806. - Removed FormParent concept
  24807. * Label.cs: Removed border_style field, now in Control
  24808. * RadioButton.cs: Now properly selects RadioButton when focus is
  24809. received
  24810. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  24811. * Control.cs:
  24812. - Added missing attributes
  24813. - Added borderstyle handling
  24814. - Removed FormParent concept support
  24815. - Fixed calls to XplatUI to match changed APIs
  24816. - Fixed bug that would case us to use disposed Graphics objects
  24817. - Removed unneeded internal methods
  24818. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  24819. - SelectNextControl(): Fixed to properly check common parents
  24820. * TextBoxBase.cs: Removed border_style field (now in Control)
  24821. * MessageBox.cs:
  24822. - Patch by Robert Thompson ([email protected]): Added icon support,
  24823. fixed calculations for form size
  24824. - Added support for localized strings and icons
  24825. - Improved form size calculations, added border
  24826. * ListView.cs: Removed border_style field (now in Control)
  24827. * X11Structs.cs: Moved several structs from X11 driver here
  24828. * X11Keyboard.cs: Changed debug message
  24829. * Application.cs: Removed FormParent concept support
  24830. * CommonDialog.cs:
  24831. - Resetting end_modal flag
  24832. - Removed FormParent concept support
  24833. * NativeWindow.cs: Removed FormParent concept support
  24834. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  24835. Client area and Non-Client whole window to allow support for WM_NC
  24836. messages
  24837. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  24838. prevent using it until it supports Hwnd as per Geoff Norton's request
  24839. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  24840. * PictureBox.cs: Removed border_style field, now in Control
  24841. * XplatUIWin32.cs: Added new driver methods
  24842. 2005-02-12 Peter Bartok <[email protected]>
  24843. * OpacityConverter.cs: Implemented
  24844. * Hwnd.cs: Internal class to support drivers that need to emulate
  24845. client area/non-client area window behaviour
  24846. 2005-02-11 Peter Bartok <[email protected]>
  24847. * KeysConverter.cs: Implemented
  24848. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  24849. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  24850. * LinkLabel: Added missing attributes
  24851. * MainMenu.cs: fixes ToString
  24852. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  24853. * ListBox.cs: fixes event position
  24854. * TrackBar.cs: adds missing attributes and events
  24855. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  24856. * MenuItem.cs: Use SystemInformation and bug fixes
  24857. * MenuAPI.cs: Use SystemInformation and bug fixes
  24858. 2005-02-09 Jackson Harper <[email protected]>
  24859. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  24860. their keystate otherwise things like VK_MENU get stuck "on".
  24861. 2005-02-09 Kazuki Oikawa <[email protected]>
  24862. * ListBox.cs: Fixes AddRange bug
  24863. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  24864. * ProgressBar.cs
  24865. - Add missing attributes
  24866. - Add missing method
  24867. * CheckedListBox.cs: Added missing attributes
  24868. - Add missing attributes
  24869. - Remove extra method
  24870. * ComboBox.cs: Added missing attributes
  24871. * VScrollBar.cs: Added missing attributes
  24872. * ScrollBar.cs: Added missing attributes
  24873. * ListBox.cs: Fixes signature, add missing consts
  24874. * LinkArea.cs: Added missing attributes
  24875. 2005-02-08 Peter Bartok <[email protected]>
  24876. * Menu.cs: Added missing attributes
  24877. * MainMenu.cs: Added missing attributes
  24878. * GroupBox.cs: Added missing attributes
  24879. * Label.cs: Added missing attributes
  24880. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  24881. * ColorDialog.cs:
  24882. - Added Instance and Options properties
  24883. - Added missing attributes
  24884. * Cursor.cs: Made Serializable
  24885. * NotifyIcon: Added missing attributes
  24886. * MenuItem.cs: Added missing attributes
  24887. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  24888. * Panel.cs: Added Missing attributes
  24889. * MonthCalendar.cs: Fixed CreateParams
  24890. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  24891. * LinkLabel.cs:
  24892. - Fixes signature
  24893. - Fixes issues with links
  24894. - Adds the class attributes
  24895. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  24896. * ComboBox.cs:
  24897. - Fixes button when no items available in dropdown
  24898. - Fixes repainting problems
  24899. - Adds the class attributes
  24900. 2005-02-07 Geoff Norton <[email protected]>
  24901. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  24902. the current theme. Cache these on startup.
  24903. 2005-02-07 Jackson Harper <[email protected]>
  24904. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  24905. the scrollbar buttons when they are depressed.
  24906. 2005-02-07 Geoff Norton <[email protected]>
  24907. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  24908. Get the display size from the main displayid. We currently dont
  24909. support multiple display configurations.
  24910. 2005-02-07 Geoff Norton <[email protected]>
  24911. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  24912. 2005-02-07 Miguel de Icaza <[email protected]>
  24913. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  24914. 2005-02-05 Jonathan Chambers <[email protected]>
  24915. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  24916. 2005-02-04 Jackson Harper <[email protected]>
  24917. * ThemeWin32Classic.cs: Respect the clipping rect when
  24918. drawing. Only fill the intersection of clips and rects so there
  24919. isn't a lot of large fills.
  24920. * ScrollBar.cs: Pass the correct clipping rect to the theme
  24921. engine. Remove some debug code.
  24922. 2005-02-05 John BouAntoun <[email protected]>
  24923. * DateTimePicker.cs:
  24924. - Fixed crash on DateTime.Parse, use Constructor instead
  24925. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  24926. * MenuItem.cs:
  24927. * MenuAPI.cs:
  24928. - Owner draw support (MeasureItem and DrawItem)
  24929. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  24930. * Menu.cs:
  24931. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  24932. - Fixes MenuItems.Add range
  24933. * MenuItem.cs:
  24934. - MergeMenu and Clone and CloneMenu functions
  24935. 2005-02-03 Jackson Harper <[email protected]>
  24936. * ScrollBar.cs: Make abstract
  24937. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  24938. is abstract.
  24939. 2005-02-03 Jackson Harper <[email protected]>
  24940. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  24941. all the unneeded refreshes and uses invalidates with properly
  24942. computed rects.
  24943. 2005-02-03 Peter Bartok <[email protected]>
  24944. * ComponentModel.cs: Added
  24945. * IDataGridEditingService.cs: Added
  24946. * Timer.cs: Added missing attributes
  24947. * ToolTip.cs: Added missing attributes
  24948. 2005-02-03 Jonathan Chambers <[email protected]>
  24949. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  24950. 2005-02-03 Peter Bartok <[email protected]>
  24951. * ListBox.cs: Added missing attributes
  24952. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  24953. * ListBox.cs:
  24954. - Fixes font height after font change
  24955. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  24956. 2005-02-02 Peter Bartok <[email protected]>
  24957. * HandleData.cs: Introduced static methods to allow class
  24958. to be more self-contained and track it's own HandleData objects
  24959. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  24960. HandleData to use new static methods
  24961. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  24962. * Combobox.cs:
  24963. - Fixes default size and PreferredHeight
  24964. - Missing events
  24965. - ObjectCollection.Insert implementation
  24966. * ListControl.cs
  24967. - Fixes signature
  24968. * ListBox.cs:
  24969. - Several fixes
  24970. - ObjectCollection.Insert implementation
  24971. - No selection after clean
  24972. - Small fixes
  24973. 2005-01-31 John BouAntoun <[email protected]>
  24974. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  24975. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  24976. * Combobox.cs:
  24977. - Caches ItemHeight calculation for OwnerDrawVariable
  24978. - Handles dropdown properly
  24979. - Fixes several minor bugs
  24980. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  24981. * ListBox.cs:
  24982. - Fixes 71946 and 71950
  24983. - Fixes changing Multicolumn on the fly
  24984. - Fixes keyboard navigation on Multicolumn listboxes
  24985. 2005-01-31 Geoff Norton <[email protected]>
  24986. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  24987. crash reporter log.
  24988. 2005-01-31 Geoff Norton <[email protected]>
  24989. * XplatUIOSX.cs: Allow applications to actually exit.
  24990. 2005-01-31 Geoff Norton <[email protected]>
  24991. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  24992. their parent at creation time rather than lazily later. Fixes a major
  24993. regression we were experiencing.
  24994. 2005-01-31 John BouAntoun <[email protected]>
  24995. * ThemeWin32Classic.cs: more date time picker painting fixes
  24996. * DateTimePicker.cs: more monthcalendar drop down fixes
  24997. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  24998. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  24999. * ScrollBar.cs:
  25000. - When moving the thumb going outside the control should stop the moving
  25001. - Adds the firing of missing events
  25002. - Fixes no button show if Size is not specified
  25003. - End / Home keys for keyboard navigation
  25004. 2005-01-30 Peter Bartok <[email protected]>
  25005. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  25006. sanity check to prevent theoretical loop
  25007. * XplatUIWin32.cs (SetVisible): Removed debug output
  25008. * XplatUIX11.cs (SystrayChange): Added sanity check
  25009. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  25010. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  25011. behaviour, valid until the X11 client window rewrite is done
  25012. * TextBox.cs (ctor): Setting proper default foreground and background
  25013. colors
  25014. 2005-01-30 John BouAntoun <[email protected]>
  25015. * Theme: Added DrawDateTimePicker to interface
  25016. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  25017. * DateTimePicker.cs: Created (still needs keys and painting code)
  25018. * DateTimePickerFormat.cs: added
  25019. * MonthCalendar.cs: fixed CreateParams for popup window mode
  25020. 2005-01-29 Peter Bartok <[email protected]>
  25021. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  25022. this should also the calculations for ligher/darker
  25023. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  25024. 2005-01-29 Peter Bartok <[email protected]>
  25025. * ArrangeDirection.cs: Added
  25026. * ArrangeStartingPositon.cs: Added
  25027. * SystemInformation.cs: Implemented
  25028. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25029. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  25030. used by SystemInformation class
  25031. * X11Strucs.cs: Added XSizeHints structure
  25032. * MenuAPI.cs:
  25033. - Fixed CreateParams to make sure the menu window is always visible
  25034. - TrackPopupMenu: Added check to make sure we don't draw the
  25035. menu offscreen
  25036. 2005-01-29 Peter Bartok <[email protected]>
  25037. * HandleData.cs: Added method for altering invalid area
  25038. * TextBoxBase.cs: Implemented TextLength
  25039. 2005-01-28 Peter Bartok <[email protected]>
  25040. * XplatUIX11.cs: Improvement over last patch, not sending
  25041. the WM_PAINT directly anymore, instead we scroll any pending
  25042. exposed areas and let the system pick out the WM_PAINT later
  25043. 2005-01-28 Peter Bartok <[email protected]>
  25044. * SWF.csproj: Deleted, no longer used. Instead,
  25045. Managed.Windows.Forms/SWF.csproj should be used
  25046. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  25047. directly, to avoid a potential race condition with the next
  25048. scroll
  25049. 2005-01-28 Peter Bartok <[email protected]>
  25050. * XplatUI.cs: Made class internal
  25051. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  25052. * CheckedListBox.cs:
  25053. - Draw focus
  25054. - Fixed Drawing
  25055. - Missing methods and events
  25056. 2005-01-27 Peter Bartok <[email protected]>
  25057. * Application.cs (Run): Don't use form if we don't have one
  25058. 2005-01-27 Peter Bartok <[email protected]>
  25059. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  25060. 2005-01-27 Peter Bartok <[email protected]>
  25061. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  25062. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  25063. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  25064. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  25065. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  25066. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  25067. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25068. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25069. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25070. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25071. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25072. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25073. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25074. * Combobox.cs:
  25075. - Draw focus on Simple Combobox
  25076. - Fixes drawing issues
  25077. - fixes 71834
  25078. 2005-01-27 Peter Bartok <[email protected]>
  25079. * Form.cs:
  25080. - Place window in default location, instead of hardcoded 0/0
  25081. - Send initial LocationChanged event
  25082. * Control.cs:
  25083. - UpdateBounds after creation to find out where the WM placed us
  25084. - Make sure that if the ParentForm changes location the Form
  25085. is notified
  25086. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  25087. to the root, but to whatever the WM placed around us.
  25088. Translate to root coordinates before returning toplevel
  25089. coordinates
  25090. * XplatUIWin32.cs: Removed debug output
  25091. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  25092. flag to GetWindowPos, to allow translation of coordinates on X11
  25093. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25094. * ListBox.cs: connect LostFocus Event
  25095. 2005-01-27 Peter Bartok <[email protected]>
  25096. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  25097. XplatUIX11.cs: Extended the Systray API
  25098. * Form.cs: Removed debug output
  25099. * Application.cs: Fixed focus assignment, always need to call
  25100. XplatUI.Activate() since Form.Activate() has rules that may
  25101. prevent activation
  25102. * NotifyIcon.cs: Should be complete now
  25103. * ToolTip.cs: Worked around possible timer bug
  25104. 2005-01-27 Jackson Harper <[email protected]>
  25105. * TabControl.cs:
  25106. - Only invalidate the effected tabs when the
  25107. selected index changes. This reduces drawing and gets rid of some
  25108. flicker.
  25109. - Only refresh if the tabs need to be shifted, otherwise only
  25110. invalidate the slider button.
  25111. - On windows the tabs are not filled to right if the slider is
  25112. visible.
  25113. 2005-01-27 Jackson Harper <[email protected]>
  25114. * TabControl.cs: Only refresh on mouseup if we are showing the
  25115. slider. Also only invalidate the button whose state has changed.
  25116. 2005-01-26 Peter Bartok <[email protected]>
  25117. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  25118. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  25119. and SystrayRemove() methods
  25120. * XplatUIOSX.cs: Stubbed Systray methods
  25121. * XplatUIX11.cs:
  25122. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  25123. methods
  25124. - Fixed broken XChangeProperty calls (marshalling messed up things)
  25125. * X11Structs.cs: Added enums and structs required for Size hinting
  25126. * NotifyIcon.cs: Added & implemented
  25127. 2005-01-26 Jackson Harper <[email protected]>
  25128. * TabControl.cs: Space vertically layed out tabs properly.
  25129. 2005-01-26 Peter Bartok <[email protected]>
  25130. * Form.cs (CreateClientParams): Always set the location to 0,0
  25131. since we're a child window.
  25132. * Control.cs (SetVisibleCore): Always explicitly setting the location
  25133. of a toplevel window, apparently X11 doesn't like to move windows
  25134. while they're not mapped.
  25135. 2005-01-26 Jackson Harper <[email protected]>
  25136. * TabControl.cs: Implement FillToRight size mode with vertically
  25137. rendered tabs.
  25138. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25139. * ControlPaint.cs, ThemeWin32Classic.cs
  25140. - Fixes DrawFocusRectangle
  25141. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25142. * MenuAPI.cs:
  25143. - MenuBar tracking only starts when item is first clicked
  25144. - Fixes menu hidding for multiple subitems
  25145. - Unselect item in MenuBar when item Executed
  25146. - Fixes bug 71495
  25147. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  25148. * ListControl.cs:
  25149. - IsInputKey for ListBox
  25150. * ListBox.cs:
  25151. - Focus item
  25152. - Shift and Control item selection
  25153. - Implement SelectionMode.MultiExtended
  25154. - Fixes RightToLeft
  25155. * ComboBox.cs:
  25156. - IsInputKey implemented
  25157. - Do not generate OnTextChangedEdit on internal txt changes
  25158. 2005-01-23 Peter Bartok <[email protected]>
  25159. * AccessibleObject.cs: Partially implemented Select()
  25160. * MonthCalendar.cs: Added missing attributes and events
  25161. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  25162. form can properly override CreateParams.
  25163. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25164. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  25165. Control performs Invalidate & Update
  25166. * NativeWindow (CreateHandle): Added special handling for Form
  25167. and Form.FormParent classes to allow overriding of From.CreateParams
  25168. * Control.cs:
  25169. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  25170. name 'owner'
  25171. - ControlNativeWindow: Added Owner property
  25172. - Removed usage of Refresh() on property changes, changed into
  25173. Invalidate(), we need to wait until the queue is processed for
  25174. updates, direct calls might cause problems if not all vars for
  25175. Paint are initialized
  25176. - Added call to UpdateStyles() when creating the window, to set any
  25177. styles that CreateWindow might have ignored.
  25178. - Added support for Form CreateParent overrides to UpdateStyles()
  25179. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  25180. CreateParams are now properly overridable
  25181. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  25182. CreateParams are now properly overridable
  25183. 2005-01-23 Miguel de Icaza <[email protected]>
  25184. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  25185. OnTextBoxChanged.
  25186. Capture LostFocus and OnTextBoxChanged. The later introduces a
  25187. recursive invocation that I have not figured out yet.
  25188. Reset the timer when not using (it was accumulating).
  25189. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  25190. user has made changes that require validation.
  25191. Reset changing to avoid loops.
  25192. 2005-01-22 Miguel de Icaza <[email protected]>
  25193. * NumericUpDown.cs: Display value at startup.
  25194. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  25195. ValidateEditText.
  25196. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  25197. filled in. Added some basic parsing of text.
  25198. Still missing the OnXXX method overrides, and figuring out the
  25199. events that must be emitted.
  25200. * UpDownBase.cs: Handle UserEdit on the Text property.
  25201. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  25202. * ComboBox.cs:
  25203. - Fixes IntegralHeight
  25204. - ToString method
  25205. 2005-01-21 Jackson Harper <[email protected]>
  25206. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  25207. is set so that the page visibility is updated and the tabs are
  25208. sized correctly.
  25209. 2005-01-21 Jackson Harper <[email protected]>
  25210. * TabControl.cs: Use cliping rectangle for blitting. Give the
  25211. theme the clipping rect so we can do clipping while
  25212. drawing. Remove some debug code.
  25213. 2005-01-21 Jackson Harper <[email protected]>
  25214. * TabPage.cs: Add a new method so tab pages can force the tab
  25215. control to recalculate the tab page sizes.
  25216. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  25217. sizes.
  25218. 2005-01-20 Jackson Harper <[email protected]>
  25219. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  25220. 2005-01-20 Jackson Harper <[email protected]>
  25221. * TreeView.cs: Set the bounds for nodes properly. They were
  25222. getting screwed up when checkboxes were not enabled, but images
  25223. were.
  25224. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  25225. * ListBox.cs:
  25226. - Owner draw support
  25227. - Fixes
  25228. 2005-01-20 Jackson Harper <[email protected]>
  25229. * XplatUIStructs.cs: More misc keys
  25230. * X11Keyboard.cs: Ignore some control keys.
  25231. 2005-01-20 Jackson Harper <[email protected]>
  25232. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  25233. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  25234. 2005-01-19 Peter Bartok <[email protected]>
  25235. * Control.cs: Un-selecting the control when it is loosing focus
  25236. 2005-01-19 Jackson Harper <[email protected]>
  25237. * TreeView.cs: Hook up to the text controls leave event so we can
  25238. end editing when the users clicks outside the text box.
  25239. 2005-01-19 Jackson Harper <[email protected]>
  25240. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  25241. get set in the conversion array.
  25242. 2005-01-19 Peter Bartok <[email protected]>
  25243. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  25244. focus is properly set
  25245. * Button.cs:
  25246. - Added missing attributes
  25247. - removed styles, those are already set in the base class
  25248. * ButtonBase.cs:
  25249. - Added missing attributes
  25250. - Added clip window styles
  25251. * CheckBox.cs: Added missing attributes
  25252. * CommonDialog.cs:
  25253. - FormParentWindow.CreateParams: Added required clip styles
  25254. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  25255. also filters modifier keys
  25256. * MessageBox.cs:
  25257. - Added assignment of Accept and Cancel button to enable Enter
  25258. and Esc keys in MessageBox dialogs
  25259. - FormParentWindow.CreateParams: Added required clip styles
  25260. * RadioButton.cs: Added missing attributes
  25261. * TextControl.cs: No longer draws selection if control does not
  25262. have focus
  25263. * TextBoxBase.cs:
  25264. - Now draws simple rectangle around test area to make it obvious
  25265. there's a control. This is a hack until we properly support borders
  25266. - A few simple fixes to support selections better, now erases selected
  25267. text when typing, and resets selection when using movement keys
  25268. 2005-01-19 Miguel de Icaza <[email protected]>
  25269. * UpDownBase.cs: Added some new properties.
  25270. * DomainUpDown.cs: Implement a lot to get my test working.
  25271. 2005-01-19 Geoff Norton <[email protected]>
  25272. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  25273. 2005-01-19 Geoff Norton <[email protected]>
  25274. * OSXStructs (WindowAttributes): Fixed csc complaints
  25275. 2005-01-19 Geoff Norton <[email protected]>
  25276. * XplayUIOSX.cs:
  25277. OSXStructs.cs: Initial refactor to move enums and consts into
  25278. OSXStructs and use them in the driver for greater readability.
  25279. 2005-01-19 Geoff Norton <[email protected]>
  25280. * XplatUIOSX.cs: Initial support for Standard Cursors.
  25281. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  25282. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  25283. * ComboBox.cs: ability to change style when the ctrl is already
  25284. created, missing methods and events, bug fixes, signature fixes
  25285. 2005-01-19 Peter Bartok <[email protected]>
  25286. * Cursors.cs (ctor): Added ctor to fix signature
  25287. 2005-01-18 Peter Bartok <[email protected]>
  25288. * Button.cs: Implemented DoubleClick event
  25289. * ButtonBase.cs:
  25290. - Fixed keyboard handling to behave like MS, where the press of
  25291. Spacebar is equivalent to a mousedown, and the key release is
  25292. equivalent to mouseup. Now a spacebar push will give the same
  25293. visual feedback like a mouse click.
  25294. - Added missing attributes
  25295. - Added ImeModeChanged event
  25296. - Added support for generating DoubleClick event for derived classes
  25297. * CheckBox.cs:
  25298. - Implemented DoubleClick event
  25299. - Added missing attributes
  25300. * CommonDialog.cs: Added missing attribute
  25301. * ContextMenu.cs: Added missing attributes
  25302. * RadioButton.cs:
  25303. - AutoChecked buttons do not allow to be unselected when clicked
  25304. (otherwise we might end up with no selected buttons in a group)
  25305. - Added missing attributes
  25306. - Implemented DoubleClickEvent
  25307. * ThreadExceptionDialog.cs: Enabled TextBox code
  25308. 2005-01-18 Peter Bartok <[email protected]>
  25309. * Form.cs: Removed debug output
  25310. * Button.cs: Added support for DoubleClick method
  25311. 2005-01-18 Peter Bartok <[email protected]>
  25312. * Form.cs:
  25313. - Added method to parent window that allows triggering size
  25314. calculations when a menu is added/removed
  25315. - set_Menu: Cleaned up mess from early days of Form and Control,
  25316. now properly triggers a recalc when a menu is added/removed
  25317. - Added case to select form itself as focused form if no child
  25318. controls exist
  25319. - Added PerformLayout call when showing dialog, to ensure properly
  25320. placed controls
  25321. * Control.cs:
  25322. - Select(): Made internal so Form can access it
  25323. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  25324. status
  25325. * Application.cs (Run): Removed hack and calls PerformLayout instead
  25326. to trigger calculation when Form becomes visible
  25327. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  25328. * ComboBox.cs: fixes for ownerdraw
  25329. 2005-01-18 Peter Bartok <[email protected]>
  25330. * TextControl.cs:
  25331. - Sentinel is no longer static, each Document gets it's own, this
  25332. avoids locking or alternatively overwrite problems when more
  25333. than one text control is used simultaneously.
  25334. - Switched to use Hilight and HilightText brushes for text selection
  25335. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  25336. 2005-01-18 Peter Bartok <[email protected]>
  25337. * Control.cs:
  25338. - Hooked up the following events:
  25339. o ControlAdded
  25340. o ControlRemoved
  25341. o HandleDestroyed
  25342. o ImeModeChanged
  25343. o ParentChanged
  25344. o TabStopChanged
  25345. o Invalidated
  25346. o SystemColorsChanged
  25347. o ParentFontChanged
  25348. o Move
  25349. - Removed debug output
  25350. - Added a call to the current theme's ResetDefaults when a color change
  25351. is detected
  25352. * Form.cs: Now setting the proper ImeMode
  25353. * Theme.cs: Defined a method to force recreation of cached resources
  25354. and rereading of system defaults (ResetDefaults())
  25355. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  25356. 2005-01-17 Peter Bartok <[email protected]>
  25357. * Control.cs: Added missing attributes
  25358. 2005-01-17 Jackson Harper <[email protected]>
  25359. * TreeNode.cs: Implement editing. Add missing properties selected
  25360. and visible.
  25361. * TreeView.cs: Implement node editing. Also some fixes to use
  25362. Invalidate (invalid area) instead of Refresh when selecting.
  25363. 2005-01-17 Peter Bartok <[email protected]>
  25364. * Control.cs:
  25365. - Implemented InvokeGotFocus() method
  25366. - Implemented InvokeLostFocus() method
  25367. - Implemented InvokePaint() method
  25368. - Implemented InvokePaintBackground() method
  25369. - Implemented InvokeClick() method
  25370. - Implemented FindForm() method
  25371. - Implemented RectangleToClient() method
  25372. - Implemented ClientToRectangle() method
  25373. - Implemented ResetBackColor() method
  25374. - Implemented ResetCursor() method
  25375. - Implemented ResetFont() method
  25376. - Implemented ResteForeColor() method
  25377. - Implemented ResetImeMode() method
  25378. - Implemented ResetLeftToRight() method
  25379. - Implemented ResetText() method
  25380. - Implemented Scale() methods
  25381. - Implemented ScaleCore() method
  25382. - Implemented Update() method
  25383. - Removed unused variables
  25384. - Stubbed AccessibilityNotifyClients and
  25385. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  25386. with those yet)
  25387. - Now setting proper default for RightToLeft property
  25388. - Fixed bug in SetClientSizeCore that would cause windows to get
  25389. really big
  25390. - Now sending Click/DoubleClick events
  25391. - Now selecting controls when left mouse button is clicked on
  25392. selectable control
  25393. * AccessibleEvents.cs: Added
  25394. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  25395. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  25396. * XplatUIWin32.cs: Implemented UpdateWindow() method
  25397. * XplatUIX11.cs: Implemented UpdateWindow() method
  25398. * Form.cs: Removed stray semicolon causing CS0162 warning
  25399. * ThemeWin32Classic.cs: Fixed unused variable warnings
  25400. * ScrollableControl.cs: Now calls base method for ScaleCore
  25401. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  25402. style to avoid interference with internal click handler (which is
  25403. different than standard Control click handling)
  25404. * RadioButton.cs:
  25405. - Now unchecks all sibling radio buttons when control is
  25406. selected (Fixes #68756)
  25407. - Removed internal tabstop variable, using the one inherited from
  25408. Control
  25409. 2005-01-17 Jackson Harper <[email protected]>
  25410. * NavigateEventArgs.cs: Fix base type.
  25411. * LinkLabel.cs: Sig fix
  25412. 2005-01-17 Jackson Harper <[email protected]>
  25413. * TreeView.cs: Only invalidate the effected nodes bounds when
  25414. selecting nodes.
  25415. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25416. * XplatUIWin32.cs: fixes Win32 marshaling
  25417. * XplatUIX11.cs: fixes method signature
  25418. 2005-01-17 Peter Bartok <[email protected]>
  25419. * XplatUIX11.cs: Clean up resources when we no longer need them
  25420. 2005-01-17 Peter Bartok <[email protected]>
  25421. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  25422. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  25423. and DestroyCursor() methods.
  25424. * Cursor.cs: Partially implemented, now supports standard cursors;
  25425. still contains some debug code
  25426. * Cursors.cs: Implemented class
  25427. * Control.cs:
  25428. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  25429. appropriate cursor
  25430. - Implemented Cursor property
  25431. - Replaced break; with return; more straightforwar and possibly
  25432. faster
  25433. - Now properly setting the result for WM_HELP
  25434. * X11Structs.cs: Added CursorFontShape enum
  25435. * XplatUIStructs.cs:
  25436. - Added StdCursor enum (to support DefineStdCursor() method)
  25437. - Added HitTest enum (to support sending WM_SETCURSOR message)
  25438. * XplatUIX11.cs:
  25439. - Now sends the WM_SETCURSOR message
  25440. - Implemented new cursor methods
  25441. * XplatUIOSX.cs: Stubbed new cursor methods
  25442. * XplatUIWin32.cs:
  25443. - Implemented new cursor methods
  25444. - Added GetSystemMetrics function and associated enumeration
  25445. 2005-01-15 Peter Bartok <[email protected]>
  25446. * Control.cs:
  25447. - WndProc(): Now handles EnableNotifyMessage
  25448. - SelectNextControl(): Fixed bug where if no child or sibling
  25449. controls exist we looped endlessly
  25450. 2005-01-14 Jackson Harper <[email protected]>
  25451. * TreeView.cs: Recalculate the tab pages when a new one is added
  25452. so that the proper bounding rects are created.
  25453. 2005-01-14 Jackson Harper <[email protected]>
  25454. * TreeView.cs: Draw a gray box instead of a grip in the lower
  25455. right hand corner when there are both horizontal and vertical
  25456. scroll bars.
  25457. 2005-01-14 Jackson Harper <[email protected]>
  25458. * Control.cs: When erasing backgrounds use FromHwnd instead of
  25459. FromHdc when there is a NULL wparam. This occurs on the X driver.
  25460. * XplatUIX11.cs: Set the wparam to NULL.
  25461. 2005-01-13 Jackson Harper <[email protected]>
  25462. * PictureBox.cs: Implement missing methods (except ToString, need
  25463. to test that on windows) and events. When visibility is changed we
  25464. need to redraw the image because the buffers are killed. When size
  25465. is changed refresh if the sizemode needs it.
  25466. 2005-01-13 Peter Bartok <[email protected]>
  25467. * Control.cs (SelectNextControl): Was using wrong method to select
  25468. a control
  25469. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25470. * ComboBox.cs: fixes dropstyle
  25471. 2005-01-13 Peter Bartok <[email protected]>
  25472. * Form.cs:
  25473. - Implemented Select() override
  25474. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  25475. - Now sets keyboard focus on startup
  25476. * Control.cs (SelectNextControl): Now properly handles directed=true
  25477. * TextBoxBase.cs:
  25478. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  25479. - Added (really bad) focus rectangle (mostly for testing)
  25480. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  25481. to enforce redraw on focus changes
  25482. * ContainerControl.cs:
  25483. - Fixed detection of Shift-Tab key presses
  25484. - Fixed traversal with arrow keys
  25485. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  25486. gonna keep this or if it's complete yet
  25487. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25488. * ComboBox.cs: missing properties, fixes
  25489. 2005-01-13 Peter Bartok <[email protected]>
  25490. * Panel.cs (ctor): Setting Selectable window style to off
  25491. * Splitter.cs (ctor): Setting Selectable window style to off
  25492. * GroupBox.cs (ctor): Setting Selectable window style to off
  25493. * Label.cs (ctor): Setting Selectable window style to off
  25494. 2005-01-12 Miguel de Icaza <[email protected]>
  25495. * UpDownBase.cs (InitTimer): If the timer has been already
  25496. created, enable it.
  25497. Use a TextBox instead of a Label.
  25498. 2005-01-12 Jackson Harper <[email protected]>
  25499. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  25500. draw the connecting node lines (when ShowLines is true).
  25501. * TreeNode.cs: The nodes index can now be updated. This is used
  25502. when a node collection is sorted.
  25503. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  25504. insert or an existing unsorted node collection can be sorted.
  25505. 2005-01-12 Peter Bartok <[email protected]>
  25506. * ContainerControl.cs: Implemented ProcessDialogKeys()
  25507. 2005-01-12 Peter Bartok <[email protected]>
  25508. * Control.cs:
  25509. - Implemented SelectNextControl() method
  25510. - Several focus related bug fixes
  25511. - Fixed Docking calculations to match MS documentation and
  25512. behaviour
  25513. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  25514. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  25515. bug fixes
  25516. 2005-01-12 Peter Bartok <[email protected]>
  25517. * Control.cs:
  25518. - Fixed broken Contains() method
  25519. - Implemented GetNextControl() method. Finally. This is the pre-
  25520. requisite for focus handling.
  25521. 2005-01-12 Peter Bartok <[email protected]>
  25522. * OSXStrucs.cs: Added
  25523. 2005-01-12 Peter Bartok <[email protected]>
  25524. * XplatUIWin32.cs:
  25525. - Removed PeekMessageFlags
  25526. - Implemented SetWindowStyle() method
  25527. * XplatUIStructs.cs: Added PeekMessageFlags
  25528. * X11Structs: Added missing border_width field to XWindowChanges struct
  25529. * XplatUIX11.cs:
  25530. - PeekMessage: Now throws exception if flags which are not yet
  25531. supported are passed
  25532. - Implemented SetWindowStyle() method
  25533. - Fixed SetZOrder to handle AfterHwnd properly
  25534. * XplatUI.cs: Added SetWindowStyle() method
  25535. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  25536. * Control.cs:
  25537. - Implemented UpdateStyles() method
  25538. - Implemented UpdateZOrder() method
  25539. * XplatUIOSX.cs: Added SetWindowStyle() stub
  25540. 2005-01-12 Geoff Norton <[email protected]>
  25541. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  25542. button mouse).
  25543. 2005-01-11 Jackson Harper <[email protected]>
  25544. * TreeView.cs: Still need to draw lines to siblings even if out of
  25545. the current node is out of the clip.
  25546. 2005-01-11 Jackson Harper <[email protected]>
  25547. * TreeView.cs: When setting the hbar/vbar/grip position use
  25548. SetBounds so that perform layout is only called once. Also suspend
  25549. and resume layout so layout is only done once for all controls.
  25550. - Removed some debug fluff
  25551. * SizeGrip.cs: Call base implmentation in overriding methods.
  25552. - When visibility is changed the drawing buffers are killed so we
  25553. need to redraw.
  25554. 2005-01-11 Jackson Harper <[email protected]>
  25555. * TreeView.cs: Calculate the open node count while drawing. This
  25556. saves us an entire tree traversal for every paint operation. Use
  25557. a member var for the open node count so less vars are passed around.
  25558. 2005-01-11 John BouAntoun <[email protected]>
  25559. * MonthCalendar.cs:
  25560. - fixed selection to use mousemove, not mouse polling on timer
  25561. * ThemeWin32Classic.cs
  25562. - removed redundant unused variable "no_more_content"
  25563. 2005-01-11 Peter Bartok <[email protected]>
  25564. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  25565. are pending, so it now calls PeekMessage instead of GetMessage;
  25566. implemented a incomplete version of PeekMessage
  25567. 2005-01-11 Peter Bartok <[email protected]>
  25568. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  25569. I18n issues
  25570. * TextBoxBase.cs: Added sending of TextChanged event
  25571. 2005-01-10 Jackson Harper <[email protected]>
  25572. * TreeView.cs: Try not to draw outside the clipping rectangle on
  25573. each node element.
  25574. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  25575. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  25576. 2005-01-10 Jackson Harper <[email protected]>
  25577. * TreeView.cs:
  25578. - Implement fast scrolling. Now only the newly
  25579. exposed nodes are drawn and the old image is moved using the
  25580. XplatUI::ScrollWindow method.
  25581. - Factor in height of nodes when calculating whether or not the
  25582. node is in the clipping rect.
  25583. 2005-01-10 Jackson Harper <[email protected]>
  25584. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  25585. 2005-01-10 Peter Bartok <[email protected]>
  25586. * Application.cs: Added temporary hack to resolve all our resize
  25587. required issues on startup. This will get fixed properly at
  25588. some point in the future
  25589. 2005-01-10 Jackson Harper <[email protected]>
  25590. * SizeGrip.cs: New internal class that is used as a sizing
  25591. grip control...hence the name.
  25592. 2005-01-10 Peter Bartok <[email protected]>
  25593. * Control.cs: Implemented proper TabIndex handling, now assigning
  25594. a tabindex when a control is added to a container
  25595. * GroupBox.cs (ctor): Now sets the Container style bit, required
  25596. for Control.GetNextControl()
  25597. 2005-01-09 Jackson Harper <[email protected]>
  25598. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  25599. 2005-01-09 Peter Bartok <[email protected]>
  25600. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  25601. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  25602. an overload for ScrollWindow to allow only scrolling a rectangle
  25603. 2005-01-09 Peter Bartok <[email protected]>
  25604. * Form.cs:
  25605. - Implemented SetDesktopBounds method
  25606. - Implemented SetDesktopLocation method
  25607. 2005-01-08 Jackson Harper <[email protected]>
  25608. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  25609. the node count has changed, this removes to VScroll::Refresh calls
  25610. when drawing.
  25611. 2005-01-08 Geoff Norton <[email protected]>
  25612. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  25613. 2005-01-07 Jackson Harper <[email protected]>
  25614. * TreeNode.cs: Just update the single node when it is
  25615. checked. Don't refresh after toggling, the Expand/Collapse already
  25616. handles this.
  25617. * TreeView.cs: Respect clipping a little more when drawing. Try
  25618. not to redraw things that don't need to be redrawn. Just hide the
  25619. scrollbars when they are no longer needed instead of removing
  25620. them, so they don't have to be created again and again.
  25621. 2005-01-07 Geoff Norton <[email protected]>
  25622. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  25623. coordinates to window space to place the caret properly, FIXED.
  25624. Implement GetWindowState & SetWindowState
  25625. 2005-01-06 Peter Bartok <[email protected]>
  25626. * Form.cs:
  25627. - Implemented ClientSize property
  25628. - Implemented DesktopBounds property
  25629. - Implemented DesktopLocation property
  25630. - Implemented IsRestrictedWindow property
  25631. - Implemented Size property
  25632. - Implemented TopLevel property
  25633. - Implemented FormWindowState property
  25634. * Control.cs:
  25635. - Implemented GetTopLevel() method
  25636. - Implemented SetTopLevel() method
  25637. * X11Structs.cs (Atom):
  25638. - Added AnyPropertyType definition
  25639. - Added MapState definiton and updated XWindowAttribute struct
  25640. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  25641. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  25642. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  25643. * XplatUIWin32.cs:
  25644. - Implemented GetWindowState() and SetWindowState() methods
  25645. - Fixed Win32GetWindowLong return type
  25646. * XplatUIX11.cs:
  25647. - Introduced central function for sending NET_WM messages
  25648. - Implemented GetWindowState() and SetWindowState() methods
  25649. * TextBoxBase.cs (set_Lines):
  25650. - Now uses Foreground color for text added via Text property (Duh!)
  25651. - Added code to remember programmatically requested size (fixes
  25652. behaviour when Multiline is set after Size)
  25653. - Added AutoSize logic
  25654. 2005-01-06 Jackson Harper <[email protected]>
  25655. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  25656. 2005-01-06 Jackson Harper <[email protected]>
  25657. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  25658. set to less then 0.
  25659. 2005-01-06 Jackson Harper <[email protected]>
  25660. * ScrollableControl.cs: Lazy init the scrollbars.
  25661. 2005-01-06 Jackson Harper <[email protected]>
  25662. * Theme.cs: Speed up getting pens and solid brushes, by using
  25663. their ARGB as a hash instead of tostring and not calling Contains.
  25664. 2005-01-06 Peter Bartok <[email protected]>
  25665. * Form.cs:
  25666. - Implemented OnActivated and OnDeactivate event trigger
  25667. - Implemented Activate() method
  25668. - Fixed ShowDialog() to activate the form that was active before
  25669. the dialog was shown
  25670. * XplatUIX11.cs:
  25671. - Added global active_window var that tracks the currently active
  25672. X11 window
  25673. - Now always grabs Property changes from the root window to always
  25674. catch changes on the active window property
  25675. - Added code to PropertyNotify handler to send Active/Inactive
  25676. messages when state changes. This puts X11 and Win32 en par on
  25677. WM_ACTIVATE notifications (except for double notifications when
  25678. the user clicks away from our modal window to another one of our
  25679. windows)
  25680. 2005-01-05 Jackson Harper <[email protected]>
  25681. * ImageList.cs: Implment ctor
  25682. 2005-01-05 Geoff Norton <[email protected]>
  25683. * XplatUIOSX.cs: Implement Activate/SetTopmost
  25684. 2005-01-05 Geoff Norton <[email protected]>
  25685. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  25686. 2005-01-05 Geoff Norton <[email protected]>
  25687. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  25688. 2005-01-05 Peter Bartok <[email protected]>
  25689. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  25690. XplatUIOSX.cs: Added GetActive method to return the currently
  25691. active window for the application (or null, if none is active)
  25692. * Form.cs:
  25693. - Implemented ActiveForm
  25694. - Commented out owner assignment for modal dialogs (causes problems
  25695. on Win32, since the owner will be disabled)
  25696. - Reworked some Active/Focus handling (still incomplete)
  25697. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  25698. (causes problems on Win32, since the owner will be disabled)
  25699. * IWin32Window: Added ComVisible attribute
  25700. 2005-01-05 Peter Bartok <[email protected]>
  25701. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  25702. required XplatUI functions.
  25703. 2005-01-05 Peter Bartok <[email protected]>
  25704. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  25705. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  25706. to implement focus and activation handling; still incomplete and
  25707. with debug output
  25708. 2005-01-04 Peter Bartok <[email protected]>
  25709. * TextBoxBase.cs: Changed access level for Document property to
  25710. match switch to internal for TextControl
  25711. 2005-01-04 Peter Bartok <[email protected]>
  25712. * AccessibleObject: Added ComVisible attribute
  25713. 2005-01-04 Jackson Harper <[email protected]>
  25714. * X11Keyboard.cs: Remove unneeded var.
  25715. 2005-01-04 Jackson Harper <[email protected]>
  25716. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  25717. but PAINT.
  25718. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  25719. ClientMessage. This makes apps exit cleanly (more often).
  25720. 2005-01-04 Jackson Harper <[email protected]>
  25721. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  25722. handling focus, return correct colors and fonts,
  25723. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  25724. handle selection, horizontal scrolling, and mouse interaction.
  25725. 2005-01-04 Peter Bartok <[email protected]>
  25726. * ICommandExecutor.cs: Added
  25727. * IDataGridColumnStyleEditingNotificationService.cs: Added
  25728. * IFeatureSupport.cs: Added
  25729. * IFileReaderService.cs: Added
  25730. * IDataObject.cs: Added ComVisible attribute
  25731. * AmbientProperties.cs: Added
  25732. * BaseCollection.cs: Added missing attributes
  25733. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  25734. * BaseCollection.cs: Added missing attributes
  25735. * Binding.cs: Added TypeConverter attribute
  25736. * BindingContext.cs: Added DefaultEvent attribute
  25737. * BindingsCollection.cs: Added DefaultEvent attribute
  25738. * Button.cs: Added DefaultValue attribute
  25739. * DragEventArgs.cs: Added ComVisible attribute
  25740. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  25741. * KeyEventArgs.cs: Added ComVisible attribute
  25742. * KeyPressEventArgs.cs: Added ComVisible attribute
  25743. * MouseEventArgs.cs: Added ComVisible attribute
  25744. * NavigateEventArgs.cs: Added
  25745. * NavigateEventHandler.cs: Added
  25746. * FeatureSupport.cs: Added
  25747. * OSFeature.cs: Added
  25748. * Theme.cs: Added abstract Version property to support OSFeature
  25749. * ThemeWin32Classic.cs: Added Version property to
  25750. support OSFeature.Themes
  25751. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  25752. the proper styles to avoid background drawing are set, also doesn't
  25753. match MS signature
  25754. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  25755. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  25756. * ScrollEventArgs.cs: Added ComVisible attribute
  25757. * SplitterEventArgs.cs: Added ComVisible attribute
  25758. * AccessibleSelection.cs: Added Flags attribute
  25759. * Appearance.cs: Added ComVisible attribute
  25760. * Border3DSide.cs: Added ComVisible attribute
  25761. * Border3DStyle.cs: Added ComVisible attribute
  25762. * BorderStyle.cs: Added ComVisible attribute
  25763. * DragAction.cs: Added ComVisible attribute
  25764. * ErrorBlinkStyle.cs: Added
  25765. * ScrollEventType.cs: Added ComVisible attribute
  25766. * AnchorStyles.cs: Added Editor attribute
  25767. * DockStyle.cs: Added Editor attribute
  25768. * HorizontalAlignment.cs: Added ComVisible attribute
  25769. * HelpEventArgs.cs: Added ComVisible attribute
  25770. * PaintEventArgs.cs: Added IDisposable
  25771. 2005-01-04 Peter Bartok <[email protected]>
  25772. * TextControl.cs: Switched Line, LineTag and Document classes to
  25773. internal
  25774. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  25775. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  25776. Simple mode, fixes, IntegralHeight, etc.
  25777. 2005-01-04 Peter Bartok <[email protected]>
  25778. * TextBoxBase.cs: Using proper font variable now
  25779. 2005-01-04 Peter Bartok <[email protected]>
  25780. * Form.cs (ShowDialog): Set parent to owner, if provided
  25781. * GroupBox.cs: Removed unused vars
  25782. * TextControl.cs:
  25783. - Added GetHashCode() for Document and LineTag classes
  25784. - Removed unused variables
  25785. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  25786. to allow translation between continuous char position and line/pos
  25787. * CheckBox.cs: Removed vars that are provided by base class
  25788. * RadioButton.cs: Removed vars that are provided by base class, added
  25789. new keyword where required
  25790. * LinkLabel.cs: Added new keyword where required
  25791. * Control.cs (WndProc): Removed unused variable
  25792. * TextBoxBase.cs:
  25793. - Finished SelectionLength property
  25794. - Implemented SelectionStart property
  25795. - Implemented Text property
  25796. - Removed unused vars
  25797. * MessageBox.cs: Added new keyword where required
  25798. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  25799. WndProc signature
  25800. * MenuAPI.cs: Added new keyword where required
  25801. * ButtonBase.cs: Removed vars that are provided by base class, added
  25802. new keyword where required
  25803. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  25804. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  25805. into this)
  25806. * Application.cs (Run): Now triggers the ThreadExit event
  25807. * CommonDialog.cs: Added new keyword where required; now properly sets
  25808. parent (owner) for dialog
  25809. * XplatUIX11.cs: Commented out unused vars
  25810. * StatusBar.cs: Fixed signature for Text property
  25811. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  25812. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  25813. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  25814. TrackBar.cs, MonthCalendar.cs: remove unused vars
  25815. 2005-01-03 Jackson Harper <[email protected]>
  25816. * ThemeWin32Classic.cs:
  25817. * X11Keyboard.cs: Remove unused vars.
  25818. 2005-01-03 Peter Bartok <[email protected]>
  25819. * TextBox.cs:
  25820. - set_Text: Tied into TextControl
  25821. - set_TextAlignment: Tied into TextControl
  25822. * TextControl.cs:
  25823. - Added alignment properties and implemented alignment handling
  25824. and drawing (still has a bug, not generating proper expose events)
  25825. - Added new Line() constructor to allow passing the line alignment
  25826. - Fixed selection setting, properly handling end<start now
  25827. - Added aligment considerations to RecalculateDocument()
  25828. * TextBoxBase.cs:
  25829. - Now properly enforces control height for single line controls
  25830. - Added support for CharacterCasing
  25831. - Added IsInputKey override
  25832. - Fixed Keys.Enter logic
  25833. - Added SetBoundsCore override
  25834. - Fixed mouse selection handling
  25835. 2005-01-03 Jackson Harper <[email protected]>
  25836. * TreeView.cs:
  25837. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  25838. - Checkboxes are always aligned to the bottom of the node,
  25839. regardless of item height.
  25840. - Use the node bounds to draw the text so we can center it when
  25841. the item height is greater then the font height.
  25842. - Node::Bounds are only the text part of the node.
  25843. * TreeNode.cs: New method to combine collapsing and unchecking all
  25844. nodes recursively.
  25845. 2005-01-02 Jackson Harper <[email protected]>
  25846. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  25847. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  25848. tree when a check is changed. TODO: Only refresh the checked node.
  25849. 2004-12-30 Jackson Harper <[email protected]>
  25850. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  25851. * TreeNode.cs: When collapsing make sure to never collapse the
  25852. root node.
  25853. 2004-12-29 Jackson Harper <[email protected]>
  25854. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  25855. 2004-12-28 Zoltan Varga <[email protected]>
  25856. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  25857. 2004-12-28 Peter Bartok <[email protected]>
  25858. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  25859. not yet assigned
  25860. 2004-12-28 Peter Bartok <[email protected]>
  25861. * Control.cs (WndProc): Added WM_HELP handler, now generates
  25862. HelpRequested event
  25863. * Form.cs: Added HelpButton property and required support code
  25864. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  25865. 2004-12-28 Peter Bartok <[email protected]>
  25866. * CommonDialog.cs:
  25867. - Made DialogForm.owner variable internal
  25868. - Added check to ensure owner form is set before setting
  25869. owner properties in CreateParams
  25870. 2004-12-28 Geoff Norton <[email protected]>
  25871. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  25872. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  25873. GetCursorPos. Fix major visibility issues. Rework the windowing
  25874. system to support borderless/titleless windows (implements menus).
  25875. Fix GetWindowPos. Implement initial background color support for
  25876. views.
  25877. 2004-12-28 Peter Bartok <[email protected]>
  25878. * Form.cs (get_CreateParams): Make sure we have an owner before using
  25879. the owner variable. Implement proper default if no owner exists
  25880. 2004-12-28 Peter Bartok <[email protected]>
  25881. * In preparation for making Managed.Windows.Forms the default build target
  25882. for System.Windows.Forms, the following stubbed files were added.
  25883. Dialogs are currently being implemented by contributors and are only
  25884. short-term place holders.
  25885. * ColorDialog.cs: Initial check-in (minmal stub)
  25886. * DataGrid.cs: Initial check-in (minimal stub)
  25887. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  25888. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  25889. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  25890. * FontDialog.cs: Initial check-in (minimal stub)
  25891. * FileDialog.cs: Initial check-in (minimal stub)
  25892. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  25893. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  25894. * OpenFileDialog: Initial check-in (minimal stub)
  25895. * IComponentEditorPageSite.cs: Initial check-in
  25896. * Splitter.cs: Initial check-in (for Jackson)
  25897. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  25898. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  25899. * TextBox.cs: Initial check-in; still needs some wiring to
  25900. TextControl backend
  25901. * Form.cs: Implemented ControlBox property
  25902. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  25903. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  25904. * TextControl.cs: Added selection functionality; added todo header
  25905. * TextBoxBase.cs:
  25906. - Implemented Lines property
  25907. - Implemented TextHeight property
  25908. - Implemented SelectedText property
  25909. - Implemented SelectionLength property
  25910. - Implemented SelectAll method
  25911. - Implemented ToString method
  25912. - Removed and cleaned up some debug code
  25913. - Implemented (still buggy) mouse text selection
  25914. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  25915. * ComboBox.cs: Complete DropDownList implementation, fixes.
  25916. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  25917. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  25918. * ComboBoxStyle.cs: ComboBoxStyle enum
  25919. * ComboBox.cs: Initial work on ComboBox control
  25920. 2004-12-21 Peter Bartok <[email protected]>
  25921. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  25922. forward so that anything that creates a window gets the default,
  25923. also no longer uses Visible property in CreateParams to avoid
  25924. walking up the parent chain and possibly get the wrong visible
  25925. status. Fixed IsVisible to no longer walk up to the parent.
  25926. 2004-12-21 Peter Bartok <[email protected]>
  25927. * Form.cs (ShowDialog): Unset modality for the proper window
  25928. 2004-12-20 Peter Bartok <[email protected]>
  25929. * CommonDialog.cs: Initial check-in
  25930. 2004-12-20 Peter Bartok <[email protected]>
  25931. * Control.cs (Visible): Now uses the parent window instead of the
  25932. client area window for the property
  25933. * Form.cs
  25934. - ShowDialog(): Now uses the proper window for modality
  25935. - The default visibility state for the form parent is now false. This
  25936. will prevent the user from seeing all the changes to the form and
  25937. its controls before the application hits Application.Run()
  25938. - Removed some stale commented out code
  25939. * NativeWindow.cs:
  25940. - Added FindWindow() method to have a method to check for existence
  25941. of a window handle
  25942. - Added ability to override default exception handling (for example
  25943. when debugging with VS.Net; to do this the ExternalExceptionHandler
  25944. define must be set
  25945. - Removed some useless debug output
  25946. * XplatUIX11.cs:
  25947. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  25948. not working as expected
  25949. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  25950. property to allow switching back to the modal window if focus is
  25951. given to another one of our windows (Application Modal)
  25952. - Now only sets override_redirect if we create a window
  25953. without WS_CAPTION
  25954. - Moved EventMask selection before mapping of newly created window
  25955. so we can catch the map event as well
  25956. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  25957. - Added various Atom related DllImports
  25958. - Implemented Exit() method
  25959. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  25960. in the CreateParams
  25961. * MessageBox.cs: Now properly deals with the FormParent window by
  25962. providing an override the FormParent CreateParams property to
  25963. set as POPUP instead of OVERLAPPED window.
  25964. 2004-12-19 Geoff Norton <[email protected]>
  25965. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  25966. Minor code cleanup.
  25967. 2004-12-19 Geoff Norton <[email protected]>
  25968. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  25969. 2004-12-18 Peter Bartok <[email protected]>
  25970. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  25971. implementing SetModal() method
  25972. 2004-12-18 Peter Bartok <[email protected]>
  25973. * X11Structs.cs (XGCValues): Fixed type of function element
  25974. * XplatUI.cs: Added ScrollWindow() method
  25975. * XplatUIDriver.cs: Added ScrollWindow() abstract
  25976. * XplatUIWin32.cs: Implemented ScrollWindow() method
  25977. * XplatUIX11.cs: Implemented ScrollWindow() method
  25978. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  25979. 2004-12-17 Geoff Norton <[email protected]>
  25980. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  25981. Some more keyboard support (INCOMPLETE)
  25982. 2004-12-17 Peter Bartok <[email protected]>
  25983. * TextControl.cs:
  25984. - Added color attribute to line tags.
  25985. - Added color argument to all functions dealing with tags
  25986. - Added color argument support to various functions
  25987. - Fixed miss-calculation of baseline/shift in certain circumstances
  25988. * TextBoxBase.cs: Added new color option to test code
  25989. 2004-12-17 Jackson Harper <[email protected]>
  25990. * TreeNode.cs:
  25991. * MonthCalendar.cs: Signature fixes
  25992. 2004-12-17 Geoff Norton <[email protected]>
  25993. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  25994. keyboard event moved it. Create a new graphics context for each paint resolves this
  25995. 2004-12-17 Geoff Norton <[email protected]>
  25996. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  25997. Make caret exist and go blink blink. Initial keyboard support.
  25998. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  25999. works.
  26000. 2004-12-17 Jackson Harper <[email protected]>
  26001. * XplatUIStructs.cs: Updated set of virtual keycodes.
  26002. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  26003. 2004-12-17 Jackson Harper <[email protected]>
  26004. * XplatUIX11.cs: Prune old keyboard code.
  26005. 2004-12-17 Jackson Harper <[email protected]>
  26006. * XplatUIX11.cs: When generating mouse wparams get the modifier
  26007. keys from the ModifierKeys property.
  26008. 2004-12-17 Jackson Harper <[email protected]>
  26009. * X11Keyboard.cs: Send up/down input when generating
  26010. messages. Remove some unused vars.
  26011. 2004-12-17 Jackson Harper <[email protected]>
  26012. * TabControl.cs:
  26013. * TreeView.cs: get rid of warnings.
  26014. 2004-12-17 Jackson Harper <[email protected]>
  26015. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  26016. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  26017. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  26018. CheckedListBox.cs: Implementation
  26019. 2004-12-17 Peter Bartok <[email protected]>
  26020. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  26021. 2004-12-16 Peter Bartok <[email protected]>
  26022. * TextControl.cs:
  26023. - InsertCharAtCaret(): Fixed start pos fixup
  26024. - CaretLine_get: No longer derives the line from the tag, the tag
  26025. could be stale if lines in the document have been added or deleted
  26026. - RebalanceAfterDelete(): Fixed bug in balancing code
  26027. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  26028. - Line.Streamline(): Now can also elminate leading empty tags
  26029. - DumpTree(): Added a few more tests and prevented exception on
  26030. uninitialized data
  26031. - Added Debug section for Combining lines
  26032. - Delete(): Now copies all remaining properties of a line
  26033. * TextBoxBase.cs:
  26034. - Left mousebutton now sets the caret (and middle button still acts
  26035. as formatting tester, which must go away soon)
  26036. - Added Debug section for Deleting/Combining lines
  26037. - Fixed calculations for UpdateView after Combining lines
  26038. 2004-12-16 Peter Bartok <[email protected]>
  26039. * TextControl.cs: Now properly aligns text on a baseline, using the
  26040. new XplatUI.GetFontMetrics() method. Simplified several calculations
  26041. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  26042. defined
  26043. 2004-12-16 Peter Bartok <[email protected]>
  26044. * XplatUI.cs: Added GetFontMetrics() method
  26045. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  26046. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  26047. into libgdiplus, our private GetFontMetrics function
  26048. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  26049. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  26050. 2004-12-16 Jackson Harper <[email protected]>
  26051. * XplatUIStruct.cs: Add enum for dead keys
  26052. * X11Keyboard.cs: Map and unmap dead keys.
  26053. 2004-12-16 Jackson Harper <[email protected]>
  26054. * X11Keyboard.cs: Detect and use the num lock mask.
  26055. 2004-12-16 Peter Bartok <[email protected]>
  26056. * Control.cs (CreateGraphics): Added check to make sure the
  26057. handle of the window exists before calling Graphics.FromHwnd()
  26058. 2004-12-16 Peter Bartok <[email protected]>
  26059. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  26060. contains a lot of code that's not supposed to be there for the
  26061. real thing, but required for developing/testing the textbox
  26062. backend.
  26063. 2004-12-16 Peter Bartok <[email protected]>
  26064. * TextControl.cs:
  26065. - Fixed Streamline method
  26066. - Added FindTag method to Line
  26067. - Added DumpTree method for debugging
  26068. - Added DecrementLines() method for deleting lines
  26069. - Fixed UpdateView to update the cursor to end-of-line on single-line
  26070. updates
  26071. - Added PositionCaret() method
  26072. - Fixed MoveCaret(LineDown) to move into the last line, too
  26073. - Added InsertChar overload
  26074. - Fixed InsertChar tag offset calculations
  26075. - Added DeleteChar() method
  26076. - Added Combine() method for folding lines
  26077. - Fixed Delete() method, no longer allocates wasted Line object and
  26078. now copies all properties when swapping nodes
  26079. - Delete() method now updates document line counter
  26080. 2004-12-15 Jackson Harper <[email protected]>
  26081. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  26082. * X11Keyboard.cs: Expose the currently selected modifier keys
  26083. through a property.
  26084. 2004-12-15 Peter Bartok <[email protected]>
  26085. * TextControl.cs: Initial check-in. Still incomplete
  26086. 2004-12-15 Jackson Harper <[email protected]>
  26087. * TreeNode.cs:
  26088. * TreeView.cs: Fix build on csc (second time today ;-))
  26089. 2004-12-15 Jackson Harper <[email protected]>
  26090. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  26091. is calculated and use this for click testing.
  26092. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  26093. 2004-12-15 Jackson Harper <[email protected]>
  26094. * TreeView.cs: Pass the nodes image index to the image list when
  26095. drawing that image.
  26096. 2004-12-15 Jackson Harper <[email protected]>
  26097. * X11Keyboard.cs: Set messages hwnd.
  26098. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  26099. post_message calls.
  26100. 2004-12-15 Jackson Harper <[email protected]>
  26101. * X11Keyboard.cs: Fix to compile with csc.
  26102. 2004-12-15 Jackson Harper <[email protected]>
  26103. * X11Structs.cs: Add key mask values
  26104. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  26105. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  26106. down/up foo into WM_CHAR foo
  26107. * KeyboardLayouts.cs: Common keyboard layouts
  26108. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  26109. post messages into the main queue.
  26110. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  26111. * Button.cs: implement ProcessMnemonic
  26112. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  26113. brushes everytime
  26114. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  26115. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  26116. 2004-12-12 John BouAntoun <[email protected]>
  26117. * MonthCalendar.cs: Implemented click-hold for next/previous month
  26118. and date selection
  26119. 2004-12-11 Peter Bartok <[email protected]>
  26120. * X11Structs.cs:
  26121. - Added XKeyboardState (moved from XplatUIX11.cs)
  26122. - Added XCreateGC related enums and structures
  26123. - Added GXFunction for XSetFunction
  26124. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  26125. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  26126. CaretVisible() calls
  26127. * ToolTip.cs: Added code to prevent stealing focus from app windows
  26128. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  26129. DestroyCaret, SetCaretPos and CaretVisible)
  26130. * XplatUIX11.cs:
  26131. - Added implementation for caret functions
  26132. - Moved hover variables into a struct, to make it a bit easier
  26133. on the eyes and to debug
  26134. - Removed XKeyboardState (moved to XplatUIX11.cs)
  26135. - Moved Keyboard properties into the properties region
  26136. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  26137. call to get a graphics context for our control
  26138. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  26139. * TreeView.cs: Fixed bug. No matter what color was set it would always
  26140. return SystemColors.Window
  26141. * XplatUIWin32.cs: Implemented caret overrides
  26142. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  26143. * ListBox.cs: fire events, implement missing methods and properties,
  26144. sorting.
  26145. 2004-12-10 John BouAntoun <[email protected]>
  26146. * MonthCalendar.cs: invalidation bug fixing
  26147. * ThemeWin32Classic.cs: paint fixing
  26148. 2004-12-09 Geoff Norton <[email protected]>
  26149. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  26150. prepare the CGContextRef there now.
  26151. 2004-12-09 John BouAntoun <[email protected]>
  26152. * MonthCalendar.cs:
  26153. - optimisationL only invalidate areas that have changed
  26154. * ThemeWin32Classic.cs:
  26155. - only paint parts that intersect with clip_area
  26156. 2004-12-09 Peter Bartok <[email protected]>
  26157. * Application.cs: Undid changes from r37004 which cause problems
  26158. on X11
  26159. 2004-12-09 Ravindra <[email protected]>
  26160. * ToolBar.cs: Added support for displaying ContextMenu
  26161. attached to a button on ToolBar.
  26162. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  26163. property.
  26164. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26165. * Label.cs: autosize works in text change and removes unnecessary
  26166. invalidate
  26167. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26168. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  26169. remove warnings
  26170. 2004-12-08 Geoff Norton <[email protected]>
  26171. * XplatUIOSX.cs: Added mouse move/click/grab support
  26172. Remove some debugging WriteLines not needed anymore.
  26173. Add window resizing/positioning.
  26174. Fix visibility on reparenting.
  26175. 2004-12-08 Peter Bartok <[email protected]>
  26176. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  26177. 2004-12-07 Geoff Norton <[email protected]>
  26178. * XplatUIOSX.cs: Initial checkin
  26179. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  26180. 2004-12-03 Ravindra <[email protected]>
  26181. * ListView.cs: Added some keybindings and fixed scrolling.
  26182. ScrollBars listen to ValueChanged event instead of Scroll
  26183. Event. This would let us take care of all changes being
  26184. done in the scrollbars' values programmatically or manually.
  26185. * ListView.cs (CanMultiselect): Added a check for shift key.
  26186. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  26187. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  26188. of ListViewSubItemCollection as well.
  26189. 2004-12-06 Peter Bartok <[email protected]>
  26190. * Control.cs (Parent): Added check and exception to prevent
  26191. circular parenting
  26192. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  26193. * ListBox.cs: implemented clipping, selection single and multiple,
  26194. bug fixing
  26195. 2004-12-03 Ravindra <[email protected]>
  26196. * ListView.cs (ListView_KeyDown):
  26197. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  26198. when CTRL key is pressed.
  26199. * ListViewItem.cs (Selected): Fixed setting the property.
  26200. 2004-12-03 Marek Safar <[email protected]>
  26201. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  26202. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  26203. MinimizeBox, ShowInTaskbar, TopMost properties.
  26204. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  26205. will be implemented).
  26206. 2004-12-03 Marek Safar <[email protected]>
  26207. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  26208. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  26209. tests.
  26210. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  26211. * TreeView.cs: BackColor is Colors.Window.
  26212. 2004-12-01 Jackson Harper <[email protected]>
  26213. * TreeView.cs: When resizing the tree if the user is making it
  26214. smaller we don't get expose events, so we need to handle adding
  26215. the horizontal scrollbar in the size changed handler as well as
  26216. the expose handler.
  26217. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  26218. * DrawItemState.cs: fixes wrong enum values
  26219. 2004-12-01 Jackson Harper <[email protected]>
  26220. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  26221. 2004-12-01 Jackson Harper <[email protected]>
  26222. * NodeLabelEditEventArgs.cs:
  26223. * NodeLabelEditEventHandler.cs:
  26224. * OpenTreeNodeEnumerator.cs:
  26225. * TreeNode.cs:
  26226. * TreeNodeCollection.cs:
  26227. * TreeView.cs:
  26228. * TreeViewAction.cs:
  26229. * TreeViewCancelEventArgs.cs:
  26230. * TreeViewCancelEventHandler.cs:
  26231. * TreeViewEventArgs.cs:
  26232. * TreeViewEventHandler.cs: Initial implementation.
  26233. 2004-12-01 Ravindra <[email protected]>
  26234. * ListView.cs (CalculateListView): Fixed scrolling related
  26235. calculations. Also, removed some debug statements from other
  26236. places.
  26237. * ListViewItem.cs: Changed access to 'selected' instance variable
  26238. from private to internal.
  26239. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  26240. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  26241. * ThemeWin32Classic.cs: remove cache of brush and pens for
  26242. specific controls and use the global system, fixes scrollbutton
  26243. bugs (for small sizes, disabled, etc)
  26244. * ScrollBar.cs: does not show the thumb for very small controls
  26245. (as MS) and allow smaller buttons that the regular size
  26246. 2004-12-01 Miguel de Icaza <[email protected]>
  26247. * UpDownBase.cs: Add abstract methods for the interface.
  26248. Add new virtual methods (need to be hooked up to TextEntry when it
  26249. exists).
  26250. Add override methods for most features.
  26251. Computes the size, forces the height of the text entry.
  26252. * NumericUpDown.cs: Put here the current testing code.
  26253. * Set eol-style property on all files that do not have mixed line
  26254. endings, to minimize the future problems. There are still a few
  26255. files with mixed endings, and someone should choose whether they
  26256. want to move it or not.
  26257. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  26258. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  26259. System.Colors
  26260. 2004-11-30 Ravindra <[email protected]>
  26261. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  26262. drawing and replaced use of SystemColors by theme colors.
  26263. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  26264. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  26265. same ListViewItem is being added more than once.
  26266. 2004-11-30 John BouAntoun <[email protected]>
  26267. * MonthCalendar.cs:
  26268. - ControlStyles love to make the control not flicker
  26269. 2004-11-30 Peter Bartok <[email protected]>
  26270. * CharacterCasing.cs: Added
  26271. 2004-11-29 Peter Bartok <[email protected]>
  26272. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26273. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  26274. I am removing these files as they conflict with already completed
  26275. work. While it is fantastic to get contributions to MWF, I
  26276. respectfully ask that everyone please coordinate their contributions
  26277. through mono-winforms-list or #mono-winforms at this time. We're
  26278. explicitly avoiding stubbing and don't want controls that don't have
  26279. their basic functionality implemented in svn. Please also see
  26280. http://www.mono-project.com/contributing/winforms.html
  26281. 2004-11-29 Marek Safar <[email protected]>
  26282. * Application.cs (ModalRun): Don't hang after exit.
  26283. * Theme.cs: New TreeViewDefaultSize property.
  26284. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  26285. with less hardcoded SystemColors constant.
  26286. Implemented TreeViewDefaultSize.
  26287. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26288. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  26289. 2004-11-29 John BouAntoun <[email protected]>
  26290. * MonthCalendar.cs:
  26291. - Fix NextMonthDate and PrevMonthDate click moving calendar
  26292. 2004-11-26 John BouAntoun <[email protected]>
  26293. * MonthCalendar.cs:
  26294. - Fix usage of ScrollChange Property when scrolling months
  26295. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  26296. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  26297. - Fixes menu destroying
  26298. - Support adding and removing items on already created menus
  26299. 2004-11-26 John BouAntoun <[email protected]>
  26300. * MonthCalendar.cs:
  26301. - Re-worked all bolded dates handling to match win32
  26302. * ThemeWin32Classic.cs:
  26303. - Fixed rendering with bolded dates
  26304. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  26305. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  26306. - Horizontal scroolbar
  26307. - Multicolumn
  26308. - Fixes
  26309. 2004-11-25 John BouAntoun <[email protected]>
  26310. * MonthCalendar.cs:
  26311. - Fix Usage of MaxSelectionCount from SelectionRange
  26312. - Fixed Shift + Cursor Selection
  26313. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  26314. - Fixed normal cursor selection to be compat with win32
  26315. - Fixed Shift + Mouse Click selection
  26316. 2004-11-24 Peter Bartok <[email protected]>
  26317. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  26318. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  26319. * XplatUIX11.cs:
  26320. - CreatedKeyBoardMsg now updates keystate with Alt key
  26321. - Added workaround for timer crash to CheckTimers, Jackson will
  26322. develop a proper fix and check in later
  26323. - Implemented DispatchMessage
  26324. - Removed calling the native window proc from GetMessage (call
  26325. now moved to DispatchMessage)
  26326. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  26327. the keydata (Fixes bug #69831)
  26328. * XplatUIWin32.cs:
  26329. - (DispatchMessage): Switched to return IntPtr
  26330. - Added DllImport for SetFocus
  26331. 2004-11-24 Ravindra <[email protected]>
  26332. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  26333. background drawing.
  26334. * ListViewItem.cs: Fixed various properties, calculations
  26335. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  26336. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  26337. and some internal properties. Fixed MouseDown handler and Paint
  26338. method.
  26339. 2004-11-24 John BouAntoun <[email protected]>
  26340. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  26341. 2004-11-24 John BouAntoun <[email protected]>
  26342. * ContainerControl.cs: correct accidental check in of local changes
  26343. 2004-11-24 John BouAntoun <[email protected]>
  26344. * ThemeWin32Classic.cs:
  26345. - Fixed Drawing Last month in grid (sometimes not showing)
  26346. * MonthCalendar.cs:
  26347. - Fixed title width calculation bug (makeing title small)
  26348. 2004-11-23 Peter Bartok <[email protected]>
  26349. * XplatUIX11.cs:
  26350. - Added generation of WM_MOUSEHOVER event
  26351. - Added missing assignment of async_method atom
  26352. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  26353. 2004-11-23 John BouAntoun <[email protected]>
  26354. * ThemeWin32Classic.cs:
  26355. - Fixed Drawing of today circle when showtodaycircle not set
  26356. - fixed drawing of first and last month in the grid (gay dates)
  26357. * MonthCalendar.cs:
  26358. - Fixed Drawing of today circle
  26359. - Fixed drawing of grady dates
  26360. - Fixed HitTest for today link when ShowToday set to false
  26361. - Fixed DefaultSize to obey ShowToday
  26362. 2004-11-23 John BouAntoun <[email protected]>
  26363. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  26364. * System.Windows.Forms/Theme.cs
  26365. * MonthCalendar.cs: added for MonthCalendar
  26366. * SelectionRange.cs: added for MonthCalendar
  26367. * Day.cs: added for MonthCalendar: added for MonthCalendar
  26368. * DateRangeEventArgs.cs: added for MonthCalendar
  26369. * DateRangeEventHandler.cs: added for MonthCalendar
  26370. 2004-11-22 Ravindra <[email protected]>
  26371. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  26372. property.
  26373. 2004-11-22 Miguel de Icaza <[email protected]>
  26374. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  26375. event handler.
  26376. * NumericUpDown.cs: Added new implementation.
  26377. * UpDownBase.cs: Added new implementation.
  26378. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  26379. implementations.
  26380. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  26381. implementations.
  26382. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  26383. methods.
  26384. 2004-11-21 Miguel de Icaza <[email protected]>
  26385. * Timer.cs (Dispose): Should call the base dispose when
  26386. overriding.
  26387. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26388. * ScrollBar.cs: updates thumb position when max, min or increment
  26389. is changed
  26390. 2004-11-21 Ravindra <[email protected]>
  26391. * ListView.cs: Implemented item selection, activation and
  26392. column header style. Fixed properties to do a redraw, if
  26393. required. Added support for MouseHover, DoubleClick, KeyDown
  26394. and KeyUp event handling and some minor fixes.
  26395. * ListViewItem.cs: Fixed constructor.
  26396. * ThemeWin32Classic.cs: Improved drawing for ListView.
  26397. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26398. * ThemeWin32Classic.cs: initial listbox drawing code
  26399. * DrawMode.cs: new enumerator
  26400. * ListControl.cs: stubbed class
  26401. * ListBox.cs: initial implementation
  26402. * Theme.cs: new methods definitions
  26403. * SelectionMode.cs: new enumerator
  26404. 2004-11-17 Peter Bartok <[email protected]>
  26405. * XplatUIWin32.cs: Added double-click events to the class style
  26406. * Control.cs (WndProc):
  26407. - Added handling of click-count to MouseDown/ MouseUp events.
  26408. - Added handling of middle and right mouse buttons
  26409. - Removed old debug code
  26410. 2004-11-17 Jackson Harper <[email protected]>
  26411. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  26412. 2004-11-17 Ravindra <[email protected]>
  26413. * ListView.cs: Added event handling for MouseMove/Up/Down.
  26414. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  26415. * ThemeWin32Classic.cs: We need to clear the graphics context and
  26416. draw column header in a proper state.
  26417. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  26418. * Menu.cs: fixes signature
  26419. 2004-11-16 Peter Bartok <[email protected]>
  26420. * XplatUIX11.cs (GetMessage): Implemented generation of
  26421. double click mouse messages
  26422. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  26423. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  26424. not by menu
  26425. 2004-11-11 Peter Bartok <[email protected]>
  26426. * HandleData.cs: Added Visible property
  26427. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  26428. HandleData
  26429. * XplatUIX11.cs: Removed old debug leftovers
  26430. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  26431. * Control.cs (WndProc): Removed old debug leftovers,
  26432. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  26433. needed WM_SIZE handling
  26434. 2004-11-11 Jackson Harper <[email protected]>
  26435. * OwnerDrawPropertyBag.cs:
  26436. * TreeViewImageIndexConverter.cs: Initial implementation
  26437. 2004-11-10 Jackson Harper <[email protected]>
  26438. * ThemeWin32Classic.cs:
  26439. * TabControl.cs: instead of moving tabs by the slider pos just
  26440. start drawing at the tab that is offset by the slider. This way
  26441. scrolling always moves by exactly one tab.
  26442. 2004-11-10 Jackson Harper <[email protected]>
  26443. * TabControl.cs: You can only scroll left when the slider has
  26444. already ben moved right.
  26445. 2004-11-10 Jackson Harper <[email protected]>
  26446. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  26447. the clip area.
  26448. 2004-11-10 Jackson Harper <[email protected]>
  26449. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  26450. clip area.
  26451. 2004-11-09 Jackson Harper <[email protected]>
  26452. * TabControl.cs (CalcXPos): New helper method so we can determine
  26453. the proper place to start drawing vertical tabs.
  26454. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  26455. 2004-11-09 Jackson Harper <[email protected]>
  26456. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  26457. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  26458. and Bottom, left and right are illegal values for this and
  26459. multiline is enabled when the alignment is set to left or right.
  26460. (DrawTab): Each alignment block should draw the text itself now
  26461. because Left requires special love. Also add rendering for Left
  26462. aligned tabs.
  26463. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  26464. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  26465. does not destroy the windows, removes debugging messages
  26466. 2004-11-09 jba <[email protected]>
  26467. * ThemeWin32Classic.cs
  26468. (DrawButtonBase): Fix verticle text rect clipping in windows
  26469. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  26470. rendering and incorrect text rect clipping
  26471. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  26472. rendering and incorrect text rect clipping
  26473. 2004-11-08 Jackson Harper <[email protected]>
  26474. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  26475. bottom when they are bottom aligned so the bottoms of the tabs get
  26476. displayed.
  26477. * TabControl.cs (DropRow): Move rows up instead of down when the
  26478. tab control is bottom aligned.
  26479. 2004-11-08 13:59 pbartok
  26480. * XplatUIX11.cs:
  26481. - Added handling for various window styles
  26482. - Added handling for popup windows
  26483. - Added SetTopmost handling
  26484. 2004-11-08 13:55 pbartok
  26485. * XplatUIWin32.cs:
  26486. - Added argument to SetTopmost method
  26487. - Fixed broken ClientToScreen function
  26488. 2004-11-08 13:53 pbartok
  26489. * XplatUIStructs.cs:
  26490. - Added missing WS_EX styles
  26491. 2004-11-08 13:53 pbartok
  26492. * XplatUI.cs, XplatUIDriver.cs:
  26493. - Added argument to SetTopmost
  26494. 2004-11-08 13:52 pbartok
  26495. * X11Structs.cs:
  26496. - Added XSetWindowAttributes structure
  26497. - Improved XWindowAttributes structure
  26498. - Added SetWindowValuemask enum
  26499. - Added window creation arguments enum
  26500. - Added gravity enum
  26501. - Added Motif hints structure
  26502. - Added various Motif flags and enums
  26503. - Added PropertyMode enum for property functions
  26504. 2004-11-08 13:50 pbartok
  26505. * Form.cs:
  26506. - Fixed arguments for updated SetTopmost method
  26507. 2004-11-08 13:49 pbartok
  26508. * ToolTip.cs:
  26509. - Fixed arguments for updated SetTopmost function
  26510. - Fixed usage of PointToClient
  26511. 2004-11-08 13:44 pbartok
  26512. * MenuAPI.cs:
  26513. - Added Clipping of children and siblings
  26514. 2004-11-08 13:41 pbartok
  26515. * MainMenu.cs:
  26516. - Removed SetMenuBarWindow call. We do this in Form.cs
  26517. 2004-11-08 13:40 jackson
  26518. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  26519. scrolling jimmi in the correct location with bottom aligned tabs
  26520. 2004-11-08 13:36 pbartok
  26521. * ContainerControl.cs:
  26522. - Implemented BindingContext
  26523. - Implemented ParentForm
  26524. 2004-11-08 12:46 jackson
  26525. * TabControl.cs: Put bottom rendered tabs in the right location
  26526. 2004-11-08 07:15 jordi
  26527. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  26528. removes dead code
  26529. 2004-11-05 17:30 jackson
  26530. * TabControl.cs: When selected tabs are expanded make sure they
  26531. don't go beyond the edges of the tab control
  26532. 2004-11-05 14:57 jackson
  26533. * TabControl.cs: Reset show_slider so if the control is resized to
  26534. a size where it is no longer needed it's not displayed anymore
  26535. 2004-11-05 13:16 jackson
  26536. * TabControl.cs: Make tab pages non visible when added to the
  26537. control
  26538. 2004-11-05 12:42 jackson
  26539. * TabControl.cs: Implement SizeMode.FillToRight
  26540. 2004-11-05 12:16 jackson
  26541. * Control.cs: Do not call CreateHandle if the handle is already
  26542. created
  26543. 2004-11-05 11:46 jackson
  26544. * TabControl.cs: Remove superflous call to CalcTabRows
  26545. 2004-11-05 09:07 jackson
  26546. * XplatUIX11.cs: Update for Mono.Posix changes
  26547. 2004-11-05 07:00 ravindra
  26548. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  26549. scrolling.
  26550. 2004-11-04 22:47 jba
  26551. * ThemeWin32Classic.cs:
  26552. - Fix Button rendering for FlatStyle = Flat or Popup
  26553. - Fix RadioButton and CheckBox rendering when Appearance = Button
  26554. (normal and flatstyle).
  26555. - Correct outer rectangle color when drawing focus rectangle
  26556. - Adjust button bounds to be 1 px smaller when focused
  26557. - Make button not draw sunken 3d border when pushed (windows compat)
  26558. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  26559. - Offset the text in RadioButton and Checkbox when being rendered as
  26560. a button.
  26561. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  26562. radiobuttons
  26563. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  26564. - Fixed disabled text rendering for normally rendered radiobuttons
  26565. 2004-11-04 10:26 jackson
  26566. * TabControl.cs: Recalculate tab rows when resizing
  26567. 2004-11-04 07:47 jordi
  26568. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  26569. collection completion, drawing issues, missing features
  26570. 2004-11-04 05:03 ravindra
  26571. * ScrollBar.cs:
  26572. - We need to recalculate the Thumb area when
  26573. LargeChange/maximum/minimum values are changed.
  26574. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  26575. than minimum. This is required to handle the case if large_change is
  26576. more than max, and use LargeChange property instead of large_change
  26577. variable.
  26578. - We return max+1 when large_change is more than max, like MS does.
  26579. 2004-11-04 04:29 ravindra
  26580. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  26581. - Changed default value signatures (prefixed all with ListView).
  26582. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  26583. ListView.
  26584. - Fixed calculations for ListViewItem and implemented Clone()
  26585. method.
  26586. 2004-11-04 04:26 ravindra
  26587. * Theme.cs, ThemeWin32Classic.cs:
  26588. - Changed default ListView values signatures (prefixed all with
  26589. ListView).
  26590. - Fixed default size values for VScrollBar and HScrollBar.
  26591. - Fixed DrawListViewItem method.
  26592. 2004-11-04 04:05 ravindra
  26593. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  26594. 2004-11-04 04:04 ravindra
  26595. * ImageList.cs: Implemented the missing overload for Draw method.
  26596. 2004-11-03 19:29 jackson
  26597. * TabControl.cs: Handle dropping rows on selection properly
  26598. 2004-11-03 11:59 jackson
  26599. * TabControl.cs: remove debug code
  26600. 2004-11-03 11:52 jackson
  26601. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  26602. the scrolly widgerywoo
  26603. 2004-11-02 13:52 jackson
  26604. * TabControl.cs: Resize the tab pages and tabs when the tab control
  26605. is resized
  26606. 2004-11-02 13:40 jackson
  26607. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  26608. selected tab to the bottom
  26609. 2004-11-02 13:39 jackson
  26610. * TabPage.cs: Store the tab pages row
  26611. 2004-11-02 12:33 jordi
  26612. * MenuItem.cs: fixes handle creation
  26613. 2004-11-02 11:42 jackson
  26614. * TabControl.cs: signature fix
  26615. 2004-11-02 08:56 jackson
  26616. * TabControl.cs: Calculate whether the tab is on an edge properly.
  26617. Remove top secret debugging code
  26618. 2004-11-01 19:57 jackson
  26619. * TabControl.cs: Add click handling, and proper sizing
  26620. 2004-11-01 19:47 jackson
  26621. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  26622. tab controls
  26623. 2004-11-01 19:39 jackson
  26624. * TabPage.cs: add internal property to store the bounds of a tab
  26625. page
  26626. 2004-10-30 04:23 ravindra
  26627. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  26628. values.
  26629. 2004-10-30 04:21 ravindra
  26630. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  26631. fixed calculations.
  26632. 2004-10-30 03:06 pbartok
  26633. * XplatUIX11.cs:
  26634. - Removed extension of DllImported libs
  26635. 2004-10-29 09:55 jordi
  26636. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  26637. navigation, itemcollection completion, menu fixes
  26638. 2004-10-27 22:58 pbartok
  26639. * XplatUIX11.cs:
  26640. - Now throws a nice error message when no X display could be opened
  26641. 2004-10-26 13:51 jordi
  26642. * ListView.cs: removes warning
  26643. 2004-10-26 03:55 ravindra
  26644. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  26645. ThemeWin32Classic.cs: Some formatting for my last checkins.
  26646. 2004-10-26 03:36 ravindra
  26647. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  26648. control and default values.
  26649. 2004-10-26 03:35 ravindra
  26650. * Theme.cs: Added some default values for ListView control.
  26651. 2004-10-26 03:33 ravindra
  26652. * ToolBar.cs: ToolBar should use the user specified button size, if
  26653. there is any. Added a size_specified flag for the same.
  26654. 2004-10-26 03:33 ravindra
  26655. * ColumnHeader.cs: Added some internal members and calculations for
  26656. ColumnHeader.
  26657. 2004-10-26 03:32 ravindra
  26658. * ListViewItem.cs: Calculations for ListViewItem.
  26659. 2004-10-26 03:31 ravindra
  26660. * ListView.cs: Added some internal members and calculations for
  26661. ListView.
  26662. 2004-10-22 13:31 jordi
  26663. * MenuAPI.cs: speedup menus drawing
  26664. 2004-10-22 13:16 jackson
  26665. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  26666. expose event
  26667. 2004-10-22 11:49 jackson
  26668. * Control.cs: oops
  26669. 2004-10-22 11:41 jackson
  26670. * Control.cs: Check to see if the window should have its background
  26671. repainted by X when drawing.
  26672. 2004-10-22 11:31 jackson
  26673. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  26674. clear is true, this way we do not get flicker from X repainting the
  26675. background
  26676. 2004-10-22 11:28 jackson
  26677. * XEventQueue.cs: Queue properly
  26678. 2004-10-21 09:38 jackson
  26679. * XEventQueue.cs: Fix access modifier
  26680. 2004-10-21 09:36 jackson
  26681. * XEventQueue.cs: Don't loose messages
  26682. 2004-10-21 09:22 jackson
  26683. * XEventQueue.cs: Don't loose messages
  26684. 2004-10-20 04:15 jordi
  26685. * BootMode.cs: enum need it by SystemInfo
  26686. 2004-10-19 21:58 pbartok
  26687. * XplatUIWin32.cs:
  26688. - Small sanity check
  26689. 2004-10-19 21:56 pbartok
  26690. * Form.cs:
  26691. - Added private FormParentWindow class which acts as the container
  26692. for our form and as the non-client area where menus are drawn
  26693. - Added/Moved required tie-ins to Jordi's menus
  26694. - Fixed/Implemented the FormStartPosition functionality
  26695. 2004-10-19 21:52 pbartok
  26696. * Control.cs:
  26697. - Removed unneeded locals
  26698. - Added code to all size and location properties to understand and
  26699. deal with the parent container of Form
  26700. 2004-10-19 21:33 pbartok
  26701. * Application.cs:
  26702. - Fixed to deal with new Form subclasses for menus
  26703. 2004-10-19 17:48 jackson
  26704. * XEventQueue.cs: commit correct version of file
  26705. 2004-10-19 16:50 jackson
  26706. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  26707. 2004-10-19 16:15 jordi
  26708. * MenuAPI.cs: MenuBarCalcSize returns the height
  26709. 2004-10-19 08:31 pbartok
  26710. * Control.cs:
  26711. - Added missing call to PreProcessMessage before calling OnXXXKey
  26712. methods
  26713. 2004-10-19 00:04 ravindra
  26714. * ToolTip.cs: Fixed constructor.
  26715. 2004-10-18 09:31 jordi
  26716. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  26717. 2004-10-18 09:26 jordi
  26718. * MenuItem.cs: fixes MenuItem class signature
  26719. 2004-10-18 08:56 jordi
  26720. * MenuAPI.cs: prevents windows from showing in the taskbar
  26721. 2004-10-18 00:28 ravindra
  26722. * ToolTip.cs: Suppressed a warning message.
  26723. 2004-10-18 00:27 ravindra
  26724. * Control.cs: Default value of visible property must be true.
  26725. 2004-10-17 23:19 pbartok
  26726. * ToolTip.cs:
  26727. - Complete implementation
  26728. 2004-10-17 23:19 pbartok
  26729. * XplatUIX11.cs:
  26730. - Added EnableWindow method
  26731. - Added SetModal stub
  26732. - Added generation of WM_ACTIVATE message (still needs testing)
  26733. - Added SetTopMost stub
  26734. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  26735. 2004-10-17 23:17 pbartok
  26736. * XplatUIWin32.cs:
  26737. - Removed VirtualKeys to XplatUIStructs
  26738. - Implemented SetTopMost method
  26739. - Implemented EnableWindow method
  26740. - Bugfix in ScreenToClient()
  26741. - Bugfixes in ClientToScreen()
  26742. 2004-10-17 22:51 pbartok
  26743. * XplatUIStructs.cs:
  26744. - Added WS_EX styles to WindowStyles enumeration
  26745. 2004-10-17 22:50 pbartok
  26746. * XplatUI.cs, XplatUIDriver.cs:
  26747. - Added method for enabling/disabling windows
  26748. - Added method for setting window modality
  26749. - Added method for setting topmost window
  26750. 2004-10-17 22:49 pbartok
  26751. * ThemeWin32Classic.cs:
  26752. - Added ToolTip drawing code
  26753. 2004-10-17 22:49 pbartok
  26754. * Theme.cs:
  26755. - Added ToolTip abstracts
  26756. 2004-10-17 22:47 pbartok
  26757. * Form.cs:
  26758. - Fixed Form.ControlCollection to handle owner relations
  26759. - Added Owner/OwnedForms handling
  26760. - Implemented Z-Ordering for owned forms
  26761. - Removed unneeded private overload of ShowDialog
  26762. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  26763. so I hope)
  26764. - Fixed Close(), had wrong default
  26765. - Added firing of OnLoad event
  26766. - Added some commented out debug code for Ownership handling
  26767. 2004-10-17 22:16 pbartok
  26768. * Control.cs:
  26769. - Fixed/implemented flat list of controls
  26770. 2004-10-17 22:14 pbartok
  26771. * Application.cs:
  26772. - Added code to simulate modal dialogs on Win32
  26773. 2004-10-17 16:11 jordi
  26774. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  26775. mouse event
  26776. 2004-10-17 13:39 jordi
  26777. * MenuAPI.cs: menu drawing fixes
  26778. 2004-10-15 09:10 ravindra
  26779. * StructFormat.cs: General Enum.
  26780. 2004-10-15 09:09 ravindra
  26781. * SizeGripStyle.cs: Enum for Form.
  26782. 2004-10-15 09:08 ravindra
  26783. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  26784. in Theme for ListView.
  26785. 2004-10-15 09:06 ravindra
  26786. * ColumnHeader.cs: Flushing some formatting changes.
  26787. 2004-10-15 09:05 ravindra
  26788. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  26789. style.
  26790. 2004-10-15 09:03 ravindra
  26791. * ListView.cs: Implemented Paint method and fixed coding style.
  26792. 2004-10-15 07:34 jordi
  26793. * MenuAPI.cs: fix for X11
  26794. 2004-10-15 07:32 ravindra
  26795. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  26796. - Renamed Paint() method to Draw() for clarity. Also, moved
  26797. DrawImage() to OnPaint().
  26798. 2004-10-15 07:25 ravindra
  26799. * CheckBox.cs, RadioButton.cs:
  26800. - Removed Redraw (), we get it from ButtonBase.
  26801. - Implemented Paint (), to do class specific painting.
  26802. 2004-10-15 07:16 ravindra
  26803. * ButtonBase.cs:
  26804. - Redraw () is not virtual now.
  26805. - Added an internal virtual method Paint (), so that
  26806. derived classes can do their painting on their own.
  26807. - Modified OnPaint () to call Paint ().
  26808. 2004-10-15 06:43 jordi
  26809. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  26810. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  26811. 2004-10-15 00:30 ravindra
  26812. * MessageBox.cs:
  26813. - MessageBox on windows does not have min/max buttons.
  26814. This change in CreateParams fixes this on Windows. We
  26815. still need to implement this windowstyle behavior in
  26816. our X11 driver.
  26817. 2004-10-14 05:14 ravindra
  26818. * ToolBar.cs:
  26819. - Changed Redraw () to do a Refresh () always.
  26820. - Fixed the MouseMove event handling when mouse is pressed,
  26821. ie drag event handling.
  26822. - Replaced the usage of ToolBarButton.Pressed property to
  26823. ToolBarButton.pressed internal variable.
  26824. 2004-10-14 05:10 ravindra
  26825. * ToolBarButton.cs:
  26826. - Added an internal member 'inside' to handle mouse move
  26827. with mouse pressed ie mouse drag event.
  26828. - Changed 'Pressed' property to return true only when
  26829. 'inside' and 'pressed' are both true.
  26830. - Some coding style love.
  26831. 2004-10-14 00:17 ravindra
  26832. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  26833. public method.
  26834. 2004-10-14 00:15 ravindra
  26835. * ButtonBase.cs: Redraw () related improvements.
  26836. 2004-10-14 00:14 ravindra
  26837. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  26838. removed unnecessary calls to Button.Show () method.
  26839. 2004-10-13 17:50 pbartok
  26840. * XplatUIX11.cs:
  26841. - Formatting fix
  26842. - Removed destroying of window until we solve the problem of X
  26843. destroying the window before us on shutdown
  26844. 2004-10-13 16:32 pbartok
  26845. * ButtonBase.cs:
  26846. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  26847. 2004-10-13 14:18 pbartok
  26848. * XplatUIX11.cs:
  26849. - Added code to destroy the X window
  26850. 2004-10-13 14:18 pbartok
  26851. * XplatUIWin32.cs:
  26852. - Added code to destroy a window
  26853. 2004-10-13 14:12 pbartok
  26854. * ButtonBase.cs:
  26855. - Added the Redraw on Resize that got dropped in the last rev
  26856. 2004-10-13 09:06 pbartok
  26857. * ThemeWin32Classic.cs:
  26858. - Path from John BouAntoun:
  26859. * Fix check rendering (centre correctly for normal style, offset
  26860. correctly for FlatStyle).
  26861. * Fix border color usage (use backcolor) for FlatStyle.Popup
  26862. * Use checkbox.Capture instead of checkbox.is_pressed when
  26863. rendering flatstyle states.
  26864. 2004-10-12 21:48 pbartok
  26865. * ThemeWin32Classic.cs:
  26866. - Removed all occurences of SystemColors and replaced them with the
  26867. matching theme color
  26868. 2004-10-12 21:41 pbartok
  26869. * ThemeWin32Classic.cs:
  26870. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  26871. him using the function for flatstyle drawing
  26872. - Changed functions to use the new version of CPDrawBorder3D
  26873. 2004-10-12 21:15 pbartok
  26874. * ControlPaint.cs:
  26875. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  26876. match MS documentation. They need to return defined colors if the
  26877. passed color matches the configured control color. Thanks to John
  26878. BouAntoun for pointing this out.
  26879. 2004-10-12 20:57 pbartok
  26880. * Control.cs:
  26881. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  26882. color is changed
  26883. 2004-10-12 20:46 pbartok
  26884. * CheckBox.cs:
  26885. - Fix from John BouAntoun: Now properly sets the Appearance property
  26886. 2004-10-12 20:45 pbartok
  26887. * ThemeWin32Classic.cs:
  26888. - Fixes from John BouAntoun: now handles forecolors and backcolors
  26889. for flatstyle rendered controls much better; It also fixes normal
  26890. checkbox rendering when pushed or disabled.
  26891. 2004-10-08 02:50 jordi
  26892. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  26893. work
  26894. 2004-10-07 08:56 jordi
  26895. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  26896. 2004-10-06 03:59 jordi
  26897. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  26898. XplatUIWin32.cs: removes warnings from compilation
  26899. 2004-10-05 12:23 jackson
  26900. * RadioButton.cs: Fix ctor
  26901. 2004-10-05 11:10 pbartok
  26902. * MessageBox.cs:
  26903. - Partial implementation by Benjamin Dasnois
  26904. 2004-10-05 10:15 jackson
  26905. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  26906. by John BouAntoun
  26907. 2004-10-05 03:07 ravindra
  26908. * ToolBar.cs:
  26909. - Removed a private method, Draw ().
  26910. - Fixed the ButtonDropDown event handling.
  26911. - Fixed MouseMove event handling.
  26912. 2004-10-05 03:04 ravindra
  26913. * ThemeWin32Classic.cs:
  26914. - Added DrawListView method and ListViewDefaultSize property.
  26915. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  26916. - Changed DOS style CRLF to Unix format (dos2unix).
  26917. 2004-10-05 03:03 ravindra
  26918. * Theme.cs:
  26919. - Added DrawListView method and ListViewDefaultSize property.
  26920. 2004-10-05 02:42 ravindra
  26921. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  26922. clicks on DropDown arrow.
  26923. 2004-10-04 22:56 jackson
  26924. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  26925. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  26926. Control handle the buffers, derived classes should not have to
  26927. CreateBuffers themselves.
  26928. 2004-10-04 21:20 jackson
  26929. * StatusBar.cs: The control handles resizing the buffers now.
  26930. 2004-10-04 21:18 jackson
  26931. * Control.cs: When resizing the buffers should be invalidated. This
  26932. should be handled in Control not in derived classes.
  26933. 2004-10-04 14:45 jackson
  26934. * TabPage.cs: oops
  26935. 2004-10-04 02:14 pbartok
  26936. * LeftRightAlignment.cs:
  26937. - Initial check-in
  26938. 2004-10-04 01:09 jordi
  26939. * ThemeWin32Classic.cs: fixes right button position causing right
  26940. button not showing on horizontal scrollbars
  26941. 2004-10-02 13:12 pbartok
  26942. * XplatUIX11.cs:
  26943. - Simplified the Invalidate method by using an X call instead of
  26944. generating the expose ourselves
  26945. - Added an expose when the window background is changed
  26946. - Implemented ClientToScreen method
  26947. 2004-10-02 13:08 pbartok
  26948. * XplatUIWin32.cs:
  26949. - Added Win32EnableWindow method (test for implementing modal
  26950. dialogs)
  26951. - Added ClientToScreen method and imports
  26952. 2004-10-02 13:07 pbartok
  26953. * XplatUI.cs, XplatUIDriver.cs:
  26954. - Added ClientToScreen coordinate translation method
  26955. 2004-10-02 13:06 pbartok
  26956. * KeyPressEventArgs.cs:
  26957. - Fixed access level for constructor
  26958. 2004-10-02 13:06 pbartok
  26959. * NativeWindow.cs:
  26960. - Changed access level for the window_collection hash table
  26961. 2004-10-02 13:05 pbartok
  26962. * Form.cs:
  26963. - Added KeyPreview property
  26964. - Added Menu property (still incomplete, pending Jordi's menu work)
  26965. - Implemented ProcessCmdKey
  26966. - Implemented ProcessDialogKey
  26967. - Implemented ProcessKeyPreview
  26968. 2004-10-02 13:02 pbartok
  26969. * Control.cs:
  26970. - Added private method to get the Control object from the window
  26971. handle
  26972. - Implemented ContextMenu property
  26973. - Implemented PointToScreen
  26974. - Implemented PreProcessMessage
  26975. - Implemented IsInputChar
  26976. - Implemented IsInputKey
  26977. - Implemented ProcessCmdKey
  26978. - Completed ProcessKeyEventArgs
  26979. - Fixed message loop to call the proper chain of functions on key
  26980. events
  26981. - Implemented ProcessDialogChar
  26982. - Implemented ProcessDialogKey
  26983. - Implemented ProcessKeyMessage
  26984. - Implemented ProcessKeyPreview
  26985. - Added RaiseDragEvent stub (MS internal method)
  26986. - Added RaiseKeyEvent stub (MS internal method)
  26987. - Added RaiseMouseEvent stub (MS Internal method)
  26988. - Added RaisePaintEvent stub (MS Internal method)
  26989. - Added ResetMouseEventArgs stub (MS Internal method)
  26990. - Implemented RtlTranslateAlignment
  26991. - Implemented RtlTranslateContent
  26992. - Implemented RtlTranslateHorizontal
  26993. - Implemented RtlTranslateLeftRight
  26994. - Added generation of KeyPress event
  26995. 2004-10-02 05:57 ravindra
  26996. * ListViewItem.cs: Added attributes.
  26997. 2004-10-02 05:32 ravindra
  26998. * ListView.cs: Added attributes.
  26999. 2004-10-01 11:53 jackson
  27000. * Form.cs: Implement the Close method so work on MessageBox can
  27001. continue.
  27002. 2004-09-30 14:06 pbartok
  27003. * XplatUIX11.cs:
  27004. - Bug fixes
  27005. 2004-09-30 11:34 jackson
  27006. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  27007. 2004-09-30 07:26 ravindra
  27008. * ListViewItemConverter.cs: Converter for ListViewItem.
  27009. 2004-09-30 07:26 ravindra
  27010. * SortOrder.cs: Enum for ListView control.
  27011. 2004-09-30 07:25 ravindra
  27012. * ColumnHeader.cs: Supporting class for ListView control.
  27013. 2004-09-30 07:24 ravindra
  27014. * ListView.cs, ListViewItem.cs: Initial implementation.
  27015. 2004-09-30 07:20 ravindra
  27016. * ItemActivation.cs: Enum for ListView Control.
  27017. 2004-09-29 20:29 pbartok
  27018. * XplatUIX11.cs:
  27019. - Added lookup of pixel value for background color; tries to get a
  27020. color 'close' to the requested color, it avoids having to create a
  27021. colormap. Depending on the display this could mean the used color
  27022. is slightly off the desired color. Might have to change it to a more
  27023. resource intensive colormap approach, but it will work as a
  27024. workaround to avoid red screens.
  27025. 2004-09-29 14:27 jackson
  27026. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  27027. 2004-09-28 12:44 pbartok
  27028. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  27029. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  27030. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  27031. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  27032. TrackBar.cs, VScrollBar.cs:
  27033. - Streamlined Theme interfaces:
  27034. * Each DrawXXX method for a control now is passed the object for
  27035. the control to be drawn in order to allow accessing any state the
  27036. theme might require
  27037. * ControlPaint methods for the theme now have a CP prefix to avoid
  27038. name clashes with the Draw methods for controls
  27039. * Every control now retrieves it's DefaultSize from the current
  27040. theme
  27041. 2004-09-28 12:17 jackson
  27042. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  27043. drawing
  27044. 2004-09-24 14:57 jackson
  27045. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  27046. Gives us a nice little performance boost.
  27047. 2004-09-24 12:02 jackson
  27048. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  27049. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  27050. Control and supporting classes. Initial checkin
  27051. 2004-09-23 13:08 jackson
  27052. * Form.cs: Temp build fixage
  27053. 2004-09-23 01:39 ravindra
  27054. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  27055. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  27056. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  27057. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  27058. EventHandlers needed by ListView Control.
  27059. 2004-09-22 14:12 pbartok
  27060. * ScrollableControl.cs:
  27061. - Implemented DockPadding property
  27062. - Implemented AutoScroll property
  27063. - Implemented AutoScrollMargin property
  27064. - Implemented AutoScrollMinSize property
  27065. - Implemented AutoScrollPosition property
  27066. - Implemented DisplayRectangle property (still incomplete)
  27067. - Implemented CreateParams property
  27068. - Implemented HScroll property
  27069. - Implemented VScroll property
  27070. - Implemented OnVisibleChanged property
  27071. 2004-09-22 14:09 pbartok
  27072. * Form.cs:
  27073. - Added Form.ControllCollection class
  27074. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  27075. RemoveOwnedForm (still incomplete, missing on-top and common
  27076. minimize/maximize behaviour)
  27077. - Added StartPosition property (still incomplete, does not use when
  27078. creating the form)
  27079. - Added ShowDialog() methods (still incomplete, missing forcing the
  27080. dialog modal)
  27081. 2004-09-22 14:05 pbartok
  27082. * Application.cs:
  27083. - Added message loop for modal dialogs
  27084. 2004-09-22 14:02 pbartok
  27085. * GroupBox.cs:
  27086. - Fixed wrong types for events
  27087. 2004-09-22 14:00 pbartok
  27088. * Shortcut.cs, FormWindowState.cs:
  27089. - Fixed wrong values
  27090. 2004-09-22 12:01 jackson
  27091. * Control.cs: Text is never null
  27092. 2004-09-20 22:14 pbartok
  27093. * XplatUIWin32.cs:
  27094. - Fixed accessibility level for Idle handler
  27095. 2004-09-20 18:54 jackson
  27096. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27097. XplatUIX11.cs: New message loop that uses poll so we don't get a
  27098. busy loop
  27099. 2004-09-17 10:43 pbartok
  27100. * ScrollBar.cs:
  27101. - Fixed behaviour of arrow buttons. Now properly behaves like
  27102. Buttons (and like Microsoft's scrollbar arrow buttons)
  27103. 2004-09-17 10:14 pbartok
  27104. * ScrollBar.cs:
  27105. - Added missing release of keyboard/mouse capture
  27106. 2004-09-17 06:18 jordi
  27107. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  27108. Theme.cs: Very early menu support
  27109. 2004-09-16 17:45 pbartok
  27110. * XplatUIWin32.cs:
  27111. - Fixed sending a window to the front
  27112. - Added overload for SetWindowPos to avoid casting
  27113. 2004-09-16 17:44 pbartok
  27114. * Control.cs:
  27115. - Added SendToBack and BringToFront methods
  27116. 2004-09-16 07:00 ravindra
  27117. * Copyright: Added Novell URL.
  27118. 2004-09-16 07:00 ravindra
  27119. * ToolBar.cs: Invalidate should be done before redrawing.
  27120. 2004-09-15 21:19 ravindra
  27121. * ColumnHeaderStyle.cs: Enum for ListView Control.
  27122. 2004-09-15 21:18 ravindra
  27123. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  27124. ListView Control.
  27125. 2004-09-13 18:26 jackson
  27126. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  27127. properly
  27128. 2004-09-13 18:13 jackson
  27129. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  27130. a second thread and post messages into the main threads message
  27131. queue. This makes timing much more consistent. Both win2K and XP
  27132. have a minimum timer value of 15 milliseconds, so we now do this
  27133. too.
  27134. 2004-09-13 15:18 pbartok
  27135. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27136. XplatUIX11.cs:
  27137. - Added Z-Ordering methods
  27138. 2004-09-13 10:56 pbartok
  27139. * Form.cs:
  27140. - Fixed #region names
  27141. - Moved properties and methods into their proper #regions
  27142. 2004-09-13 10:51 pbartok
  27143. * Form.cs:
  27144. - Added Accept and CancelButton properties
  27145. - Added ProcessDialogKey() method
  27146. 2004-09-13 08:18 pbartok
  27147. * IWindowTarget.cs:
  27148. - Initial check-in
  27149. 2004-09-10 21:50 pbartok
  27150. * Control.cs:
  27151. - Added DoDragDrop() [incomplete]
  27152. - Properly implemented 'Visible' handling
  27153. - Added SetVisibleCore()
  27154. - Implemented FindChildAtPoint()
  27155. - Implemented GetContainerControl()
  27156. - Implemented Hide()
  27157. 2004-09-10 19:28 pbartok
  27158. * Control.cs:
  27159. - Moved methods into their appropriate #regions
  27160. - Reordered methods within regions alphabetically
  27161. 2004-09-10 18:57 pbartok
  27162. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27163. - Added method to retrieve text from window
  27164. 2004-09-10 18:56 pbartok
  27165. * Control.cs:
  27166. - Moved some internal functions into the internal region
  27167. - Implemented FontHeight
  27168. - Implemented RenderRightToLeft
  27169. - Implemented ResizeRedraw
  27170. - Implemented ShowFocusCues
  27171. - Implemented ShowKeyboardCues
  27172. - Implemented FromChildHandle
  27173. - Implemented FromHandle
  27174. - Implemented IsMnemonic
  27175. - Implemented ReflectMessage
  27176. - All public and protected Static Methods are now complete
  27177. 2004-09-10 16:54 pbartok
  27178. * Control.cs:
  27179. - Implemented remaining missing public instance properties
  27180. - Alphabetized some out of order properties
  27181. 2004-09-10 05:51 ravindra
  27182. * PictureBox.cs: Added a check for null image.
  27183. 2004-09-10 00:59 jordi
  27184. * GroupBox.cs: remove cvs tag
  27185. 2004-09-09 05:25 ravindra
  27186. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  27187. 2004-09-09 05:23 ravindra
  27188. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  27189. parent redraw.
  27190. 2004-09-09 02:28 pbartok
  27191. * ThemeWin32Classic.cs:
  27192. - Improve disabled string look
  27193. 2004-09-09 01:15 jordi
  27194. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  27195. args and handler
  27196. 2004-09-08 23:56 ravindra
  27197. * ItemBoundsPortion.cs: It's enum, not a class!
  27198. 2004-09-08 23:47 ravindra
  27199. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  27200. Enums for Form.
  27201. 2004-09-08 21:13 ravindra
  27202. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  27203. ListView control.
  27204. 2004-09-08 21:03 ravindra
  27205. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  27206. avoid crash.
  27207. 2004-09-08 21:01 ravindra
  27208. * ScrollableControl.cs: Removed unreachable code.
  27209. 2004-09-08 06:45 jordi
  27210. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  27211. 2004-09-08 01:00 jackson
  27212. * XplatUIX11.cs: Only run the timers when updating the message
  27213. queue. This effectively gives X messages a higher priority then
  27214. timer messages. Timers still need love though
  27215. 2004-09-07 14:01 jackson
  27216. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  27217. this for us and the handle is no longer valid.
  27218. 2004-09-07 13:59 jackson
  27219. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  27220. loop that manages to not crash. TODO: Add poll and cleanup timers
  27221. 2004-09-07 11:12 jordi
  27222. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  27223. 2004-09-07 03:40 jordi
  27224. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  27225. fixes, methods, multiple links
  27226. 2004-09-06 06:55 jordi
  27227. * Control.cs: Caches ClientRectangle rectangle value
  27228. 2004-09-05 02:03 jordi
  27229. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  27230. certain situations
  27231. 2004-09-04 11:10 jordi
  27232. * Label.cs: Refresh when font changed
  27233. 2004-09-02 16:24 pbartok
  27234. * Control.cs:
  27235. - Added sanity check to creation of double buffer bitmap
  27236. 2004-09-02 16:24 pbartok
  27237. * ButtonBase.cs:
  27238. - Fixed selection of text color
  27239. - Fixed handling of resize event; now properly recreates double
  27240. buffering bitmap
  27241. - Added missing assignment of TextAlignment
  27242. - Added proper default for TextAlignment
  27243. 2004-09-02 14:26 pbartok
  27244. * RadioButton.cs:
  27245. - Added missing RadioButton.RadioButtonAccessibleObject class
  27246. 2004-09-02 14:26 pbartok
  27247. * Control.cs:
  27248. - Added missing Control.ControlAccessibleObject class
  27249. - Started to implement Select()ion mechanisms, still very incomplete
  27250. 2004-09-02 14:25 pbartok
  27251. * AccessibleObject.cs:
  27252. - Added missing methods
  27253. 2004-09-02 14:23 pbartok
  27254. * AccessibleNavigation.cs, AccessibleSelection.cs:
  27255. - Initial check-in
  27256. 2004-09-02 10:32 jordi
  27257. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  27258. pool for pens, brushes, and hatchbruses
  27259. 2004-09-01 15:30 jackson
  27260. * StatusBar.cs: Fix typo
  27261. 2004-09-01 14:44 pbartok
  27262. * RadioButton.cs:
  27263. - Fixed state
  27264. 2004-09-01 14:39 pbartok
  27265. * Button.cs, RadioButton.cs:
  27266. - Functional initial check-in
  27267. 2004-09-01 14:01 pbartok
  27268. * CheckBox.cs:
  27269. - Added missing default
  27270. - Added missing region mark
  27271. 2004-09-01 09:10 jordi
  27272. * Label.cs: fixes method signatures, new methods, events, fixes
  27273. autosize
  27274. 2004-09-01 07:19 jordi
  27275. * Control.cs: Init string variables with an empty object
  27276. 2004-09-01 04:20 jordi
  27277. * Control.cs: fires OnFontChanged event
  27278. 2004-08-31 20:07 pbartok
  27279. * ButtonBase.cs:
  27280. - Enabled display of strings
  27281. 2004-08-31 20:05 pbartok
  27282. * Form.cs:
  27283. - Added (partial) implementation of DialogResult; rest needs to be
  27284. implemented when the modal loop code is done
  27285. 2004-08-31 19:55 pbartok
  27286. * CheckBox.cs:
  27287. - Fixed to match the removal of the needs_redraw concept
  27288. 2004-08-31 19:55 pbartok
  27289. * ButtonBase.cs:
  27290. - Removed the rather odd split between 'needs redraw' and redrawing
  27291. - Now handles the events that require regeneration (ambient
  27292. properties and size)
  27293. 2004-08-31 19:41 pbartok
  27294. * Control.cs:
  27295. - Added firing of BackColorChanged event
  27296. - Added TopLevelControl property
  27297. - Fixed handling of WM_ERASEBKGRND message
  27298. 2004-08-31 12:49 pbartok
  27299. * ButtonBase.cs:
  27300. - Removed debug
  27301. - Minor fixes
  27302. 2004-08-31 12:48 pbartok
  27303. * CheckBox.cs:
  27304. - Finished (famous last words)
  27305. 2004-08-31 04:35 jordi
  27306. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  27307. scrolling bugs, adds new methods
  27308. 2004-08-30 14:42 pbartok
  27309. * CheckBox.cs:
  27310. - Implemented CheckBox drawing code
  27311. 2004-08-30 14:42 pbartok
  27312. * ButtonBase.cs:
  27313. - Made Redraw() and CheckRedraw() virtual
  27314. - Improved mouse up/down/move logic to properly track buttons
  27315. 2004-08-30 09:44 pbartok
  27316. * CheckBox.cs:
  27317. - Updated to fix broken build. Not complete yet.
  27318. 2004-08-30 09:28 pbartok
  27319. * CheckState.cs:
  27320. - Initial checkin
  27321. 2004-08-30 09:17 pbartok
  27322. * Appearance.cs:
  27323. - Initial check-in
  27324. 2004-08-27 16:12 ravindra
  27325. * ToolBarButton.cs: Added TypeConverter attribute.
  27326. 2004-08-27 16:07 ravindra
  27327. * ImageIndexConverter.cs: Implemented.
  27328. 2004-08-27 14:17 pbartok
  27329. * Control.cs:
  27330. - Removed unneeded stack vars
  27331. - First attempt to fix sizing issues when layout is suspended
  27332. 2004-08-25 15:35 jordi
  27333. * ScrollBar.cs: more fixes to scrollbar
  27334. 2004-08-25 14:04 ravindra
  27335. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  27336. Added the missing divider code and grip for ToolBar Control.
  27337. 2004-08-25 13:20 pbartok
  27338. * Control.cs:
  27339. - Control now properly passes the ambient background color to child
  27340. controls
  27341. 2004-08-25 13:20 jordi
  27342. * ScrollBar.cs: small bug fix regarding bar position
  27343. 2004-08-25 12:33 pbartok
  27344. * Timer.cs:
  27345. - Now only calls SetTimer or KillTimer if the enabled state has
  27346. changed
  27347. 2004-08-25 12:33 pbartok
  27348. * XplatUIWin32.cs:
  27349. - Fixed timer handling, now seems to work
  27350. - Improved error message for window creation
  27351. 2004-08-25 12:32 pbartok
  27352. * Control.cs:
  27353. - Fixed generation of MouseUp message
  27354. 2004-08-25 12:29 jordi
  27355. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  27356. and fixes for progressbar
  27357. 2004-08-24 18:43 ravindra
  27358. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  27359. in ToolBar control.
  27360. 2004-08-24 17:15 pbartok
  27361. * Panel.cs:
  27362. - Added #region
  27363. - Added missing events
  27364. - Alphabetized
  27365. 2004-08-24 17:14 pbartok
  27366. * StatusBar.cs, PictureBox.cs:
  27367. - Now uses Control's CreateParams
  27368. 2004-08-24 16:36 pbartok
  27369. * XplatUIX11.cs:
  27370. - Fixed background color handling
  27371. - Fixed sending of enter/leave events on a grab
  27372. 2004-08-24 16:35 pbartok
  27373. * X11Structs.cs:
  27374. - Refined definitions for CrossingEvent
  27375. 2004-08-24 12:37 jordi
  27376. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  27377. formmating, methods signature, and adds missing events
  27378. 2004-08-24 12:24 jordi
  27379. * Control.cs: fire OnEnabledChanged event
  27380. 2004-08-24 11:17 pbartok
  27381. * XplatUIWin32.cs:
  27382. - Implemented SetTimer() and KillTimer()
  27383. 2004-08-24 11:16 pbartok
  27384. * XplatUIX11.cs:
  27385. - Now uses Remove instead of Add to kill the timer
  27386. 2004-08-24 10:16 jackson
  27387. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  27388. picture boxes in the theme now. Draw picture box borders and obey
  27389. sizing modes
  27390. 2004-08-24 05:49 jackson
  27391. * Timer.cs: Remove top secret debugging code
  27392. 2004-08-24 05:34 jackson
  27393. * PictureBox.cs: Temp hack to make picture boxes draw their full
  27394. image
  27395. 2004-08-24 05:29 jackson
  27396. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27397. XplatUIX11.cs: Move timers to the driver level. On X they are
  27398. queued by the driver and checked on idle.
  27399. 2004-08-24 01:07 jackson
  27400. * XplatUIX11.cs: Use a queue for async messages instead of passing
  27401. them as ClientMessages since that was totally broken. Also simply
  27402. check for events and return an idle message if none are found. This
  27403. gives us an idle handler, and prevents deadlocking when no messages
  27404. are in the queue.
  27405. 2004-08-23 18:19 ravindra
  27406. * XplatUIWin32.cs: Removed the unwanted destructor.
  27407. 2004-08-23 17:27 pbartok
  27408. * ButtonBase.cs:
  27409. - Finishing touches. Works now, just needs some optimizations.
  27410. 2004-08-23 16:53 jordi
  27411. * ScrollBar.cs: small fix
  27412. 2004-08-23 16:45 pbartok
  27413. * Application.cs:
  27414. - Removed debug output
  27415. - Simplifications
  27416. 2004-08-23 16:43 jordi
  27417. * ScrollBar.cs: [no log message]
  27418. 2004-08-23 16:10 pbartok
  27419. * Form.cs:
  27420. - Fixed handling of WM_CLOSE message
  27421. - Removed debug output
  27422. 2004-08-23 16:09 pbartok
  27423. * Application.cs:
  27424. - Added handling of Idle event
  27425. - Added handling of form closing
  27426. - Fixed reporting of MessageLoop property
  27427. - Removed some unneeded code, should provide a bit of a speedup
  27428. 2004-08-23 15:22 pbartok
  27429. * Control.cs:
  27430. - Added InitLayout() method
  27431. - Added code to properly perform layout when Anchor or Dock property
  27432. is changed
  27433. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  27434. LAMESPEC, tried to do it in a way that makes sense
  27435. 2004-08-23 14:10 jordi
  27436. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  27437. properties and methods
  27438. 2004-08-23 13:55 pbartok
  27439. * Control.cs:
  27440. - Properly fixed Jordi's last fix
  27441. - Now uses Cursor's Position property instead of calling XplatUI
  27442. directly
  27443. 2004-08-23 13:44 jordi
  27444. * PaintEventHandler.cs: Adding missing attribute
  27445. 2004-08-23 13:39 pbartok
  27446. * Cursor.cs:
  27447. - Implemented Position property
  27448. 2004-08-23 13:39 pbartok
  27449. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27450. - Added method to move mouse cursor
  27451. 2004-08-23 13:39 pbartok
  27452. * XplatUIX11.cs:
  27453. - Fixed setting of background color
  27454. - Added method to move mouse cursor
  27455. 2004-08-23 13:16 jordi
  27456. * Control.cs: avoids null exception
  27457. 2004-08-22 17:46 jackson
  27458. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  27459. PictureBox
  27460. 2004-08-22 17:40 jackson
  27461. * XplatUIX11.cs: Add some missing locks
  27462. 2004-08-22 15:10 pbartok
  27463. * Control.cs, Form.cs:
  27464. - Removed OverlappedWindow style from Control, instead it's default
  27465. now is child
  27466. - Made form windows OverlappedWindow by default
  27467. 2004-08-22 13:34 jackson
  27468. * ScrollBar.cs: Update the position through the Value property so
  27469. the OnValueChanged event is raised.
  27470. 2004-08-22 12:04 pbartok
  27471. * SWF.csproj:
  27472. - Added Cursor.cs and UserControl.cs
  27473. 2004-08-22 12:03 pbartok
  27474. * Cursor.cs:
  27475. - Started implementation, not usable yet
  27476. 2004-08-22 12:00 pbartok
  27477. * UserControl.cs:
  27478. - Implemented UserControl (complete)
  27479. 2004-08-21 19:20 ravindra
  27480. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  27481. 2004-08-21 18:49 ravindra
  27482. * ToolBar.cs: Probably this completes the missing attributes in
  27483. toolbar control.
  27484. 2004-08-21 18:03 ravindra
  27485. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  27486. Fixed toolbar control signatures.
  27487. 2004-08-21 16:32 pbartok
  27488. * LinkLabel.cs:
  27489. - Signature Fixes
  27490. 2004-08-21 16:30 pbartok
  27491. * Label.cs:
  27492. - Signature fixes
  27493. 2004-08-21 16:19 pbartok
  27494. * Control.cs, Label.cs:
  27495. - Signature fixes
  27496. 2004-08-21 15:57 pbartok
  27497. * ButtonBase.cs:
  27498. - Added loads of debug output for development
  27499. - Fixed typo in method name
  27500. 2004-08-21 15:52 pbartok
  27501. * ToolBarButtonClickEventArgs.cs:
  27502. - Added missing base class
  27503. 2004-08-21 14:53 pbartok
  27504. * Control.cs:
  27505. - Updated to match new GrabWindow signature
  27506. 2004-08-21 14:51 pbartok
  27507. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27508. - Added method to get default display size
  27509. 2004-08-21 14:23 pbartok
  27510. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27511. - Added method to query current grab state
  27512. - Added argument to allow confining a grab to a window
  27513. 2004-08-21 14:22 pbartok
  27514. * Keys.cs:
  27515. - Added [Flags] attribute so that modifiers can be used in bitwise
  27516. ops
  27517. 2004-08-21 14:21 pbartok
  27518. * TrackBar.cs, ScrollBar.cs:
  27519. - Replaced direct XplatUI calls with their Control counterpart
  27520. 2004-08-21 13:32 pbartok
  27521. * Control.cs:
  27522. - Implemented Created property
  27523. 2004-08-21 13:28 pbartok
  27524. * Control.cs:
  27525. - Implemented ContainsFocus
  27526. 2004-08-21 13:26 pbartok
  27527. * Control.cs:
  27528. - Implemented CausesValidation
  27529. 2004-08-21 13:21 pbartok
  27530. * Control.cs:
  27531. - Implemented CanFocus
  27532. - Implemented CanSelect
  27533. - Implemented Capture
  27534. 2004-08-21 12:35 pbartok
  27535. * XplatUIWin32.cs:
  27536. - Fixed bug with Async message handling
  27537. - Implemented getting the ModifierKeys
  27538. 2004-08-21 12:32 jackson
  27539. * AsyncMethodResult.cs: Make sure we have the mutex before we
  27540. release it. Fixes BeginInvoke on windows
  27541. 2004-08-21 11:31 pbartok
  27542. * XplatUIWin32.cs, XplatUIX11.cs:
  27543. - Drivers now return proper mouse state
  27544. 2004-08-21 10:54 jackson
  27545. * Control.cs: Implement EndInvoke
  27546. 2004-08-21 10:48 jackson
  27547. * Timer.cs: Remove unneeded finalizer
  27548. 2004-08-20 19:52 ravindra
  27549. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  27550. in mouse event handling in the ToolBar control.
  27551. 2004-08-20 19:50 ravindra
  27552. * ImageList.cs: Changed draw method to use the arguments passed in
  27553. to draw the image.
  27554. 2004-08-20 18:58 pbartok
  27555. * XplatUIStructs.cs:
  27556. - Added private message for async communication
  27557. 2004-08-20 17:38 ravindra
  27558. * Control.cs: Made RightToLeft property virtual and removed a
  27559. Console.WriteLine.
  27560. 2004-08-20 14:39 jordi
  27561. * ThemeGtk.cs: use style_attach
  27562. 2004-08-20 14:39 pbartok
  27563. * XplatUIWin32.cs:
  27564. - Added jackson's Async code from X11 to Win32
  27565. 2004-08-20 14:09 pbartok
  27566. * SWF.csproj:
  27567. - Added all new files
  27568. 2004-08-20 14:09 pbartok
  27569. * Control.cs:
  27570. - Added call to set window background color
  27571. 2004-08-20 14:03 pbartok
  27572. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  27573. - Added method for setting the window background
  27574. 2004-08-20 14:02 pbartok
  27575. * XplatUIWin32.cs:
  27576. - Added method for setting the background color
  27577. - Added handling for erasing the window background
  27578. 2004-08-20 13:45 jordi
  27579. * TrackBar.cs: fixes timer, new properties and methods
  27580. 2004-08-20 13:34 jackson
  27581. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  27582. correct thread
  27583. 2004-08-20 13:22 jackson
  27584. * Timer.cs: Timer Tick events are now handed through Controls Async
  27585. mechanism so the callbacks are executed in the same thread as X
  27586. 2004-08-20 13:19 jackson
  27587. * XplatUIDriver.cs: Expose functionality to send async messages
  27588. through the driver
  27589. 2004-08-20 13:18 jackson
  27590. * Control.cs: Implement Begininvoke
  27591. 2004-08-20 13:14 jackson
  27592. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  27593. messages through the driver
  27594. 2004-08-20 13:12 jackson
  27595. * XplatUIX11.cs: Lock before all X operations. Also added Async
  27596. method functionality through XSendEvent
  27597. 2004-08-20 13:11 jackson
  27598. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  27599. This will screw up on 64 bit systems)
  27600. 2004-08-20 13:10 jackson
  27601. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  27602. Async messages through X/Win32
  27603. 2004-08-19 19:39 pbartok
  27604. * XplatUIX11.cs:
  27605. - Updated code to match new HandleData.DeviceContext type
  27606. 2004-08-19 19:38 pbartok
  27607. * HandleData.cs:
  27608. - Made DeviceContext a generic object to allow usage from various
  27609. drivers
  27610. - Added support for queueing Windows messages
  27611. 2004-08-19 19:37 pbartok
  27612. * XplatUIWin32.cs:
  27613. - Added generation of MouseEnter, MouseLeave and MouseHover events
  27614. - Added cleanup on EndPaint
  27615. 2004-08-19 19:17 pbartok
  27616. * Control.cs:
  27617. - Added handling of WM_MOUSEHOVER
  27618. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  27619. code
  27620. 2004-08-19 18:55 jordi
  27621. * ThemeGtk.cs: fixes button order
  27622. 2004-08-19 18:12 jordi
  27623. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  27624. 2004-08-19 17:09 pbartok
  27625. * Control.cs:
  27626. - Added Right property
  27627. - Added RightToLeft property
  27628. 2004-08-19 16:27 jordi
  27629. * ThemeGtk.cs: experimental GTK theme support
  27630. 2004-08-19 16:26 jordi
  27631. * ITheme.cs, Theme.cs: move themes from an interface to a class
  27632. 2004-08-19 16:25 jordi
  27633. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  27634. theme enhancaments
  27635. 2004-08-19 16:04 pbartok
  27636. * XplatUIX11.cs:
  27637. - Added colormap basics
  27638. - Added a way to re-initialize with a different display handle
  27639. - Fixed setting of the window background color
  27640. - Added various X11 imports related to colors and colormaps
  27641. 2004-08-19 15:51 pbartok
  27642. * X11Structs.cs:
  27643. - Removed packing hints (Paolo suggested this a while back)
  27644. - fixed colormap type
  27645. - Added default Atom types
  27646. - Added Screen and color structs and enums
  27647. 2004-08-19 15:39 pbartok
  27648. * ImageList.cs:
  27649. - Added missing Draw() method
  27650. - Added missing RecreateHandle event
  27651. 2004-08-19 15:30 pbartok
  27652. * Form.cs:
  27653. - Added handling of WM_CLOSE
  27654. 2004-08-18 13:16 jordi
  27655. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  27656. a table
  27657. 2004-08-18 09:56 jordi
  27658. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  27659. 2004-08-17 15:31 ravindra
  27660. * SWF.csproj: Updated project.
  27661. 2004-08-17 15:25 pbartok
  27662. * Control.cs:
  27663. - Drawing improvement; don't call UpdateBounds if we are not visible
  27664. (or have been minimized)
  27665. 2004-08-17 15:24 pbartok
  27666. * XplatUIWin32.cs:
  27667. - Finished IsVisible
  27668. - Added Win32GetWindowPlacement
  27669. 2004-08-17 15:08 jackson
  27670. * Panel.cs: Initial checkin of the Panel
  27671. 2004-08-17 14:25 pbartok
  27672. * Control.cs:
  27673. - Fixed broken handling of default window sizes
  27674. 2004-08-17 13:29 jackson
  27675. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  27676. has a large startup time.
  27677. 2004-08-17 10:25 jackson
  27678. * HandleData.cs: union areas properly
  27679. 2004-08-17 10:12 jackson
  27680. * HandleData.cs: union areas properly
  27681. 2004-08-16 20:00 ravindra
  27682. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  27683. 2004-08-16 18:48 ravindra
  27684. * ToolBar.cs: Added attributes.
  27685. 2004-08-16 17:17 ravindra
  27686. * SWF.csproj: Updated project.
  27687. 2004-08-16 17:16 jackson
  27688. * XplatUIX11.cs: Check for more expose events before sending a
  27689. WM_PAINT so they can all be grouped together. This makes dragging a
  27690. window across another window redraw in a sane way.
  27691. 2004-08-16 15:47 pbartok
  27692. * Control.cs:
  27693. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  27694. support OnMouseEnter/Leave()
  27695. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  27696. exposure handling
  27697. 2004-08-16 15:46 pbartok
  27698. * XplatUIStructs.cs, XplatUIX11.cs:
  27699. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  27700. OnMouseEnter/Leave()
  27701. 2004-08-16 15:34 jackson
  27702. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  27703. sure messages get the message field set to WM_NULL if they are not
  27704. handled.
  27705. 2004-08-16 15:24 jackson
  27706. * HandleData.cs: HandleData is used for storing message information
  27707. for window handles
  27708. 2004-08-15 17:23 ravindra
  27709. * ColorDepth.cs: Added attribute.
  27710. 2004-08-15 17:23 ravindra
  27711. * SWF.csproj: Updated project for ToolBar Control.
  27712. 2004-08-15 17:20 ravindra
  27713. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  27714. control and also dos2unix format.
  27715. 2004-08-15 17:13 ravindra
  27716. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  27717. ToolBarButtonClickEventArgs.cs,
  27718. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  27719. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  27720. 2004-08-15 15:31 pbartok
  27721. * ButtonBase.cs:
  27722. - First (mostly) working version
  27723. 2004-08-13 16:15 pbartok
  27724. * Control.cs:
  27725. - Fixed Anchor default
  27726. 2004-08-13 15:43 pbartok
  27727. * Control.cs:
  27728. - Changed GetCursorPos signature
  27729. 2004-08-13 15:42 pbartok
  27730. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27731. - Changed signature for GetCursorPos
  27732. 2004-08-13 15:25 pbartok
  27733. * XplatUIX11.cs:
  27734. - Cleanup
  27735. - Fixed resizing/exposure handling
  27736. 2004-08-13 15:22 jordi
  27737. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  27738. with tickposition
  27739. 2004-08-13 14:55 jordi
  27740. * TrackBar.cs: change from wndproc to events
  27741. 2004-08-13 13:00 jordi
  27742. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27743. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  27744. 2004-08-13 12:53 pbartok
  27745. * XplatUIWin32.cs:
  27746. - Changed GetWindowPos to also provide client area size
  27747. - Fixed broken prototypes for several win32 functions
  27748. 2004-08-13 12:53 pbartok
  27749. * XplatUI.cs, XplatUIDriver.cs:
  27750. - Changed GetWindowPos to also provide client area size
  27751. 2004-08-13 12:52 pbartok
  27752. * XplatUIX11.cs:
  27753. - Added generation of WM_POSCHANGED
  27754. - Changed GetWindowPos to also provide client area size
  27755. 2004-08-13 12:52 pbartok
  27756. * Control.cs:
  27757. - Added Dispose() and destructor
  27758. - Fixed resizing and bounds calculation
  27759. - Fixed Layout
  27760. - Added memory savings for invisible windows
  27761. 2004-08-13 12:46 jordi
  27762. * TrackBar.cs: adds timer and grap window
  27763. 2004-08-13 10:25 jackson
  27764. * Timer.cs: SWF Timer
  27765. 2004-08-12 16:59 pbartok
  27766. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27767. - Implemented method to get current mouse position
  27768. 2004-08-12 14:29 jordi
  27769. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  27770. enhancement, fix mouse problems, highli thumb, etc
  27771. 2004-08-12 13:31 pbartok
  27772. * Control.cs:
  27773. - Fixed Anchoring bugs
  27774. 2004-08-12 13:01 jackson
  27775. * StatusBar.cs: Don't forget things
  27776. 2004-08-12 12:54 jackson
  27777. * ThemeWin32Classic.cs: Handle owner draw status bars
  27778. 2004-08-12 12:54 jackson
  27779. * StatusBar.cs: Implement missing properties, events, and methods.
  27780. Handle mouse clicking
  27781. 2004-08-12 10:19 jackson
  27782. * StatusBarPanelClickEventArgs.cs,
  27783. StatusBarPanelClickEventHandler.cs: Classes for handling status
  27784. bar panel click events
  27785. 2004-08-12 10:10 jackson
  27786. * Control.cs: Add missing properties
  27787. 2004-08-12 09:46 pbartok
  27788. * BindingsManagerBase.cs:
  27789. - Name changed to BindingManagerBase.cs
  27790. 2004-08-12 09:25 jordi
  27791. * ScrollableControl.cs: calls ctrlbase instead of exeception
  27792. 2004-08-11 16:28 pbartok
  27793. * InputLanguageChangingEventArgs.cs:
  27794. - Never check in before compiling. Fixes the last check-in
  27795. 2004-08-11 16:26 pbartok
  27796. * InputLanguageChangingEventArgs.cs:
  27797. - More signature fixes
  27798. 2004-08-11 16:20 pbartok
  27799. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  27800. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  27801. ImageListStreamer.cs, InputLanguage.cs,
  27802. InputLanguageChangedEventArgs.cs,
  27803. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  27804. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  27805. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  27806. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27807. - Signature fixes
  27808. 2004-08-11 16:16 pbartok
  27809. * Application.cs:
  27810. - Fixed Signature
  27811. - Added .Net 1.1 method
  27812. 2004-08-11 15:25 pbartok
  27813. * SWF.csproj:
  27814. - Fixed BindingManagerBase.cs filename
  27815. 2004-08-11 15:22 pbartok
  27816. * BindingManagerBase.cs:
  27817. - Was checked in with wrong filename
  27818. 2004-08-11 14:50 pbartok
  27819. * SWF.csproj:
  27820. - Updated
  27821. 2004-08-11 13:41 jordi
  27822. * XplatUIWin32.cs: Fixes ClientRect
  27823. 2004-08-11 13:19 pbartok
  27824. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27825. XplatUIX11.cs:
  27826. - We had SetWindowPos and MoveWindow to set window positions and
  27827. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  27828. keep SetWindowPos as matching counterpart
  27829. - Added some X11 sanity checking
  27830. 2004-08-11 12:59 pbartok
  27831. * Control.cs:
  27832. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  27833. (It seems that SetBounds is just a front for SetBoundsCore and
  27834. SetBoundsCore updates the underlying window system and
  27835. UpdateBounds is responsible for updating the variables associated
  27836. with the Control and sending the events)
  27837. - Major cleanup of Size handling; we now have two sizes, client_size
  27838. and bounds. Bounds defines the window with decorations, client_size
  27839. without them.
  27840. 2004-08-11 12:55 pbartok
  27841. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27842. - Added method to calculate difference between decorated window and
  27843. raw client area
  27844. 2004-08-11 12:54 pbartok
  27845. * Label.cs:
  27846. - Forcing redraw on resize
  27847. 2004-08-11 11:43 pbartok
  27848. * ImageList.cs:
  27849. - Removed disposing of the actual images when the list is disposed
  27850. 2004-08-11 09:13 pbartok
  27851. * Control.cs:
  27852. - Now properly reparents windows
  27853. 2004-08-11 08:37 pbartok
  27854. * Control.cs:
  27855. - Duh!
  27856. 2004-08-11 07:47 pbartok
  27857. * Control.cs:
  27858. - Rewrote the collection stuff. Might not be as fast now, not
  27859. keeping the number of children around and accessible directly, but
  27860. it's more straightforward
  27861. 2004-08-11 07:44 pbartok
  27862. * AccessibleObject.cs:
  27863. - Fixed to match ControlCollection rewrite
  27864. 2004-08-11 07:43 pbartok
  27865. * ImageList.cs:
  27866. - Added missing creation of the collection list
  27867. 2004-08-10 20:08 jackson
  27868. * StatusBar.cs: Get the paint message from WndProc
  27869. 2004-08-10 19:31 jackson
  27870. * ThemeWin32Classic.cs: Create Brushes as little as possible
  27871. 2004-08-10 19:20 jackson
  27872. * UICues.cs: Add Flags attribute
  27873. 2004-08-10 19:19 jackson
  27874. * StatusBarPanel.cs: Signature cleanup
  27875. 2004-08-10 19:10 jackson
  27876. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  27877. Initial implementation of status bar item drawing
  27878. 2004-08-10 17:27 jordi
  27879. * TrackBar.cs: add missing methods, properties, and restructure to
  27880. hide extra ones
  27881. 2004-08-10 16:24 jackson
  27882. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  27883. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  27884. attribute
  27885. 2004-08-10 13:21 jordi
  27886. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  27887. enhancements and standarize on win colors defaults
  27888. 2004-08-10 12:52 jackson
  27889. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  27890. ThemeWin32Classic.cs: Implement DrawItem functionality
  27891. 2004-08-10 12:47 jordi
  27892. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  27893. 2004-08-10 12:32 jordi
  27894. * Control.cs: throw ontextchange event
  27895. 2004-08-10 11:43 pbartok
  27896. * Control.cs:
  27897. - Added more to the still unfinished Dock/Anchor layout code
  27898. 2004-08-10 11:39 pbartok
  27899. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  27900. - Added GetWindowPos method
  27901. 2004-08-10 11:36 pbartok
  27902. * XplatUIWin32.cs:
  27903. - Implemented several methods
  27904. 2004-08-10 09:47 jackson
  27905. * TrackBar.cs: Allow control to handle buffering
  27906. 2004-08-10 09:41 jackson
  27907. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  27908. 2004-08-10 09:24 jackson
  27909. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  27910. 2004-08-10 09:09 jackson
  27911. * StatusBar.cs: Let Control handle all the buffering.
  27912. 2004-08-10 09:08 jackson
  27913. * Control.cs: Control will now handle the buffering code, so each
  27914. control does not have to implement this.
  27915. 2004-08-10 08:34 jackson
  27916. * XplatUIDriver.cs: Use default colors from the theme
  27917. 2004-08-09 17:12 pbartok
  27918. * ImageList.cs:
  27919. - Fixed several bugs Ravindra pointed out
  27920. 2004-08-09 16:11 pbartok
  27921. * Control.cs:
  27922. - Added incomplete dock layout code
  27923. - Added support for mouse wheel
  27924. 2004-08-09 16:09 pbartok
  27925. * XplatUIX11.cs:
  27926. - Added handling for middle and right mousebutton
  27927. - Added handling for mouse wheel
  27928. - Added handling for key state and mouse state and position
  27929. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  27930. messages
  27931. 2004-08-09 15:40 jackson
  27932. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  27933. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  27934. checkin
  27935. 2004-08-09 15:37 jackson
  27936. * StatusBar.cs: Initial implementation of StatusBar
  27937. 2004-08-09 15:36 jackson
  27938. * ITheme.cs: Add support for drawing status bar and getting status
  27939. bar item sizes
  27940. 2004-08-09 15:35 pbartok
  27941. * MouseButtons.cs:
  27942. - Fixed values
  27943. 2004-08-09 15:34 jackson
  27944. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  27945. status bar item sizes
  27946. 2004-08-09 15:21 jackson
  27947. * ThemeWin32Classic.cs: Use known colors for default control
  27948. colours
  27949. 2004-08-09 15:12 jackson
  27950. * ThemeWin32Classic.cs: Make the default font static, it is static
  27951. in control so this doesn't change functionality and creating fonts
  27952. is sloooooow.
  27953. 2004-08-09 14:56 pbartok
  27954. * X11Structs.cs:
  27955. - Added GrabMode enum
  27956. 2004-08-09 14:55 pbartok
  27957. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27958. - Removed Run method, was only required for initial development
  27959. 2004-08-09 14:51 pbartok
  27960. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27961. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  27962. capture
  27963. 2004-08-09 13:48 pbartok
  27964. * XplatUIX11.cs:
  27965. - Fixed default sizing for child windows
  27966. 2004-08-09 12:56 pbartok
  27967. * XplatUIX11.cs:
  27968. - Added generation of WM_DESTROY message
  27969. - Added handling of window manager induced shutdown
  27970. 2004-08-09 11:31 jackson
  27971. * ThemeWin32Classic.cs: New names for control properties
  27972. 2004-08-09 11:25 jackson
  27973. * Control.cs: Use new color names
  27974. 2004-08-09 11:02 jackson
  27975. * XplatUI.cs: Get default window properties from the theme
  27976. 2004-08-09 11:01 jackson
  27977. * ITheme.cs: The theme engine now controls default window
  27978. properties
  27979. 2004-08-09 11:00 jackson
  27980. * ThemeWin32Classic.cs: Add default window color properties
  27981. 2004-08-09 10:17 jackson
  27982. * ThemeWin32Classic.cs: Use correct default back color
  27983. 2004-08-09 10:05 jackson
  27984. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  27985. the theme now.
  27986. 2004-08-09 09:56 jackson
  27987. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  27988. 2004-08-09 09:54 jackson
  27989. * Control.cs: Get default properties from the theme.
  27990. 2004-08-09 09:53 jackson
  27991. * ITheme.cs: Themes now handle default control properties
  27992. 2004-08-09 09:53 jackson
  27993. * ThemeWin32Classic.cs: Themes now handle default control
  27994. properties so coloring will be consistent
  27995. 2004-08-08 16:54 jordi
  27996. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  27997. 2004-08-08 15:08 jordi
  27998. * XplatUIX11.cs: fixes keyboard crash
  27999. 2004-08-08 13:47 jordi
  28000. * Label.cs: add cvs header info
  28001. 2004-08-08 12:09 jackson
  28002. * ThemeWin32Classic.cs: Add pen_buttonface
  28003. 2004-08-08 11:52 jordi
  28004. * Label.cs, LinkLabel.cs: [no log message]
  28005. 2004-08-08 11:34 jordi
  28006. * ThemeWin32Classic.cs: Use Windows Standard Colours
  28007. 2004-08-07 17:32 jordi
  28008. * TrackBar.cs: throw exceptions of invalid enums values
  28009. 2004-08-07 17:31 jordi
  28010. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  28011. draw method name
  28012. 2004-08-07 16:56 jackson
  28013. * HorizontalAlignment.cs: Initial checkin
  28014. 2004-08-07 13:16 jordi
  28015. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  28016. methods
  28017. 2004-08-07 13:05 jordi
  28018. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  28019. GetSysColor defines
  28020. 2004-08-06 18:01 pbartok
  28021. * ThemeWin32Classic.cs:
  28022. - Fixed some rounding issues with float/int
  28023. 2004-08-06 18:00 jackson
  28024. * DockStyle.cs, AnchorStyles.cs:
  28025. Add flags and serializable attributes.
  28026. 2004-08-06 17:46 pbartok
  28027. * XplatUIX11.cs:
  28028. - Implemented GetParent
  28029. 2004-08-06 17:18 pbartok
  28030. * TrackBar.cs:
  28031. - Fixed some rounding issues with float/int
  28032. 2004-08-06 17:17 pbartok
  28033. * X11Structs.cs, XplatUIX11.cs:
  28034. - Fixed Refresh and Invalidate
  28035. 2004-08-06 15:30 pbartok
  28036. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  28037. - Fixed recursive loop when resizing
  28038. - Improved/fixed redrawing on expose messages
  28039. 2004-08-06 09:53 jordi
  28040. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  28041. keyboard navigation
  28042. 2004-08-06 08:02 pbartok
  28043. * X11Structs.cs, XplatUIX11.cs:
  28044. - Fixed reparenting
  28045. - Fixed window border creation
  28046. 2004-08-05 15:38 pbartok
  28047. * XplatUIX11.cs:
  28048. - Attempted fix for reparenting problems
  28049. 2004-08-04 15:14 pbartok
  28050. * Control.cs:
  28051. - Fixed Invalidation bug (calculated wrong client area)
  28052. - Added ClientSize setter
  28053. 2004-08-04 15:13 pbartok
  28054. * Form.cs:
  28055. - Added AutoScale properties
  28056. 2004-08-04 15:13 pbartok
  28057. * SWF.csproj:
  28058. - Added latest files
  28059. 2004-08-04 14:11 pbartok
  28060. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  28061. XplatUIX11.cs:
  28062. - Added Invalidate handling
  28063. 2004-08-03 17:09 jordi
  28064. * XplatUIDriver.cs: fixes spelling mistake
  28065. 2004-07-27 09:53 jordi
  28066. * TrackBar.cs: fixes trackbar events, def classname, methods
  28067. signature
  28068. 2004-07-27 09:29 jordi
  28069. * ScrollBar.cs: fixes scrollbar events
  28070. 2004-07-27 04:38 jordi
  28071. * Control.cs: changes to be able to run winforms samples
  28072. 2004-07-26 11:42 jordi
  28073. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  28074. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  28075. 2004-07-26 05:41 jordi
  28076. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  28077. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  28078. implementation
  28079. 2004-07-22 09:22 jordi
  28080. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  28081. check link overlapping, implement events, and fixes
  28082. 2004-07-21 10:28 jordi
  28083. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  28084. 2004-07-21 10:19 jordi
  28085. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  28086. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  28087. LinkLabelLinkClickedEventArgs.cs,
  28088. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  28089. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  28090. implementation
  28091. 2004-07-19 13:09 jordi
  28092. * Control.cs, Label.cs: label control re-written: added missing
  28093. functionlity, events, and properties
  28094. 2004-07-19 10:49 jordi
  28095. * Control.cs: fixes SetBounds logic
  28096. 2004-07-19 01:29 jordi
  28097. * Control.cs: Call RefreshWindow only if the window has created
  28098. 2004-07-15 14:05 pbartok
  28099. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  28100. - Implemented ImageList and ImageList.ImageCollection classes
  28101. - Added ColorDepth enumeration
  28102. - Updated SWF VS.Net project
  28103. 2004-07-15 11:06 jordi
  28104. * XplatUIStructs.cs: added MsgButons enum
  28105. 2004-07-15 11:03 jordi
  28106. * Control.cs: added basic mouse handeling events
  28107. 2004-07-15 03:38 jordi
  28108. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  28109. Vertical TrackBar control implementation
  28110. 2004-07-13 09:33 jordi
  28111. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  28112. 2004-07-13 09:31 jordi
  28113. * Control.cs, Form.cs: commit: new properties and fixes form size
  28114. problems
  28115. 2004-07-09 14:13 miguel
  28116. * ProgressBar.cs: Spelling
  28117. 2004-07-09 11:25 pbartok
  28118. * ProgressBar.cs:
  28119. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  28120. faster
  28121. 2004-07-09 11:17 miguel
  28122. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  28123. * ProgressBar.cs: Fixed spelling for `block'
  28124. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  28125. style guidelines.
  28126. Avoid using the += on rect.X, that exposed a bug in the compiler.
  28127. 2004-07-08 23:21 pbartok
  28128. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  28129. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  28130. BaseCollection.cs, Binding.cs, BindingContext.cs,
  28131. BindingMemberInfo.cs, BindingsCollection.cs,
  28132. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  28133. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  28134. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  28135. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  28136. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  28137. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  28138. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  28139. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  28140. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  28141. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  28142. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  28143. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  28144. InputLanguageChangedEventArgs.cs,
  28145. InputLanguageChangedEventHandler.cs,
  28146. InputLanguageChangingEventArgs.cs,
  28147. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  28148. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  28149. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  28150. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  28151. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  28152. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  28153. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  28154. QueryAccessibilityHelpEventArgs.cs,
  28155. QueryAccessibilityHelpEventHandler.cs,
  28156. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  28157. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  28158. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  28159. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  28160. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  28161. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  28162. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  28163. XplatUIX11.cs, lang.cs:
  28164. - Initial check-in